/* Enginery Blocks — front end (also loaded in the editor canvas).
   Uses the Enginery Core tokens: --eng-copper, --eng-graphite, --eng-patina,
   --eng-amber, --eng-paper, --eng-steel, --eng-lime, --eng-ink (+ -rgb). */

:where([class^="ebl-"], [class*=" ebl-"]) { box-sizing: border-box; }
:where([class^="ebl-"], [class*=" ebl-"]) *,
:where([class^="ebl-"], [class*=" ebl-"]) *::before,
:where([class^="ebl-"], [class*=" ebl-"]) *::after { box-sizing: inherit; }

.ebl-i,
.ebl-i svg { display: inline-flex; }

.ebl-empty {
	margin: 0;
	padding: 14px 16px;
	border: 1px dashed var(--eng-line-strong);
	border-radius: var(--eng-radius-sm);
	color: #5D646B;
	font: 400 14px/1.5 var(--eng-font-body);
	background: rgba(var(--eng-steel-rgb), .06);
}

.ebl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ebl-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Shared label style: small mono eyebrow */
.ebl-callout__head,
.ebl-takeaways__label,
.ebl-specs__title,
.ebl-bom__title,
.ebl-toc__label,
.ebl-calc__head,
.ebl-cmp__title,
.ebl-pc__title {
	font-family: var(--eng-font-mono);
}

