/* Ethos Amazon Tools: shell UI. Scoped to tools routes (standalone document). 0.2.1.2-softpreview: Ethos tokens (Stylez 2026-10-29), gold out. 0.2.1.3-softpreview: Fee + all-tools density. */
:root{--bg:#0a0812;--panel:#28283b;--line:rgba(226,205,254,.22);--text:#ffffff;--muted:rgba(226,205,254,.66);--accent:#e2cdfe;--accent-ink:#1c1c29;--pop:#eaffa8;--rim:#5a4ea2;--glow:#5e2399;--warn:#1f0c33;--radius:10px}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
.et-topbar{display:flex;align-items:center;gap:24px;padding:14px 28px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.et-brand{color:var(--text);font-weight:700;letter-spacing:.02em}
.et-nav{display:flex;gap:16px;flex-wrap:wrap;flex:1}
.et-nav-link{color:var(--muted);font-size:14px}.et-nav-link.is-active{color:var(--text)}
.et-badge{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:2px 10px}
.et-main{max-width:960px;margin:0 auto;padding:40px 24px 64px}
.et-hero h1{font-size:36px;margin:0 0 8px}
.et-disclaimer,.et-muted{color:var(--muted);font-size:14px}
.et-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:32px 0}
.et-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px;color:var(--text)}
.et-card:hover{border-color:var(--accent);text-decoration:none}
.et-card h2{margin:0 0 6px;font-size:20px}.et-card p{margin:0 0 14px;color:var(--muted)}
.et-tag{font-size:12px;color:var(--accent)}
.et-links{display:flex;gap:20px}
.et-panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.et-narrow{max-width:460px;margin:0 auto}
.et-panel h1{margin:0 0 12px;font-size:26px}
.et-stub-notice{background:var(--warn);border-left:3px solid var(--pop);padding:10px 14px;border-radius:6px;font-size:14px;margin:0 0 20px}
.et-gate{display:flex;gap:14px;flex-wrap:wrap;align-items:center;border:1px dashed var(--line);border-radius:var(--radius);padding:12px 16px;margin:0 0 20px;font-size:14px}
.et-form{display:flex;flex-direction:column;gap:16px}
.et-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.et-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}
.et-form input,.et-form select,.et-form textarea{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:10px 12px;font:inherit}
.et-form input:focus,.et-form select:focus,.et-form textarea:focus{outline:2px solid var(--accent);outline-offset:1px}
.et-actions{grid-column:1/-1}
.et-btn{background:var(--accent);color:var(--accent-ink);border:0;border-radius:6px;padding:11px 20px;font-weight:600;font:inherit;cursor:pointer}
.et-btn:disabled{opacity:.45;cursor:not-allowed}
.et-output{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.et-kv{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:0 0 20px}.et-kv dt{color:var(--muted)}.et-kv dd{margin:0}
.et-footer{border-top:1px solid var(--line);padding:20px 28px;color:var(--muted);font-size:13px;text-align:center}
/* 0.2.0-engines */
.et-flag{background:var(--warn);border-left:3px solid var(--rim);padding:10px 14px;border-radius:6px;font-size:14px;margin:0 0 20px}
.et-error{background:#2a1214;border-left:3px solid #d9534f;padding:10px 14px;border-radius:6px;font-size:14px;margin:0 0 16px}
.et-gate.is-unlocked{border-color:#3d7a4f}.et-gate.is-preview,.et-gate.is-open{border-color:var(--accent)}.et-gate.is-locked{border-color:#d9534f}
.et-gate-state{text-transform:uppercase;font-size:12px;letter-spacing:.06em}
.et-gate-what{flex-basis:100%}
.et-locked{opacity:.45;filter:grayscale(1);pointer-events:none}
.et-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;min-width:0}
.et-h2{font-size:16px;margin:12px 0 0;color:var(--text)}.et-h3{font-size:15px;margin:18px 0 6px}
.et-checks{display:flex;gap:18px;flex-wrap:wrap}
.et-form label.et-check{flex-direction:row;align-items:center;gap:8px;color:var(--text)}
.et-details summary{cursor:pointer;color:var(--accent);margin-bottom:12px}
.et-btn-ghost{background:transparent;color:var(--accent);border:1px solid var(--accent);margin-right:10px}
.et-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0 0 16px}
.et-summary div{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px}
.et-summary span{display:block;font-size:12px;color:var(--muted)}.et-summary strong{font-size:18px}
.et-neg{color:#ff7b72}
.et-table{width:100%;border-collapse:collapse;font-size:14px;margin:0 0 12px}
.et-table th,.et-table td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:left;white-space:nowrap}
.et-table tr.et-placeholder td{color:var(--pop)}.et-table tr.et-total td{font-weight:700}
.et-scroll{overflow-x:auto}
.et-list{margin:6px 0;padding-left:20px;font-size:14px}
.et-checklist{list-style:none;padding:0;font-size:14px}.et-checklist .is-pass strong{color:#6fcf8f}.et-checklist .is-fail strong{color:#ff7b72}.et-checklist .is-na strong{color:var(--muted)}
.et-gotchas,.et-sources{margin-top:24px;font-size:14px}.et-gotchas ul,.et-sources ul{padding-left:20px}
code{font-size:12px;color:var(--accent)}

/* ---------- Tool C: Seller metrics dashboard (Damir unslop steal: black, type-led, no cards, glow or shadows) ---------- */
.et-route-dashboard,.et-route-dashboard body{background:#000}
.et-route-dashboard .et-main{max-width:1080px}
.et-dash{color:#f5f5f5}
.et-dash-h1{font-size:28px;font-weight:600;margin:28px 0 6px;letter-spacing:-.01em}
.et-dash-lede{color:#7a7a7a;font-size:14px;margin:0 0 36px;max-width:640px}
.et-dash-metrics{display:flex;flex-wrap:wrap;gap:28px 56px;margin:0 0 44px}
.et-dash-metric{display:flex;flex-direction:column;gap:4px;min-width:130px}
.et-dash-label{color:#7a7a7a;font-size:13px}
.et-dash-metric strong{font-size:30px;font-weight:600;color:#fff;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.et-dash-sub{color:#5c5c5c;font-size:12px}
.et-dash-trend{font-size:12px;color:#7a7a7a;padding-left:6px;border-left:1px solid #3a3a3a}
.et-dash-trend.is-good{color:#3ee0a1;border-color:#3ee0a1}
.et-dash-trend.is-bad{color:#ff6b6b;border-color:#ff6b6b}
.et-dash-vs{color:#4a4a4a}
.et-dash-chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 8px}
.et-dash-chart-head h2{font-size:15px;font-weight:500;color:#cfcfcf;margin:0}
.et-dash-tools{display:flex;gap:4px}
.et-dash-icon{display:inline-flex;align-items:center;gap:4px;background:none;border:0;color:#6b6b6b;font:12px/1 inherit;padding:6px;cursor:pointer;border-radius:6px}
.et-dash-icon span{font-size:11px}
.et-dash-icon:hover:not(:disabled),.et-dash-icon:focus-visible{color:#f5f5f5;outline:none}
.et-dash-icon:disabled{opacity:.3;cursor:default}
.et-dash-chart svg{display:block;width:100%;height:auto}
.et-dash-empty{color:#5c5c5c;font-size:14px;padding:120px 0;text-align:center;margin:0}
.et-dash-input{margin:52px 0 0}
.et-dash-input fieldset{border:0;padding:0;margin:0}
.et-dash-h2{font-size:15px;font-weight:500;color:#cfcfcf;margin:0 0 4px}
.et-dash-hint{color:#6b6b6b;font-size:13px;margin:0 0 12px}
.et-dash-input textarea{width:100%;background:#0a0a0a;color:#e8e8e8;border:1px solid #1c1c1c;border-radius:8px;padding:12px 14px;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}
.et-dash-input textarea:focus{outline:none;border-color:#3a3a3a}
.et-dash-actions{display:flex;gap:24px;align-items:center;margin:12px 0 0;font-size:13px}
.et-dash-file{color:#9a9a9a}
.et-dash-link{background:none;border:0;color:#9a9a9a;font:inherit;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}
.et-dash-link:hover{color:#f5f5f5}
.et-dash-notes ul{list-style:none;padding:0;margin:14px 0 0;color:#7a7a7a;font-size:13px}
.et-dash-notes li{margin:2px 0}
.et-dash-err{color:#ff6b6b}
.et-dash.et-locked .et-dash-input{opacity:.5}

/* ---------- 0.2.1.2 Stylez token overrides (merged from stylez-tools-css-patch.css; :root merged above) ---------- */
/* Button ink on lilac (was #111 on gold) */
.et-btn{background:var(--accent);color:var(--accent-ink)}
.et-btn:hover{filter:brightness(1.05)}
.et-btn-ghost{background:transparent;color:var(--accent);border:1px solid var(--accent)}

/* Stub / flag: drop gold wash */
.et-stub-notice{background:var(--warn);border-left:3px solid var(--pop)}
.et-flag{background:var(--warn);border-left:3px solid var(--rim)}

/* Placeholder gold out */
.et-table tr.et-placeholder td{color:var(--pop)}

/* Focus already uses --accent; inherits lilac once :root swaps */

/* ---------- 0.2.1.2 Stylez upload CTA + form controls (stylez-upload-cta-patch.css) ---------- */
/* Ethos Amazon Tools - upload CTA + form controls (Stylez 2026-10-29)
   Companion to ETHOS-TOOLS-UPLOAD-AND-VR-FORM.md. Gold already OUT.
   Hide native Choose File chrome. Lilac CTA on ink. */

.et-upload{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:8px 0 14px}
.et-upload__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.et-upload__btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:#e2cdfe;color:#1c1c29;
  border:1px solid #5a4ea2;border-radius:8px;
  padding:11px 20px;font:600 14px/1.2 Syne,Montserrat,system-ui,sans-serif;
  cursor:pointer;letter-spacing:.01em;
}
.et-upload__btn:hover{filter:brightness(1.05)}
.et-upload__btn:focus-visible{outline:2px solid #e2cdfe;outline-offset:3px}
.et-upload__name{font-size:13px;color:rgba(226,205,254,.66);max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.et-upload__name.is-filled{color:#fff}
.et-hint{margin:0 0 18px;font-size:13px;color:rgba(226,205,254,.66)}

.et-seg{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.et-seg__opt{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:8px;cursor:pointer;
  border:1px solid rgba(226,205,254,.22);
  background:#28283b;color:#fff;font-size:14px;
}
.et-seg__opt:has(input:checked),
.et-seg__opt.is-on{
  border-color:#e2cdfe;background:#1c1c29;
  box-shadow:inset 0 0 0 1px #e2cdfe;
}
.et-seg__opt input{accent-color:#e2cdfe}
.et-form select{
  background:#0a0812;color:#fff;
  border:1px solid rgba(226,205,254,.22);border-radius:8px;
  padding:10px 12px;font:inherit;
}
.et-form select:focus{outline:2px solid #e2cdfe;outline-offset:1px;border-color:#5a4ea2}
.et-form input[type="radio"],
.et-form input[type="checkbox"]{accent-color:#e2cdfe}
.et-check{color:#fff}
.et-check input{accent-color:#e2cdfe}

/* Kill any leftover native file styling if a bare input slips through */
.et-form input[type="file"]:not(.et-upload__input){
  color:transparent;width:0.1px;height:0.1px;opacity:0;position:absolute;
}

/* ---------- 0.2.1.2 fail code + support strip, footer support line, dashboard upload ---------- */
.et-error-code{margin:10px 0 4px;font-size:14px}.et-error-code code{font-size:13px;color:var(--text)}
.et-support{margin:4px 0 0;font-size:14px;color:var(--text)}
.et-footer p{margin:6px auto;max-width:760px}
.et-route-dashboard .et-upload{margin:0}
.et-route-dashboard .et-upload__btn{padding:8px 14px;font-size:13px}
.et-route-dashboard .et-upload__name{color:#6b6b6b}
.et-route-dashboard .et-upload__name.is-filled{color:#f5f5f5}
/* Upload CTA + segmented radios inside .et-form: beat the generic .et-form label column + muted color */
.et-form label.et-upload__btn{display:inline-flex;flex-direction:row;color:var(--accent-ink);font-size:14px;gap:0}
.et-form label.et-seg__opt{flex-direction:row;align-items:center;gap:8px;color:var(--text)}
.et-grid{gap:12px 16px}

/* ---------- 0.2.1.3 Stylez Fee + COGS density (stylez-fee-cogs-density.css, Sparky QC PASS) ---------- */
/* Fee + COGS sleek density - Stylez 2026-10-29
   Companion to ETHOS-TOOLS-FEE-COGS-DENSITY.md. Fold into tools.css with upload pack. */

.et-route-fee .et-panel,
.et-fee .et-panel{padding:28px 28px 32px;max-width:720px}
.et-fee-primary{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:0 0 22px}
@media (max-width:720px){.et-fee-primary{grid-template-columns:1fr}}
.et-fee-primary label{gap:8px;font-size:13px;color:rgba(226,205,254,.66)}
.et-fee-primary input,
.et-fee-primary select{
  background:#0a0812;color:#fff;
  border:1px solid rgba(226,205,254,.22);border-radius:8px;
  padding:12px 14px;font-size:16px;
}
.et-fee-primary input:focus,
.et-fee-primary select:focus{outline:2px solid #e2cdfe;border-color:#5a4ea2}
.et-fee-market{font-size:13px;color:rgba(226,205,254,.66);margin:0 0 18px}
.et-fee-market strong{color:#fff;font-weight:600}
.et-fee-actions{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 28px}
.et-fee-actions .et-btn{min-width:180px;padding:14px 22px;font-size:15px}

.et-acc{border:1px solid rgba(226,205,254,.22);border-radius:10px;background:#28283b;margin:0 0 24px}
.et-acc__sum{
  list-style:none;cursor:pointer;padding:14px 18px;
  color:#e2cdfe;font:600 14px/1.3 Syne,Montserrat,system-ui,sans-serif;
}
.et-acc__sum::-webkit-details-marker{display:none}
.et-acc__sum::after{content:"+";float:right;color:#eaffa8;font-weight:700}
.et-acc[open] .et-acc__sum::after{content:"-"}
.et-acc__body{padding:4px 18px 20px;border-top:1px solid rgba(226,205,254,.14)}
.et-acc__h{margin:16px 0 10px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:rgba(226,205,254,.66)}
.et-acc__body .et-grid{gap:14px}
.et-acc__body label{font-size:13px;color:rgba(226,205,254,.66)}
.et-acc__body input,
.et-acc__body select{background:#0a0812;border-color:rgba(226,205,254,.22);border-radius:8px}

.et-fee-hero{background:#1c1c29;border:1px solid rgba(226,205,254,.22);border-radius:12px;padding:22px 24px;margin:0 0 18px}
.et-fee-hero__label{font-size:13px;color:rgba(226,205,254,.66);margin:0 0 6px}
.et-fee-hero__value{font-size:34px;font-weight:650;color:#fff;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.et-fee-hero__value.is-good{color:#eaffa8}
.et-fee-hero__value.is-bad{color:#ff7b72}

/* ---------- 0.2.1.3 Stylez global .et-primary (stylez-all-tools-density.css, Sparky QC PASS) ---------- */
/* Global primary grid alias for all Ethos tools - Stylez 2026-10-29 / 0.2.1.3 */
.et-primary{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:0 0 22px}
@media (max-width:720px){.et-primary{grid-template-columns:1fr}}
.et-primary label{gap:8px;font-size:13px;color:rgba(226,205,254,.66)}
.et-primary input,
.et-primary select{
  background:#0a0812;color:#fff;
  border:1px solid rgba(226,205,254,.22);border-radius:8px;
  padding:12px 14px;font-size:16px;
}
.et-primary input:focus,
.et-primary select:focus{outline:2px solid #e2cdfe;border-color:#5a4ea2}
.et-tools .et-panel,
.et-route-fee .et-panel,
.et-route-vr .et-panel{max-width:720px}

/* ---------- 0.2.1.3 glue: real route classes, hero sub, quiet blocks, dashboard Damir-clean accordion ---------- */
.et-route-fee-cogs .et-panel,
.et-route-variation-repair .et-panel{max-width:720px;margin:0 auto;padding:28px 28px 32px}
.et-form .et-primary label,.et-form .et-fee-primary label{color:rgba(226,205,254,.66)}
.et-primary textarea{background:#0a0812;color:#fff;border:1px solid rgba(226,205,254,.22);border-radius:8px;padding:12px 14px}
.et-form [hidden]{display:none !important}
.et-fee-market{display:inline-flex;align-self:flex-start;gap:6px;align-items:center;border:1px solid rgba(226,205,254,.22);border-radius:99px;padding:4px 12px;font-size:12px}
.et-fee-market .et-muted{font-size:12px}
.et-fee-hero__sub{margin:8px 0 0;font-size:14px;color:rgba(226,205,254,.66);font-variant-numeric:tabular-nums}
.et-fee-quiet{opacity:.85}
.et-fee-quiet .et-table{font-size:13px}
.et-quiet .et-acc__sum{color:rgba(226,205,254,.66);font-weight:500}
.et-quiet{background:transparent}
.et-acc__body > label{margin:12px 0 0}
.et-acc__body .et-checks{margin:4px 0 8px}
.et-actions .et-btn-ghost{margin-right:0}
.et-actions{display:flex;flex-wrap:wrap;gap:12px}
.et-route-dashboard .et-dash-actions{flex-wrap:wrap;gap:16px}
.et-route-dashboard .et-dash-actions .et-btn{padding:8px 18px;font-size:13px;border-radius:8px}
.et-route-dashboard .et-acc{background:transparent;border:1px solid #1c1c1c;margin:18px 0 0}
.et-route-dashboard .et-acc__sum{color:#9a9a9a;font:500 13px/1.3 inherit}
.et-route-dashboard .et-acc__sum::after{color:#6b6b6b}
.et-route-dashboard .et-acc__body{border-top-color:#1c1c1c}
.et-route-dashboard .et-acc__h{color:#6b6b6b}

/* ===== 0.2.1.4-softpreview: Stylez site-match fold (Sparky QC PASS) ===== */
/* ==========================================================================
   Stylez 0.2.1.4 site-match | 2026-10-29
   Companion to STYLEZ-SITE-MATCH-BRIEF-2026-10-29.md + STYLEZ-SITE-MATCH-0214-HOOKS.md
   Source: live ethos-commerce.com theme (styles.css ver 1.8.2-c2ux70) .c2-btn--lilac,
   .c2-btn--ghost, .glass, .ec-services__card (28px), ETHOS-SITE-BUTTON-CARD-REF.css.
   Fold into tools.css AFTER the 0.2.1.3 blocks (last block wins).
   Keeps: .et-primary / .et-acc structure, .et-upload hidden native chrome,
   Fee L/W/H field order (no layout moves), Damir dashboard type-led.
   NO gold. Palette: lilac #e2cdfe, lime #eaffa8, purple #5e2399,
   ink #1c1c29 / #28283b, void #0a0812, rim #5a4ea2.
   Needs Syne + Montserrat loaded in <head> (see hooks note).
   ========================================================================== */

:root{
  --radius:20px;
  --radius-card:28px;
  --radius-field:12px;
  --radius-pill:999px;
  --glass-bg:linear-gradient(185deg,rgba(226,205,254,.10),rgba(28,22,48,.38));
  --glass-line:rgba(226,205,254,.38);
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -1px 0 rgba(94,35,153,.28),0 10px 28px rgba(0,0,0,.18),0 0 40px rgba(94,35,153,.16);
  --glass-blur:blur(28px) saturate(180%);
  --font-display:Syne,Montserrat,system-ui,sans-serif;
  --font-body:Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* ---------- Page canvas: void + soft purple glow so glass reads (not on Damir) ---------- */
body.et-body:not(.et-route-dashboard){
  font-family:var(--font-body);
  background:
    radial-gradient(900px 520px at 12% -8%,rgba(94,35,153,.38),transparent 60%),
    radial-gradient(760px 480px at 100% 18%,rgba(90,78,162,.24),transparent 62%),
    #0a0812;
  background-attachment:fixed;
}
.et-body h1,.et-body h2,.et-body h3,.et-brand,.et-hero h1,.et-panel h1{font-family:var(--font-display);letter-spacing:-.01em}

/* ---------- Topbar: quiet glass strip, pill nav like site header ---------- */
.et-topbar{
  position:sticky;top:0;z-index:20;
  background:rgba(10,8,18,.62);
  border-bottom:1px solid rgba(226,205,254,.16);
  backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
}
.et-brand{font-weight:700;font-size:17px}
.et-nav{gap:6px}
.et-nav-link{padding:8px 14px;border-radius:var(--radius-pill);font-size:14px;transition:background-color .18s ease,color .18s ease}
.et-nav-link:hover{background:rgba(226,205,254,.08);color:#fff;text-decoration:none}
.et-nav-link.is-active{background:rgba(226,205,254,.14);color:#fff;box-shadow:inset 0 0 0 1px rgba(226,205,254,.30)}
.et-badge{border-radius:var(--radius-pill);border-color:rgba(226,205,254,.30);background:rgba(226,205,254,.06)}

/* Floating rounded header like live site nav (not on Damir) */
body.et-body:not(.et-route-dashboard) .et-topbar{
  top:12px;margin:12px auto 0;max-width:1200px;width:calc(100% - 24px);
  border:1px solid rgba(226,205,254,.18);border-radius:24px;padding:12px 20px;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

/* ---------- Buttons = .c2-btn--lilac / .c2-btn--ghost ---------- */
.et-btn,
.et-btn-ghost,
.et-upload__btn,
.et-form label.et-upload__btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:12px 24px;
  border-radius:var(--radius-pill);
  font:700 16px/1.2 var(--font-display);
  letter-spacing:0;text-decoration:none;cursor:pointer;
  transition:transform .15s ease,box-shadow .2s ease,background-color .18s ease,border-color .18s ease,color .18s ease;
}
.et-btn{
  background:#e2cdfe;color:#1c1c29;border:0;
  box-shadow:0 10px 30px rgba(226,205,254,.22);
  filter:none;
}
.et-btn:hover{
  transform:translateY(-2px);filter:none;text-decoration:none;
  box-shadow:0 0 0 6px rgba(226,205,254,.10),0 14px 36px rgba(226,205,254,.32);
}
.et-btn:active{transform:scale(.98)}
.et-btn:focus-visible,
.et-btn-ghost:focus-visible,
.et-upload__btn:focus-visible{outline:2px solid #e2cdfe;outline-offset:3px}
.et-btn:disabled,.et-btn[aria-disabled="true"]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}

/* Ghost: works as .et-btn-ghost alone or .et-btn.et-btn-ghost */
.et-btn-ghost,
.et-btn.et-btn-ghost{
  background:rgba(255,255,255,.04);color:#fff;
  border:1px solid rgba(226,205,254,.35);
  box-shadow:none;margin-right:0;
}
.et-btn-ghost:hover,
.et-btn.et-btn-ghost:hover{
  background:rgba(226,205,254,.10);border-color:#e2cdfe;color:#fff;
  transform:translateY(-2px);box-shadow:0 10px 26px rgba(94,35,153,.28);text-decoration:none;
}

/* Optional single attention pulse (site keyframe, restrained: plays once, not infinite) */
@keyframes et-lilac-pulse{0%,100%{box-shadow:0 0 0 0 rgba(226,205,254,.45),0 10px 30px rgba(226,205,254,.22)}50%{box-shadow:0 0 0 10px rgba(226,205,254,0),0 10px 40px rgba(226,205,254,.35)}}
.et-btn.is-pulse{animation:et-lilac-pulse 3.2s ease-in-out 2}
@media (prefers-reduced-motion:reduce){.et-btn,.et-btn-ghost,.et-upload__btn{transition:none}.et-btn.is-pulse{animation:none}.et-btn:hover,.et-btn-ghost:hover,.et-upload__btn:hover{transform:none}}

/* Upload CTA joins the pill family (native file chrome stays hidden via .et-upload__input) */
.et-upload__btn,
.et-form label.et-upload__btn{
  background:#e2cdfe;color:#1c1c29;border:0;
  box-shadow:0 10px 30px rgba(226,205,254,.22);
  flex-direction:row;font-size:15px;
}
.et-upload__btn:hover{transform:translateY(-2px);filter:none;box-shadow:0 0 0 6px rgba(226,205,254,.10),0 14px 36px rgba(226,205,254,.32)}
.et-upload__name{font-size:13px}

/* Action rows */
.et-actions,.et-fee-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.et-fee-actions .et-btn{min-width:200px;padding:14px 26px;font-size:16px}

/* ---------- Glass mixin applied to site-card surfaces ---------- */
.et-panel,
.et-card,
.et-fee-hero,
.et-help{
  position:relative;isolation:isolate;
  background:var(--glass-bg);
  border:1px solid var(--glass-line);
  box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
}
.et-panel::before,
.et-card::before,
.et-help::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
  background:linear-gradient(155deg,rgba(255,255,255,.14),rgba(226,205,254,.06) 18%,transparent 46%);
}
.et-panel > *,
.et-card > *,
.et-help > *{position:relative;z-index:1}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .et-panel,.et-card,.et-fee-hero,.et-help{background:linear-gradient(185deg,#2c2540,#1c1c29)}
}

/* Panels = service card shape */
.et-panel{border-radius:var(--radius-card);padding:32px 32px 36px}
.et-fee .et-panel,.et-panel.et-fee{padding:32px 32px 36px}
@media (max-width:600px){.et-panel{padding:24px 20px 28px;border-radius:22px}}
.et-panel h1{font-size:30px;font-weight:700;margin:0 0 10px}
.et-h2{font-family:var(--font-display);font-weight:700;font-size:17px}

/* Hub tool cards = .ec-services__card (28px, sheen once on hover) */
.et-cards{gap:20px}
.et-card{border-radius:var(--radius-card);padding:28px 30px;min-height:180px;overflow:clip;transition:transform .28s ease,box-shadow .28s ease,border-color .2s ease}
.et-card h2{font-size:21px;font-weight:700}
.et-card:hover{border-color:#e2cdfe;text-decoration:none;box-shadow:var(--glass-shadow),0 0 56px rgba(94,35,153,.30)}
.et-card::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;opacity:0;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.10) 50%,transparent 58%);
  background-size:220% 100%;background-position:130% 0;
}
@keyframes et-glass-sheen{0%{opacity:0;background-position:130% 0}20%{opacity:1}100%{opacity:0;background-position:-30% 0}}
.et-card:hover::after{animation:et-glass-sheen 2.1s ease-out 1}
.et-tag{display:inline-block;padding:3px 10px;border-radius:var(--radius-pill);background:rgba(234,255,168,.10);color:#eaffa8;font-weight:600}

/* Fee hero result = small glass card, lime for good */
.et-fee-hero{border-radius:22px;padding:24px 26px;background:linear-gradient(160deg,rgba(94,35,153,.30),rgba(28,28,41,.55))}
.et-fee-hero__value{font-family:var(--font-display);font-weight:700}

/* Advanced accordion = soft inner glass card (structure untouched) */
.et-acc{
  border:1px solid rgba(226,205,254,.24);border-radius:var(--radius);
  background:rgba(226,205,254,.04);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  overflow:clip;
}
.et-acc__sum{padding:16px 22px;font:700 15px/1.3 var(--font-display);color:#e2cdfe;transition:background-color .18s ease}
.et-acc__sum:hover{background:rgba(226,205,254,.06)}
.et-acc__sum::after{
  content:"+";float:right;display:inline-grid;place-items:center;
  width:24px;height:24px;margin-top:-2px;border-radius:var(--radius-pill);
  background:rgba(234,255,168,.12);color:#eaffa8;font-weight:700;line-height:1;
}
.et-acc[open] .et-acc__sum::after{content:"-"}
.et-acc__body{padding:6px 22px 22px;border-top:1px solid rgba(226,205,254,.14)}
.et-quiet,.et-quiet.et-acc{background:transparent}

/* Gate / notices: rounded soft chips, no hard left bars */
.et-gate{border-radius:var(--radius);border-style:solid;border-color:rgba(226,205,254,.22);background:rgba(226,205,254,.04);padding:14px 18px}
.et-gate.is-preview,.et-gate.is-open{border-color:rgba(226,205,254,.45)}
.et-gate-state{display:inline-block;padding:3px 10px;border-radius:var(--radius-pill);background:rgba(226,205,254,.12);color:#e2cdfe;font-family:var(--font-display)}
.et-stub-notice,.et-flag{border-left:0;border-radius:16px;border:1px solid rgba(234,255,168,.28);background:rgba(31,12,51,.72)}
.et-flag{border-color:rgba(90,78,162,.55)}
.et-error{border-left:0;border-radius:16px;border:1px solid rgba(255,123,114,.42);background:rgba(42,18,20,.72)}

/* Summary tiles inside output */
.et-summary div{border-radius:16px;background:rgba(10,8,18,.55);border-color:rgba(226,205,254,.20)}

/* ---------- Inputs / selects: 12px site radius, lilac focus ---------- */
.et-form input:not([type="radio"]):not([type="checkbox"]):not(.et-upload__input),
.et-form select,
.et-form textarea,
.et-primary input,.et-primary select,
.et-fee-primary input,.et-fee-primary select,
.et-acc__body input,.et-acc__body select{
  border-radius:var(--radius-field);
  background:rgba(10,8,18,.72);
  border:1px solid rgba(226,205,254,.24);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.et-form input:focus,.et-form select:focus,.et-form textarea:focus,
.et-primary input:focus,.et-primary select:focus{
  outline:0;border-color:#e2cdfe;box-shadow:0 0 0 3px rgba(226,205,254,.22);
}
.et-seg__opt{border-radius:var(--radius-pill);padding:10px 18px;background:rgba(255,255,255,.04);border-color:rgba(226,205,254,.30);font-weight:600}
.et-seg__opt:has(input:checked),.et-seg__opt.is-on{background:#e2cdfe;color:#1c1c29;border-color:#e2cdfe;box-shadow:0 8px 22px rgba(226,205,254,.20)}
.et-form label.et-seg__opt:has(input:checked){color:#1c1c29}

/* ---------- Footer: quiet one-line strip, legal wall killed ---------- */
.et-footer{
  border-top:1px solid rgba(226,205,254,.10);
  padding:18px 28px 28px;font-size:12px;color:rgba(226,205,254,.50);
  background:transparent;text-align:center;
}
/* Fail closed: if Arrow has not removed the old paragraphs yet, they never render as a wall */
.et-footer .et-footer-disclaimer,
.et-footer .et-footer-support{display:none}
.et-footer p{margin:0;max-width:none;font-size:12px;line-height:1.4}
.et-footer a:not(.et-btn):not(.et-btn-ghost){color:rgba(226,205,254,.70)}
.et-footer a:not(.et-btn):not(.et-btn-ghost):hover{color:#e2cdfe}
/* Button ink wins over any generic link color (footer, help card, fail strip) */
a.et-btn,.et-footer a.et-btn,.et-help a.et-btn{color:#1c1c29;text-decoration:none}
a.et-btn.et-btn-ghost,.et-footer a.et-btn-ghost,.et-help a.et-btn-ghost{color:#fff;text-decoration:none}
.et-footer .et-help{margin:0 auto 18px;text-align:left}

/* ---------- NEW: Need help? card (.et-help) ---------- */
.et-help{
  max-width:720px;margin:28px auto 0;
  border-radius:24px;padding:22px 24px;
  display:grid;grid-template-columns:1fr auto;gap:12px 20px;align-items:center;
  color:#fff;font-size:14px;
}
.et-help__title{grid-column:1/-1;margin:0;font:700 18px/1.25 var(--font-display);color:#fff}
.et-help__legal{grid-column:1/-1;margin:-4px 0 0;font-size:12px;line-height:1.4;color:rgba(226,205,254,.55)}
.et-help__code{display:flex;flex-direction:column;gap:6px;margin:0;font-size:12px;color:rgba(226,205,254,.66);min-width:0}
.et-help__code-label{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:rgba(226,205,254,.66)}
.et-help__code-input,
.et-help__code-value{
  width:100%;max-width:320px;min-height:44px;
  padding:10px 14px;border-radius:var(--radius-field);
  background:rgba(10,8,18,.72);border:1px solid rgba(226,205,254,.24);
  color:#fff;font:600 14px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;
}
.et-help__code-value{display:inline-flex;align-items:center;color:#eaffa8}
.et-help__code-input::placeholder{color:rgba(226,205,254,.40);letter-spacing:0;font-weight:500}
.et-help__code-input:focus{outline:0;border-color:#e2cdfe;box-shadow:0 0 0 3px rgba(226,205,254,.22)}
.et-help__ask{grid-column:1/-1;margin:0;color:rgba(255,255,255,.86)}
.et-help__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.et-help__cta,.et-help__ghost{min-height:46px;padding:10px 22px;font-size:15px}
@media (max-width:600px){.et-help{grid-template-columns:1fr;padding:20px}.et-help__code-input,.et-help__code-value{max-width:none}.et-help__actions .et-btn{flex:1 1 100%}}

/* Compact variant under a fail panel (after Error code): solid ink so the red fail tint does not bleed */
.et-error .et-help,.et-help--inline{background:linear-gradient(185deg,rgba(40,40,59,.92),rgba(28,28,41,.96))}
.et-help--inline{margin:16px 0 0;max-width:none;padding:18px 20px;border-radius:20px}
.et-error .et-help,.et-output .et-help{margin-top:16px}
/* Old fail strip lines stay readable if still rendered */
.et-error-code code{display:inline-block;padding:2px 10px;border-radius:var(--radius-pill);background:rgba(234,255,168,.10);color:#eaffa8;font-weight:600}

/* ---------- Damir dashboard: type-led stays; only actions + help card polish ---------- */
.et-route-dashboard .et-panel,
.et-route-dashboard .et-card{background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.et-route-dashboard .et-panel::before,.et-route-dashboard .et-card::before{display:none}
.et-route-dashboard .et-topbar{background:rgba(0,0,0,.72);border-bottom-color:#161616}
.et-route-dashboard .et-dash-actions .et-btn,
.et-route-dashboard .et-upload__btn,
.et-route-dashboard .et-form label.et-upload__btn{min-height:40px;padding:8px 18px;font-size:13px;border-radius:var(--radius-pill);box-shadow:none}
.et-route-dashboard .et-dash-actions .et-btn:hover,
.et-route-dashboard .et-upload__btn:hover{box-shadow:0 8px 22px rgba(226,205,254,.18)}
.et-route-dashboard .et-acc{border-radius:16px;background:transparent;border-color:#1c1c1c;box-shadow:none}
.et-route-dashboard .et-dash-input textarea{border-radius:var(--radius-field)}
.et-route-dashboard .et-help{
  background:#0a0a0a;border:1px solid #1c1c1c;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;border-radius:20px;
}
.et-route-dashboard .et-help::before{display:none}
.et-route-dashboard .et-footer{border-top-color:#121212;color:#5c5c5c}
.et-route-dashboard .et-footer a:not(.et-btn):not(.et-btn-ghost){color:#9a9a9a}
.et-route-dashboard .et-dash-input textarea{background:#0a0a0a;border-color:#1c1c1c}
.et-route-dashboard .et-dash-input textarea:focus{border-color:#3a3a3a;box-shadow:none}
html:has(body.et-route-dashboard){background:#000}

/* ---------- 0.2.1.5 Variation repair: Load family + kids table (reuses site-match tokens, no new colors) ---------- */
.et-eyebrow{margin:-4px 0 18px;color:rgba(226,205,254,.66)}
.et-family-load{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:0 0 6px}
.et-family-load .et-upload{margin:0}
.et-family-wrap{margin:14px 0 6px;border:1px solid rgba(226,205,254,.22);border-radius:var(--radius-field,10px);background:rgba(10,8,18,.55)}
.et-family{width:100%;border-collapse:collapse;font-size:14px}
.et-family th{padding:10px 10px 8px;text-align:left;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:rgba(226,205,254,.66);border-bottom:1px solid rgba(226,205,254,.14)}
.et-family td{padding:6px 6px;border-bottom:1px solid rgba(226,205,254,.08);vertical-align:middle}
.et-family tr:last-child td{border-bottom:0}
.et-family input,.et-family select{width:100%;min-width:0;box-sizing:border-box;background:#0a0812;color:#fff;border:1px solid rgba(226,205,254,.22);border-radius:8px;padding:8px 10px;font-size:14px}
.et-family input:focus,.et-family select:focus{outline:2px solid #e2cdfe;border-color:#5a4ea2}
.et-family td:first-child input{font-variant-numeric:tabular-nums;letter-spacing:.02em;min-width:118px}
.et-family__attr{display:flex;gap:6px}
.et-family__attr input[hidden]{display:none}
.et-family select{min-width:92px}
.et-family tr.is-parent td{background:rgba(226,205,254,.06)}
.et-family tr.is-parent td:first-child input{border-color:#5a4ea2}
.et-family__sku.is-gap input{border-style:dashed;border-color:#eaffa8}
.et-family__sku.is-gap input::placeholder{color:rgba(234,255,168,.7)}
.et-family__x{width:36px;text-align:center}
.et-family__rm{background:transparent;border:0;color:rgba(226,205,254,.66);font-size:18px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:6px}
.et-family__rm:hover,.et-family__rm:focus-visible{color:#fff;outline:1px solid rgba(226,205,254,.22)}
.et-family-add{margin:6px 0 18px;padding:8px 16px;font-size:13px}
.et-family-gap{color:#eaffa8}
.et-family-notes{list-style:none;margin:0 0 16px;padding:12px 16px;border:1px solid rgba(226,205,254,.22);border-radius:10px;background:#28283b;font-size:14px}
.et-family-notes li+li{margin-top:4px}
.et-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.et-form .et-family label,.et-form .et-family-load label.et-upload__btn{flex-direction:row}
@media (max-width:720px){.et-family__attr{flex-direction:column}.et-family td:first-child input{min-width:104px}}
.et-form .et-family-add,.et-family-add{display:inline-flex;width:auto;align-self:flex-start}
@media (max-width:720px){.et-family{min-width:560px}.et-family__attr{flex-direction:row}}

/* ==========================================================================
   Stylez mobile topbar patch 0.2.1.6 (Ethos Amazon Tools)
   Fixes: Anthony mobile FAIL on /tools/ (0.2.1.5-softpreview), 2026-11-01.
   Ship: append to the END of assets/css/tools.css (only tools.css is enqueued
   in routes.php, so append = no PHP change). Rollback = delete this block.
   Breakpoint: 720px (matches existing tools.css phone breakpoints).
   Tokens: lilac #e2cdfe, lime #eaffa8, purple #5e2399, rim #5a4ea2,
   ink #1c1c29, void #0a0812. No gold, no new colors.
   Desktop (above 720px): nothing in this file applies. Site-match look untouched.
   ========================================================================== */

@media (max-width:720px){

  /* ---- Topbar: two compact lines max. Line 1 brand + badge, line 2 swipe pills.
     Pills never stack vertical. Total height about 84px vs about 290px before. ---- */
  .et-body .et-topbar{
    flex-wrap:wrap;              /* only so nav can drop to its own row (order 3) */
    align-items:center;
    gap:6px 10px;
    padding:8px 10px 8px 14px;
  }

  /* Floating glass kept, but tighter so it does not dominate (not on Damir) */
  body.et-body:not(.et-route-dashboard) .et-topbar{
    top:8px;
    margin:8px auto 0;
    width:calc(100% - 16px);
    border-radius:18px;
    padding:8px 10px 8px 14px;
    box-shadow:0 8px 22px rgba(0,0,0,.22);
  }

  .et-body .et-brand{
    order:1;
    flex:0 1 auto;
    min-width:0;
    font-size:15px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .et-body .et-badge{
    order:2;
    flex:0 0 auto;
    margin-left:auto;
    font-size:10.5px;
    line-height:1.4;
    padding:1px 8px;
    white-space:nowrap;
  }

  /* One horizontal row of pills you can swipe */
  .et-body .et-nav{
    order:3;
    flex:1 1 100%;
    min-width:0;
    display:flex;
    flex-wrap:nowrap;
    gap:4px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    margin:0 -10px 0 -6px;       /* bleed to the glass edge so swipe feels native */
    padding:0 30px 0 6px;        /* right pad clears the fade so the last pill reads at full scroll */
    scroll-padding-inline:6px 30px;
    /* soft fade on the right edge hints there are more pills */
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent);
            mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent);
  }
  .et-body .et-nav::-webkit-scrollbar{display:none;width:0;height:0}

  .et-body .et-nav-link{
    flex:0 0 auto;
    white-space:nowrap;
    padding:6px 12px;
    font-size:13px;
    line-height:1.3;
    scroll-snap-align:start;
  }
  /* active pill keeps lilac state from site-match (no change), plus a touch target floor */
  .et-body .et-nav-link{min-height:32px;display:inline-flex;align-items:center}

  /* ---- Landing: H1 owns the full name. Topbar shows short "Ethos" (link to tools home kept).
     Text stays in the DOM for screen readers; only the visual label changes. ---- */
  .et-route-landing .et-brand{font-size:0;letter-spacing:0}
  .et-route-landing .et-brand::before{
    content:"Ethos";
    font-size:15px;
    font-weight:700;
    font-family:var(--font-display),Syne,sans-serif;
    color:#fff;
    letter-spacing:-.01em;
  }

  /* ---- Landing content: less top gap now header is small; 4 card stack stays airy ---- */
  .et-main{padding-top:24px}
  .et-hero h1{font-size:30px;line-height:1.15}
  .et-cards{grid-template-columns:1fr;gap:14px;margin:24px 0}
  .et-card{padding:22px 22px 24px;min-height:0}
  .et-card h2{font-size:19px}
}

/* Very small phones (SE / 360 wide): slightly smaller pills, same layout */
@media (max-width:380px){
  .et-body .et-nav-link{padding:6px 10px;font-size:12.5px}
  .et-body .et-badge{font-size:10px;padding:1px 7px}
}

/* ==========================================================================
   0.2.1.7 Stylez mobile forms/overflow (stylez-mobile-forms-0.2.1.7.css, Soft-PASS 2026-11-01)
   Appended verbatim after the 0.2.1.6 topbar block. Rollback = delete from here to EOF.
   ========================================================================== */
/* ==========================================================================
   Stylez mobile forms/overflow patch 0.2.1.7 (Ethos Amazon Tools)
   Fixes Anthony FAIL on Soft-PASS 0.2.1.6 (2026-11-01):
     1. Fee + COGS: Sale price, Fee category, Unit cost, Package weight ran
        past the glass card (page 450px wide on a 390px phone). Cause: grid
        1fr columns keep min-width:auto, so the select grows to its longest
        option. Advanced options dimension grid (minmax 240px) also clipped at 360.
     2. Variation repair: page was 585px wide. The family box already scrolls,
        but its absolute screen-reader "Remove" label had no positioned parent,
        so it widened the whole page. Box now contains it; table slimmer
        (492 vs 560, fixed columns) and swipes inside its own rounded box, ASIN column pinned.
     3. Seller metrics dashboard: empty state read as dead black. Empty chart
        now sits in an ink glass panel with readable type; Damir chrome stays.
   Ship: append to the END of assets/css/tools.css, after the 0.2.1.6 topbar
   block. Only tools.css is enqueued, so append = no PHP change.
   Rollback = delete this block.
   Breakpoint: 720px (same as tools.css phone rules). 0.2.1.6 topbar untouched.
   Tokens: lilac #e2cdfe, lime #eaffa8, purple #5e2399, rim #5a4ea2,
   ink #1c1c29, void #0a0812. No gold, no new colors.
   Desktop (above 720px): nothing in this file applies.
   ========================================================================== */

@media (max-width:720px){

  /* ---- All tool forms: controls never wider than their card ---- */
  .et-form,
  .et-form fieldset,
  .et-form label,
  .et-primary,
  .et-fee-primary,
  .et-grid,
  .et-acc,
  .et-acc__body{min-width:0;max-width:100%}

  .et-form input:not([type="radio"]):not([type="checkbox"]):not(.et-upload__input),
  .et-form select,
  .et-form textarea,
  .et-primary input:not([type="radio"]):not([type="checkbox"]),.et-primary select,.et-primary textarea,
  .et-fee-primary input:not([type="radio"]):not([type="checkbox"]),.et-fee-primary select,
  .et-acc__body input:not([type="radio"]):not([type="checkbox"]):not(.et-upload__input),.et-acc__body select,.et-acc__body textarea{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  /* long category names truncate inside the field instead of widening it */
  .et-form select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}

  /* Grids: single column that is allowed to shrink (1fr alone keeps min-content) */
  .et-primary,
  .et-fee-primary{grid-template-columns:minmax(0,1fr)}
  .et-primary > *,
  .et-fee-primary > *{min-width:0}

  /* Advanced options: one shrinkable column (was a 240px floor that clipped at 360);
     package dimensions sit two-up since they are short numbers */
  .et-acc__body .et-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .et-acc__body .et-grid:has(input[name="length_in"]){grid-template-columns:repeat(2,minmax(0,1fr))}
  .et-acc__body .et-grid > *{min-width:0}
  .et-acc__body .et-grid > .et-check,
  .et-acc__body .et-grid > label:has(input[type="checkbox"]),
  .et-acc__body .et-grid > label:has(input[name="fba_fee_override"]){grid-column:1/-1}

  /* Panel: a little more room for fields on phone, same glass */
  .et-fee .et-panel,
  .et-panel.et-fee,
  .et-route-variation-repair .et-panel{padding:24px 18px 28px}

  /* Primary actions: full width on phone, no 200px floor pushing out */
  .et-fee-actions .et-btn{min-width:0;flex:1 1 100%;max-width:100%}
  .et-actions .et-btn{max-width:100%}

  /* ---- Variation repair: family table swipes inside its own box ---- */
  .et-family-wrap{
    position:relative;           /* contains the screen-reader "Remove" label, which was widening the page */
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .et-family{width:492px;min-width:492px;table-layout:fixed}
  .et-family th{padding:10px 8px 8px;white-space:nowrap}
  .et-family td{padding:6px 4px}
  .et-family th:nth-child(1){width:108px}   /* ASIN, 10 chars */
  .et-family th:nth-child(2){width:104px}   /* Color / size */
  .et-family th:nth-child(3){width:132px}   /* SKU */
  .et-family th:nth-child(4){width:112px}   /* Role: Parent / Child in full */
  .et-family th:nth-child(5){width:36px}
  .et-family td:first-child input{min-width:0}
  .et-form .et-family input{padding:8px 10px;font-size:14px}
  .et-form .et-family select{min-width:0;text-overflow:clip;padding:8px 24px 8px 10px;font-size:14px}
  /* ASIN stays visible while you swipe to SKU and Role */
  .et-family th:first-child,
  .et-family td:first-child{
    position:sticky;left:0;z-index:1;
    background:#0a0812;
    box-shadow:1px 0 0 rgba(226,205,254,.14);
  }
  .et-family tr.is-parent td:first-child{
    background:linear-gradient(rgba(226,205,254,.06),rgba(226,205,254,.06)),#0a0812;
  }

  /* ---- Seller metrics: empty state reads as an Ethos panel, not a black void ---- */
  .et-route-dashboard .et-dash-lede{color:#a6a6a6}
  .et-route-dashboard .et-dash-hint{color:#9a9a9a}
  .et-route-dashboard .et-dash-chart-head{flex-wrap:wrap;gap:6px 12px}
  .et-route-dashboard .et-dash-icon{color:#9a9a9a}
  .et-route-dashboard .et-dash-icon:disabled{opacity:.55}

  .et-route-dashboard .et-dash-chart:has(.et-dash-empty){
    border:1px solid rgba(226,205,254,.22);
    border-radius:20px;
    background:
      repeating-linear-gradient(0deg,rgba(226,205,254,.06) 0 1px,transparent 1px 44px),
      radial-gradient(120% 90% at 50% 0%,rgba(94,35,153,.30),transparent 70%),
      rgba(28,28,41,.78);
  }
  .et-route-dashboard .et-dash-empty{
    color:rgba(226,205,254,.86);
    font-size:15px;
    line-height:1.45;
    padding:64px 24px 68px;
  }
  /* small lime bar glyph so the box reads as "your chart goes here" */
  .et-route-dashboard .et-dash-empty::before{
    content:"";
    display:block;
    width:44px;height:30px;
    margin:0 auto 14px;
    background:
      linear-gradient(#eaffa8,#eaffa8) 0 100%/8px 12px no-repeat,
      linear-gradient(#e2cdfe,#e2cdfe) 12px 100%/8px 22px no-repeat,
      linear-gradient(#eaffa8,#eaffa8) 24px 100%/8px 16px no-repeat,
      linear-gradient(#e2cdfe,#e2cdfe) 36px 100%/8px 30px no-repeat;
    border-radius:2px;
    opacity:.9;
  }

  .et-route-dashboard .et-dash-input{margin-top:36px}
  .et-route-dashboard .et-dash-input textarea{
    background:rgba(28,28,41,.6);
    border-color:rgba(226,205,254,.2);
  }
  .et-route-dashboard .et-dash-input textarea::placeholder{color:rgba(226,205,254,.5);opacity:1}
  .et-route-dashboard .et-dash-input textarea:focus{border-color:#5a4ea2}
  .et-route-dashboard .et-upload__name{color:#9a9a9a}
  .et-route-dashboard .et-acc{border-color:rgba(226,205,254,.16)}
  .et-route-dashboard .et-acc__sum{color:#cfcfcf}
}

/* ==========================================================================
   Stylez Seller metrics Example + empty-state contrast 0.2.1.7 (Ethos Amazon Tools)
   Anthony locks 2026-11-01 (Quill pack 2026-11-01-seller-metrics-dashboard-ux-rewrite.md C + D):
     1. Example preview before drops: eyebrow "Example", locked sample chart,
        Quill caption. Hides when the live chart draws.
     2. Empty-state + Example copy readable on black on desktop AND phone.
        No #5c5c5c on black for empty copy anywhere.
     3. Ink glass empty panel on all viewports (was phone-only in mobile 0.2.1.7).
   Hide hook: dashboard-ui.js adds class "has-chart" on #et-dash after the live
   chart draws, removes it when the chart resets to empty.
   Ship: append to the END of assets/css/tools.css, after stylez-mobile-forms-0.2.1.7.
   Rollback = delete this block.
   Tokens: lilac #e2cdfe, lime #eaffa8, purple #5e2399, rim #5a4ea2,
   ink #1c1c29, void #0a0812. Chart line colors stay engine colors.
   Damir black chrome stays. Live metric row untouched.
   ========================================================================== */

/* ---- Lines above the chart that sit on black: lift to readable ---- */
.et-route-dashboard .et-dash-lede{color:#a6a6a6}
.et-route-dashboard .et-dash-motto{color:#e2cdfe;font-size:17px;font-weight:500;line-height:1.4;margin:0 0 4px;max-width:640px}
.et-route-dashboard .et-dash-motto + .et-dash-lede{margin-top:0}
.et-route-dashboard .et-dash-hint{color:#9a9a9a}

/* empty live metric row holds no space before the first draw */
.et-route-dashboard .et-dash-metrics:empty{margin:0}

/* ---- Example preview (before drops) ---- */
.et-route-dashboard .et-dash-example{
  position:relative;
  margin:0 0 40px;
  padding:20px 22px 22px;
  border:1px dashed rgba(226,205,254,.34);
  border-radius:20px;
  background:
    radial-gradient(110% 80% at 0% 0%,rgba(94,35,153,.26),transparent 62%),
    rgba(28,28,41,.62);
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
}
.et-route-dashboard .et-dash-example__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 6px}
.et-route-dashboard .et-dash-example__eyebrow{
  display:inline-flex;align-items:center;
  padding:3px 10px;
  border-radius:99px;
  background:#eaffa8;
  color:#1c1c29;
  font-size:11px;font-weight:700;line-height:1.4;
  letter-spacing:.08em;text-transform:uppercase;
}
.et-route-dashboard .et-dash-example__title{margin:0;font-size:15px;font-weight:600;color:#ffffff}
.et-route-dashboard .et-dash-example__caption{
  margin:0 0 16px;
  max-width:640px;
  color:rgba(226,205,254,.86);
  font-size:14px;line-height:1.5;
}
/* static sample metric row, same shape as the live row but smaller */
.et-route-dashboard .et-dash-example__metrics{
  display:flex;flex-wrap:wrap;gap:14px 36px;
  margin:0 0 14px;padding:0;list-style:none;
}
.et-route-dashboard .et-dash-example__metrics li{display:flex;flex-direction:column;gap:2px;min-width:0}
.et-route-dashboard .et-dash-example__metrics span{color:rgba(226,205,254,.86);font-size:12px}
.et-route-dashboard .et-dash-example__metrics strong{color:#ffffff;font-size:20px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.et-route-dashboard .et-dash-example__chart{
  margin:0;
  border:1px solid rgba(90,78,162,.55);
  border-radius:14px;
  overflow:hidden;
  background:#000;
}
.et-route-dashboard .et-dash-example__chart img{display:block;width:100%;height:auto}

/* hide when live data draws */
.et-route-dashboard .et-dash.has-chart .et-dash-example{display:none}

/* ---- Empty live chart: ink glass panel + readable copy, ALL viewports ---- */
.et-route-dashboard .et-dash-chart:has(.et-dash-empty){
  border:1px solid rgba(226,205,254,.22);
  border-radius:20px;
  background:
    repeating-linear-gradient(0deg,rgba(226,205,254,.06) 0 1px,transparent 1px 44px),
    radial-gradient(120% 90% at 50% 0%,rgba(94,35,153,.30),transparent 70%),
    rgba(28,28,41,.78);
}
.et-route-dashboard .et-dash-empty{
  color:rgba(226,205,254,.86);
  font-size:15px;
  line-height:1.45;
  padding:72px 24px 76px;
  text-align:center;
  margin:0;
}
.et-route-dashboard .et-dash-empty::before{
  content:"";
  display:block;
  width:44px;height:30px;
  margin:0 auto 14px;
  background:
    linear-gradient(#eaffa8,#eaffa8) 0 100%/8px 12px no-repeat,
    linear-gradient(#e2cdfe,#e2cdfe) 12px 100%/8px 22px no-repeat,
    linear-gradient(#eaffa8,#eaffa8) 24px 100%/8px 16px no-repeat,
    linear-gradient(#e2cdfe,#e2cdfe) 36px 100%/8px 30px no-repeat;
  border-radius:2px;
  opacity:.9;
}
/* disabled download icons over the empty panel: visible, clearly inactive */
.et-route-dashboard .et-dash-icon{color:#9a9a9a}
.et-route-dashboard .et-dash-icon:disabled{opacity:.55}

@media (max-width:720px){
  .et-route-dashboard .et-dash-motto{font-size:16px}
  .et-route-dashboard .et-dash-example{padding:16px 14px 16px;border-radius:16px;margin-bottom:28px}
  .et-route-dashboard .et-dash-example__caption{font-size:14px}
  .et-route-dashboard .et-dash-example__metrics{gap:10px 22px}
  .et-route-dashboard .et-dash-example__metrics strong{font-size:17px}
  .et-route-dashboard .et-dash-example__chart{border-radius:12px}
  .et-route-dashboard .et-dash-empty{padding:56px 18px 60px}
}

/* ==========================================================================
   Arrow 0.2.1.9 Seller metrics: support stack, CSV tip, empty card contrast, drop layout.
   Minimal hooks only; Stylez 0.2.1.9 block below owns the card + chart look.
   Rollback = delete from this comment to the Stylez 0.2.1.9 comment.
   ========================================================================== */
.et-route-dashboard .et-dash-support{margin:0 0 22px}
.et-route-dashboard .et-dash-support .et-dash-lede{margin:0 0 2px;color:rgba(226,205,254,.86);font-size:15px;line-height:1.45}
.et-route-dashboard .et-dash-tip{margin:-4px 0 14px;color:rgba(226,205,254,.86);font-size:13px;line-height:1.45}
.et-route-dashboard .et-dash-drops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
.et-route-dashboard .et-dash-drop{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px 14px;border:1px dashed rgba(226,205,254,.30);border-radius:14px;background:rgba(28,28,41,.55)}
.et-route-dashboard .et-dash-drop.is-over{border-color:#eaffa8;background:rgba(94,35,153,.25)}
.et-route-dashboard .et-dash-drop__label{color:#ffffff;font-size:14px;font-weight:600}
.et-route-dashboard .et-dash-card.is-empty{border-style:dashed;border-color:rgba(226,205,254,.45);background:#1c1c29}
.et-route-dashboard .et-dash-card.is-empty .et-dash-card__value{color:#e2cdfe}
.et-route-dashboard .et-dash-chart svg{display:block;width:100%;height:auto}
@media (max-width:720px){
  .et-route-dashboard .et-dash-drops{grid-template-columns:1fr}
  .et-route-dashboard .et-dash-support .et-dash-lede{font-size:14px}
}

/* ==========================================================================
   Stylez Seller metrics FULL SET Example + card grid + contrast 0.2.1.9 (Ethos Amazon Tools)
   Source: copy/2026-11-01-seller-metrics-full-set-0.2.1.9.md (Quill Soft-PASS, Sparky QC PASS).
   SUPERSEDES the 0.2.1.7 Example content (5-metric strip + single chart). Keeps the
   0.2.1.7 Example shell (glass box, lime Example eyebrow), empty panel and hide hook.
   Ship: append to the END of assets/css/tools.css, after the 0.2.1.7 Example block.
   Rollback = delete this block (0.2.1.7 block still renders the old Example).
   Tokens: lilac #e2cdfe, lime #eaffa8, purple #5e2399, rim #5a4ea2, ink #1c1c29,
   void #0a0812. Damir black page stays. Cards = Ethos glass.
   One card system for Example AND live: .et-dash-cards > .et-dash-row >
   .et-dash-row__grid > .et-dash-card. Example adds .et-dash-cards--example.
   Hide hook (unchanged): #et-dash.has-chart hides .et-dash-example.
   ========================================================================== */

/* ---- 0.2.1.7 Example strip retired (markup removed in 0.2.1.9; guard if cached) ---- */
.et-route-dashboard .et-dash-example__metrics{display:none}

/* ---- Example shell: tighter, full width ---- */
.et-route-dashboard .et-dash-example{padding:18px 20px 20px;margin:4px 0 36px}
.et-route-dashboard .et-dash-example__head{margin:0 0 6px}
.et-route-dashboard .et-dash-example__title{font-size:17px;font-weight:600;color:#ffffff}
.et-route-dashboard .et-dash-example__caption{margin:0 0 16px;max-width:720px;color:rgba(226,205,254,.86);font-size:14px;line-height:1.5}

/* ---- Card grid (Example + live) ---- */
.et-route-dashboard .et-dash-cards{display:flex;flex-direction:column;gap:14px;margin:0 0 14px;min-width:0}
.et-route-dashboard .et-dash-cards:not(.et-dash-cards--example){margin:0 0 28px}
.et-route-dashboard .et-dash-row{margin:0;min-width:0}
.et-route-dashboard .et-dash-row__h{
  margin:0 0 7px;
  font-family:var(--font-body);
  font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:#e2cdfe;
}
.et-route-dashboard .et-dash-row__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.et-route-dashboard .et-dash-card{
  display:flex;flex-direction:column;gap:3px;
  min-width:0;box-sizing:border-box;
  padding:12px 14px 11px;
  border:1px solid rgba(226,205,254,.24);
  border-radius:14px;
  background:linear-gradient(185deg,rgba(226,205,254,.09),rgba(28,22,48,.42)),rgba(28,28,41,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 0 22px rgba(94,35,153,.14);
}
.et-route-dashboard .et-dash-card__label{color:rgba(226,205,254,.86);font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.et-route-dashboard .et-dash-card__value{color:#ffffff;font-size:23px;font-weight:600;line-height:1.15;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap}
.et-route-dashboard .et-dash-card__sub{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:11.5px;line-height:1.3;color:rgba(226,205,254,.78)}
/* trend chip (same classes dashboard-ui.js trend() already emits, plus is-flat) */
.et-route-dashboard .et-dash-card .et-dash-trend{
  display:inline-flex;align-items:center;
  padding:1px 7px;border:0;border-radius:99px;
  font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;
  background:rgba(226,205,254,.12);color:#e2cdfe;
}
.et-route-dashboard .et-dash-card .et-dash-trend.is-good{background:rgba(62,224,161,.16);color:#5ef0b6}
.et-route-dashboard .et-dash-card .et-dash-trend.is-bad{background:rgba(255,107,107,.16);color:#ff8f8f}
.et-route-dashboard .et-dash-card .et-dash-trend.is-flat{background:rgba(226,205,254,.12);color:#e2cdfe}
.et-route-dashboard .et-dash-vs{color:rgba(226,205,254,.78)}
.et-route-dashboard .et-dash-sub{color:rgba(226,205,254,.78)}

.et-route-dashboard .et-dash-mom-hint{margin:0 0 16px;color:rgba(226,205,254,.86);font-size:12.5px;line-height:1.45}

/* live cards empty line: readable, compact (not a tall dead box) */
.et-route-dashboard .et-dash-cards__empty{
  margin:0;padding:12px 16px;
  border:1px dashed rgba(226,205,254,.30);border-radius:14px;
  background:rgba(28,28,41,.55);
  color:rgba(226,205,254,.86);font-size:14px;line-height:1.4;
}
.et-route-dashboard .et-dash-cards:empty{display:none}

/* ---- Chart thumbs (Example + live) ---- */
.et-route-dashboard .et-dash-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.et-route-dashboard .et-dash-charts:not(.et-dash-charts--example){margin:0 0 28px}
.et-route-dashboard .et-dash-charts:empty{display:none}
.et-route-dashboard .et-dash-chart-card{
  margin:0;min-width:0;box-sizing:border-box;
  padding:12px 12px 8px;
  border:1px solid rgba(90,78,162,.6);
  border-radius:14px;
  background:radial-gradient(120% 90% at 50% 0%,rgba(94,35,153,.22),transparent 70%),rgba(10,8,18,.88);
}
.et-route-dashboard .et-dash-chart-card__h{margin:0 0 6px;padding:0 2px;color:#ffffff;font-size:13.5px;font-weight:600}
.et-route-dashboard .et-dash-chart-card img,
.et-route-dashboard .et-dash-chart-card svg{display:block;width:100%;height:auto}

/* ---- Hide Example once live data draws (unchanged hook) ---- */
.et-route-dashboard .et-dash.has-chart .et-dash-example{display:none}

/* ---- Contrast on black: empty + drop empty names, ALL viewports ---- */
.et-route-dashboard .et-dash-empty{color:rgba(226,205,254,.86)}
.et-route-dashboard .et-upload__name{color:rgba(226,205,254,.86)}
.et-route-dashboard .et-upload__name.is-filled{color:#ffffff}
.et-route-dashboard .et-dash-hint{color:rgba(226,205,254,.78)}

/* ---- Tablet: 2 x 2 per section ---- */
@media (max-width:900px){
  .et-route-dashboard .et-dash-row__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

/* ---- Phone: compact 2 x 2 per section, charts swipe ---- */
@media (max-width:720px){
  .et-route-dashboard .et-dash-example{padding:14px 12px 14px;margin:0 0 26px}
  .et-route-dashboard .et-dash-example__title{font-size:16px}
  .et-route-dashboard .et-dash-example__caption{font-size:13.5px;margin:0 0 12px}
  .et-route-dashboard .et-dash-cards{gap:10px;margin:0 0 10px}
  .et-route-dashboard .et-dash-row__h{font-size:11px;margin:0 0 5px}
  .et-route-dashboard .et-dash-row__grid{gap:6px}
  .et-route-dashboard .et-dash-card{padding:8px 10px 8px;border-radius:11px;gap:1px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
  .et-route-dashboard .et-dash-card__label{font-size:11.5px}
  .et-route-dashboard .et-dash-card__value{font-size:18px}
  .et-route-dashboard .et-dash-card__sub{font-size:11px;gap:2px 5px}
  .et-route-dashboard .et-dash-card .et-dash-trend{font-size:10.5px;padding:0 6px}
  .et-route-dashboard .et-dash-mom-hint{font-size:12px;margin:0 0 10px}
  /* charts: horizontal swipe, one full thumb + peek of the next */
  .et-route-dashboard .et-dash-charts{
    display:flex;gap:8px;
    overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-right:-12px;padding-right:12px;
  }
  .et-route-dashboard .et-dash-charts::-webkit-scrollbar{display:none}
  .et-route-dashboard .et-dash-chart-card{flex:0 0 86%;scroll-snap-align:start;padding:10px 8px 6px;border-radius:12px}
  .et-route-dashboard .et-dash-chart-card__h{font-size:13px}
  .et-route-dashboard .et-dash-cards__empty{font-size:13.5px;padding:10px 12px}
}
@media (max-width:360px){
  .et-route-dashboard .et-dash-card__value{font-size:16.5px}
  .et-route-dashboard .et-dash-card__sub .et-dash-vs{display:none}
}

/* ==========================================================================
   0.2.1.10 Stylez hub card cohesion (stylez-hub-cards-cohesion-0.2.1.10.css, Soft-PASS 2026-11-02)
   Scope: /tools/ landing hub cards only (body.et-route-landing .et-cards).
   Append LAST to tools.css after Sparky QC. Rollback = delete from here to EOF.
   Tokens only: lilac #e2cdfe, lime #eaffa8, purple #5e2399, ink #1c1c29, void #0a0812, rim. No new colors.
   ========================================================================== */

/* Grid: 2 x 2 on desktop so 4 tools fill clean rows (no orphan) and titles fit 1 line.
   Every row the same height (grid-auto-rows:1fr), cards stretch to fill. */
@media (min-width:721px){
  .et-route-landing .et-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:1fr;
    align-items:stretch;
  }
}

/* Card: flex column so the badge can sit on the shared bottom baseline */
.et-route-landing .et-cards .et-card{
  display:flex;flex-direction:column;align-items:stretch;
  height:100%;min-width:0;
}

/* Title: always 1 line. Ellipsis is a safety net only; current strings fit at these sizes. */
.et-route-landing .et-cards .et-card h2{
  margin:0 0 8px;
  font-size:21px;line-height:1.2;letter-spacing:-.015em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  min-width:0;
}

/* Description: free to wrap, takes the slack so badges drop to the bottom */
.et-route-landing .et-cards .et-card p{margin:0 0 16px}

/* Badge: pinned to card bottom, 1 line, hugs its text, never wider than the card */
.et-route-landing .et-cards .et-card .et-tag{
  margin-top:auto;align-self:flex-start;
  max-width:100%;
  font-size:12px;line-height:1.5;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* Phone: single column, natural height per card, badge still at each card bottom */
@media (max-width:720px){
  .et-route-landing .et-cards{grid-auto-rows:auto}
  .et-route-landing .et-cards .et-card{height:auto}
  .et-route-landing .et-cards .et-card h2{font-size:19px}
}
@media (max-width:380px){
  .et-route-landing .et-cards .et-card h2{font-size:17.5px}
}
/* ---------- end 0.2.1.10 hub card cohesion ---------- */

/* 0.2.1.10 Rank Helper muted hug (landing scope)
   Muted stays under .et-tag. On desktop, cards without muted reserve the same
   foot gap so row badge baselines stay aligned (Soft-PASS fix 2026-11-02). */
.et-route-landing .et-cards .et-card .et-muted{margin:8px 0 0;font-size:12px;line-height:1.4}
@media (min-width:721px){
  .et-route-landing .et-cards .et-card:not(:has(.et-muted)) .et-tag{margin-bottom:calc(8px + 1.4em)}
}

/* 0.2.1.12: longer approved card titles wrap instead of cutting off */
.et-route-landing .et-cards .et-card h2{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}

/* 0.2.1.13: longer badge text. Never cut off; shrinks or wraps on phones */
.et-body .et-badge{white-space:nowrap}
@media (max-width:640px){
  .et-body .et-badge{flex:0 1 auto;min-width:0;max-width:62%;white-space:normal;text-align:center;line-height:1.25;overflow-wrap:break-word}
}
@media (max-width:380px){
  .et-body .et-badge{font-size:9.5px;padding:1px 6px}
}

/* 0.2.1.14: real Ethos logo (main site header file) top left, links to ethos-commerce.com. Text brand kept. */
.et-body .et-topbar .et-logo{display:inline-flex;align-items:center;flex:0 0 auto;line-height:0}
.et-body .et-topbar .et-logo img{display:block;height:32px;width:auto}
.et-body .et-topbar .et-logo:hover{text-decoration:none;opacity:.88}
@media (max-width:720px){
  .et-body .et-topbar .et-logo{order:0}
  .et-body .et-topbar .et-logo img{height:22px}
  .et-route-landing .et-brand{font-size:15px;letter-spacing:-.01em}
  .et-route-landing .et-brand::before{content:none}
}
@media (max-width:380px){
  .et-body .et-topbar .et-logo img{height:20px}
  .et-body .et-brand{font-size:14px}
}

/* 0.2.1.15: "Where to find this report" help line under file drops; Rank Checker page. */
.et-where{margin:6px 0 0;font-size:12.5px;line-height:1.5;color:rgba(226,205,254,.78);overflow-wrap:anywhere}
.et-where a{color:#e2cdfe;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.et-where a:hover{color:#ffffff}
.et-vr-form .et-where{margin:0 0 10px}
.et-rc-dl{margin:18px 0 6px}
.et-rc-dl .et-btn{display:inline-block;text-decoration:none}
.et-rc-steps{margin:10px 0 0;line-height:1.7}
.et-rc-steps code{font-size:13px;background:rgba(226,205,254,.10);border-radius:4px;padding:1px 5px}

/* 0.2.1.15b: 4 nav pills on one row at desktop widths */
@media (min-width:721px){
  body.et-body:not(.et-route-dashboard) .et-topbar{max-width:1360px;gap:18px}
  .et-body .et-nav{flex-wrap:nowrap;gap:2px;justify-content:center;min-width:0}
  .et-body .et-nav-link{padding:8px 11px;white-space:nowrap}
}
@media (min-width:721px) and (max-width:1339px){
  .et-body .et-nav{order:3;flex:1 1 100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  .et-body .et-badge{margin-left:auto}
}
