.situation-wrap,.library-wrap,.home-wrap,.manual-core{max-width:900px;margin:0 auto;padding:44px 24px 100px}.situation-wrap>h1,.home-wrap>h1,.library-wrap>h1,.manual-core>h1{letter-spacing:-.055em;max-width:800px;margin:12px 0 14px;font-size:clamp(38px,7vw,68px);line-height:1.02}.situation-hook,.library-intro{color:var(--muted);max-width:650px;margin:0 0 26px;font-size:18px;line-height:1.55}.scene-window{aspect-ratio:9/11;border:1px solid var(--border);background:var(--surface);border-radius:20px;place-items:center;width:min(100%,440px);margin:28px auto 42px;display:grid;overflow:hidden}.scene-art{place-items:center;width:100%;height:100%;display:grid}.scene-art svg{width:100%;height:100%;display:block}.zoom-section{max-width:720px;margin:0 auto 44px}.zoom-section h2,.activity-card h2{letter-spacing:-.04em;margin:0 0 18px;font-size:clamp(28px,4vw,38px);line-height:1.12}.level-steps{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.level-step{border:1px solid var(--border);background:var(--surface);min-height:58px;color:var(--ink);cursor:pointer;text-align:left;border-radius:12px;justify-content:space-between;align-items:center;padding:10px 12px;font-weight:600;display:flex}.level-step.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.level-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-top:14px;padding:20px;line-height:1.65}.level-card>p{margin:0 0 14px}.evidence{letter-spacing:.03em;color:var(--accent-strong);border:1px solid var(--border);border-radius:999px;padding:5px 10px;font-size:12px;display:inline-flex}.level-card details{color:var(--muted);margin-top:12px;font-size:13px}.level-card summary{cursor:pointer;align-items:center;min-height:32px;display:inline-flex}.level-card li{overflow-wrap:anywhere;margin-top:6px}.activity-card{border:1px solid var(--border);background:var(--surface);border-radius:20px;max-width:720px;margin:0 auto;padding:clamp(20px,4vw,34px)}.activity-fields{gap:18px;display:grid}.activity-fields fieldset{border:0;margin:0;padding:0}.activity-fields legend,.save-sheet label,.manual-instruction label{margin-bottom:8px;font-weight:620;display:block}.choice-row{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.choice-pill{border:1px solid var(--border);min-height:48px;color:var(--ink);cursor:pointer;background:0 0;border-radius:999px;padding:9px 15px}.choice-pill.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.activity-fields textarea,.save-sheet input,.save-sheet select,.log-entry input,.manual-instruction textarea,.manual-instruction select{border:1px solid var(--border);background:var(--paper);width:100%;min-height:48px;color:var(--ink);border-radius:10px;padding:11px 12px;display:block}.activity-fields textarea{resize:vertical}.activity-fields .button{width:100%;margin-top:8px}.timer-readout{font:650 56px/1 var(--font-geist-mono),monospace;text-align:center;padding:24px 0}.log-entry{gap:10px;display:grid}.log-entry ul{padding-left:20px}.inline-status{border:1px solid var(--border);background:var(--accent-soft);color:var(--ink);border-radius:10px;padding:12px 14px}.instruction-preview{background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:20px;font-size:19px;line-height:1.55}.fold-animation{border:1px solid var(--border);background:var(--surface);transform-origin:50%;clip-path:polygon(0 0,78% 0,100% 24%,100% 100%,0 100%);border-radius:2px 7px 2px 2px;width:72px;height:48px;margin:18px auto 24px;animation:.8s ease-in forwards paper-fold;position:relative;overflow:hidden}.fold-animation:after{content:"";background:var(--accent-soft);border-left:1px solid var(--border);border-bottom:1px solid var(--border);clip-path:polygon(0 0,100% 100%,0 100%);width:16px;height:12px;position:absolute;top:0;right:0}.fold-animation span{display:none}@keyframes paper-fold{50%{transform:perspective(150px)rotateX(55deg)}to{opacity:.6;transform:perspective(150px)rotateX(89deg)}}.support-panel{border:2px solid var(--accent);background:var(--accent-soft);border-radius:16px;width:100%;margin:24px 0;padding:24px}.support-panel h2{margin:0 0 10px;font-size:25px}.support-panel p{line-height:1.6}.support-panel a{font-weight:650;text-decoration:underline}.situation-back{margin:30px 0}.situation-back a,.manual-next a:not(.button){color:var(--accent-strong);text-decoration:underline}.save-sheet .button:disabled{background:var(--border);border-color:var(--border);color:var(--muted);cursor:not-allowed;opacity:.9}.save-backdrop{z-index:20;background:#0c141194;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.save-sheet{background:var(--paper);width:min(100%,520px);max-height:min(90dvh,820px);color:var(--ink);box-shadow:var(--shadow);border-radius:20px;padding:28px;position:relative;overflow:auto}.save-sheet h2{letter-spacing:-.04em;margin:12px 28px 10px 0;font-size:30px;line-height:1.12}.save-sheet>p{color:var(--muted)}.save-sheet label{margin-top:14px}.save-sheet .full{width:100%;margin-top:12px}.sheet-close{min-width:48px;min-height:48px;color:var(--ink);cursor:pointer;background:0 0;border:0;font-size:30px;position:absolute;top:12px;right:16px}.library-wrap{max-width:1180px}.library-lane{margin:48px 0 70px}.library-lane-heading{flex-wrap:wrap;align-items:baseline;gap:18px;display:flex}.library-lane-heading h2{margin:0;font-size:28px}.library-lane-heading p{color:var(--muted)}.situation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px;display:grid}.situation-tile{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;min-height:100%;transition:border-color .15s;display:flex;overflow:hidden}.situation-tile:hover{border-color:var(--accent)}.tile-art{background:var(--paper);place-items:center;height:190px;display:grid;overflow:hidden}.tile-art svg{object-fit:cover;width:100%;height:100%}.tile-copy{padding:17px}.tile-code{font:12px var(--font-geist-mono),monospace;color:var(--accent-strong);text-transform:uppercase}.tile-copy h2,.tile-copy h3{letter-spacing:-.02em;margin:10px 0;font-size:19px;line-height:1.25}.tile-copy p{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.home-wrap{max-width:1180px;min-height:70vh;padding-top:65px}.home-grid{margin:32px 0 28px}.home-grid .tile-art{height:205px}.manual-core{max-width:900px;min-height:75vh;padding-top:58px}.manual-core>p{color:var(--muted);line-height:1.6}.manual-group{margin:36px 0}.manual-group h2{border-bottom:1px solid var(--border);padding-bottom:10px;font-size:25px}.manual-instruction{border:1px solid var(--border);background:var(--surface);border-radius:16px;gap:12px;margin:12px 0;padding:18px;display:grid}.manual-instruction textarea{min-height:100px;line-height:1.5}.manual-instruction select{margin-top:6px}.manual-next{border:1px solid var(--border);background:var(--surface);border-radius:18px;margin-top:54px;padding:24px}.manual-next p{font-size:19px;line-height:1.5}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=760px){.situation-wrap,.library-wrap,.home-wrap,.manual-core{padding:30px 18px 80px}.scene-window{aspect-ratio:9/10;border-radius:16px;margin:22px auto 34px}.level-steps{grid-template-columns:repeat(2,1fr)}.situation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile-art{height:130px}.tile-copy{padding:13px}.tile-copy h2,.tile-copy h3{font-size:16px}.tile-copy p{font-size:13px}.home-grid .tile-art{height:140px}.save-backdrop{padding:0}.save-sheet{border-radius:20px 20px 0 0;width:100%;max-height:94dvh;padding:25px 20px}.save-sheet .button{min-height:50px}}@media (width<=420px){.situation-grid{grid-template-columns:1fr}.tile-art,.home-grid .tile-art{height:185px}.library-lane-heading{display:block}.library-lane-heading h2{margin-bottom:4px}.activity-card{padding:19px}.choice-pill{white-space:normal;text-align:left;max-width:100%}}@media (prefers-reduced-motion:reduce){.fold-animation{opacity:.6;animation:none}.situation-tile{transition:none}html{scroll-behavior:auto}}.manual-page ol{padding-left:22px;line-height:1.6}.manual-page li{margin:8px 0}
