
:root{color-scheme:dark;--bg:#081221;--panel:#101e30;--line:#23364b;--text:#f1f5f8;--muted:#9dafc1;--accent:#ff9059;--mint:#88e1ca;--title:'Aileron',system-ui,sans-serif;--body:'Aileron',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:14px}button,a,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}a{color:var(--mint)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--mint);outline-offset:4px}button{border:0}a{text-decoration:none}.skip{position:fixed;top:-80px;z-index:50;background:white;color:black;padding:15px}.skip:focus{top:5px}.app{height:100dvh;display:grid;grid-template-columns:88px minmax(0,1fr) 280px;grid-template-rows:76px minmax(0,1fr) 38px;overflow:hidden}.top{grid-column:1/-1;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:20px;background:#0b1727;z-index:2}.brand{display:flex;align-items:center;gap:12px;color:white;font-family:var(--title);font-size:23px;letter-spacing:2px;line-height:.9}.brand small{font-family:var(--body);display:block;font-size:8px;color:var(--muted);letter-spacing:3.7px;margin-top:9px}.brand-mark{border:1px solid #738ea7;display:flex;align-items:center;justify-content:center;width:40px;height:42px;border-radius:50% 50% 40% 40%;font-size:27px;position:relative}.brand-mark span{font-family:Arial;position:absolute;font-size:12px;color:var(--accent);right:-4px;top:0}.edition{display:flex;background:#050d18;border:1px solid var(--line);padding:4px;border-radius:7px}.edition button{background:none;color:var(--muted);padding:9px 16px;border-radius:4px;font-size:12px;font-weight:600}.edition button.active{background:#26394d;color:white;box-shadow:0 1px 5px #0007}.top-actions{display:flex;align-items:center;gap:18px}.review{color:#a4b6c5;font-size:9px;letter-spacing:1.3px;white-space:nowrap}i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);margin-right:7px}.icon-btn{font-size:25px;background:none;color:#b8c8d6;border:1px solid var(--line);border-radius:6px;width:36px;height:36px;line-height:1}.rail{display:flex;flex-direction:column;border-right:1px solid var(--line);background:#0b1727;padding:22px 9px;gap:10px}.rail-btn{background:none;color:#91a4b8;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;padding:13px 0;border-radius:7px}.rail-btn span{font-size:22px;font-weight:400}.rail-btn.active{background:#1c3043;color:var(--mint);box-shadow:inset 2px 0 var(--mint)}.rail-foot{margin-top:auto;text-align:center;font-family:var(--title);font-size:12px;letter-spacing:1px;color:#b7c7d4}.rail-foot span{font-family:var(--body);display:block;font-size:6px;letter-spacing:.2px;margin-top:8px;color:#7e94a7}main{overflow:auto;scrollbar-color:#354b60 transparent;outline:none;position:relative}.workspace{padding:30px 34px 25px;max-width:1400px;margin:auto}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--mint);text-transform:uppercase}.utility{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.utility .subtle{color:var(--muted);font-size:11px}.hero{position:relative;min-height:315px;isolation:isolate;border:1px solid #354a5d;border-radius:12px;overflow:hidden;background:#0c1b2d}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;opacity:.68}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081322f5 0%,#081322dc 32%,#08132244 72%),linear-gradient(0deg,#081322aa,transparent 70%);z-index:-1}.hero-copy{padding:32px 34px;max-width:570px;width:70%}.hero h1{font:700 clamp(40px,4.7vw,68px)/.94 var(--title);letter-spacing:.2px;margin:15px 0;color:#fff;max-width:440px}.hero h1 em{font-style:normal;color:#ffae79}.hero p{line-height:1.7;color:#c6d4df;max-width:350px;margin:0 0 20px;font-size:13px}.primary{display:inline-flex;gap:18px;align-items:center;justify-content:center;background:var(--accent);border-radius:5px;color:#171c24;padding:13px 20px;font-size:12px;font-weight:700;box-shadow:0 5px 22px #fa713c12}.primary:hover{background:#ffb487;transform:translateY(-1px)}.secondary{display:inline-flex;gap:12px;align-items:center;border:1px solid #3a5369;color:#e5eef5;background:#182b3d;padding:12px 17px;border-radius:5px;font-size:12px}.secondary:hover{background:#294359}.hero-tag{font-size:9px;letter-spacing:1.7px;color:#d0e5f5}.avatar{position:absolute;right:6px;bottom:-12px;width:30%;max-height:295px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 10px 15px #0009)}.photo-credit{position:absolute;right:12px;bottom:10px;z-index:2;color:#e0e8ef;font-size:8px;background:#071324bb;padding:3px 6px;border-radius:3px}.guide{display:flex;align-items:center;gap:13px;margin:19px 0 25px;padding:0 5px}.guide-icon{width:40px;height:40px;flex-shrink:0;border-radius:50%;background:#23384b;border:1px solid #496176;overflow:hidden}.guide-icon img{width:100%;height:100%;object-fit:cover;object-position:50% 12%}.guide strong{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--mint);margin-bottom:4px}.guide p{font-size:12px;color:#b8c9d6;line-height:1.6;margin:0;max-width:760px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.section-title h2{font:600 24px var(--title);margin:0;letter-spacing:.3px}.text-btn{background:none;color:var(--mint);font-size:11px;padding:6px 0}.learning-card{display:grid;grid-template-columns:52px 1fr auto;gap:16px;align-items:center;padding:18px;border:1px solid #355066;border-left:3px solid var(--accent);background:linear-gradient(100deg,#172d41,#112031);border-radius:8px}.step-symbol{font-size:25px;width:48px;height:48px;display:grid;place-items:center;background:#223c51;border-radius:7px;color:var(--mint)}.learning-card h3{font-size:15px;margin:5px 0 7px;font-weight:600}.learning-card p{font-size:11px;line-height:1.6;color:#a6bbcc;margin:0}.small-tag{color:#f1b88e;font-size:8px;letter-spacing:1.2px;font-weight:700}.small-label{font-size:10px;color:#9cb3c5}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.support-card{border:1px solid var(--line);border-radius:8px;padding:16px 18px;background:#0e1d2e;display:flex;gap:14px;align-items:center;color:inherit;text-align:left}.support-card:hover{border-color:#4f6b81;background:#15283b}.support-card>span{font-size:24px;color:#8ea6bc}.support-card strong{display:block;font-size:12px;margin-bottom:5px}.support-card small{font-size:10px;color:var(--muted);line-height:1.5}.mission-meter{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:23px;gap:15px}.meter{height:3px;background:#25384b;margin-top:9px;border-radius:4px}.meter span{display:block;height:100%;background:var(--mint)}.route{background:#0c1929;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.route-head{padding:27px 24px 18px}.route h2{font:600 26px var(--title);margin:10px 0 6px}.route-head p{color:var(--muted);font-size:11px;line-height:1.6;margin:0}.stops{overflow:auto;flex:1;padding:0 14px 10px 20px;scrollbar-width:thin;scrollbar-color:#344b60 transparent}.stop{display:flex;align-items:center;gap:13px;position:relative;background:none;width:100%;text-align:left;padding:10px 7px;border-radius:6px;min-height:53px;color:#a1b4c6}.stop:before{content:'';height:24px;width:1px;background:#2c4358;position:absolute;top:41px;left:20px}.stop:last-child:before{display:none}.stop .num{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border:1px solid #3b5063;border-radius:50%;font-size:10px;background:#0c1929;z-index:1}.stop strong{font-size:11px;font-weight:500;display:block}.stop small{display:block;font-size:9px;margin-top:3px;color:#7e96aa}.stop.active{background:#203347;color:#fff}.stop.active .num{background:var(--accent);color:#141f2c;border-color:var(--accent);box-shadow:0 0 15px #ff905930}.stop.active small{color:#c0d2e2}.stop.visited .num{border-color:#70b4a4;color:var(--mint)}.stop:hover{background:#1a2c3e}.route-bottom{padding:17px 23px;border-top:1px solid var(--line)}.route-bottom>span{display:block;font-size:8px;letter-spacing:1.5px;color:#819bad;margin-bottom:9px}.route-bottom button{width:100%;text-align:left;border:1px solid #395267;background:#172c3f;border-radius:5px;padding:10px;font-size:11px}.route-bottom b{float:right;color:var(--mint)}.route-bottom small{display:block;font-size:9px;color:#8fa6ba;line-height:1.6;margin-top:9px}.statusbar{grid-column:1/-1;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 22px;background:#0a1727;font-size:9px;color:#8ca2b6;gap:12px}.statusbar b{font-size:8px;letter-spacing:1px;color:#9bb2c3}.statusbar button{background:none;color:#bdcedb;font-size:9px}.statusbar button b{border:1px solid #496075;padding:2px 5px;border-radius:50%;margin-left:7px}.page-head{margin-bottom:25px}.page-head h1{font:600 48px/.95 var(--title);margin:12px 0}.page-head p{color:var(--muted);line-height:1.8;max-width:640px;font-size:13px}.books-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.book{border:1px solid var(--line);border-radius:9px;background:#112235;overflow:hidden}.book img{height:180px;object-fit:cover;width:100%}.book-copy{padding:20px}.book h2{font:600 27px var(--title);margin:8px 0}.book p{line-height:1.7;font-size:12px;color:var(--muted)}.book .actions{display:flex;gap:12px;flex-wrap:wrap}.panel{padding:24px;border:1px solid var(--line);border-radius:8px;background:#102033;margin-bottom:17px}.panel h2,.panel h3{margin:0 0 10px;font-family:var(--title);font-size:25px;font-weight:600}.panel p,.panel li{color:#b8cad9;line-height:1.8;font-size:12px}.panel li{margin-bottom:7px}.panel ul{padding-left:20px}.split{display:grid;grid-template-columns:1fr 1fr;gap:17px}.proof{background:#122a36;border:1px solid #386a66;border-radius:8px;padding:20px}.proof h3{color:var(--mint)}.empty{padding:35px;text-align:center;border:1px dashed #395469;border-radius:9px;color:var(--muted);line-height:1.8}.empty h2{font-family:var(--title);color:white;font-size:30px}textarea,input,select{background:#091725;border:1px solid #40596f;color:#fff;padding:13px;border-radius:5px;width:100%}textarea{resize:vertical;min-height:105px;line-height:1.7}.label{font-size:11px;display:block;margin-bottom:9px;color:#bdcfdd}dialog{color:var(--text);background:#0e1e30;border:1px solid #3d596f;border-radius:13px;width:min(870px,calc(100vw - 30px));max-height:calc(100dvh - 50px);padding:0;box-shadow:0 35px 120px #000b}dialog::backdrop{background:#020b15db;backdrop-filter:blur(7px)}.modal-top{display:flex;align-items:center;justify-content:space-between;padding:17px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3;background:#0e1e30}#modal-body{padding:27px 32px 32px}.modal-title{font:600 41px var(--title);margin:8px 0 14px}.modal-lead{color:#b8cad8;font-size:13px;line-height:1.8}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:23px 0}.modal-grid .panel{margin:0;padding:17px}.modal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px}.lesson-tabs{display:flex;border-bottom:1px solid var(--line);gap:8px;margin:15px 0 24px}.lesson-tabs span{padding:12px 10px;font-size:11px;color:#8ea8bc}.lesson-tabs .on{color:var(--mint);border-bottom:2px solid var(--mint)}.answer{display:block;width:100%;text-align:left;background:#152c40;border:1px solid #375268;color:#d9e6ef;padding:15px 18px;border-radius:6px;margin:10px 0;font-size:13px;line-height:1.6}.answer:hover{border-color:#7ac8b7}.answer.selected{border-color:var(--mint);background:#1b3d46}.feedback{padding:14px 17px;background:#1d3d43;border:1px solid #518b83;color:#d3f5e9;border-radius:5px;font-size:12px;line-height:1.7;margin-top:17px}.feedback.retry{border-color:#a67951;background:#3b2e25;color:#ffe2c2}.note{color:#8ea8bc;font-size:10px;line-height:1.7}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.metric{background:#12283c;padding:20px;border:1px solid #304a60;border-radius:7px}.metric b{display:block;font:600 32px var(--title);color:var(--mint)}.metric small{font-size:10px;color:#acc1d2}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}td,th{text-align:left;border-bottom:1px solid #31485c;padding:11px 10px;vertical-align:top;line-height:1.7}th{color:#8edbc9;font-size:10px}details{background:#102438;border:1px solid #304b60;border-radius:7px;margin:10px 0;padding:15px}summary{cursor:pointer;font-size:12px;color:#d7e7f2}details p{line-height:1.8;font-size:12px;color:#a9c1d2}#toast{position:fixed;bottom:60px;left:50%;transform:translateX(-50%);background:#d6f6e9;color:#0e2825;padding:13px 20px;border-radius:6px;z-index:30;box-shadow:0 7px 30px #0007;font-size:12px;display:none;max-width:90vw}body[data-mode="high"]{--accent:#83dacf;--mint:#a8d4f8}body[data-mode="high"] .hero-bg{object-position:70% 38%;opacity:.9}body[data-mode="high"] .hero:after{background:linear-gradient(90deg,#081322f7 0%,#081322cc 40%,#08132222 100%)}body[data-mode="high"] .hero h1 em{color:#9adfd7}body[data-mode="high"] .avatar{width:16%;max-height:145px;right:18px;bottom:25px}body[data-mode="high"] .photo-credit{bottom:7px}.mobile-route{display:none}button,a{transition:background .15s,border-color .15s,transform .15s}@media(min-width:1600px){.workspace{padding:40px 50px}.hero{min-height:400px}.hero-copy{padding:45px}.avatar{max-height:370px}.support-grid{margin-top:20px}}@media(max-width:1150px){.app{grid-template-columns:72px minmax(0,1fr) 240px}.workspace{padding:25px 23px}.hero-copy{padding:27px 24px;width:78%}.hero h1{font-size:49px}.hero p{font-size:12px;max-width:300px}.learning-card{gap:10px;grid-template-columns:40px 1fr}.learning-card .secondary{grid-column:2;justify-self:start;padding:9px 12px;margin-top:2px}.top{padding:0 20px}.review{display:none}.route-head{padding:25px 18px 15px}.route h2{font-size:23px}.support-card{padding:13px;gap:10px}}@media(max-width:850px){.app{grid-template-columns:65px minmax(0,1fr);grid-template-rows:70px minmax(0,1fr) 35px}.route{display:none}.route.show{display:flex;position:fixed;right:0;top:70px;bottom:35px;width:275px;z-index:9;box-shadow:-30px 0 60px #0009}.mobile-route{display:inline-flex}.brand{font-size:18px}.brand small{font-size:7px;letter-spacing:2.6px}.brand-mark{width:32px;height:35px;font-size:23px}.edition button{padding:8px 10px;font-size:10px}.top-actions{gap:0}.top{gap:12px;padding:0 13px}.workspace{padding:22px}.hero{min-height:330px}.hero-copy{width:75%}.hero h1{font-size:56px}.hero p{max-width:300px}.status-secondary,#status-text{display:none}.rail{padding:16px 5px}.rail-btn{font-size:9px}.rail-foot{font-size:10px}.rail-foot span{display:none}}@media(max-width:560px){.app{grid-template-columns:52px minmax(0,1fr)}.brand{font-size:15px;letter-spacing:1px;gap:7px}.brand small{letter-spacing:1.7px;font-size:6px}.brand-mark{display:none}.edition button{font-size:9px;padding:8px}.top{padding:0 9px;gap:7px}.icon-btn{width:29px;height:30px;font-size:20px}.workspace{padding:19px 14px}.hero{min-height:440px}.hero-copy{width:100%;padding:25px 20px}.hero h1{font-size:48px;max-width:250px}.hero p{max-width:240px;font-size:12px;padding-right:20px}.avatar{width:39%;max-height:180px;right:-10px;opacity:.95}.hero .primary{max-width:190px;line-height:1.5;justify-content:flex-start;padding:11px 14px}.guide{align-items:flex-start}.guide p{font-size:11px}.support-grid,.books-grid,.split,.modal-grid{grid-template-columns:1fr}.learning-card{grid-template-columns:1fr}.learning-card .step-symbol{display:none}.learning-card .secondary{grid-column:1}.hero-tag{font-size:8px}.section-title h2{font-size:22px}.utility .subtle{display:none}.utility{margin-bottom:15px}.eyebrow{font-size:9px;letter-spacing:1.5px}.page-head h1{font-size:39px}.metric-row{grid-template-columns:1fr}.panel{padding:18px}#modal-body{padding:21px 20px}.modal-title{font-size:34px}.modal-top{padding:14px 20px}.statusbar{padding:0 12px;font-size:8px}.statusbar b{font-size:7px}body[data-mode="high"] .hero{min-height:370px}body[data-mode="high"] .avatar{display:none}.books-grid .book img{height:160px}.route.show{width:260px}.rail-btn{font-size:8px;padding:12px 0}.rail-btn span{font-size:20px}.rail-foot{font-size:8px}.support-card small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Guide selection */
.guide-top-button{border:1px solid #3b576c;background:#1a3043;color:#c5e8df;border-radius:5px;padding:9px 12px;font-size:11px;white-space:nowrap}.change-guide{margin-left:auto;flex-shrink:0}.guide-original{width:100%;height:100%;object-fit:contain}.portrait-atlas{display:block;aspect-ratio:1;background-image:url('assets/guide-portraits.webp');background-size:300% 900%;background-repeat:no-repeat;width:100%;border-radius:inherit}.avatar.custom-guide{aspect-ratio:1;border:2px solid #d5b465;border-radius:50%;overflow:hidden;bottom:35px;right:25px;max-height:none;box-shadow:0 0 45px #71c6be26}.guide-icon .portrait-atlas{width:100%;height:100%}.guide-picker-layout{display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:center}.guide-custom-preview{text-align:center;background:linear-gradient(150deg,#213d50,#0b1929);padding:24px 15px;border:1px solid #3c596f;border-radius:10px}.guide-custom-preview .portrait-atlas{border:1px solid #63798a;border-radius:50%;max-width:225px;margin:0 auto 23px}.guide-custom-preview h2{font:600 34px var(--title);margin:10px 0}.guide-custom-preview p{font-size:12px;line-height:1.8;color:#a9c5d5}.guide-controls fieldset{border:0;padding:0;margin:20px 0}.guide-controls legend{font-size:11px;font-weight:600;color:#c6d9e7;margin-bottom:10px}.guide-segments,.tone-options{display:flex;gap:7px}.guide-segments button,.tone-options button{flex:1;background:#182d41;border:1px solid #405d75;color:#bacee0;padding:10px 7px;border-radius:5px;font-size:11px}.guide-segments button.selected,.tone-options button.selected{border-color:#a7ebd7;box-shadow:0 0 0 1px #a7ebd7;background:#244b50;color:white}.tone-options button{display:flex;align-items:center;justify-content:center;gap:8px}.tone-options button>span{display:block;height:18px;width:18px;border-radius:50%;border:1px solid #ffffff50}.guide-controls .modal-title{font-size:34px}.guide-controls .modal-lead{font-size:12px}.guide-controls .modal-actions{gap:15px}.guide-controls .primary{padding:13px 15px}
/* Embedded stage workspace */
#main:has(.stage-workspace){overflow:hidden}.workspace.stage-workspace{height:100%;padding:23px 25px 17px;display:flex;flex-direction:column;max-width:none}.stage-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.stage-topline h1{font:600 37px/1 var(--title);margin:8px 0 0}.stage-arrows{display:flex;gap:8px}.stage-arrows .secondary{padding:9px 13px}.stage-guide{display:flex;align-items:center;gap:12px;border:1px solid #2d485b;background:#132c3b;border-radius:7px;padding:10px 13px;margin-bottom:13px}.stage-guide p{font-size:11px;line-height:1.5;margin:0;flex:1;color:#bdd2df}.stage-guide b{display:block;color:var(--mint);font-size:8px;letter-spacing:1px;margin-bottom:3px}.stage-guide .guide-icon{width:35px;height:35px}.stage-tabs{display:flex;gap:4px;border-bottom:1px solid #425d73;flex-shrink:0}.stage-tabs button{background:none;color:#a6bed1;font-size:11px;padding:12px 13px;border-radius:4px 4px 0 0}.stage-tabs button[aria-selected=true]{background:#203b50;color:var(--mint);border-bottom:2px solid var(--mint)}#stage-pane{flex:1;min-height:0;overflow:auto;background:#0d2031;border:1px solid #324d62;border-top:0;border-radius:0 0 8px 8px;display:flex;flex-direction:column}.activity-frame{width:100%;height:100%;flex:1;min-height:0;border:0;background:#f0f4f8}.stage-reading{max-width:820px;padding:25px 30px;line-height:1.8;overflow:auto;width:100%;margin:0 auto}.stage-reading h2{font:600 32px var(--title);margin:12px 0}.stage-reading p,.stage-reading li{color:#bdd1df;font-size:13px}.stage-reading textarea{min-height:180px}.stage-reading ol{padding-left:20px}.stage-reading li{margin-bottom:10px}.resource-subnav{display:flex;align-items:center;gap:13px;padding:10px 14px;background:#132c40;font-size:10px;flex-shrink:0;color:#aac3d5}.resource-subnav select{width:auto;font-size:11px;padding:8px;max-width:260px}.resource-subnav span{margin-left:auto}#book-frame{flex:1;min-height:0;display:flex}#evidence-save-status{font-size:11px;color:var(--mint)}body[data-mode=high] .avatar.custom-guide{width:19%;max-height:none;bottom:32px;right:25px}@media(max-width:850px){.stage-topline h1{font-size:30px}.workspace.stage-workspace{padding:17px}.stage-guide{padding:9px}.stage-guide .text-btn{font-size:9px}.stage-tabs button{padding:10px;font-size:10px}.guide-picker-layout{grid-template-columns:200px 1fr;gap:20px}.guide-custom-preview{padding:15px 10px}.guide-controls .modal-title{font-size:31px}.top-actions{gap:9px}.guide-top-button{font-size:9px;padding:8px}}@media(max-width:560px){.guide-picker-layout{grid-template-columns:1fr}.guide-custom-preview{display:grid;grid-template-columns:100px 1fr;align-items:center;text-align:left;gap:0 16px;padding:14px}.guide-custom-preview #guide-live-portrait{grid-row:1/4}.guide-custom-preview .portrait-atlas{margin:0}.guide-custom-preview h2{font-size:27px}.guide-custom-preview .eyebrow{font-size:8px}.guide-custom-preview p{font-size:10px;margin:0}.guide-segments button,.tone-options button{font-size:10px}.guide-top-button{font-size:8px;padding:7px 6px}.top-actions{gap:5px}.guide{flex-wrap:wrap}.change-guide{margin-left:53px}.workspace.stage-workspace{padding:13px 10px 10px}.stage-topline{gap:7px}.stage-topline h1{font-size:27px}.stage-topline .eyebrow{font-size:7px}.stage-arrows{gap:4px}.stage-arrows .secondary{font-size:9px;padding:8px}.stage-arrows .mobile-route{display:none}.stage-guide .guide-icon{display:none}.stage-guide p{font-size:10px}.stage-guide .text-btn{font-size:8px}.stage-tabs button{padding:10px 6px;font-size:9px;white-space:nowrap}.stage-reading{padding:18px}.resource-subnav{flex-wrap:wrap}.resource-subnav span{display:none}.avatar.custom-guide{bottom:22px;right:12px;width:34%}}
.stage-content{height:100%;min-height:0;display:flex;flex-direction:column}.stage-content[hidden]{display:none!important}
/* Program front door, NASA desk, and specialty PHIT workspace */
.rail{overflow-y:auto;padding-top:10px;gap:3px}.rail-btn{padding:9px 0;gap:5px}.rail-btn span{font-size:19px}.rail-foot{padding-top:14px}.control-hero{min-height:370px}.control-hero .hero-copy{width:80%;padding:35px 30px}.control-hero h1{font-size:clamp(44px,4.6vw,66px);max-width:490px}.control-hero p{max-width:370px}.control-portrait{position:absolute;width:25%;right:22px;bottom:35px;aspect-ratio:1;border-radius:50%;border:1px solid #d0b780;background:#153449;overflow:hidden;box-shadow:0 0 50px #09101b}.control-portrait .guide-original{object-fit:contain}.control-actions,.phit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.console-tile{text-align:left;background:linear-gradient(130deg,#173445,#102035);border:1px solid #365267;border-radius:9px;padding:23px;color:var(--text)}.console-tile:hover{border-color:var(--mint);background:#1b3949}.console-tile h2{font:600 30px/1 var(--title);margin:12px 0}.console-tile p{font-size:12px;line-height:1.8;color:#bdd0dc}.tile-link{font-size:11px;color:var(--mint);display:block;margin-top:20px}.program-overview p{line-height:1.9}.control-outcomes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.control-outcomes b{display:block;font-size:10px;color:var(--mint);letter-spacing:2px;margin-bottom:9px}.control-outcomes span{font-size:12px;line-height:1.8;color:#b9cbd8}.pathway-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #365267;border-radius:9px;overflow:hidden}.pathway-grid article{padding:22px 18px;background:#101f31;display:flex;flex-direction:column;border-right:1px solid #365267}.pathway-grid article:last-child{border:0}.pathway-grid article>span{font-size:9px;letter-spacing:1px;color:var(--mint)}.pathway-grid h3{font:600 27px var(--title);margin:12px 0}.pathway-grid p{font-size:12px;line-height:1.8;color:#b8cad8;flex:1}.pathway-grid button{padding:10px;font-size:10px}.control-guide{margin-top:18px}.news-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.news-toolbar label{font-size:11px}.news-toolbar select{width:auto;max-width:230px}.feed-status{font-size:11px;color:var(--mint);line-height:1.8;margin:20px 0}.news-stories{margin-bottom:25px}.news-row{display:flex;gap:20px;border-top:1px solid #294257;padding:23px 0}.news-number{font:500 29px var(--title);color:#678b9e;min-width:30px}.news-row h2{font:600 30px/1.1 var(--title);margin:10px 0}.news-row p{color:#99b3c5;font-size:10px}.news-row .text-btn{font-size:12px}.phit-ribbon{display:flex;justify-content:space-between;gap:15px;padding:14px 18px;border:1px solid #8d7545;border-radius:6px;background:#42372444;margin:20px 0;font-size:10px;line-height:1.7}.phit-ribbon b{color:#f3c983;letter-spacing:1px}.phit-ribbon span{color:#c4c6bb}.locality-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.phit-card{background:#112539;border:1px solid #325067;padding:23px;border-radius:9px}.phit-card h2{font:600 30px/1 var(--title);margin:14px 0}.phit-value{font:500 45px var(--title);color:#91afc1;border-bottom:1px solid #345065;padding-bottom:18px;margin-bottom:16px}.phit-value small{font:400 11px var(--body);color:#a8bfce;vertical-align:middle}.phit-card p{color:#bacdda;font-size:12px;line-height:1.8}.phit-card summary{color:var(--mint);font-size:11px;cursor:pointer}.earth-log{margin-top:20px}.earth-log details p{overflow-wrap:anywhere}.panel>h2{font-family:var(--title);font-size:30px}.panel>p{line-height:1.8;color:#bdd0df}body[data-mode=high] .control-portrait{width:20%}@media(max-width:1050px){.pathway-grid{grid-template-columns:1fr}.pathway-grid article{border:0;border-bottom:1px solid #365267}.control-outcomes{gap:12px}.control-hero .hero-copy{width:86%}}@media(max-width:600px){.control-actions,.phit-grid,.locality-grid{grid-template-columns:1fr}.control-outcomes{grid-template-columns:1fr;gap:18px}.control-hero{min-height:450px}.control-hero .hero-copy{width:100%;padding:25px 20px}.control-hero h1{font-size:47px}.control-hero p{max-width:240px;padding:0}.control-portrait{width:24%;bottom:22px;right:12px;opacity:.9}.control-hero .primary{max-width:210px}.phit-ribbon{flex-direction:column;gap:4px}.program-overview .section-title{align-items:flex-start;flex-direction:column;gap:10px}.rail-foot{display:none}.rail-btn{font-size:8px;padding:9px 0}.news-toolbar .secondary{padding:10px}.news-row h2{font-size:27px}.news-row{gap:12px}.control-guide .guide-icon{display:none}.control-guide{padding:12px;gap:6px}.control-guide .text-btn{font-size:9px}.control-guide p{font-size:10px}.top .brand small{display:none}.guide-top-button{max-width:49px;white-space:normal}}
/* NASA RSS imagery comes from each article's own media. */
.news-stories{display:grid;grid-template-columns:1fr 1fr;gap:20px}.nasa-card{border:1px solid #36526a;border-radius:10px;overflow:hidden;background:#102237}.nasa-feature{grid-column:1/-1}.nasa-photo{margin:0;background:#07101c}.nasa-photo img{display:block;width:100%;height:230px;object-fit:cover}.nasa-photo figcaption{color:#b3c6d6;font-size:9px;padding:8px 13px;line-height:1.5;max-height:55px;overflow:auto}.nasa-feature .nasa-photo img{height:360px}.nasa-card-copy{padding:23px}.nasa-card h2{font:600 30px/1.1 var(--title);margin:12px 0}.nasa-feature h2{font-size:39px}.nasa-card p{font-size:11px;line-height:1.7;color:#aac0d2}.nasa-card .secondary{margin-top:10px}.nasa-no-photo{display:flex;align-items:center;justify-content:center;min-height:160px;color:#8caabd;background:#132c43;font-size:10px;letter-spacing:1px}.nasa-brief-photo{margin-bottom:25px;border-radius:7px;overflow:hidden}.nasa-brief-photo img{height:auto;max-height:400px;object-fit:contain}.phit-ecosystem-frame{background:#f2f5f9}@media(max-width:700px){.news-stories{grid-template-columns:1fr}.nasa-feature .nasa-photo img{height:240px}.nasa-card h2,.nasa-feature h2{font-size:30px}.nasa-card-copy{padding:18px}}
