@charset "UTF-8";
/* v0.10.4: stable scene/dialogue with quieter, cause-first predictions. */
.immersive-shell .dialogue-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);align-items:start;gap:24px;padding:16px 3vw 32px;margin:0;max-width:none;background:transparent;border:0;box-shadow:none;min-height:calc(100dvh - 150px)}
.dialogue-layout .scene-column{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.dialogue-layout .scene-chapter{position:static;max-width:100%;width:fit-content;margin:0;padding:10px 17px;align-self:flex-start}
.dialogue-layout .scene-chapter h1{font-size:clamp(22px,2.2vw,32px);margin:0;line-height:1.5}
.dialogue-layout .scene-chapter .eyebrow{margin:0 0 3px;font-size:12px}
.scene-window{display:none}
.fixed-dialogue{width:100%;margin:0;border:1px solid #bbac90;border-radius:8px;background:#fffaf2f7;box-shadow:0 6px 28px #142a2b28;color:#28352e;scroll-margin-top:170px;overflow-wrap:anywhere}
.fixed-dialogue>header{padding:12px 18px 8px;border-bottom:1px solid #d4c8b1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px}
.fixed-dialogue h2{font:600 16px/1.5 var(--sans);margin:0;color:#3d3a2d}
.dialogue-mode{font-size:12px;font-weight:600;color:#725626}
.current-exchange{padding:7px 0}
.fixed-dialogue .dialogue-bubble{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;margin:0;padding:7px 18px;border:0;border-radius:0;background:transparent;box-shadow:none}
.fixed-dialogue .speech-label{font-size:13px;line-height:1.8;margin:0;color:#29586b}
.fixed-dialogue .speech-self .speech-label{color:#68457a}
.fixed-dialogue .speech-neutral .speech-label{color:#695f4e}
.fixed-dialogue .speech-text{font-size:16px;line-height:1.65;color:#29372f}
.fixed-dialogue .speech-neutral .speech-text{color:#59574d}
.fixed-dialogue .dialogue-controls{position:relative;display:flex;align-items:center;gap:5px 12px;flex-wrap:wrap;border-top:1px solid #ded3bc;padding:5px 14px}
.fixed-dialogue .dialogue-questions{position:static;margin:0;padding:0;border:0}
.dialogue-questions summary{min-height:32px;cursor:pointer;font-size:13px;line-height:2.4;color:#495c51}
.dialogue-questions .questions{position:absolute;z-index:5;bottom:100%;left:0;right:0;display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:12px;background:#fffaf2;border:1px solid #a89a80;border-radius:7px;box-shadow:0 -5px 22px #142a2b25;max-height:240px;overflow:auto}
.fixed-dialogue .question-button{min-height:40px;font-size:13px;padding:8px 10px;text-align:left}
.dialogue-tools{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:7px 18px;border-top:1px solid #ded3bc}
.fixed-dialogue .text-button{font-size:13px;min-height:36px;color:#485f52;padding:4px 8px}
.current-exchange>.text-button{margin-left:12px}
.immersive-shell .dialogue-layout .decision-column{position:relative;top:auto;right:auto;min-width:0;width:100%;margin:0;padding:18px;max-height:none;overflow:visible;border:1px solid #bfae8c;border-radius:8px;background:#fffaf0f7;box-shadow:0 6px 28px #142a2b28;scrollbar-gutter:stable}
.immersive-shell .dialogue-layout .scene-choices{position:static;width:auto;max-height:none;margin:0;padding:0;overflow:visible;background:transparent;border:0;box-shadow:none}
.immersive-shell .dialogue-layout .workbench-grid{display:block;height:auto;min-height:0;max-height:none;overflow:visible;background:transparent}
.immersive-shell .dialogue-layout .workbench-main,.immersive-shell .dialogue-layout .preview-rail{display:block;width:100%;padding:0;margin:0;max-height:none;height:auto;overflow:visible;border:0;border-radius:0;box-shadow:none;background:transparent}
.immersive-shell .dialogue-layout .preview-rail{background:#e5eef0;border:1px solid #bfccd0;border-radius:6px;padding:15px;margin-top:18px}
.dialogue-layout .quote-switcher{display:flex;flex-wrap:wrap;padding:0 0 12px;gap:6px;border-bottom:1px solid #d1c3a7}
.dialogue-layout .quote-switcher>span{width:100%;font-size:12px;color:#665b47}
.dialogue-layout .quote-switcher button{padding:7px 9px;font-size:13px;min-height:40px;background:#fffaf2;border:1px solid #c4bba8;color:#384c3d;border-radius:4px}
.dialogue-layout .quote-switcher button.active{background:#304d40;color:#fff7e5;border-color:#304d40}
.dialogue-layout .quote-switcher small{font-size:11px;margin-left:5px;color:inherit;opacity:.8}
.switch-notice{font-size:12px;line-height:1.7;color:#625b4f;margin:10px 0}
.switch-notice .text-button{display:block;font-size:13px;min-height:34px}
.immersive-shell .dialogue-layout #terms-title{font-size:23px;line-height:1.5;margin:8px 0}
.dialogue-layout .draft-caption{font-size:12px;color:#725626;margin:0 0 12px}
.dialogue-layout .offer-changes{display:flex;flex-wrap:wrap;gap:8px}
.dialogue-layout .offer-changes>div{flex:1;min-width:90px}
.dialogue-layout .base-terms{padding:0 0 12px;margin:0}
.resource-disclosure{display:flex;flex-direction:column;gap:5px;font-size:13px;padding:12px;border-left:3px solid #9d773c;background:#eee8d9;margin:12px 0;line-height:1.7}
.resource-disclosure strong{font-size:14px;color:#67441c}
.resource-disclosure.disclosure-risk{background:#eee8d9;border-color:#92724c}
.resource-disclosure.disclosure-risk strong{color:#67441c}
.closed-notice{padding:12px;background:#efe5d5;border-left:3px solid #966342;line-height:1.8;margin-bottom:14px;font-size:14px}
.immersive-shell .dialogue-layout .stage-actions{display:block;margin:18px -18px -18px;padding:15px 18px}
.dialogue-layout .draft-actions{margin-top:10px;display:flex;flex-wrap:wrap}
.dialogue-layout .draft-actions button{flex:1}
.dialogue-layout .plan-steps{padding:10px;font-size:13px}
.dialogue-layout .plan-steps ol{padding-left:19px}
.dialogue-layout .plan-steps p{font-size:13px;line-height:1.7}
.dialogue-layout .preview-heading h2{font-size:18px;margin:7px 0}
.dialogue-layout .preview-heading{padding:0;margin-bottom:12px}
.dialogue-layout .scene-background{margin-top:28px}
.dialogue-layout .negotiation-comparison{font-size:12px;table-layout:fixed}
.dialogue-layout .negotiation-comparison th,.dialogue-layout .negotiation-comparison td{padding:6px;overflow-wrap:anywhere}
.dialogue-layout .practice-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.dialogue-layout .offer-list{display:grid;grid-template-columns:1fr;gap:8px}
.dialogue-layout .offer-card{height:auto;min-height:0;padding:13px;text-align:left}
.dialogue-layout .offer-card .offer-title{font-size:16px}
.dialogue-layout .offer-card .offer-card-heading{display:flex;align-items:center;width:100%;gap:10px}
.dialogue-layout .offer-card .offer-title,.dialogue-layout .offer-card .offer-title-line{flex:1;min-width:0}
.dialogue-layout .offer-card .offer-arrow{flex:0 0 16px}
.dialogue-layout .offer-card .offer-summary{font-size:13px;line-height:1.7}
.dialogue-layout .offer-card .offer-symbol{display:none}
.dialogue-layout .offer-card .offer-open{font-size:12px;margin-top:6px}

/* One visual language for predictions, without nested status cards. */
.immersive-shell .preview-rail .quote-settlement,.immersive-shell .preview-rail .state-changes{padding:12px 0;margin:12px 0;border:0;border-top:1px solid #b8c9cc;border-radius:0;background:transparent;box-shadow:none}
.immersive-shell .preview-rail .state-changes ul{list-style:none;padding:0;margin:8px 0 0}
.immersive-shell .preview-rail .state-line{border:0;border-radius:0;background:transparent;padding:4px 0;margin:0;line-height:1.8}
.immersive-shell .preview-rail .state-line.state-loss{color:var(--danger);font-weight:600}
.immersive-shell .preview-rail h3{font-size:14px;line-height:1.6;margin:0 0 8px}
.choice-note{display:block;font-size:13px;line-height:1.7;color:#705039;margin-top:7px}
.choice-consequence,.plan-result{padding:12px 0;margin:12px 0;border:0;border-top:1px solid #b8c9cc;color:#293c3c;background:transparent;font-size:14px;line-height:1.8}
.plan-result .survival-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin-top:6px}
.plan-result .survival-total strong{font-size:16px;font-weight:600;color:inherit}
.plan-result .survival-total small{font-size:14px;margin-left:3px}
.plan-result .certain-loss{font-weight:600;color:#833b29;margin-top:6px}
.future-projection{font-size:13px;line-height:1.8}
.future-projection summary{color:#4d6264;min-height:38px;padding-block:6px}
.future-projection p{margin:8px 0}
.negotiation-hint{font-size:13px;line-height:1.8;color:#665b47}
.fixed-dialogue .dialogue-adjust{font-weight:600;border:1px solid #9c916c;border-radius:4px;background:#eee8d6;text-align:left}
.immersive-shell .dialogue-layout .ending-summary{position:static;inset:auto;width:100%;padding:0;border:0;background:transparent;box-shadow:none}
.immersive-shell .dialogue-layout .ending-summary .ending-total{flex-wrap:wrap;gap:6px 16px}
.immersive-shell .dialogue-layout .ending-summary .herd{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.immersive-shell .dialogue-layout .camp-story{padding:12px 0;background:transparent;border-block:1px solid #d2c5a9}
.immersive-shell.scene-only .world-plate{display:block!important;inset:0!important;transform:none!important;width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.immersive-shell.scene-only .dialogue-layout{visibility:hidden;pointer-events:none}
@media(min-width:1100px) and (min-height:760px) and (min-aspect-ratio:7/5){
 .immersive-shell.scene-ui{--dialogue-height:320px;padding-top:148px;padding-bottom:0}
 .app-shell.immersive-shell.scene-ui .game-hud .topbar{position:static;width:100%;height:42px;min-height:42px;padding-block:5px}
 .app-shell.immersive-shell.scene-ui .game-hud .top-actions{margin-right:130px;gap:20px}
 .app-shell.immersive-shell.scene-ui .game-hud .journey-panel{padding:6px 3vw;grid-template-columns:minmax(285px,1fr) auto;min-height:62px}
 .app-shell.immersive-shell.scene-ui .game-hud .journey-goal{grid-column:1;grid-row:1 / span 2}
 .app-shell.immersive-shell.scene-ui .game-hud .resources{grid-column:2;grid-row:1 / span 2;gap:24px}
 .immersive-shell.scene-ui .resource>div{display:block}
 .immersive-shell.scene-ui .journey-finished{display:flex}
 .immersive-shell.scene-ui .dialogue-layout{height:calc(100dvh - 148px);min-height:0;padding:12px 3vw 28px;align-items:stretch}
 .dialogue-layout .scene-column{height:100%;min-height:0;top:auto}
 .dialogue-layout .scene-chapter{padding:8px 14px}
 .dialogue-layout .scene-chapter h1{font-size:clamp(22px,1.8vw,28px);line-height:1.2}
 .fixed-dialogue{height:var(--dialogue-height);min-height:var(--dialogue-height);display:flex;flex-direction:column}
 .fixed-dialogue>header,.dialogue-controls,.dialogue-tools{flex-shrink:0}
 .fixed-dialogue .current-exchange{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 .fixed-dialogue .dialogue-bubble{padding-block:5px}
 .immersive-shell .dialogue-layout .decision-column{height:100%;max-height:none;overflow:auto;overscroll-behavior:contain}
 .immersive-shell.scene-ui .world-plate{inset:0;left:-7vw;width:100%;height:100%;object-fit:cover;object-position:center;transform:translateY(calc(-1 * max(0px, var(--dialogue-height) + 28px - 20dvh)))}
 .immersive-shell.scene-ui.view-ending .world-plate{left:-12vw;transform:translateY(calc(-1 * max(0px, var(--dialogue-height) - 4px - 20dvh)))}
 .immersive-shell.scene-ui.view-practice .world-plate{left:-8vw;transform:translateY(calc(-1 * max(0px, var(--dialogue-height) + 12px - 20dvh)))}
 .immersive-shell.scene-ui .scene-beaver .world-plate{left:-16vw}
 .immersive-shell.scene-ui .scene-camp .world-plate{left:0}
 .immersive-shell.scene-ui .world-shade{background:linear-gradient(180deg,#10282245,transparent 28%,transparent 65%,#10282265)}
}
/* Reflow before the image or text would need to be cropped to fit. */
@media(max-width:1099px),(max-height:759px),(max-aspect-ratio:7/5){
 .immersive-shell.scene-ui{padding-top:0}
 .immersive-shell.scene-ui .game-hud{position:relative}
 .app-shell.immersive-shell.scene-ui .game-hud .topbar{position:static;width:100%;height:auto}
 .app-shell.immersive-shell.scene-ui .game-hud .journey-panel{padding-inline:3vw;grid-template-columns:minmax(260px,1fr) auto;min-height:0}
 .app-shell.immersive-shell.scene-ui .game-hud .resources{grid-column:2;grid-row:1 / span 2}
 .app-shell.immersive-shell.scene-ui .game-hud .journey-goal{grid-column:1;grid-row:1 / span 2}
 .immersive-shell .dialogue-layout{display:block;padding:0 3vw 36px;min-height:0}
 .dialogue-layout .scene-column{height:auto;min-height:0;position:static}
 .dialogue-layout .scene-chapter{position:relative;inset:auto;margin:12px 0;padding:10px 14px;max-width:100%}
 .scene-window{display:block;width:100%;aspect-ratio:1672 / 941;margin:0;flex:none;pointer-events:none}
 .scene-inline{display:block;width:100%;height:100%;object-fit:contain}
 .fixed-dialogue{margin:0 0 18px;min-height:300px;display:flex;flex-direction:column}
 .fixed-dialogue .current-exchange{flex:1}
 .immersive-shell .dialogue-layout .decision-column{margin:0;max-height:none;height:auto;overflow:visible}
 .immersive-shell.scene-ui .world-plate{display:none}
 .dialogue-layout .scene-chapter h1{font-size:25px}
}
@media(max-width:650px){
 .app-shell.immersive-shell.scene-ui .game-hud .topbar{display:flex;flex-wrap:wrap;gap:2px;padding-inline:14px}
 .app-shell.immersive-shell.scene-ui .game-hud .top-actions{width:100%;margin:0;gap:15px;justify-content:flex-start}
 .app-shell.immersive-shell.scene-ui .game-hud .journey-panel{display:flex;flex-direction:column;padding-inline:14px}
 .app-shell.immersive-shell.scene-ui .game-hud .resources{display:flex;justify-content:space-between;width:100%;order:-1}
 .immersive-shell.scene-ui .journey-finished{align-items:flex-start}
 .immersive-shell.scene-ui .journey-finished>span{font-size:14px}
 .immersive-shell .dialogue-layout{padding-inline:12px}
 .fixed-dialogue .dialogue-bubble{display:block;padding:7px 14px}
 .fixed-dialogue .speech-label{display:block;font-size:13px;margin-bottom:3px}
 .fixed-dialogue .speech-text{font-size:15px;line-height:1.8}
 .fixed-dialogue>header{padding:10px 14px;display:block}
 .fixed-dialogue h2{font-size:16px;margin-top:3px}
 .dialogue-mode{font-size:12px}
 .dialogue-tools{padding:6px 10px}
 .immersive-shell .dialogue-layout .decision-column{padding:15px}
 .immersive-shell .dialogue-layout .stage-actions{margin-inline:-15px;margin-bottom:-15px;padding:15px}
 .dialogue-layout .scene-chapter h1{font-size:22px}
 .dialogue-layout .scene-chapter .eyebrow{font-size:12px}
 .dialogue-layout .preview-heading h2{font-size:18px}
 .dialogue-layout .offer-list{grid-template-columns:1fr}
}

@media(min-width:1100px) and (min-height:760px) and (max-height:789px) and (min-aspect-ratio:7/5){
 .dialogue-layout .scene-chapter{display:flex;align-items:center;gap:12px;padding-block:5px}
 .dialogue-layout .scene-chapter .eyebrow{margin:0}
}
@media(min-width:1100px) and (min-height:760px) and (min-aspect-ratio:17/9){
 .immersive-shell.scene-ui .world-plate{object-fit:contain}
}
@media(min-width:1000px) and (max-height:759px){
 .scene-window{aspect-ratio:auto;height:50dvh}
}
