/* ==========================================================================
   EngiTech Studio 2.1 — premium editorial design system
   Warm paper, deep navy, one copper accent. Light by default; navy dark mode on request.
   ========================================================================== */
:root, :root[data-theme="light"] {
	--bg: #f7f5f0; --bg-2: #efebe3; --surface: #ffffff; --surface-2: #faf8f4; --surface-3: #f2eee6;
	--line: #e3ddd1; --line-2: #ece7de; --line-hi: #c8b394;
	--ink: #14213d; --ink-2: #39455a; --muted: #676d78; --faint: #9a9da5;
	--brand: #1f3a68; --brand-ink: #1f4e8c; --cyan: #a3581c; --amber: #c27a2c; --violet: #3b4f8a; --ok: #2e7d5b; --warn: #a16207; --err: #b42318;
	--brand-soft: rgb(31 78 140 / .07); --cyan-soft: rgb(163 88 28 / .08);
	--grad: linear-gradient(180deg, #1f3a68, #1f3a68);
	--grad-amber: linear-gradient(180deg, #c27a2c, #c27a2c);
	--shadow: 0 1px 2px rgb(20 33 61 / .05), 0 10px 24px -16px rgb(20 33 61 / .22);
	--shadow-lg: 0 2px 4px rgb(20 33 61 / .04), 0 24px 48px -26px rgb(20 33 61 / .35);
	--glass: rgb(247 245 240 / .9);
	--r: 14px; --r-sm: 10px; --r-lg: 18px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
	--wrap: 1280px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0f1a2b; --bg-2: #132036; --surface: #16243a; --surface-2: #1b2b45; --surface-3: #22344f;
	--line: rgb(190 205 230 / .14); --line-2: rgb(190 205 230 / .08); --line-hi: rgb(224 162 102 / .5);
	--ink: #eef2f7; --ink-2: #c6d0dc; --muted: #95a3b6; --faint: #6f7e93;
	--brand: #2b4c85; --brand-ink: #9dbef0; --cyan: #e0a266; --amber: #e9a85a; --violet: #9aa8d8; --ok: #5fbf94; --warn: #e6b450; --err: #f08a80;
	--brand-soft: rgb(157 190 240 / .1); --cyan-soft: rgb(224 162 102 / .12);
	--grad: linear-gradient(180deg, #2b4c85, #2b4c85);
	--shadow: 0 10px 26px -16px rgb(0 0 0 / .6); --shadow-lg: 0 26px 50px -26px rgb(0 0 0 / .7);
	--glass: rgb(15 26 43 / .9);
	color-scheme: dark;
}

/* ---------- base ---------- */
body.ets { background: var(--bg); color: var(--ink); font-family: var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.ets { --et-ink: var(--ink); --et-muted: var(--muted); --et-blue: var(--brand); --et-border: var(--line); --et-paper: var(--bg); }
body.ets a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.ets a:hover { color: var(--cyan); }
body.ets h1, body.ets h2, body.ets h3, body.ets h4 { color: var(--ink); letter-spacing: -.025em; font-family: var(--font); }
body.ets ::selection { background: var(--amber); color: #111; }
body.ets :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
body.ets hr { border-color: var(--line); }
.ets-lock { overflow: hidden; }
.ets-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .ets-wrap { padding: 0 16px; } }
.ets-label { font: 600 11.5px/1.3 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan) !important; margin: 0 0 10px !important; }
.ets-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ets-ic { width: 22px; height: 22px; flex: none; }
.ets-link { font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.ets-center { text-align: center; margin-top: 28px; }
.ets-lead { font-size: 1.12em; color: var(--ink-2); line-height: 1.65; max-width: 860px; }

/* full-bleed templates: neutralise GeneratePress containers */
body.ets-full .site.grid-container, body.ets-full #page { max-width: none !important; padding: 0 !important; margin: 0 !important; background: transparent; }
body.ets-full .site-content { display: block !important; padding: 0 !important; }
body.ets .site-footer { background: transparent; padding: 0; }
body.ets .generate-back-to-top { display: none !important; }
body.ets .et-publisher-bar { display: none; }

/* buttons, chips, pills */
.ets-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; background: var(--brand); color: #fff !important; font: 700 15px/1.2 var(--font); text-decoration: none !important; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.ets-btn:hover { transform: translateY(-1px); color: #fff !important; }
.ets-btn--glow { background: var(--grad); box-shadow: 0 10px 30px -10px rgb(59 130 246 / .8), 0 0 0 1px rgb(255 255 255 / .08) inset; }
.ets-btn--glow:hover { box-shadow: 0 14px 40px -10px rgb(34 211 238 / .8), 0 0 0 1px rgb(255 255 255 / .16) inset; }
.ets-btn--ghost { background: var(--surface-2); color: var(--ink-2) !important; border-color: var(--line); font-weight: 600; font-size: 14px; padding: 9px 14px; }
.ets-btn--ghost:hover { border-color: var(--line-hi); color: var(--ink) !important; }
.ets-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan) !important; background: var(--cyan-soft); border: 1px solid rgb(34 211 238 / .25); padding: 7px 11px; border-radius: 999px; text-decoration: none !important; }
.ets-chip .ets-ic { width: 14px; height: 14px; }
.ets-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ets-chips a { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2) !important; text-decoration: none !important; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: .15s; }
.ets-chips a i { font-style: normal; font: 600 11px/1 var(--mono); color: var(--muted); }
.ets-chips a:hover, .ets-chips a.is-on { border-color: var(--line-hi); color: var(--ink) !important; background: var(--surface-2); }
.ets-chips a.is-on { box-shadow: 0 0 0 1px var(--cyan) inset; }
.ets-chips--sticky { position: sticky; top: 76px; z-index: 5; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px; border-radius: 14px; border: 1px solid var(--line); }
.ets-pill { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.ets-pill:hover { border-color: var(--line-hi); color: var(--ink); }
.ets-pill[aria-pressed="true"] { background: rgb(255 166 26 / .14); border-color: var(--amber); color: var(--amber); }
.ets-pill--static { cursor: default; color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; }
.ets-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ets-badge { display: inline-block; font: 800 10px/1 var(--mono); letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; background: var(--grad-amber); color: #1a1100; margin-right: 6px; }
kbd { font: 600 11px/1 var(--mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }

/* HUD corner brackets */
.ets-hud { position: absolute; width: 18px; height: 18px; border-color: var(--cyan); border-style: solid; opacity: .8; pointer-events: none; z-index: 3; }
.ets-hud--tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.ets-hud--tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.ets-hud--bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.ets-hud--br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* reveal motion */
.ets-js .ets-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
.ets-js .ets-reveal.is-in { opacity: 1; transform: none; }

/* cursor glow on cards */
.ets-tool, .ets-topic, .ets-launch__tile, .ets-card-post, .ets-path, .ets-panel, .ets-mega__item, .ets-mega__model { position: relative; isolation: isolate; }
.ets-tool::after, .ets-topic::after, .ets-launch__tile::after, .ets-card-post::after, .ets-path::after, .ets-mega__item::after, .ets-mega__model::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .25s;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(34 211 238 / .14), transparent 60%);
}
.ets-tool:hover::after, .ets-topic:hover::after, .ets-launch__tile:hover::after, .ets-card-post:hover::after, .ets-path:hover::after, .ets-mega__item:hover::after, .ets-mega__model:hover::after { opacity: 1; }

/* ---------- top ticker ---------- */
.ets-topbar { background: #04070c; border-bottom: 1px solid var(--line-2); color: #8ea3b8; font: 500 12px/1 var(--mono); }
:root[data-theme="light"] .ets-topbar { background: #0b1626; }
.ets-topbar__in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 34px; display: flex; align-items: center; gap: 18px; }
.ets-topbar__live { display: inline-flex; align-items: center; gap: 8px; color: #e6eef7; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; font-size: 11px; }
.ets-topbar__live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgb(52 211 153 / .7); animation: ets-pulse 2s infinite; }
@keyframes ets-pulse { 70% { box-shadow: 0 0 0 7px rgb(52 211 153 / 0); } 100% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0); } }
.ets-ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ets-ticker__track { display: inline-flex; gap: 38px; white-space: nowrap; animation: ets-marq 70s linear infinite; }
.ets-ticker:hover .ets-ticker__track { animation-play-state: paused; }
.ets-ticker a { color: #9fb4ca !important; text-decoration: none; font-family: var(--font); font-size: 12.5px; }
.ets-ticker a::before { content: "▸ "; color: #22d3ee; }
.ets-ticker a:hover { color: #fff !important; }
@keyframes ets-marq { to { transform: translateX(-50%); } }
.ets-topbar__pub { color: #9fb4ca !important; text-decoration: none; white-space: nowrap; font-size: 11.5px; }
.ets-topbar__pub strong { color: #fff; }
@media (max-width: 820px) { .ets-topbar__pub { display: none; } }
@media (max-width: 520px) { .ets-topbar__live { font-size: 0; gap: 0; } .ets-topbar__in { padding: 0 14px; } }

/* ---------- header ---------- */
.ets-header { position: sticky; top: 0; z-index: 90; background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); transition: transform .3s, box-shadow .3s, background .3s; }
body.admin-bar .ets-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ets-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .ets-header { top: 0; } }
.ets-header.is-scrolled { box-shadow: 0 10px 30px -20px rgb(0 0 0 / .9); }
.ets-header.is-hidden { transform: translateY(-110%); }
.ets-header__in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 70px; display: flex; align-items: center; gap: 20px; }
.ets-header__scan { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: ets-scan 6s linear infinite; opacity: .7; }
@keyframes ets-scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.ets-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink) !important; flex: none; }
.ets-logo__mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 14px rgb(34 211 238 / .35)); }
.ets-logo__dot { animation: ets-blink 3s infinite; }
@keyframes ets-blink { 50% { opacity: .35; } }
.ets-logo__txt { display: flex; flex-direction: column; line-height: 1.02; }
.ets-logo__txt strong { font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.ets-logo__txt strong b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ets-logo__txt small { font: 500 9.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .18em; margin-top: 5px; }
.ets-nav { flex: 1; min-width: 0; }
.ets-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.ets-menu > li { position: static; margin: 0; }
.ets-menu__btn, .ets-menu__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; font: 600 14.5px/1 var(--font); color: var(--ink-2) !important; text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.ets-menu__btn svg { transition: transform .2s; opacity: .7; }
.ets-menu__btn:hover, .ets-menu__link:hover, .ets-has-mega.is-open .ets-menu__btn { background: var(--surface-2); color: var(--ink) !important; }
.ets-has-mega.is-open .ets-menu__btn svg { transform: rotate(180deg); }
.ets-mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 28px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.ets-has-mega.is-open .ets-mega { opacity: 1; visibility: visible; transform: none; }
.ets-mega__in { max-width: calc(var(--wrap) - 56px); margin: 8px auto 0; display: grid; grid-template-columns: 1fr 280px; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .85); overflow: hidden; }
.ets-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 16px; }
.ets-mega__item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; text-decoration: none !important; color: var(--ink) !important; transition: background .15s; }
.ets-mega__item:hover { background: var(--surface-2); }
.ets-mega__item .ets-ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--cyan-soft); color: var(--cyan); }
.ets-mega__item strong { display: block; font-size: 14.5px; }
.ets-mega__item em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.ets-mega__item i { font: 600 11px/1 var(--mono); font-style: normal; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; border-radius: 999px; }
.ets-mega__side { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ets-mega__side a { font-weight: 600; font-size: 14px; text-decoration: none !important; color: var(--ink-2) !important; }
.ets-mega__side a:hover { color: var(--cyan) !important; }
.ets-mega__note { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.ets-mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; padding: 24px; }
.ets-mega__col { display: flex; flex-direction: column; gap: 7px; }
.ets-mega__col a { font-size: 13.5px; color: var(--ink-2) !important; text-decoration: none !important; line-height: 1.35; }
.ets-mega__col a:hover { color: var(--cyan) !important; }
.ets-mega__models { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 18px; }
.ets-mega__model { display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 140px; border-radius: 14px; text-decoration: none !important; color: var(--ink) !important; border: 1px solid var(--line); background: radial-gradient(120% 90% at 80% 0%, rgb(59 130 246 / .22), transparent 60%), var(--surface-2); }
.ets-mega__num { font: 700 12px/1 var(--mono); color: var(--amber); margin-bottom: auto; }
.ets-mega__model strong { font-size: 14.5px; line-height: 1.25; }
.ets-mega__model em { font-style: normal; font-size: 12px; color: var(--muted); }
.ets-header__tools { display: flex; align-items: center; gap: 6px; flex: none; }
.ets-searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font: 500 13.5px/1 var(--font); cursor: pointer; min-width: 240px; transition: border-color .15s, color .15s; }
.ets-searchbtn:hover { border-color: var(--line-hi); color: var(--ink); }
.ets-searchbtn span { flex: 1; text-align: left; }
.ets-iconbtn { position: relative; width: 40px; height: 40px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ets-iconbtn:hover { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.ets-iconbtn [data-et-saved-count] { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--amber); color: #1a1100; font: 800 10px/16px var(--mono); text-align: center; padding: 0 4px; }
.ets-iconbtn [data-et-saved-count][data-zero] { display: none; }
.ets-moon { display: none; }
:root[data-theme="dark"] .ets-sun { display: none; } :root[data-theme="dark"] .ets-moon { display: block; }
.ets-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #fff !important; text-decoration: none !important; background: var(--grad); box-shadow: 0 8px 22px -10px rgb(59 130 246 / .9); white-space: nowrap; }
.ets-burger { display: none; }
.ets-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 2px 0; transition: .2s; }
.ets-header.is-open .ets-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.ets-header.is-open .ets-burger span:nth-child(2) { opacity: 0; }
.ets-header.is-open .ets-burger span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1380px) { .ets-searchbtn { min-width: 0; } .ets-searchbtn span, .ets-searchbtn kbd { display: none; } .ets-searchbtn { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 1200px) { .ets-cta { display: none; } .ets-menu__btn, .ets-menu__link { padding: 10px 9px; font-size: 14px; } }
@media (max-width: 1100px) {
	.ets-nav { display: none; }
	.ets-burger { display: grid; }
	.ets-header__in { height: 62px; padding: 0 16px; }
	.ets-header__tools { margin-left: auto; }
}
@media (max-width: 420px) { .ets-logo__txt small { display: none; } [data-et-open-saved] { display: none; } }

/* drawer */
.ets-drawer { position: fixed; inset: 62px 0 0 0; z-index: 89; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line); animation: ets-drop .25s ease; }
body.admin-bar .ets-drawer { top: 108px; }
@media (max-width: 600px) { body.admin-bar .ets-drawer { top: 62px; } }
@keyframes ets-drop { from { opacity: 0; transform: translateY(-8px); } }
.ets-drawer__in { padding: 16px 16px 60px; max-width: 640px; margin: 0 auto; }
.ets-drawer__search { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 500 15px var(--font); margin-bottom: 14px; cursor: pointer; }
.ets-drawer details { border-bottom: 1px solid var(--line-2); }
.ets-drawer summary { list-style: none; cursor: pointer; padding: 16px 4px; font-weight: 700; font-size: 18px; color: var(--ink); display: flex; justify-content: space-between; }
.ets-drawer summary::after { content: "+"; color: var(--cyan); font-weight: 400; }
.ets-drawer details[open] summary::after { content: "–"; }
.ets-drawer summary::-webkit-details-marker { display: none; }
.ets-drawer__list { display: grid; gap: 2px; padding-bottom: 14px; }
.ets-drawer__list a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; color: var(--ink-2) !important; text-decoration: none !important; font-size: 15px; }
.ets-drawer__list a:hover { background: var(--surface); }
.ets-drawer__list a .ets-ic { width: 18px; height: 18px; color: var(--cyan); }
.ets-drawer__list a i { margin-left: auto; font: 600 11px var(--mono); font-style: normal; color: var(--muted); }
.ets-drawer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.ets-drawer__links a { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; text-decoration: none !important; font-weight: 600; }

