:root{--recipe-color-accent:#e8c75a;--recipe-color-attention:#e8c75a;--recipe-component-button-attention-backgroundcolor:#e8c75a}
body{color:var(--recipe-color-text);background:var(--recipe-color-canvas);font-family:var(--recipe-type-body-font-family);line-height:1.7}
.prototype-notice{background:var(--recipe-color-primary);color:var(--recipe-color-accent);border:0;letter-spacing:.08em;font-size:10px}
.site-header{border-color:var(--recipe-color-border);padding-block:24px}.brand{letter-spacing:-.035em;font-size:19px}.brand:before{content:'';display:inline-block;width:32px;height:32px;margin-right:10px;vertical-align:middle;background:url('/needle-ui/media/site-logo.png') center/contain no-repeat}
button{border:0;border-radius:999px;background:var(--recipe-color-primary);color:white;font-weight:700;padding:10px 18px}.nav-group button{background:transparent;color:var(--recipe-color-text)}.nav-direct{font-weight:700;text-decoration:none}.group-links{background:var(--recipe-color-surface);border:1px solid var(--recipe-color-border);border-radius:16px;box-shadow:0 12px 30px #17191e18}.group-links a:hover{background:var(--recipe-color-secondary);border-radius:8px}
.page-shell{padding-top:28px}.breadcrumbs{color:var(--recipe-color-text-muted);margin-bottom:36px;font-size:13px}.breadcrumbs li+li{border:0;padding-left:0}.breadcrumbs li+li:before{content:'/';margin-right:16px;color:var(--recipe-color-border)}
h1{font-size:clamp(32px,3.7vw,48px);line-height:1.08;letter-spacing:-.045em;margin-bottom:28px}h2{font-size:30px;line-height:1.2;letter-spacing:-.035em;margin-top:48px}h3{font-size:23px;letter-spacing:-.025em}.reading-content>p{color:var(--recipe-color-text-muted)}.reading-content>h1+p{font-size:18px;line-height:1.65;color:var(--recipe-color-text)}.reading-content strong{color:var(--recipe-color-text)}
.toc{border-color:var(--recipe-color-border)}.toc summary{font-size:13px;text-transform:uppercase;letter-spacing:.06em}.toc nav a{color:var(--recipe-color-text-muted);text-decoration:none;border-left:2px solid transparent;padding-left:12px;font-size:13px}.toc nav a:hover,.toc nav a:focus{border-color:var(--recipe-color-accent);color:var(--recipe-color-text)}.toc .depth-3{padding-left:24px}
.table-wrap{border:1px solid var(--recipe-color-border);border-radius:16px;background:var(--recipe-color-surface);overflow:auto}table{font-size:15px}th{background:var(--recipe-color-primary);color:white;font-size:13px;font-weight:700}td,th{border:0;border-bottom:1px solid var(--recipe-color-border);padding:16px}tr:last-child td{border-bottom:0}tbody tr:nth-child(even){background:var(--recipe-color-secondary)}
body[data-page-id="P-GUIDES"] .table-wrap{border-radius:0;border-left:0;border-right:0;background:transparent}body[data-page-id="P-GUIDES"] th{background:transparent;color:var(--recipe-color-text-muted)}body[data-page-id="P-GUIDES"] tbody tr{background:transparent}body[data-page-id="P-GUIDES"] td a{font-weight:750}
body[data-page-id="P-CODES"] .table-wrap:first-of-type{background:#f6e9b7}body[data-page-id="P-CODES"] th{background:var(--recipe-color-accent);color:var(--recipe-color-text)}.copy-code{margin-top:12px;font-size:13px}.copy-status{font-size:12px;min-height:20px}
.article-media{margin:32px 0 12px}.article-media img{display:block;width:100%;height:auto;border-radius:16px;object-fit:contain}.article-media figcaption{font-size:12px;color:var(--recipe-color-text-muted);margin-top:10px}.image-fallback{padding:24px;border:1px solid var(--recipe-color-border)}
.site-footer{background:var(--recipe-color-primary);color:var(--recipe-color-on-primary);border:0;border-radius:32px 32px 0 0}.footer-nav h3{color:var(--recipe-color-accent)}.footer-nav a{color:#e3e0d7;text-decoration:none}.footer-identity p{color:#c8c5bd}.footer-identity>a:first-child{font-weight:750}dialog{background:var(--recipe-color-surface);border-radius:20px;border-color:var(--recipe-color-border)}dialog .nav-group button{border-radius:0}.skip-link{background:var(--recipe-color-surface)}:focus-visible{outline:3px solid #8a6910;outline-offset:4px}
@media(max-width:900px){.reading-layout{gap:24px}.toc{border-color:var(--recipe-color-border)}h1{font-size:38px}}
@media(max-width:540px){h1{font-size:32px}h2{font-size:26px}h3{font-size:21px}.reading-content>h1+p{font-size:17px}.brand{font-size:16px}.brand:before{display:none}.breadcrumbs{margin-bottom:24px}td,th{padding:12px}.article-media img{border-radius:10px}body[data-page-id="P-GUIDES"] tr{border:0;border-bottom:1px solid var(--recipe-color-border);padding:12px 0}body[data-page-id="P-GUIDES"] td{padding:5px 0}body[data-page-id="P-GUIDES"] td:before{color:var(--recipe-color-text-muted)}.site-footer{border-radius:24px 24px 0 0}}

/* Shared chrome matches the accepted homepage; content layout remains unchanged. */
body{background:radial-gradient(circle at 86% 4%,color-mix(in srgb,var(--recipe-color-accent) 22%,transparent),transparent 27rem),linear-gradient(180deg,color-mix(in srgb,var(--recipe-color-surface) 34%,transparent),transparent 24rem),var(--recipe-component-page-backgroundcolor)}
.site-header{width:min(1180px,calc(100% - 48px));max-width:none;padding:20px 0;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;max-width:360px;letter-spacing:normal;padding:0}.brand:before{display:none}.brand img{flex:none;object-fit:contain}.desktop-nav{gap:8px}.desktop-nav .nav-group>button,.desktop-nav .nav-direct{font-size:14px;font-weight:700;border-radius:999px;padding:10px 18px;color:var(--recipe-color-text);text-decoration:none;background:transparent}.desktop-nav .nav-group>button:hover,.desktop-nav .nav-direct:hover{background:var(--recipe-color-surface)}
.footer{width:min(1180px,calc(100% - 48px));margin:24px auto 0;background:var(--recipe-color-primary);color:var(--recipe-color-on-primary);padding:32px;border-radius:var(--recipe-rounded-lg) var(--recipe-rounded-lg) 0 0;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;font-size:14px}.footer strong{font-size:18px;letter-spacing:-.025em}.footer p{margin:12px 0;color:#d1cec6}.footer nav{display:flex;align-content:start;flex-wrap:wrap;gap:0 24px}.footer a{display:inline-flex;align-items:center;min-height:44px}.footer>div>a{color:var(--recipe-color-accent)}
@media(max-width:760px){.site-header{padding:14px 0;gap:10px}.footer{grid-template-columns:1fr;padding:28px 22px;gap:18px;margin-top:12px}}
@media(max-width:540px){.brand{font-size:16px}.brand img{width:34px;height:34px}.brand span{max-width:180px}.site-header{width:calc(100% - 32px)}.footer{width:calc(100% - 32px)}}
/* Header and section navigation share a measured offset at every viewport. */
:root{--site-header-height:88px}
.sticky-header{position:sticky;top:0;z-index:50;background:var(--recipe-color-canvas);box-shadow:0 1px 0 var(--recipe-color-border)}
.sticky-header .site-header{border-bottom:0}
.skip-link:focus{z-index:60}
.inner-page .toc{position:fixed;width:220px;z-index:30;border:0;box-shadow:none;top:calc(var(--site-header-height) + 20px);max-height:calc(100dvh - var(--site-header-height) - 40px);overflow:auto;align-self:start}
.inner-page .reading-content{grid-column:2}
.reading-content .breadcrumbs{margin:0 0 24px;font-size:13px}
.reading-content .breadcrumbs ol{margin:0}.reading-content .breadcrumbs li{margin-bottom:0}
.reading-content :is(h1,h2,h3),#main{scroll-margin-top:calc(var(--site-header-height) + 24px)}
@media(max-width:900px){
 .inner-page .reading-layout{padding-top:50px}
 .inner-page .toc{width:calc(100% - 48px);top:var(--site-header-height);z-index:30;background:var(--recipe-color-canvas);max-height:calc(100dvh - var(--site-header-height) - 16px);padding-top:0;box-shadow:none}
 .inner-page .toc summary{padding:12px 0;min-height:48px}
 .reading-content :is(h1,h2,h3),#main{scroll-margin-top:calc(var(--site-header-height) + 76px)}
}

@media(max-width:540px){.inner-page .toc{width:calc(100% - 32px)}}
