.resource-page{--bg:#f7f3ea;--bg-2:#eee9df;--surf:#fffdf7;--surf-2:#eee9df;--ivory:#10202a;--ivory-2:#34454c;--mute:#56636a;--line:#d4d1c7;--line-2:#a1a59f;--head-bg:#f7f3ea;--accent-text:#805718;--glow:none;--glow-2:none;background:var(--bg);color:var(--ivory);line-height:1.65}
/* These pages use a fixed light palette; styles.css sets color-scheme:dark on html, which drew native checkboxes as solid dark squares. */
html:has(.resource-page),.resource-page{color-scheme:light}
.resource-page a{color:#805718;text-underline-offset:.2em}
.resource-page a:hover{color:#50360f}
.resource-page :focus-visible{outline:3px solid #805718;outline-offset:4px}
.resource-page [hidden]{display:none!important}
.resource-page .logo{color:var(--ivory)}
/* These pages are always light and do not load the theme script, so keep the pin dark and the "Up" bronze. */
.resource-page .site-head .logo{--logo-pin:#0B1519;--logo-detail:#FFD27A;--logo-up:#9C5D1A}
@media(max-width:600px){.resource-page .nav-cta a:not(.btn){display:none}}
.resource-page .nav{height:auto;min-height:76px;padding-block:10px}
.resource-page .nav-cta a{min-height:44px;display:inline-flex;align-items:center}
.resource-page .nav-cta .btn{color:var(--on-lamp)}
.resource-page .btn{min-height:46px;box-shadow:none}
.resource-page .btn-ghost{color:var(--ivory);border-color:var(--line-2)}
.resource-page .btn-ghost:hover{color:var(--ivory);background:var(--bg-2)}
.res-skip{position:fixed;left:16px;top:12px;z-index:100;padding:12px 20px;border-radius:99px;background:#ffd27a;color:#10202a!important;transform:translateY(-180%)}
.res-skip:focus{transform:none}
.res-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.res-narrow{max-width:840px}
.res-hero{padding:42px 0 48px;border-bottom:1px solid var(--line)}
.res-breadcrumb{display:flex;flex-wrap:wrap;gap:.4em;font-size:.85rem;margin:0 0 28px;padding:0;list-style:none}
.res-breadcrumb li+li::before{content:'/';margin-right:.4em;color:var(--mute)}
.res-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:44px}
.res-hero figure{margin:0;min-width:0}
.res-kicker{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:#805718;margin:0 0 14px}
.res-hero h1{font-size:clamp(2.2rem,5vw,3.7rem);line-height:1.05;letter-spacing:-.035em;margin:0;max-width:20ch}
.res-intro{font-size:clamp(1.05rem,2vw,1.25rem);max-width:62ch;margin:20px 0;color:var(--ivory-2)}
.res-meta{font-size:.85rem;color:var(--mute);margin:20px 0 0}
.res-art{display:block;width:100%;height:auto;border-radius:20px;background:#eee9df}
.res-caption{font-size:.78rem;color:var(--mute);margin:.6rem 0 0}
.res-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
.res-body{padding-block:42px 56px}
.res-body h2{font-size:clamp(1.6rem,3vw,2.1rem);line-height:1.2;margin:2.2rem 0 1rem}
.res-body h3{font-size:1.15rem;line-height:1.3;margin:1.6rem 0 .6rem}
.res-body p{max-width:76ch;margin:.8rem 0 1.2rem}
.res-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}
.res-card{border:1px solid var(--line);border-radius:20px;background:var(--surf);overflow:hidden;display:flex;flex-direction:column}
.res-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:0}
.res-card-content{padding:24px;display:flex;flex:1;flex-direction:column}
.res-card h2{font-size:1.5rem;margin:0 0 .7rem;line-height:1.18}
.res-card p{font-size:.96rem;margin:0 0 1rem}
.res-card a{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.res-card .res-kicker{font-size:.72rem}
.res-note{border:1px solid var(--line);border-left:4px solid #b27a29;border-radius:12px;background:var(--surf);padding:20px 24px;margin:24px 0}
.res-note p:last-child{margin-bottom:0}
.res-section{padding-block:24px}
.res-section>h2{margin-top:0}
.res-section>:last-child{margin-bottom:0}
.res-pill{display:inline-block;background:#10202a;color:#ffd27a;padding:4px 12px;border-radius:99px;font-size:.78rem;font-weight:700}
.res-checklist{list-style:none;padding:0;margin:18px 0}
.res-checklist>li{border-top:1px solid var(--line);padding:20px 0;break-inside:avoid}
.res-checkline{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start;cursor:pointer;font-weight:700;font-size:1.05rem}
.res-checkline input{width:22px;height:22px;margin-top:4px;accent-color:#805718;flex-shrink:0}
.res-checklist p{margin:8px 0 0 36px;font-size:.95rem}
.res-checklist .res-good{color:#3b5a44}
.res-priority{color:var(--mute);font-size:.76rem;letter-spacing:.04em;font-weight:600;text-transform:uppercase;display:block;margin-top:4px}
.res-fields{border:1px solid var(--line);border-radius:16px;background:var(--surf);padding:24px;margin:28px 0;min-width:0;break-inside:avoid}
.res-fields legend{font-family:var(--font-head);font-weight:700;font-size:1.2rem;padding:0 9px}
/* On phones a long legend wraps and straddles the card border (first line outside, second inside), so make it the card heading instead. */
@media(max-width:540px){.res-fields legend{float:left;width:100%;padding:0;margin:0 0 16px}.res-fields legend+*{clear:both}}
.res-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.res-field-grid .res-full{grid-column:1/-1}
/* A field that follows a two-column grid sits outside the grid, so give it the same gap. */
.res-field-grid+.res-field{margin-top:20px}
.res-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin-bottom:18px}
.res-field:last-child{margin-bottom:0}
.res-field label{font-weight:650;font-size:.96rem}
.res-field input,.res-field textarea,.res-field select{font:inherit;background:#fff;color:#10202a;border:1px solid #7b898f;border-radius:8px;padding:11px 12px;min-height:46px;width:100%;box-sizing:border-box}
.res-field textarea{min-height:115px;resize:vertical;line-height:1.55}
.res-field input[aria-invalid=true]{border:2px solid #a12d29}
.res-hint{color:var(--mute);font-size:.85rem;line-height:1.5}
.res-error{color:#a12d29;font-weight:650;min-height:1.6em;margin:14px 0}
.res-inline-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0}
.res-inline-check input{width:20px;height:20px;accent-color:#805718;margin-top:4px}
.res-results{background:#10202a;color:#f7f3ea;border-radius:20px;padding:28px;margin:24px 0;break-inside:avoid}
.res-results h2{color:#f7f3ea;font-size:1.4rem;margin:0 0 22px}
.res-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.res-results dt{color:#d5cfc3;font-size:.9rem}
.res-results dd{color:#ffd27a;font-family:var(--font-head);font-size:clamp(1.9rem,5vw,2.8rem);font-weight:700;line-height:1.1;margin:8px 0 0;overflow-wrap:anywhere}
.res-results p{color:#d5cfc3;font-size:.9rem;margin:20px 0 0}
.res-formula{background:var(--bg-2);border-radius:12px;padding:20px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.res-formula code{font-size:.9rem;white-space:normal}
.res-sources{border-top:1px solid var(--line);margin-top:36px;padding-top:18px;font-size:.9rem}
.res-sources li{margin:8px 0}
.res-related{display:flex;flex-wrap:wrap;gap:10px 20px;padding:0;list-style:none}
.res-related a{min-height:44px;display:inline-flex;align-items:center}
.resource-page footer{padding:30px 0;background:#10202a;color:#d5cfc3}
.resource-page footer a{color:#ffd27a}
.resource-page footer p{font-size:.88rem;max-width:90ch}
.resource-page footer nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin-bottom:20px}
.resource-page footer nav a{min-height:44px;display:inline-flex;align-items:center}
.print-value{display:none}
@media(max-width:850px){.res-hero-grid{grid-template-columns:1fr;gap:28px}.res-hero h1{max-width:23ch}.res-hero figure{max-width:600px;margin:0}.res-grid{grid-template-columns:1fr}.res-card{display:grid;grid-template-columns:40% 1fr}.res-card img{height:100%;aspect-ratio:auto;object-fit:cover}.res-card-content{padding:22px}}
@media(max-width:540px){.res-wrap{padding-inline:20px}.resource-page .nav-cta{gap:12px}.resource-page .nav-cta .btn{padding:.7rem .8rem;font-size:.8rem}.res-hero{padding-top:28px}.res-breadcrumb{font-size:.78rem}.res-card{display:flex}.res-card img{height:auto;aspect-ratio:16/9}.res-field-grid,.res-results-grid{grid-template-columns:1fr}.res-fields{padding:19px}.res-field-grid .res-full{grid-column:auto}.res-actions .btn{width:100%}.res-checklist p{margin-left:0}}
@media print{html,.resource-page{background:#fff!important;color:#000!important;font-size:10.5pt}.no-print,.site-head,.resource-page footer,.res-breadcrumb,.res-hero figure,.res-skip,.res-actions{display:none!important}.res-wrap,.res-narrow{max-width:none;padding:0}.res-hero,.res-body{padding:0;border:0}.res-hero h1{font-size:25pt;max-width:none}.res-intro{font-size:11pt;margin:12px 0}.res-meta{font-size:9pt}.res-body h2{font-size:16pt;margin:20px 0 9px;break-after:avoid}.res-body h3,.res-fields legend{break-after:avoid}.res-note,.res-fields{background:#fff;border:1px solid #888;box-shadow:none;padding:12px;margin:14px 0}.res-checklist>li{padding:10px 0}.res-checkline{font-size:10.5pt}.res-checklist p,.res-hint,.res-caption{font-size:9.5pt}.res-checklist input{width:15px;height:15px}.res-priority{font-size:8.5pt}.res-field{margin-bottom:12px}.res-fields textarea{min-height:60px}.res-field input,.res-field textarea,.res-field select{font-size:10pt;padding:6px;min-height:28px}.res-field-grid{gap:12px}.res-results{background:#fff;color:#000;border:2px solid #333;padding:16px}.res-results h2,.res-results dt,.res-results dd,.res-results p,.res-good,.res-meta,.res-kicker{color:#000!important}.res-results dd{font-size:22pt}.res-sources{font-size:9pt}.resource-page a{color:#000!important}.res-formula{background:#fff;border:1px solid #888}.res-grid{display:block}.res-card{display:block;break-inside:avoid;margin:16px 0}.res-card img{display:none}.res-card-content{padding:12px}[data-worksheet].worksheet-print-ready .res-field input,[data-worksheet].worksheet-print-ready .res-field textarea,[data-worksheet].worksheet-print-ready .res-field select{display:none}.print-value{display:block;border-bottom:1px solid #aaa;min-height:1.6em;white-space:pre-wrap;overflow-wrap:anywhere;padding:4px 0;color:#000}.res-inline-check input{width:15px;height:15px}a[href]{text-decoration:underline}*{box-shadow:none!important;text-shadow:none!important}body{padding:0!important}@page{margin:15mm}}