/* ---------- command palette ---------- */
.ets-pal { position: fixed; inset: 0; z-index: 1000; background: rgb(2 6 12 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.ets-pal[hidden] { display: none; }
.ets-pal__box { width: min(720px, 100%); background: var(--surface); border: 1px solid var(--line-hi); border-radius: 18px; box-shadow: 0 40px 100px -20px rgb(0 0 0 / .9), 0 0 0 1px rgb(34 211 238 / .12); overflow: hidden; animation: ets-pop .18s ease; }
@keyframes ets-pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.ets-pal__bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--cyan); }
.ets-pal__bar input { flex: 1; height: 62px; border: 0 !important; background: transparent !important; color: var(--ink) !important; font: 500 18px var(--font); outline: none; box-shadow: none !important; padding: 0 !important; }
.ets-pal__list { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.ets-pal__group { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 10px 6px !important; }
.ets-pal__item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none !important; color: var(--ink) !important; }
.ets-pal__item.is-on, .ets-pal__item:hover { background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-hi) inset; }
.ets-pal__kind { font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); border: 1px solid rgb(34 211 238 / .3); border-radius: 6px; padding: 5px 6px; text-align: center; }
.ets-pal__t { font-size: 14.5px; font-weight: 600; min-width: 0; }
.ets-pal__t em { display: block; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ets-pal__go { color: var(--muted); opacity: 0; }
.ets-pal__item.is-on .ets-pal__go { opacity: 1; }
.ets-pal__empty { padding: 26px; text-align: center; color: var(--muted); }
.ets-pal__foot { display: flex; gap: 18px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ets-pal__foot a { margin-left: auto; font-weight: 600; text-decoration: none; }

/* ---------- home hero ---------- */
.ets-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.ets-hero__bg, .ets-phero__bg { position: absolute; inset: 0; pointer-events: none; }
.ets-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(120 170 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(120 170 255 / .07) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(90% 80% at 60% 30%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(90% 80% at 60% 30%, #000 30%, transparent 85%); animation: ets-gridmove 30s linear infinite; }
@keyframes ets-gridmove { to { background-position: 46px 46px, 46px 46px; } }
.ets-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.ets-orb--a { width: 620px; height: 620px; left: -160px; top: -260px; background: radial-gradient(circle, #1d4ed8, transparent 65%); animation: ets-float1 18s ease-in-out infinite; }
.ets-orb--b { width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, #0891b2, transparent 65%); animation: ets-float2 22s ease-in-out infinite; }
:root[data-theme="light"] .ets-orb { opacity: .22; }
@keyframes ets-float1 { 50% { transform: translate(60px, 40px); } }
@keyframes ets-float2 { 50% { transform: translate(-50px, 30px); } }
.ets-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 90px; }
.ets-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px; color: var(--ink); }
.ets-hero__sub { font-size: 1.14rem; line-height: 1.65; color: var(--ink-2); max-width: 620px; margin: 0 0 28px; }
.ets-hero__search { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-hi); max-width: 620px; box-shadow: 0 0 0 6px rgb(34 211 238 / .05), var(--shadow-lg); color: var(--cyan); }
.ets-hero__search input { flex: 1; min-width: 0; height: 46px; background: transparent !important; border: 0 !important; color: var(--ink) !important; font-size: 16px; padding: 0 !important; outline: none; box-shadow: none !important; }
.ets-hero__search input::placeholder { color: var(--faint); }
.ets-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.ets-hero__chips a { font-size: 13px; font-weight: 600; color: var(--ink-2) !important; text-decoration: none !important; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); transition: .15s; }
.ets-hero__chips a:hover { border-color: var(--line-hi); color: var(--ink) !important; }
.ets-hero__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 34px; margin: 36px 0 0; }
.ets-hero__stats div { margin: 0; border-left: 2px solid var(--line-hi); padding-left: 14px; }
.ets-hero__stats dt { font: 800 30px/1 var(--font); color: var(--ink); letter-spacing: -.03em; }
.ets-hero__stats dd { margin: 6px 0 0; font: 500 11px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ets-hero__3d { position: relative; }
.ets-telemetry { position: absolute; left: -26px; bottom: 34px; display: grid; gap: 8px; z-index: 4; pointer-events: none; }
.ets-telemetry div { display: grid; grid-template-columns: 82px auto auto; align-items: baseline; gap: 6px; background: var(--glass); border: 1px solid var(--line); border-left: 2px solid var(--cyan); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 12px; border-radius: 10px; font-family: var(--mono); box-shadow: var(--shadow); }
.ets-telemetry span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ets-telemetry b { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ets-telemetry i { font-size: 11px; color: var(--cyan); font-style: normal; }
.ets-hero__note { font: 500 11.5px var(--mono); color: var(--muted); text-align: right; margin: 12px 4px 0; }
@media (max-width: 1060px) { .ets-hero__in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; } .ets-hero__3d { max-width: 620px; width: 100%; margin: 0 auto; } .ets-telemetry { left: 10px; bottom: 14px; } }
@media (max-width: 560px) { .ets-hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; } .ets-hero__stats dt { font-size: 24px; } .ets-hero__search { flex-wrap: wrap; } .ets-hero__search .ets-btn { width: 100%; } .ets-telemetry { display: none; } }

/* industries marquee */
.ets-marquee { overflow: hidden; border-bottom: 1px solid var(--line-2); background: var(--bg-2); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ets-marquee__track { display: flex; width: max-content; gap: 12px; padding: 18px 0; animation: ets-marq 55s linear infinite; }
.ets-marquee:hover .ets-marquee__track { animation-play-state: paused; }
.ets-marquee a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2) !important; text-decoration: none !important; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ets-marquee a i { width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.ets-marquee a:hover { color: var(--ink) !important; border-color: var(--line-hi); }

/* sections */
.ets-sec { padding: 96px 0; position: relative; }
.ets-sec--panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line-2); }
.ets-sec__head { max-width: 760px; margin-bottom: 36px; }
.ets-sec__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.08; margin: 0 0 12px; letter-spacing: -.035em; font-weight: 800; }
.ets-sec__head p:not(.ets-label) { color: var(--muted); font-size: 1.06rem; line-height: 1.6; margin: 0; }
.ets-sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ets-sec__head--row > div { max-width: 760px; }
@media (max-width: 700px) { .ets-sec { padding: 60px 0; } .ets-sec__head--row { flex-direction: column; align-items: flex-start; } }

/* launch tiles */
.ets-launch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ets-launch__tile { display: flex; flex-direction: column; gap: 10px; padding: 26px; min-height: 230px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ets-launch__tile:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: var(--shadow-lg); }
.ets-launch__num { position: absolute; top: 20px; right: 22px; font: 700 12px/1 var(--mono); color: var(--faint); }
.ets-launch__tile .ets-ic { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgb(59 130 246 / .9); }
.ets-launch__tile strong { font-size: 20px; letter-spacing: -.02em; margin-top: 8px; }
.ets-launch__tile > span:not(.ets-launch__num) { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.ets-launch__tile em { margin-top: auto; font: 600 12px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
@media (max-width: 960px) { .ets-launch { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ets-launch { grid-template-columns: 1fr; } .ets-launch__tile { min-height: 0; } }

/* process line */
.ets-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: s; }
.ets-process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 20px); opacity: .5; animation: ets-dash 1.2s linear infinite; }
@keyframes ets-dash { to { background-position: 20px 0; } }
.ets-process li { margin: 0; position: relative; }
.ets-process a { display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: var(--ink) !important; padding: 0 6px; }
.ets-process__node { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-hi); color: var(--cyan); box-shadow: 0 0 0 8px var(--bg-2), 0 0 30px -6px rgb(34 211 238 / .5); transition: transform .2s, box-shadow .2s; }
.ets-process__node .ets-ic { width: 28px; height: 28px; }
.ets-process a:hover .ets-process__node { transform: scale(1.08); box-shadow: 0 0 0 8px var(--bg-2), 0 0 40px -2px rgb(34 211 238 / .8); }
.ets-process__step { font: 600 11px/1 var(--mono); color: var(--amber); text-transform: uppercase; letter-spacing: .1em; margin-top: 10px; }
.ets-process strong { font-size: 16px; }
.ets-process a > span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .ets-process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; } .ets-process::before { display: none; } }
@media (max-width: 560px) { .ets-process { grid-template-columns: 1fr 1fr; } }

/* bento */
.ets-bento { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ets-bento__side { display: grid; gap: 12px; }
.ets-bento .ets-calc { margin: 0; }
@media (max-width: 1000px) { .ets-bento { grid-template-columns: 1fr; } .ets-bento__side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ets-bento__side { grid-template-columns: 1fr; } }

/* topic grid */
.ets-topicgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ets-topic { display: flex; flex-direction: column; gap: 9px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; transition: transform .2s, border-color .2s; overflow: hidden; }
.ets-topic:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.ets-topic .ets-ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--cyan-soft); color: var(--cyan); }
.ets-topic strong { font-size: 16.5px; }
.ets-topic span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ets-topic em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--brand-ink); }
.ets-topic em b { font-family: var(--mono); color: var(--ink); }
@media (max-width: 1100px) { .ets-topicgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ets-topicgrid { grid-template-columns: 1fr; } }

/* learning paths */
.ets-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ets-path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.ets-path__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ets-path h3 { margin: 0; font-size: 1.1rem; }
.ets-path__ring { --p: 0; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--mono); color: var(--ink); background: radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%), conic-gradient(var(--ok) calc(var(--p) * 360deg), var(--line) 0); }
.ets-path > p { margin: 8px 0 14px; font-size: 13.5px; color: var(--muted); }
.ets-path ol { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 9px; }
.ets-path li { counter-increment: p; display: flex; gap: 10px; font-size: 14px; line-height: 1.4; margin: 0; }
.ets-path li::before { content: counter(p, decimal-leading-zero); flex: none; font: 700 11px/20px var(--mono); color: var(--faint); width: 22px; }
.ets-path li:has(.is-read)::before { content: "✓"; color: var(--ok); }
.ets-path a { color: var(--ink-2) !important; text-decoration: none !important; }
.ets-path a:hover { color: var(--cyan) !important; }
.ets-path a.is-read { color: var(--muted) !important; }
.ets-path__more { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--brand-ink) !important; }
@media (max-width: 1100px) { .ets-paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ets-paths { grid-template-columns: 1fr; } }

/* post cards */
.ets-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.ets-cards--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ets-cards--feature > div:first-child { grid-column: span 2; grid-row: span 2; }
.ets-cards--feature > div:first-child .ets-card-post__img { aspect-ratio: 16 / 10; }
.ets-cards--feature > div:first-child strong { font-size: 22px; }
.ets-cards--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ets-cards__lead { grid-column: 1 / -1; }
.ets-cards__lead .ets-card-post { display: grid; grid-template-columns: 1.2fr 1fr; }
.ets-cards__lead .ets-card-post__img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.ets-cards__lead strong { font-size: 26px !important; letter-spacing: -.02em; }
.ets-cards > div { min-width: 0; display: flex; }
.ets-card-post { flex: 1; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none !important; color: var(--ink) !important; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ets-card-post:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: var(--shadow-lg); }
.ets-card-post__img { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 80% 0%, #1e4677, #0c1a2b); display: grid; place-items: center; color: rgb(140 185 255 / .6); overflow: hidden; }
.ets-card-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ets-card-post:hover .ets-card-post__img img { transform: scale(1.05); }
.ets-card-post__img .ets-ic { width: 44px; height: 44px; }
.ets-card-post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ets-card-post__cat { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.ets-card-post strong { font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.ets-card-post__meta { font: 500 11.5px var(--mono); color: var(--muted); margin-top: auto; }
@media (max-width: 1100px) { .ets-cards--feature { grid-template-columns: 1fr 1fr; } .ets-cards--list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ets-cards--feature, .ets-cards--list { grid-template-columns: 1fr; } .ets-cards--feature > div:first-child { grid-column: auto; grid-row: auto; } .ets-cards__lead .ets-card-post { display: flex; } .ets-cards__lead .ets-card-post__img { min-height: 0; aspect-ratio: 16/9; } }

/* duo panels + trust */
.ets-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ets-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 38px; border-radius: var(--r-lg); text-decoration: none !important; color: #e6eef7 !important; overflow: hidden; border: 1px solid rgb(120 170 255 / .2); background: radial-gradient(90% 120% at 100% 0%, rgb(34 211 238 / .25), transparent 55%), linear-gradient(135deg, #0f2440, #10345a); }
.ets-panel--alt { background: radial-gradient(90% 120% at 100% 0%, rgb(255 166 26 / .22), transparent 55%), linear-gradient(135deg, #1b1a10, #3a2a0c); border-color: rgb(255 166 26 / .25); }
.ets-panel h2 { color: #fff !important; margin: 0 !important; font-size: 1.9rem; letter-spacing: -.03em; }
.ets-panel p:not(.ets-label) { color: #b9c9db; margin: 0 0 16px; line-height: 1.6; }
@media (max-width: 800px) { .ets-duo { grid-template-columns: 1fr; } .ets-panel { padding: 26px; } }
.ets-trust { padding: 40px 0 90px; }
.ets-trust__in { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 34px; background: var(--surface); }
.ets-trust__big { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.25; }
.ets-trust p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .ets-trust__in { grid-template-columns: 1fr; } }

/* ---------- page hero (articles, archives, pages) ---------- */
.ets-phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.ets-phero__in { position: relative; padding-top: 46px; padding-bottom: 50px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.ets-phero__in.has-img { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.ets-phero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; margin: 14px 0 14px; max-width: 22ch; }
.ets-phero--page h1 { max-width: 28ch; }
.ets-phero__dek { font-size: 1.12rem; color: var(--ink-2); line-height: 1.6; max-width: 70ch; margin: 0 0 18px; }
.ets-phero__desc { color: var(--ink-2); font-size: 1.02rem; line-height: 1.65; max-width: 900px; max-height: 5.2em; overflow: hidden; mask-image: linear-gradient(180deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); }
.ets-phero__desc.is-open { max-height: none; mask-image: none; -webkit-mask-image: none; }
.ets-phero__desc p { margin: 0 0 10px; }
.ets-more { background: none; border: 0; color: var(--cyan); font-weight: 700; cursor: pointer; padding: 6px 0; }
.ets-phero__img { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.ets-phero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ets-phero .ets-hero__search { margin-top: 22px; }
@media (max-width: 900px) { .ets-phero__in.has-img { grid-template-columns: 1fr; } .ets-phero__in { padding-top: 28px; padding-bottom: 34px; } }
.ets-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 14px; }
.ets-crumbs a { color: var(--ink-2) !important; text-decoration: none; }
.ets-crumbs a:hover { color: var(--cyan) !important; }
.ets-crumbs span[aria-current] { color: var(--muted); }
.ets-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.ets-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ets-meta__author img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-hi); }
.ets-meta__author a { color: var(--ink) !important; font-weight: 600; text-decoration: none; }

/* ---------- reading layout ---------- */
.ets-read { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 44px; padding-bottom: 60px; align-items: start; }
.ets-article { min-width: 0; }
.ets-prose { font-size: 18px; line-height: 1.82; color: var(--ink-2); max-width: 760px; }
.ets-prose--wide { max-width: none; }
.ets-prose > *:first-child { margin-top: 0; }
.ets-prose h2 { font-size: 1.75rem; margin: 2.2em 0 .7em; line-height: 1.2; scroll-margin-top: 100px; padding-top: .3em; position: relative; }
.ets-prose h2::before { content: ""; position: absolute; left: 0; top: -.2em; width: 40px; height: 3px; border-radius: 2px; background: var(--grad); }
.ets-prose h3 { font-size: 1.3rem; margin: 1.8em 0 .6em; scroll-margin-top: 100px; }
.ets-prose p { margin: 0 0 1.25em; }
.ets-prose strong { color: var(--ink); }
.ets-prose ul, .ets-prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.ets-prose li { margin: .35em 0; }
.ets-prose li::marker { color: var(--cyan); }
.ets-prose img { border-radius: 14px; height: auto; }
.ets-prose table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9em; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.ets-prose th, .ets-prose td { border-bottom: 1px solid var(--line-2); padding: 11px 14px; text-align: left; vertical-align: top; }
.ets-prose th { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.ets-prose tr:last-child td { border-bottom: 0; }
.ets-prose blockquote { border: 0; border-left: 3px solid var(--amber); background: var(--surface); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.6em 0; color: var(--ink); font-style: normal; }
.ets-prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); }
.ets-prose a { color: var(--brand-ink); }
.ets-prose .wp-block-image, .ets-prose figure { margin: 1.8em 0; }
.ets-prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
/* Old child-theme table rule paints the first row light; neutralise it. */
body.ets .entry-content tr:first-child { background: transparent; color: inherit; font-weight: inherit; }
body.ets .entry-content thead tr:first-child, body.ets .entry-content th { background: var(--surface-2); color: var(--ink); }
/* Legacy articles use inline light boxes; in dark mode turn them into dark panels with readable text. */
:root[data-theme="dark"] .ets-prose [style*="background"]:not(img):not(svg *) { background: var(--surface) !important; border-color: var(--line) !important; box-shadow: none !important; }
:root[data-theme="dark"] .ets-prose [style*="background"] [style*="background"] { background: var(--surface-2) !important; }
:root[data-theme="dark"] .ets-prose [style*="color"]:not(svg *) { color: var(--ink-2) !important; }
:root[data-theme="dark"] .ets-prose [style*="background"] strong, :root[data-theme="dark"] .ets-prose [style*="background"] figcaption, :root[data-theme="dark"] .ets-prose [style*="background"] h3, :root[data-theme="dark"] .ets-prose [style*="background"] h4 { color: var(--ink) !important; }
:root[data-theme="dark"] .ets-prose [style*="border"] { border-color: var(--line) !important; }
/* child-theme reading tools inside content */
body.ets .et-reading-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 18px; margin: 0 0 22px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
body.ets .et-reading-tools button { border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 12.5px var(--font); padding: 7px 12px; cursor: pointer; }
body.ets .et-reading-tools button:hover { border-color: var(--line-hi); color: var(--ink); }
body.ets .et-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 28px; }
body.ets .et-toc summary { cursor: pointer; font-weight: 700; color: var(--ink); }
body.ets .et-toc a { color: var(--ink-2); text-decoration: none; }
@media (min-width: 1101px) { body.ets .ets-single .et-toc { display: none; } }
body.ets .et-author-profile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--ink-2); }
body.ets .et-author-profile * { color: inherit; }
body.ets .et-author-profile h2, body.ets .et-author-profile h3, body.ets .et-author-profile strong { color: var(--ink); }
body.ets .ets-single .et-related { display: none; }
body.ets .et-reading-progress { background: var(--grad) !important; height: 3px; z-index: 100; }
body.ets dialog.et-saved-dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line-hi); border-radius: 18px; box-shadow: var(--shadow-lg); }
body.ets dialog.et-saved-dialog a { color: var(--brand-ink); }
body.ets dialog::backdrop { background: rgb(2 6 12 / .7); }
.ets-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 34px 0; }
.ets-tags .ets-label { margin: 0 6px 0 0 !important; }
.ets-tags a { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2) !important; text-decoration: none !important; background: var(--surface); }
.ets-comments { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
body.ets .comment-respond, body.ets .comments-area { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
body.ets .comment-list .comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 14px; color: var(--ink-2); }
body.ets .comment-author, body.ets .comment-author a { color: var(--ink); }
body.ets input[type="text"], body.ets input[type="email"], body.ets input[type="url"], body.ets input[type="search"], body.ets input[type="number"], body.ets input[type="tel"], body.ets textarea, body.ets select { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
body.ets input[type="submit"], body.ets button.submit, body.ets .wpcf7-submit { background: var(--grad); color: #fff; border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; cursor: pointer; }

.ets-rail { position: relative; min-width: 0; }
.ets-rail__sticky { position: sticky; top: 96px; display: grid; gap: 14px; }
.ets-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; position: relative; overflow: hidden; }
.ets-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 52vh; overflow-y: auto; }
.ets-toc li { margin: 0; }
.ets-toc a { display: block; font-size: 13.5px; line-height: 1.4; padding: 7px 10px; border-radius: 8px; border-left: 2px solid transparent; color: var(--muted) !important; text-decoration: none !important; }
.ets-toc a:hover { color: var(--ink) !important; background: var(--surface-2); }
.ets-toc a.is-on { color: var(--ink) !important; border-left-color: var(--cyan); background: var(--cyan-soft); }
.ets-toc__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.ets-toc__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.ets-rail__card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; text-decoration: none !important; color: var(--ink) !important; }
.ets-rail__tool { background: radial-gradient(120% 100% at 100% 0%, rgb(59 130 246 / .25), transparent 60%), var(--surface); border-color: var(--line-hi); }
.ets-rail__tool strong { display: block; font-size: 15px; margin-bottom: 8px; line-height: 1.3; }
.ets-rail__tool span { font-weight: 700; font-size: 13.5px; color: var(--cyan); }
.ets-share__row { display: flex; gap: 8px; }
.ets-share__row a, .ets-share__row button { flex: 1; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2) !important; font: 700 13px var(--mono); text-decoration: none !important; cursor: pointer; }
.ets-share__row a:hover, .ets-share__row button:hover { border-color: var(--line-hi); color: var(--ink) !important; }
@media (max-width: 1100px) { .ets-read { grid-template-columns: 1fr; gap: 20px; } .ets-rail__sticky { position: static; } .ets-rail .ets-toc { display: none; } }
@media (max-width: 640px) { .ets-prose { font-size: 17px; } .ets-read { padding-top: 26px; } }

