.ew-home{max-width:1560px!important}.ew-subtitle{color:var(--eh-muted);font-size:12px;margin-top:5px!important}.ew-home>.ep-player{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:24px;align-items:center;padding:18px 22px;margin-bottom:28px}.ew-home>.ep-player .ep-level{margin:0;padding:0;background:none;border:0}.ew-home>.ep-player .ep-identity{padding:0}.ew-home>.ep-player .ep-avatar{width:64px;height:64px}.ew-home>.ep-player h2{font-size:20px}.ew-home>.ep-player .ep-identity-copy>p:last-child{font-size:10px}.ew-world-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.ew-world-head h2{font-size:26px;letter-spacing:-.8px;margin-top:5px}.ew-world-stats{display:flex;gap:22px}.ew-world-stats>span{display:flex;flex-direction:column;align-items:flex-start;font-size:9px;color:var(--eh-muted);max-width:130px}.ew-world-stats b{font-size:21px;color:var(--eh-accent);letter-spacing:-.5px}.ew-world-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.ew-world-tools p{font-size:11px;color:var(--eh-muted);max-width:550px}.ew-view-tabs{display:flex;border:1px solid var(--eh-line);background:var(--eh-surface);padding:4px;border-radius:10px;flex-shrink:0}.ew-view-tabs button{border:0;background:transparent;color:var(--eh-muted);font-size:10px;padding:8px 12px;border-radius:7px;min-height:36px}.ew-view-tabs button[aria-pressed=true]{background:var(--eh-accent);color:var(--eh-on)}.ew-map{border:1px solid var(--eh-line);border-radius:24px;background:var(--eh-surface);overflow:hidden;box-shadow:0 12px 35px #053f600a}.ew-map-scroll{overflow-x:auto;scrollbar-width:thin}.ew-map-world{position:relative;width:100%;aspect-ratio:5/3;min-height:0;background:#b7dce0;isolation:isolate}.ew-terrain{width:100%;height:100%;display:block}.ew-region-label{font-family:inherit;font-size:13px;font-weight:750;letter-spacing:4px;fill:#355f69}.ew-node{position:absolute;transform:translate(-50%,-50%);background:transparent!important;border:0;padding:6px;display:flex;align-items:center;flex-direction:column;cursor:pointer;min-width:48px;min-height:48px;z-index:3}.ew-node-number{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;border:4px solid #fff6d7;background:#18546b;color:white;font-size:12px;font-weight:700;box-shadow:0 5px 0 #294856,0 7px 12px #1b423d55;transition:transform .2s}.ew-node:hover .ew-node-number{transform:translateY(-3px)}.ew-node.is-locked .ew-node-number{background:#859b91;border-color:#dbe5ce;font-size:15px;box-shadow:0 5px 0 #60766c,0 7px 12px #1b423d33}.ew-node.is-won .ew-node-number{background:#f8d876;color:#67512b;border-color:#fff3bd;box-shadow:0 5px 0 #b69a51,0 7px 12px #1b423d33}.ew-node.is-selected:after{content:'';position:absolute;top:1px;left:1px;right:1px;height:47px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 4px #053f6055;pointer-events:none}.ew-node-stars{font-size:11px;letter-spacing:1px;line-height:1.3;color:#765818;margin-top:6px;text-shadow:0 1px #fff6c5}.ew-map-avatar{position:absolute;z-index:4;transform:translate(-50%,-135%);pointer-events:none;transition:left .7s cubic-bezier(.2,.7,.3,1),top .7s cubic-bezier(.2,.7,.3,1);display:flex;flex-direction:column;align-items:center}.ew-map-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#fff;border:3px solid white;box-shadow:0 5px 15px #06334744}.ew-map-avatar span{font-size:7px;letter-spacing:1px;font-weight:800;color:white;background:#053f60;padding:2px 6px;border-radius:5px;margin-top:-4px}.ew-map-avatar:after{content:'';border:5px solid transparent;border-top-color:#053f60;margin-top:-1px}.ew-map-legend{display:flex;flex-wrap:wrap;gap:12px 22px;padding:15px 22px;color:var(--eh-muted);font-size:10px}.ew-map-legend>span:last-child{margin-left:auto}.ew-phase-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ew-phase-list button{display:flex;gap:10px;text-align:left;align-items:center;flex-wrap:wrap;background:var(--eh-surface);border:1px solid var(--eh-line);color:var(--eh-ink);border-radius:12px;padding:16px;min-height:100px}.ew-phase-list button[aria-pressed=true]{border-color:var(--eh-accent);background:var(--eh-tint)}.ew-phase-list button b{color:var(--eh-accent);font-size:16px}.ew-phase-list button span{font-size:11px;flex:1}.ew-phase-list small{width:100%;padding-left:28px;font-size:9px;color:var(--eh-muted)}.ew-current{margin-top:24px;scroll-margin-top:20px}.ew-current-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;min-height:170px;background:#082b3b;color:#fff}.ew-current-banner>img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-2}.ew-current-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#031c2bef 0%,#052d42d9 50%,#031c2b33 100%);z-index:-1}.ew-current-banner>div{padding:26px;max-width:780px}.ew-current-banner span{font-size:9px;letter-spacing:1.5px;color:#bad8e9;font-weight:650}.ew-current-banner h2{font-size:25px;line-height:1.25;letter-spacing:-.7px;margin:9px 0;color:#fff!important}.ew-current-banner p{font-size:11px;color:#d5e3eb}.ew-missions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.ew-mission-card{display:flex;align-items:center;gap:13px;background:var(--eh-surface);border:1px solid var(--eh-line);border-radius:15px;padding:20px;min-width:0}.ew-mission-card.is-current{border-color:var(--eh-accent);box-shadow:inset 3px 0 var(--eh-accent)}.ew-mission-number{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;align-self:flex-start;border-radius:50%;background:var(--eh-tint);color:var(--eh-accent);font-size:13px;font-weight:700}.ew-mission-card.is-complete .ew-mission-number{background:#dcece3;color:#346747}.ew-mission-copy{flex:1;min-width:0}.ew-mission-copy>small{font-size:8px;color:var(--eh-muted);letter-spacing:1px;font-weight:700}.ew-mission-copy h3{font-size:16px;letter-spacing:-.4px;margin:3px 0}.ew-mission-copy p{font-size:10px;color:var(--eh-muted);line-height:1.7}.ew-mission-meta,.ew-best{display:block;font-size:9px;margin-top:8px;color:var(--eh-accent)}.ew-best{color:var(--eh-muted);margin-top:3px}.ew-mission-card>button{font-size:10px!important;padding:10px 12px;flex-shrink:0}.ew-finale{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid var(--eh-line);border-radius:18px;margin-top:22px;background:var(--eh-tint)}.ew-finale>div{flex:1}.ew-finale h2{font-size:22px;letter-spacing:-.6px;margin:6px 0}.ew-finale p:not(.eh-eyebrow){font-size:11px;color:var(--eh-muted);max-width:640px}.ew-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.ew-badges>div{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;border:1px solid var(--eh-line);border-radius:13px;padding:15px;color:var(--eh-muted);background:var(--eh-soft)}.ew-badges>div>span{grid-row:1/3;font-size:28px;align-self:center}.ew-badges strong{font-size:11px}.ew-badges small{font-size:9px}.ew-badges .is-earned{border-color:#b79a54;color:var(--eh-accent);background:var(--eh-surface)}.ew-footnote{font-size:10px;color:var(--eh-muted);line-height:1.8;margin-top:20px!important}.ew-error{padding:13px 16px;background:#681e36;color:white;border-radius:10px;margin:12px 0;font-size:12px}.ew-error button{margin-left:15px;background:white;color:#681e36;border:0;padding:8px;border-radius:6px}.ew-mission-dialog{--eh-ink:#253449;--eh-muted:#637286;--eh-surface:#fff;--eh-soft:#f3f6fa;--eh-line:#d8e1e9;--eh-accent:#053f60;--eh-on:#fff;--eh-tint:#eaf1f5;width:min(1050px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--eh-line);border-radius:20px;background:var(--eh-surface);color:var(--eh-ink);overflow:auto;overscroll-behavior:contain;font:inherit;box-shadow:0 25px 100px #0005}.ew-mission-dialog::backdrop{background:#061e2bc7;backdrop-filter:blur(5px)}[data-theme="theme-eniac-dark"] .ew-mission-dialog{--eh-ink:#f0f4f7;--eh-muted:#abbac7;--eh-surface:#18212a;--eh-soft:#121b23;--eh-line:#344452;--eh-accent:#abd2e6;--eh-on:#092333;--eh-tint:#203646}.ew-mission-dialog *{box-sizing:border-box}.ew-mission-dialog h2,.ew-mission-dialog h3,.ew-mission-dialog p{margin:0}.ew-mission-dialog button,.ew-mission-dialog input{font:inherit}.ew-mission-dialog button{cursor:pointer}.ew-mission-dialog button:disabled{opacity:.5;cursor:default}.ew-mission-dialog .eh-primary{background:#053f60!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.ew-mission-dialog :is(button,a,input,summary):focus-visible{outline:3px solid #4896bd;outline-offset:3px}.ew-mission-header{position:sticky;top:0;z-index:10;background:var(--eh-surface);border-bottom:1px solid var(--eh-line);padding:20px 26px;display:flex;align-items:center;gap:18px}.ew-mission-header>div:first-child{flex:1;min-width:0}.ew-mission-header h2{font-size:17px;line-height:1.35;margin-top:5px;letter-spacing:-.4px}.ew-time{display:flex;flex-direction:column;align-items:center;flex-shrink:0}.ew-time strong{font-variant-numeric:tabular-nums;font-size:18px;color:var(--eh-accent)}.ew-time small{font-size:8px;color:var(--eh-muted)}.ew-mission-body{padding:24px}.ew-study-cover{width:100%;height:200px;object-fit:cover;border-radius:12px}.ew-study-content{padding:25px 10px 5px;line-height:1.85;font-size:13px}.ew-study-content>h2{font-size:28px;letter-spacing:-.7px;margin:7px 0 16px}.ew-aims{padding:17px 20px 17px 35px;background:var(--eh-soft);border:1px solid var(--eh-line);border-radius:12px;color:var(--eh-ink);margin:0 0 24px}.ew-aims li+li{margin-top:7px}.ew-lesson-block{display:flex;gap:16px;margin:25px 0}.ew-lesson-block>span{color:var(--eh-accent);font-size:23px;font-weight:650}.ew-lesson-block h3{font-size:17px;line-height:1.5;margin-bottom:8px}.ew-lesson-block p{color:var(--eh-muted);font-size:13px;line-height:1.9}.ew-fact{border-left:4px solid var(--eh-accent);padding:18px 22px;background:var(--eh-tint);border-radius:0 12px 12px 0;margin:24px 0}.ew-fact strong{font-size:15px}.ew-fact p{font-size:12px;line-height:1.9;margin-top:7px}.ew-sources{padding:15px 0;border-top:1px solid var(--eh-line);margin-top:20px;color:var(--eh-muted)}.ew-sources summary{cursor:pointer;font-size:12px}.ew-sources a{display:block;font-size:11px;color:var(--eh-accent);margin-top:9px}.ew-study-start{padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--eh-line);margin-top:15px}.ew-study-start p{font-size:11px;color:var(--eh-muted)}.ew-case{padding:22px;border-radius:14px;background:var(--eh-tint);border:1px solid var(--eh-line);margin:16px 0}.ew-case>span{font-size:9px;font-weight:700;letter-spacing:1px;color:var(--eh-accent)}.ew-case p{font-size:14px;line-height:1.9;margin-top:10px}.ew-pbl{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.ew-pbl>span{font-size:10px;display:flex;gap:7px;align-items:center;color:var(--eh-muted)}.ew-pbl b{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border-radius:50%;background:var(--eh-tint);color:var(--eh-accent)}.ew-lab{margin-top:25px;padding:20px;border:1px solid var(--eh-line);border-radius:14px;overflow:hidden}.ew-lab>p{font-size:11px;color:var(--eh-muted);margin:10px 0 14px}.ew-lab .at-workspace{padding:15px 0!important;min-height:0!important}.ew-lab .at-detail-grid{grid-template-columns:1fr!important}.ew-lab .at-back{display:none!important}.ew-lab .at-viewer-stage{min-height:300px;height:380px}.ew-flashcard{padding:28px;border-radius:16px;background:var(--eh-soft);border:1px solid var(--eh-line);margin:20px 0;min-height:260px;text-align:center}.ew-flashcard>span{font-size:9px;color:var(--eh-muted);letter-spacing:1px}.ew-flashcard h3{font-size:21px;line-height:1.6;margin:20px 0}.ew-flashcard>div:not(.ew-card-nav){padding:18px;background:var(--eh-tint);border-radius:10px;margin-bottom:16px}.ew-flashcard p{font-size:12px;line-height:1.8;margin-top:10px}.ew-card-nav{display:flex;justify-content:space-between;margin-top:18px}.ew-card-nav button,.ew-text-button{background:none;border:0;color:var(--eh-accent);font-size:11px;padding:10px;min-height:44px}.ew-quiz{max-width:830px;margin:15px auto;padding:0 5px}.ew-quiz-meta{display:flex;justify-content:space-between;gap:15px;color:var(--eh-muted);font-size:10px}.ew-quiz>progress{width:100%;height:6px;accent-color:#053f60;border:0;margin:15px 0 24px}.ew-quiz fieldset{border:0;padding:0;margin:0}.ew-quiz legend{font-size:23px;line-height:1.5;letter-spacing:-.5px;font-weight:650;margin-bottom:23px;color:var(--eh-ink)}.ew-answer{display:flex;align-items:center;gap:13px;min-height:62px;padding:15px;border:1px solid var(--eh-line);border-radius:12px;margin-bottom:12px;cursor:pointer;background:var(--eh-soft);font-size:13px;line-height:1.6}.ew-answer.is-selected{border-color:var(--eh-accent);background:var(--eh-tint)}.ew-answer input{width:18px;height:18px;accent-color:#053f60;flex-shrink:0}.ew-answer b{color:var(--eh-accent);font-size:13px}.ew-quiz-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.ew-save-state{font-size:10px;color:var(--eh-muted);padding:14px 0;min-height:40px}.ew-case-mini{padding:16px;border:1px solid var(--eh-line);border-radius:10px;background:var(--eh-tint);font-size:12px;line-height:1.8;margin-bottom:22px!important}.ew-result{max-width:820px;margin:auto}.ew-result-score{text-align:center;padding:28px;background:var(--eh-tint);border-radius:16px;margin-bottom:24px}.ew-result-score>span{display:block;font-size:11px;letter-spacing:1.3px;color:var(--eh-accent);font-weight:650}.ew-result-score>strong{display:block;font-size:68px;line-height:1.3;letter-spacing:-3px;color:var(--eh-accent)}.ew-result-score p{font-size:12px;color:var(--eh-muted);margin:8px 0}.ew-result-score>b{font-size:14px}.ew-feedback{padding:18px 20px;border:1px solid var(--eh-line);border-left:4px solid #a57062;border-radius:10px;margin:13px 0;background:var(--eh-soft)}.ew-feedback.is-correct{border-left-color:#609a7b}.ew-feedback small{font-size:9px;font-weight:650;letter-spacing:1px;color:var(--eh-accent)}.ew-feedback h4{font-size:14px;line-height:1.6;margin:8px 0}.ew-feedback p{font-size:12px;line-height:1.8;color:var(--eh-muted);margin-top:6px}.ew-result>.eh-primary{margin-top:18px}.ew-jump{display:none}
@media(max-width:1150px){.ew-home>.ep-player{grid-template-columns:1fr;gap:16px}.ew-home>.ep-player .ep-level{border-top:1px solid var(--eh-line);padding-top:14px}.ew-world-head{align-items:flex-start;flex-direction:column}.ew-missions{grid-template-columns:1fr}.ew-mission-card{min-height:130px}.ew-world-stats{width:100%;justify-content:space-between}.ew-map-avatar img{width:42px;height:42px}.ew-node-number{width:32px;height:32px;font-size:10px}.ew-node.is-selected:after{height:42px}.ew-node{min-width:44px}.ew-world-tools{align-items:flex-start}.ew-phase-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.ew-home{padding:72px 16px 24px!important}.ew-home .eh-top-actions{position:absolute;top:12px;right:16px}.ew-home .eh-top h1{font-size:26px}.ew-home>.ep-player{padding:16px;margin-bottom:22px}.ew-home>.ep-player .ep-identity{flex-wrap:wrap;gap:12px}.ew-home>.ep-player .ep-avatar{width:56px;height:56px}.ew-home>.ep-player h2{font-size:18px}.ew-home>.ep-player .ep-edit{margin-left:0}.ew-home>.ep-player .ep-level-foot>span:last-child{display:none}.ew-world-head h2{font-size:24px}.ew-world-stats{gap:12px;flex-wrap:wrap}.ew-world-stats>span{width:calc(50% - 10px);max-width:none}.ew-world-stats b{font-size:20px}.ew-world-tools{display:block}.ew-world-tools p{font-size:10px;margin-bottom:13px}.ew-view-tabs{display:inline-flex}.ew-map{border-radius:17px}.ew-map-world{min-width:700px}.ew-map-legend{padding:13px;font-size:9px;gap:8px 12px}.ew-map-legend>span:last-child{margin-left:0;width:100%}.ew-map-avatar img{width:40px;height:40px}.ew-current-banner>div{padding:22px 18px}.ew-current-banner h2{font-size:22px}.ew-current-banner p{font-size:10px}.ew-mission-card{padding:17px 13px;gap:10px;flex-wrap:wrap}.ew-mission-copy{min-width:calc(100% - 45px);flex:1}.ew-mission-card>button{margin-left:42px}.ew-mission-copy h3{font-size:17px}.ew-finale{display:block;padding:22px 18px}.ew-finale button{margin-top:17px}.ew-finale h2{font-size:22px}.ew-badges{grid-template-columns:1fr;gap:9px}.ew-badges>div{padding:12px 16px}.ew-phase-list{grid-template-columns:1fr}.ew-phase-list button{min-height:80px}.ew-jump{display:flex;align-items:center;gap:10px;font-size:10px;margin:14px 0}.ew-jump select{flex:1;min-width:0;background:var(--eh-surface);border:1px solid var(--eh-line);border-radius:8px;color:var(--eh-ink);padding:10px;font-size:11px}.ew-mission-dialog{width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}.ew-mission-header{padding:16px 14px;gap:10px}.ew-mission-header h2{font-size:13px}.ew-mission-header .eh-eyebrow{font-size:8px!important;letter-spacing:1px}.ew-time strong{font-size:15px}.ew-time small{max-width:45px;text-align:center;font-size:7px}.ew-mission-header .eh-close{width:32px;height:32px;min-width:32px;font-size:22px}.ew-mission-body{padding:16px 12px 30px}.ew-study-cover{height:145px}.ew-study-content{padding:20px 3px 0;font-size:12px}.ew-study-content>h2{font-size:25px}.ew-aims{padding:15px 15px 15px 28px;font-size:11px}.ew-lesson-block{gap:11px}.ew-lesson-block>span{font-size:18px}.ew-lesson-block h3{font-size:16px}.ew-lesson-block p{font-size:12px}.ew-fact{padding:15px}.ew-study-start{display:block}.ew-study-start button{margin-top:14px}.ew-case{padding:17px}.ew-case p{font-size:13px}.ew-pbl{grid-template-columns:1fr 1fr;gap:12px}.ew-lab{padding:12px}.ew-lab .at-viewer-stage{height:300px;min-height:260px}.ew-quiz legend{font-size:19px}.ew-answer{font-size:12px;padding:12px;gap:10px}.ew-quiz-nav{gap:6px}.ew-quiz-nav button{font-size:10px!important;padding:9px 10px}.ew-quiz-meta{font-size:9px}.ew-flashcard{padding:20px 16px}.ew-flashcard h3{font-size:18px}.ew-result-score>strong{font-size:58px}.ew-feedback{padding:15px}.ew-feedback h4{font-size:13px}.ew-feedback p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ew-map-avatar,.ew-node-number{transition:none}}

.ew-map-focus{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-top:1px solid var(--eh-line);background:var(--eh-soft)}.ew-map-focus small{display:block;font-size:9px;letter-spacing:1.4px;color:var(--eh-muted);margin-bottom:4px}.ew-map-focus strong{font-size:15px;line-height:1.5}.ew-map-focus button{flex-shrink:0}.ew-node.is-locked .ew-node-number{position:relative}.ew-node.is-locked .ew-node-number:after{content:'🔒';position:absolute;right:-9px;bottom:-7px;font-size:11px;line-height:18px;background:#f1ebd8;border-radius:50%;width:18px;height:18px}.ew-current-title,#ew-current-title{scroll-margin-top:20px}@media(max-width:720px){.ew-map-focus{padding:16px;display:block}.ew-map-focus strong{font-size:13px}.ew-map-focus button{margin-top:12px}}
/* Learning-first hierarchy: module, student, active phase, compact journey. */
.ew-home>.eh-top{padding:30px 34px;min-height:190px;border-radius:24px;background:linear-gradient(90deg,#071c29 0%,#053f60ee 55%,#053f6060 100%),url('/eniac/assets/student-journey-hero-v1.webp') center/cover;color:#fff;margin-bottom:18px;position:relative;align-items:center}.ew-home>.eh-top .eh-eyebrow{color:#b9d6e6!important}.ew-home>.eh-top h1{color:#fff!important;font-size:36px;line-height:1.2;max-width:650px;letter-spacing:-1px}.ew-home>.eh-top .ew-subtitle{color:#d8e6ec;max-width:520px;font-size:13px;line-height:1.8;margin-top:14px!important}.ew-home>.eh-top .eh-top-actions{align-self:flex-start}.ew-home>.ep-player{margin-bottom:24px}.ew-home>.ep-player .ep-identity-copy>p:last-child{display:block;color:var(--eh-muted);margin-top:5px;font-size:11px}.ew-focus-shell{border:1px solid var(--eh-line);border-radius:22px;overflow:hidden;background:var(--eh-surface);margin-bottom:28px}.ew-focus-shell .ew-current-banner{border-radius:0;min-height:250px;margin:0}.ew-focus-shell .ew-current-banner>div{padding:36px 34px;max-width:760px}.ew-focus-shell .ew-current-banner h2{font-size:34px;line-height:1.25;max-width:630px;margin:12px 0}.ew-focus-shell .ew-current-banner p{font-size:13px;line-height:1.8;max-width:530px}.ew-phase-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px}.ew-phase-actions p{font-size:11px;color:var(--eh-muted);line-height:1.8}.ew-phase-actions button{flex-shrink:0}.ew-world-head{margin:26px 0 16px}.ew-world-head h2{font-size:22px}.ew-world-stats b{font-size:18px}.ew-world-stats>span{font-size:9px}.ew-journey-panel{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:22px;align-items:start;margin-bottom:28px}.ew-compact-map{min-width:0}.ew-compact-map .ew-world-tools{margin-bottom:10px}.ew-compact-map .ew-world-tools>p{display:none}.ew-compact-map .ew-map{border-radius:17px}.ew-compact-map .ew-map-focus{display:none}.ew-compact-map .ew-map-legend>span:last-child{display:none}.ew-compact-map .ew-map-legend{padding:12px;font-size:8px;gap:12px}.ew-compact-map .ew-node-number{width:29px;height:29px;font-size:9px;border-width:3px}.ew-compact-map .ew-node{padding:4px;min-width:34px;min-height:38px}.ew-compact-map .ew-node-stars{font-size:8px}.ew-compact-map .ew-map-avatar img{width:34px;height:34px}.ew-compact-map .ew-map-avatar span{font-size:6px}.ew-compact-map .ew-node.is-selected:after{display:none}.ew-compact-map .ew-region-label{font-size:16px;letter-spacing:2px}.ew-how-to{padding:24px;border:1px solid var(--eh-line);border-radius:17px;background:var(--eh-surface);margin-top:51px}.ew-how-to h3{font-size:21px;line-height:1.4;margin:8px 0 20px}.ew-how-step{display:flex;gap:12px;margin:16px 0}.ew-how-step>b{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:9px;background:var(--eh-tint);color:var(--eh-accent);font-size:12px}.ew-how-step strong{font-size:12px}.ew-how-step p{font-size:10px;line-height:1.8;color:var(--eh-muted);margin-top:4px}.ew-how-to>small{display:block;padding-top:14px;border-top:1px solid var(--eh-line);font-size:10px;line-height:1.8;color:var(--eh-muted)}.ew-current{margin-top:18px}.ew-map-avatar img{animation:ew-avatar-breathe 3.5s ease-in-out infinite}.ew-node.is-selected .ew-node-number{animation:ew-phase-beacon 3s ease-in-out infinite}.ew-terrain>rect:nth-of-type(2){animation:ew-water-light 6s ease-in-out infinite}@keyframes ew-avatar-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes ew-phase-beacon{0%,100%{box-shadow:0 5px 0 #294856,0 0 0 0 #fff7d555}50%{box-shadow:0 5px 0 #294856,0 0 0 8px #fff7d500}}@keyframes ew-water-light{0%,100%{opacity:.6}50%{opacity:1}}
.ew-theory-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.ew-theory-index{position:sticky;top:105px;border:1px solid var(--eh-line);background:var(--eh-soft);border-radius:14px;padding:18px;max-height:calc(100dvh - 150px);overflow-y:auto}.ew-theory-index>strong{display:block;font-size:18px;margin:5px 0}.ew-theory-index>span{font-size:10px;color:var(--eh-muted);display:block;margin-bottom:15px}.ew-theory-index button{display:flex;align-items:flex-start;gap:8px;text-align:left;background:transparent;border:0;border-top:1px solid var(--eh-line);width:100%;padding:12px 0;font-size:10px;line-height:1.6;color:var(--eh-ink);min-height:44px}.ew-theory-index b{color:var(--eh-accent);font-size:10px}.ew-theory-main{min-width:0}.ew-study-objectives>h3{font-size:19px;margin-bottom:15px}.ew-study-objectives>p{font-size:12px;color:var(--eh-muted);line-height:1.9}.ew-theory-main .ew-lesson-block{scroll-margin-top:120px;padding:25px 0;border-bottom:1px solid var(--eh-line);margin:0}.ew-theory-main .ew-lesson-block small{font-size:8px;letter-spacing:1.2px;color:var(--eh-accent)}.ew-theory-main .ew-lesson-block h3{font-size:21px;margin:6px 0 14px;line-height:1.5}.ew-theory-main .ew-lesson-block p{font-size:14px;line-height:1.95;color:var(--eh-ink)}.ew-theory-main .ew-lesson-block p+p{margin-top:14px}.ew-worked-example,.ew-recall{padding:24px;border:1px solid var(--eh-line);background:var(--eh-soft);border-radius:14px;margin-top:25px}.ew-worked-example h3,.ew-recall h3{font-size:20px;line-height:1.5;margin:8px 0 15px}.ew-worked-example ol,.ew-recall ol{padding-left:23px}.ew-worked-example li,.ew-recall li{margin:12px 0;font-size:13px;line-height:1.9}.ew-pitfall{padding:20px;border-left:4px solid #b79453;background:var(--eh-soft);border-radius:0 12px 12px 0;margin:22px 0}.ew-pitfall strong{font-size:14px}.ew-pitfall p,.ew-recall p{font-size:12px;line-height:1.9;margin-top:9px}.ew-study-start{flex-wrap:wrap}.ew-study-start>p{flex:1;min-width:200px}
@media(max-width:1150px){.ew-journey-panel{grid-template-columns:minmax(0,1.45fr) minmax(220px,1fr)}.ew-how-to{padding:18px}.ew-how-to h3{font-size:18px}.ew-compact-map .ew-map-world{min-width:470px}.ew-theory-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}}
@media(max-width:850px){.ew-journey-panel{grid-template-columns:1fr}.ew-how-to{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.ew-how-to>.eh-eyebrow,.ew-how-to>h3,.ew-how-to>small{grid-column:1/-1}.ew-compact-map .ew-map-world{width:100%;max-width:620px;margin:auto}.ew-theory-layout{display:block}.ew-theory-index{position:static;max-height:none;margin-bottom:24px}.ew-theory-index button{font-size:11px}.ew-theory-main .ew-lesson-block{scroll-margin-top:95px}}
@media(max-width:720px){.ew-home>.eh-top{min-height:200px;padding:25px 22px;display:block;margin-bottom:14px}.ew-home>.eh-top h1{font-size:30px}.ew-home>.eh-top .ew-subtitle{font-size:11px}.ew-home>.eh-top .eh-top-actions{position:static;margin-top:18px;justify-content:flex-end}.ew-home>.ep-player{margin-bottom:18px}.ew-focus-shell .ew-current-banner{min-height:240px}.ew-focus-shell .ew-current-banner>div{padding:27px 22px}.ew-focus-shell .ew-current-banner h2{font-size:26px}.ew-focus-shell .ew-current-banner p{font-size:12px}.ew-phase-actions{display:block;padding:18px 22px}.ew-phase-actions button{margin-top:12px;width:100%}.ew-world-head h2{font-size:22px}.ew-how-to{display:block;padding:20px}.ew-compact-map .ew-map-world{min-width:470px}.ew-jump{display:flex}.ew-theory-main .ew-lesson-block h3{font-size:19px}.ew-theory-main .ew-lesson-block p{font-size:13px}.ew-worked-example,.ew-recall{padding:20px}.ew-theory-index{padding:16px}.ew-theory-index button{padding:10px 0}.ew-study-start>p{width:100%;flex-basis:100%}.ew-home>.ep-player .ep-identity-copy>p:last-child{display:block}}
@media(prefers-reduced-motion:reduce){.ew-map-avatar img,.ew-node.is-selected .ew-node-number,.ew-terrain>rect:nth-of-type(2){animation:none!important}}
.ew-home>.eh-top .module-theme-dot{display:block;width:14px;height:14px;border-radius:50%;border:1px solid #053f60;background:linear-gradient(90deg,#053f60 50%,#fff 50%);color:#053f60}.ew-nutrient-table{margin:25px 0}.ew-nutrient-table>h3{font-size:20px;margin-bottom:10px}.ew-nutrient-table>p{font-size:12px;line-height:1.8;color:var(--eh-muted);margin-bottom:15px}.ew-nutrient-table>div{overflow-x:auto;border:1px solid var(--eh-line);border-radius:12px}.ew-nutrient-table table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.8;min-width:430px}.ew-nutrient-table th,.ew-nutrient-table td{padding:12px;text-align:left;border-bottom:1px solid var(--eh-line);vertical-align:top}.ew-nutrient-table thead{background:var(--eh-tint);color:var(--eh-accent)}.ew-nutrient-table tbody th{font-weight:600;white-space:nowrap}.ew-nutrient-table tr:last-child>*{border-bottom:0}
@media(max-width:720px){.ew-home>.ep-player .ep-identity{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px 12px;align-items:center}.ew-home>.ep-player .ep-avatar{grid-column:1;grid-row:1/3}.ew-home>.ep-player .ep-identity-copy{min-width:0;width:auto}.ew-home>.ep-player .ep-identity-copy h2{font-size:17px;overflow-wrap:anywhere}.ew-home>.ep-player .ep-identity-copy>p:last-child{font-size:10px;line-height:1.7}.ew-home>.ep-player .ep-edit{grid-column:2;justify-self:start;padding:7px 12px;min-height:36px}.ew-home>.ep-player .ep-level{margin-top:0}}
.ew-dashboard{border:1px solid var(--eh-line);background:var(--eh-surface);border-radius:24px;overflow:hidden;margin-bottom:28px;box-shadow:0 12px 36px #053f6008}.ew-dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 30px}.ew-dashboard-header h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;margin:8px 0;color:var(--eh-ink)}.ew-dashboard-header>div>p:last-child{font-size:12px;line-height:1.7;color:var(--eh-muted);max-width:650px}.ew-dashboard-header .eh-top-actions{display:flex;gap:12px;position:static!important;flex-shrink:0}.ew-dashboard-header .module-theme-dot{display:block;width:14px;height:14px;border-radius:50%;border:1px solid #053f60;background:linear-gradient(90deg,#053f60 50%,#fff 50%)}.ew-unified-phase{position:relative;background:#072432;overflow:hidden;isolation:isolate}.ew-unified-phase>img{position:absolute;right:0;top:0;height:100%;width:65%;object-fit:cover;z-index:-2}.ew-unified-phase:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#072432 18%,#072432ed 45%,#07243230 100%);z-index:-1}.ew-phase-open{display:block;width:100%;text-align:left;padding:28px 30px;border:0;background:transparent;color:#fff;cursor:pointer;min-height:238px;transition:background .2s}.ew-phase-open:hover:not(:disabled){background:#2f8db312}.ew-phase-open:focus-visible{outline:3px solid #bfe9ff;outline-offset:-6px}.ew-phase-open:disabled{cursor:default}.ew-phase-status{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#bfdeec}.ew-phase-open h2{font-size:29px;line-height:1.3;letter-spacing:-.7px;color:#fff;max-width:660px;margin:12px 0}.ew-phase-open>p{max-width:610px;font-size:12px;line-height:1.8;color:#e0edf2}.ew-phase-cta{display:inline-flex;margin-top:18px;align-items:center;padding:10px 17px;border:1px solid #ffffff50;background:#ffffffee;color:#053f60;border-radius:10px;font-size:11px;font-weight:700}.ew-phase-open:disabled .ew-phase-cta{background:#ffffff15;color:#e0edf2}.ew-dashboard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 24px;gap:10px;border-bottom:1px solid var(--eh-line)}.ew-dashboard-steps button{display:flex;gap:10px;align-items:center;text-align:left;padding:12px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--eh-ink);min-height:64px;cursor:pointer}.ew-dashboard-steps button>span{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border-radius:9px;background:var(--eh-tint);color:var(--eh-accent);font-size:10px;font-weight:700}.ew-dashboard-steps strong{font-size:11px;display:block}.ew-dashboard-steps small{font-size:9px;display:block;margin-top:4px;color:var(--eh-muted);line-height:1.5}.ew-dashboard-steps .is-next{border-color:var(--eh-line);background:var(--eh-tint)}.ew-dashboard-steps .is-done>span{background:#dbece4;color:#255a43}.ew-dashboard-steps button:disabled{cursor:default;opacity:.6}.ew-dashboard-steps button:hover:not(:disabled){border-color:var(--eh-accent)}.ew-dashboard-steps button:focus-visible{outline:3px solid var(--eh-accent);outline-offset:2px}.ew-dashboard>.ep-player{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.8fr);align-items:center;gap:24px;border:0;border-radius:0;padding:18px 28px;margin:0;box-shadow:none;background:var(--eh-soft)}.ew-dashboard>.ep-player .ep-identity{padding:0;gap:12px}.ew-dashboard>.ep-player .ep-avatar{width:56px;height:56px;flex-shrink:0}.ew-dashboard>.ep-player h2{font-size:18px}.ew-dashboard>.ep-player .ep-identity-copy{min-width:0}.ew-dashboard>.ep-player .ep-identity-copy>p:last-child{display:block;font-size:10px;line-height:1.7;margin-top:4px;color:var(--eh-muted)}.ew-dashboard>.ep-player .ep-level{padding:0;margin:0;background:transparent;border:0}.ew-dashboard>.ep-player .ep-level-foot{font-size:9px}.ew-dashboard>.ep-player .ep-level-foot>span:last-child{display:none}.ew-dashboard>.ep-player .ep-edit{font-size:10px;flex-shrink:0;padding:9px 12px}
@media(max-width:1100px){.ew-dashboard>.ep-player{grid-template-columns:1fr;gap:15px}.ew-dashboard>.ep-player .ep-level{padding-top:14px;border-top:1px solid var(--eh-line)}.ew-dashboard-steps{grid-template-columns:1fr 1fr}.ew-phase-open h2{max-width:80%;font-size:27px}.ew-phase-open>p{max-width:80%}}
@media(max-width:720px){.ew-dashboard{border-radius:19px}.ew-dashboard-header{padding:22px 19px;gap:14px}.ew-dashboard-header h1{font-size:25px;line-height:1.3}.ew-dashboard-header>div>p:last-child{font-size:11px}.ew-dashboard-header .eh-top-actions{flex-direction:column;gap:9px}.ew-phase-open{padding:24px 20px;min-height:255px}.ew-phase-open h2{font-size:25px;max-width:100%}.ew-phase-open>p{font-size:11px;max-width:100%}.ew-unified-phase>img{width:100%;opacity:.55}.ew-unified-phase:before{background:linear-gradient(90deg,#072432ee,#07243299)}.ew-dashboard-steps{padding:13px;gap:6px}.ew-dashboard-steps button{padding:10px 6px;gap:7px;align-items:flex-start}.ew-dashboard-steps strong{font-size:10px}.ew-dashboard-steps small{font-size:8px}.ew-dashboard-steps button>span{width:23px;height:23px}.ew-dashboard>.ep-player{padding:17px;gap:14px}.ew-dashboard>.ep-player .ep-identity{display:grid;grid-template-columns:50px minmax(0,1fr);gap:7px 11px;align-items:center}.ew-dashboard>.ep-player .ep-avatar{width:50px;height:50px;grid-row:1/3}.ew-dashboard>.ep-player .ep-identity-copy{grid-column:2;min-width:0}.ew-dashboard>.ep-player h2{font-size:16px;overflow-wrap:anywhere}.ew-dashboard>.ep-player .ep-edit{grid-column:2;justify-self:start;margin:0;min-height:36px}.ew-dashboard>.ep-player .ep-level-heading strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ew-phase-open{transition:none}}
.ew-dashboard-header .avatar-button{display:block;position:relative;flex-shrink:0;width:38px;height:38px;overflow:hidden;border-radius:50%;border:1px solid var(--eh-line)}.ew-dashboard-header .avatar-button img{display:block;position:static;width:100%;height:100%;max-width:100%;object-fit:cover}
/* Living medical campus: water layers move beneath the interactive trail. */
.ew-terrain{overflow:hidden;border-radius:inherit}.ew-terrain>.ew-river-waves{animation:ew-river-drift 20s linear infinite!important;will-change:transform;opacity:.85}.ew-river-current{opacity:.38;animation:ew-current-flow 14s linear infinite}.ew-hospital,.ew-medical-landmark{pointer-events:none}.ew-ecg-line{stroke-dasharray:82;animation:ew-ecg-trace 5s ease-in-out infinite}@keyframes ew-river-drift{from{transform:translate(0,0)}to{transform:translate(90px,60px)}}@keyframes ew-current-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-178}}@keyframes ew-ecg-trace{0%,100%{stroke-dashoffset:0;opacity:.9}45%{stroke-dashoffset:0;opacity:1}65%{stroke-dashoffset:82;opacity:.5}66%{stroke-dashoffset:82;opacity:.5}90%{stroke-dashoffset:0;opacity:1}}
@media(prefers-reduced-motion:reduce){.ew-terrain>.ew-river-waves,.ew-river-current,.ew-ecg-line{animation:none!important;will-change:auto}}
.ew-dashboard>.ep-player{border-bottom:1px solid var(--eh-line)}.ew-dashboard-header{align-items:center}.ew-dashboard-header>div:first-child{min-width:0;flex:1}.ew-module-progress{width:240px;flex-shrink:0;padding-left:24px;border-left:1px solid var(--eh-line)}.ew-module-progress>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.ew-module-progress>div>span{font-size:8px;letter-spacing:1px;font-weight:700;color:var(--eh-muted)}.ew-module-progress strong{font-size:27px;color:var(--eh-accent);letter-spacing:-1px}.ew-module-progress progress{display:block;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;margin:12px 0;background:var(--eh-line);accent-color:var(--eh-accent)}.ew-module-progress progress::-webkit-progress-bar{background:var(--eh-line);border-radius:20px}.ew-module-progress progress::-webkit-progress-value{background:var(--eh-accent);border-radius:20px}.ew-module-progress progress::-moz-progress-bar{background:var(--eh-accent);border-radius:20px}.ew-module-progress>p{font-size:10px;color:var(--eh-ink);line-height:1.7}.ew-module-progress>small{display:block;font-size:9px;color:var(--eh-muted);margin-top:3px}.ew-map-avatar>span{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none;letter-spacing:.2px;font-size:9px;padding:3px 7px}.ew-compact-map .ew-map-avatar>span{font-size:8px;max-width:100px}
@media(max-width:850px){.ew-dashboard-header{align-items:stretch;flex-direction:column;gap:18px}.ew-module-progress{width:100%;padding:16px 0 0;border-left:0;border-top:1px solid var(--eh-line)}.ew-module-progress strong{font-size:25px}.ew-module-progress>div>span{font-size:9px}.ew-module-progress progress{margin:8px 0}.ew-module-progress>small{display:inline-block;margin-left:8px}.ew-module-progress>p{display:inline-block}}
/* Phase launcher: native modal, keyboard focus and responsive game presentation. */
.ew-launch{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--eh-line);border-radius:24px;background:var(--eh-surface,#fff);color:var(--eh-ink,#22384b);overflow:auto;box-shadow:0 28px 100px #001b3580;margin:auto;overscroll-behavior:contain}.ew-launch::backdrop{background:#021a2bd6;backdrop-filter:blur(7px)}.ew-launch[open]{animation:ew-launch-enter .28s ease-out}.ew-launch-art{height:174px;position:relative;background:#053f60;isolation:isolate;overflow:hidden}.ew-launch-cover{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.52;z-index:-2}.ew-launch-art-shade{position:absolute;inset:0;background:linear-gradient(90deg,#042c45c9,#053f6040);z-index:-1}.ew-launch-kicker{position:absolute;top:22px;left:25px;font-size:9px;font-weight:750;letter-spacing:1.7px;color:#e1f4ff}.ew-launch-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;background:#052b40b8;color:white;border:1px solid #ffffff60;font-size:25px;cursor:pointer;z-index:2}.ew-launch-token{display:block;width:165px;height:165px;object-fit:contain;margin:12px auto 0;filter:drop-shadow(0 10px 15px #001b3550);animation:ew-token-float 4s ease-in-out infinite}.ew-launch-body{padding:22px 28px 24px}.ew-launch-state{font-size:9px;font-weight:750;letter-spacing:1.5px;color:var(--eh-accent,#053f60);margin:0 0 9px}.ew-launch h2{font-size:25px;line-height:1.22;letter-spacing:-.6px;margin:0 0 10px;color:var(--eh-ink,#22384b)}.ew-launch-intro{font-size:12px;line-height:1.7;color:var(--eh-muted,#64748b);margin:0 0 16px}.ew-launch-progress{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:10px;color:var(--eh-muted);margin-bottom:16px}.ew-launch-progress strong{color:var(--eh-accent)}.ew-launch-progress progress{grid-column:1/-1;width:100%;height:6px;accent-color:#397c96;border:0;border-radius:20px;overflow:hidden}.ew-launch-progress progress::-webkit-progress-bar{background:var(--eh-line,#dce4ea)}.ew-launch-progress progress::-webkit-progress-value{background:#397c96;border-radius:20px}.ew-launch-stages{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:0}.ew-launch-stages li{display:flex;align-items:center;gap:8px;border:1px solid var(--eh-line,#dce4ea);border-radius:11px;padding:11px;background:var(--eh-soft,#f4f7fa)}.ew-launch-stages li>span{font-size:10px;color:var(--eh-muted);font-weight:750}.ew-launch-stages strong{font-size:10px;display:block}.ew-launch-stages small{display:block;font-size:9px;color:var(--eh-muted);margin-top:3px}.ew-launch-stages .is-next{border-color:#4a8ca8;background:var(--eh-tint,#edf5fa)}.ew-launch-stages .is-done>span{color:#3d9b73}.ew-launch-reward{display:flex;justify-content:space-between;gap:12px;padding:14px 0;font-size:10px;color:var(--eh-muted)}.ew-launch-reward b{color:var(--eh-accent);white-space:nowrap}.ew-launch-requirement{margin:15px 0;background:var(--eh-soft,#f4f7fa);border-left:3px solid #8194a6;border-radius:6px;padding:12px 14px}.ew-launch-requirement strong{font-size:11px}.ew-launch-requirement p{font-size:11px;line-height:1.65;color:var(--eh-muted);margin:4px 0 0}.ew-launch-actions{display:grid;gap:8px}.ew-launch-play{display:flex;align-items:center;justify-content:center;gap:12px;min-height:50px;border:1px solid #387b98;border-radius:12px;background:linear-gradient(130deg,#105775,#053f60);box-shadow:0 4px 0 #022c43;color:#fff!important;font-size:13px;font-weight:750;padding:12px 16px;cursor:pointer;transition:transform .15s,filter .15s}.ew-launch-play:hover:not(:disabled){filter:brightness(1.15);transform:translateY(-2px)}.ew-launch-play:disabled{background:var(--eh-soft,#eef2f6);border-color:var(--eh-line,#dce4ea);box-shadow:none;color:var(--eh-muted,#64748b)!important;cursor:default}.ew-launch-secondary{background:transparent;color:var(--eh-accent);border:0;min-height:40px;cursor:pointer;font-size:11px;font-weight:700}.ew-launch-note{display:block;text-align:center;font-size:9px;line-height:1.6;color:var(--eh-muted);margin-top:14px}.ew-launch button:focus-visible{outline:3px solid #70b9dc;outline-offset:3px}@keyframes ew-launch-enter{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@keyframes ew-token-float{50%{transform:translateY(-5px) rotate(2deg)}}@media(max-width:540px){.ew-launch-art{height:145px}.ew-launch-token{width:140px;height:140px;margin-top:9px}.ew-launch-body{padding:20px}.ew-launch h2{font-size:22px}.ew-launch-kicker{left:20px;font-size:8px}.ew-launch-stages li{padding:9px 7px}.ew-launch-reward{flex-direction:column;gap:4px}.ew-launch-stages strong{font-size:9px}}@media(prefers-reduced-motion:reduce){.ew-launch[open],.ew-launch-token{animation:none}.ew-launch-play{transition:none}}
.eniac-home .ew-launch .ew-launch-close{color:#fff!important;font-size:25px!important;line-height:1!important;display:grid;place-items:center;padding:0}.eniac-home .ew-launch .ew-launch-close:disabled{opacity:.5}
@media(max-width:540px){.ew-launch-kicker{max-width:95px;line-height:1.6}.ew-launch-token{width:120px;height:120px;margin-top:22px}}
/* Softer game icons, without metallic sheen or heavy shadow. */
.ew-launch-token{filter:none;animation:ew-token-soft-float 5s ease-in-out infinite}@keyframes ew-token-soft-float{50%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.ew-launch-token{animation:none}}
/* Semantic pastel progress states: passed results take precedence over failed reviews. */
.ew-home .status-done{--state-bg:#e1f2e7;--state-border:#9dceb0;--state-ink:#245a3c}.ew-home .status-active{--state-bg:#fff3ce;--state-border:#e4c773;--state-ink:#75591b}.ew-home .status-retry{--state-bg:#fbe3e3;--state-border:#dfa4aa;--state-ink:#883b47}.ew-home .status-locked{--state-bg:var(--eh-surface);--state-border:var(--eh-line);--state-ink:var(--eh-muted)}
.ew-home .ew-phase-list button[class*=status-]{background:var(--state-bg)!important;border-color:var(--state-border)!important;color:var(--state-ink)!important;transition:transform .15s,box-shadow .15s}.ew-home .ew-phase-list button[class*=status-] b,.ew-home .ew-phase-list button[class*=status-] span,.ew-home .ew-phase-list button[class*=status-] small{color:var(--state-ink)!important}.ew-home .ew-phase-list button small{font-weight:650}.ew-home .ew-phase-list button[aria-pressed=true]{outline:2px solid var(--eh-accent);outline-offset:2px}.ew-home .ew-phase-list button:hover{transform:translateY(-2px);box-shadow:0 5px 16px #053f6010}.ew-home .ew-phase-list button:focus-visible{outline:3px solid var(--eh-accent);outline-offset:3px}
.ew-home .ew-node.status-done .ew-node-number,.ew-home .ew-node.status-active .ew-node-number,.ew-home .ew-node.status-retry .ew-node-number{background:var(--state-bg)!important;border-color:var(--state-border)!important;color:var(--state-ink)!important}.ew-status-legend{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.ew-status-legend>span{background:var(--state-bg);color:var(--state-ink);border:1px solid var(--state-border);font-size:10px;padding:7px 10px;border-radius:8px}.ew-home .ew-launch-stages .is-done,.ew-home .ew-dashboard-steps .is-done,.ew-home .ew-mission-card.is-complete{background:#e1f2e7!important;border-color:#9dceb0!important;color:#245a3c!important}.ew-home .ew-launch-stages .is-done strong,.ew-home .ew-launch-stages .is-done small,.ew-home .ew-dashboard-steps .is-done strong,.ew-home .ew-dashboard-steps .is-done small,.ew-home .ew-mission-card.is-complete h3,.ew-home .ew-mission-card.is-complete p,.ew-home .ew-mission-card.is-complete small,.ew-home .ew-mission-card.is-complete .ew-mission-meta,.ew-home .ew-mission-card.is-complete .ew-best{color:#245a3c!important}
@media(prefers-reduced-motion:reduce){.ew-home .ew-phase-list button[class*=status-]{transition:none}.ew-home .ew-phase-list button:hover{transform:none}}
.ew-home .ew-launch-stages .is-next,.ew-home .ew-dashboard-steps .is-next,.ew-home .ew-mission-card.is-current{background:#fff3ce!important;border-color:#e4c773!important;color:#75591b!important}.ew-home .ew-launch-stages .is-next strong,.ew-home .ew-launch-stages .is-next small,.ew-home .ew-dashboard-steps .is-next strong,.ew-home .ew-dashboard-steps .is-next small,.ew-home .ew-mission-card.is-current h3,.ew-home .ew-mission-card.is-current p,.ew-home .ew-mission-card.is-current small,.ew-home .ew-mission-card.is-current .ew-mission-meta{color:#75591b!important}
.ew-home .ew-launch-stages .is-retry,.ew-home .ew-dashboard-steps .is-retry,.ew-home .ew-mission-card.is-retry{background:#fbe3e3!important;border-color:#dfa4aa!important;color:#883b47!important}.ew-home .ew-launch-stages .is-retry strong,.ew-home .ew-launch-stages .is-retry small,.ew-home .ew-dashboard-steps .is-retry strong,.ew-home .ew-dashboard-steps .is-retry small,.ew-home .ew-mission-card.is-retry h3,.ew-home .ew-mission-card.is-retry p,.ew-home .ew-mission-card.is-retry small,.ew-home .ew-mission-card.is-retry .ew-mission-meta,.ew-home .ew-mission-card.is-retry .ew-best{color:#883b47!important}
/* Locked is not loading: normal cursor, with only the CTA visually muted. */
.eniac-home.ew-home button:disabled,.eniac-home.ew-home button:disabled *{cursor:default!important}.eniac-home.ew-home .ew-phase-open:disabled{opacity:1!important;filter:none!important}.eniac-home.ew-home .ew-phase-open:disabled .ew-phase-cta{opacity:.55;box-shadow:none}
/* Compact interactive journey metrics, retained beside the journey heading. */
.ew-world-stats.ew-stats-enhanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;position:relative;width:390px;flex-shrink:0;align-self:center}.ew-stats-enhanced .ew-stat-tile{--stat-color:#326881;--stat-soft:#e6f1f7;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;border:1px solid var(--eh-line);background:var(--eh-surface);border-radius:14px;padding:11px 12px 15px;min-width:0;box-shadow:0 3px 10px #053f6005;transition:transform .18s,box-shadow .18s,border-color .18s;color:var(--eh-ink);cursor:pointer;overflow:hidden}.ew-stats-enhanced .ew-stat-stars{--stat-color:#8a641f;--stat-soft:#fff2ce}.ew-stats-enhanced .ew-stat-accuracy{--stat-color:#367b5f;--stat-soft:#e4f3e9}.ew-stats-enhanced .ew-stat-time{--stat-color:#75609a;--stat-soft:#eee8f8}.ew-stats-enhanced .ew-stat-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:4px}.ew-stats-enhanced .ew-stat-icon{display:grid;place-items:center;width:28px;height:28px;background:var(--stat-soft);color:var(--stat-color)!important;border-radius:9px}.ew-stats-enhanced .ew-stat-info{font-size:9px;color:var(--eh-muted);opacity:.65;border:1px solid var(--eh-line);border-radius:50%;width:13px;height:13px;text-align:center;line-height:12px}.ew-stats-enhanced .ew-stat-tile>strong{font-size:22px;line-height:1.15;letter-spacing:-.7px;color:var(--eh-ink)!important;font-variant-numeric:tabular-nums}.ew-stats-enhanced .ew-stat-label{font-size:9px;color:var(--eh-muted)!important;white-space:nowrap}.ew-stats-enhanced .ew-stat-meter{position:absolute;left:12px;right:12px;bottom:7px;height:3px;border-radius:5px;background:var(--stat-soft);overflow:hidden}.ew-stats-enhanced .ew-stat-meter>span{height:100%;display:block;border-radius:5px;background:var(--stat-color);transition:width .5s}.ew-stats-enhanced .ew-stat-tile:hover,.ew-stats-enhanced .ew-stat-tile.is-open{transform:translateY(-3px);border-color:var(--stat-color);box-shadow:0 8px 20px #053f6014}.ew-stats-enhanced .ew-stat-tile:focus-visible{outline:3px solid var(--eh-accent);outline-offset:3px}.ew-stat-detail{position:absolute;top:calc(100% + 10px);right:0;width:min(390px,100%);z-index:20;background:var(--eh-surface);color:var(--eh-ink);border:1px solid var(--eh-line);border-radius:14px;padding:17px 40px 17px 17px;box-shadow:0 12px 36px #001c3530}.ew-stat-detail>strong{font-size:12px}.ew-stat-detail p{font-size:11px;line-height:1.7;color:var(--eh-muted);margin-top:5px!important}.ew-stat-detail>button{position:absolute;right:8px;top:8px;width:27px;height:27px;background:var(--eh-soft);color:var(--eh-ink);border:1px solid var(--eh-line);border-radius:50%;font-size:19px!important;display:grid;place-items:center;padding:0;line-height:1}.ew-world-head{align-items:center}@media(max-width:850px){.ew-world-stats.ew-stats-enhanced{width:350px;gap:6px}.ew-stats-enhanced .ew-stat-tile{padding:9px 9px 14px}.ew-stats-enhanced .ew-stat-tile>strong{font-size:20px}}@media(max-width:650px){.ew-world-stats.ew-stats-enhanced{width:100%;align-self:stretch}.ew-world-head{flex-wrap:wrap}.ew-stats-enhanced .ew-stat-label{font-size:8px}.ew-stats-enhanced .ew-stat-info{display:none}}@media(prefers-reduced-motion:reduce){.ew-stats-enhanced .ew-stat-tile,.ew-stats-enhanced .ew-stat-meter>span{transition:none}.ew-stats-enhanced .ew-stat-tile:hover,.ew-stats-enhanced .ew-stat-tile.is-open{transform:none}}
.ew-card-progress{display:grid;grid-template-columns:1fr auto;gap:6px;margin:12px 0 6px;font-size:10px}.ew-card-progress progress{grid-column:1/-1;width:100%;height:6px;accent-color:#4e8e73;border:0;border-radius:8px;overflow:hidden}.ew-card-progress progress::-webkit-progress-bar{background:#053f6015}.ew-card-progress progress::-webkit-progress-value{background:#4e8e73;border-radius:8px}.ew-clock-toggle{background:transparent;border:1px solid var(--eh-line);border-radius:7px;padding:5px 8px;font-size:9px!important;color:var(--eh-ink);white-space:nowrap}.ew-home .ew-badges>div{position:relative;display:grid;grid-template-columns:66px 1fr;column-gap:12px;align-items:center;text-align:left;padding:18px}.ew-badges>div>img{width:66px;height:74px;object-fit:contain;grid-row:1/3;filter:grayscale(1);opacity:.45}.ew-badges>div.is-earned>img{filter:none;opacity:1}.ew-badges>div>strong{align-self:end}.ew-badges>div>small{align-self:start;margin-top:5px}
.ew-flashcard .ew-flashcard-illustration{display:block;width:100%;height:220px;object-fit:contain;background:#f7f7f2;border-radius:14px;margin-bottom:18px}.ew-flashcard>span{display:block}@media(max-width:600px){.ew-flashcard .ew-flashcard-illustration{height:170px}}
.ex-study-visual{width:100%;max-height:280px;object-fit:contain;border-radius:14px;background:#f8f7f2;margin:15px 0}.ex-order>div{display:flex;align-items:center;gap:12px;background:var(--eh-soft);border:1px solid var(--eh-line);padding:14px;border-radius:12px;margin:9px 0}.ex-order>div>span{flex:1}.ex-order button{min-width:36px;min-height:36px;border:1px solid var(--eh-line);border-radius:8px;background:var(--eh-surface);color:var(--eh-ink)}.ex-concept label,.ex-tool label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:15px 0}.ex-concept input,.ex-tool input,.ex-writing textarea{padding:12px;border:1px solid var(--eh-line);border-radius:10px;background:var(--eh-surface);color:var(--eh-ink);width:100%}.ex-writing textarea{font-size:14px;line-height:1.7;resize:vertical}.ex-letter-slots{display:flex;flex-wrap:wrap;gap:4px;margin:20px 0}.ex-letter-slots>span{width:26px;height:32px;border:1px solid var(--eh-line);border-radius:4px;display:grid;place-items:center;font-size:14px;background:var(--eh-soft)}.ex-tool{border:1px solid var(--eh-line);padding:20px;border-radius:14px;margin:18px 0}.ex-tool output{display:block;font-size:22px;font-weight:700;padding:15px;background:var(--eh-tint);border-radius:10px}.ew-dashboard-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.ew-launch-stages{max-height:240px;overflow:auto}.ew-missions{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.ew-dashboard-steps{grid-template-columns:1fr 1fr}.ew-missions{grid-template-columns:1fr}.ex-order>div{gap:6px;font-size:12px}}
.ex-crossword{display:grid;gap:2px;overflow:auto;padding:15px 0}.ex-crossword input{width:26px;height:29px;min-width:0;border:1px solid var(--eh-accent);border-radius:3px;text-align:center;background:var(--eh-surface);color:var(--eh-ink);font-size:13px;padding:0}.ex-crossword input:disabled{background:var(--eh-tint);border-color:var(--eh-line);opacity:1}.ex-word-answer{width:100%;margin-top:8px;border:1px solid var(--eh-line);background:var(--eh-surface);color:var(--eh-ink);padding:12px;border-radius:8px}
.cd-dossier{margin:22px 0}.cd-intro>span{font-size:9px;letter-spacing:1.8px;color:var(--eh-accent);font-weight:750}.cd-intro h3{font-size:24px;margin:8px 0!important}.cd-intro>p{color:var(--eh-muted);font-size:12px;line-height:1.8}.cd-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;margin-top:18px;align-items:start}.cd-paper{background:#fff;color:#24384b;border:1px solid #d9e1e6;border-radius:5px;padding:27px;box-shadow:0 9px 22px #053f6010;position:relative;overflow:hidden}.cd-paper:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#053f60}.cd-paper-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:18px;border-bottom:2px solid #053f60}.cd-paper-head>div{display:grid;grid-template-columns:34px 1fr;gap:3px 9px}.cd-paper-mark{grid-row:1/3;display:grid;place-items:center;border:1px solid #bdd0dd;border-radius:5px;background:#edf3f7;font-size:11px;font-weight:750}.cd-paper-head strong{font-size:12px;letter-spacing:1px}.cd-paper-head small{font-size:7px;letter-spacing:.5px;color:#637583}.cd-stamp{font-size:8px;border:1px solid #c3d2da;border-radius:4px;padding:5px 7px;white-space:nowrap;color:#536e7c}.cd-paper h4{font-size:19px;letter-spacing:-.4px;margin:22px 0 14px;color:#193b50}.cd-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px;background:#f4f7f9;padding:12px;font-size:9px;color:#526a7b;line-height:1.6;margin-bottom:20px}.cd-table-scroll{overflow:auto}.cd-paper table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.cd-paper thead{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#536e7c}.cd-paper th,.cd-paper td{padding:15px 10px;border-bottom:1px solid #e4e9ed;vertical-align:top}.cd-paper tbody th{font-weight:500}.cd-paper tbody td{font-weight:750;font-size:15px;font-variant-numeric:tabular-nums;line-height:1.6}.cd-paper tbody tr.is-selected{background:#fff3ce}.cd-paper tbody button{display:flex;gap:8px;background:transparent;border:0;text-align:left;color:#264657!important;font-size:12px!important;line-height:1.6;padding:0;cursor:pointer}.cd-paper tbody button>span{color:#748c9b;font-size:13px}.cd-paper tbody button:focus-visible{outline:2px solid #053f60;outline-offset:5px}.cd-lab-note{margin:20px 0;padding:12px;border-left:2px solid #a9becb;background:#f7f9fa;font-size:9px;line-height:1.8;color:#526a7b}.cd-lab-note>strong{color:#284a60}.cd-paper footer{display:flex;justify-content:space-between;gap:8px;font-size:7px;letter-spacing:.8px;border-top:1px solid #e1e8ed;padding-top:13px;color:#74828b}.cd-reasoning{border:1px solid var(--eh-line);border-radius:14px;background:var(--eh-soft);padding:18px}.cd-tabs{display:flex;gap:7px;margin-bottom:20px}.cd-tabs button{width:35px;height:35px;border:1px solid var(--eh-line);border-radius:10px;background:var(--eh-surface);color:var(--eh-muted);font-size:11px!important}.cd-tabs button[aria-pressed=true]{background:var(--eh-accent);color:var(--eh-on);border-color:var(--eh-accent)}.cd-reasoning>small{font-size:8px;letter-spacing:1px;color:var(--eh-muted)}.cd-reasoning h4{font-size:17px;margin:7px 0 10px;line-height:1.4}.cd-reasoning p{font-size:11px;line-height:1.8;color:var(--eh-muted)}.cd-selected{font-size:10px;line-height:1.7;color:var(--eh-muted);margin:15px 0}.cd-reasoning>.eh-secondary{font-size:10px}.cd-reasoning .cd-checkpoint{display:block;letter-spacing:0;margin-top:15px;font-size:9px;line-height:1.7}.cd-layout.is-large{grid-template-columns:1fr}.cd-layout.is-large .cd-reasoning{max-width:none}.cd-layout.is-large .cd-paper{padding:36px}@media(max-width:850px){.cd-layout{grid-template-columns:1fr}.cd-paper{padding:20px}.cd-reasoning{padding:17px}.cd-tabs{margin-bottom:12px}}@media(max-width:480px){.cd-paper{padding:17px 13px}.cd-paper h4{font-size:17px}.cd-paper-head{gap:6px}.cd-paper-head strong{font-size:10px}.cd-paper-head small{font-size:6px}.cd-stamp{font-size:6px;padding:4px}.cd-meta{grid-template-columns:1fr;font-size:9px}.cd-paper th,.cd-paper td{padding:12px 6px}.cd-paper tbody td{font-size:14px}.cd-paper footer{font-size:6px}}
/* Native Halky Flashcards inside the ENIAC mission: only scoped overrides. */
.jf-workspace{--brand:200 78% 20%;width:100%;max-width:none;padding:0;min-width:0}.jf-study .ew-study-content{padding:24px}.jf-hide-cover{display:none}.jf-study .ew-study-content>h2,.jf-study .ew-study-content>.eh-eyebrow{display:none}.jf-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.jf-intro h3{font-size:28px!important;margin:5px 0!important}.jf-intro p{margin:8px 0;font-size:13px}.jf-intro>strong{white-space:nowrap;border:1px solid var(--border);border-radius:30px;padding:10px 17px;font-size:12px}.jf-notice{font-size:12px!important;line-height:1.65!important;padding:12px 16px;border-radius:12px;background:var(--bg-secondary,#edf3f6);color:var(--text-secondary);margin:12px 0 20px!important}.jf-workspace .fc-study-layout{width:100%;max-width:none;align-items:start;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.jf-workspace .fc-runner{min-width:0;width:100%;max-width:none;margin:0;padding:0}.jf-workspace .fc-card{width:100%}.jf-workspace .fc-front-image{height:310px;min-height:180px;background:#f6f7f9}.jf-workspace .fc-front-image img{object-fit:contain;width:100%;height:100%}.jf-workspace .fc-card-inner{min-height:530px}.jf-workspace .fc-question{font-size:clamp(17px,2vw,24px);line-height:1.35}.jf-workspace .fc-xp{display:none}.jf-workspace .fc-session-history{position:sticky;top:0;max-height:640px;overflow:auto}.jf-workspace .fc-back-scroll{max-height:420px}.jf-workspace .fc-reference{white-space:pre-line;overflow-wrap:anywhere}.jf-workspace .fc-history-mini{overflow:hidden}.jf-workspace .fc-history-mini img{object-fit:cover}.jf-workspace .fc-run-actions{display:flex;gap:12px;justify-content:space-between;margin-top:12px}.jf-workspace button:disabled{cursor:default!important;opacity:.45}.jf-credit{font-size:10px!important;line-height:1.5!important;margin:18px 0 6px!important;color:var(--text-secondary)}.jf-library{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}.jf-filters{display:flex;gap:8px;margin-bottom:12px}.jf-filters button[aria-pressed=true]{background:#053f60;color:white}.jf-thumbnails{display:flex;gap:10px;overflow:auto;padding:4px 2px 12px}.jf-thumbnails button{position:relative;flex:0 0 110px;border:1px solid var(--border);background:var(--bg-card,#fff);border-radius:12px;padding:5px;overflow:hidden;color:var(--text-primary)}.jf-thumbnails img{width:100%;height:66px;object-fit:cover;border-radius:8px}.jf-thumbnails span{position:absolute;top:9px;left:9px;background:#053f60;color:#fff;border-radius:6px;padding:2px 5px;font-size:10px}.jf-thumbnails small{display:block;font-size:10px;padding:6px 1px}.jf-thumbnails .is-correct{background:#e1f2e7;color:#165b3d}.jf-thumbnails .is-wrong{background:#fae6e7;color:#883b45}.jf-thumbnails .is-selected{outline:2px solid #28728e;outline-offset:1px}.jf-workspace .fc-summary{min-height:440px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:25px}.jf-workspace .fc-summary p{max-width:560px}.cd-context{border-left:3px solid #ba852c;padding:10px 14px;background:#fff5dd;color:#6d511b;font-size:13px}.jf-study .ew-study-start button:disabled{cursor:default;opacity:.45}.jf-workspace .fc-grade{min-height:44px}.jf-workspace .fc-save-button{min-height:44px}
[data-theme=theme-eniac-dark] .jf-notice{background:#112f3e}[data-theme=theme-eniac-dark] .jf-thumbnails .is-correct{background:#173e35;color:#b4ecd5}[data-theme=theme-eniac-dark] .jf-thumbnails .is-wrong{background:#452a33;color:#f6c7d0}
@media(max-width:1000px){.jf-workspace .fc-study-layout{grid-template-columns:minmax(0,1fr)}.jf-workspace .fc-session-history{position:static;max-height:300px}.jf-workspace .fc-history-body{display:grid;grid-template-columns:1fr 1fr;gap:12px}.jf-workspace .fc-front-image{height:300px}}
@media(max-width:560px){.jf-study .ew-study-content{padding:14px}.jf-intro{align-items:flex-start;flex-direction:column;gap:5px}.jf-intro h3{font-size:23px!important}.jf-workspace .fc-front-image{height:220px}.jf-workspace .fc-card-inner{min-height:450px}.jf-workspace .fc-meta-panel{padding:14px}.jf-workspace .fc-back-scroll{max-height:340px}.jf-workspace .fc-run-actions{gap:6px}.jf-workspace .fc-run-actions button{font-size:12px;padding:10px}.jf-workspace .fc-history-body{grid-template-columns:1fr}.jf-workspace .fc-session-history{max-height:290px}.jf-workspace .fc-study-layout{gap:14px}.jf-notice{font-size:11px!important}.jf-filters .eh-secondary{padding:9px 12px}.jf-thumbnails button{flex-basis:92px}}
@media(prefers-reduced-motion:reduce){.jf-workspace *{animation:none!important;transition:none!important}}
.jf-workspace .fc-study-layout{padding:0!important;margin:12px 0 0!important}.jf-workspace .fc-runner{padding:0!important}.jf-study .ew-study-content{padding:20px}.jf-intro{margin-bottom:10px}.jf-intro h3{font-size:24px!important}.jf-intro p{font-size:12px;margin:5px 0}.jf-notice{margin:8px 0 14px!important;padding:9px 12px}.jf-workspace .fc-front-image{height:clamp(180px,30vh,310px)}.jf-workspace .fc-card-inner{min-height:450px}.jf-workspace .fc-meta-panel{padding:16px}.jf-workspace .fc-question{font-size:20px}.jf-workspace .fc-back-scroll{max-height:335px}.jf-workspace .fc-session-history{max-height:540px}.jf-library{margin-top:14px}.jf-workspace .fc-card-wrap{scroll-margin-top:15px}
@media(max-width:560px){.jf-workspace .fc-front-image{height:200px}.jf-workspace .fc-card-inner{min-height:430px}.jf-workspace .fc-question{font-size:18px}.jf-study .ew-study-content{padding:12px}.jf-intro p{font-size:11px}.jf-intro>strong{font-size:11px;padding:6px 10px}}
.jf-workspace .fc-grade.yes:not(:disabled){background:#e0f2e7;color:#17593b;border-color:#9bcdb1}.jf-workspace .fc-grade.no:not(:disabled){background:#fae6e8;color:#8a3440;border-color:#dfb3b9}[data-theme=theme-eniac-dark] .jf-workspace .fc-grade.yes:not(:disabled){background:#204b3c;color:#ddf9e9;border-color:#3e8064}[data-theme=theme-eniac-dark] .jf-workspace .fc-grade.no:not(:disabled){background:#512d38;color:#ffe0e5;border-color:#945563}
/* Six focused missions, with contextual consultation and native labs. */
.sm-study .ew-study-content{padding:24px}.sm-mission-intro h2{margin:4px 0 18px;font-size:26px}.sm-study.jf-study .sm-mission-intro{display:none}.sm-consult{display:flex;gap:14px;align-items:start;flex-wrap:wrap;margin:22px 0}.sm-consult .ew-sources{flex:1;min-width:220px;margin:0}.sm-study .ew-study-start{position:sticky;bottom:-1px;background:var(--bg-card,#fff);border:1px solid var(--border);border-radius:14px;padding:16px;z-index:4;box-shadow:0 -6px 20px #053f6008}.sm-study .ew-study-start p{font-size:12px;margin:0}.sm-reflection,.sm-hint{margin:20px 0;border:1px solid var(--border);border-radius:18px;padding:20px;background:var(--bg-card,#fff)}.sm-reflection textarea{width:100%;resize:vertical;border:1px solid var(--border);border-radius:10px;padding:14px;background:var(--bg-primary,#f7fafc);color:var(--text-primary);font:inherit;font-size:14px}.sm-reflection>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.sm-reflection p,.sm-hint li{font-size:13px}.sm-tabs,.sm-models{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.sm-tabs button,.sm-models button{border:1px solid var(--border);border-radius:12px;background:var(--bg-card,#fff);color:var(--text-primary);padding:12px 16px;font:inherit;font-size:13px}.sm-tabs button[aria-pressed=true],.sm-models button[aria-pressed=true]{background:#053f60;color:white;border-color:#053f60}.sm-anatomy{border:1px solid var(--border);padding:14px;border-radius:20px;min-width:0}.sm-anatomy .at-workspace{padding:0!important;min-height:0!important}.sm-anatomy .at-detail{max-width:none;margin:0}.sm-anatomy .at-back,.sm-anatomy .at-back-bottom{display:none!important}.sm-anatomy .at-viewer-stage{height:420px;min-height:290px}.sm-anatomy .at-detail-head{padding:8px 0 15px}.sm-anatomy .at-detail-head h1{font-size:25px}.sm-anatomy .at-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sm-anatomy .at-fullscreen{position:fixed;inset:0;z-index:100;width:100%;height:100%;border-radius:0}.sm-anatomy .at-fullscreen .at-viewer-stage{height:calc(100vh - 140px)}.sm-anatomy .at-view-controls{flex-wrap:wrap}.sm-application{padding:22px;border:1px solid var(--border);border-radius:18px;background:var(--bg-card,#fff)}.sm-application li{margin:12px 0}.sm-challenge-intro{padding:28px;border-radius:18px;background:linear-gradient(120deg,#e3f0f3,#f5f8fb);color:#173e52}.sm-challenge-intro p{max-width:760px}.cx-workspace{--cx-cell:42px;min-width:0}.cx-intro h3{font-size:24px;margin:4px 0 8px}.cx-intro p{font-size:13px;line-height:1.7}.cx-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px;align-items:start;margin-top:24px}.cx-scroll{overflow:auto;padding:12px;background:var(--bg-secondary,#edf3f7);border-radius:16px;max-width:100%}.cx-grid{display:grid;gap:4px;width:max-content;min-width:0;margin:auto}.cx-cell{position:relative;display:block!important;width:var(--cx-cell)!important;height:var(--cx-cell)!important;padding:0!important;margin:0!important;background:none!important;border:none!important}.cx-cell input{display:block!important;width:100%!important;height:100%!important;min-width:0!important;padding:4px 1px 0!important;border:1px solid #9fb8c8!important;border-radius:6px!important;background:var(--bg-card,#fff)!important;color:var(--text-primary,#14394d)!important;text-align:center!important;font-size:23px!important;line-height:1;font-weight:700!important;text-transform:uppercase;caret-color:#053f60;cursor:text;opacity:1!important}.cx-cell.is-active input{border:2px solid #176182!important;background:#e5f1f7!important;color:#0a3955!important}.cx-cell input:focus{outline:3px solid #e3ae4e!important;outline-offset:1px!important;background:#fff8e8!important;color:#16384b!important}.cx-cell>small{position:absolute;top:1px;left:3px;font-size:9px;color:#2e556c;line-height:1;pointer-events:none;z-index:1}.cx-clues{display:grid;gap:12px}.cx-clues button{display:flex;align-items:flex-start;gap:10px;text-align:left;border:1px solid var(--border);background:var(--bg-card,#fff);color:var(--text-primary);border-radius:14px;padding:15px;line-height:1.6;font-size:13px}.cx-clues button[aria-pressed=true]{border:2px solid #176182;background:#e6f1f6;color:#0c3c55}.cx-clues button.is-filled b{background:#d5eddf;color:#175c3d}.cx-clues b{padding:3px 10px;background:#e7edf4;border-radius:8px}.cx-clues small{display:block;font-size:10px;margin-top:8px;opacity:.8}.cx-accessible{margin-top:20px}.cx-accessible summary{cursor:pointer;font-size:13px}.cx-accessible label{display:block!important;background:none!important;border:0!important;padding:12px 0!important;font-size:13px}.cx-accessible input{display:block!important;border:1px solid var(--border);border-radius:8px;padding:12px!important;margin-top:10px;width:100%;font-size:20px!important;background:var(--bg-card,#fff);color:var(--text-primary)}.cx-progress{font-size:12px;padding:14px;background:var(--bg-secondary,#edf3f7);border-radius:12px}.ew-dashboard-steps{grid-template-columns:repeat(6,minmax(0,1fr))}.ew-missions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.cx-layout{grid-template-columns:1fr}.cx-clues{grid-template-columns:1fr}.sm-anatomy .at-detail-grid{grid-template-columns:1fr}.ew-dashboard-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.sm-study .ew-study-content{padding:14px}.sm-anatomy{padding:8px}.sm-anatomy .at-viewer-stage{height:340px;min-height:260px}.sm-tabs button,.sm-models button{padding:10px 11px;font-size:12px}.cx-workspace{--cx-cell:34px}.cx-grid{gap:3px}.cx-scroll{padding:8px}.cx-cell input{font-size:20px!important}.cx-intro h3{font-size:21px}.sm-study .ew-study-start{position:static;padding:12px}.sm-reflection{padding:14px}.ew-missions{grid-template-columns:1fr}.ew-dashboard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-theme=theme-eniac-dark] .sm-challenge-intro{background:#133543;color:#e4f1f7}[data-theme=theme-eniac-dark] .sm-study .ew-study-start{background:#172732}[data-theme=theme-eniac-dark] .cx-scroll{background:#122630}[data-theme=theme-eniac-dark] .cx-cell:not(.is-active) input{background:#223f4f!important;color:#eaf7fc!important}[data-theme=theme-eniac-dark] .cx-clues button{background:#182e3b;color:#e8f3fa}[data-theme=theme-eniac-dark] .cx-clues button[aria-pressed=true]{background:#234b5e;border-color:#78b2cb}[data-theme=theme-eniac-dark] .cx-progress{background:#173644}
