/* A presentation-sized dashboard: fit content, never crop or zoom the page. */
@media screen and (min-width:700px) and (min-height:680px){
 :root{font-size:14px}.app-header{height:76px;max-width:none}.header-backdrop{top:10px;left:20px;height:56px;width:550px;max-width:72%;padding:9px 15px}.header-backdrop h1{font-size:21px;margin-bottom:4px}.header-backdrop p{font-size:11px}.header-controls{top:15px;right:20px;gap:10px}.settings-button,.avatar{height:42px}.settings-button{width:42px}.avatar{width:46px}.header-controls>.pill{font-size:10px;padding:7px 11px}
 .student-status{height:76px;position:relative;padding:9px 20px;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:22px;max-width:none}.status-story .micro{font-size:7px}.status-story>strong{font-size:11px;line-height:1.4;margin:3px 0}.feeling{font-size:9px}.status-metric>span{font-size:9px;margin-bottom:2px}.status-metric>strong{font-size:19px}.status-track{height:5px;margin-top:4px}.status-metric small{font-size:7px;margin-top:3px}.story-steps{display:flex;gap:10px}.story-steps>span{font-size:8px;gap:4px}.story-steps b{width:22px;height:22px;font-size:8px}
 .fiction-note{height:24px;padding:4px 15px;font-size:8px;line-height:16px}.fiction-note .text-link{font-size:8px}
 .dashboard{height:calc(100dvh - 176px);max-width:1512px;padding:10px 20px;gap:10px;grid-template-columns:1fr 1fr 1.12fr;grid-template-rows:24px minmax(170px,1fr) minmax(190px,1fr) 68px}.scenario-context{padding:0;gap:12px;flex-wrap:nowrap}.scenario-context .micro{font-size:8px}.scenario-context p{font-size:11px}.scenario-context .btn{font-size:10px;min-height:27px;padding:4px 12px}
 .schedule{grid-column:span 2}.deadlines{grid-column:auto}.schedule,.deadlines{height:auto;min-height:0;padding:9px 13px}.section-head{gap:10px;min-height:0;margin-bottom:7px}.section-head h2{font-size:16px}.section-head>.pill{font-size:9px;padding:5px 9px}.section-icon{width:46.2px;height:46.2px}.calendar{gap:4px 7px;grid-template-columns:40px repeat(5,minmax(0,1fr))}.day{gap:2px;padding-bottom:3px}.day strong{font-size:10px}.day span{font-size:9px}.course{height:25px;font-size:8px;padding:3px 6px;line-height:1.2}.time{font-size:9px}.calendar-note{font-size:8px;margin:5px 0 0 40px;line-height:1.5}.deadline-list{display:flex;gap:10px;padding:3px 0}.deadline{min-height:32px;grid-template-columns:39px 1fr auto;gap:10px}.date{height:32px;font-size:9px;border-radius:9px}.deadline strong{font-size:11px}.deadline .pill{font-size:9px;padding:5px 8px}
 .results,.focus,.advice{grid-column:auto;min-height:0;height:auto;padding:9px 13px}.results-list{margin-top:7px;gap:11px}.results-list>button{grid-template-columns:112px 1fr 31px;font-size:11px;gap:8px}.results-list strong{font-size:10px}.bar{height:6px}.result-caption{font-size:8px;margin-top:9px}.focus-list{gap:6px;padding:0}.focus-list>div{gap:8px}.number.pale{width:27px;height:27px;font-size:10px}.focus-item{padding:7px 12px;border-radius:9px}.focus-item strong{font-size:11px}.focus-item small{font-size:9px;margin-top:2px}.advice .section-head{gap:10px;margin-bottom:6px}.advice .section-head h2{font-size:16px}.advice .section-head .pill{font-size:9px;padding:5px 8px}.advice-details>span{font-size:10px}.advice ol{gap:9px;margin:11px 0}.advice li{gap:9px;min-height:0}.advice .number{width:25px;height:25px;font-size:10px}.advice li strong{font-size:11px;line-height:1.4}.advice .btn{font-size:11px;min-height:30px;padding:4px 10px;margin-top:3px}.off-note{font-size:12px;padding:8px 0}
 .today-actions{min-height:0;padding:8px 13px;display:grid;grid-template-columns:1fr 1.6fr;align-items:center;column-gap:20px}.today-actions .section-head{margin:0;grid-row:1/3}.today-actions .section-head h2{font-size:15px}.today-actions>p{display:none}.action-items{margin:0;gap:10px;flex-direction:row}.today-actions .action-items{grid-column:2;grid-row:1/3}.action-items .btn{font-size:11px;min-height:36px;padding:6px 12px;flex-direction:row;align-items:center}.btn{font-size:12px;min-height:38px;padding:8px 16px}
 .login-wrap{min-height:calc(100dvh - 100px);align-items:center}.login{margin:0;width:540px;min-height:0;padding:25px 50px;align-self:center}.login h2{font-size:27px}.product-name{font-size:11px;margin-top:5px}.login h3{font-size:29px;margin:22px 0 13px}.login-intro{font-size:13px;line-height:1.7;margin-bottom:17px}.simulation-profile{padding:12px 17px;margin-bottom:13px}.simulation-profile>span,.simulation-profile small{font-size:10px}.simulation-profile strong{font-size:14px;margin:4px 0}.login .primary{min-height:43px;font-size:13px;margin-top:0}.login .forgot{font-size:11px;margin:12px auto}.login-ai{padding:12px;gap:13px;margin-top:12px}.login-ai>span{height:36px;width:36px;font-size:18px}.login-ai strong{font-size:12px}.login-ai p{font-size:10px;margin-top:4px}.start-fiction{font-size:9px;margin-top:14px}
 .page{padding:16px 24px;max-width:1512px}.explanation{grid-template-columns:1fr 1.7fr;gap:12px 24px;min-height:0}.explanation h2{font-size:21px;margin-bottom:10px}.current-advice{font-size:15px;line-height:1.5}.explain-card{padding:19px;min-height:0;margin-top:12px}.explain-card h3{font-size:17px;margin-bottom:11px}.explain-card p{font-size:12px;line-height:1.65;margin-bottom:14px}.explain-card .pill{font-size:10px;margin-bottom:15px;padding:7px 11px}.explain-card .btn{font-size:11px;margin-top:0}.explanation-choice{margin-top:12px}.explanation-choice .btn{font-size:11px}.source-row{min-height:65px;padding:12px 17px;margin-bottom:10px}.source-row h3{font-size:12px;margin-bottom:4px}.source-row p{font-size:11px;line-height:1.5}.source-row .pill{font-size:9px;min-width:0;padding:6px 10px}.source-warning{min-height:0;padding:15px 18px;margin-top:14px}.source-warning h3{font-size:14px;margin:0 0 8px 22px}.source-warning p{font-size:11px;line-height:1.6}.warning-icon{top:13px;left:12px}.interpretation-note{padding:13px 17px;margin-top:12px}.interpretation-note strong{font-size:11px}.interpretation-note p{font-size:12px;margin-top:4px}.back-dashboard{align-self:start}
 .feedback-panel{padding:23px}.feedback-panel h2{font-size:24px;margin-bottom:10px}.feedback-panel>p{font-size:12px}.feedback-panel fieldset{margin:22px 0}.feedback-panel legend,.note-label{font-size:13px;margin-bottom:14px}.feedback-options{gap:14px}.feedback-options label{min-height:100px;padding:14px;gap:10px}.feedback-options strong{font-size:12px;margin-bottom:7px}.feedback-options small{font-size:10px}.feedback-options input{width:17px;height:17px}.textarea-wrap textarea{min-height:100px;padding:14px 16px 25px;font-size:12px}.textarea-wrap>span{font-size:9px}.form-privacy{font-size:9px;margin-top:7px}.feedback-panel .button-row{margin-top:12px}.form-error{font-size:11px}
 .confirmation-page{padding-top:20px}.confirmation{width:650px;padding:25px 50px;min-height:0}.confirm-icon{width:90px;height:90px;margin-bottom:20px}.confirm-icon>span{font-size:40px}.confirmation h2{font-size:27px;margin:0}.confirmation>p{font-size:14px;margin:15px auto 22px}.next-info{padding:19px;margin-bottom:20px}.next-info h3{font-size:14px;margin-bottom:8px}.next-info p{font-size:12px;line-height:1.6}.confirmation .primary{font-size:12px}.confirmation .button-row{gap:15px}
 .updated-panel{padding:23px;min-height:0}.updated-panel>h2{font-size:25px;margin-bottom:10px}.updated-panel>p{font-size:12px}.updated-panel>.pill{font-size:10px}.updated-list{gap:12px;margin:22px 0}.updated-list>div{min-height:65px;padding:13px 18px;gap:18px}.updated-list h3{font-size:14px;margin-bottom:5px}.updated-list p{font-size:11px;line-height:1.5}.updated-list .number{height:30px;width:30px;font-size:11px}.updated-list .pill{font-size:10px;min-width:120px}.change-info{padding:13px 17px;margin:0 0 17px}.change-info h3{font-size:12px}.change-info p{font-size:11px}
 .time-jump{font-size:9px;margin:0 0 12px}.outcome-card{padding:22px}.outcome-intro{gap:22px}.result-symbol{width:66px;height:66px;font-size:34px}.outcome-intro h2{font-size:25px;margin:7px 0 11px}.outcome-intro p{font-size:13px;line-height:1.7}.outcome-intro .micro{font-size:8px}.consequence-chain{gap:13px;margin:20px 0}.consequence-chain>div{padding:15px}.consequence-chain small{font-size:8px;margin-bottom:8px}.consequence-chain strong{font-size:12px;line-height:1.6}.student-voice{padding:17px 20px;margin:17px 0}.student-voice>span{font-size:8px}.student-voice h3{font-size:19px;margin:8px 0}.student-voice p{font-size:12px;line-height:1.65}.fine{font-size:9px;line-height:1.6;margin:12px 0 0}
 .reflection-page{display:grid;gap:10px}.reflection-hero{padding:14px 20px;margin:0}.reflection-hero h2{font-size:25px;margin:7px 0}.reflection-hero p{font-size:12px;line-height:1.6}.impact-grid{grid-template-columns:repeat(3,1fr);gap:10px}.impact-grid .panel{padding:15px 18px}.impact-grid h3{font-size:16px;margin-bottom:9px}.impact-grid p{font-size:11px;line-height:1.7}.moral-card{padding:14px 19px;margin:0}.moral-card h3{font-size:16px;line-height:1.5}.moral-card>p{font-size:11px;margin-top:6px}.moral-card details{padding-top:9px;margin-top:10px}.moral-card summary{font-size:11px}.final-choices{grid-template-columns:repeat(3,1fr);padding:14px 19px;margin:0;gap:22px}.final-choices .micro{font-size:8px}.final-choices p{font-size:11px;line-height:1.6;margin-top:6px}.route-details{padding:11px 18px;margin:0}.route-details summary{font-size:11px}.reflection-page>.button-row{margin-top:0}.reflection-hero .micro{font-size:8px}.ethics-grid p{font-size:12px}.ethics-grid strong{font-size:13px}
 dialog{padding:23px 28px}.modal-top{margin-bottom:17px}dialog h2{font-size:24px;margin:12px 0}dialog>p{font-size:13px;margin:13px 0}.notice-modal .ai-disc{width:65px;height:65px;font-size:23px;margin-bottom:15px}.notice-modal .notice-row{min-height:63px;padding:11px 15px;margin-bottom:10px}.notice-modal>p{margin-bottom:18px}.notice-modal .notice-row strong{font-size:13px}.notice-modal .notice-row small{font-size:11px}.interpret-options,.repair-options{gap:11px;margin:18px 0}.interpret-option{padding:15px 19px}.interpret-option strong{font-size:14px}.interpret-option small{font-size:11px}.help-list{font-size:13px;line-height:1.7;margin:18px 0}
}
@media screen and (min-width:700px) and (max-width:1000px) and (min-height:680px){
 .student-status{grid-template-columns:1.1fr 1fr 1fr;gap:17px}.story-steps{display:none}.header-backdrop{max-width:68%;width:450px}.header-backdrop h1{font-size:19px}.header-controls{gap:6px}.header-controls>.pill{font-size:9px}.dashboard{padding:10px 14px;grid-template-columns:1fr 1fr 1.12fr;gap:10px}.section-head h2,.advice .section-head h2{font-size:13px}.schedule,.deadlines,.results,.focus,.advice{padding:8px 10px}.schedule .section-head .pill{font-size:8px}.section-head{gap:7px}.deadline{grid-template-columns:33px 1fr;gap:8px}.deadline .pill{display:none}.deadline strong{font-size:10px}.date{height:32px;font-size:8px}.deadline-list{gap:15px}.results-list>button{grid-template-columns:93px 1fr 27px;gap:5px;font-size:10px}.results-list{gap:12px}.focus-list>div{gap:6px}.focus-item{padding:7px 8px}.focus-item strong{font-size:10px}.focus-item small{font-size:8px}.number.pale{width:22px;height:22px;font-size:9px}.advice .section-head .pill{display:none}.advice li strong{font-size:10px}.advice li{gap:7px}.advice .number{width:22px;height:22px;font-size:9px}.advice ol{gap:10px;margin:10px 0}.advice-details>span{font-size:9px}.advice .btn{font-size:10px}.today-actions{grid-template-columns:1fr 1.9fr;column-gap:10px}.today-actions .section-head h2{font-size:12px}.today-actions .section-icon{display:none}.action-items{gap:7px}.action-items .btn{font-size:10px;padding:5px 8px}.calendar{gap:5px;grid-template-columns:30px repeat(5,minmax(0,1fr))}.course{font-size:7px;height:27px;padding:3px}.day strong{font-size:8px}.day span{font-size:8px}.time{font-size:8px}.calendar-note{margin-left:0;font-size:8px}.feedback-options{grid-template-columns:repeat(4,1fr);gap:10px}.feedback-options label{padding:10px;gap:7px}.feedback-options strong{font-size:10px}.feedback-options small{font-size:9px}.impact-grid .panel{padding:13px}.impact-grid p{font-size:11px}.final-choices{gap:17px}.source-row .pill{font-size:8px}.page{padding:16px 20px}
}
@media screen and (min-width:700px) and (min-height:680px) and (max-height:800px){
 .dashboard{grid-template-rows:20px minmax(220px,1.1fr) minmax(190px,1fr) 62px;gap:8px;padding-top:8px;padding-bottom:8px}.scenario-context p{font-size:10px}.section-head{margin-bottom:5px}.schedule,.deadlines,.results,.focus,.advice{padding-top:7px;padding-bottom:7px}.calendar{gap:4px 7px}.day{gap:1px;padding-bottom:2px}.day strong{font-size:9px}.day span{font-size:8px}.course{height:19px;font-size:8px;padding:2px 5px;line-height:1.15}.calendar-note{font-size:7px;margin-top:3px;line-height:1.3}.results-list{gap:8px;margin-top:5px}.results-list>button{line-height:1.2}.result-caption{font-size:8px;margin-top:6px;line-height:1.3}.focus-list{gap:6px}.focus-item{padding:5px 9px}.focus-item strong{font-size:10px;line-height:1.25}.focus-item small{font-size:9px;line-height:1.3;margin-top:2px}.advice ol{gap:8px;margin:9px 0}.advice li strong{font-size:10px;line-height:1.35}.advice-details>span{font-size:9px}.advice .btn{margin-top:0;min-height:28px;font-size:10px}.today-actions{padding-top:7px;padding-bottom:7px}.today-actions .section-head{margin:0}
}
@media screen and (min-width:700px) and (min-height:680px) and (max-height:800px){
 .reflection-page{grid-template-columns:1fr auto;gap:8px;padding-top:10px;padding-bottom:10px}.reflection-hero,.impact-grid,.moral-card,.final-choices{grid-column:1/-1}.reflection-hero{padding:12px 18px}.route-details{grid-column:1}.reflection-page>.button-row{grid-column:2;align-self:center}.reflection-hero h2{font-size:23px;margin:6px 0}
}

