:root{color:#172033;--surface:#fff;--line:#d6dde8;--muted:#637086;--ink:#172033;--accent:#1f6f8b;--accent-strong:#0c5a70;--warm:#9a5a20;--focus:#087f5b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f7f8fb;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#03050a;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}.app-shell{flex-direction:column;gap:28px;min-height:100vh;padding:24px clamp(16px,4vw,48px);display:flex}.app-header{grid-template-columns:minmax(0,1fr);gap:12px;width:min(100%,1180px);margin:0 auto;padding-top:16px;display:grid}.eyebrow{color:var(--accent-strong);margin:0 0 8px;font-size:.95rem;font-weight:700}h1{margin:0;font-size:3.5rem;line-height:1}.lead{color:#394b5f;max-width:42rem;margin:0;font-size:1.08rem;line-height:1.7}.game-shell{--surface:#101316;--panel:#141a18;--panel-soft:#1b2421;--panel-deep:#090c0f;--line:#3c4a45;--line-soft:#ffffff1c;--muted:#b8c2bd;--ink:#f6f8f5;--accent:#38d9c5;--accent-strong:#f6c85f;--warm:#ff9f5a;--focus:#71e6a2;--danger:#ff8b72;height:100dvh;min-height:0;color:var(--ink);isolation:isolate;background:repeating-linear-gradient(0deg,#ffffff07 0 1px,#0000 1px 6px),linear-gradient(110deg,#38d9c51f,#0000 28%),linear-gradient(250deg,#f6c85f1a,#0000 34%),linear-gradient(145deg,#050607 0%,#0d120f 45%,#11170f 100%);grid-template-rows:auto minmax(0,1fr);gap:0;padding:0;display:grid;overflow:hidden}.game-shell *{letter-spacing:0}.hud-header{border:0;border-bottom:1px solid var(--line-soft);background:linear-gradient(90deg,#f6c85f1f,#0000 28%),linear-gradient(#ffffff0f,#ffffff05),#050807f5;border-radius:0;grid-template-columns:minmax(220px,.74fr) minmax(392px,1.08fr) minmax(340px,1.18fr);align-items:center;gap:12px;width:100%;min-height:74px;padding:10px 14px;box-shadow:0 10px 26px #00000038}.hud-brand{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"mark eyebrow""mark title""mark lead";align-items:center;gap:1px 10px;min-width:0;display:grid}.hud-brand__mark{color:#06100f;background:linear-gradient(180deg, #ffffff57, transparent), var(--accent);border:1px solid #38d9c56b;border-radius:6px;grid-area:mark;place-items:center;width:48px;height:48px;font-family:Cascadia Code,Consolas,monospace;font-size:.74rem;font-weight:900;display:inline-grid;box-shadow:inset 0 -5px #0000002e,0 0 24px #38d9c529}.hud-header h1{color:#fff;text-transform:uppercase;white-space:nowrap;grid-area:title;font-family:Cascadia Code,Consolas,monospace;font-size:1.22rem}.game-shell .eyebrow{color:var(--accent-strong);text-transform:uppercase;grid-area:eyebrow;font-size:.72rem;line-height:1.15}.game-shell .lead{grid-area:lead;display:none}.hud-mode-readout{color:#f4fbff;background:linear-gradient(#38d9c529,#38d9c50f),#ffffff0a;border:1px solid #38d9c575;border-radius:6px;gap:2px;min-width:96px;min-height:48px;padding:7px 10px;font-family:Cascadia Code,Consolas,monospace;display:grid;box-shadow:inset 0 -3px #0000002e}.hud-header__right{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.hud-mode-readout span,.hud-screen-banner span,.hud-command-bar span:first-child{color:var(--accent-strong);text-transform:uppercase;font-size:.7rem;font-weight:900}.hud-mode-readout strong{text-overflow:ellipsis;font-size:.88rem;overflow:hidden}.hud-status-strip{scrollbar-width:none;flex-wrap:nowrap;justify-content:end;align-items:center;gap:6px;min-width:0;display:flex;overflow-x:auto}.hud-status-strip::-webkit-scrollbar{display:none}.hud-status-strip span{color:#e9f4fb;background:linear-gradient(#ffffff12,#ffffff08),#00000024;border:1px solid #ffffff21;border-radius:6px;flex:none;gap:1px;min-width:74px;min-height:40px;padding:6px 9px;font-family:Cascadia Code,Consolas,monospace;font-size:.78rem;font-weight:800;display:grid}.hud-status-strip b{color:var(--accent-strong);font-size:.58rem;font-weight:900}.hud-frame{width:100%;height:100%;min-height:0;box-shadow:none;background:linear-gradient(#ffffff08,#0000 8rem),0 0;border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto;margin:0;display:grid;position:relative;overflow:hidden}.hud-frame--notices{grid-template-rows:auto auto minmax(0,1fr) auto}.hud-frame:before{content:"";z-index:0;pointer-events:none;opacity:.28;background-color:#0000;background-image:linear-gradient(90deg,#ffd16614 0 1px,#0000 1px),linear-gradient(#2dd4bf0d 0 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:64px 64px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0}.hud-notice-stack{z-index:1;gap:6px;padding:8px 12px 0;display:grid;position:relative}.hud-nav,.operator-actions{gap:6px;display:flex}.hud-nav{background:#0000002e;border:1px solid #ffffff1c;border-radius:8px;grid-template-columns:repeat(4,minmax(86px,1fr));width:100%;padding:3px;display:grid}.hud-nav__button,.operator-action{color:#e9f4fb;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;min-height:44px;padding:0 12px;font-family:Cascadia Code,Consolas,monospace;font-weight:900}.hud-nav__button[data-active=true]{border-color:var(--accent);color:#031014;background:linear-gradient(180deg, #ffffff6b, transparent), var(--accent);box-shadow:inset 0 -4px #0000003d,0 10px 22px #38d9c524}.hud-nav__button:disabled{cursor:not-allowed;opacity:.55}.operator-action{color:var(--accent-strong);background:#f6c85f12;border-color:#ffd1666b}.hud-nav__button:focus-visible,.operator-action:focus-visible,.operator-overlay__close:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 42%, transparent);outline-offset:2px}.hud-content{z-index:1;scrollbar-color:#2dd4bfb3 #ffffff14;min-height:0;padding:14px clamp(14px,2vw,26px);position:relative;overflow:auto}.hud-content--session{align-items:center;display:grid}.hud-screen-banner{z-index:1;border-bottom:1px solid var(--line-soft);text-align:left;background:linear-gradient(90deg,#38d9c517,#0000 42%),#ffffff08;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:12px;min-height:50px;padding:10px clamp(14px,2vw,26px);display:grid;position:relative}.hud-screen-banner strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-family:Cascadia Code,Consolas,monospace;font-size:1.04rem;overflow:hidden}.hud-screen-banner em{min-width:0;color:var(--focus);text-align:right;white-space:nowrap;align-self:center;font-family:Cascadia Code,Consolas,monospace;font-size:.72rem;font-style:normal;font-weight:900}.hud-command-bar{z-index:1;border-top:1px solid var(--line-soft);color:#f4fbff;background:linear-gradient(90deg,#f6c85f14,#0000 38%),#050807f0;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:7px clamp(12px,1.8vw,24px);font-family:Cascadia Code,Consolas,monospace;display:flex;position:relative}.hud-command-bar span:last-child{color:var(--focus);font-size:.75rem;font-weight:900}.hud-content .learning-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(180px,224px) minmax(0,1fr) minmax(300px,374px);align-items:stretch;gap:14px;width:100%;height:100%;min-height:0;margin:0}.hud-content .track-section,.hud-content .stage-section{border:1px solid var(--line-soft);background:linear-gradient(#ffffff0f,#ffffff05),#0c110ebd;border-radius:8px;flex-direction:column;min-width:0;min-height:0;padding:12px;display:flex}.hud-content .stage-grid{flex:auto;grid-template-columns:repeat(auto-fill,minmax(164px,1fr));align-content:start;gap:10px;min-height:0;padding-right:2px;overflow:auto}.hud-content .stage-detail{flex-direction:column;grid-column:auto;min-height:0;display:flex}.hud-content .event-panel{grid-column:1/-1;max-height:142px;overflow:auto}.hud-content .notebook-panel,.hud-content .achievement-panel,.hud-content .profile-panel,.hud-content .history-panel,.hud-content .stage-detail,.hud-content .event-panel,.hud-content .status-panel,.hud-content .teacher-panel,.hud-content .release-qa-panel{width:100%;margin:0}.hud-content .profile-panel,.profile-view{min-width:0}.profile-view{grid-template-columns:minmax(0,1fr) minmax(270px,420px);gap:10px;display:grid}.profile-view .history-panel{grid-column:auto}.game-shell .track-card,.game-shell .stage-card,.game-shell .stage-detail,.game-shell .status-panel,.game-shell .profile-panel,.game-shell .history-panel,.game-shell .event-panel,.game-shell .teacher-panel,.game-shell .release-qa-panel,.game-shell .notebook-panel,.game-shell .achievement-panel,.game-shell .quiz-card,.game-shell .result-panel,.game-shell .event-card,.game-shell .notebook-card,.game-shell .achievement-card,.game-shell .result-metrics div,.game-shell .teacher-panel__summary div,.game-shell .release-qa-grid div,.game-shell .release-qa-issues article,.game-shell .release-qa-manual section{background:linear-gradient(180deg, #ffffff14, #ffffff08), var(--panel);color:var(--ink);border-color:#ffffff24}.game-shell .track-card:hover:not(:disabled),.game-shell .stage-card:hover{border-color:var(--accent)}.game-shell .track-card[data-selected=true],.game-shell .stage-card[data-selected=true]{border-color:var(--accent);box-shadow:inset 4px 0 0 var(--accent), 0 0 0 1px #22c7d74d, 0 14px 34px #0000003d, 0 0 22px #22c7d724}.game-shell .track-card:disabled{color:#8593a3;background:#ffffff08}.game-shell .track-card__description,.game-shell .stage-card__subtitle,.game-shell .stage-card__badge,.game-shell .stage-detail p,.game-shell .profile-panel p,.game-shell .history-panel__empty,.game-shell .event-card p,.game-shell .event-panel__empty,.game-shell .event-card__meta,.game-shell .event-card__actions span,.game-shell .notebook-card__target,.game-shell .notebook-placeholder,.game-shell .empty-note,.game-shell .achievement-card span,.game-shell .achievement-card p,.game-shell .achievement-card small,.game-shell .release-qa-panel .section-heading p:last-child,.game-shell .teacher-panel .section-heading p:last-child{color:var(--muted)}.game-shell input,.game-shell textarea,.game-shell select{border-color:var(--line);color:var(--ink);background:#0b111a}.game-shell .primary-action:disabled{color:#c5d1de;background:#435366;border-color:#ffffff1f}.game-shell .secondary-action{color:var(--ink);background:#ffffff14;border-color:#ffffff2e}.game-shell .danger-action{color:#ffd2c8;background:#8023193d;border-color:#ff9f8a}.game-shell .choice-option{color:var(--ink);background:#ffffff0d;border-color:#ffffff24}.game-shell .choice-option[data-selected=true]{border-color:var(--accent);background:#2dd4bf24}.game-shell .code-block{background:#060a10;border:1px solid #ffffff1f}.game-shell .feedback-panel--correct{color:#d8ffe8;background:#145c3647;border-color:#6ee7a88a}.game-shell .feedback-panel--incorrect{color:#ffe6d6;background:#7a351247;border-color:#ff9f5a8a}.game-shell .notebook-card[data-completed=true],.game-shell .achievement-card[data-unlocked=true]{background:linear-gradient(180deg, #6ee7a81f, #ffffff0a), var(--panel);border-color:#6ee7a885}.game-shell .achievement-toast{color:#d8ffe8;background:#0a1b13f0;border-color:#6ee7a8a3;box-shadow:0 18px 48px #00000061}.operator-overlay{z-index:20;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#03070cb8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.operator-overlay__panel{background:#0b111a;border:1px solid #ffffff2e;border-radius:4px;grid-template-rows:auto minmax(0,1fr);width:min(1120px,100%);max-height:min(820px,100dvh - 40px);display:grid;overflow:hidden;box-shadow:0 24px 80px #00000075}.operator-overlay__bar{color:var(--accent-strong);border-bottom:1px solid #ffffff1f;justify-content:space-between;align-items:center;gap:12px;padding:10px;font-weight:900;display:flex}.operator-overlay__panel>.release-qa-panel,.operator-overlay__panel>.teacher-panel{border:0;border-radius:0;width:100%;min-width:0;margin:0;overflow:auto}.operator-overlay__close{min-height:36px;color:var(--ink);cursor:pointer;background:#ffffff14;border:1px solid #ffffff29;border-radius:2px;padding:0 12px;font-weight:800}.learning-layout{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;gap:24px;width:min(100%,1180px);margin:0 auto;display:grid}.section-heading{margin-bottom:10px}.section-heading h2,.stage-detail h2{margin:0;font-size:1.16rem}.track-list{flex:auto;gap:8px;min-height:0;display:grid;overflow:auto}.track-card,.stage-card{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;overflow:hidden}.track-card{gap:6px;min-height:124px;padding:12px;display:grid;position:relative}.track-card:hover:not(:disabled),.stage-card:hover{border-color:#7aa9b8}.track-card:focus-visible,.stage-card:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 35%, transparent);outline-offset:2px}.track-card[data-selected=true],.stage-card[data-selected=true]{border-color:var(--accent);box-shadow:inset 4px 0 0 var(--accent), 0 12px 26px #0000002e}.track-card:disabled{color:#78869b;cursor:not-allowed;background:#f0f3f6}.track-card__code,.stage-card__number{color:var(--accent-strong);font-size:.82rem;font-weight:800}.track-card__title,.stage-card__title{font-size:1rem;font-weight:800;display:block}.track-card__description,.stage-card__subtitle,.stage-card__badge,.stage-detail p{color:var(--muted);line-height:1.42}.track-card__description,.stage-card__subtitle,.stage-card__badge{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.status-pill{color:var(--warm);background:#f7eadb;border-radius:2px;justify-self:start;padding:2px 8px;font-size:.78rem;font-weight:800}.stage-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;display:grid}.stage-card{grid-template-rows:auto auto auto 1fr;gap:5px;min-height:134px;padding:10px;display:grid}.stage-card__badge{overflow-wrap:anywhere;align-self:end;margin-top:6px;font-size:.76rem}.stage-detail,.status-panel,.profile-panel,.history-panel{border:1px solid var(--line);background:var(--surface);border-radius:2px;width:min(100%,1180px);margin:0 auto;padding:14px}.boot-panel{align-self:stretch;width:min(760px,100% - 32px);margin:auto}.hud-notice-stack .status-panel{background:#ffd16612;border-color:#ffd16647;padding:9px 12px;font-size:.88rem}.stage-detail{grid-column:2}.stage-detail__header{justify-content:space-between;align-items:start;gap:12px;display:flex}.stage-detail__number{color:#081011;background:linear-gradient(180deg, #ffffff61, transparent), var(--accent-strong);border:1px solid #f6c85f85;border-radius:8px;flex:none;place-items:center;min-width:54px;min-height:44px;font-family:Cascadia Code,Consolas,monospace;font-size:.96rem;font-weight:900;display:inline-grid;box-shadow:inset 0 -4px #0000002e}.stage-detail__copy{margin:12px 0 0}.stage-detail__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.stage-detail__stats div{background:linear-gradient(#ffffff12,#ffffff08),#0000001f;border:1px solid #ffffff21;border-radius:8px;gap:3px;min-width:0;padding:10px;display:grid}.stage-detail__stats span{color:var(--accent-strong);font-family:Cascadia Code,Consolas,monospace;font-size:.62rem;font-weight:900}.stage-detail__stats strong{color:#fff;text-overflow:ellipsis;font-family:Cascadia Code,Consolas,monospace;font-size:1.18rem;overflow:hidden}.profile-panel{grid-template-columns:minmax(0,1fr) minmax(220px,360px);align-items:end;gap:18px;display:grid}.profile-panel h2{margin:0;font-size:1.15rem}.profile-panel p{color:var(--muted);margin:8px 0 0}.nickname-form{gap:10px;display:grid}.nickname-form label{color:var(--muted);gap:7px;font-size:.84rem;font-weight:800;display:grid}.nickname-form input{border:1px solid var(--line);min-height:42px;color:var(--ink);border-radius:2px;padding:0 12px}.profile-panel__stats{color:var(--muted);flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;font-size:.92rem;display:flex}.session-panel{grid-column:1/-1;width:min(100%,920px);margin:0 auto}.learning-layout--session{grid-template-columns:minmax(0,1fr)}.status-panel--error{color:#8b1f1f;border-color:#d99292}.tag-list{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.tag-list span{color:#30596a;border:1px solid #c9d8de;border-radius:2px;padding:4px 9px;font-size:.86rem;font-weight:700}.stage-actions,.quiz-actions,.session-secondary-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.stage-actions span{color:var(--muted);font-size:.92rem}.game-shell .stage-card__number,.game-shell .track-card__code{background:#ffd16614;border:1px solid #ffd16670;border-radius:2px;justify-content:center;align-items:center;width:max-content;min-height:22px;padding:2px 7px;font-family:Cascadia Code,Consolas,monospace;display:inline-flex}.game-shell .tag-list span,.game-shell .event-stage-list span,.game-shell .event-card__status,.game-shell .event-card__period,.game-shell .notebook-card__time,.game-shell .teacher-tag-list span{color:#dffbff;background:#2dd4bf14;border-color:#22c7d761;border-radius:2px}.primary-action,.secondary-action,.danger-action{cursor:pointer;border:1px solid #0000;border-radius:2px;min-height:42px;padding:0 16px;font-weight:800}.primary-action{background:var(--accent);color:#fff}.secondary-action{border-color:var(--line);background:var(--surface);color:var(--ink)}.danger-action{color:#8b1f1f;background:#fff8f8;border-color:#d99292}.primary-action:disabled{cursor:not-allowed;background:#9badb6}.primary-action:focus-visible,.secondary-action:focus-visible,.danger-action:focus-visible,.choice-option:focus-visible,.answer-field input:focus-visible,.nickname-form input:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 35%, transparent);outline-offset:2px}.quiz-card,.result-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:clamp(16px,2.1vw,24px)}.quiz-card__header{gap:5px;margin-bottom:12px;display:grid}.quiz-card__header h2,.result-panel h2{margin:0;font-size:clamp(1.12rem,1.8vw,1.45rem);line-height:1.35}.code-block{color:#f0f6f8;font-variant-ligatures:none;font-feature-settings:"liga" 0, "clig" 0, "calt" 0;white-space:pre;background:linear-gradient(#ffffff0a,#0000),#070b10;border-radius:8px;margin:0 0 16px;padding:14px;font-family:Cascadia Mono,Consolas,monospace;font-size:.95rem;line-height:1.55;overflow-x:auto}.choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.choice-option{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#f8fafc;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:12px 14px;display:grid}.choice-option__answer{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.choice-option__markers{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.choice-marker{white-space:nowrap;border:1px solid;border-radius:999px;align-items:center;min-height:24px;padding:2px 7px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.choice-option[data-selected=true]{border-color:var(--accent);box-shadow:inset 4px 0 0 var(--accent), 0 10px 24px #00000024;background:#e8f3f6}.choice-option:disabled{cursor:default}.answer-field{gap:8px;font-weight:800;display:grid}.answer-field input{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:2px;padding:0 12px}.feedback-panel{border-radius:8px;gap:16px;margin-top:18px;padding:clamp(16px,2vw,22px);display:grid}.feedback-panel p{margin:0;line-height:1.6}.feedback-panel__status{align-items:flex-start;gap:14px;display:flex}.feedback-panel__status>div{gap:3px;display:grid}.feedback-panel__status strong{font-size:clamp(1.12rem,2vw,1.35rem);line-height:1.35}.feedback-panel__icon{border:1px solid;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:1.25rem;font-weight:900;display:inline-grid}.feedback-panel__kicker,.feedback-panel__section-label,.review-destination__label{letter-spacing:.08em;font-size:.76rem;font-weight:900}.answer-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.answer-comparison>div{background:#ffffff94;border:1px solid;border-radius:6px;min-width:0;padding:12px 14px}.answer-comparison dt{font-size:.75rem;font-weight:800}.answer-comparison dd{font-variant-ligatures:none;font-feature-settings:"liga" 0, "clig" 0, "calt" 0;overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;font-family:Cascadia Mono,Consolas,monospace;font-weight:800}.feedback-panel__explanation{border-top:1px solid;gap:5px;padding-top:14px;display:grid}.review-destination{background:#ffffff9e;border:1px solid;border-radius:6px;align-items:center;gap:12px;padding:12px 14px;display:flex}.review-destination__icon{color:#fff;background:#2d78a9;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:inline-grid}.review-destination__route{font-weight:850;margin-top:2px!important}.review-destination__route span{font-weight:700}.feedback-panel--correct{color:#145c36;background:#eefaf3;border:1px solid #95cfb1}.feedback-panel--incorrect{color:#7a3512;background:#fff6ee;border:1px solid #e2b391}.result-metrics{grid-template-columns:repeat(2,minmax(0,160px));gap:12px;margin:18px 0;display:grid}.result-metrics div{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:4px;padding:14px;display:grid}.result-metrics span,.missed-tags>span{color:var(--muted);font-size:.84rem;font-weight:800}.result-metrics strong{font-size:1.5rem}.missed-tags p{color:var(--muted);margin:8px 0 0}.history-panel{grid-column:2}.event-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-column:1/-1;width:min(100%,1180px);margin:0 auto;padding:18px}.hud-content .event-panel{border-radius:8px;grid-template-columns:minmax(180px,260px) minmax(0,1fr);align-items:start;gap:12px;padding:10px 12px;display:grid}.hud-content .event-panel .section-heading{margin-bottom:0}.hud-content .event-panel .section-heading p:last-child{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.hud-content .event-list{min-width:0}.hud-content .event-card{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:10px}.hud-content .event-card__header,.hud-content .event-stage-list,.hud-content .event-card__meta,.hud-content .event-card__actions{min-width:0}.hud-content .event-card__header{grid-column:1/-1;align-items:center}.hud-content .event-card h3{margin-top:4px;font-size:.96rem}.hud-content .event-card p{display:none}.hud-content .event-stage-list{overflow:hidden}.hud-content .event-card__actions{justify-content:end}.event-panel .section-heading p:last-child{color:var(--muted);margin:8px 0 0;line-height:1.55}.event-list{gap:12px;display:grid}.event-card{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:12px;padding:14px;display:grid}.event-card__header{justify-content:space-between;align-items:start;gap:12px;display:flex}.event-card h3{margin:6px 0 0;font-size:1.12rem}.event-card p,.event-panel__empty,.event-card__meta,.event-card__actions span{color:var(--muted);margin:0;line-height:1.55}.event-card__status,.event-card__period{color:#30596a;border:1px solid #c9d8de;border-radius:999px;align-items:center;min-height:24px;padding:2px 8px;font-size:.82rem;font-weight:800;display:inline-flex}.event-stage-list,.event-card__meta,.event-card__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.event-stage-list span{color:#30596a;border:1px solid #c9d8de;border-radius:999px;padding:4px 9px;font-size:.86rem;font-weight:700}.result-context{color:var(--muted);margin:8px 0 0;line-height:1.55}.teacher-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-column:1/-1;width:min(100%,1180px);margin:0 auto;padding:18px}.release-qa-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:min(100%,1180px);margin:0 auto;padding:18px}.release-qa-panel .section-heading p:last-child{color:var(--muted);margin:8px 0 0;line-height:1.55}.release-qa-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.release-qa-grid div{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:4px;padding:12px;display:grid}.release-qa-grid span,.release-qa-meta dt,.release-qa-issues article>span{color:var(--muted);font-size:.84rem;font-weight:800}.release-qa-grid strong{font-size:1.35rem}.release-qa-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;display:grid}.release-qa-meta div{min-width:0}.release-qa-meta dd{overflow-wrap:anywhere;margin:4px 0 0}.release-qa-issues{gap:10px;display:grid}.release-qa-issues article{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:6px;padding:12px;display:grid}.release-qa-issues article[data-severity=blocker]{background:#fff8f8;border-color:#d99292}.release-qa-issues article[data-severity=warning]{background:#fff8ef;border-color:#e2b391}.release-qa-issues h3,.release-qa-manual h3,.release-qa-evidence h3{margin:0;font-size:1rem}.release-qa-issues p{color:var(--muted);margin:0;line-height:1.55}.release-qa-details{margin-top:14px}.release-qa-details summary{cursor:pointer;color:var(--accent-strong);font-weight:800}.release-qa-manual{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:14px;display:grid}.release-qa-manual section{border:1px solid var(--line);background:#f8fafc;border-radius:8px;padding:12px}.release-qa-manual ul{gap:6px;margin:8px 0 0;padding-left:20px;display:grid}.release-qa-manual li{line-height:1.45}.release-qa-evidence{gap:10px;margin-top:14px;display:grid}.release-qa-evidence__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.release-qa-evidence textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:220px;color:var(--ink);background:#fff;border-radius:8px;padding:12px;font-family:Cascadia Code,Consolas,monospace;line-height:1.45}.release-qa-evidence p{color:var(--muted);margin:0}.teacher-panel .section-heading p:last-child{color:var(--muted);margin:8px 0 0;line-height:1.55}.teacher-panel__summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.teacher-panel__summary div{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:4px;padding:12px;display:grid}.teacher-panel__summary span,.teacher-table th{color:var(--muted);font-size:.84rem;font-weight:800}.teacher-panel__summary strong{font-size:1.45rem}.teacher-export-actions{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.teacher-export-actions a{align-items:center;text-decoration:none;display:inline-flex}.teacher-panel__empty{color:var(--muted);margin:0}.teacher-table-wrap{overflow-x:auto}.teacher-table{border-collapse:collapse;width:100%;min-width:640px}.teacher-table th,.teacher-table td{border-top:1px solid var(--line);text-align:left;vertical-align:top;padding:10px}.teacher-table td:first-child{gap:3px;display:grid}.teacher-table td:first-child span{color:var(--muted);font-size:.88rem}.teacher-tag-list{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.teacher-tag-list span{color:#30596a;border:1px solid #c9d8de;border-radius:999px;padding:4px 9px;font-size:.86rem;font-weight:700}.notebook-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-column:2;width:min(100%,1180px);margin:0 auto;padding:18px}.notebook-list{gap:12px;display:grid}.notebook-card{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:12px;padding:14px;display:grid}.notebook-card[data-completed=true]{background:#eefaf3;border-color:#95cfb1}.notebook-card__header{justify-content:space-between;align-items:start;gap:12px;display:flex}.notebook-card__header h3{margin:0;font-size:1.1rem}.notebook-card__time{color:#30596a;border:1px solid #c9d8de;border-radius:999px;flex:none;padding:3px 8px;font-size:.82rem;font-weight:800}.notebook-card__target,.notebook-placeholder,.empty-note{color:var(--muted);margin:0;line-height:1.55}.notebook-link{color:var(--accent-strong);justify-self:start;font-weight:800}.notebook-checklist{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.notebook-checklist legend{color:var(--muted);margin-bottom:6px;font-size:.84rem;font-weight:800}.notebook-checklist label{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:8px;line-height:1.45;display:grid}.notebook-checklist input{width:18px;height:18px;margin-top:1px}.notebook-card__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.notebook-card__actions span{color:var(--muted);font-size:.92rem}.achievement-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-column:1/-1;width:min(100%,1180px);margin:0 auto;padding:18px}.achievement-panel .section-heading p:last-child{color:var(--muted);margin:8px 0 0}.achievement-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.achievement-card{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:8px;min-height:136px;padding:14px;display:grid}.achievement-card[data-unlocked=true]{background:#eefaf3;border-color:#95cfb1}.achievement-card div{justify-content:space-between;gap:8px;display:flex}.achievement-card span,.achievement-card p,.achievement-card small{color:var(--muted)}.achievement-card p{margin:0;line-height:1.45}.achievement-toast{pointer-events:none;z-index:10;color:#145c36;background:#f3fbf6;border:1px solid #85cba2;border-left:4px solid #238751;border-radius:10px;gap:12px;max-width:min(360px,100vw - 36px);padding:16px 18px;animation:.42s cubic-bezier(.2,.8,.2,1) both achievement-toast-enter;display:grid;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 42px #1720332e}.achievement-toast__header{align-items:center;gap:11px;display:flex}.achievement-toast__header>div,.achievement-toast__list,.achievement-toast__item{gap:3px;display:grid}.achievement-toast__header p{letter-spacing:.08em;margin:0;font-size:.78rem;font-weight:900}.achievement-toast__header small{opacity:.78;font-size:.78rem}.achievement-toast__emblem{color:#fff;background:#238751;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:inline-grid;box-shadow:0 0 0 5px #2387511f}.achievement-toast__item{border-top:1px solid #23875133;padding-top:10px}.achievement-toast__item strong{font-size:1.04rem}.achievement-toast__item span{font-size:.92rem;line-height:1.4}.achievement-toast__celebration{pointer-events:none;width:104px;height:64px;position:absolute;inset:-28px -8px auto auto}.achievement-toast__celebration span{filter:drop-shadow(0 5px 8px #1720332e);font-size:1.65rem;animation:.62s ease-out .12s both achievement-popper;position:absolute;bottom:0;right:22px}.achievement-toast__celebration i{background:#238751;border-radius:1px;width:6px;height:11px;animation:.76s ease-out both achievement-confetti;position:absolute;bottom:14px;right:34px}.achievement-toast__celebration i:first-of-type{--confetti-x:-42px;--confetti-y:-32px;background:#2d8fcc;transform:rotate(-28deg)}.achievement-toast__celebration i:nth-of-type(2){--confetti-x:-18px;--confetti-y:-48px;background:#f0ad26;animation-delay:40ms}.achievement-toast__celebration i:nth-of-type(3){--confetti-x:6px;--confetti-y:-44px;background:#d55d7a;animation-delay:80ms}.achievement-toast__celebration i:nth-of-type(4){--confetti-x:32px;--confetti-y:-34px;background:#2d8fcc;animation-delay:.12s}.achievement-toast__celebration i:nth-of-type(5){--confetti-x:48px;--confetti-y:-12px;background:#f0ad26;animation-delay:.16s}.achievement-toast__celebration i:nth-of-type(6){--confetti-x:-48px;--confetti-y:-6px;background:#d55d7a;animation-delay:.2s}@keyframes achievement-toast-enter{0%{opacity:0;transform:translateY(14px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes achievement-popper{0%{opacity:0;transform:translateY(8px)rotate(-12deg)scale(.7)}to{opacity:1;transform:translateY(0)rotate(0)scale(1)}}@keyframes achievement-confetti{0%{opacity:0;translate:0;scale:.5}24%{opacity:1}to{opacity:0;translate:var(--confetti-x) var(--confetti-y);rotate:210deg;scale:1}}.history-panel__empty{color:var(--muted);margin:0}.history-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history-list>li{border-top:1px solid var(--line);padding:10px 0}.history-list__summary{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;display:grid}.history-review__status{color:var(--muted);margin:8px 0 0;font-size:.88rem}.history-review{margin-top:8px}.history-review>summary{width:fit-content;color:var(--accent-strong);cursor:pointer;font-weight:800}.history-review__list{gap:10px;margin:10px 0 0;padding:0;list-style:none;display:grid}.history-review__list>li{border:1px solid var(--line);background:color-mix(in srgb, var(--panel,var(--surface)) 88%, var(--accent-soft,#edf6fd));border-radius:8px;min-width:0;padding:10px}.history-review__meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px 12px;font-size:.82rem;display:flex}.history-review__question p,.history-review__answer{margin:8px 0 0}.history-review__question pre{white-space:pre;max-width:100%;margin:8px 0 0;padding:8px;overflow-x:auto}.history-review__answer code{overflow-wrap:anywhere}.history-review__choices{margin:12px 0;padding-left:1.5em}.history-review__choices li,.history-review__feedback{overflow-wrap:anywhere}.history-review__feedback{border-top:1px solid var(--aipg-line,var(--line));margin-top:12px;padding-top:12px}.history-review__feedback p{margin:0 0 8px}@media (width<=1040px){.game-shell{height:100dvh;min-height:0;padding:0;overflow:hidden}.hud-header{grid-template-columns:1fr;gap:8px;padding:8px}.hud-brand{grid-template-columns:auto minmax(0,1fr)}.hud-brand__mark{width:42px;height:42px}.hud-header h1{font-size:1.35rem}.hud-header__right{grid-template-columns:auto minmax(0,1fr)}.operator-actions{grid-column:1/-1;justify-content:end}.hud-frame{height:100%;min-height:0}.hud-nav{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.hud-nav__button{padding:0 8px}.hud-content .learning-layout{grid-template-rows:none;grid-template-columns:1fr;height:auto;min-height:100%}.hud-content .stage-detail{order:-1}.hud-content .track-section,.hud-content .stage-section{max-height:280px;overflow:hidden}.hud-content .event-panel{max-height:none;display:block}.hud-content .event-panel .section-heading{margin-bottom:10px}.hud-content .event-card,.profile-view,.learning-layout{grid-template-columns:1fr}.stage-detail{grid-column:auto}.profile-panel{grid-template-columns:1fr}.history-panel,.event-panel,.teacher-panel{grid-column:auto}.release-qa-grid,.release-qa-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.notebook-panel{grid-column:auto}}@media (width<=520px){.app-shell{gap:0}.game-shell{gap:0;padding:0}.hud-header__right{grid-template-columns:minmax(0,1fr) auto;gap:8px}.hud-mode-readout{display:none}.hud-status-strip{justify-content:start}.operator-actions{grid-column:auto;justify-content:end}.hud-brand__mark{width:38px;height:38px;font-size:.66rem}.hud-status-strip span{font-size:.78rem}.hud-frame{height:100%;min-height:0}.hud-content{padding:10px}.hud-nav__button,.operator-action{min-height:44px;padding:0 6px;font-size:.78rem}.hud-screen-banner{text-align:left;grid-template-columns:1fr;gap:2px;min-height:58px}.hud-screen-banner strong{width:100%;font-size:.95rem}.hud-screen-banner em{text-align:left;white-space:normal;width:100%}.stage-detail__stats{grid-template-columns:1fr}.hud-command-bar{flex-direction:column;align-items:start;gap:2px}.choice-list{grid-template-columns:1fr}h1{font-size:2.5rem}.track-card,.stage-card,.stage-detail,.status-panel,.profile-panel,.history-panel,.event-panel,.teacher-panel,.release-qa-panel,.notebook-panel,.achievement-panel,.quiz-card,.result-panel{padding:14px}.achievement-toast{max-width:calc(100vw - 24px);bottom:12px;right:12px}.result-metrics,.teacher-panel__summary,.release-qa-grid,.release-qa-meta{grid-template-columns:1fr}}html,#root{height:100%;overflow:hidden}body{overflow:hidden}.game-shell{--surface:#101827;--panel:#121b2a;--panel-soft:#172235;--panel-deep:#070c14;--line:#32445f;--line-soft:#a6caff24;--muted:#b3bfd1;--ink:#eff6ff;--accent:#32d7f5;--accent-strong:#76f2c6;--warm:#f8c66d;--focus:#76f2c6;--danger:#ff8a7a;background:linear-gradient(90deg,#32d7f51c 0 1px,#0000 1px) 0 0/72px 72px,linear-gradient(#76f2c614 0 1px,#0000 1px) 0 0/72px 72px,linear-gradient(120deg,#040810 0%,#07111e 48%,#0b1020 100%);grid-template-rows:clamp(68px,9.5vh,92px) minmax(0,1fr);position:relative}.game-shell:before,.game-shell:after{content:"";pointer-events:none;position:fixed}.game-shell:before{z-index:0;mix-blend-mode:screen;opacity:.42;background:repeating-linear-gradient(0deg,#ffffff06 0 1px,#0000 1px 5px);inset:0}.game-shell:after{z-index:4;border:1px solid #a6caff2e;border-radius:8px;inset:8px;box-shadow:inset 0 0 0 1px #ffffff0a,inset 0 0 44px #32d7f512}.hud-header{z-index:2;background:linear-gradient(90deg,#32d7f521,#0000 34%),linear-gradient(#ffffff12,#ffffff05),#040911eb;border-bottom-color:#a6caff29;grid-template-columns:minmax(196px,.68fr) minmax(330px,.98fr) minmax(322px,1.25fr);gap:10px;min-height:0;padding:10px clamp(12px,1.6vw,22px);position:relative;box-shadow:0 16px 34px #00000057}.hud-brand__mark{color:#031018;background:linear-gradient(180deg, #ffffff73, transparent), var(--accent);border-color:#32d7f594;border-radius:8px;width:50px;height:50px;box-shadow:inset 0 -5px #00000038,0 0 30px #32d7f533}.hud-header h1,.hud-screen-banner strong,.hud-mode-readout,.hud-status-strip span,.hud-nav__button,.operator-action,.hud-command-bar,.stage-detail__number,.stage-detail__stats span,.stage-detail__stats strong,.game-shell .stage-card__number,.game-shell .track-card__code{font-family:Cascadia Code,Consolas,monospace}.hud-nav{background:linear-gradient(#ffffff0f,#ffffff05),#00000047;border-color:#a6caff21;border-radius:8px;align-self:center}.hud-nav__button,.operator-action{border-radius:6px;transition:border-color .12s,background-color .12s,color .12s,transform .12s;position:relative}.hud-nav__button:hover:not(:disabled),.operator-action:hover{transform:translateY(-1px)}.hud-nav__button[data-active=true]{color:#02131a;background:linear-gradient(180deg, #ffffff80, transparent), var(--accent);border-color:#32d7f5e0;box-shadow:inset 0 -4px #0000003d,0 0 0 1px #32d7f547,0 12px 26px #32d7f529}.hud-mode-readout{background:linear-gradient(#32d7f52b,#32d7f50d),#03080fbd;border-color:#32d7f585;border-radius:8px}.hud-status-strip span{background:linear-gradient(#ffffff14,#ffffff08),#040a1294;border-color:#a6caff24;border-radius:8px}.hud-frame{z-index:1;background:linear-gradient(#ffffff0d,#0000 72px),linear-gradient(90deg,#32d7f512,#0000 38%),#060c16d1;border:1px solid #a6caff29;border-radius:8px;align-self:stretch;width:auto;height:auto;min-height:0;margin:0 clamp(8px,1.4vw,18px) clamp(8px,1.4vw,18px);overflow:hidden;box-shadow:0 20px 56px #0000006b,inset 0 1px #ffffff14}.hud-frame:before{opacity:.32;background-color:#0000;background-image:linear-gradient(90deg,#32d7f514 0 1px,#0000 1px),linear-gradient(#76f2c60d 0 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.hud-screen-banner{background:linear-gradient(90deg,#32d7f521,#0000 48%),linear-gradient(#ffffff0d,#ffffff05);border-bottom-color:#a6caff24;min-height:48px}.hud-screen-banner span,.hud-command-bar span:first-child,.hud-status-strip b,.game-shell .eyebrow{color:var(--accent-strong)}.hud-screen-banner em,.hud-command-bar span:last-child{color:var(--focus)}.hud-command-bar{background:linear-gradient(90deg,#76f2c617,#0000 36%),#040911f0;border-top-color:#a6caff24;min-height:40px}.hud-content{padding:clamp(10px,1.4vw,18px);overflow:hidden}.hud-content--lab,.hud-content--badge,.hud-content--profile,.hud-content--quiz,.hud-content--result{overflow:auto}.hud-content .learning-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(164px,204px) minmax(0,1fr) minmax(292px,348px);gap:clamp(10px,1.25vw,16px);overflow:hidden}.hud-content .track-section,.hud-content .stage-section,.game-shell .stage-detail,.game-shell .notebook-panel,.game-shell .achievement-panel,.game-shell .profile-panel,.game-shell .history-panel,.game-shell .event-panel,.game-shell .quiz-card,.game-shell .result-panel{background:linear-gradient(180deg, #ffffff14, #ffffff08), var(--panel);border-color:#a6caff26;border-radius:8px;box-shadow:inset 0 1px #ffffff12,0 14px 36px #00000038}.hud-content .track-section,.hud-content .stage-section{padding:10px}.track-list,.hud-content .stage-grid,.hud-content .stage-detail,.session-panel,.profile-view,.notebook-panel,.achievement-panel{scrollbar-color:#32d7f5b3 #ffffff14;scrollbar-width:thin}.hud-content .stage-grid{grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:8px;overflow:auto}.track-card,.stage-card{background:linear-gradient(180deg, #ffffff12, #ffffff05), var(--panel-soft);border-color:#a6caff24;border-radius:8px;transition:border-color .12s,box-shadow .12s,transform .12s;position:relative}.track-card:hover:not(:disabled),.stage-card:hover{border-color:#32d7f5ad;transform:translateY(-1px)}.track-card[data-selected=true],.stage-card[data-selected=true]{box-shadow:inset 4px 0 0 var(--accent), 0 0 0 1px #32d7f540, 0 16px 34px #00000042, 0 0 24px #32d7f526;border-color:#32d7f5d1}.track-card{min-height:106px;padding:10px}.stage-card{min-height:116px;padding:9px}.track-card__title,.stage-card__title{line-height:1.25}.stage-card__badge{font-size:.72rem}.status-pill,.game-shell .stage-card__number,.game-shell .track-card__code,.game-shell .tag-list span,.game-shell .event-stage-list span,.game-shell .event-card__status,.game-shell .event-card__period,.game-shell .notebook-card__time,.game-shell .teacher-tag-list span{color:#e7fbff;background:#32d7f514;border-color:#32d7f55c}.hud-content .stage-detail{padding:clamp(12px,1.35vw,18px);overflow:auto}.stage-detail__copy{line-height:1.55}.stage-detail__stats div{background:linear-gradient(#ffffff14,#ffffff08),#00000029;border-color:#a6caff24;border-radius:8px}.stage-actions{margin-top:auto;padding-top:16px}.game-shell .primary-action{color:#071018;background:linear-gradient(180deg, #ffffff6b, transparent), var(--warm);border-color:#f8c66dcc;box-shadow:inset 0 -4px #0003,0 12px 24px #f8c66d26}.game-shell .secondary-action,.game-shell .choice-option{background:linear-gradient(#ffffff12,#ffffff08),#0b111ce0}.game-shell .choice-option[data-selected=true]{box-shadow:inset 4px 0 0 var(--accent), 0 10px 24px #0000002e;background:#32d7f521;border-color:#32d7f5c7}.hud-content--quiz,.hud-content--result{align-items:center;display:grid}.session-panel{max-height:100%;overflow:auto}.game-shell .quiz-card,.game-shell .result-panel{background:linear-gradient(#ffffff17,#ffffff08),#101827;border-color:#a6caff2e}.game-shell .code-block{background-color:#050914;background-image:linear-gradient(90deg,#32d7f512 0 1px,#0000 1px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-color:#32d7f529}.game-shell .achievement-toast{background:linear-gradient(#76f2c61f,#ffffff0a),#071116f2;border-color:#76f2c6ad}@media (width>=1180px) and (height>=700px){.hud-content .learning-layout{grid-template-columns:minmax(176px,214px) minmax(0,1fr) minmax(310px,372px)}.hud-content .stage-grid{grid-template-columns:repeat(auto-fill,minmax(156px,1fr))}}@media (width<=1040px){.game-shell{grid-template-rows:auto minmax(0,1fr)}.hud-header{grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 10px}.hud-header__right{grid-template-columns:minmax(0,1fr) auto}.hud-mode-readout{display:none}.hud-frame{margin:0 8px 8px}.hud-content{overflow:auto}.hud-content .learning-layout{grid-template-rows:auto auto auto auto;grid-template-columns:1fr;height:auto;min-height:100%;overflow:visible}.hud-content .track-section,.hud-content .stage-section{max-height:none}.hud-content .track-list{max-height:160px}.hud-content .stage-grid{max-height:300px}.hud-content .stage-detail{order:-1;max-height:none}.hud-content .event-panel{max-height:none}}@media (width<=520px){.game-shell:after{border-radius:6px;inset:4px}.hud-header{padding:7px 8px}.hud-brand__mark{border-radius:6px;width:38px;height:38px}.hud-header h1{font-size:1.02rem}.hud-nav{gap:3px;padding:3px}.hud-nav__button,.operator-action{min-height:42px;font-size:.74rem}.hud-status-strip span{min-width:68px;min-height:34px;padding:5px 7px;font-size:.7rem}.hud-screen-banner{min-height:54px;padding:8px 10px}.hud-content{padding:8px}.hud-command-bar{min-height:38px;padding:6px 10px}.hud-content .track-list{max-height:132px}.hud-content .stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:264px}.track-card{min-height:94px}.stage-card{min-height:104px}.stage-detail__header{align-items:center}.stage-actions{margin-top:14px}}.game-shell--study-console{--console-bg:#f5f5f4;--console-bg-soft:#eef6f8;--console-surface:#fff;--console-surface-muted:#f8fafc;--console-text:#172331;--console-muted:#5b6877;--console-border:#d9e2e8;--console-rail:#244e79;--console-cyan:#2d8fcc;--console-green:#4a915c;--console-orange:#d79025;--console-shadow:0 16px 48px #1723311f;color:var(--console-text);background:linear-gradient(90deg, #244e7912 0 1px, transparent 1px), linear-gradient(180deg, #2d8fcc14, transparent 42%), var(--console-bg);background-size:56px 56px,auto,auto}.game-shell--study-console:before{opacity:.18;background:linear-gradient(135deg,#0000 0 42%,#2d8fcc33 42% 43%,#0000 43%),linear-gradient(315deg,#0000 0 52%,#d7902529 52% 53%,#0000 53%)}.game-shell--study-console:after{border-color:#244e7929;inset:10px;box-shadow:inset 0 0 0 1px #ffffffb8}.game-shell--study-console .hud-header{min-height:72px;color:var(--console-text);box-shadow:var(--console-shadow);background:#ffffffeb;border:1px solid #244e7924;border-radius:8px;margin:14px 14px 0}.game-shell--study-console .hud-brand__mark{color:#fff;background:linear-gradient(135deg, var(--console-rail), var(--console-cyan));box-shadow:none;border-color:#0000}.game-shell--study-console .eyebrow,.game-shell--study-console .lead,.game-shell--study-console .hud-status-strip span,.game-shell--study-console .hud-command-bar,.game-shell--study-console .hud-mode-readout,.game-shell--study-console .stage-detail p,.game-shell--study-console .track-card__description,.game-shell--study-console .stage-card__subtitle,.game-shell--study-console .stage-card__badge{color:var(--console-muted)}.game-shell--study-console .hud-nav{border-color:var(--console-border);background:var(--console-surface-muted)}.game-shell--study-console .hud-nav__button{color:var(--console-muted);border-radius:6px}.game-shell--study-console .hud-nav__button[data-active=true]{color:#fff;background:var(--console-rail);box-shadow:0 8px 18px #244e792e}.game-shell--study-console .hud-status-strip span,.game-shell--study-console .hud-mode-readout{border-color:var(--console-border);background:var(--console-surface-muted)}.game-shell--study-console .hud-frame{box-shadow:var(--console-shadow);background:#ffffffbd;border:1px solid #244e7929;border-radius:8px;margin:14px;overflow:hidden}.game-shell--study-console .hud-frame:before{background-color:#0000;background-image:linear-gradient(90deg,#244e791a 0 1px,#0000 1px),linear-gradient(#244e7914 0 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box}.game-shell--study-console .hud-screen-banner,.game-shell--study-console .hud-command-bar{border-color:var(--console-border);background:#ffffffd6}.game-shell--study-console .hud-screen-banner strong,.game-shell--study-console .hud-command-bar strong,.game-shell--study-console .hud-command-bar em{color:var(--console-text)}.game-shell--study-console .hud-content{color:var(--console-text);background:linear-gradient(180deg, #eef6f8d9, #ffffffdb), var(--console-bg-soft)}.game-shell--study-console .hud-content .learning-layout{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:12px}.game-shell--study-console .hud-content .learning-layout[data-track-open=true]{grid-template-columns:minmax(170px,220px) minmax(0,1fr) minmax(300px,360px)}.game-shell--study-console .learning-layout[data-track-open=false] .track-section{display:none}.game-shell--study-console .section-heading--with-action{justify-content:space-between;align-items:start;gap:10px;display:flex}.game-shell--study-console .track-toggle{white-space:nowrap;min-height:38px;padding:8px 12px}.game-shell--study-console .study-dashboard{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:12px;min-height:154px;display:grid}.game-shell--study-console .study-dashboard__main,.game-shell--study-console .study-dashboard__recommendation{border:1px solid var(--console-border);background:var(--console-surface);border-radius:8px;box-shadow:0 10px 28px #17233114}.game-shell--study-console .study-dashboard__main{padding:18px;position:relative;overflow:hidden}.game-shell--study-console .study-dashboard__main:before{content:"";background:linear-gradient(180deg, var(--console-cyan), var(--console-orange));width:6px;position:absolute;inset:0 auto 0 0}.game-shell--study-console .study-dashboard__main>*{position:relative}.game-shell--study-console .study-dashboard h2{max-width:18em;color:var(--console-text);letter-spacing:0;margin:4px 0 8px;font-size:clamp(1.32rem,2vw,2rem);line-height:1.18}.game-shell--study-console .study-dashboard p{max-width:62ch;color:var(--console-muted);margin:0;line-height:1.75}.game-shell--study-console .study-dashboard__actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.game-shell--study-console .study-dashboard__recommendation{border-left:6px solid var(--console-green);align-content:start;gap:8px;padding:16px;display:grid}.game-shell--study-console .study-dashboard__recommendation span{color:var(--console-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;font-weight:800}.game-shell--study-console .study-dashboard__recommendation strong{color:var(--console-text);font-size:1.02rem;line-height:1.35}.game-shell--study-console .study-dashboard__recommendation .secondary-action{justify-self:start;margin-top:4px}.game-shell--study-console .event-panel{border-left:6px solid var(--console-orange);grid-column:1/-1;max-height:136px;overflow:hidden}.game-shell--study-console .event-panel .section-heading{grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:12px;margin-bottom:8px;display:grid}.game-shell--study-console .event-panel .section-heading h2{font-size:1rem}.game-shell--study-console .event-panel .section-heading p:last-child{white-space:nowrap;text-overflow:ellipsis;grid-column:1/-1;overflow:hidden}.game-shell--study-console .event-list{gap:8px;display:grid}.game-shell--study-console .event-card{box-shadow:none;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:10px;display:grid}.game-shell--study-console .event-card__header,.game-shell--study-console .event-stage-list,.game-shell--study-console .event-card__meta,.game-shell--study-console .event-card__actions{grid-column:1/-1}.game-shell--study-console .track-card,.game-shell--study-console .stage-card,.game-shell--study-console .stage-detail,.game-shell--study-console .status-panel,.game-shell--study-console .profile-panel,.game-shell--study-console .history-panel,.game-shell--study-console .event-panel,.game-shell--study-console .teacher-panel,.game-shell--study-console .release-qa-panel,.game-shell--study-console .notebook-panel,.game-shell--study-console .achievement-panel,.game-shell--study-console .event-card,.game-shell--study-console .notebook-card,.game-shell--study-console .achievement-card,.game-shell--study-console .result-metrics div,.game-shell--study-console .teacher-panel__summary div,.game-shell--study-console .release-qa-grid div,.game-shell--study-console .release-qa-issues article,.game-shell--study-console .release-qa-manual section{color:var(--console-text);border-color:var(--console-border);background:var(--console-surface);box-shadow:0 8px 24px #17233112}.game-shell--study-console .track-card:hover:not(:disabled),.game-shell--study-console .stage-card:hover{border-color:#2d8fcc75;transform:translateY(-1px);box-shadow:0 14px 32px #244e791f}.game-shell--study-console .track-card[data-selected=true],.game-shell--study-console .stage-card[data-selected=true]{background:linear-gradient(90deg,#2d8fcc29 0 5px,#0000 5px),#fff;border-color:#244e797a;box-shadow:0 14px 36px #244e7924}.game-shell--study-console .track-card:disabled{background:#eef2f5}.game-shell--study-console .stage-card{grid-template-rows:auto auto 1fr;min-height:108px}.game-shell--study-console .stage-detail{border-top:6px solid var(--console-rail)}.game-shell--study-console .stage-detail__number,.game-shell--study-console .stage-card__number,.game-shell--study-console .track-card__code,.game-shell--study-console .tag-list span,.game-shell--study-console .event-stage-list span,.game-shell--study-console .event-card__status,.game-shell--study-console .event-card__period,.game-shell--study-console .notebook-card__time,.game-shell--study-console .teacher-tag-list span{color:var(--console-rail);background:#244e7912;border-color:#244e792e}.game-shell--study-console .stage-detail__stats div{border-color:var(--console-border);background:var(--console-surface-muted)}.game-shell--study-console .stage-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.game-shell--study-console .stage-actions span{color:var(--console-muted);grid-column:1/-1}.game-shell--study-console .primary-action{color:#fff;background:linear-gradient(180deg, #ffffff2e, transparent), var(--console-rail);border-color:#0000;box-shadow:0 12px 22px #244e7938}.game-shell--study-console .primary-action:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 28px #244e793d}.game-shell--study-console .primary-action:disabled,.game-shell--study-console .secondary-action:disabled{color:#8694a3;box-shadow:none;background:#e6ebef}.game-shell--study-console .secondary-action,.game-shell--study-console .choice-option{color:var(--console-rail);background:#fff;border-color:#244e7933}.game-shell--study-console .secondary-action:hover:not(:disabled),.game-shell--study-console .choice-option:hover:not(:disabled){background:#edf6fd;border-color:#2d8fcc7a}.game-shell--study-console input,.game-shell--study-console textarea,.game-shell--study-console select{color:var(--console-text);border-color:var(--console-border);background:#fff}.game-shell--study-console .quiz-card,.game-shell--study-console .result-panel{border-color:var(--console-border);background:#fff;box-shadow:0 18px 48px #1723311f}.game-shell--study-console .code-block{color:#f8fafc;background-color:#101827;background-image:linear-gradient(90deg,#2d8fcc1a 0 1px,#0000 1px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:34px 34px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-color:#244e7938}.game-shell--study-console .feedback-panel--correct{color:#235a35;background:#eef8ed;border-color:#4a915c47}.game-shell--study-console .feedback-panel--incorrect{color:#8a4314;background:#fff4e7;border-color:#d7902557}.game-shell--study-console .achievement-toast{color:var(--console-text);background:#fff;border-color:#4a915c5c;box-shadow:0 18px 42px #1723312e}@media (width<=1040px){.game-shell--study-console .hud-header{margin:8px 8px 0}.game-shell--study-console .hud-frame{margin:8px}.game-shell--study-console .study-dashboard{grid-template-columns:1fr}.game-shell--study-console .study-dashboard__main{padding:16px}.game-shell--study-console .hud-content .learning-layout{grid-template-columns:1fr}.game-shell--study-console .hud-content .stage-detail{order:0}}@media (width<=520px){.game-shell--study-console .hud-header{min-height:60px;margin:6px 6px 0}.game-shell--study-console .hud-frame{margin:6px}.game-shell--study-console .study-dashboard{min-height:0}.game-shell--study-console .study-dashboard__main,.game-shell--study-console .study-dashboard__recommendation{padding:12px}.game-shell--study-console .study-dashboard__actions,.game-shell--study-console .stage-actions{grid-template-columns:1fr}.game-shell--study-console .study-dashboard__actions .primary-action,.game-shell--study-console .study-dashboard__actions .secondary-action,.game-shell--study-console .stage-actions .primary-action,.game-shell--study-console .stage-actions .secondary-action{width:100%}}.study-shell.app-shell{--aipg-bg:#f4f2ec;--aipg-surface:#fbfaf6;--aipg-surface-soft:#eeece5;--aipg-ink:#172033;--aipg-muted:#5d6878;--aipg-line:#d6dae1;--aipg-structure-line:#858b95;--aipg-blue-900:#244e79;--aipg-blue-700:#2d78a9;--aipg-blue-500:#2d78a9;--aipg-blue-100:#e5eef8;--aipg-blue-line:#b9c9d8;--aipg-orange:#785f39;--aipg-orange-bg:#f5ede1;--aipg-green:#3d6855;--aipg-green-bg:#e8f1eb;--aipg-red:#c75a5a;--aipg-code:#172331;--aipg-code-ink:#edf4fb;--aipg-shadow-card:none;--aipg-shadow-drawer:0 18px 48px #1118273d;--aipg-radius-sm:4px;--aipg-radius-md:8px;--aipg-header-height:64px;--aipg-drawer-width:320px;--aipg-transition:.18s cubic-bezier(.2, .8, .2, 1);--aipg-drawer-motion:.3s cubic-bezier(.4, 0, .2, 1);--aipg-theme-motion:.3s cubic-bezier(.4, 0, .2, 1);grid-template-rows:var(--aipg-header-height) minmax(0, 1fr);height:100dvh;min-height:0;color:var(--aipg-ink);background:var(--aipg-bg);gap:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans,Yu Gothic UI,Meiryo,sans-serif;display:grid;overflow:hidden}.study-shell .study-header{z-index:40;width:100%;min-height:var(--aipg-header-height);border:0;border-bottom:1px solid var(--aipg-structure-line);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:none;border-radius:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:0 max(16px,50vw - 600px);display:grid;position:sticky;top:0}.study-shell .study-menu-button,.study-drawer__close{border-radius:var(--aipg-radius-sm);min-width:44px;min-height:44px;color:var(--aipg-blue-900);cursor:pointer;background:0 0;border:0;place-items:center;font-weight:700;display:inline-grid}.study-shell .study-menu-button:disabled{cursor:not-allowed;opacity:.48}.study-shell .study-brand{grid-template-columns:minmax(0,1fr);grid-template-areas:"eyebrow""title";min-width:0}.study-shell .study-brand>.eyebrow,.study-shell .study-brand>.hud-lead{display:none}.study-home-title{min-height:44px;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.study-home-title:hover{text-underline-offset:4px;text-decoration:underline}.study-home-title:focus-visible{outline:2px solid var(--aipg-blue-500);outline-offset:3px}.study-drawer__stage-switcher>summary{cursor:pointer;min-height:44px;color:var(--aipg-blue-900);align-content:center;font-weight:600}.study-drawer__stage-switcher[open]>summary{margin-bottom:8px}.study-drawer__stage-list[hidden],.study-shell .hud-brand__mark{display:none}.study-shell .hud-header h1{color:var(--aipg-ink);letter-spacing:0;text-transform:none;font-family:inherit;font-size:1.15rem}.study-shell .eyebrow,.study-shell .lead,.study-shell .hud-status-strip span,.study-shell .hud-mode-readout{color:var(--aipg-muted)}.study-shell .hud-nav{display:none}.study-shell .hud-header__right{align-items:center;gap:8px;display:flex}.theme-toggle{width:108px;height:44px;color:var(--aipg-muted);cursor:pointer;background:0 0;border:0;grid-template-columns:20px 44px 20px;justify-content:center;align-items:center;gap:8px;padding:0;display:grid;position:relative}.theme-toggle__icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;opacity:.56;width:20px;height:20px;transition:color var(--aipg-theme-motion), opacity var(--aipg-theme-motion)}.theme-toggle[data-theme=light] .theme-toggle__icon--light,.theme-toggle[data-theme=inverse] .theme-toggle__icon--inverse{color:var(--aipg-blue-700);opacity:1}.theme-toggle__track{border:1px solid var(--aipg-structure-line);background:var(--aipg-surface-soft);width:44px;height:22px;transition:border-color var(--aipg-theme-motion), background-color var(--aipg-theme-motion);border-radius:999px;position:relative}.theme-toggle__thumb{background:var(--aipg-blue-900);width:16px;height:16px;transition:background-color var(--aipg-theme-motion), transform var(--aipg-theme-motion);border-radius:50%;position:absolute;top:2px;left:2px;transform:translate(0);box-shadow:0 1px 3px #1118273d}.theme-toggle[data-theme=inverse] .theme-toggle__thumb{transform:translate(22px)}.theme-toggle__tooltip{z-index:120;color:#fff;opacity:0;pointer-events:none;background:#172331;border-radius:4px;width:max-content;max-width:220px;padding:7px 9px;font-size:.875rem;line-height:1.4;transition:opacity .12s ease-out,transform .12s ease-out;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-3px);box-shadow:0 5px 18px #11182733}.theme-toggle:hover .theme-toggle__tooltip,.theme-toggle:focus-visible .theme-toggle__tooltip{opacity:1;transform:translateY(0)}.theme-toggle:focus-visible{outline:3px solid var(--aipg-blue-500);outline-offset:2px}.study-shell[data-theme=inverse]{--aipg-bg:#0d2f52;--aipg-surface:#123a63;--aipg-surface-soft:#17456f;--aipg-ink:#f7fbff;--aipg-muted:#c5d6e7;--aipg-line:#3d658d;--aipg-structure-line:#88aaca;--aipg-blue-900:#d5ebfb;--aipg-blue-700:#91cdf6;--aipg-blue-500:#91cdf6;--aipg-blue-100:#194a76;--aipg-blue-line:#5e88ad;--aipg-green:#8ed3a8;--aipg-orange:#f0c077;--aipg-code:#071a2e;--aipg-code-ink:#edf6ff;--aipg-shadow-card:none;--aipg-shadow-drawer:0 18px 48px #03122257;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.study-shell[data-theme=inverse] .study-header{background:var(--aipg-surface)}.study-shell[data-theme=inverse] .hud-brand__mark,.study-shell[data-theme=inverse] .primary-action,.study-shell[data-theme=inverse] .study-drawer__nav-button--primary{color:#0d2f52;background:#f7fbff;border-color:#f7fbff}.study-shell[data-theme=inverse] .theme-toggle__thumb{background:#f7fbff}.study-shell[data-theme=inverse] .study-drawer__list-button[data-track-status=coming_soon] small,.study-shell[data-theme=inverse] .pack-availability__status strong{color:#ffd27a}.study-shell .hud-mode-readout,.study-shell .hud-status-strip{display:none}.study-shell .hud-status-strip span{min-width:auto;min-height:36px;color:var(--aipg-ink);background:0 0;border:0;border-radius:0;font-family:inherit}.study-shell .hud-status-strip span:nth-child(n+3){display:none}.study-shell .hud-status-strip b{color:var(--aipg-blue-700);font-family:inherit}.study-shell .operator-action{color:var(--aipg-blue-900);border-color:var(--aipg-blue-line);background:var(--aipg-blue-100);font-family:inherit}.study-drawer-scrim{z-index:90;opacity:0;pointer-events:none;visibility:hidden;transition:opacity var(--aipg-drawer-motion), visibility 0s linear .3s;background:#1118275c;border:0;padding:0;position:fixed;inset:0}.study-drawer-scrim[data-open=true]{opacity:1;pointer-events:auto;visibility:visible;transition-delay:0s}.study-drawer{z-index:100;width:min(var(--aipg-drawer-width), 88vw);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:var(--aipg-shadow-drawer);pointer-events:none;visibility:hidden;will-change:transform;transition:transform var(--aipg-drawer-motion), visibility 0s linear .3s;grid-auto-rows:min-content;align-content:start;gap:18px;padding:18px;display:grid;position:fixed;inset:0 auto 0 0;overflow:auto;transform:translate(calc(-100% - 12px))}.study-drawer[data-open=true]{pointer-events:auto;visibility:visible;transition-delay:0s;transform:translate(0,0)}.study-drawer__bar{justify-content:space-between;align-items:start;gap:12px;display:flex}.study-drawer__bar h2,.study-drawer__section h3{color:var(--aipg-blue-900);margin:0}.study-drawer__close{min-width:72px}.study-drawer__nav,.study-drawer__list,.study-drawer__stage-list{gap:8px;display:grid}.study-drawer__nav{grid-template-columns:1fr}.study-drawer__future-packs{margin-top:8px}.study-drawer__future-packs>summary{min-height:44px;color:var(--aipg-muted);cursor:pointer;padding:12px 0;font-size:.875rem}.study-shell .notebook-panel .workspace-page__header h2{font-size:clamp(1.75rem,2.5vw,2.5rem)}.study-drawer__nav-button,.study-drawer__list-button,.study-drawer__stage-button{border:1px solid var(--aipg-line);border-radius:var(--aipg-radius-sm);width:100%;min-height:44px;color:var(--aipg-ink);background:var(--aipg-surface);text-align:left;cursor:pointer;padding:10px 12px}.study-drawer__nav-button[data-active=true],.study-drawer__list-button[data-selected=true],.study-drawer__stage-button[data-selected=true]{border-color:var(--aipg-blue-500);background:var(--aipg-blue-100);box-shadow:inset 4px 0 0 var(--aipg-blue-500)}.study-drawer__nav-button--primary{color:#fff;border-color:var(--aipg-blue-900);background:var(--aipg-blue-900)}.study-drawer__nav-button:disabled,.study-drawer__list-button:disabled{cursor:not-allowed;opacity:.58}.study-drawer__list-button,.study-drawer__stage-button{gap:3px;display:grid}.study-drawer__list-button span,.study-drawer__stage-button span{color:var(--aipg-blue-700);font-weight:700}.study-drawer__list-button small{color:var(--aipg-muted)}.study-drawer__list-button[data-track-status=coming_soon] small{color:#8a5a14}.study-drawer__empty{color:var(--aipg-muted);background:var(--aipg-surface-soft);margin:0;padding:10px 12px;font-size:.875rem;line-height:1.6}.study-drawer__stage-button{grid-template-columns:44px minmax(0,1fr);align-items:center}.study-shell .hud-frame{z-index:1;width:100%;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-rows:minmax(0,1fr);margin:0;display:grid;overflow:auto}.study-shell .hud-frame--notices{grid-template-rows:auto minmax(0,1fr)}.study-shell .hud-frame:before,.study-shell .hud-screen-banner,.study-shell .hud-command-bar{display:none}.study-shell .hud-screen-banner strong,.study-shell .hud-command-bar span:last-child,.study-shell .hud-screen-banner em{color:var(--aipg-blue-900);font-family:inherit}.study-shell .hud-screen-banner span,.study-shell .hud-command-bar span:first-child{color:var(--aipg-blue-700);font-family:inherit}.study-shell .hud-content{background:0 0;min-height:0;padding:clamp(16px,3vw,32px);overflow:auto}.study-shell .hud-content .learning-layout{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:16px;width:min(1120px,100%);height:auto;min-height:0;margin:0 auto;display:grid;overflow:visible}.study-shell .track-section{display:none}.study-shell .study-dashboard,.study-shell .learning-home,.study-shell .event-panel{grid-column:1/-1}.study-shell .study-dashboard{grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:16px;display:grid}.study-shell .learning-layout--home{grid-template-rows:auto auto;grid-template-columns:1fr;align-content:start}.study-shell .learning-home{border:0;border-top:3px solid var(--aipg-blue-900);border-bottom:1px solid var(--aipg-structure-line);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:none;border-radius:0;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);grid-template-areas:"intro intro""next continue""status status";display:grid}.study-shell .learning-home__intro{grid-area:intro;padding:clamp(22px,3vw,32px) clamp(22px,3.5vw,40px) 18px}.study-shell .learning-home__intro h2{color:var(--aipg-blue-900);margin:4px 0 10px;font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.25}.study-shell .learning-home__tracks{border-bottom:1px solid var(--aipg-line);flex-wrap:wrap;gap:4px 16px;margin:0 0 18px;display:flex}.study-shell .learning-home__tracks button{min-height:44px;color:var(--aipg-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:8px 4px;font-size:1rem;font-weight:400}.study-shell .learning-home__tracks button[aria-pressed=true]{border-bottom-color:var(--aipg-blue-700);color:var(--aipg-blue-900);font-weight:600}.study-shell .learning-home__tracks button:hover,.study-shell .learning-home__lab-link:hover{color:var(--aipg-blue-700)}.study-shell .learning-home__lab-link{min-height:44px;color:var(--aipg-blue-900);text-align:left;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;margin-top:12px;padding:8px 0;font-size:1rem;text-decoration:underline}.study-shell .learning-home__intro>p:last-child,.study-shell .learning-home__next>p,.study-shell .learning-home__continue>p{color:var(--aipg-muted);margin:0;line-height:1.75}.study-shell .learning-home__next,.study-shell .learning-home__continue{border-top:1px solid var(--aipg-line);min-width:0;padding:24px clamp(22px,3.5vw,40px) 28px}.study-shell .learning-home__next{border-left:3px solid var(--aipg-blue-500);grid-area:next}.study-shell .learning-home__continue{border-left:1px solid var(--aipg-line);background:0 0;grid-area:continue}.study-shell .learning-home__label{color:var(--aipg-blue-700);letter-spacing:.04em;margin-bottom:8px;font-size:.78rem;font-weight:700;display:block}.study-shell .learning-home__next h3{color:var(--aipg-ink);margin:0 0 10px;font-size:clamp(1.35rem,2vw,1.75rem)}.study-shell .learning-home__continue strong{color:var(--aipg-blue-900);margin-bottom:8px;font-size:1.05rem;line-height:1.5;display:block}.study-shell .learning-home__action-row{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:22px;display:flex}.study-shell .learning-home__action-row>span{color:var(--aipg-muted);font-size:.875rem}.study-shell .learning-home__action-row>.primary-action,.study-shell .learning-home__action-row>.secondary-action{min-height:44px}.study-shell .learning-home__status{border-top:1px solid var(--aipg-line);grid-area:status;gap:0;margin:0;padding:0 clamp(22px,3.5vw,40px);display:flex}.study-shell .learning-home__status div{align-items:baseline;gap:10px;min-width:180px;padding:14px 24px 14px 0;display:flex}.study-shell .learning-home__status div+div{border-left:1px solid var(--aipg-line);padding-left:24px}.study-shell .learning-home__status dt{color:var(--aipg-muted);font-size:.8rem}.study-shell .learning-home__status dd{color:var(--aipg-blue-900);margin:0;font-weight:700}.study-shell .learning-layout--home .event-panel{grid-template-columns:minmax(220px,.45fr) minmax(0,1fr);gap:20px;padding:18px 20px;display:grid}.study-shell .learning-layout--home .event-panel .section-heading,.study-shell .learning-layout--home .event-panel .event-list{min-width:0}.study-shell .learning-layout--home .event-card{height:100%}.study-shell .learning-layout--stage{align-items:start}.study-shell .learning-layout--pack-status{grid-template-columns:minmax(0,1fr);align-content:start}.study-shell .pack-availability{border:0;border-top:3px solid var(--aipg-blue-900);border-bottom:1px solid var(--aipg-structure-line);width:min(760px,100%);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:none;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px 40px;padding:clamp(24px,4vw,44px);display:grid;position:relative}.study-shell .pack-availability__status{border-bottom:1px solid var(--aipg-line);grid-column:1/-1;align-items:baseline;gap:16px;padding-bottom:16px;display:flex}.study-shell .pack-availability__status span{color:var(--aipg-blue-700);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:700}.study-shell .pack-availability__status strong{color:#8a5a14;font-weight:700}.study-shell .pack-availability__body{min-width:0}.study-shell .pack-availability__body h2{color:var(--aipg-blue-900);margin:6px 0 16px;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.3}.study-shell .pack-availability__body p:not(.eyebrow){max-width:60ch;color:var(--aipg-muted);margin:0;line-height:1.75}.study-shell .pack-availability__body p+p{margin-top:12px}.study-shell .pack-availability>.primary-action{min-width:220px}.study-shell .study-dashboard__main,.study-shell .study-dashboard__recommendation,.study-shell .stage-section,.study-shell .stage-detail,.study-shell .status-panel,.study-shell .profile-panel,.study-shell .history-panel,.study-shell .event-panel,.study-shell .notebook-panel,.study-shell .achievement-panel,.study-shell .quiz-card,.study-shell .result-panel{border:1px solid var(--aipg-line);border-radius:var(--aipg-radius-md);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:var(--aipg-shadow-card)}.study-shell .study-dashboard__main{border-left:4px solid var(--aipg-blue-500);padding:24px}.study-shell .study-dashboard__recommendation{border:0;border-left:1px solid var(--aipg-line);box-shadow:none;background:0 0;border-radius:0;padding:20px}.study-shell .profile-panel{display:block}.study-shell .stage-section,.study-shell .stage-detail{min-width:0;padding:16px}.study-shell .stage-detail{border-left:4px solid var(--aipg-blue-500);grid-column:auto}.study-shell .stage-grid{border-top:1px solid var(--aipg-line);grid-template-columns:minmax(0,1fr);gap:0;max-height:none;overflow:visible}.study-shell .track-card,.study-shell .stage-card{border:0;border-bottom:1px solid var(--aipg-line);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:none;border-radius:0}.study-shell .stage-card{grid-template-rows:auto auto;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:3px 12px;min-height:72px;padding:11px 12px;display:grid}.study-shell .stage-card__number{grid-row:1/3;align-self:center}.study-shell .stage-card__title{grid-column:2;font-weight:600}.study-shell .stage-card__subtitle{grid-column:2/4;line-height:1.5}.study-shell .stage-card__state{color:var(--aipg-blue-700);grid-column:3;font-size:.875rem;font-weight:600}@media (hover:hover){.study-shell .stage-card:hover{border-bottom-color:var(--aipg-blue-line);background:var(--aipg-surface-soft)}}.study-shell .stage-card[data-selected=true],.study-shell .track-card[data-selected=true]{border-bottom-color:var(--aipg-blue-line);background:var(--aipg-blue-100);box-shadow:inset 4px 0 0 var(--aipg-blue-500)}.study-shell .primary-action{color:#fff;border-color:var(--aipg-blue-900);background:var(--aipg-blue-900);box-shadow:none}.study-shell .secondary-action,.study-shell .choice-option{color:var(--aipg-blue-900);border-color:var(--aipg-blue-line);background:var(--aipg-surface)}.study-shell .hud-content--quiz{grid-template-columns:minmax(0,1fr);align-items:start}.study-shell .hud-content--quiz .session-panel{min-width:0;max-height:none;overflow:visible}.study-shell .choice-option[data-answer-state=selected]{border-color:var(--aipg-blue-500);background:var(--aipg-blue-100);box-shadow:inset 4px 0 0 var(--aipg-blue-500)}.study-shell .choice-option[data-answer-state=selected-correct],.study-shell .choice-option[data-answer-state=correct]{color:#174f2c;background:#edf8f0;border-color:#5f9e76;box-shadow:inset 4px 0 #2f8750}.study-shell .choice-option[data-answer-state=selected-incorrect]{color:#793b16;background:#fff4ea;border-color:#d08a54;box-shadow:inset 4px 0 #c5682c}.study-shell .choice-option[data-answer-state=idle]:disabled{opacity:.62}.study-shell .choice-marker--selected{color:var(--aipg-blue-700);background:#fff}.study-shell .choice-option[data-answer-state=selected-incorrect] .choice-marker--selected{color:#8a4314}.study-shell .choice-marker--correct{color:#1f6c3b;background:#fff}.study-shell .feedback-panel__explanation{border-top-color:color-mix(in srgb, currentColor 22%, transparent)}.study-shell .answer-comparison>div,.study-shell .review-destination{border-color:color-mix(in srgb, currentColor 24%, transparent)}.study-shell .review-destination{color:var(--aipg-blue-700);background:var(--aipg-blue-100)}.study-shell .tag-list span,.study-shell .stage-card__number,.study-shell .track-card__code,.study-shell .event-stage-list span,.study-shell .notebook-card__time{color:var(--aipg-blue-700);border-color:var(--aipg-blue-line);background:var(--aipg-blue-100)}.study-shell .result-panel--study{border:0;border-top:3px solid var(--aipg-blue-900);border-bottom:1px solid var(--aipg-structure-line);background:var(--aipg-surface);box-shadow:none;border-radius:0;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:0;padding:clamp(24px,3vw,40px);display:grid}.study-shell .result-report{min-width:0;padding-right:clamp(24px,4vw,52px)}.study-shell .result-report__header{max-width:54ch}.study-shell .result-report__context,.study-shell .result-next-action__label,.study-shell .result-review-points>span{color:var(--aipg-muted);letter-spacing:.04em;margin:0;font-size:.9rem;font-weight:700}.study-shell .result-report__context,.study-shell .result-next-action__label{font-size:1rem}.study-shell .result-report h2{color:var(--aipg-blue-900);margin-top:6px;font-size:clamp(1.55rem,3vw,2rem)}.study-shell .result-report__message{border-left:3px solid var(--aipg-blue-500);gap:6px;margin:20px 0 0;padding-left:16px;display:grid}.study-shell .result-report__headline{color:var(--aipg-ink);margin:0;font-size:clamp(1.12rem,2vw,1.38rem);font-weight:700;line-height:1.45}.study-shell .result-report__detail{color:var(--aipg-muted);margin:0;line-height:1.65}.study-shell .result-panel--study .result-metrics{border-top:1px solid var(--aipg-line);border-bottom:1px solid var(--aipg-line);gap:0;margin:28px 0 24px;padding:18px 0;display:flex}.study-shell .result-panel--study .result-metrics div{background:0 0;border:0;border-radius:0;grid-template-columns:auto auto;align-items:end;gap:4px 10px;min-width:132px;padding:0 24px 0 0;display:grid}.study-shell .result-panel--study .result-metrics div+div{border-left:1px solid var(--aipg-line);margin-left:24px;padding-left:24px}.study-shell .result-panel--study .result-metrics dt{color:var(--aipg-muted);grid-column:1/-1;font-size:.78rem;font-weight:700}.study-shell .result-panel--study .result-metrics dd{color:var(--aipg-blue-900);align-items:baseline;gap:7px;margin:0;display:flex}.study-shell .result-panel--study .result-metrics strong{font-variant-numeric:tabular-nums;font-size:clamp(2.2rem,4vw,3.25rem);line-height:1}.study-shell .result-panel--study .result-metrics dd span{color:var(--aipg-muted);font-size:.94rem;font-weight:700}.study-shell .result-review-points p{color:var(--aipg-ink);overflow-wrap:anywhere;margin:8px 0 0;line-height:1.7}.study-shell .result-next-action{border-left:1px solid var(--aipg-line);flex-direction:column;min-width:0;padding-left:clamp(24px,4vw,44px);display:flex}.study-shell .result-next-action__label{color:var(--aipg-blue-700);letter-spacing:.02em;font-size:1rem}.study-shell .result-next-action__stage{color:var(--aipg-blue-700);margin:28px 0 0;font-size:.82rem;font-weight:700}.study-shell .result-next-action h3{color:var(--aipg-blue-900);margin:6px 0 0;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.35}.study-shell .result-next-action__reason{color:var(--aipg-muted);margin:14px 0 0;line-height:1.7}.study-shell .result-next-action__primary{width:100%;min-height:48px;margin-top:28px}.study-shell .result-secondary-actions{border-top:1px solid var(--aipg-line);gap:8px;margin-top:18px;padding-top:12px;display:grid}.study-shell .result-secondary-action{border-color:var(--aipg-blue-line);width:100%;min-height:44px;color:var(--aipg-blue-900);background:var(--aipg-surface);font:inherit;text-align:center;cursor:pointer;justify-content:center;align-items:center;padding:0 14px;font-weight:700;display:inline-flex}.study-shell .result-secondary-action:hover{border-color:var(--aipg-blue-500);background:var(--aipg-blue-100)}.study-shell .result-secondary-action:focus-visible{outline:3px solid color-mix(in srgb, var(--aipg-blue-500) 35%, transparent);outline-offset:3px}.study-shell .history-panel:focus-visible{outline:3px solid color-mix(in srgb, var(--aipg-blue-500) 30%, transparent);outline-offset:3px}.study-shell .history-list__item[data-current=true]{border-left-color:var(--aipg-blue-500);box-shadow:inset 3px 0 0 var(--aipg-blue-500)}.game-shell--event-sprint{--event-bg:#060a2a;--event-panel:#111632;--event-line:#dce7ff;--event-ink:#f8faff;--event-gold:#f3c84b;--event-cyan:#54d6ff;--event-green:#70e000}@media (width<=1040px){.study-shell.app-shell{grid-template-rows:auto minmax(0,1fr)}.study-shell .study-header{grid-template-columns:auto minmax(0,1fr)}.study-shell .hud-header__right{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto auto}.study-shell .operator-actions{grid-column:auto}.study-shell .hud-status-strip{justify-content:start}.study-shell .hud-content .learning-layout,.study-shell .study-dashboard,.study-shell .learning-layout--home .event-panel{grid-template-columns:1fr}.study-shell .study-dashboard__recommendation{border-top:1px solid var(--aipg-line);border-left:0}.study-shell .pack-availability{grid-template-columns:minmax(0,1fr);align-items:start}.study-shell .pack-availability>.primary-action{width:100%;min-width:0}.study-shell .stage-detail{order:-1}}@media (width<=760px){.study-shell .learning-home{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro""next""continue""status"}.study-shell .learning-home__continue{border-left:0}.study-shell .learning-home__status{flex-wrap:wrap}.study-shell .learning-home__status div{flex:180px}.study-shell .result-panel--study{grid-template-columns:minmax(0,1fr);padding:24px}.study-shell .result-report{padding-right:0}.study-shell .result-next-action{border-top:1px solid var(--aipg-line);border-left:0;margin-top:24px;padding:24px 0 0}.study-shell .result-next-action__stage{margin-top:20px}}@media (width<=520px){.study-shell .study-header{min-height:var(--aipg-header-height);padding:8px 12px}.study-shell .result-panel--study{padding:20px}.study-shell .result-panel--study .result-metrics div{min-width:0;padding-right:18px}.study-shell .result-panel--study .result-metrics div+div{margin-left:18px;padding-left:18px}.choice-option{grid-template-columns:minmax(0,1fr)}.choice-option__markers{justify-content:flex-start}.answer-comparison{grid-template-columns:minmax(0,1fr)}.study-shell .hud-status-strip{display:none}.study-shell .hud-content{padding:16px}.study-shell .study-dashboard__main,.study-shell .study-dashboard__recommendation,.study-shell .stage-section,.study-shell .stage-detail{padding:14px}.study-shell .learning-home__intro,.study-shell .learning-home__next,.study-shell .learning-home__continue{padding:18px}.study-shell .learning-home__action-row>.primary-action,.study-shell .learning-home__action-row>.secondary-action{width:100%}.study-shell .learning-home__action-row>span{flex-basis:100%}.study-shell .learning-home__status{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 18px;display:grid}.study-shell .learning-home__status div{gap:3px;min-width:0;padding:12px 12px 12px 0;display:grid}.study-shell .learning-home__status div+div{padding-left:12px}.study-shell .stage-grid{grid-template-columns:1fr}.study-shell .stage-detail__stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.study-drawer,.study-drawer-scrim,.theme-toggle__icon,.theme-toggle__track,.theme-toggle__thumb,.theme-toggle__tooltip,.achievement-toast,.achievement-toast__celebration span,.achievement-toast__celebration i{transition:none;animation:none}}.study-shell :where(button,a[href],input,textarea,summary,[data-code-scroll]):focus-visible{outline-offset:2px;box-shadow:0 0 0 6px var(--aipg-blue-500);outline:3px solid #fff}.study-shell .hud-content{padding:30px max(16px,50vw - 600px) 56px}.study-shell .hud-content .learning-layout--stage{width:min(1200px,100%);margin:0 auto;display:block}.study-course-overview{grid-template-columns:minmax(0,1fr) minmax(260px,330px);grid-template-areas:"intro progress";align-items:end;gap:24px 48px;display:grid}.study-course-overview:has(.event-panel){grid-template-columns:minmax(0,1fr) minmax(292px,340px);grid-template-areas:"intro event""progress event";align-items:start;gap:18px 48px}.study-course-overview__intro{grid-area:intro;align-self:end}.study-shell .course-id{min-height:44px;color:var(--aipg-blue-900);letter-spacing:.04em;cursor:pointer;background:0 0;border:0;align-items:center;margin:-10px 0 -3px;padding:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-weight:600;display:inline-flex}.study-course-overview h2{color:var(--aipg-ink);letter-spacing:-.045em;margin:0;font-size:clamp(2rem,3vw,2.75rem);font-weight:700;line-height:1.15}.study-course-overview__method{color:var(--aipg-muted);margin:8px 0 0;line-height:1.65}.study-shell .course-progress{grid-area:progress;width:100%}.study-shell .course-progress__labels{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px;display:flex}.study-shell .course-progress__labels span,.study-shell .course-progress__labels strong{font-size:.875rem}.study-shell .course-progress__labels span{color:var(--aipg-muted)}.study-shell .course-progress__labels strong{font-weight:600}.study-shell .course-progress progress{width:100%;height:8px;color:var(--aipg-blue-500);background:var(--aipg-line);accent-color:var(--aipg-blue-500);border:0;border-radius:0;display:block;overflow:hidden}.study-shell .course-progress progress::-webkit-progress-bar{background:var(--aipg-line)}.study-shell .course-progress progress::-webkit-progress-value{background:var(--aipg-blue-500)}.study-shell .course-progress progress::-moz-progress-bar{background:var(--aipg-blue-500)}.study-shell .event-panel{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;grid-area:event/auto;padding:0}.study-shell .event-list{gap:12px;display:grid}.study-shell .event-banner{border:1px solid var(--aipg-structure-line);border-radius:var(--aipg-radius-sm);width:100%;min-height:138px;color:var(--aipg-ink);background:var(--aipg-surface);font:inherit;text-align:left;cursor:pointer;transition:border-color var(--aipg-transition), background-color var(--aipg-transition);grid-template-columns:minmax(0,1fr) 96px;padding:0;display:grid;overflow:hidden}.study-shell .event-banner:disabled{cursor:not-allowed;opacity:.58}.study-shell .event-banner__body{flex-direction:column;align-items:flex-start;min-width:0;padding:15px 17px 14px;display:flex}.study-shell .event-banner__label{color:var(--aipg-blue-900);letter-spacing:.04em;margin-bottom:3px;font-size:.875rem;font-weight:700}.study-shell .event-banner__title{font-size:1.0625rem;font-weight:600;line-height:1.4}.study-shell .event-banner__meta{color:var(--aipg-muted);flex-wrap:wrap;margin-top:2px;font-size:.875rem;line-height:1.5;display:flex}.study-shell .event-banner__meta span+span:before{content:"・"}.study-shell .event-banner__link{min-height:44px;color:var(--aipg-blue-900);text-underline-offset:4px;align-items:center;gap:6px;margin-top:auto;padding-top:7px;font-size:.875rem;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;display:inline-flex}.study-shell .event-banner__visual{color:#fff;min-width:0;transition:background-color var(--aipg-transition);background:#244e79;align-content:center;justify-items:center;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;display:grid}.study-shell .event-banner__visual:before{content:"for";letter-spacing:-.08em;font-size:2rem;font-weight:700;line-height:1}.study-shell .event-banner__visual:after{content:"01  02  03";letter-spacing:.08em;opacity:.72;margin-top:12px;font-size:.625rem}.study-shell[data-theme=inverse] .event-banner__visual{color:#0d2f52;background:#d5ebfb}.study-workspace{grid-template-columns:minmax(260px,286px) minmax(0,1fr);align-items:start;gap:48px;margin-top:32px;display:grid}.study-shell .study-workspace>.stage-detail{order:0}.study-shell .stage-section.stage-rail{border:0;border-right:1px solid var(--aipg-line);min-width:0;box-shadow:none;background:0 0;border-radius:0;padding:0 28px 0 0}.study-shell .stage-rail__heading{justify-content:space-between;align-items:baseline;gap:16px;min-height:44px;padding:0 8px 8px 12px;display:flex}.study-shell .stage-rail__heading h2{margin:0;font-size:1rem;font-weight:700}.study-shell .stage-rail__heading>span{color:var(--aipg-muted);font-variant-numeric:tabular-nums;font-size:.875rem}.study-shell .stage-grid{border:0;grid-template-columns:minmax(0,1fr);gap:0;display:grid}.study-shell .stage-card{border-radius:var(--aipg-radius-sm);width:100%;min-height:48px;color:var(--aipg-ink);text-align:left;cursor:pointer;transition:color var(--aipg-transition), background-color var(--aipg-transition), border-color var(--aipg-transition);background:0 0;border:0;border-left:3px solid #0000;grid-template-rows:auto;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:7px 10px 7px 9px;display:grid;position:relative}.study-shell .stage-card+.stage-card{border-top:1px solid var(--aipg-line)}.study-shell .stage-card__number{color:var(--aipg-muted);font-variant-numeric:tabular-nums;grid-row:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-weight:600}.study-shell .stage-card__title{text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:.9375rem;font-weight:600;overflow:hidden}.study-shell .stage-card__state{color:var(--aipg-muted);white-space:nowrap;grid-column:3;font-size:.875rem;font-weight:400}.study-shell .stage-card__subtitle,.study-shell .stage-card__badge{display:none}.study-shell .stage-card[data-progress=complete] .stage-card__state{color:var(--aipg-green)}.study-shell .stage-card[data-progress=review] .stage-card__state{color:var(--aipg-orange)}.study-shell .stage-card[data-selected=true]{border-left-color:var(--aipg-blue-500);color:var(--aipg-blue-900);background:var(--aipg-blue-100);box-shadow:none}.study-shell .stage-card[data-selected=true] .stage-card__number,.study-shell .stage-card[data-selected=true] .stage-card__state{color:var(--aipg-blue-900)}.study-shell .stage-detail{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.study-shell .mobile-stage-switch{display:none}.study-shell .stage-hero{grid-template-columns:minmax(0,1fr) 222px;align-items:start;gap:40px;display:grid}.study-shell .stage-code{color:var(--aipg-blue-900);letter-spacing:.04em;margin:0 0 5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-weight:600}.study-shell .stage-hero h2{color:var(--aipg-ink);letter-spacing:-.055em;margin:0;font-size:clamp(2.25rem,4vw,3.5rem);font-weight:700;line-height:1.05}.study-shell .stage-description{max-width:680px;color:var(--aipg-muted);margin:14px 0 0;font-size:1.0625rem;line-height:1.75}.study-shell .stage-actions{gap:6px;display:grid}.study-shell .stage-actions .primary-action{border:2px solid var(--aipg-blue-900);border-radius:var(--aipg-radius-sm);color:#fff;background:#244e79;width:100%;min-height:50px;padding:10px 18px;font-weight:700}.study-shell[data-theme=inverse] .stage-actions .primary-action{color:#0d2f52;background:#f7fbff;border-color:#f7fbff}.study-shell .stage-actions .secondary-action{min-height:44px;color:var(--aipg-blue-900);text-underline-offset:4px;background:0 0;border:0;padding:6px 4px;font-size:.875rem;font-weight:600;text-decoration:underline;text-decoration-thickness:1px}.study-shell .stage-action-meta{color:var(--aipg-muted);text-align:center;font-size:.75rem}.study-shell .growth-summary{border-top:1px solid var(--aipg-line);border-bottom:1px solid var(--aipg-line);grid-template-columns:minmax(100px,.7fr) minmax(120px,.8fr) minmax(0,1.8fr);margin:28px 0 0;padding:14px 0;display:grid}.study-shell .growth-summary>div{min-width:0;padding:0 20px}.study-shell .growth-summary>div:first-child{padding-left:0}.study-shell .growth-summary>div+div{border-left:1px solid var(--aipg-line)}.study-shell .growth-summary dt{color:var(--aipg-muted);font-size:.875rem}.study-shell .growth-summary dd{overflow-wrap:anywhere;margin:3px 0 0;font-weight:600}.study-shell .growth-summary__target dd{color:var(--aipg-blue-900)}.study-shell .code-study{margin-top:28px}.study-shell .code-study .section-heading,.study-shell .checkpoint-heading{margin-bottom:12px}.study-shell .code-study .section-heading h3,.study-shell .checkpoint-heading h3{color:var(--aipg-ink);margin:0;font-size:1.125rem;font-weight:700}.study-shell .code-study .section-heading p{color:var(--aipg-muted);margin:3px 0 0;font-size:.875rem}.study-shell .code-frame{border-radius:var(--aipg-radius-md);background:var(--aipg-code);scrollbar-color:#68758a var(--aipg-code);overflow-x:auto}.study-shell .code-frame pre{min-width:max-content;color:var(--aipg-code-ink);font-variant-ligatures:none;tab-size:4;margin:0;padding:21px 24px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9375rem;font-weight:400;line-height:1.7}.study-shell .checkpoints{margin-top:30px}.study-shell .checkpoint-list{margin:0;padding:0;list-style:none}.study-shell .checkpoint-list li{border-top:1px solid var(--aipg-line);grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:12px;min-height:48px;padding:11px 0;display:grid}.study-shell .checkpoint-list__number{color:var(--aipg-muted);font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-weight:600}.study-shell .checkpoint-list__text{line-height:1.55}.study-shell .checkpoint-list__state{color:var(--aipg-muted);white-space:nowrap;font-size:.875rem}.study-shell .checkpoint-list li[data-emphasis=current] .checkpoint-list__number,.study-shell .checkpoint-list li[data-emphasis=current] .checkpoint-list__state{color:var(--aipg-blue-900)}.study-shell .learning-layout--home .event-panel{grid-template-columns:none;align-self:start;gap:0;padding:0;display:block}@media (hover:hover) and (pointer:fine){.study-shell .course-id:hover{text-underline-offset:4px;text-decoration:underline}.study-shell .event-banner:hover{border-color:var(--aipg-blue-500);background:var(--aipg-blue-100)}.study-shell .event-banner:hover .event-banner__visual{background:#172033}.study-shell[data-theme=inverse] .event-banner:hover .event-banner__visual{background:#f7fbff}.study-shell .stage-card:hover{background:var(--aipg-surface-soft);border-bottom-color:#0000}.study-shell .stage-card[data-selected=true]:hover{background:var(--aipg-blue-100)}}@media (width>=981px){.study-shell .learning-layout--home:has(.event-panel){grid-template-columns:minmax(0,1fr) minmax(292px,340px);align-items:start}.study-shell .learning-layout--home:has(.event-panel) .learning-home{grid-column:1}.study-shell .learning-layout--home:has(.event-panel) .event-panel{grid-area:1/2}}@media (width<=1040px){.study-shell .study-header{grid-template-columns:auto minmax(0,1fr) auto}.study-shell .hud-header__right,.study-shell .operator-actions{grid-column:auto}}@media (width<=980px){.study-workspace{grid-template-columns:minmax(220px,240px) minmax(0,1fr);gap:32px}.study-shell .stage-hero{grid-template-columns:minmax(0,1fr) 200px;gap:28px}}@media (width<=760px){.study-shell .hud-content{padding:22px 20px 40px}:is(.study-course-overview,.study-course-overview:has(.event-panel)){grid-template-columns:minmax(0,1fr);grid-template-areas:"intro""progress""event";gap:18px}.study-course-overview h2{font-size:clamp(1.9rem,9vw,2.45rem)}.study-shell .event-panel{width:100%}.study-workspace{margin-top:28px;display:block}.study-shell .stage-section.stage-rail{display:none}.study-shell .mobile-stage-switch{border:1px solid var(--aipg-structure-line);border-radius:var(--aipg-radius-sm);width:100%;min-height:48px;color:var(--aipg-ink);background:var(--aipg-surface);cursor:pointer;justify-content:space-between;align-items:center;margin:0 0 24px;padding:9px 12px;font-weight:600;display:flex}.study-shell .mobile-stage-switch span:first-child{color:var(--aipg-muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem}.study-shell .mobile-stage-switch span:last-child{color:var(--aipg-blue-900)}.study-shell .stage-hero{display:block}.study-shell .stage-hero h2{font-size:clamp(2.25rem,14vw,3.25rem)}.study-shell .stage-description{margin-top:12px;font-size:1rem}.study-shell .stage-actions{margin-top:22px}.study-shell .growth-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}.study-shell .growth-summary>div{padding:0 16px}.study-shell .growth-summary>div:first-child{padding-left:0}.study-shell .growth-summary>div:nth-child(3){border-top:1px solid var(--aipg-line);border-left:0;grid-column:1/-1;padding:14px 0 0}}@media (width<=520px){.study-shell .study-header{padding:8px 12px}.study-shell .operator-actions{display:none}.study-shell .event-banner{grid-template-columns:minmax(0,1fr) 78px;min-height:128px}.study-shell .event-banner__body{padding:13px 14px}.study-shell .code-frame pre{padding:18px;font-size:.875rem}.study-shell .checkpoint-list li{grid-template-columns:26px minmax(0,1fr)}.study-shell .checkpoint-list__state{grid-column:2}}@media (width<=360px){.study-shell .hud-content{padding-left:14px;padding-right:14px}.study-shell .event-banner{grid-template-columns:minmax(0,1fr) 68px}.study-shell .event-banner__visual:before{font-size:1.55rem}.study-shell .event-banner__visual:after{content:"01 02"}.study-shell .stage-hero h2{font-size:2.3rem}.study-shell .growth-summary dd{font-size:.9375rem}}@media (pointer:coarse){.study-shell .stage-card{min-height:52px}}@media (prefers-reduced-motion:reduce){.study-shell .event-banner,.study-shell .event-banner__visual,.study-shell .stage-card{transition:none}}.study-shell .workspace-page,.study-shell .notebook-panel,.study-shell .achievement-panel{width:min(1200px,100%);margin:0 auto}.study-shell .workspace-page__header{max-width:760px;margin:0 0 32px}.study-shell .workspace-page__code,.study-shell .workspace-page__label,.study-shell .workspace-section__label{color:var(--aipg-blue-900);letter-spacing:.03em;margin:0 0 6px;font-size:.875rem;font-weight:600}.study-shell .workspace-page__code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.study-shell .workspace-page__header h2{color:var(--aipg-ink);letter-spacing:-.05em;margin:0;font-size:clamp(2.15rem,4vw,3.25rem);font-weight:700;line-height:1.08}.study-shell .workspace-page__header>p:not(.workspace-page__code):not(.workspace-page__label){max-width:62ch;color:var(--aipg-muted);margin:12px 0 0;line-height:1.7}.study-shell .workspace-section__header{justify-content:space-between;align-items:start;gap:24px;display:flex}.study-shell .workspace-section__header h3{color:var(--aipg-ink);margin:0;font-size:1.25rem;font-weight:700;line-height:1.4}.study-shell .profile-view{display:block}.study-shell .profile-view__layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1.35fr);align-items:start;gap:56px;display:grid}.study-shell .profile-panel,.study-shell .history-panel,.study-shell .notebook-panel,.study-shell .achievement-panel{border:0;border-top:1px solid var(--aipg-structure-line);min-width:0;box-shadow:none;background:0 0;border-radius:0;padding:20px 0 0}.study-shell .profile-view>.workspace-page__header{margin-bottom:30px}.study-shell .profile-panel__identity{max-width:190px;color:var(--aipg-muted);text-align:right;margin:2px 0 0;font-size:.875rem;line-height:1.5}.study-shell .nickname-form{background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:24px 0 0;padding:0;display:grid}.study-shell .nickname-form label{min-width:0;color:var(--aipg-muted);gap:7px;font-size:.875rem;font-weight:600;display:grid}.study-shell .nickname-form input{border:1px solid var(--aipg-structure-line);border-radius:var(--aipg-radius-sm);width:100%;min-height:44px;color:var(--aipg-ink);background:var(--aipg-surface);font:inherit;padding:8px 11px}.study-shell .nickname-form .secondary-action{min-width:74px;min-height:44px}.study-shell .profile-panel__stats{border-top:1px solid var(--aipg-line);gap:20px;margin-top:26px;padding:20px 0 0;display:grid}.study-shell .profile-panel__stats>div:first-child{gap:3px;display:grid}.study-shell .profile-panel__stats>div:first-child span,.study-shell .profile-panel__reset p{color:var(--aipg-muted);font-size:.875rem;line-height:1.55}.study-shell .profile-panel__stats strong{color:var(--aipg-ink);font-size:1.125rem;font-weight:600}.study-shell .profile-panel__reset{border-top:1px solid var(--aipg-line);justify-items:start;gap:10px;padding-top:18px;display:grid}.study-shell .profile-panel__reset p{margin:0}.study-shell .profile-panel__reset .danger-action{min-height:44px}.study-shell .history-panel__count{color:var(--aipg-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.875rem}.study-shell .history-panel__empty{border-top:1px solid var(--aipg-line);color:var(--aipg-muted);margin:24px 0 0;padding:24px 0}.study-shell .history-list{margin:20px 0 0;padding:0;list-style:none;display:block}.study-shell .history-list>.history-list__item{border:0;border-top:1px solid var(--aipg-line);box-shadow:none;background:0 0;border-radius:0;grid-template-columns:34px minmax(0,1fr);gap:0 12px;margin:0;padding:16px 0;display:grid;position:relative}.study-shell .history-list__item[data-current=true]{background:var(--aipg-blue-100);box-shadow:none;border-left:0;padding-left:12px;padding-right:12px}.study-shell .history-list__item[data-current=true]:before{background:var(--aipg-blue-500);content:"";width:3px;position:absolute;inset:0 auto 0 0}.study-shell .history-list__index{color:var(--aipg-muted);padding-top:2px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8125rem;font-weight:600}.study-shell .history-list__summary{grid-template-columns:minmax(0,1fr) auto 36px;align-items:center;gap:16px;min-width:0;display:grid}.study-shell .history-list__summary>div{gap:2px;min-width:0;display:grid}.study-shell .history-list__summary strong{color:var(--aipg-ink);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;overflow:hidden}.study-shell .history-list__summary time{color:var(--aipg-muted);font-size:.8125rem}.study-shell .history-list__score{color:var(--aipg-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.study-shell .history-list__rank{color:var(--aipg-blue-900);text-align:right;font-size:1.125rem;font-weight:700}.study-shell .history-review,.study-shell .history-review__status{grid-column:2}.study-shell .history-review__status{color:var(--aipg-muted);margin:10px 0 0;font-size:.875rem}.study-shell .history-review{margin-top:12px}.study-shell .history-review>summary{min-height:44px;color:var(--aipg-blue-900);cursor:pointer;padding:10px 0;font-weight:600}.study-shell .history-review__list{gap:0;margin:4px 0 0;padding:0;display:grid}.study-shell .history-review__list>li{border-top:1px solid var(--aipg-line);background:0 0;border-radius:0;padding:14px 0}.study-shell .notebook-panel,.study-shell .achievement-panel{border-top:0;padding-top:0}.study-shell .notebook-list{margin-top:26px;display:block}.study-shell .code-practice{color:var(--aipg-ink);min-width:0;margin-top:24px}.study-shell .code-practice h3{margin:20px 0 12px;font-size:1.3rem}.study-shell .code-practice h4{margin:18px 0 8px;font-weight:600}.study-shell .code-practice p{overflow-wrap:anywhere;line-height:1.8}.study-shell .code-practice__selection{gap:8px;display:grid}.study-shell .code-practice__selection select{border:1px solid var(--aipg-line);width:100%;min-width:0;min-height:44px;color:var(--aipg-ink);background:var(--aipg-surface);font:inherit;border-radius:4px;padding:10px}.study-shell .code-practice summary,.study-shell .notebook-downloads>summary{cursor:pointer;overflow-wrap:anywhere;min-height:44px;padding-block:12px;line-height:1.7}.study-shell .code-practice__cases{margin-block:16px}.study-shell .code-practice__cases details{border-top:1px solid var(--aipg-line)}.study-shell .code-practice__case{margin-top:16px}.study-shell .code-practice__case h5{margin:0 0 8px;font-size:.9rem;font-weight:600}.study-shell .code-practice__case dl{grid-template-columns:40px minmax(0,1fr);gap:8px 12px;margin:0;font-size:.9rem;line-height:1.7;display:grid}.study-shell .code-practice__case dt{color:var(--aipg-muted)}.study-shell .code-practice__case dd{overflow-wrap:anywhere;margin:0}.study-shell .code-practice pre{color:#d4d4d4;white-space:pre-wrap;overflow-wrap:anywhere;background:#1e1e1e;border-radius:4px;padding:14px;font-size:.88rem;overflow:auto}.study-shell .code-practice__editor-label{margin:20px 0 10px;font-weight:600;display:block}.study-shell .code-practice__editor{box-sizing:border-box;resize:vertical;border:1px solid var(--aipg-line);color:#d4d4d4;tab-size:4;white-space:pre;background:#1e1e1e;border-radius:4px;width:100%;min-height:180px;padding:16px;font:.94rem/1.65 Consolas,monospace;display:block}.study-shell .code-practice__actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.study-shell .code-practice__note{color:var(--aipg-muted);font-size:.86rem}.study-shell .code-practice__passed{color:var(--aipg-green);font-weight:600}.study-shell .code-practice__error{color:var(--aipg-ink);font-weight:600}.study-shell .code-practice__feedback img{max-width:100%;height:auto;display:block}.study-shell .code-practice__brief,.study-shell .code-practice__work{min-width:0}.study-shell .code-practice__navigation{border-block:1px solid var(--aipg-line);grid-template-columns:minmax(160px,1fr) minmax(0,1.3fr) minmax(140px,.5fr);align-items:end;gap:20px;margin-bottom:24px;padding-block:16px 24px;display:grid}.study-shell .code-practice__selection label{font-size:.9rem;font-weight:600}.study-shell .code-practice__progress{gap:6px;font-size:.85rem;display:grid}.study-shell .code-practice__progress strong{font-size:1.35rem;font-weight:700}.study-shell .code-practice__progress small{font-size:.8rem;font-weight:400}.study-shell .code-practice__progress progress{width:100%;height:6px;accent-color:var(--aipg-blue-900)}.study-shell .code-practice__section-heading{align-items:center;gap:10px;margin-bottom:16px;display:flex}.study-shell .code-practice__section-heading>span{background:var(--aipg-blue-900);width:28px;height:28px;color:var(--aipg-surface);border-radius:50%;flex:0 0 28px;place-items:center;font-size:.85rem;font-weight:700;display:grid}.study-shell .code-practice__section-heading h3{margin:0;font-size:1rem;font-weight:600}.study-shell .code-practice__title{margin:0 0 16px;font-size:1.4rem;font-weight:700;line-height:1.55}.study-shell .code-practice__retained{color:var(--aipg-green);margin:8px 0;font-weight:600}.study-shell .code-practice__task p{margin:12px 0}.study-shell .code-practice__cases{background:var(--aipg-surface);border:1px solid var(--aipg-line);border-radius:4px;padding:16px 20px}.study-shell .code-practice__cases>h4{margin:0 0 8px;font-size:.95rem}.study-shell .code-practice__case{border-top:1px solid var(--aipg-line);padding-top:12px}.study-shell .code-practice__case h5{color:var(--aipg-muted)}.study-shell .code-practice__case dd{white-space:pre-wrap}.study-shell .code-practice__case details{border-top:0}.study-shell .code-practice__case summary{color:var(--aipg-muted);font-size:.85rem}.study-shell .code-practice__hint{border-block:1px solid var(--aipg-line)}.study-shell .code-practice__hint summary{color:var(--aipg-blue-900);font-weight:600}.study-shell .code-practice__edit-note{background:color-mix(in srgb, var(--aipg-blue-900) 7%, var(--aipg-surface));padding:14px 16px;font-size:.9rem}.study-shell .code-practice__edit-note strong{margin-bottom:4px;font-weight:600;display:block}.study-shell .code-practice__editor-label{margin-top:16px;font-size:.9rem}.study-shell .code-practice__feedback{border-top:1px solid var(--aipg-line);margin-top:24px;padding-top:20px}.study-shell .code-practice__clear{border:1px solid var(--aipg-green);background:color-mix(in srgb, var(--aipg-green) 10%, var(--aipg-surface));border-radius:4px;padding:20px}.study-shell .code-practice__clear strong{color:var(--aipg-green);font-size:1.65rem;font-weight:700}.study-shell .code-practice__clear p{margin:8px 0 0;font-size:.9rem}.study-shell .code-practice__retry strong{font-size:1.2rem;font-weight:600}.study-shell .code-practice__case-results{padding:0;font-size:.9rem;list-style:none}.study-shell .code-practice__case-results li{border-bottom:1px solid var(--aipg-line);overflow-wrap:anywhere;gap:12px;padding-block:8px;display:flex}.study-shell .code-practice__case-results li>span:first-child{flex:0 0 74px;font-weight:600}.study-shell .code-practice__edited{background:var(--aipg-surface);border:1px solid var(--aipg-line);padding:12px 14px;font-size:.9rem}.study-shell .code-practice__answer{margin-top:16px}.study-shell .code-practice__answer>span{margin-top:8px;display:block}@media (width<=760px){.study-shell .code-practice__navigation{grid-template-columns:minmax(0,1fr);gap:14px}.study-shell .code-practice__progress{grid-template-columns:auto 1fr;align-items:center;gap:12px}.study-shell .code-practice__progress strong{font-size:1.1rem}.study-shell .code-practice__cases{padding:14px}.study-shell .code-practice__title{font-size:1.2rem}.study-shell .code-practice__work{border-top:1px solid var(--aipg-line);margin-top:24px;padding-top:24px}}.study-shell .notebook-downloads{border-top:1px solid var(--aipg-line);margin-top:28px}@media (width>=1000px){.study-shell .code-practice__layout{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:start;gap:40px;display:grid}.study-shell .code-practice__work{position:sticky;top:20px}.study-shell .code-practice__editor-label,.study-shell .code-practice__task>p:first-child{margin-top:0}}@media (width<=520px){.study-shell .code-practice__editor{padding:10px;font-size:16px}.study-shell .code-practice__actions .primary-action{width:100%}}.study-shell .notebook-card{border:0;border-top:1px solid var(--aipg-structure-line);box-shadow:none;background:0 0;border-radius:0;padding:24px 0 28px}.study-shell .notebook-card:last-child{border-bottom:1px solid var(--aipg-line)}.study-shell .notebook-card[data-completed=true]{border-color:var(--aipg-green);background:0 0}.study-shell .notebook-card__header{justify-content:space-between;align-items:start;gap:24px;display:flex}.study-shell .notebook-card__header h3{color:var(--aipg-ink);margin:0;font-size:clamp(1.25rem,2.5vw,1.65rem);font-weight:700;line-height:1.35}.study-shell .notebook-card__time{color:var(--aipg-muted);white-space:nowrap;background:0 0;border:0;padding:0;font-size:.875rem;font-weight:400}.study-shell .notebook-card__target{border-top:1px solid var(--aipg-line);border-bottom:1px solid var(--aipg-line);grid-template-columns:144px minmax(0,1fr);gap:16px;margin:24px 0 0;padding:14px 0;display:grid}.study-shell .notebook-card__target dt{color:var(--aipg-muted);font-size:.875rem}.study-shell .notebook-card__target dd{color:var(--aipg-ink);margin:0;font-weight:600}.study-shell .notebook-link{min-height:44px;color:var(--aipg-blue-900);text-underline-offset:4px;align-items:center;margin-top:18px;font-weight:600;display:inline-flex}.study-shell .notebook-instructions>summary{cursor:pointer;min-height:44px;padding-block:10px;line-height:1.5}.study-shell .notebook-instructions li{margin-block:10px;line-height:1.7}.study-shell .notebook-placeholder{border-left:3px solid var(--aipg-orange);color:var(--aipg-muted);background:var(--aipg-surface-soft);margin:18px 0 0;padding:14px 16px;line-height:1.65}.study-shell .notebook-checklist{border:0;border-top:1px solid var(--aipg-line);gap:0;margin:24px 0 0;padding:0;display:grid}.study-shell .notebook-checklist legend{color:var(--aipg-muted);padding:0 12px 0 0;font-size:.875rem;font-weight:600}.study-shell .notebook-checklist label{border-bottom:1px solid var(--aipg-line);min-height:48px;color:var(--aipg-ink);background:0 0;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;padding:9px 0;display:grid}.study-shell .notebook-checklist input{width:20px;height:20px;accent-color:var(--aipg-blue-700)}.study-shell .notebook-card__actions{justify-content:flex-start;align-items:center;gap:18px;margin-top:22px;display:flex}.study-shell .notebook-card__actions .primary-action{min-width:180px;min-height:48px}.study-shell .notebook-card__actions span{color:var(--aipg-muted);font-size:.875rem}.study-shell .empty-note{border-top:1px solid var(--aipg-line);color:var(--aipg-muted);margin:24px 0 0;padding:24px 0}.study-shell .achievement-panel .workspace-page__header{grid-template-columns:minmax(0,1fr) minmax(240px,320px);grid-template-areas:"code progress""title progress""lead progress";align-items:end;column-gap:56px;max-width:none;display:grid}.study-shell .achievement-panel .workspace-page__label{grid-area:code}.study-shell .achievement-panel .workspace-page__header h2{grid-area:title}.study-shell .achievement-panel .workspace-page__header>p:not(.workspace-page__code):not(.workspace-page__label){grid-area:lead}.study-shell .achievement-progress{grid-area:progress;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px 16px;display:grid}.study-shell .achievement-progress span{color:var(--aipg-muted);font-size:.875rem}.study-shell .achievement-progress strong{color:var(--aipg-ink);font-variant-numeric:tabular-nums;font-weight:600}.study-shell .achievement-progress progress{width:100%;height:8px;color:var(--aipg-blue-500);background:var(--aipg-line);accent-color:var(--aipg-blue-500);border:0;border-radius:0;grid-column:1/-1;overflow:hidden}.study-shell .achievement-progress progress::-webkit-progress-bar{background:var(--aipg-line)}.study-shell .achievement-progress progress::-webkit-progress-value{background:var(--aipg-blue-500)}.study-shell .achievement-progress progress::-moz-progress-bar{background:var(--aipg-blue-500)}.study-shell .achievement-list{margin:26px 0 0;padding:0;list-style:none;display:block}.study-shell .achievement-card{border:0;border-top:1px solid var(--aipg-line);min-height:88px;color:var(--aipg-ink);box-shadow:none;background:0 0;border-radius:0;grid-template-columns:38px minmax(0,1fr);gap:14px;margin:0;padding:17px 0;display:grid}.study-shell .achievement-card:last-child{border-bottom:1px solid var(--aipg-line)}.study-shell .achievement-card[data-unlocked=true]{border-color:var(--aipg-line);background:0 0}.study-shell .achievement-card__index{color:var(--aipg-muted);padding-top:2px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875rem;font-weight:600}.study-shell .achievement-card__body,.study-shell .achievement-card__heading{min-width:0}.study-shell .achievement-card__body{display:block}.study-shell .achievement-card__heading{justify-content:space-between;align-items:baseline;gap:18px;display:flex}.study-shell .achievement-card__heading h3{color:var(--aipg-ink);margin:0;font-size:1.0625rem;font-weight:600}.study-shell .achievement-card__heading span{color:var(--aipg-muted);white-space:nowrap;font-size:.875rem;font-weight:400}.study-shell .achievement-card[data-unlocked=true] .achievement-card__index,.study-shell .achievement-card[data-unlocked=true] .achievement-card__heading span{color:var(--aipg-green)}.study-shell .achievement-card__body>p{color:var(--aipg-muted);margin:5px 0 0;line-height:1.6}.study-shell .achievement-card__body>small{color:var(--aipg-blue-900);margin-top:8px;font-size:.8125rem;display:block}@media (width<=880px){.study-shell .profile-view__layout{grid-template-columns:minmax(0,1fr);gap:40px}.study-shell .achievement-panel .workspace-page__header{grid-template-columns:minmax(0,1fr);grid-template-areas:"code""title""lead""progress"}.study-shell .achievement-progress{margin-top:22px}}@media (width<=520px){.study-shell .workspace-page__header{margin-bottom:26px}.study-shell .workspace-page__header h2{font-size:clamp(2rem,12vw,2.7rem)}.study-shell .workspace-section__header{gap:8px;display:grid}.study-shell .profile-panel__identity{text-align:left;max-width:none}.study-shell .nickname-form{grid-template-columns:minmax(0,1fr)}.study-shell .nickname-form .secondary-action{width:100%}.study-shell .history-list>.history-list__item{grid-template-columns:28px minmax(0,1fr);gap:0 9px}.study-shell .history-list__summary{grid-template-columns:minmax(0,1fr) auto;gap:10px}.study-shell .history-list__rank{display:none}.study-shell .notebook-card__header{gap:8px;display:grid}.study-shell .notebook-card__target{grid-template-columns:minmax(0,1fr);gap:5px}.study-shell .notebook-card__actions{gap:10px;display:grid}.study-shell .notebook-card__actions .primary-action{width:100%;min-width:0}.study-shell .achievement-card{grid-template-columns:30px minmax(0,1fr);gap:10px}.study-shell .achievement-card__heading{gap:4px;display:grid}}.study-shell .hud-content--quiz .session-panel{width:min(100%,1040px)}.study-shell .quiz-card{border:0;border-top:3px solid var(--aipg-blue-900);border-bottom:1px solid var(--aipg-structure-line);color:var(--aipg-ink);background:var(--aipg-surface);box-shadow:none;border-radius:0;padding:clamp(24px,4vw,42px)}.study-shell .quiz-context{border-bottom:1px solid var(--aipg-line);grid-template-columns:minmax(0,1fr) minmax(230px,300px);align-items:end;gap:24px 48px;padding-bottom:20px;display:grid}.study-shell .quiz-context__identity{min-width:0;color:var(--aipg-muted);flex-wrap:wrap;align-items:baseline;gap:6px 9px;display:flex}.study-shell .quiz-context__code{color:var(--aipg-blue-700);letter-spacing:.035em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8125rem;font-weight:600}.study-shell .quiz-context__identity strong{min-width:0;color:var(--aipg-ink);overflow-wrap:anywhere;font-size:.95rem;font-weight:600}.study-shell .quiz-context__progress{gap:9px;display:grid}.study-shell .quiz-context__progress span{color:var(--aipg-muted);font-variant-numeric:tabular-nums;text-align:right;font-size:.875rem}.study-shell .quiz-context__progress .quiz-context__review-id{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;font-weight:400}.study-shell .quiz-context__progress progress{width:100%;height:8px;color:var(--aipg-blue-500);background:var(--aipg-line);accent-color:var(--aipg-blue-500);border:0;border-radius:0;display:block;overflow:hidden}.study-shell .quiz-context__progress progress::-webkit-progress-bar{background:var(--aipg-line)}.study-shell .quiz-context__progress progress::-webkit-progress-value{background:var(--aipg-blue-500)}.study-shell .quiz-context__progress progress::-moz-progress-bar{background:var(--aipg-blue-500)}.study-shell .quiz-card__header{margin:26px 0 18px}.study-shell .quiz-card__header h2{color:var(--aipg-ink);letter-spacing:-.018em;font-size:clamp(1.25rem,2.4vw,1.75rem);font-weight:700;line-height:1.45}.study-shell .quiz-card .code-block{border-radius:var(--aipg-radius-sm);color:var(--aipg-code-ink);background:var(--aipg-code);box-shadow:none;margin-bottom:22px;padding:18px 20px}.study-shell .code-frame,.study-shell .quiz-card .code-block,.study-shell .history-review__question pre{color:#d4d4d4;background:#1e1e1e}.study-shell .python-code{color:#d4d4d4;font-family:inherit;font-weight:400}.study-shell .choice-list{gap:10px}.study-shell .choice-option{border-radius:var(--aipg-radius-sm);min-height:56px;box-shadow:none;transition:border-color var(--aipg-transition), background-color var(--aipg-transition), box-shadow var(--aipg-transition);padding:13px 15px;font-weight:600}@media (hover:hover){.study-shell .choice-option:not(:disabled):hover{border-color:var(--aipg-blue-500);background:var(--aipg-blue-100)}}.study-shell .choice-marker{border-radius:2px;min-height:22px;font-size:.75rem;font-weight:700}.study-shell .answer-field{color:var(--aipg-ink);font-weight:600}.study-shell .answer-field input{color:var(--aipg-ink);border-color:var(--aipg-line);background:var(--aipg-surface)}.study-shell .feedback-panel{color:var(--aipg-ink);box-shadow:none;border:0;border-left:4px solid;border-radius:0;gap:18px;margin-top:28px;padding:20px 22px}.study-shell .feedback-panel--correct{border-left-color:var(--aipg-green);background:color-mix(in srgb, var(--aipg-green) 9%, var(--aipg-surface))}.study-shell .feedback-panel--incorrect{border-left-color:var(--aipg-orange);background:color-mix(in srgb, var(--aipg-orange) 10%, var(--aipg-surface))}.study-shell .feedback-panel--correct .feedback-panel__icon,.study-shell .feedback-panel--correct .feedback-panel__kicker,.study-shell .feedback-panel--correct .feedback-panel__result{color:var(--aipg-green)}.study-shell .feedback-panel--incorrect .feedback-panel__icon,.study-shell .feedback-panel--incorrect .feedback-panel__kicker{color:var(--aipg-orange)}.study-shell .feedback-panel__icon{border-radius:var(--aipg-radius-sm);width:36px;height:36px}.study-shell .feedback-panel__kicker,.study-shell .feedback-panel__section-label,.study-shell .review-destination__label{letter-spacing:.035em}.study-shell .answer-comparison{border-top:1px solid color-mix(in srgb, var(--aipg-ink) 18%, transparent);border-bottom:1px solid color-mix(in srgb, var(--aipg-ink) 18%, transparent);gap:24px;padding:16px 0}.study-shell .answer-comparison>div{background:0 0;border:0;border-radius:0;padding:0}.study-shell .feedback-panel__explanation{border-top:0;padding-top:0}.study-shell .review-destination{border:0;border-top:1px solid color-mix(in srgb, var(--aipg-ink) 18%, transparent);color:var(--aipg-ink);background:0 0;border-radius:0;padding:14px 0 0}.study-shell .review-destination__icon{border-radius:var(--aipg-radius-sm);width:28px;height:28px;color:var(--aipg-surface);background:var(--aipg-blue-700)}.study-shell .quiz-actions{justify-content:flex-end;margin-top:24px}.study-shell .quiz-actions .primary-action{min-width:190px;min-height:48px}.study-shell .session-secondary-actions{justify-content:flex-end;margin-top:12px}@media (width<=700px){.study-shell .quiz-context{grid-template-columns:minmax(0,1fr);gap:14px}.study-shell .quiz-context__progress span{text-align:left}.study-shell .quiz-card{padding:22px 18px}}@media (width<=520px){.study-shell .choice-list{grid-template-columns:minmax(0,1fr)}.study-shell .quiz-actions,.study-shell .session-secondary-actions{display:grid}.study-shell .quiz-actions .primary-action,.study-shell .session-secondary-actions .secondary-action{width:100%;min-width:0}}.account-gate{color:#23374a;background:#fbfaf6;min-height:100dvh;margin:0;padding:max(8vh,1.5rem) max(1.5rem,50vw - 21rem);font-size:1rem;line-height:1.8}.account-gate h1{font-size:clamp(1.4rem,4vw,1.9rem);line-height:1.4}.account-gate__brand{font-weight:700}.account-gate__note{font-size:.9rem}.account-gate nav{flex-wrap:wrap;gap:1.5rem;display:flex}.account-gate a{color:#245d96}.account-gate button{color:#23374a;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #627d96;border-radius:4px;padding:.6rem 1rem}.account-gate nav a{align-items:center;min-height:44px;display:inline-flex}.google-sign-in{background:#fff;border:1px solid #747775;border-radius:4px;align-items:center;gap:10px;min-height:44px;margin:.75rem 0;padding:10px 12px;font-family:Google Sans,Arial,sans-serif;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;display:inline-flex;color:#1f1f1f!important}.google-sign-in img{flex:none}.account-opt-in{align-items:center;gap:.6rem;min-height:44px;display:flex}.account-profile-form{gap:.75rem;margin-top:1.25rem;display:grid}.account-profile-form>label:first-child{gap:.4rem;font-weight:600;display:grid}.account-profile-form input:not([type=checkbox]){border:1px solid var(--aipg-structure-line);background:var(--aipg-surface);width:100%;min-width:0;min-height:44px;color:var(--aipg-ink);font:inherit;border-radius:4px;padding:.6rem .75rem}.account-profile input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--aipg-blue-500);flex:0 0 18px;margin:0}.account-profile-form .secondary-action{justify-self:start}.study-shell .account-profile p{color:var(--aipg-muted)}.account-profile a{color:var(--aipg-blue-900)}.account-profile summary{cursor:pointer;min-height:44px;padding-block:.65rem}.account-profile details label{align-items:center;gap:.6rem;min-height:44px;margin-block:.5rem;display:flex}.account-panel__actions{flex-wrap:wrap;gap:.75rem;margin:1rem 0;display:flex}.account-import{border-block:1px solid var(--border-color,#aebac6);margin-block:1.5rem;padding-block:1rem}.account-ranking{margin-top:2rem}.account-ranking table{border-collapse:collapse;width:100%}.account-ranking th,.account-ranking td{text-align:left;border-bottom:1px solid var(--border-color,#aebac6);overflow-wrap:anywhere;padding:.75rem .5rem}.account-ranking caption{text-align:left;padding:.5rem}.account-save-status{z-index:100;color:#23374a;background:#fff;border:1px solid #627d96;max-width:44rem;margin-inline:auto;padding:1rem 1.25rem;position:fixed;inset:auto 1rem 1rem;box-shadow:0 4px 20px #14253630}.account-save-status a{color:#245d96;min-height:44px;padding:.65rem;display:inline-block}.account-save-status p{margin-block:.5rem}.study-shell .code-practice__next{border-top:1px solid var(--aipg-line);margin-top:24px;padding-top:16px}.study-shell .code-practice__next>p:first-child{font-weight:600}.study-shell .code-practice__title{scroll-margin-block-start:24px}.study-shell .learning-overview{color:var(--aipg-ink);grid-column:1/-1}.study-shell .learning-overview__heading{margin:8px 0 24px}.study-shell .learning-overview__heading h2{margin:0 0 8px;font-size:1.75rem;font-weight:600}.study-shell .learning-overview__heading p{color:var(--aipg-muted);margin:0}.study-shell .learning-overview__resume{background:var(--aipg-surface);border-bottom:1px solid var(--aipg-structure-line);justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:18px 24px;display:flex}.study-shell .learning-overview__resume p{margin:4px 0 6px}.study-shell .learning-overview__resume div>span:last-child{color:var(--aipg-muted);font-size:.875rem}.study-shell .learning-overview__resume button{flex-shrink:0;min-height:44px}.study-shell .learning-overview__label{color:var(--aipg-muted);font-size:.875rem}.study-shell .learning-overview__tracks{gap:16px;display:grid}.study-shell .learning-overview__track{text-align:left;width:100%;min-height:184px;font:inherit;color:var(--aipg-ink);background:var(--aipg-surface);border:1px solid var(--aipg-structure-line);cursor:pointer;border-radius:4px;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);gap:32px;padding:24px 28px;transition:background-color .16s,border-color .16s;display:grid}.study-shell .learning-overview__track:hover{background:color-mix(in srgb, var(--aipg-surface) 94%, var(--aipg-ink));border-color:var(--aipg-blue-900)}.study-shell .learning-overview__track:focus-visible{outline:3px solid var(--aipg-blue-900);outline-offset:3px}.study-shell .learning-overview__track-main{flex-direction:column;align-items:flex-start;gap:10px;min-width:0;display:flex}.study-shell .learning-overview__track-title{color:var(--aipg-blue-900);font-size:1.4rem;font-weight:600;line-height:1.5}.study-shell .learning-overview__description{line-height:1.75}.study-shell .learning-overview__last{color:var(--aipg-muted);margin-top:auto;padding-top:6px;font-size:.875rem}.study-shell .learning-overview__progress{flex-direction:column;justify-content:center;gap:10px;display:flex}.study-shell .learning-overview__progress-label{justify-content:space-between;gap:12px;display:flex}.study-shell .learning-overview__progress progress{appearance:none;width:100%;height:6px;accent-color:var(--aipg-blue-900);background:var(--aipg-structure-line);border:0;display:block}.study-shell .learning-overview__progress progress::-webkit-progress-bar{background:var(--aipg-structure-line)}.study-shell .learning-overview__progress progress::-webkit-progress-value{background:var(--aipg-blue-900)}.study-shell .learning-overview__progress progress::-moz-progress-bar{background:var(--aipg-blue-900)}.study-shell .learning-overview__details{color:var(--aipg-muted);flex-wrap:wrap;gap:4px 18px;font-size:.875rem;display:flex}.study-shell .learning-overview__open{color:var(--aipg-blue-900);text-underline-offset:4px;align-self:flex-end;margin-top:10px;text-decoration:underline}.study-shell .learning-overview__note{color:var(--aipg-muted);margin:16px 0 24px;font-size:.875rem;line-height:1.75}.study-shell .learning-overview__planned{border-top:1px solid var(--aipg-structure-line);color:var(--aipg-muted);padding-top:16px;font-size:.875rem}.study-shell .learning-overview__planned p{margin:4px 0 0}@media (width<=640px){.study-shell .learning-overview__heading{margin-bottom:20px}.study-shell .learning-overview__heading h2{font-size:1.5rem}.study-shell .learning-overview__track{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}.study-shell .learning-overview__track-title{font-size:1.2rem}.study-shell .learning-overview__resume{flex-direction:column;align-items:stretch;gap:12px;padding:16px 20px}.study-shell .learning-overview__open{margin-top:4px}}@media (prefers-reduced-motion:reduce){.study-shell .learning-overview__track{transition:none}}.school-enrollment{margin-block:1.25rem}.study-shell .school-enrollment .secondary-action{min-height:44px}