/* archives & pages */
.ets-listing { padding-top: 40px; padding-bottom: 70px; }
.ets-pager { margin: 40px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ets-pager .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2) !important; text-decoration: none !important; font: 600 14px var(--mono); }
.ets-pager .page-numbers.current { background: var(--grad); color: #fff !important; border-color: transparent; }
.ets-pager .page-numbers:hover { border-color: var(--line-hi); }
.ets-empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); margin-bottom: 30px; }
.ets-empty p { color: var(--muted); max-width: 560px; margin: 10px auto 0; }
.ets-pagebody { padding-top: 40px; padding-bottom: 70px; }
.ets-page .ets-prose { max-width: 900px; }
.ets-page--tool .ets-prose { max-width: none; }

/* ---------- calculators ---------- */
.ets-calc { --pad: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin: 8px 0 36px; font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.5; }
.ets-calc__head { padding: 16px var(--pad); border-bottom: 1px solid var(--line-2); background: var(--surface-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ets-calc__meta { color: var(--muted); font: 500 12px var(--mono); }
.ets-calc__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.ets-calc__form { padding: var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-content: start; }
.ets-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ets-field[hidden] { display: none; }
.ets-field label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0; line-height: 1.3; }
.ets-field small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ets-field > select, .ets-inp { height: 48px; border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--bg-2) !important; transition: border-color .15s, box-shadow .15s; }
.ets-field > select { padding: 0 12px !important; font-size: 15px; color: var(--ink) !important; width: 100%; }
.ets-inp { display: flex; align-items: stretch; overflow: hidden; }
.ets-inp:focus-within, .ets-field > select:focus { border-color: var(--cyan) !important; box-shadow: 0 0 0 4px var(--cyan-soft); outline: none; }
.ets-inp input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 12px !important; font: 600 16px/1 var(--mono) !important; color: var(--ink) !important; box-shadow: none !important; height: auto !important; outline: none; -moz-appearance: textfield; }
.ets-inp input::-webkit-outer-spin-button, .ets-inp input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ets-inp select, .ets-inp .ets-u { border: 0 !important; border-left: 1px solid var(--line) !important; background: var(--surface-2) !important; color: var(--muted) !important; font-size: 13px; font-weight: 600; padding: 0 10px !important; border-radius: 0 !important; max-width: 48%; height: auto !important; display: flex; align-items: center; white-space: nowrap; }
.ets-calc__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.ets-calc__out { background: radial-gradient(120% 80% at 100% 0%, rgb(34 211 238 / .16), transparent 60%), linear-gradient(160deg, #0b1a2c, #070f1a); color: #e6eef7; padding: var(--pad); position: relative; border-left: 1px solid var(--line); }
.ets-calc__out::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.ets-calc__out > * { position: relative; }
.ets-calc__outtitle { font: 600 11.5px var(--mono) !important; letter-spacing: .16em; text-transform: uppercase; color: #67e8f9; margin: 0 0 14px !important; display: flex; align-items: center; gap: 8px; }
.ets-calc__outtitle::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.ets-calc__results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ets-res { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.ets-res[hidden] { display: none; }
.ets-res--big { grid-column: 1 / -1; background: linear-gradient(135deg, rgb(59 130 246 / .18), rgb(34 211 238 / .08)); border-color: rgb(91 147 255 / .35); }
.ets-res dt { font-size: 12.5px; color: #9fb4ca; font-weight: 600; margin: 0 0 4px; }
.ets-res dd { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ets-res output { font: 700 22px/1.15 var(--mono); color: #fff; letter-spacing: -.02em; word-break: break-word; font-variant-numeric: tabular-nums; }
.ets-res--big output { font-size: 32px; text-shadow: 0 0 24px rgb(34 211 238 / .35); }
.ets-res select, .ets-res .ets-u { background: rgb(255 255 255 / .08) !important; color: #cfe0f2 !important; border: 1px solid rgb(255 255 255 / .14) !important; border-radius: 7px !important; font-size: 12.5px; padding: 3px 6px !important; height: auto !important; width: auto !important; }
.ets-res select option { color: #111; }
.ets-calc__msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; }
.ets-calc__msg.is-warn { background: rgb(251 191 36 / .12); border: 1px solid rgb(251 191 36 / .45); color: #fde68a; }
.ets-calc__msg.is-err { background: rgb(248 113 113 / .14); border: 1px solid rgb(248 113 113 / .5); color: #fecaca; }
.ets-calc__note { font-size: 12px !important; color: #7f93a8; margin: 14px 0 0 !important; line-height: 1.5; }
@media (max-width: 900px) { .ets-calc__body { grid-template-columns: 1fr; } .ets-calc__out { order: -1; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .ets-calc { --pad: 16px; } .ets-calc__form { grid-template-columns: 1fr; } .ets-res output { font-size: 18px; } .ets-res--big output { font-size: 24px; } }

.ets-learn { display: grid; gap: 18px; margin: 0 0 30px; }
.ets-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.ets-card h2 { font-size: 1.3rem !important; margin: 0 0 14px !important; }
.ets-card h2::before { display: none; }
.ets-card--example { border-left: 3px solid var(--amber); }
.ets-formula { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.ets-formula p { margin: 0 0 8px; }
.ets-formula b { font-family: var(--mono); color: var(--cyan); }
.ets-ftab { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 10px; display: table !important; border: 0 !important; }
.ets-ftab th, .ets-ftab td { border: 1px solid var(--line) !important; padding: 8px 10px; text-align: left; }
.ets-ftab td:not(:first-child) { font-family: var(--mono); }
.ets-steps { margin: 0; padding-left: 0 !important; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.ets-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; margin: 0; }
.ets-steps li::before { content: counter(s, decimal-leading-zero); flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--cyan-soft); color: var(--cyan); font: 700 12px var(--mono); display: grid; place-items: center; }
.ets-faq { border-top: 1px solid var(--line-2); }
.ets-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.ets-faq summary::-webkit-details-marker { display: none; }
.ets-faq summary::after { content: "+"; font-size: 20px; color: var(--cyan); line-height: 1; }
.ets-faq[open] summary::after { content: "–"; }
.ets-faq p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.65; }

/* tool cards / hub */
.ets-tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ets-tool-grid--sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ets-tool { display: flex; flex-direction: column; gap: 7px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none !important; color: var(--ink) !important; transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; height: 100%; }
.ets-tool:hover { transform: translateY(-3px); border-color: var(--line-hi); box-shadow: var(--shadow-lg); }
.ets-tool .ets-ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 4px; }
.ets-tool strong { font-size: 15.5px; line-height: 1.3; }
.ets-tool span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ets-tool--feature { background: radial-gradient(120% 120% at 100% 0%, rgb(59 130 246 / .22), transparent 60%), var(--surface); border-color: var(--line-hi); }
.ets-tool--fav strong { color: var(--amber); }
.ets-hub__bar { margin-bottom: 22px; }
.ets-hub__bar input { width: 100%; height: 56px; border-radius: 16px !important; padding: 0 20px !important; font-size: 16px; border: 1px solid var(--line-hi) !important; background: var(--surface) !important; color: var(--ink) !important; }
.ets-hub__feature { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 34px; }
@media (max-width: 700px) { .ets-hub__feature { grid-template-columns: 1fr; } }
.ets-hub__group { margin-bottom: 34px; }
.ets-hub__group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem !important; margin: 0 0 16px !important; }
.ets-hub__group h2::before { display: none; }
.ets-hub__group h2 .ets-ic { color: var(--cyan); }
.ets-related { margin-top: 30px; }
.ets-related h2 { font-size: 1.35rem !important; }
.ets-related h2::before { display: none; }

/* converter */
.ets-conv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.ets-conv__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ets-conv__cats button { border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 8px 13px; font: 600 13px var(--font); cursor: pointer; }
.ets-conv__cats button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.ets-conv__row { display: grid; grid-template-columns: 1fr 1.3fr auto 1.3fr; gap: 12px; align-items: end; }
.ets-conv__row input, .ets-conv__row select { height: 50px; width: 100%; padding: 0 12px; font-size: 16px; }
.ets-conv__row input { font-family: var(--mono); font-weight: 700; }
.ets-conv__swap { height: 50px; font-size: 18px; }
.ets-conv__big { font-size: 15px; margin: 20px 0 !important; color: var(--muted); }
.ets-conv__big strong { display: block; font: 700 32px/1.2 var(--mono); color: var(--ink); word-break: break-word; }
.ets-conv__table table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: table !important; border: 0 !important; }
.ets-conv__table th, .ets-conv__table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2) !important; text-align: left; background: transparent !important; }
.ets-conv__table td { font-family: var(--mono); text-align: right; color: var(--ink); }
.ets-conv__table tr.is-on { background: var(--cyan-soft); }
@media (max-width: 640px) { .ets-conv__row { grid-template-columns: 1fr 1fr; } .ets-conv__row .ets-field:first-child { grid-column: 1 / -1; } .ets-conv__swap { display: none; } }

/* reference desk */
.ets-ref { margin: 40px 0; scroll-margin-top: 150px; }
.ets-ref__head { display: flex; align-items: center; gap: 10px; }
.ets-ref__head h2 { margin: 0 !important; }
.ets-ref__link { font: 700 16px var(--mono); color: var(--muted) !important; text-decoration: none !important; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); }
.ets-ref__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ets-dtable { width: 100%; border-collapse: collapse; font-size: 14px; display: table !important; border: 0 !important; margin: 0 !important; }
.ets-dtable th, .ets-dtable td { padding: 10px 14px; border-bottom: 1px solid var(--line-2) !important; text-align: right; white-space: nowrap; background: transparent !important; }
.ets-dtable thead th { position: sticky; top: 0; background: var(--surface-2) !important; color: var(--ink); font-size: 12.5px; text-align: right; }
.ets-dtable thead th:first-child, .ets-dtable tbody th { text-align: left; }
.ets-dtable tbody th { color: var(--ink); font-weight: 700; white-space: normal; min-width: 120px; }
.ets-dtable td { font-family: var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ets-dtable tbody tr:hover { background: var(--cyan-soft); }
.ets-ref__src { font: 500 12px var(--mono); color: var(--muted); margin-top: 10px !important; }
.ets-ref__duo { display: grid; grid-template-columns: 1fr 1fr; }
.ets-ref__duo .ets-dtable td { white-space: normal; text-align: left; font-family: var(--font); }
@media (max-width: 800px) { .ets-ref__duo { grid-template-columns: 1fr; } }

/* ---------- 3D explorer ---------- */
.ets-3d { margin: 26px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.ets-3d--compact { grid-template-columns: 1fr; }
.ets-3d__stage { position: relative; aspect-ratio: 16 / 11; min-height: 320px; overflow: hidden; touch-action: none; background: radial-gradient(90% 70% at 50% 35%, #12304f 0%, #0a1a2c 55%, #07111d 100%); }
.ets-3d__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(120 170 255 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(120 170 255 / .08) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%); pointer-events: none; }
.ets-3d.is-live .ets-3d__stage::before { display: none; }
.ets-3d__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.ets-3d__stage canvas:active { cursor: grabbing; }
.ets-3d__tag { position: absolute; top: 16px; left: 36px; z-index: 3; font: 600 10.5px var(--mono); letter-spacing: .14em; color: rgb(140 200 255 / .75); pointer-events: none; }
.ets-3d__poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: rgb(140 185 255 / .6); font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ets-3d__poster .ets-ic { width: 96px; height: 96px; stroke-width: .9; animation: ets-floaty 4s ease-in-out infinite; color: #67e8f9; filter: drop-shadow(0 0 18px rgb(34 211 238 / .45)); }
@keyframes ets-floaty { 50% { transform: translateY(-8px) rotate(6deg); } }
.ets-3d__start { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); z-index: 4; background: var(--grad); box-shadow: 0 10px 30px -10px rgb(34 211 238 / .8); }
.ets-3d__start:hover { transform: translateX(-50%) translateY(-1px); }
.ets-3d.is-loading .ets-3d__start { pointer-events: none; opacity: .8; }
.ets-3d.is-loading .ets-3d__start::after { content: ""; width: 14px; height: 14px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: ets-spin .7s linear infinite; }
@keyframes ets-spin { to { transform: rotate(360deg); } }
.ets-3d.is-live .ets-3d__poster, .ets-3d.is-live .ets-3d__start { display: none; }
.ets-3d.is-fail .ets-3d__start { display: none; }
.ets-3d.is-fail .ets-3d__poster span::after { content: " · needs WebGL"; }
.ets-3d__markers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ets-mk { position: absolute; left: 0; top: 0; margin: -13px 0 0 -13px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgb(34 211 238 / .7); background: rgb(6 14 24 / .78); color: #a5f3fc; font: 700 10.5px/24px var(--mono); text-align: center; padding: 0; cursor: pointer; pointer-events: auto; box-shadow: 0 0 14px rgb(34 211 238 / .35); transition: opacity .2s, background .2s, color .2s; backdrop-filter: blur(4px); }
.ets-mk:hover, .ets-mk.is-on { background: var(--amber); color: #1a1100; border-color: var(--amber); box-shadow: 0 0 18px rgb(255 166 26 / .6); }
.ets-3d__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; z-index: 4; opacity: 0; transform: translateY(6px); transition: .25s; pointer-events: none; }
.ets-3d.is-live .ets-3d__bar { opacity: 1; transform: none; pointer-events: auto; }
.ets-3d__bar button { border: 1px solid rgb(255 255 255 / .16); background: rgb(8 16 28 / .78); color: #dbe7f5; padding: 7px 12px; border-radius: 999px; font: 600 12px/1 var(--font); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ets-3d__bar button[aria-pressed="true"] { background: rgb(34 211 238 / .2); color: #a5f3fc; border-color: rgb(34 211 238 / .6); }
.ets-3d__bar button[hidden] { display: none; }
.ets-3d__info { position: absolute; top: 40px; left: 14px; right: 14px; max-width: 400px; z-index: 5; background: rgb(6 14 24 / .86); border: 1px solid rgb(255 166 26 / .5); color: #dbe7f5; border-radius: 14px; padding: 14px 16px 14px 56px; font-size: 13.5px; line-height: 1.5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px #000; }
.ets-3d__infonum { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 9px; background: var(--amber); color: #1a1100; font: 800 12px/30px var(--mono); text-align: center; }
.ets-3d__info strong { display: block; color: #ffc457; margin-bottom: 3px; font-size: 15px; }
.ets-3d__cap { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-left: 1px solid var(--line); }
.ets-3d__title { font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.ets-3d__desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.ets-3d__hint { color: var(--muted); font: 500 11.5px/1.5 var(--mono); }
.ets-3d__parts { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: pt; }
.ets-3d__parts li { margin: 0 !important; padding: 0 !important; counter-increment: pt; }
.ets-3d__parts button { font: 600 13px/1.2 var(--font); padding: 7px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; }
.ets-3d__parts button::before { content: counter(pt, decimal-leading-zero) " "; font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.ets-3d__parts button:hover { border-color: var(--line-hi); color: var(--ink); }
.ets-3d__parts button.is-on { background: var(--amber); border-color: var(--amber); color: #1a1100; }
.ets-3d__parts button.is-on::before { color: #1a1100; }
.ets-3d__calc { font-weight: 700; font-size: 14px; margin-top: auto; }
.ets-3d--compact .ets-3d__stage { aspect-ratio: 16 / 10; }
.ets-3d--compact .ets-3d__cap { border-left: 0; border-top: 1px solid var(--line); }
.ets-3d--hero { display: block; border-radius: 24px; border-color: var(--line-hi); box-shadow: 0 40px 100px -40px rgb(34 211 238 / .45), 0 0 0 1px rgb(34 211 238 / .1); margin: 0; }
.ets-3d--hero .ets-3d__stage { aspect-ratio: 1 / 1; }
.ets-3d__parts--hero { display: none !important; }
.ets-3d:fullscreen { display: block; border-radius: 0; }
.ets-3d:fullscreen .ets-3d__stage { height: 100vh; aspect-ratio: auto; }
.ets-3d:fullscreen .ets-3d__cap { display: none; }
.ets-3d.is-max { position: fixed; inset: 0; z-index: 1000; display: block; border-radius: 0; margin: 0; }
.ets-3d.is-max .ets-3d__stage { height: 100vh; aspect-ratio: auto; }
.ets-3d.is-max .ets-3d__cap { display: none; }
@media (max-width: 900px) { .ets-3d { grid-template-columns: 1fr; } .ets-3d__stage { aspect-ratio: 4 / 3.6; } .ets-3d__cap { border-left: 0; border-top: 1px solid var(--line); } .ets-3d__tag { display: none; } }
.ets-3dtabs__bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 4px; scrollbar-width: none; }
.ets-3dtabs__bar button { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; }
.ets-3dtabs__bar button span { font: 700 11px var(--mono); color: var(--faint); }
.ets-3dtabs__bar button[aria-selected="true"] { border-color: var(--cyan); color: var(--ink); box-shadow: 0 0 0 1px var(--cyan) inset, 0 10px 24px -14px rgb(34 211 238 / .9); }
.ets-3dtabs__bar button[aria-selected="true"] span { color: var(--cyan); }
.ets-3dtabs .ets-3d { margin-top: 10px; }
.ets-inline3d { margin: 36px 0; }
.ets-inline3d .ets-3d { margin-top: 8px; }
.ets-lab3d__intro { font-size: 1.06em; margin-bottom: 10px; }
.ets-lab3d__item { margin: 44px 0; scroll-margin-top: 100px; }
.ets-lab3d__item h2 { margin-bottom: 4px !important; }

/* ---------- article extras ---------- */
.ets-toolcta { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin: 36px 0; padding: 20px; border-radius: var(--r); background: radial-gradient(120% 120% at 100% 0%, rgb(59 130 246 / .2), transparent 60%), var(--surface); border: 1px solid var(--line-hi); }
.ets-toolcta > .ets-ic { width: 48px; height: 48px; padding: 11px; border-radius: 13px; background: var(--grad); color: #fff; }
.ets-toolcta p { margin: 0 0 2px !important; }
.ets-toolcta a strong { font-size: 17px; }
.ets-toolcta span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 640px) { .ets-toolcta { grid-template-columns: 1fr; } .ets-toolcta > .ets-ic { display: none; } }
.ets-kicker { font: 600 11.5px var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan) !important; margin: 0 0 8px !important; }
.ets-continue { margin: 48px 0 10px; }
.ets-continue__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ets-continue__head h2 { margin: 0 !important; font-size: 1.5rem !important; }
.ets-continue__head h2::before { display: none; }
.ets-continue__head p { flex-basis: 100%; }
.ets-continue .ets-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ets-continue .ets-card-post strong { font-size: 15px; }

/* ---------- ads ---------- */
.ets-ad { margin: 36px auto; min-height: 280px; text-align: center; clear: both; display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 6px 12px; contain: layout; }
.ets-ad__lbl { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.ets-ad ins { width: 100%; }
.ets-ad--home { max-width: var(--wrap); margin: 0 auto; }
.ets-ad--side { min-height: 600px; }
@media (max-width: 600px) { .ets-ad { min-height: 300px; } }

/* ---------- footer ---------- */
.ets-footer { position: relative; background: #04070c; color: #8ea3b8; border-top: 1px solid var(--line-2); overflow: hidden; }
:root[data-theme="light"] .ets-footer { background: #0b1626; }
.ets-footer a { color: #c7d6e6 !important; text-decoration: none; }
.ets-footer a:hover { color: #fff !important; }
.ets-footer h2, .ets-footer h3 { color: #fff !important; }
.ets-footer__cta { border-bottom: 1px solid rgb(148 180 220 / .1); background: radial-gradient(60% 140% at 100% 0%, rgb(34 211 238 / .18), transparent 60%), radial-gradient(60% 140% at 0% 100%, rgb(59 130 246 / .18), transparent 60%); }
.ets-footer__ctain { max-width: var(--wrap); margin: 0 auto; padding: 46px 28px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.ets-footer__ctain h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; font-weight: 800; }
.ets-footer__ctain p:not(.ets-label) { margin: 0; color: #9fb4ca; }
.ets-footer .ets-btn { color: #fff !important; flex: none; }
.ets-footer__main { max-width: var(--wrap); margin: 0 auto; padding: 56px 28px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.ets-footer__brand p { font-size: 14.5px; line-height: 1.7; margin: 16px 0 0; max-width: 380px; }
.ets-footer .ets-logo { color: #fff !important; }
.ets-footer h3 { font: 600 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; margin: 6px 0 16px; color: #67e8f9 !important; }
.ets-footer ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.ets-footer li { margin: 0; font-size: 14.5px; }
.ets-footer__stats { display: flex; gap: 26px; margin: 24px 0 0; }
.ets-footer__stats div { margin: 0; }
.ets-footer__stats dt { font: 800 24px var(--font); color: #fff; }
.ets-footer__stats dd { margin: 2px 0 0; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.ets-footer__word { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font: 900 clamp(80px, 17vw, 260px)/1 var(--font); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgb(148 180 220 / .08); white-space: nowrap; pointer-events: none; user-select: none; }
.ets-footer__bar { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 22px 28px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; border-top: 1px solid rgb(148 180 220 / .1); font-size: 13px; }
.ets-footer__bar p { margin: 0; }
.ets-footer__bar nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.ets-totop { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgb(148 180 220 / .2); background: rgb(255 255 255 / .03); color: #fff; cursor: pointer; font-size: 16px; }
.ets-totop:hover { border-color: #22d3ee; }
@media (max-width: 1000px) { .ets-footer__main { grid-template-columns: 1fr 1fr; } .ets-footer__brand { grid-column: 1 / -1; } .ets-footer__ctain { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .ets-footer__main { grid-template-columns: 1fr; padding: 40px 16px 20px; } .ets-footer__ctain, .ets-footer__bar { padding-left: 16px; padding-right: 16px; } .ets-footer__bar nav { margin-left: 0; } }

/* ---------- toast ---------- */
.ets-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1001; background: var(--surface); color: var(--ink); border: 1px solid var(--line-hi); border-radius: 12px; padding: 12px 18px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); }
.ets-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.ets-ticker__track, .ets-marquee__track { animation: none !important; }
}
@media print {
	.ets-topbar, .ets-header, .ets-footer, .ets-ad, .ets-3d, .ets-continue, .ets-calc__actions, .ets-rail, .ets-phero__bg, .ets-drawer, .ets-pal { display: none !important; }
	body.ets { background: #fff; color: #000; }
	.ets-calc__out { background: #fff !important; color: #000 !important; }
	.ets-res output { color: #000 !important; text-shadow: none !important; }
	.ets-read { display: block; }
}

/* ==========================================================================
   2.1 — Premium editorial layer (overrides the control-room styling above)
   ========================================================================== */
/* Typography: serif display headings, sans for UI */
body.ets h1, body.ets h2, .ets-sec__head h2, .ets-phero h1, .ets-hero h1, .ets-panel h2, .ets-footer__ctain h2, .ets-trust__big, .ets-prose h2, .ets-prose h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.012em; }
.ets-hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.7rem); line-height: 1.08; letter-spacing: -.02em; }
.ets-phero h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
.ets-sec__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.ets-label { font: 700 12px/1.3 var(--font) !important; letter-spacing: .13em; color: var(--cyan) !important; }
.ets-kicker, .ets-calc__outtitle, .ets-pal__group, .ets-footer h3, .ets-3d__tag { font-family: var(--font) !important; }
.ets-grad { background: none !important; color: var(--cyan) !important; -webkit-text-fill-color: currentColor; font-style: italic; }
.ets-logo__txt strong b { background: none; color: var(--cyan); -webkit-text-fill-color: currentColor; }
.ets-logo__mark { filter: none; }
.ets-logo__dot { animation: none; }
.ets-logo__txt small { font-family: var(--font); letter-spacing: .14em; font-weight: 600; }

/* Calm the effects */
.ets-orb, .ets-hero__grid, .ets-header__scan, .ets-hud, .ets-ticker a::before { display: none !important; }
.ets-tool::after, .ets-topic::after, .ets-launch__tile::after, .ets-card-post::after, .ets-path::after, .ets-mega__item::after, .ets-mega__model::after { display: none; }
.ets-js .ets-reveal { transform: translateY(10px); transition-duration: .55s; }

/* Buttons & chips */
.ets-btn, .ets-btn--glow, .ets-cta { background: var(--brand); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 8px 18px -12px rgb(20 33 61 / .7); border-radius: 10px; }
.ets-btn:hover, .ets-btn--glow:hover, .ets-cta:hover { background: #162c52; box-shadow: 0 10px 22px -12px rgb(20 33 61 / .8); }
.ets-btn--ghost { background: var(--surface); box-shadow: none; }
.ets-btn--ghost:hover { background: var(--surface-2); }
.ets-btn--copper { background: var(--cyan) !important; }
.ets-btn--copper:hover { background: #8a4915 !important; }
.ets-btn--line { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--ink); box-shadow: none !important; }
.ets-btn--line:hover { background: var(--ink) !important; color: #fff !important; }
.ets-chip { border-color: var(--line-hi); font-family: var(--font); letter-spacing: .08em; }
.ets-badge { background: var(--cyan); color: #fff; font-family: var(--font); }
.ets-pal__kind { border-color: var(--line-hi); font-family: var(--font); }
kbd { font-family: var(--font); }

/* Top bar & header */
.ets-topbar, :root[data-theme="light"] .ets-topbar { background: #14213d; border-bottom: 0; font-family: var(--font); }
.ets-topbar__live { font-size: 11px; font-weight: 700; }
.ets-header.is-scrolled { box-shadow: 0 6px 20px -14px rgb(20 33 61 / .45); }
.ets-mega__in { box-shadow: 0 30px 60px -30px rgb(20 33 61 / .45); border-radius: 16px; }
.ets-mega__item .ets-ic, .ets-topic .ets-ic { background: var(--cyan-soft); color: var(--cyan); }
.ets-mega__model { background: var(--surface-2); }
.ets-mega__num { color: var(--cyan); font-family: var(--font); }
.ets-searchbtn { background: var(--surface); }
.ets-pal { background: rgb(20 33 61 / .45); }
.ets-pal__box { border-color: var(--line); box-shadow: 0 40px 90px -30px rgb(20 33 61 / .55); }

/* Hero */
.ets-hero { background: radial-gradient(1100px 520px at 88% -8%, #ebe3d2 0%, transparent 62%), radial-gradient(900px 420px at -10% 110%, #e9edf3 0%, transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .ets-hero { background: var(--bg); }
.ets-hero__in { padding-top: 70px; padding-bottom: 76px; }
.ets-hero__sub { color: var(--ink-2); font-size: 1.12rem; }
.ets-hero__search { border-color: var(--line); box-shadow: var(--shadow-lg); color: var(--muted); }
.ets-hero__chips a { background: var(--surface); border-color: var(--line); }
.ets-hero__stats div { border-left-color: var(--cyan); }
.ets-hero__stats dt { font-family: var(--serif); }
.ets-hero__stats dd { font-family: var(--font); }
.ets-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ets-proof li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.ets-proof li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.ets-telemetry div { background: rgb(255 255 255 / .94); border-left-color: var(--cyan); font-family: var(--font); }
.ets-telemetry b { font-family: var(--mono); }
.ets-hero__note { font-family: var(--font); }

/* Industries row (static, calm) */
.ets-industries { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.ets-industries .ets-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.ets-industries p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ets-industries a { font-size: 14.5px; color: var(--ink-2) !important; text-decoration: none !important; font-weight: 600; }
.ets-industries a:hover { color: var(--cyan) !important; }

/* Sections */
.ets-sec { padding: 88px 0; }
.ets-sec--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.ets-sec--paper { background: var(--surface); border-block: 1px solid var(--line); }
.ets-sec__head p:not(.ets-label) { color: var(--ink-2); }

/* Persona chooser */
.ets-persona { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ets-persona__card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ets-persona__card:hover { border-color: var(--line-hi); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ets-persona__who { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.ets-persona__card h3 { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; margin: 0 0 10px; }
.ets-persona__card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0 0 16px; }
.ets-persona__card ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.ets-persona__card li { margin: 0; }
.ets-persona__card a { font-size: 14px; font-weight: 600; color: var(--brand-ink) !important; text-decoration: none !important; }
.ets-persona__card a:hover { color: var(--cyan) !important; }
.ets-persona__card a::after { content: " →"; }
@media (max-width: 1150px) { .ets-persona { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ets-persona { grid-template-columns: 1fr; } }

/* Tools, topics, cards — calmer */
.ets-launch__tile .ets-ic, .ets-toolcta > .ets-ic { background: var(--brand); box-shadow: none; }
.ets-tool .ets-ic { background: var(--brand-soft); color: var(--brand-ink); }
.ets-tool--feature { background: var(--surface-2); border-color: var(--line-hi); }
.ets-topic em, .ets-path__more { color: var(--brand-ink) !important; }
.ets-card-post__img { background: linear-gradient(135deg, #e9e3d6, #dfe5ee); color: #8a96a8; }
.ets-card-post__cat { font-family: var(--font); color: var(--cyan); font-weight: 700; }
.ets-card-post strong { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.ets-card-post__meta, .ets-path__ring, .ets-path li::before { font-family: var(--font); }

/* Process line */
.ets-process::before { background: repeating-linear-gradient(90deg, var(--line-hi) 0 8px, transparent 8px 16px); opacity: 1; animation: none; }
.ets-process__node { background: var(--surface); border-color: var(--line-hi); color: var(--cyan); box-shadow: 0 0 0 8px var(--bg-2); }
.ets-process a:hover .ets-process__node { box-shadow: 0 0 0 8px var(--bg-2), 0 10px 24px -10px rgb(20 33 61 / .45); }
.ets-process__step { font-family: var(--font); color: var(--cyan); }

/* Calculator */
.ets-calc__meta { font-family: var(--font); }
.ets-field > select, .ets-inp { background: var(--surface) !important; }
.ets-calc__out { background: linear-gradient(165deg, #1b2e4d 0%, #14213d 100%); border-left: 0; }
.ets-calc__outtitle { color: #f0c08a !important; }
.ets-calc__outtitle::before { background: #6fd3a3; box-shadow: none; }
.ets-res--big { background: rgb(255 255 255 / .07); border-color: rgb(240 192 138 / .45); }
.ets-res--big output { text-shadow: none; }
.ets-steps li::before { font-family: var(--font); }
.ets-formula b { color: var(--brand-ink); }

/* Trust */
.ets-trustgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.ets-trustgrid > div { padding: 28px 24px; border-right: 1px solid var(--line-2); }
.ets-trustgrid > div:last-child { border-right: 0; }
.ets-trustgrid b { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; color: var(--ink); }
.ets-trustgrid p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.ets-trustgrid .ets-ic { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 14px; }
@media (max-width: 1000px) { .ets-trustgrid { grid-template-columns: 1fr 1fr; } .ets-trustgrid > div:nth-child(2) { border-right: 0; } .ets-trustgrid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 600px) { .ets-trustgrid { grid-template-columns: 1fr; } .ets-trustgrid > div { border-right: 0; border-bottom: 1px solid var(--line-2); } }
.ets-standards { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; }
.ets-standards span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.ets-standards i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); padding: 6px 10px; border-radius: 6px; }
.ets-author { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 22px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ets-author img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line-hi); }
.ets-author strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.ets-author p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 700px) { .ets-author { grid-template-columns: auto 1fr; } .ets-author .ets-btn { grid-column: 1 / -1; } }

/* Habit + supplier */
.ets-habit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ets-habit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ets-habit b { display: block; font-family: var(--serif); font-size: 1.15rem; margin: 10px 0 6px; }
.ets-habit p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.ets-habit kbd { font-size: 13px; padding: 4px 8px; color: var(--ink); background: var(--surface-2); }
@media (max-width: 860px) { .ets-habit { grid-template-columns: 1fr; } }
.ets-supplier { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: #14213d; color: #dfe6ef; border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.ets-supplier::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgb(240 192 138 / .25); box-shadow: 0 0 0 40px rgb(240 192 138 / .05), 0 0 0 80px rgb(240 192 138 / .03); pointer-events: none; }
.ets-supplier h2 { color: #fff !important; margin: 0 0 12px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.ets-supplier p { color: #c6d0dc; margin: 0; line-height: 1.65; }
.ets-supplier .ets-label { color: #f0c08a !important; }
.ets-supplier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.ets-supplier li { margin: 0; padding-left: 24px; position: relative; color: #e5ebf2; line-height: 1.5; }
.ets-supplier li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: #f0c08a; }
.ets-supplier__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ets-supplier .ets-btn--line { color: #fff !important; border-color: rgb(255 255 255 / .5); }
@media (max-width: 860px) { .ets-supplier { grid-template-columns: 1fr; padding: 30px 22px; } }

/* Panels (troubleshooting / selection) */
.ets-panel { background: #14213d; border: 0; }
.ets-panel--alt { background: #2a3b33; }
.ets-panel .ets-label { color: #f0c08a !important; }
.ets-panel .ets-btn { background: #fff; color: #14213d !important; }

/* Page hero, article, rail */
.ets-phero { background: radial-gradient(900px 380px at 90% -20%, #ebe3d2, transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .ets-phero { background: var(--bg-2); }
.ets-crumbs { font-family: var(--font); }
.ets-prose { color: #2f3a4d; font-size: 18.5px; line-height: 1.8; }
:root[data-theme="dark"] .ets-prose { color: var(--ink-2); }
.ets-prose h2::before { background: var(--cyan); width: 34px; }
.ets-prose blockquote { border-left-color: var(--cyan); background: var(--surface-2); }
.ets-toc a.is-on { border-left-color: var(--cyan); background: var(--cyan-soft); }
.ets-toc__bar i { background: var(--cyan); }
.ets-rail__tool { background: var(--surface); border-left: 3px solid var(--cyan); }
.ets-toolcta { background: var(--surface); border-left: 3px solid var(--cyan); }
body.ets .et-reading-progress { background: var(--cyan) !important; }

/* 3D viewport: deep navy CAD frame */
.ets-3d__stage { background: linear-gradient(180deg, #22324d 0%, #131f33 100%); }
.ets-3d--hero { border-color: var(--line); box-shadow: 0 40px 80px -40px rgb(20 33 61 / .6); }
.ets-3d__tag { color: rgb(220 228 240 / .7); letter-spacing: .1em; }
.ets-3d__poster .ets-ic { color: #f0c08a; filter: none; }
.ets-3d__start { background: #fff !important; color: #14213d !important; }
.ets-mk { border-color: rgb(240 192 138 / .8); color: #fbe3c4; background: rgb(15 26 43 / .82); box-shadow: none; font-family: var(--font); }
.ets-mk:hover, .ets-mk.is-on { background: #f0c08a; color: #14213d; border-color: #f0c08a; box-shadow: none; }
.ets-3d__bar button[aria-pressed="true"] { background: rgb(240 192 138 / .2); color: #fbe3c4; border-color: rgb(240 192 138 / .6); }
.ets-3d__infonum { background: #f0c08a; font-family: var(--font); }
.ets-3d__hint { font-family: var(--font); }
.ets-3d__parts button::before { font-family: var(--font); color: var(--cyan); }
.ets-3dtabs__bar button span { font-family: var(--font); }

/* Footer: deep navy, not black */
.ets-footer, :root[data-theme="light"] .ets-footer { background: #14213d; color: #a9b6c7; }
.ets-footer h3 { color: #f0c08a !important; font-size: 12px; letter-spacing: .12em; }
.ets-footer__cta { background: #182a4b; }
.ets-footer__word { -webkit-text-stroke: 1px rgb(255 255 255 / .06); font-family: var(--serif); }
.ets-footer__stats dt { font-family: var(--serif); }
.ets-footer__stats dd { font-family: var(--font); }
.ets-totop:hover { border-color: #f0c08a; }

/* ---------- 2.1.1: header fit at 1381–1560px, designed covers for posts without images ---------- */
@media (min-width: 1381px) and (max-width: 1560px) { .ets-searchbtn { min-width: 0; width: 190px; } .ets-searchbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
.ets-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background-color: #efe9dc; background-image: linear-gradient(rgb(20 33 61 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(20 33 61 / .055) 1px, transparent 1px), linear-gradient(rgb(20 33 61 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(20 33 61 / .03) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; background-position: -1px -1px; }
.ets-cover::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 54px; height: 54px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); opacity: .55; }
.ets-cover::before { content: ""; position: absolute; left: 14px; top: 14px; width: 54px; height: 54px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); opacity: .55; }
.ets-cover__ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #14213d; border: 1px solid rgb(20 33 61 / .14); box-shadow: 0 8px 22px -12px rgb(20 33 61 / .45); }
.ets-card-post__img .ets-cover__ic .ets-ic { width: 32px; height: 32px; }
.ets-cover__cat { font: 700 11px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #6b5a44; padding: 0 16px; text-align: center; }
.ets-card-post:hover .ets-cover__ic { transform: translateY(-2px); transition: transform .3s; }
[data-theme="dark"] .ets-cover { background-color: #1a2840; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px); }
[data-theme="dark"] .ets-cover__ic { background: #22324d; color: #e8edf5; border-color: rgb(255 255 255 / .12); }
[data-theme="dark"] .ets-cover__cat { color: #c9b79c; }
/* previous / next guide cards (replaces GeneratePress entry-meta styling) */
body.ets footer.entry-meta { margin: 34px 0 0; padding: 0; border: 0; background: none; }
body.ets footer.entry-meta .cat-links, body.ets footer.entry-meta .tags-links, body.ets .post-navigation .gp-icon { display: none; }
body.ets .post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
body.ets .post-navigation .nav-previous, body.ets .post-navigation .nav-next { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, transform .15s; }
body.ets .post-navigation .nav-previous:hover, body.ets .post-navigation .nav-next:hover { border-color: var(--cyan); transform: translateY(-2px); }
body.ets .post-navigation .nav-next { grid-column: 2; text-align: right; }
body.ets .post-navigation .nav-previous::before, body.ets .post-navigation .nav-next::before { display: block; margin-bottom: 8px; font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
body.ets .post-navigation .nav-previous::before { content: "\2190  Previous guide"; }
body.ets .post-navigation .nav-next::before { content: "Next guide  \2192"; }
body.ets .post-navigation a { font: 600 17px/1.35 var(--serif); color: var(--ink) !important; text-decoration: none !important; }
@media (max-width: 640px) { body.ets .post-navigation { grid-template-columns: 1fr; } body.ets .post-navigation .nav-next { grid-column: auto; } }
/* 2.1.2: readable copper label on the navy footer band (WCAG AA) */
.ets-footer__cta .ets-label, .ets-footer .ets-label { color: #f0b67c !important; }
/* 2.1.3: readable logo tagline on the navy footer */
.ets-footer .ets-logo__txt small { color: #b9c3d3 !important; }
/* 2.1.4: reveal the page once this stylesheet has applied (pairs with #ets-critical in <head>) */
html { visibility: visible !important; animation: none !important; }
/* base text rules the child theme also sets, so its late arrival cannot change the layout */
body.ets { line-height: 1.75; }
:where(body.ets) h3 { font-weight: 750; }
:where(body.ets) button { font-weight: 650; }
/* 2.1.6: content at the top of every page is shown at once (no hide-then-fade), so first paint is the final paint */
.ets-js .ets-hero .ets-reveal, .ets-js .ets-phero .ets-reveal, .ets-js .ets-industries .ets-reveal { opacity: 1; transform: none; transition: none; }
/* 2.1.6: labelled parts diagrams */
.ets-diagram { margin: 26px 0 34px; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.ets-diagram__img { display: block; background: #fff; border-bottom: 1px solid var(--line); }
.ets-diagram__img img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.ets-diagram figcaption { padding: 14px 20px 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); text-align: left; }
.ets-diagram__parts { margin: 10px 20px 0; overflow-x: auto; }
body.ets table.ets-parts, table.ets-parts { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0; border: 0; }
table.ets-parts th, table.ets-parts td { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; background: none; }
table.ets-parts th { font: 700 11.5px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
table.ets-parts td:first-child { width: 38px; font-weight: 700; color: var(--cyan); }
table.ets-parts td:nth-child(2) { width: 30%; font-weight: 600; color: var(--ink); }
table.ets-parts tr:last-child td { border-bottom: 0; }
.ets-diagram__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin: 0; padding: 14px 20px 18px; font-size: 14px; color: var(--muted); }
.ets-diagram__foot a { font-weight: 600; }
@media (max-width: 640px) { .ets-diagram figcaption, .ets-diagram__foot { padding-left: 14px; padding-right: 14px; } .ets-diagram__parts { margin-left: 6px; margin-right: 6px; } table.ets-parts td:nth-child(2) { width: 36%; } }
/* 2.1.8: engineering glossary */
.ets-gloss__bar { margin: 22px 0 14px; }
.ets-gloss__bar input[type=search] { width: 100%; max-width: 560px; height: 50px; padding: 0 16px; border: 1px solid var(--line-hi); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 16px var(--font); }
.ets-gloss__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ets-gloss__cats button { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 600 13.5px var(--font); cursor: pointer; }
.ets-gloss__cats button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ets-gloss__az { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 26px; }
.ets-gloss__az a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: 700 14px var(--font); color: var(--ink) !important; text-decoration: none !important; }
.ets-gloss__az a:hover { border-color: var(--cyan); color: var(--cyan) !important; }
.ets-gloss__group { margin: 0 0 8px; scroll-margin-top: 90px; }
.ets-gloss__group > h2 { font: 700 30px/1 var(--serif); color: var(--cyan); margin: 26px 0 8px; padding: 0; border: 0; }
.ets-gloss dl { margin: 0; }
.ets-gloss__item { padding: 16px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 90px; }
.ets-gloss__item[hidden], .ets-gloss__group[hidden] { display: none; }
.ets-gloss dt { font: 700 19px/1.3 var(--serif); color: var(--ink); margin: 0 0 6px; }
.ets-gloss__cat { margin-left: 10px; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font: 700 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.ets-gloss dd { margin: 0; }
.ets-gloss dd p { margin: 0 0 6px; font-size: 16.5px; line-height: 1.65; }
.ets-gloss__see { font-size: 14.5px !important; color: var(--muted); }
.ets-gloss__see a { font-weight: 600; }
.ets-gloss__item.is-hit { background: rgb(163 88 28 / .08); margin: 0 -12px; padding: 16px 12px; border-radius: 10px; }
.ets-gloss__note { margin-top: 30px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14.5px; color: var(--muted); }
/* 2.2.0: RFQ builder */
.ets-rfq__priv { padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 10px; background: var(--surface); font-size: 15px; }
.ets-rfq__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; margin-top: 22px; }
.ets-rfq__pick { padding: 16px 18px; border: 1px solid var(--line-hi); border-radius: 12px; background: var(--surface); margin-bottom: 14px; }
.ets-rfq__pick label { display: block; font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ets-rfq select, .ets-rfq input[type=text], .ets-rfq textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: 500 15px var(--font); }
.ets-rfq__pick select { font-size: 17px; height: 48px; }
.ets-rfq__sec { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.ets-rfq__sec > summary { padding: 14px 18px; font: 700 16px var(--serif); color: var(--ink); cursor: pointer; }
.ets-rfq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 0 18px 18px; }
.ets-rfq__f.is-wide { grid-column: 1 / -1; }
.ets-rfq__f label { display: block; font: 600 13.5px/1.3 var(--font); margin-bottom: 5px; color: var(--ink-2); }
.ets-rfq__f label i { font-style: normal; color: var(--muted); font-weight: 500; }
.ets-rfq__f label b { color: var(--cyan); }
.ets-rfq__f small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ets-rfq__checks { display: grid; gap: 8px; padding: 0 18px 18px; }
.ets-rfq__checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ets-rfq__sticky { position: sticky; top: 80px; z-index: 5; padding: 12px 0; background: var(--bg); }
.ets-rfq__meter { position: relative; padding: 10px 14px 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; line-height: 1.45; }
.ets-rfq__meter span { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan) var(--p), var(--line-2) var(--p)); margin-bottom: 8px; }
.ets-rfq__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.ets-rfq__acts .ets-btn { padding: 10px 14px; font-size: 14px; }
.ets-rfq__clear { background: none; border: 0; color: var(--muted); text-decoration: underline; font: 500 13.5px var(--font); cursor: pointer; }
.ets-rfq__doc { padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #14213d; box-shadow: 0 10px 30px -22px rgb(20 33 61 / .5); }
.ets-rfq__doc h2 { font: 700 26px/1.25 var(--serif); margin: 0 0 4px; border: 0; padding: 0; color: #14213d; }
.ets-rfq__doc h3 { font: 700 16px/1.3 var(--serif); margin: 22px 0 8px; color: #14213d; border: 0; padding: 0; }
.ets-rfq__doc p { margin: 4px 0; font-size: 14.5px; }
.ets-rfq__kicker { font: 700 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #a3581c; }
.ets-rfq__meta { color: #5b6577; }
.ets-rfq__doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.ets-rfq__doc th, .ets-rfq__doc td { padding: 7px 10px; border: 1px solid #d8d2c6; text-align: left; vertical-align: top; background: none; }
.ets-rfq__doc th { width: 40%; font-weight: 600; background: #f6f3ec; }
.ets-rfq__tbc { color: #a3581c; font-style: italic; }
.ets-rfq__doc ul { margin: 6px 0 0 18px; padding: 0; font-size: 14.5px; }
.ets-rfq__foot { margin-top: 20px !important; padding-top: 12px; border-top: 1px solid #d8d2c6; color: #5b6577; font-size: 13px !important; }
.ets-rfq__note { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .ets-rfq__layout { grid-template-columns: 1fr; } .ets-rfq__sticky { position: static; } }
@media (max-width: 560px) { .ets-rfq__grid { grid-template-columns: 1fr; } .ets-rfq__doc { padding: 18px 14px; } .ets-rfq__doc th { width: 46%; } }
@media print {
	body.ets .ets-topbar, body.ets .ets-header, body.ets .ets-footer, body.ets .ets-drawer, body.ets #wpadminbar, body.ets .ets-phero, body.ets .ets-rfq__left, body.ets .ets-rfq__sticky, body.ets .ets-rfq__priv, body.ets .ets-rfq__note, body.ets .ets-lead, body.ets .ets-totop, body.ets .ets-toolkit-bar, body.ets .generate-back-to-top { display: none !important; }
	body.ets, html { background: #fff !important; }
	body.ets .ets-rfq__layout { display: block; margin: 0; }
	.ets-rfq__doc { border: 0; box-shadow: none; padding: 0; }
	.ets-rfq__doc table { page-break-inside: auto; } .ets-rfq__doc tr { page-break-inside: avoid; } .ets-rfq__doc h3 { page-break-after: avoid; }
}
.ets-rfq select, .ets-rfq input[type=text], .ets-rfq textarea { box-sizing: border-box; max-width: 100%; }
.ets-rfq__f { min-width: 0; }
.ets-rfq__left, .ets-rfq__right { min-width: 0; }
/* 2.2.1: glossary links inside articles */
a.ets-gl { text-decoration: underline dotted !important; text-decoration-color: var(--cyan) !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px !important; color: inherit !important; }
a.ets-gl:hover { text-decoration-style: solid !important; color: var(--cyan) !important; }
.ets-keyterms { margin: 34px 0 10px; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 12px; background: var(--surface); }
.ets-keyterms dl { margin: 10px 0 0; display: grid; gap: 12px; }
.ets-keyterms dt { font: 700 16px var(--serif); margin: 0 0 2px; }
.ets-keyterms dt a { color: var(--ink) !important; text-decoration: none !important; }
.ets-keyterms dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ets-keyterms__more { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; }


/* ---------- Interactive B2B lookup apps (v2.5.0: VFD Faults + Spare Parts Hub) ---------- */
.ets-app { margin: 22px 0 36px; }
.ets-app__controls { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.ets-app__search input[type=search] { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-hi); border-radius: 12px; background: var(--surface-2); color: var(--ink); font: 500 15.5px var(--font); }
.ets-app__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ets-app__filters--cat { padding-top: 10px; border-top: 1px solid var(--line-2); }
.ets-chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: 600 13px var(--font); cursor: pointer; transition: all .15s ease; }
.ets-chip:hover { border-color: var(--cyan); color: var(--ink); }
.ets-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ets-app__count { margin: 12px 0 0 !important; font-size: 13.5px; color: var(--muted); }
.ets-app__none { padding: 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-hi); border-radius: var(--r); color: var(--muted); font-weight: 600; }

.ets-vfd__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.ets-vfd__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.ets-vfd__card[hidden] { display: none; }
.ets-vfd__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.ets-vfd__id { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ets-vfd__code { font: 700 14.5px var(--mono); background: var(--surface-3); color: var(--ink); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); }
.ets-vfd__series { font-size: 12px; color: var(--muted); font-weight: 500; }
.ets-vfd__title { margin: 2px 0 4px !important; font: 700 17px/1.3 var(--serif); color: var(--ink); }
.ets-vfd__dl { margin: 0; display: grid; gap: 9px; font-size: 14px; line-height: 1.5; }
.ets-vfd__dl dt { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--cyan); margin-bottom: 3px; }
.ets-vfd__dl dd { margin: 0; color: var(--ink-2); }

.ets-badge { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 700 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.ets-badge--brand { background: var(--brand); color: #fff; }
.ets-badge--overcurrent { background: #fee2e2; color: #991b1b; }
.ets-badge--dc-bus-voltage { background: #fef3c7; color: #92400e; }
.ets-badge--thermal-overload { background: #ffedd5; color: #9a3412; }
.ets-badge--earth-phase-loss { background: #e0e7ff; color: #3730a3; }
.ets-badge--control-sto { background: #dcfce7; color: #166534; }

.ets-sp__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ets-sp__tab { flex: 1 1 190px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-2); font: 700 13.5px/1.3 var(--font); cursor: pointer; text-align: left; box-shadow: var(--shadow); }
.ets-sp__tab:hover { border-color: var(--cyan); color: var(--ink); }
.ets-sp__tab.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.ets-sp__search { margin-bottom: 16px; }
.ets-sp__panel[hidden] { display: none; }
.ets-sp__panel .ets-app__filters { margin: 0 0 14px; }
.ets-sp__sub { margin: 26px 0 12px !important; font: 700 18px/1.3 var(--serif); color: var(--ink); }
.ets-sp__table td { font-size: 13px; }
.ets-sp__legend { margin: 0 0 12px !important; font-size: 13.5px; color: var(--ink-2); }
.ets-rate { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 6px; font: 700 12px var(--mono); }
.ets-rate--A { background: #dcfce7; color: #166534; }
.ets-rate--B { background: #dbeafe; color: #1e40af; }
.ets-rate--C { background: #fef3c7; color: #92400e; }
.ets-rate--X { background: #fee2e2; color: #991b1b; }

.ets-app__links { margin-top: 34px; }
.ets-app__links h2 { margin: 0 0 14px !important; font-size: 1.25rem !important; }
.ets-app__linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.ets-app__faq { margin-top: 34px; }
.ets-app__faq h2 { margin: 0 0 14px !important; font-size: 1.25rem !important; }
.ets-faqitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 10px; }
.ets-faqitem summary { font: 700 15.5px/1.4 var(--font); color: var(--ink); cursor: pointer; }
.ets-faqitem p { margin: 10px 0 0 !important; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Sprint 3B: Top-12 pillar dual-unit spec matrix & inline live calculator ---------- */
.ets-specmatrix { margin: 32px 0; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ets-specmatrix__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.ets-specmatrix__head h2 { margin: 4px 0 0 !important; font-size: 1.32rem !important; line-height: 1.25; color: var(--ink); }
.ets-specmatrix__std { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--cyan-soft); border: 1px solid var(--line-hi); color: var(--cyan); font: 600 11.5px/1.3 var(--mono); letter-spacing: .03em; }
.ets-specmatrix__intro { margin: 10px 0 16px !important; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ets-specmatrix__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.ets-specmatrix__table th,
.ets-specmatrix__table td { text-align: left !important; white-space: normal !important; vertical-align: top; line-height: 1.45; min-width: 130px; padding: 11px 13px; }
.ets-specmatrix__table thead th { font: 700 12px/1.35 var(--font); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); background: var(--surface-2) !important; }
.ets-specmatrix__table tbody th { min-width: 160px; font: 700 13.5px/1.4 var(--font); color: var(--ink); }
.ets-specmatrix__table tbody td { font-family: var(--font); font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ets-specmatrix__table tbody tr:nth-child(even) { background: var(--surface-2); }
.ets-specmatrix__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.ets-specmatrix__foot a { font-weight: 700; color: var(--brand-ink); text-decoration: none; }
.ets-specmatrix__foot a:hover { text-decoration: underline; }

.ets-inline-calc { margin: 36px 0; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-hi); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.ets-inline-calc__head h2 { margin: 4px 0 6px !important; font-size: 1.32rem !important; line-height: 1.25; color: var(--ink); }
.ets-inline-calc__head p { margin: 0 0 16px !important; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ets-inline-calc__widget .ets-calc { margin: 0 0 18px !important; }
.ets-inline-calc__links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

@media (max-width: 700px) {
  .ets-specmatrix,
  .ets-inline-calc { padding: 16px; margin: 24px 0; }
  .ets-specmatrix__table th,
  .ets-specmatrix__table td { min-width: 118px; padding: 9px 10px; font-size: 13px; }
  .ets-inline-calc__links .ets-btn { width: 100%; }
}

/* ---------- Live Embed Widget & ?embed=1 Frameless Mode ---------- */
.ets-embed { margin: 18px 0 26px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ets-embed summary { font: 700 14.5px/1.4 var(--font); color: var(--brand-ink); cursor: pointer; }
.ets-embed summary:hover { color: var(--cyan); }
.ets-embed[open] summary { margin-bottom: 10px; }
.ets-embed__note { margin: 0 0 10px !important; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.ets-embed__code { width: 100%; box-sizing: border-box; display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 12.5px/1.5 var(--mono); resize: vertical; }
.ets-embed__copy { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font: 700 13px/1.3 var(--font); cursor: pointer; }
.ets-embed__copy:hover { background: var(--cyan); }
.ets-embed-credit { margin: 12px 0 16px !important; padding: 10px 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font: 600 12.5px/1.4 var(--font); color: var(--muted); }
.ets-embed-credit a { color: var(--brand-ink); font-weight: 700; }

body.ets-is-embed { background: var(--surface); }
body.ets-is-embed header.ets-hdr,
body.ets-is-embed header.ets-header,
body.ets-is-embed .ets-topbar,
body.ets-is-embed footer.ets-ftr,
body.ets-is-embed footer.ets-footer,
body.ets-is-embed .ets-ticker,
body.ets-is-embed .ets-bread,
body.ets-is-embed .ets-crumbs,
body.ets-is-embed .ets-phero--page,
body.ets-is-embed .ets-toolbar,
body.ets-is-embed .ets-ad,
body.ets-is-embed .ets-learn,
body.ets-is-embed .ets-related,
body.ets-is-embed .ets-app__faq,
body.ets-is-embed .ets-app__links { display: none !important; }
body.ets-is-embed .ets-pagebody { padding-top: 16px !important; padding-bottom: 16px !important; }
body.ets-is-embed .ets-wrap { padding-left: 16px; padding-right: 16px; }
body.ets-is-embed .ets-calc { margin-top: 0 !important; }

/* ---------- Tool Actions Bar (Print / Save PDF & PWA Install) ---------- */
.ets-print-hdr { display: none; }
.ets-toolacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 18px; }
.ets-toolacts__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: 700 13.5px/1.3 var(--font); cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.ets-toolacts__btn:hover { border-color: var(--brand); background: var(--surface); transform: translateY(-1px); }
.ets-toolacts__btn--print { border-color: var(--line); }
.ets-toolacts__btn--install { background: var(--brand); border-color: var(--brand); color: #fff; }
.ets-toolacts__btn--install:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.ets-toolacts__btn[hidden], .ets-toolacts__tip[hidden] { display: none !important; }
.ets-toolacts__tip { font: 600 12.5px/1.4 var(--font); color: var(--muted); padding: 6px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); }

@media (max-width: 600px) {
  .ets-toolacts { gap: 8px; }
  .ets-toolacts__btn { width: 100%; justify-content: center; }
}

/* ---------- Executive Datasheet Print / Save PDF Styling ---------- */
@media print {
  @page { margin: 14mm 12mm; size: auto; }
  html, body { background: #fff !important; color: #0f172a !important; font-size: 10.5pt !important; }
  header.ets-hdr, header.ets-header, .ets-header, .ets-topbar,
  footer.ets-ftr, footer.ets-footer, .ets-footer, .site-footer,
  #wpadminbar, .ets-bread, .ets-crumbs, .ets-toolbar, .ets-rail,
  .ets-ad, ins.adsbygoogle, .ets-embed, .ets-toolacts, .ets-related,
  .ets-app__links, .ets-inline-calc__links, .ets-calc__actions,
  .ets-chips, .ets-app__controls, .ets-sp__tabs, .ets-sp__search,
  .ets-hub__bar, .ets-drawer, .ets-pal, .ets-totop { display: none !important; }

  .ets-print-hdr {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 0 0 8px;
    margin: 0 0 14px;
    border-bottom: 2px solid #0f172a;
    color: #0f172a !important;
    font: 600 9.5pt/1.3 var(--font);
  }
  .ets-print-hdr strong { font-size: 11pt; letter-spacing: .01em; color: #0f172a !important; }
  .ets-print-hdr span { color: #475569 !important; }

  .ets-wrap, .ets-pagebody, .ets-prose, .ets-prose--wide, .site { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .ets-read { display: block !important; }
  .ets-phero, .ets-phero--page { background: none !important; border: 0 !important; padding: 0 0 8px !important; margin: 0 0 10px !important; color: #0f172a !important; }
  .ets-phero h1 { color: #0f172a !important; font-size: 18pt !important; margin: 0 0 4px !important; }
  .ets-lead { color: #334155 !important; font-size: 10pt !important; margin: 0 0 10px !important; }

  .ets-calc, .ets-app, .ets-inline-calc, .ets-card, .ets-vfd__card {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    break-inside: avoid;
  }
  .ets-calc { padding: 14px !important; margin: 0 0 14px !important; }
  .ets-calc__head { border-bottom: 1px solid #e2e8f0 !important; padding-bottom: 8px !important; margin-bottom: 10px !important; }
  .ets-calc__meta, .ets-calc__note { color: #475569 !important; }
  .ets-calc__body { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .ets-field label { color: #0f172a !important; font-weight: 700 !important; }
  .ets-field input, .ets-field select, .ets-inp, .ets-unit {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #94a3b8 !important;
    box-shadow: none !important;
  }
  .ets-calc__outtitle { color: #0f172a !important; border-bottom: 1px solid #cbd5e1 !important; }
  .ets-res { background: #f8fafc !important; border: 1px solid #cbd5e1 !important; color: #0f172a !important; padding: 8px 10px !important; }
  .ets-res dt { color: #334155 !important; }
  .ets-res dd, .ets-res output, .ets-u { color: #0f172a !important; font-weight: 700 !important; }

  .ets-ref__scroll { overflow: visible !important; max-height: none !important; border: 0 !important; }
  .ets-dtable { width: 100% !important; border-collapse: collapse !important; font-size: 9pt !important; }
  .ets-dtable th, .ets-dtable td { border: 1px solid #cbd5e1 !important; background: #fff !important; color: #0f172a !important; padding: 5px 7px !important; }
  .ets-dtable thead th { background: #f1f5f9 !important; font-weight: 700 !important; }
}


/* ---------- Zero-Spam B2B Industrial Supplier Directory & Jaadu CTA ---------- */
.ets-dir { display: grid; gap: 22px; }
.ets-dir__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.ets-dir__filters { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 520px; }
.ets-dir__search, .ets-dir__sel { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: .95rem; font-family: inherit; }
.ets-dir__search { flex: 1 1 240px; min-width: 200px; }
.ets-dir__sel { flex: 0 1 210px; min-width: 170px; }
.ets-dir__count { margin: 0; color: var(--muted); font-size: .92rem; }
.ets-dir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ets-sup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.ets-sup-card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.ets-sup-card[hidden] { display: none !important; }
.ets-sup-card__head { display: flex; gap: 14px; align-items: center; }
.ets-sup-card__logo, .ets-sup-profile__logo { width: 56px; height: 56px; border-radius: 12px; background: var(--brand-soft); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: 0 0 56px; font-weight: 800; color: var(--brand-ink); font-size: 1.1rem; }
.ets-sup-profile__logo { width: 72px; height: 72px; flex-basis: 72px; font-size: 1.35rem; }
.ets-sup-card__logo img, .ets-sup-profile__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ets-sup-card__title h2 { margin: 0 0 5px; font-size: 1.18rem; line-height: 1.25; }
.ets-sup-card__title h2 a { color: var(--ink); text-decoration: none; }
.ets-sup-card__title h2 a:hover { color: var(--brand-ink); text-decoration: underline; }
.ets-sup-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgb(46 125 91 / .12); color: var(--ok); border: 1px solid rgb(46 125 91 / .28); }
.ets-sup-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.ets-sup-card__tag { margin: 0; font-weight: 600; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.ets-sup-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .84rem; color: var(--muted); }
.ets-sup-card__meta span::before { content: "• "; color: var(--amber); }
.ets-sup-card__meta span:first-child::before { content: ""; }
.ets-sup-card__desc { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.ets-sup-card__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ets-sup-card__pills span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.ets-sup-card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.ets-dir__empty { text-align: center; padding: 32px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }

/* Jaadu CTA Banner */
.ets-jaadu-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #14213d 0%, #1f3a68 100%); color: #e2e8f0; border-radius: var(--r-lg); padding: 28px 32px; margin-top: 10px; border: 1px solid rgb(240 192 138 / .25); }
.ets-jaadu-cta__copy { flex: 1 1 460px; }
.ets-jaadu-cta__kicker { display: inline-block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #f0c08a; margin-bottom: 6px; }
.ets-jaadu-cta h3 { margin: 0 0 8px; color: #fff !important; font-size: 1.35rem; }
.ets-jaadu-cta p { margin: 0; color: #cbd5e1; line-height: 1.55; max-width: 68ch; }
.ets-jaadu-cta__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ets-jaadu-cta .ets-btn--line { color: #f8fafc; border-color: rgb(255 255 255 / .32); background: transparent; }
.ets-jaadu-cta .ets-btn--line:hover { background: rgb(255 255 255 / .1); }

/* Directory 2-Step Form */
.ets-dir-form-wrap { max-width: 880px; display: grid; gap: 20px; }
.ets-dir-steps { display: flex; gap: 12px; flex-wrap: wrap; }
.ets-dir-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.ets-dir-step span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--ink); font-size: .8rem; font-weight: 700; }
.ets-dir-step.is-active { border-color: var(--amber); color: var(--ink); background: var(--cyan-soft); }
.ets-dir-step.is-active span { background: var(--amber); color: #fff; }
.ets-dir-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin: 0; box-shadow: var(--shadow); }
.ets-dir-panel h2 { margin: 0 0 8px; font-size: 1.25rem; }
.ets-dir-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ets-dir-linkbtn { background: none; border: 0; color: var(--brand-ink); text-decoration: underline; cursor: pointer; font-size: .9rem; padding: 0; }
.ets-dir-note { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.ets-dir-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ets-dir-field { display: flex; flex-direction: column; gap: 6px; }
.ets-dir-field--full { grid-column: 1 / -1; }
.ets-dir-field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.ets-dir-field input, .ets-dir-field select, .ets-dir-field textarea { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: .95rem; font-family: inherit; width: 100%; box-sizing: border-box; }
.ets-dir-field input:focus, .ets-dir-field select:focus, .ets-dir-field textarea:focus { outline: 2px solid var(--brand-ink); outline-offset: 1px; }
.ets-dir-char { font-size: .82rem; color: var(--muted); text-align: right; }
.ets-dir-jaadu-opt { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 14px; border-radius: var(--r-sm); background: var(--cyan-soft); border: 1px solid var(--line-hi); cursor: pointer; font-size: .92rem; line-height: 1.45; }
.ets-dir-jaadu-opt input { margin-top: 3px; flex: 0 0 auto; }
.ets-dir-msg { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .93rem; font-weight: 600; }
.ets-dir-msg--err { background: rgb(180 35 24 / .1); color: var(--err); border: 1px solid rgb(180 35 24 / .3); }
.ets-dir-msg--ok { background: rgb(46 125 91 / .12); color: var(--ok); border: 1px solid rgb(46 125 91 / .3); }
.ets-dir-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ets-dir-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.ets-dir-done h2 { margin: 12px 0 10px; }
.ets-hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.ets-no-ads .ets-ad, body.ets-no-ads ins.adsbygoogle { display: none !important; }

/* Single Supplier Profile */
.ets-sup-profile { display: grid; gap: 22px; }
.ets-sup-profile__top { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.ets-sup-profile__head { flex: 1 1 340px; display: grid; gap: 8px; }
.ets-sup-profile__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ets-sup-profile__tag { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.ets-sup-profile__loc { margin: 0; font-size: .92rem; color: var(--muted); }
.ets-sup-profile__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ets-sup-profile__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ets-sup-profile__specs > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; display: grid; gap: 4px; }
.ets-sup-profile__specs span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.ets-sup-profile__specs strong { font-size: .96rem; color: var(--ink); }
.ets-sup-profile__sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.ets-sup-profile__sec h2 { margin: 0 0 12px; font-size: 1.2rem; }
.ets-sup-profile__overview p:last-child { margin-bottom: 0; }
.ets-sup-profile__rfq { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.ets-sup-profile__rfq h3 { margin: 0 0 4px; font-size: 1.12rem; }
.ets-sup-profile__rfq p { margin: 0; color: var(--muted); }
.ets-sup-profile__rfq-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ets-sup-attrib { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
@media (max-width: 720px) {
	.ets-dir-grid2 { grid-template-columns: 1fr; }
	.ets-jaadu-cta { padding: 22px 20px; }
}

/* ==========================================================================
   2.8 — Header/Footer List Free, Reading Bar, Promo Toast, Micro-Interactions,
         Premium Supplier Profile + Lightbox & Executive Author E-E-A-T Card
   ========================================================================== */
.ets-cta--list { background: var(--grad-amber); color: #fff !important; box-shadow: 0 8px 20px -10px rgb(194 122 44 / .75); padding: 0 13px; font-size: 13.5px; transition: transform .18s ease, box-shadow .18s ease; }
.ets-cta--list:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgb(194 122 44 / .9); }
@media (max-width: 1200px) { .ets-cta--list { display: inline-flex; height: 36px; padding: 0 11px; font-size: 12.5px; } }
@media (max-width: 640px) { .ets-cta--list { display: none; } }

.ets-footer__listfree { color: var(--amber) !important; font-weight: 700; }

/* GPU-only Reading Progress Bar */
.ets-readbar { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 100001; pointer-events: none; background: transparent; }
.ets-readbar__fill { width: 100%; height: 100%; background: linear-gradient(90deg, var(--brand), var(--amber)); transform: scaleX(0); transform-origin: left center; will-change: transform; }

/* GPU-only Pulsing Green Dot */
.ets-pulse-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 8px; }
.ets-pulse-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; transform: scale(1); animation: ets-dot-ring 2.1s cubic-bezier(.2, .6, .4, 1) infinite; }
@keyframes ets-dot-ring { 0% { transform: scale(.7); opacity: .75; } 75%, 100% { transform: scale(2); opacity: 0; } }

/* Tasteful B2B Micro-Interactions (GPU-only transform/opacity + crisp border glow) */
.ets-tool, .ets-sup-card, .ets-card-post, .ets-bento .ets-panel, .ets-bento .ets-calc { transition: transform .22s cubic-bezier(.22, .61, .36, 1), border-color .22s ease, box-shadow .22s ease; }
.ets-tool:hover, .ets-sup-card:hover, .ets-card-post:hover, .ets-bento .ets-panel:hover, .ets-bento .ets-calc:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 14px 30px -18px rgb(20 33 61 / .32), 0 0 0 1px rgb(194 122 44 / .18); }
.ets-btn { display: inline-flex; align-items: center; gap: 7px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
.ets-btn svg { flex: 0 0 auto; }
.ets-btn:hover { transform: translateY(-1px); }

/* Dismissible Bottom-Left Promo Toast */
.ets-promo-toast { position: fixed; left: 20px; bottom: 20px; z-index: 9990; width: min(340px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line-hi); border-radius: var(--r); padding: 18px 18px 16px; box-shadow: var(--shadow-lg); opacity: 0; transform: translate3d(-16px, 20px, 0); transition: opacity .26s ease, transform .26s cubic-bezier(.22, .61, .36, 1); }
.ets-promo-toast.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.ets-promo-toast__close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ets-promo-toast__close:hover { color: var(--ink); border-color: var(--line-hi); }
.ets-promo-toast__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ok); margin-bottom: 8px; }
.ets-promo-toast__title { margin: 0 0 5px; font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--ink); padding-right: 26px; }
.ets-promo-toast__desc { margin: 0 0 13px; font-size: 13.5px; line-height: 1.48; color: var(--ink-2); }
.ets-promo-toast__btn { width: 100%; justify-content: center; font-size: 13.5px; padding: 10px 14px; }

/* Ultra-Premium Single Supplier Profile */
.ets-sup-hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.ets-sup-hero__top { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ets-sup-hero__logo { width: 92px; height: 92px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: 0 0 92px; font-weight: 800; font-size: 1.65rem; color: var(--brand-ink); padding: 6px; box-sizing: border-box; }
.ets-sup-hero__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; background: #fff; }
.ets-sup-hero__head { flex: 1 1 360px; display: grid; gap: 8px; }
.ets-sup-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ets-sup-hero__head h1 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2.25rem); line-height: 1.15; color: var(--ink); }
.ets-sup-hero__tag { margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.ets-sup-hero__loc { margin: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: var(--muted); }
.ets-sup-hero__loc svg { color: var(--amber); flex: 0 0 auto; }

.ets-sup-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.ets-btn--wa { background: #15803d !important; color: #fff !important; border-color: #15803d !important; box-shadow: 0 8px 20px -10px rgb(21 128 61 / .8); }
.ets-btn--wa:hover { background: #166534 !important; }
.ets-btn--call { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.ets-btn--rfq { background: var(--surface-2) !important; color: var(--ink) !important; border: 1px solid var(--line-hi) !important; }
.ets-btn--rfq:hover { border-color: var(--amber) !important; }
.ets-sup-copybtn.is-copied { border-color: var(--ok) !important; color: var(--ok) !important; }

.ets-sup-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 12px; }
.ets-sup-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; display: grid; gap: 4px; }
.ets-sup-stats span { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.ets-sup-stats strong { font-size: .96rem; color: var(--ink); line-height: 1.35; }

.ets-sup-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.ets-sup-sec__head h2 { margin: 0; }
.ets-sup-sec__head span { font-size: .85rem; color: var(--muted); }

.ets-sup-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ets-sup-gallery__item { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); padding: 0; cursor: pointer; display: block; width: 100%; }
.ets-sup-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.ets-sup-gallery__item:hover img { transform: scale(1.04); }
.ets-sup-gallery__zoom { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgb(15 26 43 / .78); color: #fff; font-size: 11.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.ets-sup-gallery__item:hover .ets-sup-gallery__zoom, .ets-sup-gallery__item:focus-visible .ets-sup-gallery__zoom { opacity: 1; transform: translateY(0); }

.ets-sup-lightbox { position: fixed; inset: 0; z-index: 100002; background: rgb(8 14 26 / .88); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .2s ease; }
.ets-sup-lightbox.is-open { opacity: 1; }
.ets-sup-lightbox[hidden] { display: none !important; }
.ets-sup-lightbox__fig { margin: 0; max-width: min(980px, 90vw); max-height: 85vh; display: grid; gap: 10px; justify-items: center; }
.ets-sup-lightbox__fig img { max-width: 100%; max-height: 76vh; border-radius: 12px; box-shadow: 0 24px 60px rgb(0 0 0 / .6); background: #0f1a2b; object-fit: contain; }
.ets-sup-lightbox__fig figcaption { color: #e2e8f0; font-size: .92rem; text-align: center; }
.ets-sup-lightbox__close { position: fixed; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(15 26 43 / .85); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ets-sup-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(15 26 43 / .85); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ets-sup-lightbox__nav--prev { left: 18px; }
.ets-sup-lightbox__nav--next { right: 18px; }

.ets-sup-caps { display: flex; flex-wrap: wrap; gap: 9px; }
.ets-sup-caps__pill { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.ets-sup-attrib__cta { font-weight: 700; color: var(--amber) !important; text-decoration: none; }
.ets-sup-attrib__cta:hover { text-decoration: underline; }

/* Executive Author E-E-A-T Card */
.ets-authorbox { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; margin: 36px 0 24px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); align-items: start; }
.ets-authorbox__avatar { width: 84px; height: 84px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-hi); background: var(--brand-soft); display: grid; place-items: center; }
.ets-authorbox__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ets-authorbox__init { font-weight: 800; font-size: 1.5rem; color: var(--brand-ink); }
.ets-authorbox__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.ets-authorbox__badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgb(46 125 91 / .12); color: var(--ok); border: 1px solid rgb(46 125 91 / .28); }
.ets-authorbox__body h2 { margin: 0 0 4px !important; font-size: 1.4rem !important; line-height: 1.25; color: var(--ink); }
.ets-authorbox__role { margin: 0 0 10px; font-size: .92rem; font-weight: 700; color: var(--brand-ink); }
.ets-authorbox__bio { margin: 0 0 14px; font-size: .96rem; line-height: 1.62; color: var(--ink-2); max-width: 68ch; }
.ets-authorbox__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ets-btn--sm { padding: 8px 14px !important; font-size: .86rem !important; border-radius: 10px !important; }
.ets-btn--linkedin { background: #0a66c2 !important; color: #fff !important; border-color: #0a66c2 !important; }
.ets-authorbox__meta-link { font-size: .88rem; color: var(--muted) !important; text-decoration: underline; }

@media (max-width: 680px) {
	.ets-sup-hero { padding: 20px; }
	.ets-sup-hero__logo { width: 72px; height: 72px; flex-basis: 72px; }
	.ets-authorbox { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
	.ets-authorbox__avatar { width: 68px; height: 68px; }
	.ets-promo-toast { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.ets-pulse-dot::after { animation: none !important; opacity: 0 !important; }
	.ets-promo-toast, .ets-sup-gallery__item img, .ets-sup-gallery__zoom, .ets-sup-lightbox, .ets-tool, .ets-sup-card, .ets-card-post, .ets-bento .ets-panel, .ets-bento .ets-calc, .ets-btn, .ets-cta--list { transition: none !important; transform: none !important; }
}


/* ==========================================================================
   2.9 — Sitewide Light & Dark Mode Contrast & Readability Fixes (WCAG AA)
   ========================================================================== */

/* 1. Header Saved Guides (.et-saved-toggle) — neutralize child-theme white box */
.ets-header .ets-iconbtn.et-saved-toggle,
button.ets-iconbtn.et-saved-toggle {
	background: transparent !important;
	color: var(--ink-2) !important;
	border: 1px solid transparent !important;
	box-shadow: none !important;
}
.ets-header .ets-iconbtn.et-saved-toggle:hover,
button.ets-iconbtn.et-saved-toggle:hover {
	background: var(--surface-2) !important;
	border-color: var(--line) !important;
	color: var(--ink) !important;
}

/* 2. Header List Free CTA & Copper / Line / Pill / Badge Contrast */
.ets-cta--list {
	background: linear-gradient(180deg, #9a4f12, #82400c) !important;
	color: #ffffff !important;
}
.ets-cta--list:hover {
	background: linear-gradient(180deg, #86430d, #6e3508) !important;
	color: #ffffff !important;
}

.ets-btn--copper {
	background: #9a4f12 !important;
	color: #ffffff !important;
}
.ets-btn--copper:hover {
	background: #7f3f0c !important;
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-btn--copper {
	background: #e0a266 !important;
	color: #0f172a !important;
}
:root[data-theme="dark"] .ets-btn--copper:hover {
	background: #ebb883 !important;
	color: #0f172a !important;
}

:root[data-theme="dark"] .ets-btn--line:hover {
	background: var(--ink) !important;
	color: #0f172a !important;
}

:root[data-theme="dark"] .ets-embed__copy:hover,
:root[data-theme="dark"] .ets-toolacts__btn--install:hover {
	color: #0f172a !important;
}

:root[data-theme="light"] .ets-badge:not([class*="ets-badge--"]) {
	background: #9a4f12;
	color: #ffffff;
}
:root[data-theme="dark"] .ets-badge:not([class*="ets-badge--"]) {
	background: #e9a85a;
	color: #14110b !important;
}

/* Active filter chips & glossary category pills */
.ets-app .ets-chip:not(.is-on) {
	color: var(--ink-2) !important;
}
.ets-app .ets-chip:not(.is-on):hover {
	color: var(--ink) !important;
}
.ets-app .ets-chip.is-on,
.ets-gloss__cats button.is-on {
	background: var(--ink) !important;
	border-color: var(--ink) !important;
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-app .ets-chip.is-on,
:root[data-theme="dark"] .ets-gloss__cats button.is-on {
	background: var(--ink) !important;
	border-color: var(--ink) !important;
	color: #0f172a !important;
}

.ets-pill[aria-pressed="true"] {
	color: var(--cyan);
}
.ets-tool--fav strong {
	color: var(--cyan);
}
.ets-sup-attrib__cta {
	color: var(--cyan) !important;
}
.ets-footer .ets-footer__listfree {
	color: #f0b67c !important;
}
.ets-dir-step.is-active span {
	background: var(--amber);
	color: #14110b !important;
}

/* 3. Homepage 3D Card Floating Telemetry Chips in Dark Mode */
:root[data-theme="dark"] .ets-telemetry div {
	background: rgb(15 26 43 / .92) !important;
	border-color: var(--line-hi);
}
:root[data-theme="dark"] .ets-telemetry b {
	color: #f8fafc;
}
:root[data-theme="dark"] .ets-telemetry span {
	color: #cbd5e1;
}

/* 4. Technical Articles: <pre>, <code>, .wp-block-code, & .engitech-cad-figure */
.ets-prose pre,
.ets-prose .wp-block-code {
	background: #0f172a !important;
	color: #f8fafc !important;
	border: 1px solid #334155 !important;
	border-radius: 12px;
	padding: 16px 20px;
	overflow-x: auto;
	font-family: var(--mono);
	font-size: 0.9em;
	line-height: 1.6;
}
.ets-prose pre *,
.ets-prose .wp-block-code * {
	background: transparent !important;
	color: #f8fafc !important;
	border: 0 !important;
}
.ets-prose pre code,
.ets-prose .wp-block-code code {
	padding: 0;
}
.ets-prose :not(pre) > code {
	color: var(--ink);
}

/* Fix wpautop-broken SVG containers inside .engitech-cad-figure (Light + Dark) */
.ets-prose .engitech-cad-figure > div {
	background: #0f172a !important;
	color: #f8fafc !important;
}
.ets-prose .engitech-cad-figure > div p,
.ets-prose .engitech-cad-figure > div text,
.ets-prose .engitech-cad-figure > div tspan,
.ets-prose .engitech-cad-figure > div span,
.ets-prose .engitech-cad-figure > div div,
:root[data-theme="dark"] .ets-prose .engitech-cad-figure > div * {
	color: #f8fafc !important;
}
.ets-prose .engitech-cad-figure > div > p text {
	display: inline-block;
	margin: 2px 8px 2px 0;
	font-size: 13px;
	line-height: 1.5;
	color: #e2e8f0 !important;
}
.ets-prose .engitech-cad-figure figcaption {
	color: var(--muted) !important;
}

/* Light-mode safety for inline-styled article boxes */
.ets-prose .engitech-answer-capsule,
.ets-prose .engitech-callout,
.ets-prose .engitech-warning-callout {
	color: #0f172a;
}
.ets-prose .engitech-formula-card,
.ets-prose .engitech-formula-card * {
	color: #f8fafc;
}
.ets-prose .engitech-formula-card .engitech-formula-title {
	color: #7dd3fc !important;
}
.ets-prose .engitech-data-table td {
	color: #0f172a;
}

/* Dark-mode overrides for legacy article CSS classes (.engitech-*, .author-card, .faq-*) */
:root[data-theme="dark"] .ets-prose .engitech-answer-capsule {
	background: #102a24 !important;
	border-left-color: #22c55e !important;
	color: #e2f5ec !important;
}
:root[data-theme="dark"] .ets-prose .engitech-answer-capsule strong {
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-prose .engitech-callout {
	background: #132540 !important;
	border-left-color: #60a5fa !important;
	color: #e2e8f0 !important;
}
:root[data-theme="dark"] .ets-prose .engitech-callout strong {
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-prose .engitech-warning-callout {
	background: #2f151b !important;
	border-left-color: #f87171 !important;
	color: #fee2e2 !important;
}
:root[data-theme="dark"] .ets-prose .engitech-warning-callout strong {
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-prose .engitech-formula-card {
	background: #0b1626 !important;
	border: 1px solid var(--line) !important;
	color: #f8fafc !important;
}
:root[data-theme="dark"] .ets-prose .engitech-data-table th {
	background: var(--surface-2) !important;
	color: var(--ink) !important;
	border-color: var(--line) !important;
}
:root[data-theme="dark"] .ets-prose .engitech-data-table td {
	background: transparent !important;
	color: var(--ink-2) !important;
	border-color: var(--line) !important;
}
:root[data-theme="dark"] .ets-prose .engitech-data-table tr:nth-child(even) td,
:root[data-theme="dark"] .ets-prose .engitech-data-table tr:nth-child(even) {
	background: var(--surface-2) !important;
}
:root[data-theme="dark"] .ets-prose .engitech-data-table tr:nth-child(odd) {
	background: var(--surface) !important;
}
:root[data-theme="dark"] .ets-prose .ets-tools-note {
	background: var(--surface) !important;
	border-color: var(--line) !important;
	border-left-color: var(--amber) !important;
	color: var(--ink-2) !important;
}
:root[data-theme="dark"] .ets-prose .author-card {
	background: var(--surface) !important;
	border-color: var(--line) !important;
	color: var(--ink-2) !important;
}
:root[data-theme="dark"] .ets-prose .author-info h4 {
	color: var(--ink) !important;
}
:root[data-theme="dark"] .ets-prose .author-info p {
	color: var(--ink-2) !important;
}
:root[data-theme="dark"] .ets-prose .faq-item {
	background: var(--surface) !important;
	border-color: var(--line) !important;
}
:root[data-theme="dark"] .ets-prose .faq-question {
	color: var(--ink) !important;
}
:root[data-theme="dark"] .ets-prose .faq-answer {
	color: var(--ink-2) !important;
}

/* 5. Related Guides Box (.jwpo-related from jaadu-wp-optimizations) in Dark Mode */
:root[data-theme="dark"] .jwpo-related {
	background: var(--surface) !important;
	border-color: var(--line) !important;
	color: var(--ink-2) !important;
}
:root[data-theme="dark"] .jwpo-related__title,
:root[data-theme="dark"] .jwpo-related h2,
:root[data-theme="dark"] .jwpo-related h3 {
	color: var(--ink) !important;
}
:root[data-theme="dark"] .jwpo-related a {
	color: var(--brand-ink) !important;
}
:root[data-theme="dark"] .jwpo-related a:hover {
	color: var(--cyan) !important;
}

/* 6. Related Guides List Items & Dark Mode Input Placeholders */
:root[data-theme="dark"] .jwpo-related__list,
:root[data-theme="dark"] .jwpo-related ul {
	background: transparent !important;
}
:root[data-theme="dark"] .jwpo-related__list li,
:root[data-theme="dark"] .jwpo-related li {
	background: var(--surface-2) !important;
	border-color: var(--line) !important;
	color: var(--ink) !important;
}
:root[data-theme="dark"] .jwpo-related__list a,
:root[data-theme="dark"] .jwpo-related li a {
	background: transparent !important;
	color: #93c5fd !important;
}
:root[data-theme="dark"] .jwpo-related__list a:hover,
:root[data-theme="dark"] .jwpo-related li a:hover {
	color: #fbbf24 !important;
}
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
}

@media (max-width: 1380px) {
  .ets-header__in { gap: 12px; padding: 0 20px; }
  .ets-menu__btn, .ets-menu__link { padding: 9px 8px; font-size: 13.5px; }
  .ets-cta, .ets-cta--list { padding: 0 12px; font-size: 13px; }
}


/* ==========================================================================
   2.10 — Precision Multi-Device Responsive Optimization
          (Mobile 390px / Tablet 768px / 14" Laptop 1280-1440px / 16" 1728px+)
   ========================================================================== */

/* 1. Universal Overflow Prevention (clip preserves position: sticky on rails) */
html {
	max-width: 100%;
	overflow-x: clip;
}
body.ets,
body.ets .site,
body.ets #page,
.ets-pagebody {
	max-width: 100%;
	overflow-x: clip;
	box-sizing: border-box;
}
.ets-read > *,
.ets-prose,
.ets-prose > *,
.ets-card,
.ets-dir-panel,
.ets-sup-hero,
.ets-sup-profile__sec,
.ets-specmatrix,
.ets-inline-calc {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
/* Ensure right rail stretches to full article height so position: sticky works */
.ets-read > .ets-rail {
	align-self: stretch !important;
}
.ets-prose,
.ets-sup-profile__overview,
.ets-sup-card__desc {
	overflow-wrap: break-word;
}
.ets-prose img,
.ets-prose video,
.ets-prose iframe,
.ets-prose svg,
.ets-prose pre,
.ets-prose .wp-block-code,
.ets-prose .engitech-cad-figure,
.ets-prose .engitech-cad-figure > div,
.ets-prose .engitech-formula-card,
.ets-prose .engitech-answer-capsule,
.ets-prose .engitech-callout,
.ets-prose .engitech-warning-callout,
ins.adsbygoogle {
	max-width: 100% !important;
	box-sizing: border-box;
}
.ets-prose svg {
	height: auto;
}
.ets-prose .engitech-cad-figure {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.ets-prose table,
.ets-app table,
.ets-specmatrix table,
.ets-prose .engitech-data-table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}
.ets-ref__scroll {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.ets-ref__scroll .ets-dtable {
	display: table !important;
	width: 100%;
}

/* 2. Homepage 3D Blower Telemetry Strip: clean 4-column dock below 3D stage */
.ets-hero__3d .ets-telemetry {
	position: static;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
	z-index: 2;
	pointer-events: auto;
}
.ets-hero__3d .ets-telemetry div {
	grid-template-columns: 1fr;
	gap: 2px;
	padding: 8px 10px;
	min-width: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.ets-hero__3d .ets-telemetry b {
	display: inline;
	font-size: 14px;
	margin-right: 3px;
}

/* 3. Directory Submission Mode Switcher (.ets-dir-modebar) */
.ets-dir-modebar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ets-dir-modebtn {
	flex: 1 1 220px;
	min-height: 44px;
	padding: 11px 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-2);
	font: 700 14px/1.25 var(--font);
	cursor: pointer;
	text-align: center;
	transition: background .15s, border-color .15s, color .15s;
}
.ets-dir-modebtn:hover {
	border-color: var(--line-hi);
	color: var(--ink);
}
.ets-dir-modebtn.is-active {
	background: var(--brand);
	border-color: var(--brand);
	color: #ffffff;
}

/* 4. Header Navigation Precision Across 1180px-1479px (Zero Wrapping / Collision) */
.ets-nav {
	overflow: hidden;
}
@media (min-width: 1180px) and (max-width: 1479px) {
	.ets-header__in {
		max-width: min(1440px, 100%);
		gap: 12px;
		padding: 0 20px;
	}
	.ets-logo__txt strong { font-size: 19px; }
	.ets-logo__txt small { font-size: 9px; letter-spacing: .14em; }
	.ets-menu { gap: 0; }
	.ets-menu__btn,
	.ets-menu__link {
		padding: 8px 8px;
		font-size: 13px;
		gap: 4px;
	}
	.ets-header__tools { gap: 5px; }
	.ets-searchbtn {
		min-width: 0 !important;
		width: 38px !important;
		height: 38px;
		padding: 0 !important;
		justify-content: center;
	}
	.ets-searchbtn span,
	.ets-searchbtn kbd { display: none !important; }
	.ets-iconbtn { width: 38px; height: 38px; }
	.ets-cta,
	.ets-cta--list {
		height: 38px;
		padding: 0 11px;
		font-size: 12.5px;
	}
}

/* 5. 14-inch Laptop Content Proportions (1180px - 1440px) */
@media (min-width: 1180px) and (max-width: 1440px) {
	.ets-wrap { padding: 0 24px; }
	.ets-read {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 36px;
	}
}

/* 6. 16-inch Laptop & Wide Desktop (>= 1480px) */
@media (min-width: 1480px) {
	:root { --wrap: 1360px; }
	.ets-header__in {
		max-width: min(1480px, 100%);
		gap: 14px;
		padding: 0 28px;
	}
	.ets-menu { gap: 2px; }
	.ets-menu__btn,
	.ets-menu__link {
		padding: 8px 9px;
		font-size: 13.5px;
		gap: 4px;
	}
	.ets-searchbtn {
		min-width: 0;
		width: 165px;
	}
	.ets-searchbtn span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.ets-cta,
	.ets-cta--list {
		height: 40px;
		padding: 0 13px;
		font-size: 13px;
	}
	.ets-read {
		grid-template-columns: minmax(0, 800px) 320px;
		justify-content: space-between;
		gap: 48px;
	}
	.ets-read .ets-prose { max-width: 800px; }
	.ets-dtable th,
	.ets-dtable td {
		padding: 9px 10px;
		font-size: 13px;
	}
}
@media (min-width: 1680px) {
	.ets-searchbtn { width: 195px; }
}

/* 7. Tablet & Small Laptop Drawer Switch (<= 1179px) */
@media (max-width: 1179px) {
	.ets-nav { display: none !important; }
	.ets-burger { display: grid !important; }
	.ets-header__in { height: 64px; padding: 0 18px; gap: 12px; }
	.ets-header__tools { margin-left: auto; }
	.ets-searchbtn {
		min-width: 0;
		width: 42px;
		height: 42px;
		padding: 0;
		justify-content: center;
	}
	.ets-searchbtn span,
	.ets-searchbtn kbd { display: none; }
	.ets-cta { display: none; }
	.ets-cta--list { display: inline-flex; height: 40px; padding: 0 13px; font-size: 13px; }
}
@media (max-width: 1080px) {
	.ets-read {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 30px;
	}
	.ets-read > .ets-rail { align-self: auto !important; }
	.ets-rail__sticky { position: static; }
	.ets-rail .ets-toc { display: none; }
}

/* 8. Mobile Optimization (<= 767px, verified at 390x844 & 360x800) */
@media (max-width: 767px) {
	.ets-wrap { padding: 0 16px; }
	.ets-header__in { height: 60px; padding: 0 14px; }
	.ets-iconbtn,
	.ets-searchbtn,
	.ets-burger {
		width: 42px;
		height: 42px;
	}
	.ets-cta--list { display: none; }
	.ets-btn,
	.ets-pill,
	.ets-toolacts__btn,
	.ets-app .ets-chip,
	.ets-dir-step,
	.ets-dir-modebtn {
		min-height: 44px;
	}
	/* Prevent iOS Safari zoom on < 16px inputs */
	.ets-dir-field input,
	.ets-dir-field select,
	.ets-dir-field textarea,
	.ets-dir__search,
	.ets-dir__sel,
	.ets-quote-form input,
	.ets-quote-form select,
	.ets-quote-form textarea,
	.ets-field input,
	.ets-field select,
	.ets-inp,
	.ets-app__search input[type=search],
	.ets-hero__search input,
	.ets-conv__row input,
	.ets-conv__row select {
		font-size: 16px !important;
		min-height: 44px;
	}
	.ets-dir__filters {
		flex: 1 1 100%;
	}
	.ets-dir__search,
	.ets-dir__sel {
		flex: 1 1 100%;
		min-width: 0;
		width: 100%;
	}
	.ets-dir-modebar {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.ets-dir-modebtn {
		flex: none;
		width: 100%;
	}
	.ets-dir__grid,
	.ets-vfd__grid,
	.ets-tool-grid,
	.ets-tool-grid--sm {
		grid-template-columns: 1fr;
	}
	.ets-dir-panel { padding: 18px 16px; }
	.ets-dir-grid2 { grid-template-columns: 1fr; gap: 14px; }
	.ets-dir-actions .ets-btn { width: 100%; justify-content: center; }
	.ets-hero__3d .ets-telemetry {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	/* Supplier Mini-Website Mobile Polish */
	.ets-sup-hero { padding: 18px 16px; gap: 16px; }
	.ets-sup-hero__head { flex: 1 1 100%; min-width: 0; }
	.ets-sup-hero__loc {
		display: block !important;
		margin: 0 !important;
		line-height: 1.5 !important;
	}
	.ets-sup-hero__loc svg {
		display: inline-block;
		vertical-align: -2px;
		margin-right: 5px;
	}
	.ets-sup-actions {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.ets-sup-actions > * {
		grid-column: auto !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
	.ets-sup-actions .ets-btn {
		padding: 10px 12px;
		font-size: 13.5px;
		text-align: center;
		justify-content: center;
		box-sizing: border-box;
	}
	.ets-sup-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.ets-sup-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.ets-sup-profile__sec { padding: 18px 16px; }
	.ets-sup-card__foot .ets-btn { flex: 1 1 auto; justify-content: center; }

	/* Mobile Promo Toast: clear bottom AdSense Anchor ad bar */
	.ets-promo-toast {
		left: 12px;
		right: 12px;
		bottom: 86px;
		width: auto;
		max-width: none;
	}
}
@media (max-width: 460px) {
	.ets-sup-actions {
		grid-template-columns: 1fr !important;
	}
}


/* ==========================================================================
   QC Fix Pass 1 — Visibility, Drawer, Alignment, Archive Cards & Centering
   ========================================================================== */

/* Fix 2.2: Hide [hidden] directory picker/fields/panes & tighten top spacing */
#ets-edit-picker[hidden],
#ets-edit-picker-wrap[hidden],
.ets-dir-field[hidden],
.ets-dir-step-pane[hidden] {
	display: none !important;
}
.ets-dir-form-wrap {
	max-width: 880px;
	width: 100%;
	margin-inline: auto;
	display: grid;
	gap: 16px;
}
.ets-dir-form-wrap p:empty,
.ets-dir-steps p:empty,
.ets-dir-form p:empty {
	display: none !important;
}
body.page-id-12699 .ets-pagebody,
.ets-pagebody:has(.ets-dir-form-wrap) {
	padding-top: 22px;
}

/* Fix 2.4: Supplier Profile alignment & pulsing verified pill padding */
.ets-sup-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 13px 5px 12px;
	line-height: 1.2;
}
.ets-sup-hero__loc {
	margin: 0;
	display: inline-flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px 6px;
	line-height: 1.45;
}
.ets-sup-hero__loc svg {
	flex: 0 0 auto;
	flex-shrink: 0;
}

/* Fix 3.1: 100% opaque mobile menu drawer */
.ets-drawer {
	background: #faf8f4 !important;
	opacity: 1 !important;
	z-index: 10000 !important;
}
:root[data-theme="dark"] .ets-drawer {
	background: #0b1626 !important;
}

/* Fix 3.2: Eliminate faint / stuck scroll-reveal cards permanently */
.ets-js .ets-reveal,
.ets-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* Fix 3.3: Mobile WP Admin Bar clearance (<= 782px) */
@media (max-width: 782px) {
	body.admin-bar .ets-header {
		top: 46px !important;
	}
	body.admin-bar .ets-drawer {
		top: 106px !important;
	}
}

/* Fix 3.4 & 2.4 Mobile: Swipeable subject pills & supplier pin alignment */
@media (max-width: 767px) {
	.ets-chips {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		gap: 8px;
		padding-bottom: 6px;
		scrollbar-width: none;
	}
	.ets-chips::-webkit-scrollbar {
		display: none;
	}
	.ets-chips a {
		flex: 0 0 auto !important;
		white-space: nowrap !important;
	}
	.ets-sup-hero__loc {
		display: inline-flex !important;
		align-items: center !important;
		flex-wrap: wrap !important;
		gap: 4px 6px !important;
		margin: 0 !important;
		line-height: 1.45 !important;
	}
	.ets-sup-hero__loc svg {
		flex-shrink: 0 !important;
		margin-right: 0 !important;
		vertical-align: middle;
	}
}

/* Fix 4.2: Archive / Search featured card right column & full-row ad slot */
.ets-cards__lead .ets-card-post__body {
	padding: 24px 26px;
	justify-content: center;
}
.ets-card-post__exc {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ink-2);
	margin: 4px 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ets-cards__lead .ets-card-post__meta {
	margin-top: 4px;
}
.ets-card-post__cta {
	align-self: flex-start;
	margin-top: 10px;
	padding: 9px 16px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none !important;
}
.ets-cards--list > .ets-ad {
	grid-column: 1 / -1;
}

/* Polish: Prevent .ets-phero__in 1fr track expansion on mobile .ets-chips & fix directory/supplier white-space inheritance */
.ets-phero__in {
	grid-template-columns: minmax(0, 1fr);
}
.ets-phero__copy {
	min-width: 0;
	max-width: 100%;
}
@media (max-width: 767px) {
	.ets-chips {
		max-width: 100% !important;
		min-width: 0 !important;
	}
}
.ets-dir-form-wrap,
.ets-dir-form-wrap *:not(textarea):not(pre):not(code),
.ets-sup-profile,
.ets-sup-profile *:not(textarea):not(pre):not(code) {
	white-space: normal !important;
}
.ets-sup-profile p:empty {
	display: none !important;
	margin: 0 !important;
}
.ets-sup-actions {
	align-items: center;
}
.ets-sup-actions .ets-btn {
	white-space: nowrap !important;
}

/* Fix 5: Center <main> and .ets-wrap/.ets-prose on all pages */
main#main {
	width: 100%;
	margin-inline: auto !important;
	float: none !important;
}
body:not(.ets-is-embed) .ets-wrap {
	max-width: var(--wrap) !important;
	width: 100%;
	margin-inline: auto !important;
	float: none !important;
}
body.ets-t-page:not(.ets-is-embed) .ets-pagebody > .ets-prose {
	max-width: 920px !important;
	width: 100%;
	margin-inline: auto !important;
	float: none !important;
}
body.ets-t-page:not(.ets-is-embed) .ets-page--tool .ets-pagebody > .ets-prose,
body.ets-t-page:not(.ets-is-embed) .ets-pagebody > .ets-prose--wide {
	max-width: 1280px !important;
	width: 100%;
	margin-inline: auto !important;
	float: none !important;
}

/* ==========================================================================
   2.11 — QC Fix Pass 2: Readability, Layout & Control Polish
   ========================================================================== */

/* Fix 3: Hide legacy child-theme reading-tools bar & duplicate bookmark button */
.et-reading-tools,
.ets-toolbar [data-ets-bookmark] {
	display: none !important;
}

/* Fix 4.3: Uniform balanced CSS Grid for calculator result cards */
.ets-calc__results {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
	gap: 12px !important;
	margin: 0;
}

/* Fix 5.1: Prevent dead fade cutoff on Author & Archive descriptions */
body.author .ets-phero__desc,
.ets-archive .ets-phero__desc {
	max-height: none !important;
	overflow: visible !important;
	mask-image: none !important;
	-webkit-mask-image: none !important;
}

/* Fix 5.3: Clear closed dropdown focus highlight & enforce sticky Lab contrast */
.ets-has-mega:not(.is-open) .ets-menu__btn:focus:not(:focus-visible) {
	background: transparent !important;
	color: var(--ink-2) !important;
	outline: none;
}
.ets-header .ets-menu__btn,
.ets-header.is-scrolled .ets-menu__btn {
	color: var(--ink-2) !important;
}
.ets-header .ets-menu__btn:hover,
.ets-header.is-scrolled .ets-menu__btn:hover,
.ets-header .ets-has-mega.is-open .ets-menu__btn {
	color: var(--ink) !important;
	background: var(--surface-2);
}
:root[data-theme="dark"] .ets-header .ets-menu__btn,
:root[data-theme="dark"] .ets-header.is-scrolled .ets-menu__btn {
	color: var(--ink) !important;
}
.ets-header .ets-badge,
.ets-header.is-scrolled .ets-badge {
	background: #9a4f12 !important;
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-header .ets-badge,
:root[data-theme="dark"] .ets-header.is-scrolled .ets-badge {
	background: #e9a85a !important;
	color: #14110b !important;
}

/* Fix 5.4: Selection Desk "Clear my entries" as subtle neutral outline/ghost button */
.et-desk-actions button[data-et-reset] {
	background: transparent !important;
	color: var(--ink-2) !important;
	border: 1px solid var(--line-hi) !important;
	box-shadow: none !important;
	font-weight: 600 !important;
}
.et-desk-actions button[data-et-reset]:hover {
	background: var(--surface-2) !important;
	color: var(--ink) !important;
	border-color: var(--ink-2) !important;
}

/* Fix 5.5: Glossary A-Z bar fits all 26 letters on 1 single row on desktop */
@media (min-width: 1024px) {
	.ets-gloss__az {
		flex-wrap: nowrap !important;
		gap: 4px !important;
	}
	.ets-gloss__az a {
		flex: 1 1 0;
		min-width: 0 !important;
		height: 34px;
		padding: 0 4px;
		font-size: 13px;
	}
}

/* Fix 5.6: 3D Explorer canvas fills stage cleanly with matching dark backdrop */
.ets-3d__stage {
	background: #131f33;
}
.ets-3d__stage canvas {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.ets-calc__results .ets-res--big {
	grid-column: auto !important;
}
.ets-calc__results .ets-res--big output {
	font-size: 22px !important;
}


/* ==========================================================================
   2.12 — Executive Author Portrait, Author Archive Hero & LinkedIn CTA
   ========================================================================== */
.ets-author-hero {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 14px 0 14px;
}
.ets-author-hero__avatar {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
}
.ets-author-hero__avatar img,
.ets-authorbox__avatar img {
	width: 84px !important;
	height: 84px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	object-position: center top !important;
	border: 2px solid var(--line) !important;
	display: block;
}
.ets-authorbox__avatar {
	width: 84px !important;
	height: 84px !important;
	border-radius: 50% !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}
.ets-meta__author img,
.ets-author img {
	object-fit: cover;
	object-position: center top;
}
.ets-author-hero__meta .ets-label {
	margin: 0 0 4px;
}
.ets-author-hero__meta h1 {
	margin: 0 0 8px !important;
}
.ets-author-hero__role {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
	color: var(--ink-2);
}
.ets-author-hero__acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 16px 0 18px;
}
.ets-btn--linkedin {
	background: #0a66c2 !important;
	color: #ffffff !important;
	border: 1px solid #0a66c2 !important;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
}
.ets-btn--linkedin:hover {
	background: #004182 !important;
	border-color: #004182 !important;
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-btn--linkedin {
	background: #0a66c2 !important;
	color: #ffffff !important;
	border-color: #388bfd !important;
}
:root[data-theme="dark"] .ets-btn--linkedin:hover {
	background: #1d7ae2 !important;
	border-color: #58a6ff !important;
	color: #ffffff !important;
}
:root[data-theme="dark"] .ets-author-hero__acts .ets-btn--line {
	color: var(--ink) !important;
	border-color: var(--line-hi) !important;
	background: var(--surface) !important;
}
@media (max-width: 600px) {
	.ets-author-hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}
