:root{font-family:Arial,sans-serif;color:#f1ead6;background:#0b2018;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 5%;border-bottom:1px solid #bca36c66;flex-wrap:wrap}a{color:#e8cb87;text-underline-offset:4px}button,input,select{font:inherit;min-height:44px}button{border:1px solid #d6b568;background:#e1c68d;color:#163325;padding:12px 18px;border-radius:12px;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}main{max-width:1100px;margin:auto;padding:40px 24px}h1{font:clamp(42px,7vw,76px)/1.05 Georgia,serif;margin:18px 0}h2{font:clamp(30px,4vw,44px)/1.15 Georgia,serif;margin:14px 0}p{line-height:1.6}.intro{max-width:65ch}.eyebrow,.badge{font-size:12px;letter-spacing:.08em}.badge{border:1px solid #bca36c66;border-radius:20px;padding:9px}nav{display:flex;gap:20px;flex-wrap:wrap;margin:30px 0}nav a{min-height:44px;display:flex;align-items:center}.stack section{position:sticky;top:20px;margin:0 0 32px;padding:32px;border:1px solid #cbb47966;border-radius:24px;background:linear-gradient(125deg,#244737,#112a20);scroll-margin-top:24px}.stack section:nth-child(even){background:linear-gradient(125deg,#e2c98d,#eee3c4);color:#19382a}.stack section:nth-child(even) a{color:#604b1e}.stack section.tall{position:relative;top:auto}label{display:block;line-height:1.5;margin:16px 0}input:not([type=checkbox]),select{display:block;width:100%;max-width:400px;margin-top:6px;padding:10px;border:1px solid #8f997f;border-radius:8px;background:#fffaf0;color:#173528}.check{display:flex;gap:12px;align-items:center}.check input{width:22px;flex:0 0 22px}output{display:block;padding:16px;margin:20px 0;background:#ffffff12;border:1px solid #85957b;border-radius:12px;line-height:1.6}.record{display:grid;gap:8px;padding:16px;border-left:3px solid #c7a451}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}footer{padding:24px 0}*:focus-visible{outline:3px solid #b98621;outline-offset:4px}[hidden]{display:none!important}@media(max-width:650px){main{padding:28px 12px}.stack section{padding:22px 18px}.fields{grid-template-columns:1fr;gap:0}header{padding:12px}.badge{font-size:10px}h1{font-size:44px}}@media(prefers-reduced-motion:reduce){.stack section{position:relative;top:auto}}

:root[data-theme=light]{background:#f5f2e8;color:#17382a;color-scheme:light}:root[data-theme=light] header{background:#ece8db}:root[data-theme=light] a{color:#73571f}:root[data-theme=light] .stack section{color:#f1ead6}:root[data-theme=light] .stack section:nth-child(even){color:#19382a}:root[data-theme=light] .stack section a{color:#e8cb87}:root[data-theme=light] .stack section:nth-child(even) a{color:#604b1e}header{gap:10px}header button{font-size:13px}header .badge{margin-right:auto}
header{position:sticky;top:0;z-index:10;background:#0b2018}.stack section{top:calc(var(--header-height,110px) + 12px);scroll-margin-top:calc(var(--header-height,110px) + 16px)}html{scroll-padding-top:calc(var(--header-height,110px) + 16px)}
@media(prefers-reduced-motion:reduce){.stack section{position:relative;top:auto}}

/* Same native folder rule as the main site; no direction-driven animations. */
.stack{--folder-step:32px;overflow-anchor:none;padding-bottom:24px}.stack::after{content:"";display:block;height:var(--stack-tail,0px)}
.stack section{position:sticky;top:calc(var(--folder-base) + var(--folder-index)*32px);min-height:var(--stack-height,0px);z-index:calc(var(--folder-index) + 1);padding-top:56px;transition:none;transform:none;isolation:isolate}
.folder-title{position:absolute;inset:0 0 auto;height:32px;display:flex;align-items:center;padding:0 18px;font-size:13px;font-weight:700;border-bottom:1px solid #bca36c66;background:inherit;border-radius:24px 24px 0 0;color:inherit}
.stack.folder-static section,.stack:has(:focus-visible) section{position:relative;top:auto;min-height:0}
header{z-index:30}.stack section h2{font-size:clamp(25px,3vw,36px)}.stack section p{margin:12px 0}.stack section output{margin:12px 0;padding:12px}
@media(prefers-reduced-motion:reduce){.stack section{position:relative;top:auto;min-height:0}}


@media(prefers-reduced-motion:reduce){.stack section{translate:none}}

@media(max-width:650px){.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fields label{font-size:14px;margin:8px 0}.stack section{padding-inline:18px}.stack section output{font-size:14px}.stack section p{font-size:15px}}

/* Native scroll timelines avoid JavaScript position feedback. Unsupported engines keep static entrances. */
[data-folder-entrance=up]{--entry-x:0px;--entry-y:12px}[data-folder-entrance=right]{--entry-x:8px;--entry-y:0px}[data-folder-entrance=left]{--entry-x:-8px;--entry-y:0px}[data-folder-entrance=diagonal]{--entry-x:8px;--entry-y:12px}
@keyframes folder-arrive{from{translate:var(--entry-x) var(--entry-y)}to{translate:0 0}}
@supports(animation-timeline:view()){@media(prefers-reduced-motion:no-preference){.folder-stack:not(.folder-static)>article,.side-stack:not(.folder-static)>article,.stack.folder-stack:not(.folder-static)>section{animation:folder-arrive linear both;animation-timeline:view();animation-range:entry 0% entry 100%}}}
@media(prefers-reduced-motion:reduce){.folder-stack>*:not(.folder-title),.side-stack>*{animation:none!important;translate:none!important}}
