/* Local font faces also cover the server-rendered account and sponsor templates. */
@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/fraunces-latin-600-normal.woff2') format('woff2')}
/* HertzKit visual families. Loaded last: authoritative frames and heading scale.
   Intrinsic controls, charts and comparison grids retain their scoped layouts. */
:root{--hk-layout-wide:1160px;--hk-layout-reading:820px;--hk-layout-reader:920px;--hk-layout-admin:1200px;--hk-layout-gutter:20px;--hk-space-section:32px;--hk-surface-radius:12px;--hk-surface-border:#34454e}
body[data-hk-layout]{--hk-layout-max:var(--hk-layout-wide)}
body[data-hk-layout=reading],body[data-hk-layout=account]{--hk-layout-max:var(--hk-layout-reading)}
body[data-hk-layout=reader]{--hk-layout-max:var(--hk-layout-reader)}
body[data-hk-layout=admin]{--hk-layout-max:var(--hk-layout-admin)}
body[data-hk-layout] main>.wrap,body[data-hk-layout] main.wrap,
body[data-hk-layout] main:not(.wrap):not(:has(>.wrap)):not(:has(>.cl-workspace)),
body[data-hk-layout] main>.cl-workspace,
body.hk-sessions[data-hk-layout] main,body[data-hk-layout=admin] main{
 box-sizing:border-box;width:100%;max-width:var(--hk-layout-max)!important;
 margin-inline:auto!important;padding-inline:var(--hk-layout-gutter)!important;min-width:0;
}
body[data-hk-layout=admin] main>.hk-account{max-width:none;margin-inline:0;padding-inline:0}
body[data-hk-layout]:not([data-hk-layout=home]):not([data-hk-layout=admin]):not([data-hk-layout=reader]) main h1{
 font-family:var(--font-display,'Fraunces',Georgia,serif);font-size:clamp(2rem,3.75vw,3rem)!important;
 line-height:1.18!important;font-weight:600;letter-spacing:-.025em;max-width:none!important;
 margin-block:14px 16px!important;text-align:start;text-wrap:balance;overflow-wrap:break-word;
}
body[data-hk-layout=reader] main h1{font-size:clamp(1.5rem,3vw,2rem)!important}
body[data-hk-layout=admin] main h1{font-size:clamp(1.6rem,3vw,2.3rem)!important;line-height:1.25;text-wrap:balance}
body[data-hk-layout] main :is(.tool-intro,.hs-intro){max-width:100%;font-size:1rem;line-height:1.65;text-wrap:balance}
body[data-hk-layout] main :is(.guide-body,.article-body,.guide-content,.legal-body)>h2{font-size:1.5rem;line-height:1.35;margin-block:var(--hk-space-section) 14px;text-wrap:balance}
body[data-hk-layout] main :is(.tool-panel,.hs-card,.hk-help-answer,.hk-update-month,.hk-class-activity){border-radius:var(--hk-surface-radius);border-color:var(--hk-surface-border)}
body[data-hk-layout] main :is(.tool-panel,.hs-card)>h2{font-size:1.25rem;line-height:1.4;text-wrap:balance}
body[data-hk-layout=catalog] .hk-help-answer :is(p,li){max-width:76ch}
body[data-hk-layout] main :is(.controls-row,.pro-actions,.hs-actions,.pp-actions){row-gap:12px}
body[data-hk-layout] main :is(.btn,.hs-button,.hs-actions>button,.pp-actions>button){min-height:44px;white-space:normal}
@media(max-width:600px){:root{--hk-layout-gutter:18px;--hk-space-section:26px}}
@media(max-width:360px){:root{--hk-layout-gutter:16px}}

/* Administration uses its own consistent shell, including the navigation header. */
body[data-hk-layout=admin] .site-header>.wrap,body[data-hk-layout=admin] header.hk-admin-shell-header{box-sizing:border-box;width:100%;max-width:var(--hk-layout-admin)!important;margin-inline:auto;padding-inline:var(--hk-layout-gutter)!important}

/* Native disclosures remain distinct from navigation links. */
summary{cursor:pointer;text-decoration:none}
summary:focus-visible{outline:2px solid #5ac5c1;outline-offset:4px;border-radius:3px}
summary:hover{color:var(--accent,#5ac5c1)}
