.welcome h1{font-size:clamp(48px,6.2vw,88px);letter-spacing:-4px;line-height:1.05}.welcome h1 em{display:inline-block}.story-preview .preview-body{padding:33px 24px}.story-preview .preview-icon{font:600 22px var(--display)}.practice-button{border:0;padding:12px 0;font-size:12px;color:var(--muted);margin-top:4px}.trip-route{display:flex;align-items:center;gap:12px;padding:4px 24px 27px}.trip-route>span{font-size:9px;color:var(--lime);letter-spacing:1px}.trip-route small{display:block;color:var(--muted);font-size:9px;letter-spacing:0;margin-top:4px}.trip-route i{height:1px;flex:1;background:linear-gradient(90deg,#5e7449,#a1b284)}.chapter-banner{display:grid;grid-template-columns:1.35fr 1fr;gap:40px;background:linear-gradient(110deg,#232c21,#191e1b);border:1px solid #44513d;border-radius:10px;padding:22px 27px;margin-bottom:22px}.chapter-story p{font-size:14px;line-height:1.6;max-width:660px;margin:9px 0 16px;color:#d9e1d2}.chapter-goals{border-left:1px solid #46513f;padding-left:27px}.story-goal{display:flex;gap:9px;margin:10px 0;font-size:12px;color:#c5cec0}.story-goal.achieved{color:var(--lime)}.goal-symbol{width:15px}.attention-dots{display:inline-flex;gap:6px;margin:0 13px}.attention-dots i{width:15px;height:6px;background:var(--lime);border-radius:2px}.attention-dots i.used{background:#4a5544}#attention-strip{display:flex;align-items:center;gap:4px}#attention-strip strong{font-size:11px;color:var(--muted)}.os-shell{grid-template-columns:205px minmax(350px,1fr) 230px;min-height:640px}.sidebar .app-button{padding:9px 11px}.sidebar-bottom{padding-top:20px}.sidebar-bottom #next{font-size:11px;gap:8px;padding:12px 10px}.sidebar-bottom #progress{font-size:9px;line-height:1.5;letter-spacing:0}.task-strip{background:#ffffff03}.message-row.completed{opacity:.85}.investigation-tools{border-top:1px solid var(--line);margin-top:24px;padding-top:15px;display:flex;flex-wrap:wrap;gap:9px}.investigation-tools button{font-size:11px;border-style:dashed}.chat-thread{display:grid;gap:15px;padding:10px 0}.chat-bubble{background:#2b3528;border:1px solid #45533d;border-radius:3px 13px 13px 13px;padding:16px 19px;max-width:93%;margin:18px 0}.chat-thread .chat-bubble{margin:0}.chat-bubble small{font-size:10px;color:var(--lime)}.chat-bubble p{margin:6px 0 0;font-size:15px}.chat-bubble.you{margin-left:auto;background:#232c28;border-radius:13px 3px 13px 13px}.chat-bubble.you small{color:#b2c1b5}.record-grid{display:grid;grid-template-columns:130px minmax(0,1fr);border:1px solid var(--line);border-radius:7px;overflow:hidden;margin:20px 0}.record-grid dt,.record-grid dd{margin:0;padding:11px 14px;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.record-grid dt{color:var(--muted);background:#101812}.record-grid dd{background:#202a1f}.record-grid dt:last-of-type,.record-grid dd:last-of-type{border-bottom:0}.resource-grid{display:grid;grid-template-columns:1fr 1fr;padding:25px;gap:16px}.resource-card{text-align:left;display:flex;flex-direction:column;align-items:start;justify-content:space-between;background:#1e261d;padding:19px;min-height:210px}.resource-card h3{font:500 21px/1.25 var(--display);margin:15px 0 10px}.resource-card p{font-size:12px;color:var(--muted);margin:0 0 16px}.resource-card>span{font-size:11px;color:var(--lime)}.workspace>.fiction-note{margin:0 25px 20px}.document-record{border-bottom:1px solid var(--line);padding:15px 0}.document-record p{margin:5px 0;color:var(--muted);font-size:13px}.ledger-panel{margin:0 27px 20px;border:1px solid var(--line);padding:16px;border-radius:6px;font-size:12px}.ledger-panel summary{cursor:pointer;color:var(--lime)}.ledger-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.ledger-row span{color:var(--muted)}.ledger-row strong{white-space:nowrap;font-size:13px}.settings-list,.notes-list{padding:8px 27px 25px}.settings-card button{font-size:11px}.note-entry{border-left:2px solid #546d3f;margin:17px 0;padding:4px 0 4px 16px}.note-entry small{font-size:9px;letter-spacing:1px;color:var(--muted)}.note-entry p{font-size:13px;margin:7px 0}.note-entry.missed{border-color:var(--orange)}.account-chip{border:1px solid #8ea08b;background:#dbe6d7;color:#293c2c;padding:12px;border-radius:5px;margin:20px 0;font-size:12px}.unfinished-list{color:var(--orange);font-size:13px;line-height:1.8}.story-results{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 25px}.story-results span{border:1px solid var(--line);padding:8px 13px;border-radius:5px;font-size:12px;color:var(--muted)}.story-results .achieved{color:var(--lime);border-color:#4d643a}.ending-badge{display:inline-block;margin:20px 0 0;font-size:10px;letter-spacing:1px;color:var(--orange);padding:7px 11px;border:1px solid #6d624d;border-radius:4px}.report-wrap>.lead{max-width:700px;color:var(--muted);font-size:17px}.report-wrap h1{max-width:950px}#day-title:focus{outline:0}button:disabled{opacity:.55;cursor:not-allowed}.day-transition{animation:chapter-arrive .4s ease-out}@keyframes chapter-arrive{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1100px){.os-shell{grid-template-columns:190px minmax(0,1fr)}.chapter-banner{gap:20px}.chapter-goals{padding-left:20px}}@media(max-width:700px){.welcome h1{font-size:49px;letter-spacing:-2.5px}.welcome h1 em{margin-top:5px}.lead{font-size:18px}.trip-route{gap:7px;padding:4px 18px 25px}.trip-route>span{font-size:8px}.trip-route small{font-size:8px}.chapter-banner{grid-template-columns:1fr;gap:17px;padding:20px}.chapter-goals{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.chapter-story p{font-size:13px}.os-shell{grid-template-columns:minmax(0,1fr)}.resource-grid{padding:18px;gap:12px}.resource-card{min-height:200px;padding:14px}.resource-card h3{font-size:18px}.settings-card button{font-size:10px}.record-grid{grid-template-columns:100px minmax(0,1fr)}.record-grid dt,.record-grid dd{padding:10px;font-size:12px}.sidebar-bottom #next{margin-left:auto;font-size:10px}.sidebar-bottom #progress{max-width:110px}.attention-dots{gap:4px;margin:0 7px}.attention-dots i{width:12px}.story-results{gap:8px}.story-results span{font-size:10px;padding:7px}.ledger-panel{margin:0 18px 18px}.settings-list,.notes-list{padding:8px 20px 25px}.desktop-heading h1{font-size:23px}.desktop-controls{max-width:145px}.chapter-banner .tiny{font-size:8px}}@media(prefers-reduced-motion:reduce){.day-transition{animation:none}}
/* Keep phone navigation compact instead of stretching grid rows to desktop height. */
@media(max-width:700px){
  .os-shell{min-height:0;grid-template-rows:auto auto}
  .workspace{min-height:330px}
  .sidebar-bottom{margin-top:0}
}

/* Readability update: visible controls, clearer selection, comfortable text. */
:root{
  --bg:#101620;
  --panel:#1d2837;
  --line:#53657a;
  --text:#f7faff;
  --muted:#c8d4e3;
}
body{font-size:17px;line-height:1.6}
button{min-height:44px;font-size:15px;border-color:#718398;background:#263446}
button:hover{background:#33465c;border-color:#c7f66c}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffe184;outline-offset:3px}
button:disabled{opacity:1;color:#b9c5d3;background:#313b48;border:1px dashed #8996a6}
a{ text-decoration-thickness:2px;text-underline-offset:4px }
.topbar nav{font-size:15px}
.eyebrow,.tiny{font-size:12px;letter-spacing:1px;color:#d2dceb}
.muted,.privacy-note,.fiction-note,.body-copy{color:var(--muted)}
.intro-copy,.feature-row p{font-size:16px}
.privacy-note{font-size:13px;line-height:1.7}
.practice-button{font-size:15px;padding:10px 14px;margin-top:12px;border:1px solid #718398;color:var(--text)}
.primary{background:var(--lime);color:#14200e;border:2px solid var(--lime);font-size:15px;min-height:46px}
.primary:hover{background:#dbff98;border-color:#dbff98}
.desktop-heading h1{font-size:34px;font-weight:700}
.desktop-controls button{font-size:14px}
.pill{font-size:11px;padding:8px 12px;background:#182821;color:#d8ffa3;border-color:#91b268;font-weight:700}
.chapter-banner{background:#1e2e40;border:1px solid #6d829a;padding:20px 24px;gap:28px;grid-template-columns:1.2fr 1fr}
.chapter-story p{font-size:17px;color:var(--text);line-height:1.6;margin:10px 0 18px}
.chapter-goals{border-color:#6d829a;padding-left:24px}
.story-goal{font-size:15px;line-height:1.45;padding:9px 12px;margin:8px 0;background:#2d3d51;border:1px solid #697c93;border-radius:6px;color:var(--text)}
.story-goal.achieved{background:#233c28;border-color:#98bc70;color:#e2ffc5}
.goal-symbol{width:18px;font-size:18px;font-weight:700;flex-shrink:0}
#attention-strip{flex-wrap:wrap;gap:8px}
#attention-strip strong{font-size:15px;color:#f7faff}
.attention-dots{gap:7px;margin:0 5px}
.attention-dots i{width:18px;height:10px;border:1px solid #d7ffad}
.attention-dots i.used{background:#182333;border:1px solid #93a1b3}
.os-shell{grid-template-columns:220px minmax(0,1fr);background:#1b2635;border-color:#6d829a;min-height:0}
.context{display:none}
.sidebar{background:#17212e;padding:20px 14px;border-color:#6d829a}
.profile{font-size:15px}
.profile small{font-size:12px}
.sidebar nav{gap:7px}
.sidebar .app-button{font-size:15px;min-height:48px;padding:11px 12px;background:#213044;border:1px solid #5e718a;color:#ecf3ff;gap:8px}
.sidebar .app-button.active{background:#c7f66c;color:#14200e;border:2px solid #c7f66c;font-weight:700;box-shadow:0 0 0 2px #14200e inset}
.app-button .count{font-size:12px;min-width:22px;text-align:center;padding:1px 5px;background:#405369;color:#fff}
.app-button.active .count{background:#243918;color:#e5ffc7}
.sidebar-bottom{padding-top:22px}
.sidebar-bottom small{font-size:12px;letter-spacing:.4px}
.sidebar-bottom>span{font-size:13px;color:#d7e3f1}
.sidebar-bottom strong{font-size:29px;color:#fff}
.sidebar-bottom #next{font-size:14px;min-height:48px;padding:12px;line-height:1.4;gap:8px}
.sidebar-bottom #progress{font-size:13px;line-height:1.6;color:#d7e3f1}
.app-header{background:#223347;padding:22px 26px;border-color:#6d829a}
.app-header h2{font-size:32px;font-weight:700;color:#fff;margin-top:8px}
.app-header .eyebrow{font-size:11px;color:#cbd9eb}
.app-tools{font-size:15px;color:#e6eef9;gap:16px}
.app-tools button{font-size:14px;padding:10px 14px}
#all[aria-pressed="true"]{background:var(--lime);border:2px solid var(--lime);color:#14200e;font-weight:700}
#clock{font:600 16px ui-monospace,monospace}
.task-strip{background:#142234;font-size:14px;color:#e1ecfc;padding:13px 26px;border-color:#53657a}
#app-content{padding:12px}
.message-row{margin-bottom:10px;border:1px solid #70849d;border-left:4px solid #98b8dd;border-radius:8px;padding:18px;background:#27394f;grid-template-columns:40px minmax(0,1fr) auto;gap:14px}
.message-row:hover{background:#334d68;border-color:#c7f66c}
.message-row .sender-icon{width:40px;height:40px;font-size:17px;background:#3c536d;border-color:#91a8c2;color:#fff}
.row-top{font-size:14px;color:#d7e6f9}
.row-title{font-size:18px;font-weight:700;color:#fff;margin:5px 0 7px;line-height:1.4}
.row-snippet{font-size:15px;line-height:1.55;color:#d8e4f3;white-space:normal;max-width:none;overflow:visible;overflow-wrap:anywhere}
.row-time{font-size:12px;color:#d5e1f2}
.unread-dot{width:8px;height:8px;background:#d3ff7a}
.message-row.completed{opacity:1;background:#1d2a39;border:1px solid #6b8294;border-left:4px solid #95ba9e}
.message-row.completed .row-title{color:#d7e4f1}
.message-row.completed .row-snippet{color:#d6f1db;font-weight:600}
.desktop-footer{font-size:11px;gap:16px;line-height:1.6}
.desktop-footer span{font-size:12px}
.desktop-footer button{font-size:13px;padding:8px 12px;border:1px solid #718398}
dialog{width:min(760px,94vw);background:#1e2b3d;border:2px solid #8499b3;max-height:90vh}
dialog::backdrop{background:#050b15d9;backdrop-filter:blur(3px)}
.window-top{position:sticky;top:0;z-index:1;background:#2c3e55;font-size:13px;color:#eff6ff;border-color:#8295ad;padding:10px 20px}
.window-top button{min-width:44px;min-height:44px;background:#172639;border:1px solid #9aadbf;font-size:22px}
#window-body{padding:26px}
.window-title{font-size:32px;font-weight:700;line-height:1.25}
.sender-line{font-size:15px;color:#d6e4f4;flex-wrap:wrap}
.sender-line button{font-size:14px}
#window-body p{font-size:17px;line-height:1.7}
#window-body .message-details{font-size:16px;color:#d9e6f5}
.inspector,.url-bar{background:#101c2d;border-color:#839dbb;color:#dcf1ff;font-size:15px;line-height:1.7}
.chat-bubble{background:#2c435d;border-color:#839dbb;max-width:100%;padding:18px}
.chat-bubble small{font-size:14px;color:#e0ffb6;font-weight:700}
.chat-bubble p{font-size:17px}
.chat-bubble.you{background:#254337;border-color:#9cbcaa}
.investigation-tools{border-color:#7c91aa;padding-top:18px;gap:10px}
.investigation-tools button{font-size:15px;background:#28466a;color:#eef7ff;border:1px solid #8eb8e5;min-height:48px;padding:12px 16px}
.actions{gap:12px;padding-top:20px;border-top:1px solid #7589a1}
.actions button{font-size:16px;min-height:48px;padding:12px 18px}
.sim-link{font-size:15px;background:#243a52;color:#ddf0ff;border-color:#8babc9;padding:11px 15px}
.fiction-note{font-size:13px;border-color:#9aaec5;background:#172638;color:#d4deeb;line-height:1.6}
.resolve-status{font-size:16px;color:#ddffba;font-weight:600}
.resource-grid{padding:10px;gap:15px}
.resource-card{background:#293e57;border-color:#849cb9;min-height:200px}
.resource-card h3{font-size:24px;color:#fff}
.resource-card p{font-size:15px;color:#d9e6f5}
.resource-card>span{font-size:15px;color:#e0ffb6;font-weight:700}
.record-grid{border-color:#8ca2ba}
.record-grid dt,.record-grid dd{font-size:16px;padding:13px;border-color:#718398}
.record-grid dt{background:#162638;color:#d6e4f4}
.record-grid dd{background:#2c425b;color:#fff}
.document-record p{font-size:16px}
.ledger-panel{font-size:15px;border-color:#8297af}
.ledger-row strong{font-size:16px}
.bank-card{background:#244239;border-color:#94b7a4}
.bank-card small{color:#e0f0e7;font-size:14px}
.settings-card strong{font-size:18px}
.settings-card small{font-size:15px;color:#d8e4f3}
.settings-card button{font-size:15px;min-height:48px}
.note-entry small{font-size:12px;color:#d2dceb}
.note-entry p{font-size:16px}
.notice{font-size:14px;color:#ffe1b8;border-color:#dda76b}
.metric small{font-size:14px;color:#d5e2f0}
.incident p{font-size:16px}
.incident summary{font-size:16px;cursor:pointer;line-height:1.6}
.chart-row .chart-label{font-size:15px}
.story-results span{font-size:14px;color:#d4e1ee}
.empty{font-size:16px}
@media(max-width:1100px){
  .os-shell{grid-template-columns:200px minmax(0,1fr)}
  .chapter-banner{gap:20px}
}
@media(max-width:700px){
  .topbar{gap:12px}
  .topbar nav{font-size:13px;gap:12px}
  .desktop-heading{flex-direction:column;gap:16px;padding:24px 0 20px}
  .desktop-heading h1{font-size:28px;line-height:1.25}
  .desktop-controls{max-width:none;justify-content:flex-start;gap:8px}
  .desktop-controls button{font-size:13px;padding:9px 12px}
  .chapter-banner{grid-template-columns:1fr;padding:17px;gap:14px}
  .chapter-story p{font-size:16px;line-height:1.6}
  .chapter-banner .tiny{font-size:11px}
  .chapter-goals{padding:14px 0 0;border-color:#8096ae}
  .story-goal{font-size:14px;padding:9px 10px}
  #attention-strip{gap:6px}
  #attention-strip .tiny{flex-basis:100%}
  .attention-dots{gap:7px;margin:0 5px 0 0}
  .attention-dots i{width:20px}
  .os-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
  .sidebar{padding:12px}
  .sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:7px}
  .sidebar .app-button{padding:8px 4px;font-size:12px;min-height:62px;justify-content:center;text-align:center;flex-wrap:wrap;gap:3px;line-height:1.35}
  .app-button .count{margin-left:0;font-size:11px;min-width:19px}
  .sidebar-bottom{display:grid;grid-template-columns:1fr;padding:14px 2px 0;gap:6px}
  .sidebar-bottom strong{font-size:27px}
  .sidebar-bottom>span{display:block;font-size:13px}
  .sidebar-bottom #next{width:100%;margin:8px 0 0;font-size:15px}
  .sidebar-bottom #progress{max-width:none;font-size:13px}
  .app-header{padding:18px 14px;flex-wrap:wrap;gap:14px}
  .app-header h2{font-size:28px}
  .app-tools{gap:15px}
  .task-strip{padding:13px 15px;font-size:13px}
  #app-content{padding:9px}
  .message-row{padding:14px 12px;grid-template-columns:32px minmax(0,1fr);gap:10px}
  .message-row .sender-icon{width:32px;height:32px;font-size:15px}
  .row-top{font-size:13px}
  .row-title{font-size:17px}
  .row-snippet{font-size:14px;max-width:none}
  .row-time{grid-column:2;font-size:12px;padding-top:0}
  #window-body{padding:20px 17px}
  .window-title{font-size:27px}
  .sender-line{align-items:flex-start;gap:12px}
  .sender-line button{width:100%;text-align:left}
  .actions,.investigation-tools{display:grid;grid-template-columns:1fr;gap:10px}
  .actions button,.investigation-tools button{width:100%;text-align:left;justify-content:flex-start;font-size:15px}
  .record-grid{grid-template-columns:95px minmax(0,1fr)}
  .record-grid dt,.record-grid dd{font-size:14px;padding:11px}
  .resource-grid{grid-template-columns:1fr;padding:6px;gap:12px}
  .resource-card{min-height:0;padding:18px}
  .resource-card h3{font-size:23px}
  .settings-card button{white-space:normal;width:100%;text-align:left}
  .settings-list,.notes-list{padding:8px 10px 20px}
  .ledger-panel{margin:10px 4px;font-size:14px}
  .ledger-row{flex-wrap:wrap}
  .bank-card{margin:10px 4px;padding:18px}
  .desktop-footer{font-size:11px;gap:12px}
  .desktop-footer span{font-size:12px}
  .story-results span{font-size:13px}
  .report-actions{flex-wrap:wrap}
}

/* Keep ending the day distinct from responding to a message. */
.sidebar-bottom #next{background:#354a61;color:#f7faff;border:2px solid #9db5ce}
.sidebar-bottom #next:hover{background:#46637f;border-color:#d6e7fa}
#toast{font-size:16px;line-height:1.55;border:2px solid #15210d}

.welcome-instructions{background:#213249;border:1px solid #879ab2;border-radius:8px;padding:19px;margin:22px 0;color:#f7faff;max-width:540px}
.welcome-instructions strong{font-size:18px}
.welcome-instructions p{font-size:15px;color:#dae7f8;line-height:1.65;margin:10px 0 14px}
.welcome-instructions button{color:#e5ffc6;border-color:#a6c77c;font-size:15px}
.guide-progress{font-size:12px!important;letter-spacing:1px;color:#d8ffa8;margin:0 0 18px}
.guide-content{display:grid;gap:16px}
#window-body .guide-lead{font-size:18px;line-height:1.65;margin:0}
.guide-card{display:flex;gap:14px;background:#2c4059;border:1px solid #8da0b9;border-radius:8px;padding:17px}
.guide-number{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#c7f66c;color:#14200e;font-size:15px;font-weight:700}
.guide-card h3{font-size:18px;margin:0 0 6px;line-height:1.4}
#window-body .guide-card p{font-size:16px;line-height:1.65;color:#e0ebf8;margin:0}
.guide-demo{background:#15273c;border:1px solid #9bb5d2;padding:18px;border-radius:8px}
.guide-demo h3{font-size:20px;margin:14px 0}
#window-body .guide-demo-balance{font-size:20px;font-weight:700;color:#dfffad;margin:10px 0}
.guide-demo-controls{display:flex;flex-wrap:wrap;gap:10px}
.guide-demo-controls button{font-size:14px;padding:11px 13px}
#window-body .guide-demo-feedback{font-size:15px;min-height:48px;margin:16px 0 0;color:#e3edfa}
#window-body .guide-note{font-size:14px;color:#cbd9eb;line-height:1.65;margin:0}
.guide-first-move{background:#284431;border:1px solid #a6c78b;padding:16px;border-radius:8px;color:#e6ffce;margin:0}
.guide-navigation{position:sticky;bottom:-26px;background:#1e2b3d;display:flex;justify-content:space-between;gap:12px;padding:17px 0;margin-top:18px;border-top:1px solid #7f94ad}
.guide-navigation .primary{margin-left:auto;font-size:16px;padding:12px 20px}
@media(max-width:700px){
  .welcome-instructions{padding:16px}
  .guide-card{gap:10px;padding:14px}
  .guide-card h3{font-size:17px}
  #window-body .guide-card p{font-size:15px}
  #window-body .guide-lead{font-size:17px}
  .guide-demo{padding:14px}
  .guide-demo-controls{display:grid;grid-template-columns:1fr}
  .guide-demo-controls button{text-align:left;font-size:14px}
  .guide-navigation{bottom:-20px;flex-wrap:wrap;padding:14px 0}
  .guide-navigation .primary{font-size:15px;padding:12px 15px}
}



.assessment-wrap{max-width:920px;margin:0 auto;padding:38px 0 60px}
.assessment-wrap h1{font:700 clamp(32px,4.5vw,54px)/1.15 var(--display);margin:20px 0}
.assessment-wrap h2{font-size:25px;margin:16px 0}
.assessment-privacy,.learning-caution{color:#cbd9ec;font-size:14px;line-height:1.7;margin:16px 0}
.assessment-progress{font-size:13px;color:#e1ffb7;font-weight:700;letter-spacing:1px;margin:25px 0 10px}
.assessment-scenario{background:#253c56;border:1px solid #8da8c7;border-radius:8px;padding:22px;font-size:19px;line-height:1.7}
.assessment-options,.assessment-confidence{border:1px solid #879bb5;border-radius:8px;padding:18px;margin:23px 0;min-width:0}
.assessment-options legend,.assessment-confidence legend{font-size:18px;font-weight:700;padding:0 8px}
.assessment-option{display:flex;align-items:flex-start;gap:13px;background:#27394f;border:1px solid #859ab4;border-radius:6px;padding:15px;margin:10px 0;cursor:pointer;font-size:17px;line-height:1.55}
.assessment-option:hover{background:#314b69;border-color:#c7f66c}
.assessment-option:has(input:checked){background:#304b2e;border:2px solid #c7f66c;color:#edffdc;padding:14px}
.assessment-option:focus-within{outline:3px solid #ffe184;outline-offset:3px}
.assessment-option input{accent-color:#c7f66c;width:22px;height:22px;margin:3px 0 0;flex-shrink:0}
.assessment-confidence{display:flex;gap:12px;flex-wrap:wrap}
.assessment-confidence .assessment-option{flex:1;margin:5px 0;min-width:140px}
.assessment-actions{display:flex;flex-wrap:wrap;gap:13px;margin:24px 0}
.assessment-actions button{font-size:16px;min-height:48px;padding:12px 18px}
.assessment-error{padding:20px;border:1px solid #e5ae79;border-radius:8px;margin:20px 0;background:#3d2d27;color:#ffe8d5}
.assessment-error button{margin:8px}
.learning-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0}
.learning-summary-grid .metric strong{font-size:26px;line-height:1.35;overflow-wrap:anywhere}
.learning-report{margin:35px 0;padding:24px;border:1px solid #8ba0b9;border-radius:8px;background:#1e2e40}
.impact-panel{margin:28px 0;padding:25px;border:1px solid #8ba0b9;background:#192a3e;border-radius:10px}
.impact-panel h2{margin-top:0}
.impact-panel h3{margin-top:28px;font-size:21px}
.impact-paused,.impact-feedback{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.impact-paused p,.impact-feedback p{margin:0;padding:13px;background:#2c4059;border:1px solid #788da8;border-radius:6px;font-size:15px}
@media(max-width:700px){
  .assessment-wrap{padding:28px 0 40px}
  .assessment-wrap h1{font-size:33px}
  .assessment-wrap h2{font-size:23px}
  .assessment-scenario{padding:17px;font-size:17px}
  .assessment-options,.assessment-confidence{padding:12px}
  .assessment-options legend,.assessment-confidence legend{font-size:17px}
  .assessment-option{font-size:16px;padding:13px;gap:10px}
  .assessment-option:has(input:checked){padding:12px}
  .assessment-confidence{display:block}
  .assessment-actions{display:grid;grid-template-columns:1fr}
  .assessment-actions button{text-align:left;justify-content:flex-start;font-size:15px}
  .learning-summary-grid{grid-template-columns:1fr}
  .impact-panel{padding:17px}
  .impact-paused,.impact-feedback{grid-template-columns:1fr}
  .learning-report{padding:16px}
}

/* Short scenes: decisions, evidence and reactions stay in one place. */
.play-story {padding:20px;display:grid;gap:18px;}
.lake-scene {position:relative;min-height:180px;overflow:hidden;border-radius:16px;background:linear-gradient(155deg,#284d78,#1f5878 48%,#153449);border:1px solid #537591;isolation:isolate;}
.lake-sun {position:absolute;right:60px;top:25px;width:75px;height:75px;border-radius:50%;background:#f6bb78;box-shadow:0 0 70px #f6bb7850;}
.lake-mountain {position:absolute;right:0;bottom:35px;width:80%;height:110px;background:#254c58;clip-path:polygon(0 100%,25% 30%,40% 62%,60% 0,100% 100%);}
.lake-water {position:absolute;bottom:0;left:0;right:0;height:52px;background:linear-gradient(#397c8f,#173849);border-top:2px solid #9ebfc14d;}
.lake-cabin {position:absolute;right:115px;bottom:15px;font-size:95px;line-height:1;color:#efd8ad;text-shadow:0 5px 10px #0017;}
.lake-caption {position:relative;padding:24px;max-width:70%;display:grid;gap:8px;text-shadow:0 2px 8px #001a;}
.lake-caption small {color:#f2ca93;letter-spacing:.1em;font-weight:800;}
.lake-caption strong {font-size:25px;line-height:1.2;}
.lake-caption span {font-size:14px;color:#e1edf5;}
.scene-queue {display:flex;gap:7px;flex-wrap:wrap;}
.scene-queue button {border:1px solid #4a5b73;border-radius:9px;font-size:14px;padding:10px 12px;background:#202c3f;text-align:left;flex:1 1 42%;color:#dce7f5;}
.scene-queue button.selected {border-color:#caed88;background:#324d43;color:#f6ffe6;box-shadow:inset 0 0 0 1px #caed88;}
.choice-scene,.breather-card {padding:24px;border:1px solid #53627a;border-radius:14px;background:#1e2a3e;}
.choice-scene h3,.breather-card h3 {font-size:25px;line-height:1.25;margin:10px 0 16px;}
.scene-dialogue {font-size:19px;line-height:1.65;color:#eff4fc;margin:0 0 18px;}
.scene-facts {font-size:14px;color:#c9d9ef;border-top:1px solid #526076;padding:12px 0;overflow-wrap:anywhere;}
.scene-facts summary {cursor:pointer;color:#d8e3f3;font-weight:700;}
.scene-checks {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 18px;}
.scene-checks small {flex-basis:100%;font-size:14px;}
.scene-checks button {font-size:15px;border-color:#7b9bcc;background:#273b56;padding:11px 15px;}
.scene-clue {margin:16px 0;padding:18px;border-left:4px solid #88bddb;border-radius:0 10px 10px 0;background:#173348;font-size:16px;line-height:1.6;}
.scene-clue>strong {display:block;font-size:18px;margin:5px 0;}
.scene-clue p {margin:7px 0;}
.scene-choices {display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.scene-choices button {font-size:16px;padding:14px 17px;flex:1 1 190px;text-align:left;line-height:1.4;}
.scene-reaction {border-left:4px solid #bddf88;background:#2b413a;border-radius:0 8px 8px 0;padding:16px;color:#efffdf;font-size:18px;line-height:1.55;animation:scene-arrive .25s ease-out;}
.scene-note {font-size:14px;color:#b7c7dd;margin:16px 0 0;}
.breather-card {background:linear-gradient(125deg,#2d3544,#273e43);border-color:#698a89;}
.breather-card>p {font-size:17px;line-height:1.55;}
.breather-card .breather-benefit {font-size:14px;color:#d2e7ba;}
.breather-choices {display:flex;flex-wrap:wrap;gap:10px;}
.breather-choices button {flex:1 1 180px;padding:13px;font-size:16px;text-align:left;background:#354f50;border-color:#88a7a1;}
.weekend-memory {padding:20px;border-radius:12px;background:#253b43;border:1px solid #71918d;margin:20px 0;}
@keyframes scene-arrive {from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.play-story{padding:12px;gap:12px}.lake-caption{padding:18px;max-width:72%}.lake-caption strong{font-size:21px}.lake-caption span{font-size:13px}.lake-cabin{right:25px;bottom:20px;font-size:70px}.lake-sun{right:20px;width:48px;height:48px}.choice-scene,.breather-card{padding:17px}.choice-scene h3,.breather-card h3{font-size:23px}.scene-dialogue{font-size:18px}.scene-choices button{flex-basis:100%}.scene-queue button{flex-basis:42%;font-size:13px}.scene-clue{padding:13px;font-size:15px}.breather-choices button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.scene-reaction{animation:none}}

.day-setup summary {cursor:pointer;color:#d6e4f5;font-size:15px;margin:10px 0;}
.story-mode .chapter-banner {padding:15px 20px;grid-template-columns:minmax(220px,.8fr) minmax(0,1.8fr);gap:20px;}
.story-mode .chapter-goals {padding-left:20px;}
.story-mode #objective-list {display:flex;gap:8px;margin-top:9px;}
.story-mode .story-goal {flex:1;gap:8px;font-size:14px;line-height:1.4;padding:8px;align-items:flex-start;}
.story-mode #attention-strip {margin:8px 0 0;}
.story-mode .app-header {padding:16px 22px;}
.story-mode .app-header h2 {font-size:25px;margin:6px 0 0;}
.story-mode #task-strip {display:none;}
.story-mode #apps:not(.apps-expanded)>.app-button:not(.story-nav) {display:none;}
.app-toggle {font-size:14px;padding:10px;background:#243246;border-color:#60718b;}
#desktop:not(.story-mode) .app-toggle {display:none;}
.play-story {grid-template-columns:minmax(0,1fr) minmax(210px,.42fr);align-items:start;}
.scene-queue {grid-column:1;grid-row:1;}
.choice-scene {grid-column:1;grid-row:2;}
.lake-scene {grid-column:2;grid-row:1;min-height:185px;}
.breather-card {grid-column:2;grid-row:2;}
.lake-caption {padding:18px;max-width:100%;}
.lake-caption strong {font-size:21px;}
.lake-caption span {max-width:85%;}
.lake-cabin {right:16px;font-size:60px;}
.lake-sun {right:12px;top:70px;width:50px;height:50px;}
.scene-choices {position:sticky;bottom:12px;background:#1e2a3ef5;padding:10px 0;border-radius:10px;z-index:2;}
@media(max-width:1100px){.play-story{grid-template-columns:1fr}.lake-scene{grid-column:1;grid-row:4;min-height:110px}.scene-queue{grid-row:1}.choice-scene{grid-row:2}.breather-card{grid-column:1;grid-row:3}.lake-caption{max-width:75%;padding:16px}.lake-sun{top:10px}.story-mode .chapter-banner{grid-template-columns:1fr}.story-mode .chapter-goals{padding-left:0;border-left:0}.story-mode .chapter-story>.tiny{display:none}.story-mode .chapter-banner{gap:10px}.story-mode #apps:not(.apps-expanded){display:flex;flex-wrap:wrap}.story-mode #apps:not(.apps-expanded)>.story-nav{flex:2}.story-mode #apps:not(.apps-expanded)>.app-toggle{flex:1}}
@media(max-width:650px){.story-mode .chapter-banner{padding:13px}.story-mode .story-goal{font-size:13px;flex-basis:100%;padding:7px}.story-mode #objective-list{flex-direction:column;gap:5px}.story-mode .chapter-goals>.tiny{display:none}.story-mode .app-header{padding:12px}.story-mode .app-header>.app-tools{font-size:12px}.scene-choices{bottom:0}.story-mode .day-setup{display:none}.story-mode .chapter-banner{gap:5px}.story-mode .profile{display:none}.story-mode .sidebar{padding:10px}.story-mode .sidebar-bottom{margin-top:10px}.lake-scene{min-height:120px}}

.story-mode .story-goal {margin:0;}
.scene-sidebar {grid-column:2;grid-row:1 / span 2;display:grid;gap:18px;align-content:start;}
.scene-sidebar .lake-scene,.scene-sidebar .breather-card {grid-column:auto;grid-row:auto;}
.scene-clue {font-size:15px;line-height:1.45;}
.scene-clue p {margin:5px 0;}
@media(max-width:1100px){.scene-sidebar{grid-column:1;grid-row:3;display:flex;flex-direction:column;gap:12px}.scene-sidebar .lake-scene{order:1}.scene-sidebar .breather-card{order:0}}
@media(max-width:650px){.story-mode .sidebar{display:contents}.story-mode #apps{grid-row:1;padding:10px}.story-mode .workspace{grid-row:2}.story-mode .sidebar-bottom{grid-row:3;padding:14px;margin:0;border-top:1px solid #596b83}.story-mode .chapter-banner{margin-bottom:12px}.story-mode .desktop-heading{margin-bottom:15px}.story-mode .chapter-goals{padding-top:8px}}

.scene-lesson{margin:1rem 0;padding:1rem;border-left:4px solid var(--accent,#dbfa79);background:#202b27;color:#eef5ed;border-radius:0 8px 8px 0}.scene-lesson p{margin:.5rem 0;line-height:1.6}.scene-lesson small{display:block;color:#c3cec6;line-height:1.5}

.player-area{max-width:1440px;margin:1rem auto;padding:1rem 1.25rem;width:calc(100% - 8rem);border:1px solid #63716f;border-radius:10px;background:#1c2733;color:#f4f6ef}.player-area summary{font-weight:700;cursor:pointer;color:#d8fb7c}.player-content{max-width:760px;padding-top:1rem}.player-content p{line-height:1.6}.player-content button{margin:.5rem .5rem .5rem 0}.player-content label{display:block;margin-top:.8rem;font-weight:700}.player-content input:not([type=checkbox]){display:block;background:#0f1821;color:#fff;border:1px solid #a0b2af;border-radius:6px;padding:.8rem;width:100%;max-width:420px;font-size:1rem}.claim-choice{display:flex!important;gap:.6rem;align-items:flex-start}.claim-choice input{margin-top:.3rem}.return-card{display:grid;gap:.6rem;padding:1.25rem;border:1px solid #d8fb7c;background:#102421;border-radius:8px;overflow-wrap:anywhere}.return-card code{font-size:1.1rem;color:#e9ffc3}.account-error{color:#ffcfbf;border-left:3px solid #ffa885;padding:.75rem}.saved-week-list{display:grid;gap:.4rem}.saved-week-list button{text-align:left}.player-content input:focus-visible{outline:3px solid #d8fb7c;outline-offset:3px}@media(max-width:700px){.player-area{width:calc(100% - 2rem);padding:1rem}.player-content button{max-width:100%;white-space:normal}.return-card code{font-size:1rem}}

/* Choice styling never depends on the scene answer. Keep normal keyboard focus. */
.browser-card button.decision-choice{background:#263446;color:var(--text);border:1px solid #718398;font-weight:400}
.browser-card button.decision-choice:hover{background:#33465c;border-color:#c7f66c}

.run-reference{padding:18px;border:1px solid var(--line,#b5bdb5);margin:18px 0;border-radius:12px}.reference-value{font-family:monospace;overflow-wrap:anywhere;user-select:all;font-size:14px}

.assessment-hint{padding:12px 16px;border-left:4px solid #98cfb3;background:#183328;color:#f4fff9;font-weight:600}.assessment-pending{padding:12px;color:#f4fff9}.assessment-error{padding:16px;border:1px solid #e7b780;border-radius:8px}
#owner-reports label,#owner-login label{display:block;margin:20px 0 8px}#owner-reference,#owner-key{display:block;width:min(100%,640px);box-sizing:border-box;padding:12px;margin-bottom:10px;background:#1e2938;color:#fff;border:1px solid #8396ad;border-radius:6px}.owner-report-row{display:block;width:100%;text-align:left;line-height:1.6;overflow-wrap:anywhere;margin:10px 0;padding:16px}#owner-detail .reference-value{overflow-wrap:anywhere;font-size:14px}

.research-scroll{overflow-x:auto;margin:18px 0}.research-table{width:100%;border-collapse:collapse;font-size:.95rem}.research-table th,.research-table td{padding:12px;text-align:left;border-bottom:1px solid #4a6059;vertical-align:top}.research-table th{color:#e8fff4}.research-table td{min-width:90px}.research-table td:first-child{min-width:155px}#research-content h3{margin-top:32px}#owner-filter{display:block;margin:10px 0 24px;padding:12px;background:#15281f;color:#f4fff7;border:1px solid #78988b;border-radius:8px}.research-mark{margin:18px 0;padding:16px;border:1px solid #78988b;border-radius:12px}
.stats-two>*{min-width:0}.research-scroll{max-width:100%;width:100%}

/* One linear messages flow with the next step directly underneath. */
.story-mode .os-shell{display:flex;flex-direction:column}
.story-mode .workspace{width:100%;min-width:0}
.message-progress{padding:18px;background:#172439;border-top:2px solid #647b98}
.message-progress .sidebar-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0;padding:0}
.message-progress #balance{font-size:24px}
.message-progress #balance-note{font-size:13px}
.message-progress #next{margin-left:auto;max-width:100%;white-space:normal}
.message-progress #progress{flex-basis:100%;font-size:14px}
@media(max-width:650px){.message-progress #next{width:100%;margin:4px 0}.message-progress{padding:14px}}

.save-retry{width:min(92vw,520px);max-height:90vh;overflow:auto;padding:24px;border:2px solid #8eabc9;border-radius:14px;background:#172439;color:#f5f8ff}.save-retry::backdrop{background:#000b}.save-retry button{width:100%;white-space:normal}.save-retry p{overflow-wrap:anywhere}
