/* Workspace shell and page layouts. Shared transaction/dialog styles stay in workspace.css. */
:root { --ink: #233e35; --muted: #536859; --line: #d6ded4; --surface: #fafbf8; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; }
body { background: var(--surface); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #43745c; outline-offset: 3px; }
.skip-link { position:absolute; top:-10rem; z-index:10; background:white; padding:1rem; }
.skip-link:focus { top:0; }
.desk { min-height:100vh; display:grid; grid-template-columns:240px minmax(0,1fr); }
.rail { position:sticky; top:0; height:100dvh; overflow:auto; display:flex; flex-direction:column; padding:24px 16px 18px; background:#eff3ec; border-right:1px solid var(--line); }
.rail .brand { width:154px; }
.rail-top { padding:0 9px 18px; border-bottom:1px solid var(--line); }
.nav-group,.eyebrow { font-size:11px; line-height:1.4; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.nav-group { margin:26px 13px 8px; color:var(--muted); }
.nav-item { display:flex; gap:12px; align-items:center; min-height:44px; border-radius:7px; padding:8px 12px; margin:2px 0; text-decoration:none; font-weight:520; font-size:14px; }
.nav-item:hover,.rail-foot a:hover { background:#e0e8dc; }
.nav-item[aria-current] { color:#fff; background:#27493e; }
.rail-foot { margin-top:auto; border-top:1px solid var(--line); padding-top:10px; }
.rail-foot a { display:block; padding:8px 12px; color:var(--muted); font-size:13px; }
#nav-toggle { display:none; }
.desk-body { min-width:0; }
.topbar { min-height:64px; padding:8px clamp(20px,4vw,60px); color:var(--muted); font-size:14px; background:white; }
.topbar button { min-height:40px; }
main { max-width:1280px; padding:36px clamp(20px,4vw,60px) 30px; margin:auto; }
h1 { font:normal clamp(32px,3.3vw,48px)/1.1 Georgia,serif; margin:0 0 20px; letter-spacing:-.035em; }
h1:focus { outline:none; }
h2 { font:normal 26px/1.15 Georgia,serif; letter-spacing:-.025em; }
.notice { margin:12px 0; border-radius:0 7px 7px 0; }
#feedback:empty { display:none; }
#feedback:not(:empty) { padding:10px 0; }
.next-step { display:flex; align-items:center; justify-content:space-between; position:relative; isolation:isolate; overflow:hidden; gap:12px; background:#22463b; color:#fbfcf6; border-radius:13px; padding:clamp(24px,4vw,48px); margin:22px 0 32px; }
.next-step>div:first-child { max-width:70%; z-index:1; }
.next-step .eyebrow { color:#c2d7bd; margin:0 0 14px; }
.next-step h2 { font-size:clamp(28px,3.1vw,42px); margin:0; }
.next-step p { color:#e2ebdf; margin:10px 0 20px; }
.hero-link { display:inline-flex; align-items:center; gap:16px; text-decoration:none; background:#eff3db; color:#203e32; padding:11px 16px; border-radius:7px; font-weight:650; font-size:14px; }
.hero-link:hover { background:#fff; }
.paper-art { position:relative; flex:none; width:124px; height:128px; margin-right:12px; transform:rotate(9deg); }
.paper-art i { position:absolute; inset:0 10px 0 12px; border-radius:5px; border:1px solid #a3b9a2; background:#76967b; transform:rotate(-16deg) translateX(-10px); }
.paper-art i:nth-child(2) { background:#a9bfa2; transform:rotate(-8deg) translateX(-4px); }
.paper-art i:last-child { background:#e0e9cc; transform:none; padding:12px; }
.paper-art i:last-child:after { content:""; display:block; height:48px; background:repeating-linear-gradient(0deg,transparent 0 10px,#adc1a3 10px 12px); }
.paper-art b { display:inline-grid; place-items:center; border-radius:50%; width:30px; height:30px; font:16px system-ui; color:#fff; background:#426c51; }
.section-title { margin-bottom:16px; }
.tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.tile,.card,.selectors,.exception-panel,.export-panel,#plan-start { border:1px solid var(--line); border-radius:10px; background:#fff; padding:22px; }
.tile { position:relative; display:grid; gap:8px; align-content:start; text-decoration:none; }
.tile:hover { border-color:#7c9787; background:#f5f8f0; }
.tile strong { font-size:17px; }.tile>span:not(.tile-icon) { font-size:14px; color:var(--muted); }
.tile-icon { display:grid; place-items:center; width:36px; height:36px; background:#e6edde; color:#365c47; border-radius:9px; margin-bottom:6px; }
.tile b { position:absolute; right:17px; top:15px; color:var(--muted); }
.card,.exception-panel,#plan-start { margin:16px 0; }.card h2,.exception-panel h2,#plan-start h2 { margin:0 0 12px; }
.selectors,.section-head { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }.selectors { background:#f1f4ed; padding:14px 20px; }
.selectors label { flex:1 1 180px; max-width:340px; }.selectors select,.selectors input { margin:4px 0 0; }
.section-head { justify-content:space-between; margin:24px 0 8px; }.section-head h2,.section-head p { margin:0; }
.export-panel { margin-top:16px; }.caution { border-left:3px solid #a77152; }.caution button { color:#7d3d24; }
.card button,#plan-start button,.export-buttons button { min-height:44px; margin:3px 0; }.aside-note { display:block; }
footer { margin-top:40px; max-width:100ch; line-height:1.6; }
@media(max-width:980px) { .desk { grid-template-columns:205px minmax(0,1fr); }.tile { padding:16px; } }
@media(max-width:760px) {
 .desk { display:block; }.rail { position:relative; display:block; height:auto; padding:0; border:0; background:#eff3ec; }
 .rail-top { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; }
 .rail .brand { width:120px; } #nav-toggle { display:block; min-height:44px; padding:6px 14px; border:1px solid #b9cab9; border-radius:6px; background:#fff; color:var(--ink); }
 #practice-menu:not(.expanded),.rail-foot { display:none; } #practice-menu.expanded { display:block; padding:0 12px 12px; border-bottom:1px solid var(--line); }
 .nav-group { margin:12px 12px 4px; }.topbar { min-height:44px; padding:4px 16px; }.topbar button { min-height:36px; }
 main { padding:24px 16px; }.tiles { grid-template-columns:1fr; }.tile { grid-template-columns:36px 1fr; align-items:center; column-gap:12px; padding-right:36px; }
 .tile-icon { grid-row:span 2; margin:0; }.tile>span:not(.tile-icon) { grid-column:2; }
 .paper-art { width:76px; height:92px; margin-right:0; }.paper-art i:last-child:after { height:24px; }
 .next-step { padding:20px; }.next-step>div:first-child { max-width:none; }.selectors { padding:14px; }
 .aside-note { display:block; }.export-buttons { max-width:none; }
}
@media(max-width:430px) { .paper-art { display:none; }.record { grid-template-columns:minmax(0,1fr) auto; }.promo-controls input { min-width:0; } }
@media print { .rail,.topbar,#nav-toggle,.paper-art { display:none; }.desk { display:block; } }


.mobile-help {display:none} @media(max-width:760px){.mobile-help {display:inline-block;margin-left:auto}}
