/* ============================================================
   ETHTokenLaunch theme (24 Nov 2026). Loaded last on every page.
   The STL and STC design ported to ETL, in ETL's own colours:
     colour   night navy, indigo to sky blue gradient (STL is emerald
              to teal, STC is purple to fuchsia)
     type     system font stack, 800 headings, tight tracking
     shape    full pills for nav and badges, 14px inputs, 16px buttons,
              20px glass cards
     layout   centred heroes with an uppercase eyebrow pill and a
              gradient phrase, breadcrumb strip under the header
   Looks only. No ids, classes or behaviour are defined here.
   The 17 Nov 2026 theme is kept in docs/theme-2026-11-17.css.
   ============================================================ */
:root {
    --x-bg: #080c18;
    --x-surface: #0e1120;
    --x-surface-2: #141a2d;
    --x-inset: rgba(0, 0, 0, .35);
    --x-line: rgba(255, 255, 255, .08);
    --x-line-strong: rgba(255, 255, 255, .14);
    --x-text: #ffffff;
    --x-soft: #c9cdda;
    --x-muted: #9ba1b4;
    --x-dim: #6b7288;
    --x-accent: #a5b4fc;          /* indigo 300 */
    --x-accent-strong: #6366f1;   /* indigo 500 */
    --x-sky: #7dd3fc;             /* sky 300 */
    --x-ice: linear-gradient(135deg, #6366f1, #4f46e5 45%, #0ea5e9);
    --x-ice-hover: linear-gradient(135deg, #818cf8, #6366f1 45%, #38bdf8);
    --x-ink: #ffffff;
    --x-good: #34d399;
    --x-warn: #fbbf24;
    --x-bad: #f87171;
    --x-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --x-r-sm: .875rem;
    --x-r: 1.25rem;
    --x-s1: 4px; --x-s2: 8px; --x-s3: 12px; --x-s4: 16px; --x-s5: 24px; --x-s6: 32px; --x-s7: 48px; --x-s8: 72px; --x-s9: 96px;
    --x-card: rgba(14, 17, 32, .80);
    --x-lift: 0 14px 34px rgba(0, 0, 0, .24);
    --x-glow: 0 12px 30px rgba(79, 70, 229, .32);
    --x-crumb-h: 41px;

    /* The older names are used in about 600 inline styles, so they follow the new palette. */
    --etl-bg: var(--x-bg);
    --etl-surface: var(--x-surface);
    --etl-surface-2: var(--x-surface-2);
    --etl-surface-3: #1a2140;
    --etl-bg-3: var(--x-surface-2);
    --etl-border: var(--x-line);
    --etl-border-strong: var(--x-line-strong);
    --etl-text: var(--x-text);
    --etl-muted: var(--x-muted);
    --etl-text-muted: var(--x-muted);
    --etl-text-dim: var(--x-dim);
    --etl-accent: var(--x-accent);
    --etl-accent-bright: var(--x-accent);
    --etl-blue: var(--x-accent-strong);
    --etl-blue-light: var(--x-accent);
    --etl-btn: #6366f1;
    --etl-btn-hover: #818cf8;
    --etl-grad: var(--x-ice);
    --etl-v2-grad: linear-gradient(135deg, #a5b4fc, #7dd3fc);
    --etl-v2-cta: var(--x-ice);
    --etl-v2-border: var(--x-line);
    --etl-v2-border-strong: var(--x-line-strong);
    --etl-v2-field: var(--x-inset);
    --etl-radius: var(--x-r);
    --etl-radius-sm: var(--x-r-sm);
    --etl-gap: 16px;
    --etl-page-space: 3rem;
    --etl-container: 1200px;
    --etl-header-height: 78px;
    --etl-nav-h: 78px;
}

/* ── Page ─────────────────────────────────────────────────── */
html body {
    background: var(--x-bg);
    color: var(--x-text);
    font-family: var(--x-display);
    font-size: 16px;
    line-height: 1.65;
}
html body p { color: var(--x-muted); }
html body a { color: var(--x-accent); }
html body a:hover { color: #fff; }
html body ::selection { background: #6366f1; color: #fff; }
html body :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--x-accent); outline-offset: 3px; }

html body :is(h1, h2, h3, h4) { font-family: var(--x-display); color: var(--x-text); text-wrap: balance; }
html body h1, html body .page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
html body h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
html body h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
html body h4 { font-size: .9375rem; font-weight: 700; }
html body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(99, 102, 241, .14); color: #e0e7ff; border-radius: 6px; padding: .12em .4em; }
html body .text-gradient,
html body .etl-grad-text {
    background: linear-gradient(to right, #7dd3fc, #a5b4fc 50%, #c4b5fd);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

html body .container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
html body .section { padding-block: var(--x-s9); }
html body .section--sm { padding-block: var(--x-s8); }
html body .section--lg { padding-block: 112px; }
html body :is(.grid-2, .grid-3, .grid-4) { gap: var(--x-s4); }
html body .section .text-center.mb-4 { margin-bottom: var(--x-s7); }
/* Section labels above a heading use STL's eyebrow pill. */
html body .section .text-center.mb-4 > p:first-child {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem;
    padding: .35rem 1rem; border-radius: 999px;
    background: rgba(79, 70, 229, .15); border: 1px solid rgba(129, 140, 248, .25);
    color: var(--x-accent) !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
html body .section .text-center.mb-4 > p:not(:first-child) { font-size: 1.0625rem; }

/* Hero glow and faint grid behind the top of every page, like STL. */
html body #main-content > main { position: relative; isolation: isolate; }
html body #main-content > main::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 560px; pointer-events: none;
    background:
        radial-gradient(640px 300px at 50% 40px, rgba(99, 102, 241, .20), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
    mask-image: linear-gradient(180deg, #000 30%, transparent);
}

/* ── Header ───────────────────────────────────────────────── */
html body .site-header,
html body .site-header.is-scrolled {
    height: var(--etl-header-height);
    background: rgba(20, 26, 45, .88);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
}
html body .site-header::before { display: none; }
html body .nav-container {
    position: relative; display: flex; justify-content: space-between; align-items: center;
    max-width: none; margin: 0; height: var(--etl-header-height); padding: 0 1.5rem; gap: 1rem;
}
/* Full width since 24 Nov 2026: logo far left, wallet far right, like most crypto apps. The pills sit between them, dead centre from 1280px. */
html body .nav-links.nav-pills { margin: 0 auto !important; }
/* Wide screens: the pill group sits dead centre, like STL. */
@media (min-width: 1280px) {
    html body .nav-links.nav-pills { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
html body .nav-logo { justify-self: start; gap: .7rem; }
html body .nav-logo__icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(145deg, #6366f1, #0ea5e9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 0 22px rgba(99, 102, 241, .55);
}
html body .nav-logo__icon svg { width: 26px; height: 26px; }
html body .nav-logo__icon::after, html body .nav-rail__pill { display: none; }
html body .nav-logo:hover .nav-logo__icon { transform: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 0 28px rgba(99, 102, 241, .7); }
html body .nav-logo__icon svg g { fill: #fff; }
/* Name and tagline beside the round icon (Graham wanted the text kept, 24 Nov 2026). */
html body .nav-logo__text { font-family: var(--x-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
html body .nav-logo__eth { color: var(--x-accent); }
html body .nav-logo__text--stack { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1.05; }
html body .nav-logo__tag { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--x-muted); white-space: nowrap; }
@media (max-width: 1279px) and (min-width: 901px) { html body .nav-logo__tag { display: none; } }
/* The site name stays at every width (24 Nov 2026). Only the tagline goes where space is short. */
@media (max-width: 1100px) and (min-width: 901px) { html body .nav-logo__text { font-size: .98rem; } }
@media (max-width: 360px) { html body .nav-logo__tag { display: none; } }

html body .nav-links.nav-pills {
    display: flex; flex: 0 0 auto; justify-self: center; align-items: center; gap: 2px;
    margin: 0; padding: 4px 6px; list-style: none;
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); border-radius: 999px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: none;
}
html body .nav-pills .nav-link {
    display: inline-flex; align-items: center; gap: 7px; height: auto; min-height: 0;
    padding: 8px 15px; border-radius: 999px; border: 0;
    font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .72); white-space: nowrap;
    background: transparent; transition: background-color .2s, color .2s;
}
html body .nav-pills .nav-link i { font-size: 12px; color: var(--x-accent); }
html body .nav-pills .nav-link i.fa-chevron-down { font-size: 10px; color: rgba(255, 255, 255, .45); margin-left: 1px; }
html body .nav-pills .nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html body .nav-pills .nav-link.active,
html body .nav-pills .nav-link[aria-current] { background: rgba(255, 255, 255, .08); color: #fff; }
html body .nav-pills .nav-link.nav-pill-cta {
    padding: 8px 18px; color: #fff; background: linear-gradient(to right, #4f46e5, #0ea5e9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 4px 10px -1px rgba(79, 70, 229, .45);
}
html body .nav-pills .nav-link.nav-pill-cta i { color: #fff; }
/* Letters sit about 1px low in their line box, lift them level with the icon (24 Nov 2026) */
html body .nav-pills .nav-link.nav-pill-cta .nav-cta-text { position: relative; top: -1px; }
html body .nav-pills .nav-link.nav-pill-cta:hover { background: linear-gradient(to right, #6366f1, #38bdf8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 18px -4px rgba(79, 70, 229, .6); }
html body .nav-actions { justify-self: end; }
html body .btn--wallet {
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: rgba(8, 12, 24, .6); border: 1px solid rgba(129, 140, 248, .35); color: #fff; font-weight: 600; font-size: .875rem;
}
html body .btn--wallet:hover { background: rgba(99, 102, 241, .14); border-color: rgba(129, 140, 248, .6); }
html body .btn--wallet i { color: var(--x-accent); }
html body .nav-dropdown, html body .wallet-dropdown {
    background: #141a2d; border: 1px solid var(--x-line-strong); border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
html body .nav-dropdown__link { border-radius: 12px; }
html body .nav-dropdown__link:hover { background: rgba(255, 255, 255, .05); }
html body .nav-dropdown__icon { background: rgba(99, 102, 241, .15); color: var(--x-accent); border-radius: 10px; }
html body .nav-dropdown__text strong { color: var(--x-text); font-weight: 600; }
html body .nav-dropdown__text small { color: var(--x-muted); }
html body .mobile-menu { background: #0e1120; border-top: 1px solid var(--x-line); }
html body .mobile-link { color: var(--x-soft); border-radius: 12px; }
html body .mobile-link i { color: var(--x-accent); }
html body .mobile-link.active, html body .mobile-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html body .mobile-link--highlight { background: rgba(99, 102, 241, .12); color: #fff; }
html body .mobile-menu__label { color: var(--x-dim); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html body .nav-hamburger { border: 1px solid var(--x-line-strong); border-radius: 12px; background: rgba(255, 255, 255, .04); }
@media (max-width: 1279px) {
    html body .nav-container { padding: 0 1rem; gap: .75rem; }
    html body .nav-pills .nav-link { padding: 8px 11px; }
    html body .nav-pills .nav-link:not(.nav-pill-cta) > i:first-child { display: none; }
}
@media (max-width: 900px) {
    html body .nav-links.nav-pills { display: none; }
}

/* ── Breadcrumb strip under the header, like STL ─────────── */
html body #main-content > main .page-hero,
html body #main-content > main .tool-hero,
html body #main-content > main .tool-hero__copy,
html body #main-content > main .tool-hero__grid,
html body #main-content > main.article-enhanced > div { position: static; }
html body #main-content > main { padding-top: calc(var(--x-crumb-h) + 2.5rem) !important; }
html body #main-content > main .page-hero > .page-hero__breadcrumb:first-child,
html body #main-content > main .tool-hero__copy > .page-hero__breadcrumb:first-child {
    position: absolute; top: 0; left: 0; right: 0; transform: none; z-index: 2;
    width: auto; height: var(--x-crumb-h); margin: 0; padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: flex-start;
    font-size: .875rem; background: rgba(255, 255, 255, .015); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
html body .page-hero__breadcrumb { gap: .5rem; }
html body .page-hero__breadcrumb > a { color: rgba(255, 255, 255, .5) !important; }
html body .page-hero__breadcrumb > a:hover { color: #fff !important; }
html body .page-hero__breadcrumb > span:not(:last-child) { color: rgba(255, 255, 255, .25) !important; }
html body .page-hero__breadcrumb > span:last-child { color: rgba(255, 255, 255, .82) !important; }
@media (max-width: 700px) {
    html body #main-content > main .page-hero > .page-hero__breadcrumb:first-child,
    html body #main-content > main .tool-hero__copy > .page-hero__breadcrumb:first-child { padding: 0 16px; font-size: .8125rem; }
}

/* ── Buttons: STL's set ───────────────────────────────────── */
html body .btn {
    min-height: 48px; padding: 0 22px; border-radius: 1rem;
    font-family: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: 0;
    box-shadow: none; text-shadow: none; transform: none;
    transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s, filter .2s;
}
html body .btn:hover { transform: none; }
html body .btn--sm { min-height: 38px; padding: 0 15px; font-size: .8125rem; border-radius: .75rem; }
html body .btn--lg { min-height: 56px; padding: 0 32px; font-size: 1rem; font-weight: 700; border-radius: 1rem; }
html body .btn--primary {
    background: var(--x-ice); color: #fff; border: 0; font-weight: 700;
    box-shadow: var(--x-glow);
}
html body .btn--primary:hover:not(:disabled) { background: var(--x-ice); color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 16px 34px rgba(79, 70, 229, .42); }
html body .btn--primary:active:not(:disabled) { transform: scale(.98); }
html body .btn--primary i { color: #fff !important; }
html body .btn--primary:disabled, html body .btn:disabled {
    background: rgba(255, 255, 255, .06); color: var(--x-dim); border: 1px solid var(--x-line); box-shadow: none; filter: none; opacity: 1; cursor: not-allowed;
}
html body .btn--primary:disabled i { color: var(--x-dim) !important; }
html body .btn--secondary { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
html body .btn--secondary:hover:not(:disabled) { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
html body .btn--secondary i { color: var(--x-accent); }
html body .btn--ghost { background: transparent; border: 1px solid var(--x-line); color: var(--x-soft); }
html body .btn--ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .06); border-color: var(--x-line-strong); color: #fff; }

/* ── Cards: STL's glass card ──────────────────────────────── */
html body :is(.card, .link-card, .faq-item, .token-card, .pricing-card, .price-card, .guide-cta, .stat-card, .etl-stat, .source-panel, .table-wrap, .form-card, .pxp-card, .answer-card, .article-toc, .liq-step, .etl-panel, .tool-feature),
html body .pxp-faq details,
html body .etl-v2 .card {
    background: var(--x-card);
    border: 1px solid var(--x-line);
    border-radius: var(--x-r);
    box-shadow: none;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
html body :is(.card, .link-card, .token-card, .pricing-card, .price-card, .stat-card, .etl-stat, .liq-step, .etl-panel)::before,
html body :is(.card, .link-card, .token-card, .pricing-card, .price-card, .stat-card, .etl-stat)::after,
html body .etl-v2 .card::before, html body .etl-v2 .etl-panel::before { display: none; }
html body .card { padding: 24px; }
html body :is(.card--hover, .link-card, .token-card) { transition: border-color .3s, background-color .3s, transform .3s; }
html body :is(.card--hover, .link-card, .token-card):hover {
    transform: translateY(-4px); border-color: rgba(129, 140, 248, .3); background: rgba(14, 17, 32, .95); box-shadow: none;
}
html body :is(.etl-stat, .stat-card):hover { transform: none; border-color: var(--x-line-strong); }
html body .card h3 { margin-bottom: 8px; }
html body .card p { font-size: .9375rem; line-height: 1.7; }
html body :is(.card__icon, .etl-stat__ico, .guide-cta__icon, .tool-feature__icon) {
    width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
    background: rgba(99, 102, 241, .15); border: 1px solid rgba(129, 140, 248, .22); box-shadow: none; color: var(--x-accent);
}
html body .card__icon i { color: var(--x-accent); }
html body .link-card { padding: 20px; }

/* ── Home ─────────────────────────────────────────────────── */
html body .hero { padding-top: 72px; padding-bottom: var(--x-s8); }
html body :is(.hero__eyebrow, .page-hero__eyebrow, .page-header__eyebrow, .guide-cta__eyebrow, .price-eyebrow, .launch-banner__eyebrow, .pons-addr-tool__eyebrow) {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .3rem .9rem; border-radius: 999px;
    background: rgba(79, 70, 229, .14); border: 1px solid rgba(129, 140, 248, .25);
    color: var(--x-accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6;
}
html body :is(.hero__eyebrow, .page-hero__eyebrow) i { color: var(--x-accent); }
html body .hero__pulse { background: var(--x-good); box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
html body .hero__title { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; max-width: 920px; margin: 24px auto; }
html body .hero__intro { font-size: 1.125rem; line-height: 1.7; max-width: 640px; margin: 0 auto 40px; color: rgba(255, 255, 255, .62); }
html body .etl-quick {
    max-width: 900px; gap: 12px; padding: 16px; margin-bottom: 16px;
    background: var(--x-card); border: 1px solid rgba(129, 140, 248, .35); border-radius: 1.5rem;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, .08), 0 0 40px rgba(99, 102, 241, .18), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
html body .etl-quick label { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .82); }
html body .etl-quick :is(input, select) { min-height: 50px; border-radius: var(--x-r-sm); background: var(--x-inset); border: 1px solid rgba(255, 255, 255, .09); color: #fff; font-size: 1rem; }
html body .etl-quick :is(input, select):focus { border-color: rgba(129, 140, 248, .6); box-shadow: 0 0 0 3px rgba(99, 102, 241, .3); }
html body .etl-quick .btn { min-height: 50px; }
html body .etl-quick__note { font-size: .875rem; color: var(--x-muted); margin-bottom: 32px; }
html body .eco-pill { background: rgba(255, 255, 255, .03); border: 1px solid var(--x-line); color: var(--x-soft); border-radius: 999px; padding: 6px 14px; font-size: .8125rem; font-weight: 500; }
html body .hero__stats {
    max-width: 900px; margin-top: 0; background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--x-r); box-shadow: none;
}
html body .hero__stat { padding: 24px 16px; }
html body .hero__stat + .hero__stat { border-left: 1px solid var(--x-line); }
html body .hero__stat-value {
    font-family: var(--x-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
    background: linear-gradient(135deg, #bae6fd, #a5b4fc); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
html body .hero__stat-label { font-size: .7rem; font-weight: 600; color: rgba(255, 255, 255, .42); margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; }
html body .lt-ticker { max-width: 1200px; }

/* ── Page headers: centred, like STL ──────────────────────── */
html body .page-hero::before, html body .page-hero::after, html body .hero::before, html body .hero::after { display: none; }
html body .page-hero { text-align: center; }
html body .page-hero :is(h1, p) { margin-left: auto; margin-right: auto; }
html body .page-hero p:not(.page-hero__eyebrow) { max-width: 36rem; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .62); }
html body .page-hero .page-hero__eyebrow { margin-bottom: 20px; }
html body .page-hero h1 { max-width: 52rem; }
html body .page-hero > div[style*="flex"] { justify-content: center !important; }
html body .page-hero--center > .page-hero__breadcrumb { justify-content: flex-start; }
html body .lead { font-size: 1.0625rem; color: var(--x-soft); }

/* ── Forms: STL's field ───────────────────────────────────── */
html body :is(.form-input, .form-select, .form-textarea) {
    min-height: 48px; padding: .8rem 1rem; font-size: .9375rem; color: #fff;
    background-color: var(--x-inset); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--x-r-sm);
    box-shadow: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
html body :is(.form-input, .form-select, .form-textarea):hover { border-color: rgba(255, 255, 255, .16); background-color: var(--x-inset); }
html body :is(.form-input, .form-select, .form-textarea):focus { border-color: rgba(129, 140, 248, .6); background-color: rgba(0, 0, 0, .45); box-shadow: 0 0 0 3px rgba(99, 102, 241, .3); outline: 0; }
html body :is(.form-input, .form-textarea)::placeholder { color: rgba(255, 255, 255, .45); }
html body .form-select option { background: #141a2d; color: #fff; }
html body .form-label { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .82); margin-bottom: .45rem; letter-spacing: .01em; }
html body .form-hint { font-size: .78rem; color: rgba(255, 255, 255, .5); }
html body .etl-opt { color: var(--x-dim); border-color: var(--x-line); }
html body .form-check { padding: 16px; border-radius: 14px; background: var(--x-inset); border: 1px solid var(--x-line); box-shadow: none; }
html body .form-check:hover { border-color: var(--x-line-strong); background: var(--x-inset); }
html body .form-check:has(input:checked) { border-color: rgba(129, 140, 248, .55); background: rgba(99, 102, 241, .1); box-shadow: none; }
html body .form-check input[type="checkbox"] { border-radius: 6px; border-color: var(--x-line-strong); background: var(--x-surface); }
html body .form-check input[type="checkbox"]:checked { background: var(--x-ice); border-color: transparent; box-shadow: none; }
html body .form-check input[type="checkbox"]::after { border-color: #fff; }
html body .form-check__hint { color: var(--x-muted); }
html body .fee-badge { background: rgba(99, 102, 241, .14); border: 1px solid rgba(129, 140, 248, .3); color: var(--x-accent); border-radius: 999px; }

/* ── Create and liquidity tools ───────────────────────────── */
/* The form sections get STL's glowing card and numbered chip. */
html body .etl-v2 .card, html body .etl-v2 .etl-panel, html body .liq-step { border-radius: 1.5rem; padding: 32px; }
html body .etl-v2 .card:has(.etl-sec__n), html body .liq-step {
    border-color: rgba(129, 140, 248, .3);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, .06), 0 0 36px rgba(99, 102, 241, .12);
}
html body :is(.etl-sec__n, .liq-step__n) {
    width: 32px; height: 32px; border-radius: 10px; font-family: var(--x-display); font-size: .875rem; font-weight: 700;
    background: rgba(99, 102, 241, .18); border: 1px solid rgba(129, 140, 248, .35); color: #e0e7ff; box-shadow: none;
}
html body .etl-sec__title { font-size: 1.125rem; font-weight: 700; line-height: 32px; }
html body .etl-sec__sub { font-size: .8125rem; color: rgba(255, 255, 255, .55); }
html body .etl-chain { background: var(--x-inset); border: 1px solid var(--x-line); border-radius: 14px; }
html body .etl-chain:hover { background: rgba(0, 0, 0, .45); border-color: var(--x-line-strong); transform: none; }
html body .etl-chain.is-active { background: rgba(99, 102, 241, .12); border-color: rgba(129, 140, 248, .6); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
html body .etl-chain__name { color: #fff; font-weight: 600; }
html body .etl-chain__meta { color: var(--x-dim); }
html body .etl-chain__tick { color: var(--x-accent); }
html body .etl-chain.is-active .etl-chain__logo { box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
html body .etl-receipt { background: var(--x-inset); border: 1px solid var(--x-line); border-radius: 16px; padding: 20px; }
html body .etl-receipt__row > span:first-child { color: var(--x-muted); }
html body .etl-receipt__total { border-top: 1px solid var(--x-line); }
html body .etl-receipt__total strong { font-family: var(--x-display); font-weight: 800; }
html body .etl-note { background: rgba(255, 255, 255, .03); border: 1px solid var(--x-line); border-radius: 14px; font-size: .8125rem; color: var(--x-muted); }
html body .etl-note > i { color: var(--x-good); }
html body .etl-note strong { color: var(--x-soft); }
html body .step::before { background: #141a2d; border: 1px solid var(--x-line-strong); color: var(--x-muted); font-family: var(--x-display); font-weight: 700; }
html body .step::after { background: var(--x-line); }
html body :is(.step--active, .step--done)::before { background: var(--x-ice); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .2); }
html body .step--done::after { background: linear-gradient(to right, #6366f1, #0ea5e9); }
html body .step__label { font-size: .8125rem; color: var(--x-muted); }
html body :is(.step--active, .step--done) .step__label { color: var(--x-text); }
html body .etl-v2 .logo-dropzone { border-radius: 16px; border-color: rgba(255, 255, 255, .14); background: var(--x-inset); }
html body .etl-v2 .logo-dropzone__icon { background: rgba(99, 102, 241, .15); color: var(--x-accent); box-shadow: none; }
html body .liq-chain { border-radius: var(--x-r-sm); border: 1px solid var(--x-line); background: var(--x-inset); color: var(--x-soft); }
html body .liq-chain.is-active { background: rgba(99, 102, 241, .12); border-color: rgba(129, 140, 248, .6); color: #fff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
html body .liq-step h2 { font-size: 1.125rem; font-weight: 700; }
html body :is(.liq-tokeninfo, .liq-summary, .liq-price) { background: var(--x-inset); border: 1px solid var(--x-line); border-radius: 14px; }
html body .liq-tx-list li.is-active .liq-tx__dot { background: var(--x-accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, .22); }

/* ── Guides ───────────────────────────────────────────────── */
html body main.py-20 > div > p { line-height: 1.8; }
html body .faq-item { margin-bottom: 12px; padding: 0 24px; }
html body .faq-question { font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--x-text); padding: 20px 0; }
html body .faq-question i { color: var(--x-accent); }
html body .faq-answer { color: var(--x-muted); line-height: 1.75; font-size: .9375rem; padding: 0 0 20px; }
html body .faq-item:hover { border-color: rgba(129, 140, 248, .25); }
html body .pxp-faq details { margin-bottom: 12px; }
html body .note, html body .answer-card { background: rgba(99, 102, 241, .07); border: 1px solid rgba(129, 140, 248, .2); border-radius: 16px; color: var(--x-soft); }
html body .note { border-left: 3px solid #818cf8; }
html body .answer-card::before { display: block; background: linear-gradient(#6366f1, #0ea5e9); width: 3px; }
html body .answer-card--warning { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .22); }
html body .answer-card--warning::before { background: var(--x-warn); }
html body .answer-card p { color: var(--x-soft); }
html body .answer-card__label { color: var(--x-accent); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; font-weight: 700; }
html body .article-toc__title { color: var(--x-soft); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
html body .article-toc__link { font-size: .8125rem; color: var(--x-muted); }
html body .article-toc__link[aria-current="true"] { color: #fff; border-left-color: #818cf8; background: rgba(99, 102, 241, .1); }
html body .source-panel li { font-size: .8125rem; color: var(--x-muted); }
html body .guide-cta {
    padding: 40px; border-color: rgba(129, 140, 248, .22);
    background: radial-gradient(400px 200px at 50% -60px, rgba(99, 102, 241, .3), transparent 70%), linear-gradient(135deg, rgba(30, 27, 75, .45), rgba(8, 47, 73, .45));
}
html body .code-block { background: var(--x-inset); border: 1px solid var(--x-line); border-radius: 12px; color: var(--x-soft); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ── Tables ───────────────────────────────────────────────── */
html body :is(.table-wrap, .table-container, .evidence-table-wrap) { border: 1px solid var(--x-line); border-radius: var(--x-r); background: var(--x-card); overflow-x: auto; }
html body table { font-variant-numeric: tabular-nums; border-collapse: collapse; }
html body table th {
    padding: 12px 16px; text-align: left; white-space: nowrap;
    font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--x-line);
}
html body table td { padding: 14px 16px; font-size: .875rem; color: var(--x-soft); border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
html body table tbody tr:last-child td { border-bottom: 0; }
html body table tbody tr:hover td { background: rgba(255, 255, 255, .025); }

/* ── Badges and messages ──────────────────────────────────── */
html body .badge { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
html body .badge--blue { background: rgba(99, 102, 241, .14); border-color: rgba(129, 140, 248, .3); color: var(--x-accent); }
html body .badge--green { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .25); color: var(--x-good); }
html body .badge--red { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .25); color: var(--x-bad); }
html body .badge--yellow { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .25); color: var(--x-warn); }
html body .badge--gray { background: rgba(255, 255, 255, .05); border-color: var(--x-line); color: var(--x-muted); }
html body .alert { padding: 14px 16px; border-radius: 14px; font-size: .875rem; line-height: 1.55; gap: 12px; align-items: flex-start; }
html body .alert > i:first-child { margin-top: 2px; font-size: 1rem; }
html body .alert--info { background: rgba(99, 102, 241, .1); border-color: rgba(129, 140, 248, .28); color: #e0e7ff; }
html body .alert--success { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .25); color: #d1fae5; }
html body .alert--error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); color: #fee2e2; }
html body .alert--warning { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .28); color: #fef3c7; }
html body .x-msg { display: inline-flex; align-items: flex-start; gap: 8px; }
html body .x-msg > i { margin-top: .25em; flex-shrink: 0; }

/* ── Tool sidebar (same component as STL, ETL colours) ────── */
html body .etl-side { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); border-right: 1px solid rgba(255, 255, 255, .06); }
html body .etl-side-title { color: rgba(255, 255, 255, .55); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; }
html body .etl-side-group { color: rgba(255, 255, 255, .4); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; }
html body .etl-side-search { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: .65rem; }
html body .etl-side-search:focus-within { border-color: rgba(129, 140, 248, .5); background: rgba(255, 255, 255, .06); }
html body .etl-side-toggle { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
html body .etl-side-toggle:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
html body .etl-side-link { color: rgba(255, 255, 255, .72); border-radius: .6rem; font-weight: 500; }
html body #etl-side-nav li a i { color: var(--x-accent) !important; opacity: .8; }
html body .etl-side-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
html body .etl-side-link.is-active { background: rgba(99, 102, 241, .14); color: #fff; font-weight: 600; box-shadow: inset 2px 0 0 #818cf8; }
html body #etl-side-nav li a:hover i, html body #etl-side-nav li a.is-active i { opacity: 1; }
html body .etl-side-price { color: rgba(255, 255, 255, .6); font-weight: 600; }
html body .etl-side-link:hover .etl-side-price, html body .etl-side-link.is-active .etl-side-price { color: #e0e7ff; }
html body .etl-side-feature { background: rgba(99, 102, 241, .1); border: 1px solid rgba(129, 140, 248, .28); border-radius: 14px; }
html body .etl-side-feature:hover { background: rgba(99, 102, 241, .16); border-color: rgba(129, 140, 248, .45); }
html body .etl-side-feature.is-active { border-color: rgba(129, 140, 248, .7); box-shadow: none; }
html body .etl-side-feature-icon { background: var(--x-ice); color: #fff; box-shadow: 0 4px 12px rgba(79, 70, 229, .4); border-radius: 10px; }
html body .etl-side-feature-sub, html body .etl-side-feature-arrow, html body .etl-side-feature:hover .etl-side-feature-arrow { color: var(--x-accent); }
html body .etl-side-toggle:focus-visible, html body .etl-side-link:focus-visible, html body .etl-side-feature:focus-visible { outline-color: var(--x-accent); }
html body .etl-side-empty a, html body .etl-side-all { color: var(--x-accent); }

/* ── Footer ───────────────────────────────────────────────── */
html body .site-footer { background: #060913; border-top: 1px solid var(--x-line); padding-top: var(--x-s8); }
html body .footer-inner { max-width: 1200px; gap: 40px; padding: 0 24px 56px; grid-template-columns: 1.5fr .8fr .9fr 1.6fr .9fr; }
html body .footer-logo__icon { background: linear-gradient(145deg, #6366f1, #0ea5e9); border-radius: 50%; color: #fff; box-shadow: 0 0 18px rgba(99, 102, 241, .45); }
html body .footer-logo__icon i { color: #fff; }
html body .footer-logo__text { font-family: var(--x-display); font-weight: 800; letter-spacing: -.02em; color: var(--x-text); }
html body .footer-logo__text strong { color: var(--x-accent); font-weight: 800; }
html body .footer-heading { font-family: var(--x-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
html body .footer-links a, html body .footer-tagline { color: var(--x-muted); font-size: .875rem; }
html body .footer-links a:hover { color: var(--x-accent); }
html body .footer-links li { margin-bottom: 2px; }
html body .footer-bottom, html body .footer-disclaimer-inner { max-width: 1200px; }
html body .footer-bottom { border-top: 1px solid var(--x-line); color: var(--x-dim); font-size: .8125rem; }
@media (max-width: 1100px) {
    html body .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    html body .footer-inner > .footer-links-col:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 720px) {
    html body .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    html body .footer-inner > :first-child, html body .footer-inner > .footer-links-col:nth-child(4) { grid-column: 1 / -1; }
}

/* ── Cookie banner and popups ─────────────────────────────── */
html body #cookie-banner { background: #141a2d !important; border: 1px solid var(--x-line-strong) !important; border-radius: 18px !important; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85) !important; }
html body #cookie-banner p { color: var(--x-soft) !important; }
html body #cookie-banner a, html body #cookie-banner p i { color: var(--x-accent) !important; }
html body #cookie-decline { min-height: 38px; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid var(--x-line-strong) !important; background: transparent !important; color: var(--x-soft) !important; }
html body #cookie-accept { min-height: 38px; padding: 0 16px !important; border-radius: 999px !important; border: 0 !important; background: linear-gradient(to right, #4f46e5, #0ea5e9) !important; color: #fff !important; font-weight: 700 !important; }
html body #etl-welcome-modal > div { background: #141a2d !important; border: 1px solid var(--x-line-strong) !important; border-radius: 22px !important; }
html body #_ttl_dl_overlay { background: rgba(8, 12, 24, .82); }
html body #_ttl_dl_modal { background: #141a2d; border: 1px solid var(--x-line-strong); box-shadow: 0 -20px 70px rgba(0, 0, 0, .7); }
html body ._ttl_dl_title { font-family: var(--x-display); font-weight: 800; letter-spacing: -.02em; }
html body ._ttl_dl_sub, html body ._ttl_dl_note { color: var(--x-muted); }
html body ._ttl_dl_btn { background: var(--x-inset); border: 1px solid var(--x-line-strong); border-radius: 14px; font-weight: 600; }
html body ._ttl_dl_btn:hover { background: rgba(99, 102, 241, .12); border-color: rgba(129, 140, 248, .6); }
html body .etl-mobile-cta { background: rgba(8, 12, 24, .94); border-top: 1px solid var(--x-line); }
html body .etl-mobile-cta a { background: var(--x-ice); color: #fff; font-weight: 700; border-radius: 1rem; }

/* ── Admin page ───────────────────────────────────────────── */
html body .admin-hero .container { max-width: 1320px; }
html body .admin-hero .page-hero { padding: 40px 0 0; margin-bottom: 24px; border: 0; text-align: left; }
html body .admin-hero .page-hero :is(h1, p) { margin-left: 0; margin-right: 0; }
html body .admin-hero__inner { align-items: center; }
html body .admin-hero .page-hero h1.admin-hero__title { font-size: 1.75rem; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; color: var(--x-text); gap: 12px; }
html body .admin-hero__sub { margin: 6px 0 0; font-size: .875rem; color: var(--x-muted); }
html body .net-pill { padding: 4px 10px; font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: 0; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .28); color: var(--x-good); }
html body .net-pill--test { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .28); color: var(--x-warn); }
html body .admin-logout { background: transparent; border: 1px solid var(--x-line-strong); box-shadow: none; border-radius: 999px; color: var(--x-soft); font-weight: 600; }
html body .admin-logout:hover { background: rgba(255, 255, 255, .06); color: #fff; }

html body .admin-tabs {
    display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none;
    margin: 0 0 32px; padding: 4px 6px; width: fit-content; max-width: 100%;
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); border-radius: 999px;
}
html body .admin-tab {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    min-height: 38px; margin: 0; padding: 0 16px;
    background: transparent; border: 0; border-radius: 999px;
    font-family: inherit; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .65); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s;
}
html body .admin-tab i { font-size: .75rem; color: var(--x-accent); transition: color .15s; }
html body .admin-tab:hover { background: rgba(255, 255, 255, .06); color: #fff; border: 0; }
html body .admin-tab.active { background: linear-gradient(to right, #4f46e5, #0ea5e9); color: #fff; border: 0; box-shadow: 0 4px 10px -1px rgba(79, 70, 229, .45); }
html body .admin-tab.active i { color: #fff; }
html body .tab-panel { padding-bottom: 0; }

html body .stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
html body .stat-grid + p, html body .stat-grid + div:not([class]) { margin-bottom: 12px; }
html body .stat-row-2 .stat-card { border-color: var(--x-line) !important; background: var(--x-card) !important; }
html body .stat-row-2 .stat-card > div[style*="baseline"] { order: 2; gap: 8px !important; }
html body .stat-row-2 .stat-card > div[style*="baseline"] > .stat-value { order: 0; }
html body .stat-row-2 .stat-card > div[style*="baseline"] > div:not(.stat-value) { order: 1; font-family: var(--x-display); font-weight: 700 !important; color: var(--x-muted) !important; }
html body #chainbal-grid { gap: 12px !important; }
html body #chainbal-grid > div:not([style*="grid-column"]) { background: var(--x-card) !important; border: 1px solid var(--x-line) !important; border-radius: 14px !important; padding: 14px 16px !important; }
html body #chainbal-grid > div[style*="linear-gradient"] { background: rgba(99, 102, 241, .08) !important; border: 1px solid rgba(129, 140, 248, .25) !important; border-radius: 14px !important; padding: 14px 16px !important; }
html body .stat-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
html body .stat-card { padding: 24px; display: flex; flex-direction: column; min-width: 0; }
html body .stat-icon { display: none; }
html body .stat-label { order: 1; margin: 0 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
html body .stat-value, html body .stat-value--md { order: 2; font-family: var(--x-display); font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--x-text); font-variant-numeric: tabular-nums; }
html body .stat-sub { order: 3; margin-top: 6px; font-size: .8125rem; color: var(--x-dim); }

html body .section-hd { margin-bottom: 16px; }
html body .section-hd h3 { font-size: 1.0625rem; font-weight: 700; color: var(--x-text); }
html body .section-hd h3 i { color: var(--x-accent); font-size: .875rem; }
html body .section-badge { padding: 4px 10px; font-size: .75rem; background: rgba(255, 255, 255, .05); border: 1px solid var(--x-line); color: var(--x-muted); }
html body .section-hd:has(+ .table-wrap) { margin: 0; padding: 16px 20px; background: var(--x-card); border: 1px solid var(--x-line); border-bottom: 0; border-radius: var(--x-r) var(--x-r) 0 0; }
html body .section-hd:has(+ .table-wrap) h3 i { display: none; }
html body .section-hd + .table-wrap { border-top-left-radius: 0; border-top-right-radius: 0; }
html body .admin-hero .table-wrap { margin-bottom: 32px; box-shadow: none; background: var(--x-card); }
html body .admin-hero table thead tr, html body .admin-hero table thead th { background: rgba(255, 255, 255, .03); }
html body .admin-hero table th { padding: 12px 16px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); border-bottom: 1px solid var(--x-line); }
html body .admin-hero table td { padding: 12px 16px; font-size: .875rem; color: var(--x-soft); border-bottom: 1px solid rgba(255, 255, 255, .05); }
html body .admin-hero table tbody tr:nth-child(even) td { background: transparent; }
html body .admin-hero table tbody tr:hover td { background: rgba(255, 255, 255, .025); }
html body .admin-hero .card { background: var(--x-card); border-color: var(--x-line); border-radius: var(--x-r); padding: 24px; }
html body .copy-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8125rem; color: var(--x-soft); }
html body .copy-mono:hover { color: var(--x-accent); }
html body .chain-badge { padding: 3px 10px; font-size: .75rem; }
html body .chain-badge__dot { box-shadow: none; }
html body .chain-row { background: var(--x-inset); border: 1px solid var(--x-line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
html body .chain-row:hover { border-color: var(--x-line-strong); }
html body .chain-row input[type=text] { min-height: 38px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; color: #fff; font-size: .8125rem; }
html body .chain-row input[type=text]:focus { border-color: rgba(129, 140, 248, .6); box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
html body .chain-head { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); padding: 0 16px 8px; }
html body .chain-row__unit { color: var(--x-dim); font-size: .75rem; }
html body .tgl__s { background: #2a3046; }
html body .tgl input:checked + .tgl__s { background: #6366f1; }
html body .adm-pager { padding: 12px 16px; font-size: .8125rem; color: var(--x-muted); border-top: 1px solid var(--x-line); }
html body .adm-pager button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--x-line-strong); background: transparent; color: var(--x-soft); font-weight: 600; }
html body .adm-pager button:hover:not(:disabled) { background: rgba(255, 255, 255, .06); color: #fff; }
html body .settings-grid { gap: 16px 24px; }
html body .apilog__num { font-family: var(--x-display); font-weight: 800; letter-spacing: -.02em; }
html body .apilog__cap { color: var(--x-muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Login */
html body .login-wrap::before, html body .login-wrap::after { display: none; }
html body .login-brand__icon { background: linear-gradient(145deg, #6366f1, #0ea5e9); border-radius: 50%; color: #fff; box-shadow: 0 0 22px rgba(99, 102, 241, .5); }
html body .login-brand__text { font-family: var(--x-display); font-weight: 800; letter-spacing: -.02em; }
html body .login-brand__text span { color: var(--x-accent); }
html body .login-card__icon { background: rgba(99, 102, 241, .15); border: 1px solid rgba(129, 140, 248, .3); color: var(--x-accent); }
html body .login-card__title { font-family: var(--x-display); font-weight: 800; letter-spacing: -.02em; }
html body .login-card { background: var(--x-card); border: 1px solid rgba(129, 140, 248, .28); border-radius: 1.5rem; box-shadow: 0 0 40px rgba(99, 102, 241, .14), 0 40px 80px -40px rgba(0, 0, 0, .8); }

/* ── Phones ───────────────────────────────────────────────── */
@media (max-width: 1023px) {
    html body .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    :root { --etl-page-space: 2rem; --etl-header-height: 68px; --etl-nav-h: 68px; }
    html body #main-content > main { padding-top: calc(var(--x-crumb-h) + 1.75rem) !important; }
    html body .container { padding-left: 16px; padding-right: 16px; }
    html body .nav-container { padding: 0 16px; }
    html body .nav-logo__icon { width: 40px; height: 40px; }
    html body .section { padding-block: 56px; }
    html body .section--sm { padding-block: 48px; }
    html body .hero { padding-top: 48px; padding-bottom: 48px; }
    html body .hero__title { font-size: clamp(2.125rem, 9.5vw, 3rem); margin: 20px auto; }
    html body .hero__intro { font-size: 1rem; margin-bottom: 28px; }
    html body .card, html body .admin-hero .card { padding: 20px; }
    html body .etl-v2 .card, html body .etl-v2 .etl-panel, html body .liq-step { padding: 20px; border-radius: 1.25rem; }
    html body .guide-cta { padding: 24px; }
    html body .hero__stat { padding: 18px 12px; }
    html body .hero__stat + .hero__stat { border-left: 0; }
    html body .hero__stat:nth-child(even) { border-left: 1px solid var(--x-line); }
    html body .hero__stat:nth-child(n+3) { border-top: 1px solid var(--x-line); }
    html body .admin-hero .page-hero { padding-top: 24px; }
    html body .admin-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; border-radius: 14px; }
    html body .admin-tab { flex: 0 0 auto; font-size: .8125rem; padding: 0 12px; }
    html body .stat-grid, html body .stat-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    html body .stat-card { padding: 16px; }
    html body .stat-value, html body .stat-value--md { font-size: 1.375rem; }
    html body .faq-item { padding: 0 16px; }
    html body .faq-question { padding: 16px 0; font-size: .9375rem; }
}
@media (max-width: 420px) {
    html body .stat-row-2 { grid-template-columns: 1fr; }
}

/* Warning lines written by scripts start with an icon. */
html body .liq-tokeninfo__warn::before { content: "\f071"; font-family: "Font Awesome 7 Free"; font-weight: 900; margin-right: 8px; }
html body .liq-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); border-radius: 14px; color: #fee2e2; }

/* Small fixes carried over from the 17 Nov theme. */
html body .card h2 { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 12px; }
html body .stat-row-2 .stat-card > div[style*="baseline"] > a { order: 2; margin-left: 4px !important; }
html body .admin-hero table td:first-child { white-space: nowrap; }
html body .tool-hero { border-bottom: 1px solid var(--x-line); }
html body .tool-hero::before, html body .tool-hero::after { display: none; }
html body .tool-hero__copy h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
html body .tool-hero__lead { color: rgba(255, 255, 255, .62); font-size: 1.0625rem; line-height: 1.7; }
html body #etl-toast { background-color: #141a2d !important; border-radius: 14px !important; font-family: inherit !important; font-size: .875rem !important; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85) !important; }
html body #etl-toast a { color: inherit; text-decoration: underline; }

/* Chain picker fills the row (23 Nov 2026). auto-fill kept empty tracks, so
   four cards sat to the left and "Robinhood Chain" was cut off. Phones keep
   the two-column grid from polish.css. */
@media (min-width: 641px) { html body .etl-chains { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }

:root{--stlp-acc:99,102,241;--stlp-acc-light:#a5b4fc}
html body .stlp-foot-wrap{display:block;padding-bottom:24px}

/* Footer bottom like STL (24 Nov 2026): disclaimer card, then one row of
   short items that never break inside a link, admin and Top on the right.
   --stlp-acc is this site's accent as r,g,b and --stlp-acc-light its text tint. */
.stlp-disclaimer{display:flex;gap:.75rem;align-items:flex-start;margin:3rem 0 2rem;padding:1.25rem;border-radius:1rem;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);text-align:left}
.stlp-disclaimer__icon{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin-top:2px;border-radius:.5rem;background:rgba(var(--stlp-acc),.15);border:1px solid rgba(var(--stlp-acc),.22);color:var(--stlp-acc-light);font-size:11px}
.stlp-disclaimer__title{margin:0 0 .375rem;font-size:.875rem;font-weight:600;color:rgba(255,255,255,.85);letter-spacing:0}
.stlp-disclaimer p{margin:0;font-size:.75rem;line-height:1.65;color:rgba(255,255,255,.6)}
.stlp-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.5rem;font-size:.75rem;color:rgba(255,255,255,.6)}
.stlp-foot__links{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:0;padding:0;list-style:none}
.stlp-foot__links li{display:inline-flex;align-items:center;gap:.75rem;white-space:nowrap;margin:0}
.stlp-foot__links li+li::before{content:"-";color:rgba(255,255,255,.2)}
.stlp-foot__links a{color:rgba(255,255,255,.6);text-decoration:none;transition:color .15s}
.stlp-foot__links a:hover{color:var(--stlp-acc-light)}
.stlp-foot__links em{font-style:italic}
.stlp-foot__ctrls{display:flex;flex:none;gap:.5rem}
.stlp-foot__btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:2rem;height:2rem;padding:0 .7rem;border-radius:.5rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.6);font-size:.75rem;text-decoration:none;transition:background .15s,color .15s}
.stlp-foot__btn:hover{background:rgba(255,255,255,.1);color:#fff}
@media (max-width:640px){
  .stlp-foot{flex-direction:column;text-align:center}
  .stlp-foot__links{justify-content:center}
  .stlp-foot__links li+li::before{display:none}
}

/* ── Liquidity page parts from STL's create-liquidity (24 Nov 2026) ── */
html body .stlp-hero-cta { margin-top: 2rem; display: flex; justify-content: center; }
html body .stlp-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 2rem; }
html body .stlp-stats > div { display: flex; flex-direction: column; align-items: center; padding: 0 1.5rem; }
html body .stlp-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
html body .stlp-stats strong { font-size: 1.5rem; font-weight: 800; line-height: 1.2; background: linear-gradient(135deg, #bae6fd, #a5b4fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html body .stlp-stats span { margin-top: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
html body .stlp-firstbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: 1.25rem; background: rgba(99, 102, 241, .08); border: 1px solid rgba(129, 140, 248, .22); }
html body .stlp-firstbar > span { display: inline-flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .85); font-size: .9rem; }
html body .stlp-firstbar > span i { color: var(--x-accent); }
html body :is(.stlp-pay, .stlp-checks) { margin-top: 1.5rem; padding: 1.5rem; border-radius: 1.25rem; background: var(--x-card); border: 1px solid var(--x-line); }
html body .stlp-pay__label { margin: 0 0 .9rem !important; font-size: .7rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45) !important; }
html body .stlp-pay__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .875rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
html body .stlp-pay__row span { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: .55rem; }
html body .stlp-pay__row span i { color: var(--x-accent); width: 1rem; text-align: center; }
html body .stlp-pay__row strong { color: #fff; font-weight: 700; white-space: nowrap; }
html body .stlp-pay__note { margin: .9rem 0 0 !important; font-size: .78rem !important; line-height: 1.6; color: rgba(255, 255, 255, .5) !important; }
html body .stlp-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
html body .stlp-checks li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: rgba(255, 255, 255, .75); line-height: 1.6; }
html body .stlp-checks li::before { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; position: absolute; left: 0; top: .1rem; font-size: .8rem; color: var(--x-good); }
html body .stlp-tips { display: grid; gap: 1rem; margin-top: 1rem; }
html body .stlp-tips > div { padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--x-card); border: 1px solid var(--x-line); }
html body .stlp-tips strong { display: flex; align-items: center; gap: .55rem; color: #fff; font-size: .95rem; }
html body .stlp-tips strong i { color: var(--x-accent); }
html body .stlp-tips p { margin: .45rem 0 0; font-size: .875rem; line-height: 1.7; }
@media (max-width: 560px) {
    html body .stlp-stats > div { padding: .5rem 1rem; }
    html body .stlp-firstbar { justify-content: center; text-align: center; }
}

/* ── Footer like STL's (24 Nov 2026): CTA band, five columns, disclaimer, bottom row ── */
footer.stlp-ft{display:block;margin:0;padding:0;background:#0a0d1a;border:0;color:rgba(255,255,255,.9);font-family:inherit;text-align:left}
.stlp-ft-band{position:relative;overflow:hidden;padding:4rem 1.5rem;text-align:center;background:radial-gradient(420px 220px at 50% -40px,rgba(var(--stlp-acc),.28),transparent 70%),linear-gradient(135deg,rgba(var(--stlp-acc),.16),rgba(8,12,24,0) 70%),#080c18;border-top:1px solid rgba(255,255,255,.06)}
.stlp-ft-band__eyebrow{display:inline-flex;align-items:center;gap:.6rem;margin:0 0 1rem!important;font-size:.75rem!important;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--stlp-acc-light)!important}
.stlp-ft-band__eyebrow::before,.stlp-ft-band__eyebrow::after{content:"";width:2rem;height:1px;background:rgba(var(--stlp-acc),.45)}
.stlp-ft-band h2{margin:0;font-size:clamp(1.875rem,4vw,2.25rem);font-weight:800;line-height:1.15;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.stlp-ft-band h2 span{background:linear-gradient(to right,#7dd3fc,#a5b4fc 50%,#c4b5fd);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.stlp-ft-band__lead{max-width:32rem;margin:1rem auto 0!important;font-size:1rem!important;line-height:1.6;color:rgba(255,255,255,.6)!important}
.stlp-ft-band__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:2rem}
.stlp-ft-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;padding:.875rem 2rem;border-radius:1rem;font-size:1rem;font-weight:700;color:#fff!important;text-decoration:none!important;background:linear-gradient(to right,#4f46e5,#0ea5e9);box-shadow:0 14px 30px -10px rgba(var(--stlp-acc),.6);transition:transform .2s,filter .2s}
.stlp-ft-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
.stlp-ft-btn--ghost{padding:.875rem 1.75rem;font-size:.875rem;font-weight:600;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)}
.stlp-ft-btn--ghost i{color:var(--stlp-acc-light)}
.stlp-ft-btn--ghost:hover{background:rgba(255,255,255,.12)}
.stlp-ft-band__small{margin:1.25rem 0 0!important;font-size:.75rem!important;color:rgba(255,255,255,.42)!important}
.stlp-ft-body{background:#0a0d1a;border-top:1px solid rgba(255,255,255,.08)}
.stlp-ft-wrap{max-width:1280px;margin:0 auto;padding:3.5rem 2.5rem 2rem}
.stlp-ft-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2.25rem}
.stlp-ft-logo{display:inline-flex;align-items:center;gap:.7rem;margin-bottom:1rem;text-decoration:none!important}
.stlp-ft-mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:linear-gradient(to right,#4f46e5,#0ea5e9);box-shadow:0 0 0 1px rgba(255,255,255,.15),0 0 20px rgba(var(--stlp-acc),.4)}
.stlp-ft-mark img,.stlp-ft-mark>svg{width:100%;height:100%;object-fit:cover}
.stlp-ft-mark svg[width="22"],.stlp-ft-mark svg[width="24"]{width:24px;height:24px}
.stlp-ft-name{font-size:1.1rem;font-weight:800;letter-spacing:-.02em;color:#fff}
.stlp-ft-acc{color:var(--stlp-acc-light)}
.stlp-ft-brand p{margin:0!important;font-size:.875rem!important;line-height:1.65;color:rgba(255,255,255,.55)!important}
.stlp-ft-social{display:flex;gap:.5rem;margin-top:1.25rem}
.stlp-ft-social a{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.5rem;font-size:.875rem;color:rgba(255,255,255,.55);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);text-decoration:none;transition:background .2s,color .2s}
.stlp-ft-social a:hover{color:var(--stlp-acc-light);background:rgba(var(--stlp-acc),.2)}
h3.stlp-ft-h{margin:0 0 1rem!important;padding:0;font-family:inherit;font-size:.75rem!important;font-weight:700!important;letter-spacing:.12em!important;text-transform:uppercase;color:rgba(255,255,255,.6)!important;line-height:1.4}
h3.stlp-ft-h--gap{margin-top:2rem!important}
ul.stlp-ft-links{display:grid!important;gap:.625rem;margin:0;padding:0;list-style:none}
ul.stlp-ft-links li{margin:0;padding:0}
ul.stlp-ft-links a{display:inline-flex!important;align-items:center;gap:.45rem;padding:0!important;font-size:.875rem!important;line-height:1.4;color:rgba(255,255,255,.55)!important;text-decoration:none!important;transition:color .2s}
ul.stlp-ft-links a::before{content:"";flex:none;width:4px;height:4px;border-radius:50%;background:transparent;transition:background .2s}
ul.stlp-ft-links a:hover{color:var(--stlp-acc-light)!important}
ul.stlp-ft-links a:hover::before{background:rgb(var(--stlp-acc))}
.stlp-ft-mail{display:inline-flex!important;align-items:center;gap:.5rem;max-width:100%;font-size:.875rem!important;color:rgba(255,255,255,.55)!important;text-decoration:none!important;white-space:nowrap;font-size:.8125rem!important}
.stlp-ft-mail span,.stlp-ft-trust span{display:grid;place-items:center;flex:none;border-radius:.4rem;background:rgba(var(--stlp-acc),.13);color:var(--stlp-acc-light)}
.stlp-ft-mail span{width:1.75rem;height:1.75rem;font-size:10px}
.stlp-ft-mail:hover{color:var(--stlp-acc-light)!important}
.stlp-ft-trust{display:grid;gap:.625rem}
.stlp-ft-trust>div{display:flex;align-items:center;gap:.6rem;font-size:.8125rem;white-space:nowrap;color:rgba(255,255,255,.55)}
.stlp-ft-trust span{width:1.5rem;height:1.5rem;font-size:9px}
.stlp-ft-pills{display:flex;flex-wrap:wrap;gap:.375rem}
.stlp-ft-pills span{padding:.25rem .625rem;border-radius:999px;font-size:11px;color:rgba(255,255,255,.5);background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);white-space:nowrap}
hr.stlp-ft-hr{height:0;margin:2.5rem 0;border:0;border-top:1px solid rgba(255,255,255,.08)}
footer.stlp-ft .stlp-disclaimer{margin:0 0 2rem}
footer.stlp-ft .stlp-disclaimer p+p{margin-top:.5rem!important}
@media (max-width:1200px){.stlp-ft-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stlp-ft-brand{grid-column:1/-1}}
@media (max-width:900px){.stlp-ft-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.5rem}}
@media (max-width:600px){.stlp-ft-wrap{padding:2.75rem 1.25rem 1.5rem}.stlp-ft-grid{grid-template-columns:1fr;gap:2rem}.stlp-ft-band{padding:3rem 1.25rem}.stlp-ft-btn{width:100%}}

/* Dashboard title centred like every other page (24 Nov 2026). */
html body .etl-dash-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
html body .etl-dash-head p { margin-left: auto; margin-right: auto; }
html body .etl-dash-actions { justify-content: center; }

/* "Next step" card after a tool succeeds, the same as STL's (24 Nov 2026). Uses this site's --stlp-acc colours. */
.gmn{margin:2rem 0 0}
.gmn-box{max-width:52rem;margin:0 auto;padding:1.25rem;border-radius:1.25rem;background:linear-gradient(135deg,rgba(var(--stlp-acc),.1),rgba(var(--stlp-acc),.03));border:1px solid rgba(var(--stlp-acc),.3);animation:gmn-in .35s ease both;text-align:left}
.gmn-eyebrow{display:flex;align-items:center;gap:.4rem;margin:0 0 .25rem!important;font-size:.7rem!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--stlp-acc-light)!important}
.gmn-title{margin:0 0 .9rem!important;font-size:1.25rem!important;font-weight:800;color:#fff!important;letter-spacing:-.01em}
.gmn-grid{display:grid;gap:.6rem}
.gmn-card{display:flex;align-items:center;gap:.85rem;min-height:56px;padding:.8rem .9rem;border-radius:.9rem;text-decoration:none!important;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);transition:background .15s,border-color .15s}
.gmn-card:hover{background:rgba(255,255,255,.07);border-color:rgba(var(--stlp-acc),.45)}
.gmn-card:focus-visible{outline:2px solid rgba(var(--stlp-acc),.7);outline-offset:2px}
.gmn-icon{flex:0 0 2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;border-radius:.65rem;background:linear-gradient(135deg,rgb(var(--stlp-acc)),rgba(var(--stlp-acc),.6));color:#fff;font-size:.85rem}
.gmn-text{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}
.gmn-name{font-size:.95rem;font-weight:700;color:#fff}
.gmn-price{margin-left:.35rem;font-size:.7rem;font-weight:600;color:var(--stlp-acc-light)}
.gmn-why{font-size:.825rem;color:rgba(255,255,255,.6);line-height:1.4}
.gmn-arrow{flex-shrink:0;font-size:.75rem;color:rgba(255,255,255,.35)}
.gmn-card:hover .gmn-arrow{color:var(--stlp-acc-light)}
@media (min-width:768px){.gmn-grid{grid-template-columns:1fr 1fr}.gmn-box{padding:1.5rem}}
@keyframes gmn-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.gmn-box{animation:none}}

/* Header from 901 to 1100px (24 Nov 2026): the site name now stays, so the
   pills and wallet button tighten a little to keep everything on screen. */
@media (max-width: 1100px) and (min-width: 901px) {
    html body .nav-container { padding: 0 1rem; gap: .75rem; }
    html body .nav-pills .nav-link { padding: 8px 10px; }
    html body .nav-pills .nav-link.nav-pill-cta { padding: 8px 14px; }
    html body .btn--wallet { padding: 0 16px; }
}
@media (max-width: 980px) and (min-width: 901px) {
    html body .nav-pills .nav-link:not(.nav-pill-cta) > i:not(.fa-chevron-down) { display: none; }
    html body .nav-pills .nav-link { padding: 8px 8px; }
}

/* Dropdown lists in dark colours (24 Nov 2026). Without this the browser opens
   a select's list in plain light grey on these dark pages. Applies to every select,
   not only .form-select (the home quick form has no class). */
html body select { color-scheme: dark; }
html body select option, html body select optgroup { background-color: #141a2d; color: #fff; }
html body select option:disabled { color: rgba(255, 255, 255, .45); }

/* Admin spacing (24 Nov 2026): one gap scale on every admin tab, desktop and phone.
   24px between sections, 12px from a section heading to what it heads, 12px inside
   grids. A heading bar joined to its table stays joined. Last in this file and
   scoped to main.admin-hero so it wins over the admin rules above. */
html body #main-content main.admin-hero .page-hero{margin-bottom:0;padding-bottom:0}
html body main.admin-hero .admin-tabs{margin-top:24px;margin-bottom:24px}
html body main.admin-hero .tab-panel{padding-bottom:48px}
html body main.admin-hero .tab-panel>*{margin-top:0;margin-bottom:0}
/* ~ skips hidden inputs and scripts. Inside a form only cards are spaced, rows keep their own layout. */
html body main.admin-hero .tab-panel>:not(input,script,style)~:not(input,script,style){margin-top:24px}
html body main.admin-hero .tab-panel>form>.card{margin-top:0;margin-bottom:0}
html body main.admin-hero .tab-panel>form>.card~.card,html body main.admin-hero .tab-panel>form>.card~div:not(.card){margin-top:24px}
html body main.admin-hero .tab-panel>.section-hd+*{margin-top:12px}
html body main.admin-hero .tab-panel>.section-hd+p{margin-top:8px}
html body main.admin-hero .tab-panel>.section-hd+p+*{margin-top:12px}
html body main.admin-hero .tab-panel>.section-hd+.table-wrap{margin-top:0}
html body main.admin-hero :is(.stat-grid,.stat-row-2){gap:12px}
html body main.admin-hero .admin-hero__title{flex-wrap:wrap;row-gap:8px}
/* Admin tabs on phones (24 Nov 2026): a 3-across grid instead of a strip that
   ran off the screen, so every tab is visible without sideways scrolling. */
@media (max-width: 700px) {
    html body main.admin-hero .admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;overflow:visible;padding:6px;border-radius:16px}
    html body main.admin-hero .admin-tab{justify-content:center;gap:6px;min-height:40px;padding:0 6px;border-radius:12px;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