/* Buttons ------------------------------------------------------------------ */
.ebl-btn.ebl-btn,
a.ebl-btn.ebl-btn {
	--_bg: var(--eng-copper);
	--_fg: #fff;
	--_bd: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--_bd);
	border-radius: var(--eng-radius-sm);
	background: var(--_bg);
	color: var(--_fg);
	font: 600 15px/1.2 var(--eng-font-head);
	letter-spacing: -.005em;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06), inset 0 -2px 0 rgba(0, 0, 0, .12);
	cursor: pointer;
	transition: transform .15s var(--eng-ease), filter .15s var(--eng-ease), background-color .15s, color .15s, border-color .15s;
}
a.ebl-btn.ebl-btn:hover,
a.ebl-btn.ebl-btn:focus-visible { color: var(--_fg); filter: brightness(1.07); transform: translateY(-1px); text-decoration: none; }
a.ebl-btn.ebl-btn:focus-visible { outline: 2px solid var(--eng-amber); outline-offset: 2px; }
a.ebl-btn.ebl-btn:active { transform: translateY(0); }
.ebl-btn .eng-icon { width: 18px; height: 18px; }
.ebl-btn.ebl-btn--dark { --_bg: var(--eng-graphite); }
.ebl-btn.ebl-btn--patina { --_bg: var(--eng-patina); }
.ebl-btn.ebl-btn--amber { --_bg: var(--eng-amber); --_fg: #2A1A03; }
.ebl-btn.ebl-btn--outline { --_bg: transparent; --_fg: var(--eng-graphite); --_bd: var(--eng-line-strong); box-shadow: none; }
a.ebl-btn.ebl-btn--outline:hover { --_fg: var(--eng-copper); --_bd: var(--eng-copper); filter: none; }

.ebl-btnwrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-block: 1.4em; }
.ebl-btnwrap.is-center { align-items: center; text-align: center; }
.ebl-btnwrap.is-right { align-items: flex-end; text-align: right; }
.ebl-btnwrap.is-full { align-items: stretch; text-align: center; }
.ebl-btnwrap.is-full .ebl-btn { width: 100%; min-height: 52px; font-size: 16px; }
.ebl-btn__note { color: #6B7279; font: 400 12.5px/1.4 var(--eng-font-body); }

/* Callout ------------------------------------------------------------------ */
.ebl-callout {
	--_c: var(--eng-steel);
	--_ink: #3E454C;
	--_bg: rgba(var(--eng-steel-rgb), .09);
	position: relative;
	margin-block: 1.6em;
	padding: 16px 20px 16px 22px;
	border: 1px solid color-mix(in srgb, var(--_c) 28%, transparent);
	border-left: 4px solid var(--_c);
	border-radius: 0 var(--eng-radius) var(--eng-radius) 0;
	background: var(--_bg);
	font-size: .97em;
}
.ebl-callout__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px !important;
	color: var(--_ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ebl-callout__head strong { font-weight: 700; }
.ebl-callout__icon { display: inline-flex; color: var(--_c); }
.ebl-callout__icon .eng-icon { width: 18px; height: 18px; }
.ebl-callout__body > :first-child { margin-top: 0 !important; }
.ebl-callout__body > :last-child { margin-bottom: 0 !important; }
.ebl-callout__body p { margin: 0 0 .7em; }
.ebl-callout--tip { --_c: var(--eng-patina); --_ink: #1F6658; --_bg: rgba(var(--eng-patina-rgb), .08); }
.ebl-callout--important { --_c: var(--eng-copper); --_ink: #9A3E19; --_bg: rgba(var(--eng-copper-rgb), .07); }
.ebl-callout--warning { --_c: var(--eng-amber); --_ink: #7A4D07; --_bg: rgba(var(--eng-amber-rgb), .13); }
.ebl-callout--example { --_c: #7FA01F; --_ink: #4B5F10; --_bg: rgba(var(--eng-lime-rgb), .14); }
.ebl-callout--danger {
	--_c: #B3261E;
	--_ink: #8C1D16;
	--_bg: rgba(179, 38, 30, .06);
	border-left: 0;
	padding-left: 30px;
}
/* Safety: hazard stripe instead of a plain bar */
.ebl-callout--danger::before {
	content: "";
	position: absolute;
	inset: -1px auto -1px -1px;
	width: 10px;
	background: repeating-linear-gradient(-45deg, var(--eng-amber) 0 7px, var(--eng-graphite) 7px 14px);
}

/* Key takeaways ------------------------------------------------------------ */
.ebl-takeaways {
	margin-block: 1.6em;
	padding: 18px 22px;
	border: 1px solid rgba(var(--eng-patina-rgb), .3);
	border-left: 4px solid var(--eng-patina);
	border-radius: 0 var(--eng-radius) var(--eng-radius) 0;
	background: rgba(var(--eng-patina-rgb), .06);
}
.ebl-takeaways__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
	color: #1F6658;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.ebl-takeaways__label .eng-icon { width: 16px; height: 16px; }
.ebl-takeaways ul,
.ebl-takeaways ol { display: grid; gap: 6px; margin: 0 !important; padding-left: 1.2em !important; }
.ebl-takeaways li { margin: 0 !important; }
.ebl-takeaways li::marker { color: var(--eng-patina); }
.ebl-takeaways p:last-child { margin-bottom: 0; }

/* Steps -------------------------------------------------------------------- */
.ebl-steps {
	counter-reset: ebl-step;
	display: grid;
	gap: 14px;
	margin: 1.6em 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.ebl-step {
	counter-increment: ebl-step;
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 16px;
	margin: 0 !important;
	padding: 18px 20px;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
	list-style: none !important;
}
.ebl-step::marker { content: none; }
.ebl-step__n {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--eng-graphite);
	color: #fff;
	font: 700 17px/1 var(--eng-font-mono);
}
.ebl-step__n::before { content: counter(ebl-step, decimal-leading-zero); }
.ebl-step__title { margin: 8px 0 6px !important; font: 700 18px/1.3 var(--eng-font-head) !important; letter-spacing: -.01em; }
.ebl-step__time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 8px;
	padding: 3px 8px;
	border-radius: 99px;
	background: rgba(var(--eng-steel-rgb), .14);
	color: #4A5158;
	font: 500 12px/1.3 var(--eng-font-mono);
}
.ebl-step__time .eng-icon { width: 13px; height: 13px; }
.ebl-step__content > :first-child { margin-top: 0 !important; }
.ebl-step__content > :last-child { margin-bottom: 0 !important; }

.ebl-steps--timeline { gap: 0; }
.ebl-steps--timeline .ebl-step { padding: 0 0 26px; border: 0; background: none; }
.ebl-steps--timeline .ebl-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50px;
	bottom: 4px;
	left: 21px;
	width: 2px;
	background: linear-gradient(var(--eng-copper), rgba(var(--eng-copper-rgb), .15));
}
.ebl-steps--timeline .ebl-step__n { border-radius: 50%; background: var(--eng-copper); }
.ebl-steps--compact { gap: 6px; }
.ebl-steps--compact .ebl-step { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--eng-line); border-radius: 0; background: none; }
.ebl-steps--compact .ebl-step__n { width: 30px; height: 30px; border-radius: 6px; font-size: 13px; }
.ebl-steps--compact .ebl-step__title { margin: 4px 0 2px !important; font-size: 16px !important; }

/* Formula ------------------------------------------------------------------ */
.ebl-formula {
	margin: 1.6em 0;
	padding: 20px 22px 16px;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background-color: #FCFBF8;
	background-image:
		linear-gradient(rgba(var(--eng-steel-rgb), .09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--eng-steel-rgb), .09) 1px, transparent 1px);
	background-size: 16px 16px;
	background-position: -1px -1px;
}
.ebl-formula__row { display: flex; align-items: center; gap: 16px; }
.ebl-formula__tex { flex: 1; min-width: 0; overflow-x: auto; padding: 4px 0; color: var(--eng-ink); font-size: 1.2em; text-align: center; }
.ebl-formula__tex .katex-display { margin: 0; }
.ebl-formula__tex > code { font-family: var(--eng-font-mono); font-size: .8em; background: none; }
.ebl-formula__label { flex: none; color: #6B7279; font: 500 14px/1 var(--eng-font-mono); }
.ebl-formula__vars {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 6px 22px;
	margin: 14px 0 0 !important;
	padding: 12px 0 0;
	border-top: 1px dashed var(--eng-line-strong);
	font-size: 14.5px;
}
.ebl-formula__where { grid-column: 1 / -1; margin: 0 !important; color: #6B7279; font: italic 400 13px/1.2 var(--eng-font-body); }
.ebl-formula__vars > div { display: flex; align-items: baseline; gap: 10px; }
.ebl-formula__vars dt { flex: none; min-width: 26px; margin: 0; font-weight: 400; }
.ebl-formula__vars dd { margin: 0; color: #3E454C; }
.ebl-formula__unit { color: #8A9198; font: 500 12.5px/1 var(--eng-font-mono); }
.ebl-formula figcaption,
.ebl-formula > figcaption { margin-top: 10px; color: #6B7279; font-size: 13.5px; text-align: center; }

/* Pros & cons -------------------------------------------------------------- */
.ebl-pc { container-type: inline-size; margin-block: 1.6em; }
.ebl-pc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ebl-pc__col { padding: 16px 18px; border: 1px solid var(--eng-line); border-top: 3px solid var(--_c); border-radius: var(--eng-radius); background: var(--eng-surface); }
.ebl-pc__col--pro { --_c: var(--eng-patina); }
.ebl-pc__col--con { --_c: var(--eng-copper); }
.ebl-pc__title { margin: 0 0 10px !important; color: var(--_c); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ebl-pc ul { display: grid; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ebl-pc li { display: flex; gap: 10px; margin: 0 !important; line-height: 1.45; }
.ebl-pc__mark { display: grid; flex: none; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--_c); color: #fff; }
.ebl-pc__mark .eng-icon { width: 13px; height: 13px; stroke-width: 2.6; }
.ebl-pc__verdict { margin: 12px 0 0 !important; padding: 12px 16px; border-radius: var(--eng-radius-sm); background: var(--eng-graphite); color: #E9ECEE; font-size: 15px; }
.ebl-pc__verdict strong { color: var(--eng-amber); }

/* Spec table --------------------------------------------------------------- */
.ebl-specs { container-type: inline-size; margin-block: 1.6em; }
.ebl-specs__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; color: #4A5158; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ebl-specs__title .eng-icon { width: 16px; height: 16px; color: var(--eng-copper); }
.ebl-specs__list {
	display: grid;
	grid-template-columns: repeat(var(--ebl-cols, 1), minmax(0, 1fr));
	gap: 0 24px;
	margin: 0 !important;
	padding: 4px 18px;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
}
@container (max-width: 560px) { .ebl-specs__list { grid-template-columns: 1fr; } }
.ebl-specs__row { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--eng-line); }
.ebl-specs__row:last-child { border-bottom: 0; }
@container (min-width: 561px) {
	.ebl-specs__list[style] .ebl-specs__row:last-child { border-bottom: 0; }
}
.ebl-specs__row dt { margin: 0; color: #5D646B; font-size: 14px; }
.ebl-specs__row dd { margin: 0; color: var(--eng-ink); font: 500 14px/1.45 var(--eng-font-mono); }

/* Tables (BOM, compare) ---------------------------------------------------- */
.ebl-bom,
.ebl-cmp { margin-block: 1.6em; }
.ebl-bom__title,
.ebl-cmp__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; color: #4A5158; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ebl-bom__title .eng-icon { width: 16px; height: 16px; color: var(--eng-copper); }
.ebl-bom__table,
.ebl-cmp__table {
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--eng-line);
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
	font-size: 15px;
	overflow: hidden;
}
.ebl-bom__table th,
.ebl-bom__table td,
.ebl-cmp__table th,
.ebl-cmp__table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--eng-line) !important; text-align: left; vertical-align: top; }
.ebl-bom__table thead th {
	background: var(--eng-graphite);
	color: #E3E6E8;
	font: 600 11.5px/1.2 var(--eng-font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ebl-bom__table thead th.ebl-num { text-align: right; }
.ebl-bom__table tbody th { font-weight: 600; }
.ebl-bom__table tbody th a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(var(--eng-copper-rgb), .45); }
.ebl-bom__table tbody th a:hover { color: var(--eng-copper); }
.ebl-bom__table tbody th a .eng-icon { width: 13px; height: 13px; margin-left: 4px; vertical-align: 0; opacity: .6; }
.ebl-bom__table tbody th small { display: block; margin-top: 2px; color: #6B7279; font-weight: 400; font-size: 13px; }
.ebl-bom__table tbody tr:nth-child(even) td,
.ebl-bom__table tbody tr:nth-child(even) th { background: rgba(var(--eng-paper-rgb), .55); }
.ebl-bom__n { width: 36px; color: #8A9198; font: 500 13px/1.6 var(--eng-font-mono); }
.ebl-bom__table td.ebl-num { font-family: var(--eng-font-mono); font-size: 14px; }
.ebl-bom__table tfoot th,
.ebl-bom__table tfoot td { border-bottom: 0 !important; background: rgba(var(--eng-copper-rgb), .07); font-weight: 700; }
.ebl-bom__table tfoot td.ebl-num { color: var(--eng-copper); font-size: 16px; }
.ebl-bom__note { margin: 8px 2px 0 !important; color: #8A9198; font-size: 12.5px; }

/* FAQ ---------------------------------------------------------------------- */
.ebl-faq { margin-block: 1.8em; }
.ebl-faq__title { margin-bottom: .6em !important; }
.ebl-faq__item { border-bottom: 1px solid var(--eng-line); }
.ebl-faq__item:first-of-type { border-top: 1px solid var(--eng-line); }
.ebl-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 2px;
	font: 600 17px/1.4 var(--eng-font-head);
	letter-spacing: -.005em;
	list-style: none;
	cursor: pointer;
}
.ebl-faq__item summary::-webkit-details-marker { display: none; }
.ebl-faq__item summary:hover { color: var(--eng-copper); }
.ebl-faq__item summary:focus-visible { outline: 2px solid var(--eng-amber); outline-offset: 2px; border-radius: 4px; }
.ebl-faq__item summary i {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--eng-line-strong);
	border-radius: 50%;
	color: var(--eng-copper);
	font-style: normal;
	transition: transform .2s var(--eng-ease), background-color .2s;
}
.ebl-faq__item summary i .eng-icon { width: 15px; height: 15px; }
.ebl-faq__item[open] summary i { transform: rotate(45deg); background: rgba(var(--eng-copper-rgb), .08); }
.ebl-faq__a { padding: 0 44px 16px 2px; color: #3E454C; }
.ebl-faq__a > :first-child { margin-top: 0; }
.ebl-faq__a > :last-child { margin-bottom: 0; }

/* Table of contents -------------------------------------------------------- */
.ebl-toc {
	margin-block: 1.6em;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
	font-size: 15px;
}
.ebl-toc details > summary { list-style: none; cursor: pointer; }
.ebl-toc details > summary::-webkit-details-marker { display: none; }
.ebl-toc__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.ebl-toc__label { display: inline-flex; align-items: center; gap: 8px; color: var(--eng-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ebl-toc__label .eng-icon { width: 16px; height: 16px; color: var(--eng-copper); }
.ebl-toc__count { margin-left: auto; color: #8A9198; font: 500 12px/1 var(--eng-font-mono); }
.ebl-toc__head i { display: inline-flex; color: #6B7279; font-style: normal; transition: transform .2s var(--eng-ease); }
.ebl-toc__head i .eng-icon { width: 18px; height: 18px; }
.ebl-toc details:not([open]) .ebl-toc__head i { transform: rotate(-90deg); }
.ebl-toc__list { margin: 0 !important; padding: 4px 18px 16px 40px !important; border-top: 1px solid var(--eng-line); }
.ebl-toc > .ebl-toc__list,
.ebl-toc details > .ebl-toc__list { padding-top: 12px !important; }
.ebl-toc ol,
.ebl-toc ul { display: grid; gap: 6px; }
.ebl-toc li { margin: 0 !important; padding-left: 4px; line-height: 1.4; }
.ebl-toc li::marker { color: #9AA1A8; font-family: var(--eng-font-mono); font-size: .86em; }
.ebl-toc li > ol,
.ebl-toc li > ul { margin: 6px 0 2px !important; padding-left: 20px !important; font-size: 14px; }
.ebl-toc ol ol { list-style: lower-alpha; }
.ebl-toc a { color: #3E454C; text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.ebl-toc a:hover { color: var(--eng-copper); border-bottom-color: rgba(var(--eng-copper-rgb), .4); }
.ebl-toc a.is-current { color: var(--eng-copper); font-weight: 600; }
:where(h2, h3, h4)[id] { scroll-margin-top: 96px; }

/* Calculator --------------------------------------------------------------- */
.ebl-calc {
	container-type: inline-size;
	margin-block: 1.8em;
	border: 1px solid #2E343A;
	border-radius: var(--eng-radius-lg);
	background: var(--eng-graphite);
	color: #E3E6E8;
	box-shadow: var(--eng-shadow);
	overflow: hidden;
}
.ebl-calc__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 14px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background-image: linear-gradient(90deg, rgba(var(--eng-copper-rgb), .22), transparent 60%);
	color: #fff;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.ebl-calc__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--eng-copper); color: #fff; }
.ebl-calc__icon .eng-icon { width: 17px; height: 17px; }
.ebl-calc__body { padding: 18px 20px 20px; }
.ebl-calc__intro { margin: 0 0 12px !important; color: #AEB5BB; font-size: 14px; }
.ebl-calc__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ebl-calc__form--conv { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
@container (max-width: 560px) {
	.ebl-calc__form,
	.ebl-calc__form--conv { grid-template-columns: 1fr; }
}
.ebl-calc__field { display: grid; gap: 5px; min-width: 0; }
.ebl-calc__field label { color: #AEB5BB; font: 500 12.5px/1.2 var(--eng-font-body); }
.ebl-calc__field small { color: #858D94; font-size: 12px; line-height: 1.3; }
.ebl-calc__line { display: flex; min-width: 0; }
.ebl-calc .ebl-calc__input,
.ebl-calc .ebl-calc__unit {
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #3A4148;
	border-radius: 8px;
	background: #14171A;
	color: #fff;
	font: 500 15px/1 var(--eng-font-mono);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}
.ebl-calc .ebl-calc__line .ebl-calc__input { flex: 1; width: 100%; border-radius: 8px 0 0 8px; }
.ebl-calc .ebl-calc__line .ebl-calc__unit {
	flex: none;
	width: auto;
	max-width: 46%;
	padding-right: 26px;
	border-left: 0;
	border-radius: 0 8px 8px 0;
	background: #22272C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23AEB5BB' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
	color: #E3E6E8;
	font-size: 13px;
	cursor: pointer;
}
.ebl-calc select.ebl-calc__input { padding-right: 28px; background: #14171A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23AEB5BB' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; }
.ebl-calc .ebl-calc__u { display: grid; flex: none; place-items: center; min-width: 46px; padding: 0 10px; border: 1px solid #3A4148; border-left: 0; border-radius: 0 8px 8px 0; background: #22272C; color: #AEB5BB; font: 500 13px/1 var(--eng-font-mono); }
.ebl-calc__line:not(:has(.ebl-calc__unit, .ebl-calc__u)) .ebl-calc__input { border-radius: 8px; }
.ebl-calc .ebl-calc__input:focus,
.ebl-calc .ebl-calc__unit:focus { outline: 2px solid var(--eng-amber); outline-offset: -1px; border-color: transparent; }
.ebl-calc__out { margin-top: 16px; }
.ebl-calc__results { display: grid; gap: 0; margin: 0 !important; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: #14171A; overflow: hidden; }
.ebl-calc__results > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ebl-calc__results > div:last-child { border-bottom: 0; }
.ebl-calc__results dt { margin: 0; color: #AEB5BB; font-size: 14px; }
.ebl-calc__results dd { margin: 0; color: #fff; font: 600 15px/1.3 var(--eng-font-mono); text-align: right; }
.ebl-calc__results > div.is-main { background: rgba(var(--eng-copper-rgb), .16); }
.ebl-calc__results > div.is-main dt { color: #F2C9B6; }
.ebl-calc__results > div.is-main dd { color: var(--eng-amber); font-size: 19px; }
.ebl-calc__msg { margin: 10px 0 0 !important; color: #C9CED2; font-size: 13.5px; }
.ebl-calc__formula { margin: 14px 0 0 !important; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .12); color: #858D94; font: 500 12.5px/1.5 var(--eng-font-mono); }
.ebl-calc__note { margin: 0 !important; padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); color: #AEB5BB; font-size: 13.5px; }

/* Download ----------------------------------------------------------------- */
.ebl-dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 18px;
	margin-block: 1.6em;
	padding: 16px 18px;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
}
.ebl-dl__icon { position: relative; display: grid; flex: none; place-items: center; width: 52px; height: 60px; color: var(--eng-copper); }
.ebl-dl__icon .eng-icon { width: 52px; height: 52px; stroke-width: 1.2; }
.ebl-dl__icon b { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); padding: 2px 5px; border-radius: 3px; background: var(--eng-copper); color: #fff; font: 700 9.5px/1 var(--eng-font-mono); letter-spacing: .04em; }
.ebl-dl__text { flex: 1 1 220px; min-width: 0; }
.ebl-dl__title { margin: 0 !important; font: 700 16.5px/1.35 var(--eng-font-head); word-break: break-word; }
.ebl-dl__desc { margin: 3px 0 0 !important; color: #5D646B; font-size: 14px; }
.ebl-dl__meta { margin: 5px 0 0 !important; color: #8A9198; font: 500 12px/1 var(--eng-font-mono); letter-spacing: .04em; }

/* YouTube (fast) ----------------------------------------------------------- */
.ebl-yt { margin-block: 1.6em; }
.ebl-yt__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--eng-radius);
	background: #000;
	cursor: pointer;
}
.ebl-yt__frame img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; margin: 0; object-fit: cover; transition: transform .4s var(--eng-ease), opacity .3s; }
.ebl-yt__frame:hover img { transform: scale(1.02); opacity: .92; }
.ebl-yt__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ebl-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 51px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	transform: translate(-50%, -50%);
	cursor: pointer;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}
.ebl-yt__play svg { display: block; width: 100%; height: 100%; }
.ebl-yt__bg { fill: #212121; fill-opacity: .82; transition: fill .15s, fill-opacity .15s; }
.ebl-yt__frame:hover .ebl-yt__bg,
.ebl-yt__play:focus-visible .ebl-yt__bg { fill: var(--eng-copper); fill-opacity: 1; }
.ebl-yt__play:focus-visible { outline: 3px solid var(--eng-amber); outline-offset: 4px; border-radius: 14px; }
.ebl-yt__fallback { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, .6); color: #fff !important; font: 500 12px/1.3 var(--eng-font-body); text-decoration: none !important; opacity: 0; transition: opacity .2s; }
.ebl-yt__frame:hover .ebl-yt__fallback,
.ebl-yt__fallback:focus { opacity: 1; }
.ebl-yt figcaption { margin-top: 8px; color: #6B7279; font-size: 13.5px; text-align: center; }

/* Item box ----------------------------------------------------------------- */
.ebl-itemwrap { container-type: inline-size; margin-block: 1.8em; }
.ebl-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(170px, 210px);
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius-lg);
	background: var(--eng-surface);
	box-shadow: var(--eng-shadow);
	overflow: hidden;
}
.ebl-item.is-sponsored { border-color: rgba(var(--eng-amber-rgb), .6); }
.ebl-item__media { position: relative; display: block; min-height: 100%; background: var(--eng-paper); }
.ebl-item__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0; object-fit: cover; }
.ebl-item__ph,
.ebl-cmp .ebl-item__ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 140px; color: rgba(var(--eng-steel-rgb), .7); background: repeating-linear-gradient(-45deg, rgba(var(--eng-steel-rgb), .08) 0 8px, transparent 8px 16px), var(--eng-paper); }
.ebl-item__ph .eng-icon { width: 42px; height: 42px; }
.ebl-item__body { min-width: 0; padding: 20px 22px; }
.ebl-item__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.ebl-type { display: inline-flex; align-items: center; gap: 6px; color: #5D646B; font: 600 11.5px/1.2 var(--eng-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.ebl-type .eng-icon { width: 15px; height: 15px; color: var(--eng-copper); }
.ebl-item__title { margin: 0 0 6px !important; font: 700 20px/1.25 var(--eng-font-head) !important; letter-spacing: -.015em; }
.ebl-item__title a { color: var(--eng-ink); text-decoration: none; }
.ebl-item__title a:hover { color: var(--eng-copper); }
.ebl-item__rating { margin-bottom: 8px; }
.ebl-item__desc { margin: 0 0 10px !important; color: #4A5158; font-size: 14.5px; line-height: 1.55; }
.ebl-item__pros { display: grid; gap: 5px; margin: 0 !important; padding: 0 !important; list-style: none !important; font-size: 14px; }
.ebl-item__pros li { display: flex; gap: 8px; margin: 0 !important; line-height: 1.4; }
.ebl-item__pros .eng-icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--eng-patina); stroke-width: 2.4; }
.ebl-item__buy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	border-left: 1px dashed var(--eng-line-strong);
	background: rgba(var(--eng-paper-rgb), .55);
	text-align: center;
}
.ebl-item__buy .ebl-btn { width: 100%; }
.ebl-item__more { color: #5D646B; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.ebl-item__more:hover { color: var(--eng-copper); }
.ebl-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; }
.ebl-price b { color: var(--eng-ink); font: 700 24px/1.1 var(--eng-font-head); letter-spacing: -.02em; }
.ebl-price s { color: #8A9198; font-size: 14px; }
.ebl-price small { flex-basis: 100%; color: #6B7279; font-size: 12.5px; }
.ebl-ribbon {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 4px;
	background: var(--eng-copper);
	color: #fff;
	font: 700 11px/1 var(--eng-font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(var(--eng-copper-rgb), .35);
}
.ebl-ribbon .eng-icon { width: 13px; height: 13px; }
@container (max-width: 680px) {
	.ebl-item { grid-template-columns: 140px minmax(0, 1fr); }
	.ebl-item__buy { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px dashed var(--eng-line-strong); border-left: 0; text-align: left; }
	.ebl-item__buy .ebl-btn { width: auto; }
	.ebl-price { justify-content: flex-start; }
}
@container (max-width: 460px) {
	.ebl-item { grid-template-columns: 1fr; }
	.ebl-item__media { aspect-ratio: 16 / 9; min-height: 0; }
	.ebl-item__buy .ebl-btn { width: 100%; }
}

/* Comparison --------------------------------------------------------------- */
.ebl-cmp__table { min-width: calc(var(--ebl-n, 3) * 150px + 120px); table-layout: fixed; }
.ebl-cmp__table thead th { position: relative; padding-top: 18px !important; background: var(--eng-surface); vertical-align: top; text-align: center; }
.ebl-cmp__table thead th.ebl-cmp__corner { width: 120px; }
.ebl-cmp__table:has(thead th.is-best) thead th:not(.ebl-cmp__corner):not(.is-best) { padding-top: 46px !important; }
.ebl-cmp__table thead .ebl-ribbon { position: static; margin-bottom: 8px; }
.ebl-cmp__img { display: block; width: 100%; max-width: 160px; aspect-ratio: 4 / 3; margin: 0 auto 10px; overflow: hidden; border-radius: 8px; background: var(--eng-paper); }
.ebl-cmp__img img { width: 100% !important; height: 100% !important; margin: 0; object-fit: cover; }
.ebl-cmp__img .ebl-item__ph { min-height: 0; }
.ebl-cmp__table thead .ebl-type { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 5px; margin-bottom: 4px; font-size: 10px; letter-spacing: .06em; }
.ebl-cmp__table thead .ebl-type .eng-icon { width: 13px; height: 13px; }
.ebl-cmp__name { display: block; color: var(--eng-ink) !important; font: 700 16px/1.3 var(--eng-font-head); text-decoration: none !important; }
.ebl-cmp__name:hover { color: var(--eng-copper) !important; }
.ebl-cmp__table tbody th { width: 120px; color: #5D646B; font: 500 13px/1.4 var(--eng-font-body); }
.ebl-cmp__table tbody td { text-align: center; font-size: 14.5px; }
.ebl-cmp__table tbody tr:nth-child(odd) > * { background: rgba(var(--eng-paper-rgb), .5); }
.ebl-cmp__table .is-best { background: rgba(var(--eng-copper-rgb), .05) !important; }
.ebl-cmp__table thead th.is-best { box-shadow: inset 0 3px 0 var(--eng-copper); }
.ebl-cmp__table tfoot td,
.ebl-cmp__table tfoot th { border-bottom: 0 !important; text-align: center; }
.ebl-cmp__table tfoot .ebl-btn { width: 100%; min-height: 40px; padding: 0 12px; font-size: 14px; }
.ebl-cmp__table .ebl-price { justify-content: center; }
.ebl-cmp__table .ebl-price b { font-size: 19px; }
.ebl-cmp__list { display: grid; gap: 4px; margin: 0 !important; padding: 0 !important; list-style: none !important; text-align: left; font-size: 13.5px; }
.ebl-cmp__list li { display: flex; gap: 6px; margin: 0 !important; line-height: 1.35; }
.ebl-cmp__list .eng-icon { flex: none; width: 14px; height: 14px; margin-top: 2px; stroke-width: 2.4; }
.ebl-cmp__list--pros .eng-icon,
.ebl-yes .eng-icon { color: var(--eng-patina); }
.ebl-cmp__list--cons .eng-icon,
.ebl-no .eng-icon { color: var(--eng-copper); }
.ebl-yes .eng-icon,
.ebl-no .eng-icon { width: 18px; height: 18px; stroke-width: 2.6; }
.ebl-dash { color: #B9BEC3; }

/* Discipline tiles --------------------------------------------------------- */
.ebl-disc { container-type: inline-size; margin-block: 1.6em; }
.ebl-disc__list { display: grid; grid-template-columns: repeat(var(--ebl-cols, 4), minmax(0, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
@container (max-width: 820px) { .ebl-disc--tiles .ebl-disc__list { grid-template-columns: repeat(min(var(--ebl-cols, 4), 3), minmax(0, 1fr)); } }
@container (max-width: 600px) { .ebl-disc--tiles .ebl-disc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 380px) { .ebl-disc--tiles .ebl-disc__list { grid-template-columns: 1fr; } }
.ebl-disc__list li { margin: 0 !important; }
.ebl-disc--tiles a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--eng-line);
	border-radius: var(--eng-radius);
	background: var(--eng-surface);
	color: var(--eng-ink);
	text-decoration: none !important;
	overflow: hidden;
	transition: border-color .2s, transform .2s var(--eng-ease), box-shadow .2s;
}
.ebl-disc--tiles a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--ebl-c); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--eng-ease); }
.ebl-disc--tiles a:hover { border-color: color-mix(in srgb, var(--ebl-c) 45%, transparent); box-shadow: var(--eng-shadow); transform: translateY(-2px); }
.ebl-disc--tiles a:hover::after { transform: scaleX(1); }
.ebl-disc__icon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--ebl-c) 12%, transparent); color: var(--ebl-c); }
.ebl-disc__icon .eng-icon { width: 22px; height: 22px; }
.ebl-disc__text { display: grid; gap: 4px; }
.ebl-disc__text strong { font: 700 16px/1.25 var(--eng-font-head); letter-spacing: -.01em; }
.ebl-disc__text small { color: #5D646B; font-size: 13.5px; line-height: 1.45; }
.ebl-disc__count { color: #8A9198; font: 500 12px/1.2 var(--eng-font-mono); }
.ebl-disc--chips .ebl-disc__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ebl-disc--chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--eng-line-strong); border-radius: 99px; background: var(--eng-surface); color: var(--eng-ink); font: 600 14px/1.2 var(--eng-font-head); text-decoration: none !important; transition: border-color .15s, background-color .15s; }
.ebl-disc--chips a:hover { border-color: var(--ebl-c); background: color-mix(in srgb, var(--ebl-c) 8%, transparent); }
.ebl-disc--chips .ebl-disc__icon { width: 26px; height: 26px; border-radius: 50%; }
.ebl-disc--chips .ebl-disc__icon .eng-icon { width: 15px; height: 15px; }
.ebl-disc--chips .ebl-disc__text { display: flex; align-items: baseline; gap: 8px; }
.ebl-disc--chips .ebl-disc__text strong { font-size: 14px; }

/* Wrappers of other plugins' output ----------------------------------------- */
.ebl-items,
.ebl-filter,
.ebl-sponsor,
.ebl-ad { margin-block: 1.8em; }

/* Code blocks (copy button) ------------------------------------------------- */
.ebl-code { position: relative; margin-block: 1.4em; border-radius: var(--eng-radius); background: #16191C; overflow: hidden; }
.ebl-code__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #1F2327; }
.ebl-code__lang { color: #8A9198; font: 600 11px/1 var(--eng-font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ebl-code__copy.ebl-code__copy {
	min-height: 0;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 5px;
	background: transparent;
	color: #D5DADE;
	font: 500 12px/1.2 var(--eng-font-mono);
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.ebl-code__copy.ebl-code__copy:hover { border-color: var(--eng-copper); background: var(--eng-copper); color: #fff; }
.ebl-code__copy.is-done { border-color: var(--eng-patina); background: var(--eng-patina); color: #fff; }
.ebl-code > pre.wp-block-code,
.ebl-code > pre {
	margin: 0 !important;
	padding: 16px 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #E6E9EC !important;
	font: 400 14px/1.6 var(--eng-font-mono) !important;
	overflow-x: auto;
	tab-size: 4;
}
.ebl-code > pre code { padding: 0; background: none !important; color: inherit; font: inherit; white-space: pre; }

@media (prefers-reduced-motion: reduce) {
	.ebl-btn,
	.ebl-disc--tiles a,
	.ebl-disc--tiles a::after,
	.ebl-yt__frame img,
	.ebl-faq__item summary i { transition: none !important; }
}

@media print {
	.ebl-calc,
	.ebl-yt__play,
	.ebl-code__bar,
	.ebl-ad,
	.ebl-sponsor { display: none !important; }
	.ebl-faq__item .ebl-faq__a { display: block; }
}
