:root{color:#193b3b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#193b3b;--ink-soft:#41615b;--muted:#72837a;--paper:#f4f3ea;--white:#fffef8;--line:#dfe3d7;--sage:#dbe7d7;--green:#477c68;--green-dark:#28594f;--mint:#b8d9c7;--gold:#d8a855;--gold-soft:#f1e4bd;--coral:#c8755b;--blue:#5d98a2;--shadow:0 12px 34px #1e403914;background:#f4f3ea;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:var(--paper);min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #d8a855}::selection{color:#183f3d;background:#d7ead8}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:20;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffef8e6;border-bottom:1px solid #e0e3d8;justify-content:space-between;align-items:center;gap:24px;height:78px;padding:0 clamp(20px,4.4vw,68px);display:flex;position:sticky;top:0}.brand-button{color:var(--ink);text-align:left;background:0 0;border:0;align-items:center;gap:11px;min-width:max-content;padding:0;display:flex}.brand-mark{background:var(--ink);color:#e8c57d;border-radius:12px 12px 12px 4px;place-items:center;width:38px;height:38px;display:grid}.brand-mark.small{border-radius:9px 9px 9px 3px;width:29px;height:29px}.brand-type{letter-spacing:.11em;flex-direction:column;gap:3px;display:flex}.brand-type strong{font-size:12px;font-weight:850}.brand-type small{color:#7f9288;letter-spacing:.18em;font-size:8px;font-weight:750}.header-nav{align-items:center;gap:clamp(12px,2.5vw,34px);height:100%;display:flex}.header-nav>button:not(.teacher-trigger){color:#62766d;background:0 0;border:0;border-bottom:2px solid #0000;height:100%;padding:8px 1px;font-size:12px;font-weight:650}.header-nav>button.nav-current{color:var(--ink);border-bottom-color:var(--gold)}.nav-progress{color:#71857b;white-space:nowrap;align-items:center;gap:7px;font-size:10px;display:inline-flex}.nav-progress-dot,.online-dot{background:#5c9b78;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #dcebe0}.teacher-trigger{color:var(--ink);background:#f0f1e7;border:1px solid #e0e3d8;border-radius:11px;align-items:center;gap:7px;padding:9px 13px;font-size:11px;font-weight:750;display:inline-flex}.teacher-trigger.teacher-active{background:var(--ink);color:#fff8df}.page-wrap{flex:1;width:min(1350px,100%);margin-inline:auto;padding:0 clamp(20px,5vw,76px)}.button{text-align:center;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:11px;min-height:44px;padding:12px 17px;font-size:12px;font-weight:760;line-height:1.25;transition:background .18s,color .18s,transform .18s,border-color .18s;display:inline-flex}.button:not(:disabled):hover{transform:translateY(-1px)}.button-primary{background:var(--ink);color:#fff8e9;box-shadow:0 5px #10292c}.button-primary:not(:disabled):hover{background:#27524e}.button-secondary{color:#2c4e47;background:#f3f3e9;border-color:#dce2d6}.button-secondary:not(:disabled):hover{background:#e8efe4;border-color:#9ebcaf}.button-ghost{color:var(--ink);background:0 0;border-color:#dfe3d7}.button-danger{color:#9c4e3e;background:#fff2ed;border-color:#ecc8bc}.eyebrow{color:#758c7e;letter-spacing:.16em;text-transform:uppercase;font-size:9px;font-weight:850;line-height:1.4;display:inline-block}.status-pill{color:#6b7c70;white-space:nowrap;background:#f4f5ed;border:1px solid #e0e5d9;border-radius:999px;justify-content:center;align-items:center;padding:5px 9px;font-size:9px;font-weight:780;line-height:1.2;display:inline-flex}.status-good{color:#2f7658;background:#e6f3e7;border-color:#c2dec8}.status-warn{color:#946c27;background:#fbf2d7;border-color:#ebd8aa}.status-locked{color:#7c8980;background:#edf0e9}.progress-wrap{align-items:center;gap:9px;min-width:0;display:flex}.progress-track{background:#e5e9de;border-radius:10px;flex:1;height:5px;overflow:hidden}.progress-fill{border-radius:inherit;background:#6b9e7e;height:100%;transition:width .25s}.progress-wrap>span{color:#74887b;white-space:nowrap;font-size:10px;font-weight:750}.home-screen{padding-top:clamp(32px,5vw,68px);padding-bottom:62px}.hero-grid{grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr);align-items:center;gap:clamp(28px,5vw,70px);display:grid}.hero-kicker{color:#668176;letter-spacing:.16em;align-items:center;gap:9px;margin-bottom:23px;font-size:9px;font-weight:850;display:flex}.signal-pulse{background:#c8755b;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #f2d9c7}.hero-copy h1{letter-spacing:-.075em;color:#163c3c;max-width:570px;margin:0 0 23px;font-size:clamp(48px,6.8vw,86px);font-weight:900;line-height:.91}.hero-copy h1 em,.completion-body h1 em,.epilogue-copy h1 em{color:#c5795b;font-style:normal}.hero-subtitle{letter-spacing:-.025em;color:#2e514c;max-width:450px;margin:0 0 15px;font-size:clamp(15px,1.7vw,19px);line-height:1.55}.hero-subtitle strong{font-weight:800}.hero-description{color:#687c71;max-width:445px;margin:0;font-size:13px;line-height:1.8}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.hero-footnote{color:#849187;flex-wrap:wrap;align-items:center;gap:9px;margin-top:24px;font-size:10px;display:flex}.mini-check{color:#477e66;background:#dcebdd;border-radius:50%;place-items:center;width:17px;height:17px;font-size:10px;font-weight:900;display:grid}.foot-divider{color:#c6cfc4}.hero-art-wrap{background:#fffef7;border:1px solid #e2e6da;border-radius:21px;padding:12px 12px 0;transform:rotate(.4deg);box-shadow:0 23px 50px #1e41391c}.art-card-top{color:#809186;letter-spacing:.15em;justify-content:space-between;align-items:center;padding:10px 13px 12px;font-size:8px;font-weight:850;display:flex}.art-card-top>span:first-child{align-items:center;gap:8px;display:inline-flex}.island-illustration{border-radius:15px;width:100%;display:block}.island-illustration.compact{border-radius:14px}.art-caption{align-items:center;gap:10px;padding:12px 14px 14px;display:flex}.nova-avatar-small{background:#e8f0de;border-radius:13px;place-items:center;width:48px;height:48px;display:grid}.art-caption>div:nth-child(2){flex-direction:column;gap:4px;display:flex}.art-caption strong{font-size:11px}.art-caption small{color:#839084;font-size:9px}.status-live{letter-spacing:.1em;color:#538b68;margin-left:auto;font-size:8px;font-weight:850}.prologue-section{margin-top:clamp(55px,7vw,88px)}.prologue-heading{border-bottom:1px solid #dce1d5;grid-template-columns:170px 1fr;gap:20px;padding-bottom:18px;display:grid}.story-index{color:#c0785b;letter-spacing:.13em;padding-top:7px;font-size:9px;font-weight:850}.prologue-heading h2{letter-spacing:-.04em;margin:0 0 6px;font-size:clamp(22px,2.8vw,29px)}.prologue-heading p{color:#708176;margin:0;font-size:12px;line-height:1.7}.clue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:18px;display:grid}.clue-card{text-align:left;min-height:190px;color:var(--ink);background:#fffef8;border:1px solid #dfe4d7;border-radius:15px;flex-direction:column;align-items:flex-start;padding:18px;transition:border .2s,transform .2s,box-shadow .2s;display:flex;position:relative}.clue-card:hover{box-shadow:var(--shadow);border-color:#a8c1af;transform:translateY(-2px)}.clue-card.clue-selected{background:#f6faef;border-color:#6f9a7b;box-shadow:inset 0 0 0 1px #6f9a7b}.clue-stamp{color:#9eab9e;letter-spacing:.12em;font-size:8px;font-weight:800;position:absolute;top:17px;right:17px}.clue-icon{border-radius:12px;place-items:center;width:38px;height:38px;margin-bottom:13px;font-size:20px;display:grid}.update-icon{color:#467969;background:#dfeee0}.power-clue{color:#a16e2d;background:#f8e8c5}.clue-card strong{margin-bottom:5px;font-size:12px}.clue-card p{color:#78887c;margin:0 0 13px;font-size:10px;line-height:1.6}.clue-action{color:#507865;align-items:center;gap:8px;margin-top:auto;font-size:10px;font-weight:800;display:flex}.prediction-card{background:#e9eddf;border-radius:15px;align-items:center;gap:12px;min-height:190px;padding:18px;display:flex}.prediction-card>div{min-width:0}.prediction-card .prediction-content{flex:1}.prediction-options{flex-wrap:wrap;gap:5px;margin:8px 0 9px;display:flex}.prediction-options button{color:#587563;text-align:left;background:#ffffff8c;border:1px solid #d2ddce;border-radius:7px;padding:6px 8px;font-size:8px;font-weight:750}.prediction-options button.prediction-selected{color:#fff9e8;background:#315e50;border-color:#315e50}.prediction-card .eyebrow{margin-bottom:8px}.prediction-card strong{margin-bottom:6px;font-size:13px;display:block}.prediction-card p{color:#6d7f71;margin:0 0 12px;font-size:10px;line-height:1.65}.prediction-status{letter-spacing:.12em;color:#648671;font-size:8px;font-weight:850}.skills-strip{border-top:1px solid #dce1d5;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:47px;padding-top:22px;display:grid}.skills-strip>div{grid-template-rows:auto auto;grid-template-columns:38px 1fr;align-content:center;column-gap:10px;display:grid}.skill-symbol{color:#4c7d67;background:#e2ebdf;border-radius:11px;grid-row:span 2;place-items:center;width:36px;height:36px;font-size:17px;font-weight:800;display:grid}.skills-strip strong{align-self:end;font-size:10px}.skills-strip small{color:#879387;margin-top:4px;font-size:9px}.storage-warning{color:#805d25;background:#fff2d7;border:1px solid #ead8a5;border-radius:9px;margin-top:20px;padding:12px 14px;font-size:11px}.map-screen{padding-top:44px;padding-bottom:60px}.page-heading-row{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.page-heading-row h1{letter-spacing:-.055em;margin:7px 0;font-size:clamp(30px,4vw,42px)}.page-heading-row p{color:#76877a;margin:0;font-size:12px}.map-progress-card{background:#fffef8;border:1px solid #e0e5da;border-radius:13px;flex-shrink:0;width:225px;padding:14px 16px 13px}.map-progress-card>div:first-child{flex-direction:column;gap:7px;margin-bottom:10px;display:flex}.map-progress-card strong{font-size:11px}.island-map-wrap{box-shadow:var(--shadow);background:#fffef8;border:1px solid #d7e2d4;border-radius:19px;padding:12px;overflow:hidden}.map-top-label{color:#819285;letter-spacing:.14em;justify-content:space-between;align-items:center;padding:7px 9px 13px;font-size:8px;font-weight:850;display:flex}.map-top-label>span:first-child{align-items:center;gap:8px;display:flex}.island-map-canvas{aspect-ratio:2;isolation:isolate;border-radius:14px;width:100%;position:relative;overflow:hidden}.map-illustration,.route-overlay{width:100%;height:100%;position:absolute;inset:0}.route-overlay{pointer-events:none;z-index:1}.map-node{z-index:3;width:118px;color:var(--ink);background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.node-marker{color:#356552;background:#fff8df;border:3px solid #f9f5df;border-radius:50% 50% 50% 10px;place-items:center;width:38px;height:38px;transition:transform .2s,scale .2s;display:grid;transform:rotate(-45deg);box-shadow:0 3px #22453938,0 0 0 2px #467862}.node-marker>span{font-size:11px;font-weight:900;transform:rotate(45deg)}.map-node:hover:not(:disabled) .node-marker{transform:rotate(-45deg)scale(1.12)}.node-current .node-marker{box-shadow:0 0 0 4px #e6bc6473,0 3px #22453938,0 0 0 2px #467862}.node-complete .node-marker{color:#fffbe7;background:#2f6d58;box-shadow:0 3px #22453938,0 0 0 2px #2f6d58}.node-locked .node-marker{color:#809086;background:#e1e3d7;box-shadow:0 3px #2245391f,0 0 0 2px #a6b2a3}.node-caption{text-align:center;background:#fffef7f0;border:1px solid #d8e0d2;border-radius:8px;flex-direction:column;gap:3px;min-width:104px;max-width:136px;padding:6px 8px 7px;display:flex;box-shadow:0 2px 8px #22453914}.node-caption strong{font-size:9px;line-height:1.2}.node-caption small{color:#789080;letter-spacing:.08em;font-size:7px;font-weight:850}.node-locked .node-caption{opacity:.83}.map-legend{color:#748679;flex-wrap:wrap;align-items:center;gap:17px;padding:13px 9px 5px;font-size:9px;display:flex}.map-legend>span:not(.map-legend-note){align-items:center;gap:7px;display:flex}.map-legend i{border-radius:50%;width:8px;height:8px;display:inline-block}.legend-ready{background:#e0b85f;box-shadow:0 0 0 2px #f5e7b4}.legend-completed{background:#477c68}.legend-locked{background:#bcc7ba}.map-legend-note{margin-left:auto;font-style:italic}.map-bottom-row{grid-template-columns:1.5fr .8fr;gap:14px;margin-top:18px;display:grid}.map-story-note{background:#e9eee0;border:1px solid #dfe4d7;border-radius:14px;align-items:center;gap:14px;padding:18px 21px;display:flex}.map-note-icon{background:#f7f7e9;border-radius:15px;flex-shrink:0;place-items:center;width:57px;height:57px;display:grid}.map-story-note .eyebrow{margin-bottom:5px}.map-story-note strong,.map-legend-box strong{margin-bottom:5px;font-size:12px;display:block}.map-story-note p,.map-legend-box p{color:#6e8074;margin:0;font-size:10px;line-height:1.6}.map-legend-box{background:#fffef8;border:1px solid #e2e4d9;border-radius:14px;padding:17px 19px}.map-legend-box .eyebrow{margin-bottom:6px}.teacher-banner{background:#fbf0d4;border:1px solid #ecd9a6;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:13px 16px;display:flex}.teacher-banner>span{color:#9d762d;font-size:19px}.teacher-banner div{flex:1}.teacher-banner strong{font-size:11px}.teacher-banner p{color:#8b7a52;margin:3px 0 0;font-size:10px}.chapter-screen{padding-top:22px;padding-bottom:60px}.chapter-topbar{border-bottom:1px solid #dde2d7;justify-content:space-between;align-items:center;gap:15px;padding-bottom:18px;display:flex}.back-link{color:#5d7b6d;background:0 0;border:0;align-items:center;gap:8px;padding:8px 0;font-size:11px;font-weight:750;display:flex}.back-link span{font-size:17px}.chapter-top-progress{flex-direction:column;gap:6px;width:235px;display:flex}.chapter-top-progress>span{color:#8a9a8d;letter-spacing:.14em;font-size:8px;font-weight:850}.chapter-duration{color:#7b8d80;white-space:nowrap;font-size:10px}.restart-chapter{color:#537462;font:inherit;white-space:nowrap;cursor:pointer;background:#fbfcf7;border:1px solid #dce4d8;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:750;transition:background .16s,border-color .16s}.restart-chapter:hover{background:#edf2e8;border-color:#bfd2bf}.restart-chapter:focus-visible{outline-offset:2px;outline:3px solid #a4cbb3}.chapter-heading{align-items:center;gap:16px;padding:25px 0 27px;display:flex}.chapter-number{color:#40745e;background:#dceadc;border-radius:14px 14px 14px 4px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:18px;font-weight:900;display:grid}.chapter-accent-blue{color:#34727b;background:#d8e9e7}.chapter-accent-amber{color:#99722d;background:#f4e7c5}.chapter-accent-coral{color:#9e5b47;background:#f2ddd3}.chapter-accent-violet{color:#716597;background:#e4e0f1}.chapter-accent-teal{color:#32786c;background:#d4eae4}.chapter-heading>div:nth-child(2){flex:1;min-width:0}.chapter-heading .eyebrow{margin-bottom:5px}.chapter-heading h1{letter-spacing:-.05em;margin:0 0 4px;font-size:clamp(22px,3vw,31px)}.chapter-heading p{color:#7a8a7d;margin:0;font-size:11px}.chapter-concept{text-align:right;flex-direction:column;align-items:flex-end;gap:6px;max-width:250px;display:flex}.chapter-concept strong{color:#667b6c;font-size:10px;line-height:1.5}.chapter-workspace{grid-template-columns:245px minmax(0,1fr);align-items:start;gap:18px;display:grid}.mission-rail{flex-direction:column;gap:12px;display:flex}.mission-card{background:#fffef8;border:1px solid #e0e5d8;border-radius:15px;padding:17px}.mission-label{color:#859488;letter-spacing:.13em;align-items:center;gap:7px;font-size:8px;font-weight:850;display:flex}.mission-pin{background:#d3a45c;border-radius:50%;width:7px;height:7px;display:inline-block}.mission-nova{align-items:flex-end;gap:4px;height:77px;margin-top:5px;display:flex}.speech-tail{background:#e9eee0;border-radius:7px 7px 7px 1px;width:17px;height:8px;margin-bottom:11px}.mission-story{color:#6b7f73;margin:4px 0 15px;font-size:10px;line-height:1.75}.mission-rule{background:#e5e8df;height:1px;margin:0 0 14px}.mission-objective{margin:6px 0 13px;font-size:11px;font-weight:740;line-height:1.7}.brief-toggle{color:#668674;background:0 0;border:0;border-top:1px solid #e7e9e0;justify-content:space-between;align-items:center;width:100%;padding:11px 0 0;font-size:9px;font-weight:800;display:flex}.brief-toggle span{font-size:15px}.mission-field-note{color:#708174;background:#edf1e5;border-radius:9px;gap:8px;margin-top:10px;padding:10px;display:flex}.mission-field-note>span{color:#6b997a;font-size:17px}.mission-field-note p{margin:0;font-size:9px;line-height:1.6}.hint-card{background:#fbf4dd;border:1px solid #eadfbf;border-radius:14px;padding:15px}.hint-card-heading{align-items:center;gap:9px;margin-bottom:12px;display:flex}.hint-icon{color:#9d7533;background:#f0dfb3;border-radius:9px;place-items:center;width:29px;height:29px;display:grid}.hint-card-heading>div:last-child{flex-direction:column;gap:4px;display:flex}.hint-card-heading strong{font-size:10px}.hint-card-heading small{color:#99845b;font-size:9px}.hint-card .button{color:#7a693f;background:#fff6;border-color:#e4d5ad;width:100%;min-height:34px;padding:8px 10px;font-size:10px}.hint-text{color:#756741;margin:0 0 12px;font-size:10px;line-height:1.65}.chapter-checklist{background:#eff1e7;border:1px solid #dfe5d9;border-radius:13px;padding:13px 15px}.chapter-checklist>.eyebrow{margin-bottom:11px}.chapter-checklist>div{color:#758477;align-items:center;gap:8px;margin-top:8px;font-size:9px;display:flex}.check-empty{color:#5e9670;background:#faf9ef;border:1px solid #cbd6ca;border-radius:50%;place-items:center;width:17px;height:17px;font-size:8px;font-weight:850;display:grid}.activity-card{background:#fffef8;border:1px solid #dfe5d8;border-radius:16px;min-width:0;padding:18px;box-shadow:0 9px 28px #21443a0d}.activity-card-top{border-bottom:1px solid #e8e9df;justify-content:space-between;align-items:center;margin-bottom:17px;padding:0 0 15px;display:flex}.activity-card-top>div{flex-direction:column;gap:5px;display:flex}.activity-card-top strong{font-size:12px}.workspace-status{color:#799184;letter-spacing:.1em;align-items:center;gap:6px;font-size:8px;font-weight:850;display:inline-flex}.workspace-status i{background:#5d9c73;border-radius:50%;width:6px;height:6px}.activity-stack{flex-direction:column;gap:15px;min-width:0;display:flex}.challenge-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.level-switcher{background:#f3f4eb;border:1px solid #e2e6dc;border-radius:10px;gap:3px;padding:3px;display:flex}.level-switcher button{color:#859387;background:0 0;border:0;border-radius:7px;padding:6px 8px;font-size:9px;font-weight:750}.level-switcher button.selected{color:#fff9e8;background:#2b5b50}.activity-intro{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.activity-intro h3{letter-spacing:-.035em;margin:0 0 5px;font-size:17px}.activity-intro p{color:#75867a;max-width:570px;margin:0;font-size:10px;line-height:1.6}.grid-board-wrap{background:#eaf0e4;border:1px solid #dce5d9;border-radius:13px;padding:12px}.grid-board{gap:4px;width:100%;max-width:550px;margin-inline:auto;display:grid}.grid-cell{aspect-ratio:1.3;background:#f7f6e9;border:1px solid #d7e1d2;border-radius:6px;place-items:center;min-width:0;display:grid;position:relative;overflow:hidden}.grid-cell:nth-child(odd){background:#f0f2e4}.cell-travelled{background:#d8e9d6!important}.cell-robot{box-shadow:inset 0 0 0 2px #6d9d7a;background:#d4ead9!important}.cell-goal{background:#f7e8b8!important}.cell-obstacle{background:#d6dfd1!important}.cell-marker{z-index:1;color:#a78339;opacity:.75;font-size:19px;font-weight:800;position:absolute;top:1px;right:5px}.rock-mark{width:65%;max-width:44px}.rock-mark svg{width:100%;display:block}.tile-nova{z-index:2;filter:drop-shadow(0 2px #21443a26)}.tile-nova.facing-e{transform:rotate(90deg)}.tile-nova.facing-s{transform:rotate(180deg)}.tile-nova.facing-w{transform:rotate(-90deg)}.tile-item{z-index:1;color:#9b7535;background:#fff3ce;border:1px solid #e7cd87;border-radius:7px;place-items:center;width:25px;height:25px;font-weight:900;display:grid}.grid-legend{color:#768a7b;flex-wrap:wrap;align-items:center;gap:16px;padding:9px 3px 0;font-size:9px;display:flex}.grid-legend span{align-items:center;gap:5px;display:inline-flex}.legend-nova{place-items:center;height:22px;display:inline-grid}.legend-goal{color:#b48e3b;font-size:15px;font-style:normal}.legend-rock{color:#70867a;font-size:10px;font-style:normal}.builder-panel{background:#fafaf3;border:1px solid #e0e5d9;border-radius:12px;padding:14px}.builder-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.builder-heading>div{flex-direction:column;gap:4px;display:flex}.builder-heading h3{letter-spacing:-.02em;margin:0;font-size:13px}.block-count{color:#718579;white-space:nowrap;background:#f3f5ec;border:1px solid #e3e7de;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:750}.block-list,.debug-step-list,.core-program{flex-direction:column;gap:6px;display:flex}.program-block{background:#edf4e8;border:1px solid #dbe6d7;border-radius:9px;align-items:center;gap:9px;min-height:43px;padding:7px 8px;transition:border .15s,background .15s;display:flex}.program-block.block-active{background:#fbefc8;border-color:#d6b965;box-shadow:inset 3px 0 #c3943f}.block-index{color:#7d9181;background:#ffffff7a;border:1px solid #d0dccf;border-radius:6px;flex:0 0 20px;place-items:center;width:20px;height:20px;font-size:8px;font-weight:800;display:grid}.block-symbol{color:#477b66;text-align:center;width:20px;font-size:18px;font-weight:850;line-height:1}.block-loop .block-symbol{color:#8b7749}.block-label{color:#38594d;flex:1;font-size:10px;font-weight:760}.repeat-count{color:#8e7540;margin-left:8px;font-size:9px;display:inline-block}.program-block select{color:#536f60;background:#fffef7;border:1px solid #d8e1d4;border-radius:7px;max-width:100px;padding:5px;font-size:9px}.block-controls{flex-shrink:0;align-items:center;gap:3px;margin-left:auto;display:inline-flex}.block-controls button{color:#74887b;background:#ffffff8c;border:1px solid #dde5da;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;font-size:12px;line-height:1;display:grid}.block-controls button:not(:disabled):hover{color:#2f6956;background:#e1ece0;border-color:#aac7b3}.empty-code{text-align:center;color:#9aa599;padding:12px;font-size:10px}.block-palette{border-top:1px dashed #dce2d6;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding-top:11px;display:flex}.palette-label{color:#8b998c;letter-spacing:.12em;margin-right:3px;font-size:8px;font-weight:850}.block-palette button{color:#4a7460;background:#fffef8;border:1px solid #d7e2d3;border-radius:7px;padding:7px 9px;font-size:9px;font-weight:750}.block-palette button:hover:not(:disabled){background:#edf5e9;border-color:#9cbea7}.run-feedback{color:#677d6d;background:#f3f5eb;border:1px solid #e0e6db;border-radius:9px;align-items:flex-start;gap:9px;padding:11px 12px;font-size:10px;line-height:1.6;display:flex}.feedback-dot{background:#91a08f;border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:4px;display:inline-block}.feedback-success{color:#367454;background:#e9f5e7;border-color:#c4ddc2}.feedback-success .feedback-dot{background:#4f996b}.feedback-error{color:#9d5a43;background:#fbede4;border-color:#edc9b8}.feedback-error .feedback-dot{background:#c8755b}.activity-actions,.solved-actions{flex-wrap:wrap;gap:8px;display:flex}.activity-actions .button{min-height:38px;padding:10px 13px}.success-panel{background:#eef7e8;border:1px solid #bfddc2;border-radius:12px;align-items:flex-start;gap:10px;padding:13px;display:flex}.success-panel>svg{flex-shrink:0}.success-panel>div{flex:1;min-width:0}.success-panel strong{color:#2e694f;font-size:12px}.success-panel p{color:#617f68;margin:4px 0 10px;font-size:10px;line-height:1.6}.success-panel .solved-actions{margin-top:3px}.success-panel .button{min-height:34px;padding:8px 10px;font-size:10px}.hint-line{color:#7c8e80;align-items:flex-start;gap:8px;padding:0 2px;display:flex}.hint-line p{margin:0;font-size:9px;line-height:1.65}.hint-spark{color:#6f8c70;background:#e8eddf;border-radius:50%;flex-shrink:0;place-items:center;width:16px;height:16px;font-size:10px;font-weight:900;display:grid}.toggle-control{color:#718378;align-items:center;gap:7px;font-size:10px;font-weight:750;display:inline-flex}.toggle-control input{accent-color:#467c64;width:14px;height:14px}.lab-scene{background:linear-gradient(#e7eee4,#dbe8d9);border:1px solid #d1e0d0;border-radius:13px;justify-content:space-around;align-items:flex-end;gap:16px;min-height:210px;padding:18px 20px 0;display:flex;overflow:hidden}.lab-door{background:#8aa998;border:5px solid #5b8072;border-bottom:0;border-radius:12px 12px 0 0;flex-direction:column;flex-shrink:0;align-items:center;width:125px;height:179px;padding-top:21px;display:flex;position:relative}.door-light{background:#c8755b;border-radius:50%;width:7px;height:7px;position:absolute;top:8px;box-shadow:0 0 0 4px #c8755b2b}.door-light.lit{background:#6fae7b;box-shadow:0 0 0 4px #579e692b}.door-window{color:#547668;letter-spacing:.1em;background:#bcd7c8;border:3px solid #4d6c61;border-radius:5px;place-items:center;width:72px;height:57px;font-size:9px;font-weight:900;display:grid}.door-handle{background:#d8b367;border-radius:50%;align-self:flex-end;width:7px;height:7px;margin-top:19px;margin-right:15px}.lab-terminal{background:#f0f0df;border:4px solid #668b7d;border-radius:11px 11px 0 0;width:min(240px,46%);min-width:180px;overflow:hidden;box-shadow:3px 0 #c7d4c4}.terminal-top{color:#eaf1df;letter-spacing:.12em;background:#476c5f;align-items:center;gap:4px;padding:7px 8px;font-size:7px;font-weight:850;display:flex}.terminal-top span{background:#dfc16f;border-radius:50%;width:5px;height:5px}.terminal-top span:first-child{background:#d38c6d}.terminal-screen{color:#305d4b;background:#e2ead7;padding:16px 13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:2.1}.terminal-screen strong{color:#b0644e}.code-muted{color:#7b9b80}.condition-output{letter-spacing:.12em;border-radius:5px;margin-top:12px;padding:4px 7px;font:800 8px ui-sans-serif,system-ui}.condition-true{color:#317451;background:#d1e9cf}.condition-false{color:#a65d47;background:#f5dccc}.state-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.state-card{background:#fafaf4;border:1px solid #e2e6dc;border-radius:10px;align-items:center;gap:9px;min-width:0;padding:10px;display:flex}.state-card.state-on{background:#eff7e9;border-color:#c3ddc6}.state-icon{color:#657f6e;background:#e7ebdd;border-radius:9px;place-items:center;width:29px;height:29px;font-size:17px;display:grid}.state-card>div{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.state-card strong{font-size:10px}.state-card small{color:#8a998b;font-size:8px}.action-row{flex-wrap:wrap;gap:8px;display:flex}.action-row .button{min-height:36px;padding:9px 12px;font-size:10px}.battery-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.battery-card{text-align:center;background:#fafaf3;border:1px solid #e0e5da;border-radius:10px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:11px 6px 9px;display:flex}.battery-card.battery-correct{background:#f0f7e9;border-color:#b7d5b6}.battery-card.battery-wrong{background:#fcf0e9;border-color:#e8b7a4}.battery-illustration{flex-direction:column;align-items:center;height:47px;display:flex}.battery-cap{background:#708a78;border-radius:3px 3px 0 0;width:13px;height:5px}.battery-body{background:#e2e7d5;border:2px solid #597b67;border-radius:4px;align-items:flex-end;width:22px;height:42px;padding:3px;display:flex}.battery-charge{background:#70a878;border-radius:2px;width:100%;min-height:4px}.battery-red .battery-charge{background:#c8755b}.battery-yellow .battery-charge{background:#d0a44d}.battery-card strong{font-size:10px}.battery-colour{color:#8a978b;text-transform:capitalize;font-size:8px}.battery-property{color:#7b8b7d;text-align:left;border-top:1px solid #e6e8df;justify-content:space-between;gap:4px;width:100%;padding-top:5px;font-size:7px;display:flex}.battery-property b{color:#4f6a59;text-align:right;font-weight:800}.battery-card .status-pill{white-space:normal;padding:4px 5px;font-size:7px}.rule-picker{background:#fafaf3;border:1px solid #e2e6da;border-radius:11px;padding:12px}.rule-options{grid-template-columns:1fr;gap:6px;margin-top:9px;display:grid}.rule-option{text-align:left;color:var(--ink);background:#fffef8;border:1px solid #e1e6db;border-radius:9px;align-items:flex-start;gap:9px;padding:10px;display:flex}.rule-option.rule-selected{background:#eff5e9;border-color:#7da58b;box-shadow:inset 3px 0 #649475}.radio-dot{border:1.5px solid #b2c0b0;border-radius:50%;flex-shrink:0;width:13px;height:13px;margin-top:2px}.rule-selected .radio-dot{background:#fff;border:4px solid #56866b}.rule-option span:last-child{flex-direction:column;gap:4px;display:flex}.rule-option strong{font-size:10px}.rule-option small{color:#7b8d7d;font-size:9px;line-height:1.5}.rule-footer{border-top:1px solid #e6e8df;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding-top:10px;display:flex}.rule-footer p{color:#77877a;margin:0;font-size:9px;line-height:1.5}.rule-footer code{color:#4b7862;background:#e8efe2;border-radius:4px;padding:2px 4px}.rule-footer .button{flex-shrink:0;min-height:35px;padding:8px 12px}.console-screen{background:#eaf0e4;border:1px solid #c9d9c9;border-radius:12px;overflow:hidden}.console-top{color:#e3e9d8;letter-spacing:.13em;background:#284c46;align-items:center;gap:4px;padding:9px 12px;font-size:8px;display:flex}.console-top span{background:#cb8564;border-radius:50%;width:6px;height:6px}.console-top span:nth-child(2){background:#d9b65c}.console-top span:nth-child(3){background:#7cb486}.console-top b{margin-left:6px;font-weight:800}.console-banner{border-bottom:1px solid #d5e1d2;align-items:center;gap:10px;padding:13px 14px;display:flex}.relay-lamp{background:#c8755b;border-radius:50%;flex-shrink:0;width:14px;height:14px;box-shadow:0 0 0 5px #f3dbca}.relay-lamp.lamp-on{background:#5a9d70;box-shadow:0 0 0 5px #d2e8ce}.console-banner>div:last-child{flex-direction:column;gap:4px;display:flex}.console-banner strong{letter-spacing:.09em;font-size:10px}.console-banner small{color:#708577;font-size:8px}.condition-editor{justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.operator-toggle{gap:5px;display:inline-flex}.operator-toggle button{color:#718577;background:#f8f8ee;border:1px solid #ccdaca;border-radius:8px;flex-direction:column;align-items:center;gap:3px;min-width:67px;padding:7px;font-size:10px;font-weight:850;display:flex}.operator-toggle button small{font-size:7px;font-weight:600}.operator-toggle button.operator-selected{color:#f7f3de;background:#30594e;border-color:#30594e}.debug-step{background:#fffef8;border:1px solid #e1e6da;border-radius:9px;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.debug-step-symbol{color:#4b7b62;background:#e9efdf;border-radius:8px;flex-shrink:0;place-items:center;width:29px;height:29px;font-size:17px;display:grid}.debug-step>div:first-of-type{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.debug-step strong,.core-command strong{font-size:10px}.debug-step small{color:#819083;font-size:8px;line-height:1.4}.debug-palette{align-items:center}.debug-palette .palette-label{width:100%}.trace-panel{background:#f2f4e9;border:1px solid #dfe5d9;border-radius:11px;padding:12px}.trace-heading{color:#859486;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:8px;display:flex}.trace-line{border-top:1px solid #e1e7dc;align-items:flex-start;gap:10px;padding:8px 2px;display:flex}.trace-line>span{color:#b0843d;font-family:ui-monospace,monospace;font-size:9px}.trace-line p{color:#617a69;margin:0;font-size:9px;line-height:1.5}.inventory-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.inventory-strip>.eyebrow{grid-column:1/-1}.inventory-item{color:#89978a;background:#fafaf3;border:1px solid #e2e6da;border-radius:9px;align-items:center;gap:7px;min-width:0;padding:9px;display:flex}.inventory-item>span:first-child{color:#8b967f;background:#e8eadf;border-radius:7px;flex-shrink:0;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.inventory-item>div{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.inventory-item strong{font-size:8px}.inventory-item small{font-size:7px}.inventory-item.inventory-owned{color:#3c7755;background:#eff6e8;border-color:#c5dec4}.inventory-owned>span:first-child{color:#3d7d5e;background:#d8ebd5}.inventory-check{font-size:12px;font-weight:900}.core-command{background:#eff4e9;border:1px solid #dce5d7;border-radius:8px;align-items:center;gap:9px;padding:7px 8px;display:flex}.core-command>strong{color:#476b57;flex:1}.tower-visual{background:linear-gradient(130deg,#e7f0e5,#d2e6de);border:1px solid #d5e4d9;border-radius:13px;justify-content:space-around;align-items:center;gap:13px;min-height:158px;padding:15px 19px;display:flex;overflow:hidden}.tower-art{flex-shrink:0;width:90px;height:125px;position:relative}.tower-mast{clip-path:polygon(40% 0,60% 0,100% 100%,0 100%);background:#5a7f70;width:5px;height:95px;position:absolute;bottom:0;left:43px}.tower-mast:before{content:"";background:#5a7f70;width:58px;height:4px;position:absolute;top:40px;left:-26px;transform:rotate(25deg)}.tower-base{clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);background:#668a75;width:55px;height:14px;position:absolute;bottom:0;left:18px}.tower-beacon{z-index:1;background:#c8755b;border:4px solid #f3d8c8;border-radius:50%;width:17px;height:17px;position:absolute;top:7px;left:37px;box-shadow:0 0 0 4px #c8755b2e}.tower-beacon:before,.tower-beacon:after{content:"";border:2px solid #0000;border-color:#0000 #d0ac66;border-radius:50%;width:32px;height:32px;position:absolute;top:-8px}.tower-beacon:before{right:7px}.tower-beacon:after{left:7px}.tower-beacon.beacon-on{background:#62a778;border-color:#d9efcf;box-shadow:0 0 0 4px #cae7cb}.tower-copy{flex:1;min-width:0}.tower-copy h3{letter-spacing:-.03em;margin:6px 0;font-size:15px}.tower-copy p{color:#718678;margin:0;font-size:9px;line-height:1.6}.signal-meter{background:#bbd5c7;border-radius:5px;height:5px;margin-top:13px;overflow:hidden}.signal-meter-fill{border-radius:inherit;background:#d9a95d;width:18%;height:100%;transition:width .3s}.signal-meter-fill.full{background:#4e9c72;width:100%}.tower-sequence{flex-direction:column;gap:7px;display:flex}.tower-step{background:#fffef8;border:1px solid #e1e6da;border-radius:9px;align-items:center;gap:9px;padding:9px;display:flex}.tower-step-done{background:#eff7e9;border-color:#c3ddc2}.step-number{color:#789080;background:#e8eddf;border-radius:7px;place-items:center;width:21px;height:21px;font-size:9px;font-weight:850;display:grid}.tower-step-icon{color:#4c8066;background:#eaf0e3;border-radius:8px;place-items:center;width:29px;height:29px;font-size:17px;display:grid}.tower-step>div:nth-of-type(2){flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.tower-step strong{font-size:10px}.tower-step small{color:#829082;font-size:8px;line-height:1.45}.completion-screen{place-items:start center;padding-top:44px;padding-bottom:62px;display:grid}.completion-card{width:min(800px,100%);box-shadow:var(--shadow);background:#fffef8;border:1px solid #dfe4d7;border-radius:20px;overflow:hidden}.completion-top-art{background:#deebdb;height:230px;position:relative;overflow:hidden}.completion-scenery{background:linear-gradient(#d9ebe1 0%,#eff0d7 78%);position:absolute;inset:0;overflow:hidden}.sun-disc{background:#eed49a;border-radius:50%;width:49px;height:49px;position:absolute;top:27px;right:17%}.hill{border-radius:50% 50% 0 0;width:75%;height:160px;position:absolute;bottom:-55px}.hill-one{background:#aac69c;left:-7%;transform:rotate(-7deg)}.hill-two{background:#85b5a0;bottom:-76px;right:-6%;transform:rotate(8deg)}.completion-signal-tower{background:#527a6b;width:8px;height:113px;position:absolute;bottom:46px;right:20%;transform:skew(-6deg)}.completion-signal-tower:before{content:"";background:#527a6b;width:42px;height:3px;position:absolute;top:-10px;left:-17px}.completion-signal-tower span{background:#62a876;border-radius:50%;width:12px;height:12px;position:absolute;top:-17px;left:-2px;box-shadow:0 0 0 7px #62a87638}.completion-scenery .nova{z-index:2;position:absolute;bottom:23px;left:34%}.completion-stamp{z-index:3;color:#fff8dc;background:#326c55;border-radius:50%;place-items:center;width:41px;height:41px;font-size:19px;display:grid;position:absolute;top:18px;left:18px;box-shadow:0 0 0 5px #fff6}.completion-label{z-index:4;color:#386450;letter-spacing:.15em;font-size:8px;font-weight:900;position:absolute;bottom:14px;left:20px}.completion-body{padding:29px clamp(20px,4vw,42px) 31px}.completion-body h1{letter-spacing:-.06em;margin:7px 0 10px;font-size:clamp(30px,4vw,42px)}.completion-story{color:#718276;max-width:620px;margin:0 0 23px;font-size:12px;line-height:1.8}.completion-learning{background:#f0f4e8;border:1px solid #dce5d8;border-radius:12px;gap:13px;padding:15px;display:flex}.learning-icon{color:#548166;background:#dbe8d5;border-radius:10px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:17px;display:grid}.completion-learning>div:last-child{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.completion-learning strong{font-size:11px}.completion-learning p{color:#718377;margin:0;font-size:10px;line-height:1.7}.completion-clue{background:#fbf6e2;border:1px dashed #d9d7bd;border-radius:12px;align-items:center;gap:12px;margin-top:13px;padding:14px 15px;display:flex}.clue-pin{color:#9b7a3e;background:#f2e7c1;border-radius:9px;flex-shrink:0;place-items:center;width:31px;height:31px;font-size:17px;display:grid}.completion-clue>div{flex-direction:column;gap:5px;display:flex}.completion-clue strong{color:#5d6d5f;font-size:10px}.completion-actions{flex-wrap:wrap;gap:10px;margin-top:21px;display:flex}.completion-progress{color:#91a092;margin:14px 0 0;font-size:9px}.epilogue-screen{padding-top:37px;padding-bottom:63px}.epilogue-hero{grid-template-columns:1fr 1fr;align-items:center;gap:25px;padding:18px 0 35px;display:grid}.epilogue-copy{padding:20px 0 20px 5px}.epilogue-copy .eyebrow{align-items:center;gap:9px;display:flex}.epilogue-copy h1{letter-spacing:-.075em;margin:21px 0;font-size:clamp(43px,6vw,68px);line-height:.98}.epilogue-copy>p{color:#687e71;border-left:3px solid #d9a75c;max-width:510px;padding-left:17px;font-size:12px;line-height:1.9}.epilogue-signoff{align-items:center;gap:10px;margin-top:23px;display:flex}.epilogue-signoff>div{flex-direction:column;gap:5px;display:flex}.epilogue-signoff strong{font-size:10px}.epilogue-signoff small{color:#7e9081;font-size:9px}.epilogue-art{box-shadow:var(--shadow);background:#fffef8;border:1px solid #dbe4d7;border-radius:19px;padding:14px;position:relative}.transmission-badge{color:#4a8963;background:#f2f8e8;border:1px solid #c4dccb;border-radius:11px;align-items:center;gap:9px;padding:11px 13px;display:flex;position:absolute;bottom:24px;right:-9px;box-shadow:0 8px 18px #1e40391a}.transmission-badge span{letter-spacing:.1em;font-size:7px;line-height:1.6}.transmission-badge strong{font-size:11px}.theory-reveal{background:#f8f2dc;border:1px solid #eadfb9;border-radius:13px;grid-template-columns:.75fr 1.25fr;align-items:start;gap:20px;margin:0 0 25px;padding:16px 18px;display:grid}.theory-reveal>div:first-child{flex-direction:column;gap:7px;display:flex}.theory-reveal strong{font-size:11px;line-height:1.6}.theory-reveal>div:last-child p{color:#7c785d;margin:7px 0 0;font-size:10px;line-height:1.7}.archive-section{border-bottom:1px solid #dbe2d6;flex-direction:column;gap:13px;padding:24px 0 29px;display:flex}.archive-section>div:first-child{flex-direction:column;gap:5px;display:flex}.archive-section>div:first-child strong{font-size:15px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.archive-item{background:#f4f5eb;border:1px solid #dce5d8;border-radius:9px;align-items:center;gap:8px;min-width:0;padding:10px;display:flex}.archive-item>span{color:#849187;background:#e5e9df;border-radius:7px;flex-shrink:0;place-items:center;width:22px;height:22px;font-size:10px;font-weight:900;display:grid}.archive-item>div{flex-direction:column;gap:3px;min-width:0;display:flex}.archive-item strong{font-size:9px}.archive-item small{color:#849184;letter-spacing:.08em;font-size:6px;line-height:1.5}.archive-done{background:#eef5e7;border-color:#cfe1c9}.archive-done>span{color:#377451;background:#d6e9d2}.archive-skipped{opacity:.72}.truth-section{border-top:1px solid #dbe2d6;border-bottom:1px solid #dbe2d6;grid-template-columns:.75fr 1.25fr;gap:35px;padding:28px 0 35px;display:grid}.truth-heading h2{letter-spacing:-.05em;margin:9px 0;font-size:29px}.truth-heading p{color:#7b8c7f;margin:0;font-size:11px;line-height:1.7}.truth-timeline{flex-direction:column;gap:13px;display:flex}.truth-step{align-items:flex-start;gap:13px;display:flex}.truth-step>span{color:#527d64;background:#e2ebdc;border-radius:9px;flex-shrink:0;place-items:center;width:29px;height:29px;font-size:9px;font-weight:900;display:grid}.truth-step strong{font-size:11px}.truth-step p{color:#738579;margin:4px 0 0;font-size:10px;line-height:1.7}.reflection-section{grid-template-columns:1.2fr .8fr;gap:34px;padding-top:31px;display:grid}.reflection-section h2{letter-spacing:-.05em;margin:9px 0;font-size:29px}.reflection-section>div:first-child>p{color:#7b8d80;margin:0;font-size:11px;line-height:1.7}.reflection-prompts{flex-direction:column;gap:8px;margin-top:18px;display:flex}.reflection-prompts label{margin-top:7px;font-size:10px;font-weight:800}.reflection-prompts textarea{resize:vertical;width:100%;color:var(--ink);background:#fffef8;border:1px solid #dce4d7;border-radius:10px;padding:11px 12px;font-size:11px;line-height:1.6}.reflection-prompts textarea::placeholder{color:#a1aca0}.saved-note{color:#548b68;font-size:9px}.reflection-summary{background:#e9efe2;border:1px solid #dce4d7;border-radius:15px;align-self:start;padding:19px}.reflection-summary>.eyebrow{margin-top:7px}.reflection-summary h3{letter-spacing:-.03em;margin:6px 0 10px;font-size:16px}.reflection-summary ul{color:#6d8271;margin:0 0 17px;padding-left:17px;font-size:10px;line-height:2}.reflection-summary .button{width:100%}.teacher-shade{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#122b2a5c;justify-content:flex-end;display:flex;position:fixed;inset:0}.teacher-panel{background:#fffef8;flex-direction:column;width:min(420px,100%);min-height:100%;padding:25px;animation:.22s ease-out slide-in;display:flex;overflow-y:auto;box-shadow:-15px 0 45px #10302c26}@keyframes slide-in{0%{opacity:.65;transform:translate(25px)}to{opacity:1;transform:translate(0)}}.panel-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.panel-heading h2{letter-spacing:-.05em;margin:6px 0 0;font-size:25px}.close-button{color:#6d8073;background:#f4f4eb;border:1px solid #e1e6da;border-radius:9px;width:32px;height:32px;font-size:20px}.teacher-explainer{color:#75877a;margin:14px 0 22px;font-size:11px;line-height:1.7}.teacher-toggle-row{background:#f6f6ed;border:1px solid #e1e6d9;border-radius:12px;justify-content:space-between;align-items:center;padding:14px;display:flex}.teacher-toggle-row>div{flex-direction:column;gap:5px;display:flex}.teacher-toggle-row strong{font-size:11px}.teacher-toggle-row small{color:#7d8d80;font-size:9px}.switch{background:#c6d0c5;border:0;border-radius:999px;width:43px;height:25px;padding:3px;transition:background .2s}.switch span{background:#fffef8;border-radius:50%;width:19px;height:19px;transition:transform .2s;display:block;box-shadow:0 1px 4px #00000021}.switch.switch-on{background:#4e8b6b}.switch.switch-on span{transform:translate(18px)}.teacher-shortcuts{margin-top:22px}.teacher-shortcuts>strong{margin-bottom:9px;font-size:11px;display:block}.teacher-chapter-grid{flex-direction:column;gap:6px;display:flex}.teacher-chapter-grid button{color:#557664;text-align:left;background:#fffef8;border:1px solid #e3e7dc;border-radius:9px;align-items:center;gap:10px;padding:10px 12px;font-size:9px;font-weight:850;display:flex}.teacher-chapter-grid button span:nth-child(2){color:var(--ink);flex:1;font-size:10px}.teacher-foot{margin-top:auto;padding-top:25px}.teacher-foot p{color:#7a8a7d;border-top:1px solid #e1e6dc;padding-top:13px;font-size:10px;line-height:1.7}.teacher-foot p strong{color:#496c58}.app-footer{color:#8a998b;background:#f0f0e6;border-top:1px solid #e0e4d9;justify-content:space-between;align-items:center;gap:15px;padding:18px clamp(20px,4.4vw,68px);font-size:9px;display:flex}.footer-brand{color:#597364;letter-spacing:.13em;background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:8px;font-weight:850;display:inline-flex}.app-footer>button:last-child{color:#6d8875;background:0 0;border:0;padding:4px;font-size:9px;font-weight:750}@media (width<=1080px){.hero-grid{grid-template-columns:minmax(0,.9fr) minmax(350px,1.1fr);gap:30px}.chapter-workspace{grid-template-columns:220px minmax(0,1fr);gap:12px}.mission-card,.activity-card{padding:14px}.map-node{width:105px}.node-marker{width:33px;height:33px}.node-caption{min-width:94px}}@media (width<=820px){.app-header{height:68px;padding-inline:19px}.header-nav{gap:12px}.nav-progress{display:none}.header-nav>button:not(.teacher-trigger){font-size:10px}.teacher-trigger{padding:8px 10px}.hero-grid{grid-template-columns:1fr}.hero-copy{max-width:680px}.hero-art-wrap{width:min(640px,100%);margin-inline:auto}.clue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prediction-card{grid-column:1/-1;min-height:135px}.chapter-workspace{grid-template-columns:1fr}.mission-rail{grid-template-columns:1fr 1fr;align-items:start;display:grid}.mission-card{grid-row:span 2}.chapter-checklist{display:none}.chapter-concept{max-width:190px}.island-map-canvas{aspect-ratio:1.65}.map-node{width:94px}.node-caption{min-width:80px;padding:5px}.node-caption strong{font-size:8px}.node-caption small{font-size:6px}.map-bottom-row,.epilogue-hero{grid-template-columns:1fr}.epilogue-art{max-width:620px;margin-inline:auto}.truth-section{grid-template-columns:1fr;gap:20px}.reflection-section{grid-template-columns:1fr}}@media (width<=560px){.app-header{gap:8px;padding-inline:13px}.brand-mark{width:33px;height:33px}.brand-type strong{font-size:10px}.brand-type small{font-size:7px}.header-nav{gap:8px}.header-nav>button:not(.teacher-trigger){display:none}.teacher-trigger{gap:0;padding:8px 9px;font-size:0}.teacher-trigger span:first-child{font-size:14px}.page-wrap{padding-inline:15px}.home-screen{padding-top:29px}.hero-grid{gap:30px}.hero-copy h1{font-size:clamp(43px,13vw,63px)}.hero-kicker{font-size:8px}.hero-actions{flex-direction:column;align-items:stretch;max-width:310px}.hero-art-wrap{padding:7px 7px 0}.art-card-top{padding:8px;font-size:7px}.art-caption{gap:7px;padding:9px}.status-live{font-size:6px}.prologue-heading{grid-template-columns:1fr;gap:7px}.clue-grid{grid-template-columns:1fr}.clue-card{min-height:165px}.prediction-card{grid-column:auto}.skills-strip{grid-template-columns:repeat(2,1fr);gap:20px 10px}.map-screen{padding-top:27px}.page-heading-row{flex-direction:column;align-items:stretch}.map-progress-card{width:100%}.island-map-wrap{padding:7px}.map-top-label{padding:6px 5px 9px;font-size:6px}.island-map-canvas{aspect-ratio:auto;background:#d5e7d8;height:515px}.map-illustration,.route-overlay{display:none}.island-map-canvas:before{content:"";opacity:.9;background:radial-gradient(at 50% 48%,#a2bd8d 0 52%,#0000 53%);position:absolute;inset:0}.island-map-canvas:after{content:"";border:2px dashed #fff4d2cc;border-radius:48%;position:absolute;inset:20px 12%;transform:rotate(-17deg)}.map-node{z-index:4;width:113px}.map-node:first-of-type{top:17%!important;left:20%!important}.map-node:nth-of-type(2){top:29%!important;left:75%!important}.map-node:nth-of-type(3){top:45%!important;left:22%!important}.map-node:nth-of-type(4){top:57%!important;left:75%!important}.map-node:nth-of-type(5){top:75%!important;left:22%!important}.map-node:nth-of-type(6){top:86%!important;left:75%!important}.node-marker{width:36px;height:36px}.node-caption{min-width:103px}.map-legend{gap:11px;padding-inline:4px}.map-legend-note{width:100%;margin-left:0}.map-story-note{align-items:flex-start;padding:13px}.map-legend-box{padding:13px}.chapter-screen{padding-top:12px}.chapter-topbar{flex-wrap:wrap;gap:8px}.restart-chapter{order:4}.chapter-duration{margin-left:auto}.chapter-top-progress{width:min(145px,40vw)}.chapter-top-progress>span{font-size:6px}.chapter-duration{font-size:8px}.chapter-heading{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:19px 0 17px}.chapter-number{width:39px;height:39px;font-size:15px}.chapter-heading>div:nth-child(2){flex:auto;width:calc(100% - 52px)}.chapter-heading h1{font-size:22px}.chapter-concept{text-align:left;align-items:flex-start;width:100%;max-width:none;padding-left:49px}.chapter-workspace{gap:10px}.mission-rail{grid-template-columns:1fr;gap:9px}.mission-card{grid-row:auto}.mission-nova{height:57px}.mission-nova .nova{width:54px!important;height:54px!important}.mission-story{margin-bottom:10px}.hint-card{padding:12px}.activity-card{border-radius:13px;padding:11px}.activity-card-top{margin-bottom:13px;padding-bottom:12px}.workspace-status{font-size:6px}.activity-intro{flex-direction:column;align-items:flex-start}.activity-intro h3{font-size:16px}.grid-board-wrap{padding:6px}.grid-board{gap:3px}.grid-cell{border-radius:4px}.tile-nova{width:28px!important;height:32px!important}.grid-legend{gap:9px;font-size:8px}.builder-panel{padding:9px}.program-block{gap:5px;padding:6px 5px}.block-label{font-size:9px}.block-controls{gap:2px}.block-controls button{width:21px;height:22px}.program-block select{max-width:79px;font-size:8px}.block-palette{gap:5px}.palette-label{width:100%}.block-palette button{padding:7px;font-size:8px}.activity-actions .button,.solved-actions .button{padding:9px;font-size:9px}.success-panel{gap:5px;padding:9px}.success-panel>svg{width:42px!important;height:42px!important}.success-panel .solved-actions{gap:6px}.lab-scene{gap:7px;min-height:190px;padding-inline:8px}.lab-door{width:83px;height:145px}.door-window{width:56px;height:44px}.lab-terminal{width:50%;min-width:0}.terminal-screen{padding:10px 6px;font-size:8px}.lab-scene>.nova{width:55px!important;height:60px!important}.state-grid{grid-template-columns:1fr}.battery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.battery-card{padding-inline:5px}.battery-card:nth-last-child(-n+2){grid-column:span 1}.rule-footer{flex-direction:column;align-items:flex-start}.rule-footer .button{width:100%}.condition-editor{flex-direction:column;align-items:flex-start}.operator-toggle{width:100%}.operator-toggle button{flex:1}.debug-step{gap:5px;padding:6px}.debug-step-symbol{display:none}.debug-step small{max-width:125px}.tower-visual{gap:8px;padding:12px}.tower-art{transform-origin:0;width:65px;margin-right:-12px;transform:scale(.8)}.tower-copy h3{font-size:13px}.tower-visual>.nova{width:48px!important;height:55px!important}.inventory-strip{gap:5px}.inventory-item{flex-wrap:wrap;gap:4px;padding:5px}.inventory-item>span:first-child{width:21px;height:21px}.inventory-item strong{font-size:7px}.inventory-check{display:none}.completion-screen{padding-top:24px}.completion-top-art{height:190px}.completion-body{padding:22px 17px}.completion-actions{flex-direction:column}.completion-actions .button{width:100%}.epilogue-screen{padding-top:20px}.epilogue-copy h1{font-size:47px}.epilogue-art{padding:8px}.truth-heading h2,.reflection-section h2{font-size:26px}.theory-reveal{grid-template-columns:1fr;gap:10px;padding:14px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.transmission-badge{transform-origin:100% 100%;bottom:13px;right:0;transform:scale(.9)}.app-footer{flex-wrap:wrap;gap:10px;padding-inline:14px;font-size:8px}.app-footer>span{order:3;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
