:root {
    color-scheme: light dark;
    --brand: #0f6e78;
    --brand-hi: #0b8b99;
    --brand-ink: #08454c;
    --brand-wash: #eaf4f5;
    --accent: #a8551d;
    --ink: #101418;
    --body: #2b3138;
    --muted: #59626c;
    --subtle: #6b737d;
    --bg: #fcfbf9;
    --surface: #ffffff;
    --surface-alt: #f5f3ef;
    --surface-dark: #101418;
    --on-dark: #ffffff;
    --on-dark-muted: #c9cfd6;
    --line: #e4dfd7;
    --line-ui: #9b9285;
    --ok: #14663b;
    --ok-bg: #eef7f1;
    --warn: #8a4f08;
    --warn-bg: #fdf5e9;
    --stop: #a52322;
    --stop-bg: #fdf1f0;
    --gap-xs: 6px;
    --gap-sm: 12px;
    --gap: 20px;
    --gap-lg: 32px;
    --gap-xl: 56px;
    --gutter: 20px;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgb(16 20 24 / .06);
    --shadow: 0 2px 8px rgb(16 20 24 / .07), 0 1px 2px rgb(16 20 24 / .04);
    --shadow-lg: 0 12px 32px rgb(16 20 24 / .12);
    --shadow-header: 0 1px 0 rgb(16 20 24 / .07), 0 4px 14px rgb(16 20 24 / .05);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --measure: 70ch;
    --icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 1h9v9h-2V4.4L5.7 11.7 4.3 10.3 11.6 3H6V1z'/%3E%3Cpath d='M1 4h5v2H3v7h7v-3h2v5H1V4z'/%3E%3C/svg%3E");
    --wrap: 1240px;
    --toc-w: 280px;
    --header-h: 62px;
    --header-total: 63px;
    --sticky-offset: 81px;
    --header-stuck-bg: rgb(255 255 255 / .82);
    --bar-grad: linear-gradient(90deg, #08454c 0%, #0f6e78 55%, #0b8b99 100%);
    --logo-navy: #16294d;
    --logo-green: #4b9b3f;
    --logo-gold: #f0b41c;
    --btn-bg: #0f6e78;
    --btn-fg: #ffffff;
    --btn-bg-hover: #0b565f;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --brand: #4fc3d1;
        --brand-hi: #7ad9e5;
        --brand-ink: #a5e5ee;
        --brand-wash: #14282d;
        --accent: #e0904f;
        --ink: #f1f4f6;
        --body: #d2d8de;
        --muted: #a4aeb8;
        --subtle: #8b959f;
        --bg: #0b0f12;
        --surface: #131a1f;
        --surface-alt: #1a2229;
        --surface-dark: #080b0e;
        --line: #29323a;
        --line-ui: #5d6873;
        --ok: #58cc8c;
        --ok-bg: #0e2418;
        --warn: #e3a857;
        --warn-bg: #2a1e0a;
        --stop: #f08b88;
        --stop-bg: #2b1211;
        --shadow-sm: 0 1px 2px rgb(0 0 0 / .5);
        --shadow: 0 2px 8px rgb(0 0 0 / .55);
        --shadow-lg: 0 12px 32px rgb(0 0 0 / .65);
        --shadow-header: 0 1px 0 rgb(255 255 255 / .06), 0 4px 14px rgb(0 0 0 / .5);
        --header-stuck-bg: rgb(19 26 31 / .82);
        --bar-grad: linear-gradient(90deg, #06333a 0%, #0b4d55 55%, #0f6570 100%);
        --logo-navy: #dbe4f3;
        --logo-green: #6bc55c;
        --logo-gold: #f5c542;
        --btn-bg: #4fc3d1;
        --btn-fg: #06232a;
        --btn-bg-hover: #7ad9e5;
    }
}
:root[data-theme="dark"] {
    --brand: #4fc3d1;
    --brand-hi: #7ad9e5;
    --brand-ink: #a5e5ee;
    --brand-wash: #14282d;
    --accent: #e0904f;
    --ink: #f1f4f6;
    --body: #d2d8de;
    --muted: #a4aeb8;
    --subtle: #8b959f;
    --bg: #0b0f12;
    --surface: #131a1f;
    --surface-alt: #1a2229;
    --surface-dark: #080b0e;
    --line: #29323a;
    --line-ui: #5d6873;
    --ok: #58cc8c;
    --ok-bg: #0e2418;
    --warn: #e3a857;
    --warn-bg: #2a1e0a;
    --stop: #f08b88;
    --stop-bg: #2b1211;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .5);
    --shadow: 0 2px 8px rgb(0 0 0 / .55);
    --shadow-lg: 0 12px 32px rgb(0 0 0 / .65);
    --shadow-header: 0 1px 0 rgb(255 255 255 / .06), 0 4px 14px rgb(0 0 0 / .5);
    --header-stuck-bg: rgb(19 26 31 / .82);
    --bar-grad: linear-gradient(90deg, #06333a 0%, #0b4d55 55%, #0f6570 100%);
    --logo-navy: #dbe4f3;
    --logo-green: #6bc55c;
    --logo-gold: #f5c542;
    --btn-bg: #4fc3d1;
    --btn-fg: #06232a;
    --btn-bg-hover: #7ad9e5;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
}
html, body { max-width: 100%; }
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:visited { color: var(--brand-ink); }
a:hover { color: var(--brand-hi); text-decoration-thickness: 2px; }
strong, b { font-weight: 650; color: var(--ink); }
em { font-style: italic; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.015em;
    scroll-margin-top: var(--sticky-offset);
    overflow-wrap: break-word;
}
h1 {
    font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.5rem);
    letter-spacing: -.028em;
    margin: 0 0 var(--gap-sm);
}
h2 {
    font-size: clamp(1.32rem, 1.15rem + .7vw, 1.6rem);
    margin: var(--gap-xl) 0 var(--gap-sm);
    padding-top: var(--gap-lg);
    border-top: 1px solid var(--line);
}
.answer + h2, .toc + h2, .byline + h2 { border-top: 0; padding-top: 0; margin-top: var(--gap-lg); }
h3 { font-size: 1.16rem; margin: var(--gap-lg) 0 var(--gap-xs); }
h4 { font-size: 1.03rem; margin: var(--gap) 0 var(--gap-xs); }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em 1.5rem; padding-left: .35rem; }
li { margin-bottom: .5em; padding-left: .2rem; }
li:last-child { margin-bottom: 0; }
li > ul, li > ol { margin-top: .5em; margin-bottom: 0; }
ul { list-style: disc; }
ul ul { list-style: circle; }
ol { list-style: decimal; }
ol ol { list-style: lower-alpha; }
li::marker { color: var(--brand); }
h1 + p, h2 + p, h3 + p, h4 + p { margin-top: 0; }
.shell > :where(p, ul, ol, blockquote),
.shell section > :where(p, ul, ol, blockquote) { max-width: var(--measure); }
:where(.toc, .faq, .related, .breadcrumbs, .footer-col, .author-card, .alert) :where(p, ul, ol),
.shell > .answer,
.shell > .byline,
.shell > .breadcrumbs,
.shell > .source-note,
.no-measure { max-width: none; }
dl { margin: 0 0 var(--gap); }
dt { font-weight: 650; color: var(--ink); margin-top: var(--gap-sm); }
dd { margin: 0 0 var(--gap-xs); padding-left: 0; max-width: var(--measure); }
blockquote {
    margin: var(--gap) 0;
    padding: var(--gap-sm) var(--gap);
    border-left: 3px solid var(--brand);
    background: var(--surface-alt);
    color: var(--muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: .9em;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 5px;
    overflow-wrap: break-word;
}
dfn { font-style: normal; font-weight: 650; color: var(--ink); border-bottom: 2px dotted var(--brand); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--gap-lg) 0; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
.shell {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: var(--gap-lg) var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: var(--gap-xl);
    align-content: start;
}
.shell > * { grid-column: 1; min-width: 0; }
.shell:not(:has(> .toc)) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}
.shell > section { padding-bottom: var(--gap-sm); }
.answer + * { margin-top: var(--gap-lg); }
.site-header { display: contents; }
.header-sentinel {
    display: block;
    height: 1px;
    margin-bottom: -1px;
}
.main-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s ease;
}
.main-bar.is-stuck {
    background: var(--header-stuck-bg);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: var(--shadow-header);
}
.main-bar-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}
.top-nav { flex: 1 1 auto; min-width: 0; }
.top-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.top-nav > ul > li { margin: 0; align-self: stretch; }
.top-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 15px;
    font-weight: 650;
    font-size: .92rem;
    letter-spacing: .015em;
    color: var(--muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background .16s ease, color .16s ease;
}
.top-nav > ul > li > a:hover,
.top-nav > ul > li > a.active { background: var(--brand-wash); color: var(--brand); }
.top-nav > ul > li:hover > a { background: var(--brand-wash); color: var(--brand); }
.mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.has-mega > a { position: relative; z-index: 2; }
.has-mega:hover > a::after,
.has-mega:focus-within > a::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: var(--header-h);
}
.mega-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--gap-lg) var(--gutter);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: var(--gap-lg);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega a { color: var(--body); }
.mega .mega-title {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.mega a.mega-title:hover { color: var(--brand); }
.mega .mega-col ul a {
    display: block;
    padding: 7px 10px 7px 0;
    color: var(--muted);
    text-decoration: none;
    font-size: .93rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color .14s ease, padding-left .14s ease;
}
.mega .mega-col ul a:hover { color: var(--brand); padding-left: 6px; }
.mega .mega-hub {
    display: block;
    padding: 14px 16px;
    background: var(--brand-wash);
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease;
}
.mega .mega-hub:hover { border-color: var(--brand); transform: translateY(-2px); }
.mega-hub-label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 3px; }
.mega-hub:hover .mega-hub-label { color: var(--brand); }
.mega-hub-note { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 993px) {
    .has-mega:hover > .mega,
    .has-mega:focus-within > .mega { display: block; }
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand svg { height: 44px; width: auto; }
.logo-rim-a { stroke: var(--logo-navy); }
.logo-rim-b { stroke: var(--logo-green); }
.logo-hand  { fill: var(--logo-navy); }
.logo-figure-center { fill: var(--logo-navy); stroke: var(--logo-navy); }
.logo-figure-left   { fill: var(--logo-green); }
.logo-figure-right  { fill: var(--logo-gold); }
.logo-word-a { fill: var(--ink); transition: fill .2s ease; }
.logo-word-b { fill: var(--brand); transition: fill .2s ease; }
.logo-word, .logo-tag { font-family: var(--font); }
.logo-tag    { fill: var(--subtle); }
.brand:hover .logo-word-a,
.brand:focus-visible .logo-word-a { fill: var(--brand); }
.brand:hover .logo-word-b,
.brand:focus-visible .logo-word-b { fill: var(--accent); }
.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--line-ui);
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    padding: 9px 14px;
    cursor: pointer;
    min-height: 44px;
}
.menu-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px;
    background: currentColor; transition: transform .18s ease;
}
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.top-bar {
    background: var(--bar-grad);
    font-size: 13.5px;
}
.top-bar-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    min-height: 42px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    background: rgb(255 255 255 / .15);
    transition: background .16s ease, transform .16s ease;
}
.social-link:hover,
.social-link:focus-visible { background: rgb(255 255 255 / .3); color: #fff; transform: translateY(-1px); }
.nav-bar { flex: 1 1 auto; min-width: 0; }
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    row-gap: 0;
    column-gap: var(--gap-lg);
}
.nav-mobile-only { display: none; }
.nav-menu li { position: relative; margin: 0; }
.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 13px 0;
    text-decoration: none;
    font-weight: 550;
    font-size: .97rem;
    color: var(--muted);
}
.nav-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--brand); }
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }
.nav-menu > li > a.active { font-weight: 650; }
.nav-arrow { font-size: 10px; opacity: .7; }
@media (min-width: 993px) {
    .top-bar .nav-menu > li > a { color: rgb(255 255 255 / .92); }
    .top-bar .nav-menu > li > a:hover,
    .top-bar .nav-menu > li > a.active { color: #fff; }
    .top-bar .nav-menu > li > a::after { background: #fff; }
    .top-bar .nav-arrow { opacity: .85; }
}
.dropdown, .sub-dropdown {
    display: none;
    position: absolute;
    min-width: 262px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin: 0;
    list-style: none;
    z-index: 40;
}
.dropdown { top: 100%; left: -6px; }
.sub-dropdown { top: -7px; left: 100%; }
.dropdown a, .sub-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    white-space: normal;
    font-weight: 450;
    font-size: .95rem;
    color: var(--muted);
}
.dropdown a::after, .sub-dropdown a::after { display: none; }
.dropdown a:hover, .sub-dropdown a:hover { background: var(--brand-wash); color: var(--brand); }
@media (min-width: 993px) {
    .has-dropdown:hover > .dropdown,
    .has-dropdown:focus-within > .dropdown,
    .has-sub-dropdown:hover > .sub-dropdown,
    .has-sub-dropdown:focus-within > .sub-dropdown { display: block; }
}
.search { position: relative; flex-shrink: 0; width: 240px; }
.search-field {
    display: flex;
    align-items: center;
    background: var(--surface-alt);
    border: 1px solid var(--line-ui);
    border-radius: 999px;
    padding-left: 12px;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.search-field:focus-within {
    background: var(--surface);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-wash);
}
.search-icon { flex-shrink: 0; color: var(--muted); }
.search-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    padding: 9px 8px;
    min-height: 40px;
}
.search-field input:focus { outline: none; }
.search-field input::placeholder { color: var(--subtle); }
.search-field input::-webkit-search-cancel-button { cursor: pointer; }
.search-submit {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; min-height: 40px;
    border: 0; border-radius: 999px;
    background: transparent; color: var(--brand);
    font-size: 1.05rem; cursor: pointer;
}
.search-submit:hover { color: var(--brand-hi); }
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(420px, 78vw);
    max-height: min(60vh, 460px);
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 70;
}
.search-suggestions[hidden] { display: none; }
.search-suggestions li { margin: 0; }
.search-suggestions a,
.search-suggestions .search-empty {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--body);
}
.search-suggestions a strong { display: block; color: var(--ink); font-weight: 650; font-size: .95rem; }
.search-suggestions a span { display: block; font-size: .84rem; color: var(--subtle); }
.search-suggestions a:hover,
.search-suggestions a[aria-selected="true"] { background: var(--brand-wash); }
.search-suggestions a[aria-selected="true"] strong { color: var(--brand); }
.search-empty { color: var(--muted); font-size: .92rem; }
.search-page { width: 100%; max-width: 560px; margin: 0 0 var(--gap-lg); }
.search-page .search-field { padding-left: 16px; }
.search-page .search-field input { min-height: 50px; font-size: 1rem; }
.search-page .search-submit { width: 48px; min-height: 50px; }
.search-count { color: var(--muted); margin-bottom: var(--gap); }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap-sm); }
.search-result {
    margin: 0;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.search-result:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.search-result-section {
    display: inline-block;
    font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 5px;
}
.search-result-title { display: block; font-size: 1.06rem; font-weight: 650; text-decoration: none; margin-bottom: 4px; }
.search-result-snippet { font-size: .93rem; color: var(--muted); margin: 0 0 6px; max-width: none; }
.search-result-url { font-size: .82rem; color: var(--subtle); }
.search-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--gap); padding: 0; }
.search-chips li { margin: 0; }
.search-chips a {
    display: inline-block;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-size: .92rem; font-weight: 550;
    color: var(--body);
}
.search-chips a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }
.site-footer {
    flex-shrink: 0;
    background: var(--surface-dark);
    color: var(--on-dark-muted);
    margin-top: var(--gap-xl);
}
.footer-columns {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--gap-xl) var(--gutter) var(--gap-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--gap-lg);
}
.footer-heading {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--on-dark);
    margin: 0 0 var(--gap-sm);
    padding: 0;
    border: 0;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.footer-col a {
    display: inline-block;
    min-height: 24px;
    padding: 3px 0;
    text-decoration: none;
    color: var(--on-dark-muted);
    font-size: .95rem;
}
.footer-col a:hover { color: var(--brand-hi); text-decoration: underline; }
.footer-col a:visited { color: var(--on-dark-muted); }
.footer-note { color: var(--subtle); font-size: .9rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--gap-sm) !important; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 0 14px;
    border: 1px solid rgb(255 255 255 / .18); border-radius: var(--radius-sm);
}
.footer-social a:hover { border-color: var(--brand-hi); background: rgb(255 255 255 / .05); }
.footer-disclaimer { border-top: 1px solid rgb(255 255 255 / .1); }
.footer-disclaimer p {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--gap) var(--gutter);
    font-size: .89rem;
    color: var(--on-dark-muted);
}
.footer-disclaimer a { color: var(--brand-hi); }
.footer-bottom {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--gap-sm) var(--gutter) var(--gap-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    font-size: .88rem;
    color: var(--subtle);
    border-top: 1px solid rgb(255 255 255 / .1);
}
.scroll-top {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 0 4px;
    text-decoration: none; font-weight: 600; color: var(--brand-hi);
}
.toc {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    margin: var(--gap) 0 var(--gap-lg);
    overflow: hidden;
}
.toc-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-sm);
    padding: 12px 16px;
    min-height: 46px;
    background: var(--surface-alt);
}
.toc-heading {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
    padding: 0;
    border: 0;
}
.toc-toggle-icon { font-size: 1rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.toc details[open] .toc-toggle-icon { transform: rotate(180deg); }
.toc-body { padding: var(--gap-sm) 10px; }
.toc-body ol, .toc-body ul { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-body li { margin: 0; }
.toc-body a {
    display: block;
    position: relative;
    padding: 7px 10px 7px 14px;
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-decoration: none;
    font-size: .92rem;
    line-height: 1.45;
    color: var(--muted);
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.toc-body a:hover { background: var(--brand-wash); color: var(--brand); }
.toc-body a.is-current {
    color: var(--brand);
    background: var(--brand-wash);
    border-left-color: var(--brand);
    font-weight: 650;
}
.answer {
    font-size: 1.1rem;
    line-height: 1.62;
    color: var(--ink);
    margin: var(--gap) 0 var(--gap-lg);
    padding: var(--gap) var(--gap-lg);
    background: var(--brand-wash);
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.alert {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: var(--gap) 0;
}
.alert > :last-child { margin-bottom: 0; }
.alert ul, .alert ol { margin-bottom: 0; }
.alert-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.alert-ok   { border-left-color: var(--ok);   background: var(--ok-bg);   border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.alert-warn { border-left-color: var(--warn); background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.alert-stop { border-left-color: var(--stop); background: var(--stop-bg); border-color: color-mix(in srgb, var(--stop) 25%, transparent); }
.alert-ok   .alert-title { color: var(--ok); }
.alert-warn .alert-title { color: var(--warn); }
.alert-stop .alert-title { color: var(--stop); }
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    white-space: nowrap;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-approved    { color: var(--ok);   background: var(--ok-bg); }
.status-pending     { color: var(--warn); background: var(--warn-bg); }
.status-declined    { color: var(--stop); background: var(--stop-bg); }
.status-confirmed   { color: var(--ok);   background: var(--ok-bg); }
.status-unconfirmed { color: var(--stop); background: var(--stop-bg); }
.verdict-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 var(--gap-sm);
    max-width: none;
}
.verdict-claim { color: var(--muted); font-style: italic; font-size: .93rem; }
.byline {
    font-size: .89rem;
    color: var(--muted);
    margin: 0 0 var(--gap);
    padding-bottom: var(--gap-sm);
    border-bottom: 1px solid var(--line);
}
.byline a { font-weight: 650; }
.byline-line { display: flex; flex-wrap: wrap; gap: 4px var(--gap-sm); margin: 0; max-width: none; }
.byline-item { display: inline-flex; align-items: center; gap: 5px; }
.byline-item + .byline-item::before { content: "·"; color: var(--line-ui); margin-right: 5px; }
.review-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: var(--gap-xl) 0 0;
    padding: 14px 18px;
    background: var(--ok-bg);
    border: 1px solid color-mix(in srgb, var(--ok) 22%, transparent);
    border-left: 4px solid var(--ok);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .9rem;
    color: var(--body);
}
.review-note strong { color: var(--ink); }
.review-note a { font-weight: 600; }
.review-check {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 21px; height: 21px;
    border-radius: 50%;
    background: var(--ok); color: #fff;
    font-size: .74rem; font-weight: 700;
    transform: translateY(1px);
}
.review-note + .author-card { margin-top: var(--gap-sm); }
.breadcrumbs { font-size: .86rem; color: var(--subtle); margin-bottom: var(--gap-sm); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--line-ui); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.source-note {
    font-size: .88rem;
    color: var(--subtle);
    border-top: 1px solid var(--line);
    padding-top: var(--gap-sm);
    margin-top: var(--gap-lg);
}
.shell a[target="_blank"]::after {
    content: "";
    display: inline-block;
    width: .62em;
    height: .62em;
    margin-left: .3em;
    vertical-align: baseline;
    background-color: currentColor;
    opacity: .55;
    -webkit-mask: var(--icon-external) no-repeat center / contain;
    mask: var(--icon-external) no-repeat center / contain;
}
.shell a[target="_blank"]:hover::after { opacity: 1; }
.guide-box a[target="_blank"]::after,
.related a[target="_blank"]::after,
.btn[target="_blank"]::after,
.mega a[target="_blank"]::after { content: none; }
.guide-box {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: var(--gap-sm) 0;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.guide-box:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-box:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.guide-label {
    display: inline-block;
    font-size: .72rem; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 6px;
}
.guide-title {
    display: block;
    font-size: 1.08rem; font-weight: 650;
    color: var(--ink); text-decoration: none;
    margin-bottom: 4px;
}
.guide-box:hover .guide-title { color: var(--brand); }
.guide-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-title:focus-visible { outline: none; }
.guide-description { display: block; font-size: .94rem; color: var(--muted); line-height: 1.55; }
.steps { counter-reset: step; list-style: none; margin: var(--gap) 0; padding: 0; }
.steps > li {
    counter-increment: step;
    position: relative;
    padding: 0 0 var(--gap) 52px;
    margin: 0;
    border-left: 2px solid var(--line);
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
    content: counter(step);
    position: absolute; left: -17px; top: -2px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff;
    border-radius: 50%; font-weight: 700; font-size: .88rem;
    box-shadow: 0 0 0 4px var(--bg);
}
.related {
    position: relative;
    margin: var(--gap-xl) 0 0;
    padding: var(--gap-lg) var(--gap-lg) calc(var(--gap-lg) - 4px);
    background:
        radial-gradient(120% 100% at 0% 0%, var(--brand-wash) 0%, transparent 62%),
        var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.related::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-hi) 55%, var(--accent));
}
.related h2 {
    margin: 0 0 var(--gap);
    padding: 0;
    border: 0;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}
.related h2::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--line);
}
.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.related li { margin: 0; }
.related a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 14px 44px 14px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: .97rem;
    line-height: 1.45;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.related a::before {
    content: "";
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--brand);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.related a::after {
    content: "›";
    position: absolute;
    right: 18px;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--line-ui);
    transition: transform .2s ease, color .18s ease;
}
.related-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.related-section {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}
.related-title { font-weight: 600; color: inherit; }
.related-note { font-size: .87rem; font-weight: 400; color: var(--muted); }
.related a:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: var(--brand);
}
.related a:hover::before { transform: scaleY(1); }
.related a:hover::after { transform: translateX(4px); color: var(--brand); }
@media (min-width: 720px) {
    .related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.updates-list {
    list-style: none;
    margin: 0 0 var(--gap);
    padding: 0;
    display: grid;
    gap: var(--gap);
}
.update-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--gap-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.update-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.update-card.is-latest {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}
.update-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.update-badge-latest {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
}
.update-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.update-summary { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.update-date { color: var(--subtle); font-size: .82rem; margin-top: 2px; }
.update-card:not(.is-latest) .update-title { color: var(--body); }
@media (min-width: 720px) {
    .updates-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.related,
.author-card,
.site-footer {
    content-visibility: auto;
}
.related { contain-intrinsic-size: auto 320px; }
.author-card { contain-intrinsic-size: auto 200px; }
.site-footer { contain-intrinsic-size: auto 600px; }
.author-card {
    margin: var(--gap-xl) 0 0;
    padding: var(--gap-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.author-card-heading {
    font-size: .74rem; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--accent);
    margin: 0 0 var(--gap-xs); padding: 0; border: 0;
}
.author-card-links { margin: var(--gap-sm) 0 0; font-weight: 650; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 650; text-decoration: none; text-align: center;
    border: 0; border-radius: var(--radius-sm); cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .16s ease, transform .16s ease;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); box-shadow: none; }
.btn-secondary:hover { background: var(--brand-wash); color: var(--brand); }
.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-sm);
    margin: var(--gap) 0 var(--gap-lg);
}
.btn-note { font-size: .88rem; color: var(--muted); margin: 0; max-width: var(--measure); }
figure { margin: var(--gap-lg) 0; }
figure img { margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
figcaption { margin-top: 8px; font-size: .87rem; color: var(--subtle); text-align: center; }
.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: var(--gap) 0;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 12px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
    background: var(--surface-alt);
    font-weight: 650; color: var(--ink);
    font-size: .82rem; text-transform: uppercase; letter-spacing: .045em;
    border-bottom: 1px solid var(--line-ui);
    white-space: nowrap;
}
tbody th[scope="row"] { font-weight: 650; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td, tbody tr:hover th { background: var(--brand-wash); }
caption {
    caption-side: bottom;
    padding: 10px 15px;
    font-size: .86rem; color: var(--subtle); text-align: left;
    border-top: 1px solid var(--line);
}
.faq {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    margin: var(--gap) 0;
    overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item[open] { background: var(--surface-alt); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-sm);
    padding: 16px 20px;
    min-height: 50px;
    transition: background .15s ease;
}
.faq-question:hover { background: var(--brand-wash); }
.faq-item[open] .faq-question { color: var(--brand); }
.faq-question h3 { font-size: 1rem; margin: 0; font-weight: 650; color: inherit; }
.faq-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-wash); color: var(--brand);
    font-size: 1.05rem; line-height: 1; font-weight: 700;
    transition: transform .22s ease, background .15s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer > :last-child { margin-bottom: 0; }
.ad-slot {
    display: block; width: 100%;
    margin: var(--gap-xl) 0;
    text-align: center;
    overflow: hidden;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
}
.ad-slot::before {
    content: "Advertisement";
    display: block;
    font-size: .68rem; text-transform: uppercase; letter-spacing: .09em;
    color: var(--subtle); margin-bottom: 8px;
}
.ad-slot .adsbygoogle { display: block; width: 100%; }
.ad-inline { min-height: 300px; }
.ad-leaderboard { min-height: 120px; }
@media (min-width: 769px) { .ad-leaderboard { min-height: 110px; } }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.stack > * + * { margin-top: var(--gap-sm); }
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    padding: 12px 20px;
    background: var(--brand); color: #fff;
    text-decoration: none; font-weight: 650;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
#reading-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-hi));
    z-index: 90;
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .guide-box:hover, .related a:hover, .btn:hover, .update-card:hover { transform: none; }
}
@media print {
    .site-header, .site-footer, .ad-slot, #reading-progress, .skip-link, .related { display: none !important; }
    body { background: #fff; font-size: 12pt; display: block; }
    .shell { display: block; max-width: none; padding: 0; }
    .toc { border: 1px solid #ccc; page-break-inside: avoid; }
    .toc-body { display: block !important; }
    .faq-answer { display: block !important; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
    h2, h3 { page-break-after: avoid; }
    table, figure, .alert { page-break-inside: avoid; }
}
@media (min-width: 1080px) {
    .shell { grid-template-columns: minmax(0, 1fr) var(--toc-w); }
    .shell > .toc {
        grid-column: 2;
        grid-row: 1 / span 9999;
        align-self: start;
        position: sticky;
        top: calc(var(--header-total) + var(--gap-sm));
        margin: 0;
        max-height: calc(100vh - var(--header-total) - var(--gap-lg));
        display: flex;
        flex-direction: column;
    }
    .shell > .toc details { display: flex; flex-direction: column; min-height: 0; }
    .shell > .toc .toc-body { overflow-y: auto; }
}
@media (max-width: 1079px) {
    .toc { max-width: var(--measure); }
}
@media (max-width: 992px) {
    .menu-toggle { display: inline-flex; order: 3; }
    .top-nav { display: none; }
    .top-bar { background: none; border-bottom: 0; }
    .top-bar-inner { min-height: 0; padding: 0; }
    .top-bar .social-link { display: none; }
    .nav-mobile-only { display: block; }
    .main-bar-inner { flex-wrap: wrap; gap: var(--gap-sm); padding: 10px var(--gutter); }
    .brand { order: 1; margin-right: auto; }
    .search { order: 2; width: auto; flex: 0 0 auto; }
    .search-field input { width: 0; padding-inline: 0; transition: width .2s ease, padding .2s ease; }
    .search-field:focus-within input { width: 150px; padding-inline: 8px; }
    .nav-menu {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        column-gap: 0;
    }
    .nav-menu.is-open {
        display: flex;
        position: fixed;
        top: var(--header-total);
        left: 0;
        right: 0;
        max-height: calc(100dvh - var(--header-total));
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0;
        padding: 0 var(--gutter) var(--gap-sm);
        background: var(--surface);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        z-index: 40;
    }
    .nav-menu > li { border-bottom: 1px solid var(--line); }
    .nav-menu a { padding: 13px 0; font-size: 1rem; }
    .nav-menu > li > a::after { display: none; }
    .dropdown, .sub-dropdown {
        position: static;
        display: none;
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding: 0 0 var(--gap-xs) var(--gap-sm);
        background: transparent;
    }
    .is-open > .dropdown, .is-open > .sub-dropdown { display: block; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    :root { --gap-xl: 40px; --gutter: 16px; }
    .shell { padding-block: var(--gap); }
    .brand svg { height: 40px; }
    .menu-toggle-text { display: none; }
    .menu-toggle { padding: 9px 12px; }
    .answer { padding: var(--gap-sm) var(--gap); font-size: 1.04rem; }
    .related, .author-card { padding: var(--gap); }
    .steps > li { padding-left: 44px; }
    .btn { width: 100%; }
    th, td { padding: 10px 12px; }
    thead th { font-size: .76rem; }
    .footer-columns { padding: var(--gap-lg) var(--gutter) var(--gap); gap: var(--gap); }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
    .answer { padding: var(--gap-sm) 14px; }
    .guide-box { padding: 14px 16px; }
    .brand svg { height: 36px; }
}
@media (max-width: 340px) {
    .brand svg { height: 30px; }
}
.shell:has(> .home-hero) {
    max-width: none;
    padding: 0 0 var(--gap-lg);
}
.home-body {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.home-body > section { padding-bottom: var(--gap-sm); }
.home-body > section:first-child > h2:first-child {
    margin-top: var(--gap-xl);
    padding-top: 0;
    border-top: 0;
}
.home-hero {
    --home-wash-a: #d7e8f0;
    --home-wash-b: #faeddb;
    position: relative;
    padding: clamp(40px, 5vw, 76px) var(--gutter) var(--gap-lg);
    text-align: center;
    background:
        radial-gradient(85% 125% at 4% -12%, var(--home-wash-a) 0%, transparent 62%),
        radial-gradient(80% 120% at 97% -12%, var(--home-wash-b) 0%, transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .home-hero { --home-wash-a: #10272d; --home-wash-b: #241c12; }
}
:root[data-theme="dark"] .home-hero { --home-wash-a: #10272d; --home-wash-b: #241c12; }
.home-hero-inner { max-width: 900px; margin-inline: auto; }
.home-title {
    margin: 0 0 var(--gap);
    font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.home-title-accent { color: var(--brand); }
.home-sub {
    max-width: 62ch;
    margin: 0 auto var(--gap-lg);
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 1.14rem;
    line-height: 1.6;
    color: var(--body);
}
.home-search {
    display: flex;
    gap: var(--gap-sm);
    max-width: 620px;
    margin: 0 auto var(--gap);
}
.home-search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    padding: 12px 22px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-ui);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.home-search-input::placeholder { color: var(--subtle); }
.home-search-input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.home-search-submit {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 28px;
    font: inherit;
    font-weight: 650;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .16s ease;
}
.home-search-submit:hover { background: var(--btn-bg-hover); }
.home-search-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.home-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-sm);
    margin: 0 0 var(--gap-lg);
}
.home-cta .btn {
    min-height: 54px;
    padding: 14px 32px;
    font-size: 1.02rem;
    border-radius: 999px;
}
.home-cta .btn-secondary { background: var(--surface); }
.home-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px var(--gap-lg);
    margin: 0 0 var(--gap-sm);
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: var(--muted);
}
.home-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
}
.home-trust svg { flex-shrink: 0; color: var(--brand); }
.home-hero .byline {
    justify-content: center;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    font-size: .84rem;
    color: var(--subtle);
}
.home-ticker {
    display: flex;
    align-items: stretch;
    max-width: calc(var(--wrap) - 2 * var(--gutter));
    min-height: 54px;
    margin: var(--gap-lg) auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.ticker-pause-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.ticker-viewport {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: home-ticker 48s linear 2s infinite;
}
@keyframes home-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.home-ticker:hover .ticker-track,
.home-ticker:focus-within .ticker-track,
.ticker-pause-input:checked ~ .ticker-viewport .ticker-track { animation-play-state: paused; }
.ticker-list {
    display: flex;
    align-items: center;
    gap: var(--gap-xl);
    margin: 0;
    padding: 0 calc(var(--gap-xl) / 2);
    list-style: none;
}
.ticker-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.ticker-list a {
    font-size: .93rem;
    font-weight: 550;
    color: var(--body);
    text-decoration: none;
}
.ticker-list a:hover { color: var(--brand); text-decoration: underline; }
.ticker-tag {
    padding: 3px 10px;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--brand-wash);
    color: var(--brand-ink);
    border-radius: 999px;
}
.ticker-tag-alert { background: var(--stop-bg); color: var(--stop); }
.ticker-pause {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: var(--surface-alt);
    border-left: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
}
.ticker-pause:hover { color: var(--brand); }
.ticker-pause-input:focus-visible ~ .ticker-pause { outline: 3px solid var(--brand); outline-offset: -3px; }
.ticker-icon-play { display: none; }
.ticker-pause-input:checked ~ .ticker-pause .ticker-icon-play { display: block; }
.ticker-pause-input:checked ~ .ticker-pause .ticker-icon-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .ticker-viewport { overflow-x: auto; }
    .ticker-track > [aria-hidden="true"] { display: none; }
    .ticker-pause { display: none; }
}
.task-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-sm);
    margin: var(--gap) 0 var(--gap-lg);
}
.task-grid .guide-box { margin: 0; }
@media (min-width: 720px) {
    .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
    .task-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pay-panel {
    max-width: 560px;
    margin: var(--gap) 0;
    padding: var(--gap);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
}
.pay-panel-label {
    margin: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent);
}
.pay-panel-month {
    margin: 2px 0 var(--gap-sm);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}
.pay-panel-list { margin: 0; }
.pay-panel-list > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px var(--gap-sm);
    padding: 8px 0;
    border-top: 1px solid var(--line);
}
.pay-panel-list dt { margin: 0; font-size: .96rem; font-weight: 550; color: var(--body); }
.pay-panel-list dd { margin: 0 0 0 auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 768px) {
    .home-title { letter-spacing: -.028em; }
    .home-sub { font-size: 1.05rem; }
    .home-search-input { padding-inline: 18px; }
    .home-search-submit { padding-inline: 20px; }
    .home-trust { gap: 6px var(--gap); font-size: .86rem; }
    .home-ticker { max-width: none; border-radius: var(--radius-lg); }
    .ticker-list { gap: var(--gap-lg); padding-inline: var(--gap); }
}
.page-figure {
    margin: var(--gap-lg) 0;
}
.page-figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
}