/* Login: a consistent spacing rhythm and readable type on presentation screens. */
.login-wrap{box-sizing:border-box;padding:28px 20px}.login{box-sizing:border-box;max-width:100%}.login .forgot{display:block;line-height:1.5}.login-ai{align-items:center}.login-ai>span{flex-shrink:0}
@media screen and (min-width:700px) and (min-height:680px){
 .login-wrap{min-height:calc(100dvh - 100px);padding:28px 24px;display:flex;justify-content:center;align-items:center}
 .login{width:580px;padding:36px 44px;border-radius:24px}
 .login h2{font-size:28px;line-height:1.2;margin:0}.login .product-name{font-size:13px;line-height:1.5;margin:8px 0 0}
 .login h3{font-size:30px;line-height:1.25;margin:28px 0 14px}.login-intro{font-size:15px;line-height:1.7;margin:0 0 24px}
 .login .primary{font-size:15px;min-height:48px;padding:12px 20px;margin:0}
 .login .forgot{font-size:13px;margin:14px auto 24px;padding:4px 8px;min-height:28px}
 .login-ai{padding:16px;gap:14px;margin:0;text-align:left}.login-ai>span{width:40px;height:40px;font-size:20px}.login-ai strong{font-size:14px;line-height:1.4}.login-ai p{font-size:12px;line-height:1.6;margin:5px 0 0}.login .start-fiction{font-size:11px;line-height:1.5;margin:18px 0 0}
}
@media screen and (min-width:700px) and (min-height:680px) and (max-height:760px){.login-wrap{padding:20px 24px}.login{padding:26px 40px}.login h3{margin-top:22px}.login .forgot{margin-bottom:18px}.login-intro{margin-bottom:18px}}
