:root{color-scheme:dark;--bg:#120f18;--plum:#302039;--copper:#C58A57;--paper:#F3EBDD;--ink:#24232B;--muted:#c5bccb;--line:#c4a5cc30;--glass:#35243b80}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 90% 5%,#754a5860,transparent 43%),radial-gradient(ellipse at 10% 65%,#56346855,transparent 50%),linear-gradient(135deg,#16121d,#211629 58%,#100d15);color:var(--paper);font:16px/1.65 "Segoe UI",Arial,sans-serif}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(#efd6ff03 1px,transparent 1px),linear-gradient(90deg,#efd6ff03 1px,transparent 1px);background-size:44px 44px;z-index:-1}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid #e5c6ed36;background:linear-gradient(135deg,#63506666,#2b203bc9);color:var(--paper);padding:11px 18px;border-radius:8px;font-weight:650;font-size:15px;box-shadow:inset 0 1px #fff2,0 5px 12px #0002;transition:background .18s,box-shadow .18s,transform .18s}button:hover:not(:disabled){border-color:#e7bd9199;transform:translateY(-2px);box-shadow:inset 0 1px #fff3,0 9px 20px #0004}button:disabled{opacity:.5;cursor:wait;transform:none}.primary{background:linear-gradient(135deg,#e0ad75,#b77949 60%,#935935);border-color:#f4c89499;color:#1e1521;box-shadow:inset 0 1px #fff7,inset 0 -2px #49251955,0 6px 24px #c58a5729}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #efbd83;outline-offset:4px}h1,h2,h3{line-height:1.25;margin:0 0 18px}h1{font-size:clamp(2rem,3.8vw,3.3rem);font-weight:600;letter-spacing:-.035em}h2{font-size:1.5rem;font-weight:600}h3{font-size:1.15rem}p{margin:0 0 18px}.meta,.muted{color:var(--muted);font-size:14px}.eyebrow{color:#e8b989;font-size:13px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;margin:0 0 12px}.wrap{max-width:1440px;padding:30px 38px 60px;margin:auto}.student-command-header{display:grid;grid-template-columns:minmax(360px,1fr) minmax(260px,.7fr) minmax(250px,.62fr);align-items:center;gap:1.5rem;min-height:112px;padding:.8rem clamp(1.25rem,4vw,4rem);background:linear-gradient(130deg,#21162be8,#130f1ae8);border-bottom:3px solid var(--copper);box-shadow:inset 0 1px #f6dfef15,0 12px 30px #0006;backdrop-filter:blur(18px)}.student-institution-brand{display:flex;align-items:center;gap:1rem;min-width:0}.ethics-emblem{flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;width:78px;height:78px;border:1px solid #dfb183aa;border-bottom:3px solid #b97945;border-radius:13px;background:linear-gradient(140deg,#b994be3b,#35213fc9 45%,#170f20);box-shadow:inset 0 1px #fff4,inset 0 -7px 15px #0005,0 7px 20px #0006;color:#e7bb8d;font:40px/1 Georgia,serif;text-shadow:0 3px 5px #0008}.ethics-emblem span{font:11px/1.4 "Segoe UI",sans-serif;letter-spacing:.24em;margin-left:.24em}.student-institution-wordmark strong,.student-institution-wordmark span,.student-institution-wordmark small,.student-simulation-mark span,.student-simulation-mark strong{display:block}.student-institution-wordmark strong{font:500 1.65rem/1.2 Georgia,serif;letter-spacing:.06em;text-transform:uppercase}.student-institution-wordmark span{margin-top:.12rem;font-size:.82rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.student-institution-wordmark small{margin-top:.45rem;color:#cfc4d5;font-size:12px;letter-spacing:.04em}.student-header-photo{align-self:stretch;min-height:76px;border:1px solid #dbb48a40;border-radius:8px;background:linear-gradient(90deg,#1a11282e,#1a112808 25%,#1a112808 75%,#1a112850),url('/assets/ethics-decision-desk.webp') center 42%/cover no-repeat;box-shadow:inset 0 0 18px #120b1c77,0 7px 15px #0004}.student-simulation-mark{padding-left:1.5rem;text-align:right;border-left:1px solid #ffffff2e}.student-simulation-mark span{color:#e5b387;font-size:13px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.student-simulation-mark strong{margin-top:.32rem;font:400 1rem/1.4 Georgia,serif;color:#e8deeb}.panel{position:relative;min-width:0;padding:28px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(140deg,#886b9230,#261b33ba 45%,#17121ee6);box-shadow:inset 0 1px #ffffff20,inset 0 -1px #0003,0 18px 36px #0003;backdrop-filter:blur(20px)}.panel:before{content:"";pointer-events:none;position:absolute;top:0;left:20px;right:20px;height:1px;background:linear-gradient(90deg,transparent,#d9b9e677,transparent)}.student-entry-content{width:min(1180px,calc(100% - 2.5rem));margin:auto;padding:0 0 2rem}.student-entry-card{max-width:900px;margin:2rem auto;padding:3.2rem;border:1px solid #ebdfcda6;border-radius:16px;background:linear-gradient(145deg,#f3ebdde8,#fff9eff7 35%,#f7f0e7f0);color:var(--ink);box-shadow:inset 0 1px #fff,0 18px 50px #0005,0 0 45px #c58a5710;backdrop-filter:blur(20px)}.student-entry-card .eyebrow{color:#78472e;margin:0 0 1.5rem}.student-entry-card h1{font:500 2.15rem/1.2 Georgia,serif;letter-spacing:0;margin:0 0 1.5rem;color:#24202c}.student-entry-card p{color:#342c3b;line-height:1.5;margin-bottom:1.5rem}.student-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.student-entry-grid label{display:flex;flex-direction:column;gap:.4rem;color:var(--ink)}label{display:block;font-size:15px;font-weight:650}input,select,textarea{width:100%;border:1px solid #b394c059;border-radius:7px;background:#170f2499;color:#f5edf7;font:inherit;padding:12px;margin-top:7px;box-shadow:inset 0 2px 8px #0003}textarea{min-height:145px;resize:vertical;font-weight:400;line-height:1.6}textarea::placeholder{color:#b7a8c0;opacity:1}.student-entry-grid input,.student-entry-grid select{min-height:46px;margin-top:0;padding:.8rem .9rem;border:1px solid #b3a5b873;background:#fffaf5;color:#24232b;color-scheme:light;box-shadow:inset 0 2px 5px #3a204008}.student-entry-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:.5rem}.student-entry-actions .primary{padding:.9rem 1.3rem;font-weight:800;letter-spacing:.035em}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px;padding:17px 22px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(115deg,#81638a24,#20162ed9);box-shadow:inset 0 1px #ffffff16,0 8px 20px #0002}.workspace-head p{margin:0}.saved{font-size:14px;color:#d1becf}.catalog-intro{display:flex;justify-content:space-between;align-items:center;gap:32px;margin:14px 0 32px}.catalog-intro p{max-width:760px;color:#d1c5d6}.catalog-intro h1{color:#fbf2e5;text-shadow:0 5px 20px #0003}.count{min-width:190px;padding:18px 25px;border:1px solid #d0a77a55;border-left:3px solid var(--copper);border-radius:10px;background:linear-gradient(135deg,#c58a5720,#32213faa);box-shadow:inset 0 1px #ffffff20,0 12px 24px #0003}.count strong{display:block;font-size:36px;line-height:1.2;color:#f2c596}.count span{font-size:14px;color:#d9c6d7}.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.case-card{position:relative;display:flex;align-items:stretch;flex-direction:column;text-align:left;min-height:218px;padding:27px;border:1px solid #c7a5d33b;border-top:2px solid #d7a77899;border-radius:13px;background:radial-gradient(ellipse at 90% 0%,#b7818d26,transparent 60%),linear-gradient(140deg,#7556813b,#2b203bbd 60%,#1a1424e8);box-shadow:inset 0 1px #fff2,inset 0 -3px #0002,0 13px 27px #0003;backdrop-filter:blur(20px);overflow:hidden}.case-card:before{content:"";position:absolute;top:0;left:24px;right:24px;height:1px;background:linear-gradient(90deg,transparent,#efc99b,transparent);pointer-events:none}.case-card:after{content:"";position:absolute;right:-24px;top:-30px;width:120px;height:120px;background:linear-gradient(135deg,#eed2ff0a,transparent);border:1px solid #eddaff08;transform:rotate(35deg);pointer-events:none}.case-card h2{font:500 1.6rem/1.25 Georgia,serif;margin:15px 0 25px;max-width:95%;color:#fbf3e8}.case-no{font-size:13px;font-weight:600;letter-spacing:.065em;text-transform:uppercase;color:#d9b78f}.case-card .status{margin-top:auto;border-top:1px solid #e9d0f022;padding-top:13px;color:#c8bdd1;font-size:14px;font-weight:600}.case-card .tag-complete{color:#d2e1c6}.stagebar{display:flex;gap:0;padding:0;list-style:none;margin:0 0 26px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#261c32a6;box-shadow:inset 0 1px #fff2,0 10px 20px #0002;backdrop-filter:blur(16px)}.stagebar li{flex:1;padding:14px 18px;font-size:14px;color:#c5b6cd;border-right:1px solid #dac5df18}.stagebar li:last-child{border:0}.stagebar .current{background:linear-gradient(130deg,#d19b67,#956038);color:#1c1521;font-weight:750;box-shadow:inset 0 1px #fff6}.stagebar .done{color:#e9ccb0;background:#c58a5719}.case-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.stack{display:grid;gap:22px}.case-layout>.stack>.panel:first-child:not(.reveal){background:linear-gradient(145deg,#f6eee2f5,#ece1d1f5);color:var(--ink);border-color:#e9d7c599}.case-layout>.stack>.panel:first-child:not(.reveal) .eyebrow{color:#84512f}.case-layout>.stack>.panel:first-child:not(.reveal) .meta{color:#65586a}.constraint{border-left:3px solid #ae7041;padding:18px 20px;margin:22px 0;background:linear-gradient(130deg,#c58a571f,#ffffff47);border-radius:0 8px 8px 0}.constraint p{margin:5px 0 0}.choices{display:grid;gap:13px;margin:22px 0}label.choice{display:flex;gap:13px;padding:17px;border:1px solid #ac91b848;border-radius:9px;background:linear-gradient(135deg,#fffaf5b3,#e9dce766);box-shadow:inset 0 1px #fff8,0 4px 9px #29153709;font-weight:400;cursor:pointer;transition:.15s}.choice:hover{border-color:#a26841}.choice:has(input:checked){padding:16px;border:2px solid #9c633e;background:linear-gradient(135deg,#eacdafb0,#f8e9db);box-shadow:0 0 0 3px #c58a5715}.choice input{width:18px;height:18px;flex-shrink:0;margin:5px 0 0;accent-color:#8b5837;box-shadow:none}.choice strong{color:#79452d;margin-right:6px}.case-layout>.stack>.panel:first-child:not(.reveal) textarea{color:#2e2634;background:#fffcf6c9;border-color:#b6a2bb70;color-scheme:light;box-shadow:inset 0 2px 8px #3520400b}.case-layout>.stack>.panel:first-child:not(.reveal) textarea::placeholder{color:#6c5c72}.case-file{background:linear-gradient(135deg,#7151764d,#291d37e0);border-top:3px solid #c58a57;position:sticky;top:22px;box-shadow:inset 0 1px #fff3,0 15px 32px #0004}.case-file hr{border:0;border-top:1px solid #e8d5eb24;margin:22px 0}.case-file .meta{color:#c8bbce}.reveal{border-top:3px solid var(--copper);background:radial-gradient(ellipse at 95% 0%,#c58a571a,transparent 60%),linear-gradient(140deg,#64476750,#26182fde);padding:32px}.reveal h1{font-size:clamp(28px,3vw,42px)}.outcome{font:400 1.45rem/1.65 Georgia,serif;color:#f4e6d4}.lens{padding:18px 20px;background:linear-gradient(135deg,#d59d6820,#74518026);border:1px solid #d1a57838;border-radius:9px;margin:22px 0;color:#e2d5e7}.lens strong{display:block;color:#efc292;margin-bottom:8px}blockquote{margin:17px 0;padding:12px 18px;border-left:3px solid #c58a5766;border-radius:0 6px 6px 0;background:#1b14232e;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.research details,details.branch{border-top:1px solid var(--line);padding:17px 0}summary{cursor:pointer;font-weight:650;color:inherit}details p{margin-top:14px}.research-list p{margin-top:15px;color:#d9cddf}.research{border-top:2px solid #b786ae77}.research summary{color:#e7c69f}.error{background:#592a38ee;color:#fff1ed;border:1px solid #dc9ba5;padding:16px 20px;border-radius:9px;margin:20px auto;max-width:900px}.footer-note{max-width:1440px;margin:auto;padding:22px 38px;border-top:1px solid var(--line);font-size:13px;color:#baadbf;line-height:1.6}.entry-shell .footer-note{margin-top:35px}.loading{padding:40px}.print-only{display:none}@media(max-width:1100px){.student-command-header{grid-template-columns:minmax(300px,1fr) minmax(240px,1fr)}.student-header-photo{display:none}.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-layout{grid-template-columns:minmax(0,1fr) 265px}.wrap{padding:28px 25px 50px}}@media(max-width:760px){.student-command-header{grid-template-columns:1fr;gap:1rem}.student-simulation-mark{text-align:left;border-left:0;border-top:1px solid #fff2;padding:1rem 0 0}.student-institution-wordmark strong{font-size:1.45rem}.student-entry-content{width:calc(100% - 2rem)}.student-entry-card{padding:1.5rem;margin:1.5rem auto}.student-entry-grid{grid-template-columns:1fr}.student-entry-actions,.student-entry-actions .primary{width:100%}.student-entry-actions .primary{letter-spacing:.025em}.case-layout{grid-template-columns:1fr}.case-file{position:static;order:-1;padding:20px}.constraint-aside{display:none}.case-grid{grid-template-columns:1fr}.catalog-intro,.workspace-head{align-items:start;flex-direction:column}.catalog-intro{gap:18px}.count{width:100%;display:flex;gap:18px;align-items:center}.stagebar{flex-wrap:wrap}.stagebar li{flex-basis:50%}.wrap{padding:22px 16px 40px}.panel{padding:22px}.case-card{min-height:175px}.ethics-emblem{width:66px;height:66px}.footer-note{padding:20px 18px}}@media(prefers-reduced-motion:reduce){button{transition:none}button:hover:not(:disabled){transform:none}}@media print{body{background:#fff;color:#24232b}.student-command-header,.actions,.stagebar,.workspace-head button,.case-layout aside,.footer-note{display:none}.wrap{padding:0;max-width:none}.case-layout{display:block}.panel{background:#fff!important;color:#24232b!important;box-shadow:none;border:0;backdrop-filter:none;break-inside:avoid}.panel:before{display:none}.outcome,.research-list p,.meta,.eyebrow{color:#24232b}.case-grid{display:block}details>*{display:block}blockquote{background:transparent;color:#24232b}.print-only{display:block}}

/* Connected decision scenes: Case 1 model. */
.scene-narrative{font-size:1.08rem;line-height:1.8}.scene-history{padding:1.2rem;border-left:3px solid #C58A57;background:#c58a5710;margin:1.2rem 0}.scene-history p{margin:.6rem 0}.decision-research{margin:1.6rem 0;padding:1.4rem;border:1px solid #c58a5760;border-radius:12px;background:#c58a570d}.decision-research h2,.decision-prompts h2{font-size:1.25rem}.decision-research p{line-height:1.65}.decision-prompts{margin:1.5rem 0;padding:1.25rem;background:#3020390c;border-radius:12px}.decision-prompts li{margin:.65rem 0;line-height:1.6}.decision-scene #decision{border-top:1px solid #c58a5750;padding-top:1.4rem}.stagebar{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
/* Case context above the story; optional resources alongside it. */
.case-context{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:20px 24px;margin:0 0 22px;border:1px solid var(--line);border-radius:12px;background:#30203999}.case-context p{margin:0 0 5px}.case-context .meta{margin:0}.context-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.context-actions a,.resource-source{color:#edc49e;text-decoration:underline;text-underline-offset:3px}.case-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start}.case-resources{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding:24px;background:linear-gradient(135deg,#44304e,#251a31);scroll-margin-top:20px}.case-resources h2{font-size:1.35rem}.case-resources h3{margin:24px 0 10px;font-size:1.05rem}.case-resources details{padding:13px 0}.case-resources summary{font-size:.95rem;line-height:1.5}.case-resources details p{font-size:.93rem;line-height:1.65}.case-resources .research-list p{font-size:.82rem;overflow-wrap:anywhere}.resource-source{display:block;font-size:.87rem;margin:12px 0 20px}.resource-tracking{font-size:.8rem;color:var(--muted);margin-top:20px}.case-progress{margin-top:28px}.case-progress .stagebar{margin-bottom:0}.decision-analysis h2,.consequence-analysis h2{font-size:1.65rem}.analysis-observations{display:grid;gap:12px;margin:24px 0}.analysis-observations article,.analysis-tension{padding:18px;border-left:3px solid #c58a5777;background:#c58a5710}.analysis-observations p:last-child,.analysis-tension p:last-child{margin-bottom:0}.analysis-tension{margin:22px 0}.decision-analysis details{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.standards-observation{margin-top:20px}.standards-observation h4{font-size:1rem;margin:0 0 8px}.impact-grid{display:grid;gap:16px}.impact-card{border:1px solid #c58a5738;border-radius:10px;padding:22px;background:#c58a5709}.impact-card h3{color:#ecc398;margin-bottom:6px}.impact-scope{font-size:.9rem;color:var(--muted)}.impact-card h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#ddc7e4;margin:20px 0 8px}.impact-card p:last-child{margin-bottom:0}.decision-scene select{width:100%;margin:8px 0 20px}#ethics-report .decision-analysis,#ethics-report .consequence-analysis{margin-top:24px}#ethics-report .impact-card{margin:16px 0;padding:16px;border:1px solid #8885}
@media(max-width:1000px){.case-layout{grid-template-columns:minmax(0,1fr) 290px}.case-resources{padding:18px}.context-actions{flex-direction:column;align-items:flex-end}}
@media(max-width:760px){.case-layout{grid-template-columns:1fr}.case-resources{position:static;max-height:none;order:initial}.case-context{align-items:flex-start;flex-direction:column}.context-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.case-progress .stagebar li{flex-basis:100%}.impact-card{padding:18px}}
@media print{.case-context,.case-progress,.case-resources{display:none}.impact-card{break-inside:avoid}.impact-card h3,.impact-card h4,.impact-scope{color:#24232b}}
.case-resources details.resource-group{padding:18px 0}.case-resources .resource-group>summary{font-size:1.08rem;color:#f0d4b5}.case-resources .resource-group>details{margin-left:10px}.case-resources .resource-group>.meta{margin-top:14px}.case-resources .resource-group>details:first-of-type{margin-top:12px}
