:root{--ink:#17302d;--muted:#667773;--teal:#077b68;--lime:#cce88a;--line:#dce4df;--paper:#f1f4ef;--red:#d34b4b;--orange:#e6812f;--yellow:#ba9600;--blue:#257ec6}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,'Noto Sans SC','Microsoft YaHei',system-ui,sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:7px 12px;transition:.15s}button:hover{background:#e8f1eb;border-color:#95bca9}button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}button.danger{border-color:#ddb1a8;color:#98482b}button:disabled{opacity:.48;cursor:not-allowed}input,select,textarea{border:1px solid #bdcec4;background:#fff;border-radius:6px;padding:8px;color:var(--ink);max-width:100%}input[type=checkbox]{accent-color:var(--teal);padding:0}textarea{resize:vertical;min-height:78px;width:100%}a{color:var(--teal);text-underline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:20px;letter-spacing:1px}h1 span{font-size:15px;font-weight:400;opacity:.78;margin-left:12px}h2{font-size:27px;letter-spacing:.3px;margin:4px 0 8px}h3{font-size:18px}h4{font-size:15px;margin-bottom:8px}small,.muted{color:var(--muted)}header{background:#153932;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:19px 32px;gap:15px}.brand{display:flex;align-items:center;gap:14px}.brand small{color:#aacaaf;font-size:10px;letter-spacing:2px}.logo{border:1px solid #8eba9a;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-weight:600;color:var(--lime);font-size:16px}.header-meta{font-size:12px;color:#cadace;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:var(--lime)}.version{border-left:1px solid #628172;padding-left:12px;margin-left:6px}.headline{display:flex;justify-content:space-between;align-items:center;padding:27px 32px;gap:30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--teal)}.headline p{color:var(--muted);font-size:13px}.stats{display:flex;gap:25px}.stats>div{padding-left:23px;border-left:1px solid #cdd9cd;display:flex;flex-direction:column;min-width:114px}.stats strong{font-size:32px;font-weight:500;line-height:1.3}.stats em{font-style:normal;font-size:11px;margin-left:5px}.stats small{font-size:11px}nav{display:flex;padding:0 32px;border-bottom:1px solid #cfdbd1;gap:5px;background:#f6f8f3;overflow-x:auto}nav button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:13px 20px;background:transparent;white-space:nowrap;color:var(--muted)}nav button.active{border-bottom-color:var(--teal);color:var(--teal);font-weight:700;background:#e9f1e8}main{padding:24px 32px 32px;max-width:1800px;margin:auto}.page{display:none}.page.active{display:block}.model-layout{display:grid;grid-template-columns:minmax(0,1fr) 324px;gap:20px}.stage-card,.detail-card,.card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.stage-top{display:flex;justify-content:space-between;align-items:center;padding:17px 20px 10px}.badge{display:inline-block;padding:3px 9px;border:1px solid #ceded2;border-radius:5px;font-size:11px;background:#f5f9f3;color:#426153;white-space:nowrap}.toolbar{padding:10px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-bottom:1px solid var(--line);font-size:12px}.toolbar label{display:flex;align-items:center;gap:4px;white-space:nowrap}.toolbar select,.toolbar button{font-size:12px;padding:4px 7px}.toolbar input{margin:0 2px}#stage{height:475px;position:relative;background:#edf2ed;overflow:hidden;touch-action:none}#stage canvas{display:block;width:100%;height:100%}#webglError{position:absolute;z-index:3;padding:35px}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.unit-label{position:absolute;padding:2px 6px;background:#fffE;color:#2b4d45;font-size:10px;border:1px solid #b6cdbd;border-radius:4px;white-space:nowrap;transform:translate(-50%,-50%);box-shadow:0 2px 5px #36533a12}.unit-label.selected{background:#15483c;color:#fff;border-color:#fff;font-size:12px;z-index:3}.stage-note{position:absolute;bottom:12px;left:14px;pointer-events:none;color:#5b7566;font-size:10px;line-height:1.6}.scene-legend{position:absolute;top:12px;left:14px;background:#fffC;border:1px solid #dae3d8;padding:6px 9px;border-radius:5px;font-size:10px;display:flex;gap:10px;flex-wrap:wrap;max-width:85%;pointer-events:none}.scene-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.scene-legend span{white-space:nowrap}#modeWarning{position:absolute;top:44px;right:12px;border:1px solid #dca365;background:#fff1d7;color:#94551b;padding:4px 10px;font-size:12px;pointer-events:none}.unit-strip{display:flex;overflow:auto;padding:10px 14px;gap:6px;max-width:100%;border-top:1px solid var(--line)}.unit-strip button{font-size:11px;white-space:nowrap;padding:4px 8px}.unit-strip button.selected{background:#e0f0e8;border-color:#7bad99;color:var(--teal)}.stage-foot{padding:9px 15px 13px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:var(--muted);flex-wrap:wrap}.stage-foot button{font-size:11px;padding:5px 8px}.detail-card{padding:20px;overflow:auto;max-height:700px}.detail-card h3{margin:9px 0 12px;font-size:21px}.detail-card p{font-size:13px;margin:10px 0}.detail-card hr{border:0;border-top:1px solid var(--line);margin:18px 0}.subtle{background:#f2f6f0;border-radius:7px;padding:11px 13px;margin:12px 0;font-size:12px}.micro{font-size:11px;color:var(--muted)}.risk-link{display:block;width:100%;text-align:left;margin-top:7px;padding:9px;font-size:12px}.risk-link small{display:block}.callout{padding:15px 19px;border-left:4px solid var(--teal);background:#e7eee3;font-size:13px;margin-top:20px;border-radius:0 6px 6px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.section-head p{color:var(--muted);font-size:13px;margin-top:4px}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.filters input{min-width:180px}.split{display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px;align-items:start}.list-card{border:1px solid var(--line);background:white;border-radius:8px;overflow:hidden;max-height:770px;overflow-y:auto}.list-item{width:100%;border:0;border-bottom:1px solid #e5eae3;border-radius:0;text-align:left;padding:13px 15px;font-size:13px;display:block;background:#fff}.list-item.active{background:#e4eee3;border-left:4px solid var(--teal);padding-left:11px}.list-item small{display:block;font-size:10px;margin-top:3px}.card{padding:20px}.card+.card{margin-top:15px}.card p{margin:6px 0 12px}.tag{display:inline-block;border-radius:4px;padding:2px 7px;font-size:10px;border:1px solid #ced8d3;background:#f3f5f2;color:#53685e}.tag.red{background:#fde8e7;color:#a42f2f;border-color:#dfa39f}.tag.orange{background:#fff0e4;color:#a65a20;border-color:#dfbc9e}.tag.yellow{background:#fff8dc;color:#8e7313;border-color:#e2cf8c}.tag.blue{background:#e6f1fc;color:#1d609a;border-color:#a5c4dc}.tag.unknown{background:#eef1f0;color:#697c73}.tag.link{background:#f0e9fa;color:#71509a}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:15px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-grid label{font-size:12px;display:flex;flex-direction:column;gap:4px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;align-items:center;gap:10px;margin-top:13px;flex-wrap:wrap}.checklist{padding-left:20px;margin:8px 0 15px}.checklist li{padding:3px 0;font-size:13px}.note{font-size:12px;color:var(--muted);margin:10px 0}.empty{border:1px dashed #b4c6b7;padding:28px;text-align:center;color:#748479;border-radius:8px;background:#f7faf5}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0}.kpi{background:#fff;border:1px solid var(--line);border-radius:8px;padding:17px}.kpi strong{display:block;font-weight:500;font-size:32px;line-height:1.5}.kpi small{font-size:11px}.alert{background:#fff4de;border:1px solid #e4c486;color:#846229;padding:11px 14px;border-radius:6px;font-size:12px}.danger-note{background:#fbebe5;border:1px solid #e4b7a5;color:#985433;padding:11px 14px;border-radius:6px;font-size:12px}.progress-track{display:flex;gap:5px;margin:15px 0}.progress-track span{flex:1;height:5px;background:#dfe7dc;border-radius:4px}.progress-track .done{background:#329476}.round-options{display:grid;gap:10px;margin:18px 0}.round-options button{text-align:left;padding:14px}.round-options .selected{border:2px solid #6f9687;background:#eaf2e7}.round-options .correct{border-color:#0e836c;background:#e0f1e7}.round-options .wrong{border-color:#cd967f;background:#fcf0e9}.feedback{border-radius:7px;padding:15px;background:#eef4e9}.source-card h4{font-size:14px}.source-card p{font-size:12px}.source-card .micro{display:block}.timeline{border-left:2px solid #9bbc9e;padding-left:15px;margin-left:5px}.timeline>div{padding-bottom:12px}.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.flow>div{background:#eff5e9;border:1px solid #c9dabc;padding:12px;border-radius:6px;font-size:12px}.flow b{display:block;font-size:14px;margin-bottom:4px}.flow small{display:block}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:9px}th{background:#f1f5ef;font-weight:600}footer{display:flex;justify-content:space-between;gap:15px;padding:19px 32px;border-top:1px solid #ccd9cb;font-size:10px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183d33;color:#fff;max-width:90vw;padding:12px 20px;border-radius:8px;z-index:90;opacity:0;pointer-events:none;transition:.15s}#toast.show{opacity:1}.source-ref{font-size:11px}.pillrow{display:flex;gap:7px;flex-wrap:wrap}.smallbtn{font-size:11px;padding:4px 8px}.prompt-box{max-height:240px;overflow:auto;white-space:pre-wrap;font-family:inherit;background:#f5f7f1;border:1px solid #d8e2d4;padding:15px;border-radius:7px;font-size:12px}details{margin:12px 0}summary{cursor:pointer;font-size:13px;font-weight:600;padding:5px 0}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #6eac95;outline-offset:2px}[hidden]{display:none!important}@media(min-width:1600px){#stage{height:580px}}@media(max-width:1100px){.header-meta{display:none}.model-layout{grid-template-columns:minmax(0,1fr) 290px}.stats{gap:12px}.stats>div{min-width:80px;padding-left:12px}.stats strong{font-size:27px}.headline{gap:15px}h2{font-size:24px}nav button{padding:12px 13px}.grid3{grid-template-columns:1fr 1fr}}@media(max-width:850px){header{padding:15px 18px}h1{font-size:18px}h1 span{font-size:12px;margin-left:7px}.headline{display:block;padding:20px 18px}.stats{margin-top:19px;justify-content:space-between;gap:15px}.stats>div{flex:1}.stats strong{font-size:25px}h2{font-size:22px}nav{padding:0 14px}main{padding:18px 14px}.model-layout{grid-template-columns:1fr}.detail-card{max-height:none}.split{grid-template-columns:1fr}.list-card{max-height:230px}.grid3{grid-template-columns:1fr 1fr}#stage{height:430px}.kpi-grid{grid-template-columns:1fr 1fr}.unit-label:not(.selected){display:none}.flow{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start;flex-direction:column;gap:10px}footer{padding:15px 18px;flex-direction:column;gap:3px}}@media(max-width:500px){.logo{width:41px;height:41px;font-size:13px}.brand{gap:9px}.brand small{font-size:8px;letter-spacing:1px}h1{font-size:17px}h1 span{display:block;margin-left:0;font-size:11px}h2{font-size:21px}.headline p{font-size:12px}.headline{padding-bottom:17px}.stats strong{font-size:24px}.stats em{font-size:9px}.stats small{font-size:10px}nav button{font-size:12px;padding:12px 12px}.stage-top{padding:13px 14px 8px}h3{font-size:17px}.toolbar{padding:9px 12px;gap:7px}#stage{height:365px}.scene-legend{font-size:9px;gap:7px;left:9px;max-width:93%}.stage-note{font-size:9px;bottom:8px;left:10px}.stage-foot{font-size:9px}.card,.detail-card{padding:16px}.grid2,.grid3,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.kpi-grid{gap:9px}.kpi{padding:13px}.kpi strong{font-size:27px}.filters input{min-width:0;width:100%}.filters select{flex:1;min-width:0;font-size:12px}.risk-link{padding:8px}#modeWarning{font-size:10px;top:64px;right:8px}.card p{font-size:13px}.flow{gap:7px}.flow>div{padding:10px;font-size:11px}}

@media(max-width:850px){.unit-label:not(.selected){display:none!important}}

.pwa-bar{margin:0 32px 16px;padding:10px 16px;border:1px solid #c8d8cc;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;background:#e5eee3}.pwa-bar button{padding:4px 9px;font-size:11px}.review-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.review-grid .list-card{max-height:760px}.evidence-row{padding:12px 0;border-bottom:1px solid var(--line)}.evidence-row button{font-size:11px}.status-strip{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.status-strip span{font-size:12px;padding:7px 12px;border:1px solid var(--line);background:#fff;border-radius:6px}.decision-good{color:#077b68;background:#e2f0e6}.decision-stale{color:#ae6024;background:#fff0de}.decision-pending{color:#657970;background:#edf2eb}.milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.milestone{padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff}.milestone b{display:block;margin:6px 0}.milestone small{font-size:11px}.review-badge{margin-top:12px;padding:11px;background:#eef4e9;border-radius:7px;font-size:12px}.sticky-note{font-size:12px;margin:12px 0;line-height:1.8}.form-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.file-meta{font-size:11px;word-break:break-all;padding:7px;background:#f0f5ed}.history-list{font-size:11px;max-height:240px;overflow:auto}.history-list>div{padding:8px 0;border-bottom:1px solid #e1e8dc}.section-tabs{display:flex;gap:6px;margin-bottom:14px;overflow:auto}.section-tabs button{white-space:nowrap}.section-tabs .active{background:#e1eee0;border-color:#82ae94;color:#08765c}.task-id{font-size:10px;letter-spacing:.5px;color:#688274}#importPreview{margin:14px 0}.edit-warning{font-size:11px;color:#9b6435}#pwaHelpBox{margin:0 32px 16px}nav button{padding-left:15px;padding-right:15px}@media(max-width:850px){.review-grid{grid-template-columns:1fr}.review-grid .list-card{max-height:230px}.pwa-bar{margin:0 14px 14px;flex-direction:column;align-items:flex-start}.milestones{grid-template-columns:1fr 1fr}#pwaHelpBox{margin:0 14px 15px}.headline h2{font-size:22px}}@media(max-width:500px){.milestones{gap:8px}.milestone{padding:11px}.pwa-bar{font-size:10px}.status-strip{gap:6px}.status-strip span{font-size:11px;padding:5px 8px}}

nav{position:sticky;top:0;z-index:10}
/* V1.2 process atlas. These rules extend the existing workflow interface. */
.stage-card{box-shadow:0 10px 35px #284f4510}.stage-top{padding-top:15px}.stage-top h3 small{font-size:11px;color:#718b7c;font-weight:400;margin-left:7px}.viewbar{display:flex;align-items:center;gap:5px;padding:9px 16px;border-bottom:1px solid #d9e5dd;overflow-x:auto;background:#f9fbf6}.viewbar button{flex-shrink:0;font-size:11px;padding:5px 9px;border-radius:5px;background:transparent;border-color:transparent}.viewbar button.active{background:#235747;color:#fff}.viewbar button:last-child{margin-left:auto;border-color:#bdcfc2;color:#236751;background:#fff}#stage{height:530px;background:#e9f0ee}#stage canvas{position:absolute;inset:0}#labels{z-index:2}.unit-label{pointer-events:auto;font-size:10px;line-height:1.5;padding:3px 7px;border-radius:4px;font-weight:500;color:#285243;background:#fffffff0;box-shadow:0 2px 7px #32584919;min-height:24px}.unit-label.selected{background:#195240;border-color:#c5dec9;color:white;font-size:11px;padding:5px 9px;box-shadow:0 3px 8px #284f4540}.scene-legend{max-width:calc(100% - 28px);gap:7px;z-index:3;font-size:9px;background:#ffffffb8;backdrop-filter:blur(4px);top:12px;left:13px;right:auto}.stage-note{font-size:9px;bottom:13px;color:#4b7464;line-height:1.6;z-index:3}.scene-mode{position:absolute;top:47px;left:14px;font-size:9px;color:#56806f;pointer-events:none;z-index:3}.camera-tools{position:absolute;right:11px;bottom:12px;display:flex;gap:4px;z-index:4}.camera-tools button{font-size:18px;line-height:1;padding:7px 10px;background:#ffffffd9}.camera-tools select{font-size:11px;padding:4px;width:66px;background:#ffffffde}.sectionbar{padding:8px 16px;display:flex;align-items:center;gap:12px;border-top:1px solid #d8e4dc;font-size:11px;background:#f5f9f4}.sectionbar>input{padding:0;width:180px;min-width:60px;accent-color:#24755c}.sectionbar>span{font-size:9px;color:#668572;white-space:nowrap}.sectionbar>label:last-child{margin-left:auto;white-space:nowrap}.sectionbar select{font-size:10px;padding:3px}.explode-note{margin:0;padding:7px 16px;background:#fff7e6;color:#927040;font-size:10px}.process-steps{display:flex;gap:0;border-top:1px solid #dbe5de;border-bottom:1px solid #dbe5de;overflow-x:auto;padding:0 9px;scrollbar-width:thin}.process-steps button{border:0;border-radius:0;font-size:11px;flex:1;min-width:72px;white-space:nowrap;padding:10px 7px;color:#6a8476;background:#fff;border-bottom:3px solid transparent}.process-steps em{font-size:9px;font-style:normal;color:#86a190;margin-right:5px}.process-steps button.active{background:#edf5e9;border-bottom-color:#4c9978;color:#216a51;font-weight:600}.process-steps button.active em{color:#216a51}.guide-card{background:#f6f9f3;padding:13px 17px;display:flex;gap:20px;justify-content:space-between;align-items:center;min-height:92px}.guide-card strong{font-size:13px;color:#2b5c49}.guide-card p{font-size:11px;line-height:1.8;color:#68806f;margin-top:5px;max-width:750px}.guide-buttons{display:flex;gap:5px;flex-shrink:0}.guide-buttons button{font-size:11px;padding:5px 9px;white-space:nowrap}.unit-strip{background:#fff}.unit-strip button{font-size:10px;padding:5px 8px}.stage-foot{background:#fbfcf8;padding-top:11px}.detail-card{max-height:1000px}.toolbar{gap:10px}.toolbar label{font-size:11px}.toolbar button{font-size:11px}.toolbar button#fullView{margin-left:auto}#modeWarning{top:47px;right:11px;font-size:10px;z-index:3}.viewer-expanded{position:fixed;inset:8px;z-index:100;overflow:auto;box-shadow:0 0 0 15px #153932c9;border-radius:8px}.viewer-lock{overflow:hidden}.viewer-expanded #stage{height:calc(100dvh - 390px);min-height:330px}.viewer-expanded .stage-top{padding-top:8px}.viewer-expanded .guide-card{min-height:70px}.viewer-expanded .unit-strip{max-height:48px}button:focus-visible{outline-width:3px}
@media(min-width:1600px){#stage{height:625px}.viewer-expanded #stage{height:calc(100dvh - 390px)}}
@media(max-width:1100px){.model-layout{grid-template-columns:minmax(0,1fr) 280px}.toolbar{gap:7px}.sectionbar{gap:7px}.sectionbar>input{width:120px}.sectionbar>span{display:none}}
@media(max-width:850px){.model-layout{grid-template-columns:1fr}.unit-label:not(.selected){display:block!important}.unit-label[hidden]{display:none!important}#stage{height:490px}.headline{padding-top:16px;padding-bottom:16px}.headline h2{font-size:21px}.stats{margin-top:14px}.detail-card{max-height:none}.viewer-expanded #stage{height:calc(100dvh - 410px)}}
@media(max-width:500px){main{padding:12px 8px}.stage-top{padding:12px 12px 8px}.stage-top h3{font-size:16px}.toolbar{gap:8px;padding:9px 11px}.toolbar label,.toolbar button{font-size:10px}.toolbar label:first-child{width:100%}.toolbar label:first-child select{font-size:11px;width:147px}.toolbar button#fullView{margin-left:0}.viewbar{padding:7px 6px;gap:0}.viewbar button{font-size:10px;padding:5px 8px}.viewbar button:last-child{margin-left:0}#stage{height:450px}.scene-legend{font-size:8px;gap:5px;left:9px;top:10px;max-width:calc(100% - 18px);padding:5px 7px}.scene-mode{left:11px;top:44px;font-size:8px}.unit-label{font-size:9px;padding:3px 5px;max-width:210px}.unit-label.selected{font-size:10px}.sectionbar{font-size:10px;padding:8px 10px;gap:8px}.sectionbar>input{width:94px;flex:1}.sectionbar>label:last-child{margin-left:0}.stage-note{left:10px;bottom:12px;font-size:8px;max-width:55%}.camera-tools{bottom:12px;right:9px;gap:3px}.camera-tools button{padding:6px 8px}.camera-tools select{width:58px;font-size:10px}.guide-card{padding:12px;gap:10px;align-items:flex-start;min-height:118px}.guide-card strong{font-size:12px}.guide-card p{font-size:10px}.guide-buttons{flex-direction:column}.guide-buttons button{font-size:10px}.process-steps{padding:0 4px}.process-steps button{font-size:10px;min-width:70px;padding:9px 6px}.process-steps em{display:block;margin:0 0 2px}.unit-strip{padding:9px 10px}.viewer-expanded{inset:0;border-radius:0}.viewer-expanded #stage{height:calc(100dvh - 375px);min-height:330px}.viewer-expanded .guide-card{display:none}.viewer-expanded .stage-foot{font-size:9px}.viewer-expanded .unit-strip{display:none}#modeWarning{font-size:9px;top:61px}.headline p{font-size:11px}.headline .eyebrow{font-size:8px}header{padding:12px 16px}.stats strong{font-size:23px}.stats small{font-size:9px}}

.viewer-expanded{display:flex;flex-direction:column;overflow:hidden}.viewer-expanded #stage{flex:1 1 auto;height:auto!important;min-height:180px}.viewer-expanded>.stage-top,.viewer-expanded>.toolbar,.viewer-expanded>.viewbar,.viewer-expanded>.sectionbar,.viewer-expanded>.process-steps,.viewer-expanded>.stage-foot,.viewer-expanded>.unit-strip,.viewer-expanded>.guide-card{flex-shrink:0}.viewer-expanded #explodeNote{flex-shrink:0}.stage-note,.scene-mode{text-shadow:0 1px 2px #ffffff}
/* V1.3: parameter exercises, equations and independent evidence. */
.sb-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:22px 25px;background:#e0ebe3;border:1px solid #ceddd2;border-radius:10px}.sb-hero h2{font-size:25px;letter-spacing:-.3px;margin-top:6px}.sb-hero p{font-size:12px;color:#58766a}.sb-sim-tag{flex:none;border:1px solid #9fbbab;color:#3e6957;border-radius:5px;padding:8px 13px;font-size:11px;line-height:1.65}.sb-nav,.sb-case-tabs{display:flex;gap:6px;overflow:auto;margin-bottom:18px;padding-bottom:2px}.sb-nav button,.sb-case-tabs button{white-space:nowrap;font-size:12px;padding:9px 15px}.sb-nav .active,.sb-case-tabs .active{color:#fff;background:#225d4d;border-color:#225d4d}.sb-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px 0}.sb-actions>label{display:flex;align-items:center;gap:8px;font-size:12px}.sb-actions input{width:185px}.sb-actions button{font-size:12px}.sb-context{border-left:3px solid #8ca98c;background:#e9f0e4;font-size:12px;padding:11px 15px;margin:10px 0 16px;line-height:1.8}.sb-context small{font-size:10px;color:#637a65}.sb-layout{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(0,1.65fr);gap:18px;align-items:start}.sb-inputs{background:#fff;border:1px solid #d2ded5;border-radius:9px;overflow:hidden}.sb-inputs details{margin:0;border-bottom:1px solid #dce5dc;padding:10px 16px}.sb-inputs details:last-child{border:0}.sb-inputs summary{font-size:12px;color:#385c4d;padding:5px 0}.sb-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px;padding:14px 0 6px}.sb-field{display:flex;flex-direction:column;gap:4px;font-size:11px;min-width:0}.sb-field>span{line-height:1.55;min-height:34px;font-weight:600}.sb-field input[type=number]{width:100%;font-size:16px;font-variant-numeric:tabular-nums;padding:7px 9px}.sb-field i{font-size:9px;font-style:normal;color:#668777;font-weight:400}.sb-field em{font-size:9px;font-style:normal;font-weight:400;padding:1px 4px;margin-left:3px;border-radius:3px;background:#eff3eb;color:#7a8b70}.sb-field small{font-size:10px;line-height:1.6;color:#76887a}.sb-field .sb-range{height:18px;border:0;padding:0;accent-color:#4e8568;width:100%;margin:1px 0 0}.sb-results{min-width:0}.sb-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}.sb-kpis>div{display:flex;flex-direction:column;padding:16px;border:1px solid #d1dfd4;border-radius:8px;background:#fff;min-width:0}.sb-kpis>div:last-child{background:#245f4e;border-color:#245f4e;color:white}.sb-kpis small{font-size:10px;line-height:1.5;min-height:29px}.sb-kpis>div:last-child small,.sb-kpis>div:last-child span{color:#c2dac7}.sb-kpis b{font-size:29px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:-1px}.sb-kpis span{font-size:9px;color:#7e8d81;margin-top:4px}.sb-guard{padding:10px 13px;border:1px solid #ddd4a9;background:#fbf6e5;border-radius:6px;font-size:11px;line-height:1.7;margin-bottom:12px;display:flex;flex-direction:column;gap:3px;color:#85713e}.sb-card{padding:20px;background:white;border:1px solid #d6e1d7;border-radius:9px;margin-bottom:13px;min-width:0}.sb-card h3{font-size:16px;margin-bottom:9px}.sb-card h3 small{font-weight:400;font-size:10px;margin-left:4px}.sb-card p{margin:8px 0}.sb-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.sb-card-head h3{margin-bottom:3px}.sb-card-head>.pillrow{justify-content:flex-end}.sb-card table{font-size:11px}.sb-card th{font-size:10px}.sb-card td{font-variant-numeric:tabular-nums}.sb-card .table-wrap{max-width:100%}.sb-bars{display:grid;gap:10px;margin:18px 0 12px}.sb-bars>div{display:grid;grid-template-columns:70px minmax(0,1fr) 62px;align-items:center;gap:10px;font-size:11px}.sb-bars i{height:7px;border-radius:9px;background:#f0f4ed;overflow:hidden}.sb-bars b{display:block;height:100%;min-width:0;border-radius:9px}.sb-bars strong{font-weight:500;text-align:right;color:#557363;font-variant-numeric:tabular-nums}.sb-less{color:#147655}.sb-more{color:#b65733}.sb-hydraulics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.sb-hydraulics>div{border:1px solid #e2e9df;background:#f8faf5;border-radius:5px;padding:9px}.sb-hydraulics small{display:block;font-size:9px}.sb-hydraulics b{font-size:20px;font-weight:500}.sb-hydraulics em{font-size:10px;font-style:normal;color:#7b8c7e}.sb-quality{margin-top:18px}.sb-quality-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:13px 0}.sb-quality-fields label{font-size:11px;display:flex;flex-direction:column;gap:5px;min-width:0}.sb-quality-fields label>small{font-size:9px;min-height:14px}.sb-quality-fields input{width:100%;font-size:15px}.sb-quality-fields span{font-size:9px;line-height:1.6}.sb-q-status{font-size:11px;font-weight:600;color:#846735}.sb-quality .note{margin-top:15px}.sb-unit{margin:12px 0;padding:12px;border:1px solid #bdd6e0;border-radius:6px;background:#edf4f6;font-size:12px}.sb-unit p{font-size:11px!important}.sb-role-link{margin-bottom:15px}.sb-invalid{padding:22px;border:1px solid #e0b19b;background:#fff4ed;border-radius:8px;color:#94542f}.sb-practice{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}.sb-practice aside{background:#eaf1e5}.sb-practice aside>p{font-size:12px}.sb-practice aside .pillrow{display:grid;grid-template-columns:1fr;margin:15px 0}.sb-practice aside button{font-size:12px}.sb-practice aside details p{font-size:11px;line-height:1.85}.sb-score{font-size:55px;font-weight:400;color:#285943;line-height:1.3;margin:16px 0 0}.sb-score small{font-size:13px}.sb-evidence{display:grid;gap:9px;margin:17px 0}.sb-evidence article{padding:12px 15px;background:#f5f8f1;border:1px solid #dbe5d5;border-radius:6px}.sb-evidence b{font-size:10px;color:#50816a;letter-spacing:.4px}.sb-evidence p{font-size:12px;margin:5px 0 0;line-height:1.9}.sb-evidence-checks{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}.sb-evidence-checks label{background:#f3f6ee;border:1px solid #d9e3d3;border-radius:5px;padding:7px 8px;display:flex;align-items:center;gap:4px;font-size:10px}.sb-answer{display:block;font-size:12px;margin:12px 0}.sb-answer textarea{display:block;margin-top:5px}.sb-practice .feedback{font-size:12px;line-height:1.9}.sb-practice .feedback>button{margin-top:13px}.sb-practice .feedback table{background:#f7faf4}.sb-practice .round-options button{font-size:12px;line-height:1.85}.sb-practice .round-options button:disabled{opacity:1;color:#66786a}.sb-practice .round-options button.selected{color:#214d38}.sb-practice .round-options button.wrong{color:#95563f}.sb-practice .alert{margin-top:16px}.sb-practice .prompt-box{word-break:break-word;font-size:10px}.sb-practice .timeline{margin-top:20px}.sb-practice .timeline .micro{line-height:1.95}.sb-practice summary{font-size:12px}.sb-practice aside .badge{font-size:10px}.sb-practice aside h3{margin-top:12px;font-size:20px}.sb-practice aside .sb-context{font-size:11px}.sb-card .source-card{margin:0}
@media(max-width:1150px){.sb-layout{grid-template-columns:340px minmax(0,1fr)}.sb-kpis b{font-size:25px}.sb-kpis>div{padding:12px}.sb-hero h2{font-size:22px}.sb-actions{align-items:flex-start}.sb-quality-fields{grid-template-columns:repeat(3,1fr)}.sb-kpis small{min-height:40px}}
@media(max-width:900px){.sb-layout{grid-template-columns:1fr}.sb-inputs .sb-fields{grid-template-columns:repeat(3,1fr)}.sb-kpis small{min-height:unset}.sb-practice{grid-template-columns:1fr}.sb-practice aside .pillrow{display:flex}.sb-practice aside .sb-score{float:right;margin:0}.sb-practice aside>p{max-width:82%}.sb-actions{flex-direction:column}.sb-hero{padding:20px}.sb-card-head{flex-wrap:wrap}.sb-card-head>.pillrow{justify-content:flex-start}}
@media(max-width:500px){.sb-hero{padding:18px 14px;gap:8px;align-items:flex-start}.sb-hero h2{font-size:20px;line-height:1.45;letter-spacing:0}.sb-hero p{font-size:11px}.sb-hero .eyebrow{font-size:8px;letter-spacing:1.2px}.sb-sim-tag{font-size:8px;padding:5px 7px;margin-top:5px}.sb-nav,.sb-case-tabs{gap:5px;margin-bottom:12px}.sb-nav button,.sb-case-tabs button{font-size:11px;padding:9px 11px;min-height:38px}.sb-actions{margin:12px 0;gap:10px}.sb-actions .pillrow{gap:5px}.sb-actions button{font-size:11px;padding:8px 10px}.sb-context{font-size:11px;padding:10px 12px}.sb-inputs details{padding:10px 13px}.sb-inputs .sb-fields{grid-template-columns:1fr 1fr;gap:15px 13px}.sb-field>span{font-size:11px;min-height:34px}.sb-field small{font-size:10px}.sb-field input[type=number]{font-size:16px;min-height:40px}.sb-layout{gap:14px}.sb-kpis{gap:6px}.sb-kpis>div{padding:11px 8px}.sb-kpis small{font-size:9px;min-height:28px}.sb-kpis b{font-size:23px;letter-spacing:-.7px}.sb-kpis span{font-size:8px;line-height:1.65}.sb-card{padding:16px 12px}.sb-card h3{font-size:15px}.sb-card td,.sb-card th{padding:8px 6px;font-size:10px}.sb-card td small{font-size:9px}.sb-card .smallbtn{font-size:10px;padding:5px 8px}.sb-bars>div{grid-template-columns:63px minmax(0,1fr) 52px;gap:8px;font-size:10px}.sb-hydraulics small{font-size:8px}.sb-hydraulics b{font-size:19px}.sb-hydraulics>div{padding:8px 6px}.sb-quality-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.sb-quality-fields input{font-size:16px}.sb-quality .note{font-size:10px;line-height:1.9}.sb-practice{gap:0}.sb-practice aside h3{font-size:18px}.sb-practice aside .pillrow{gap:6px}.sb-practice aside button{font-size:11px;padding:8px}.sb-practice .sb-evidence article{padding:11px}.sb-practice .sb-evidence p{font-size:11px}.sb-evidence-checks{gap:5px}.sb-evidence-checks label{font-size:9px;padding:8px 6px;min-height:36px}.sb-answer textarea{font-size:16px}.sb-practice .round-options button{padding:12px;font-size:11px}.sb-practice .feedback{font-size:11px}.sb-card .form-grid input{font-size:16px}.sb-card .form-grid textarea{font-size:16px}.sb-kpis,.sb-card,.sb-inputs{overflow-wrap:anywhere}#page-sandbox .table-wrap table{min-width:0}.sb-role-link button{min-height:38px}}
#sbResults{scroll-margin-top:70px}#sbJumpResult{display:none}@media(max-width:900px){#sbJumpResult{display:inline-block}}
