/* Strategic command: operational projects, personnel dossiers and qualifications. */
.view-bunker.active{grid-template-columns:minmax(0,1fr) 390px}
.view-bunker .base-left{overflow:auto;min-height:0;padding-right:3px}
.view-bunker .bunker-grid{flex:0 0 auto;grid-template-rows:repeat(2,minmax(165px,auto)) auto;overflow:visible}
.view-bunker .room-card{min-height:176px;position:relative}
.room-crew-line{font:7px Consolas,monospace;letter-spacing:.55px;color:#587d86;margin:0 0 9px}
.room-project-track{position:absolute;bottom:0;left:0;right:0;height:2px;background:#2b4147}
.room-project-track i{display:block;height:100%;background:#d0b47a}
.base-operations{grid-column:1/-1;background:linear-gradient(125deg,#10232a,#0b1920);border:1px solid #29414b;padding:22px;margin-top:5px}
.operations-topline{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}
.operations-topline .eyebrow{font-size:7px;letter-spacing:1.3px}.operations-topline h3{font-size:19px;font-weight:350;margin:9px 0 0;color:#c9d8d1}
.operations-topline .tbtn{font-size:7px;white-space:normal;max-width:145px;padding:8px;text-align:right}
.operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #29434b;border-bottom:1px solid #29434b;padding:17px 0;margin-bottom:18px;gap:15px}
.operations-metrics>div,.operations-metrics>button{background:none;border:0;padding:0;text-align:left;color:#b9cec4;min-width:0}
.operations-metrics>button{cursor:pointer}.operations-metrics>button:hover strong{color:#efcd87}
.operations-metrics strong{display:block;font:25px Consolas,monospace;color:#c7d2b6;margin-bottom:9px;font-weight:350}
.operations-metrics strong small{font-size:10px;color:#789997}.operations-metrics span{display:block;font:6px Consolas,monospace;letter-spacing:.5px;color:#6b8c96;line-height:1.6}
.directive-header{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:11px}
.directive-header>span:first-child{font:7px Consolas,monospace;letter-spacing:1px;color:#a2b9b6;white-space:nowrap;padding-top:3px}
.directive-header>span:last-child{font-size:9px;line-height:1.6;color:#73959d;text-align:right;max-width:320px}
.directive-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}
.directive-choice{background:#0c1b23;border:1px solid #2f4c57;padding:10px 5px;font:8px Consolas,monospace;letter-spacing:1px;color:#8eaaa9;cursor:pointer}
.directive-choice.selected{background:#213b33;border-color:#749482;color:#c5d5b2}.directive-choice:hover{border-color:#93b9ab}
.pipeline-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pipeline-overview>button{display:flex;flex-direction:column;text-align:left;padding:12px;background:#101f25;border:1px solid #263e47;cursor:pointer;gap:6px;min-width:0}
.pipeline-overview>button>span{font:6px Consolas,monospace;letter-spacing:1px;color:#62858e}.pipeline-overview strong{font-size:11px;font-weight:400;color:#b4c8be;line-height:1.4}.pipeline-overview small{font:6px Consolas,monospace;letter-spacing:.5px;color:#8b9f80}
.strategy-tabs{position:sticky;top:-24px;margin:-24px -24px 22px;padding:12px 12px 9px;background:#11232b;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;border-bottom:1px solid #35505a;z-index:5}
.strategy-tab{display:flex;align-items:center;justify-content:center;gap:4px;font:7px Consolas,monospace;letter-spacing:.6px;background:none;border:0;border-bottom:2px solid transparent;color:#6f929b;padding:10px 3px;cursor:pointer}
.strategy-tab.active{color:#c4d9bb;border-color:#9ab494}.strategy-tab i{font:6px Consolas,monospace;background:#d7bc82;color:#182124;padding:2px 4px;min-width:11px;text-align:center;font-style:normal}
.crew-card{display:flex;gap:10px;align-items:center;border:1px solid #2b434b;background:#0d1d25;padding:12px 10px;margin-bottom:13px}
.crew-badge{width:31px;height:34px;flex:0 0 31px;display:flex;align-items:center;justify-content:center;border:1px solid #456668;background:#193337;font:15px Consolas;color:#94b1a3}
.crew-card>div:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.crew-card strong{font-size:11px;font-weight:400;color:#bcd0c6}.crew-card span{font:6px Consolas,monospace;letter-spacing:.4px;color:#709096}.crew-card small{font-size:8px;line-height:1.4;color:#587b89}.crew-card>b{font:6px Consolas,monospace;letter-spacing:.2px;align-self:flex-start;padding-top:3px;white-space:nowrap}
.project-duration{font:6px Consolas,monospace!important;letter-spacing:.6px;line-height:1.6!important;margin:10px 0;color:#7f927b!important}
.personnel-summary{margin-top:16px}.personnel-summary>.tbtn{margin-top:10px;width:100%;font-size:8px}
.personnel-mini{display:flex;align-items:center;width:100%;gap:11px;text-align:left;padding:11px 9px;background:#0d1d24;border:1px solid #29434c;margin:0 0 7px;cursor:pointer;position:relative}
.personnel-mini:hover{border-color:#5b8d82;background:#142a2c}.personnel-mini>span:nth-child(2){flex:1;min-width:0}.personnel-mini strong{display:block;font-size:12px;color:#c1d4ca;font-weight:450;margin-bottom:5px}.personnel-mini small{display:block;font-size:8px;color:#7799a2;line-height:1.5}.personnel-mini>b{font:8px Consolas,monospace;color:#b3c4a8}.personnel-mini>i{position:absolute;right:9px;bottom:6px;font:5px Consolas;color:#e0c489;letter-spacing:.5px;font-style:normal}.personnel-mini.fallen{opacity:.5}
.operator-selector{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:20px}.operator-selector button{border:1px solid #2a4751;background:#0e1e26;padding:7px 9px;color:#74989f;font:8px Consolas,monospace;cursor:pointer}.operator-selector button.selected{color:#c9d8b8;border-color:#678b7b;background:#1d362e}
.dossier-hero{display:flex;gap:18px;align-items:center;margin-bottom:19px}.dossier-hero>.portrait{height:86px;width:70px;flex-basis:70px;background:radial-gradient(ellipse at 50% 32%,#466669,#112932);border-color:#4d7775}.dossier-hero>.portrait svg{width:70px;height:88px}.dossier-hero>div:last-child{flex:1}.dossier-hero .eyebrow{font-size:6px;letter-spacing:.6px;color:#6d9398}.dossier-hero h2{font-size:31px;font-weight:350;margin:8px 0 5px;color:#d4e0d3}.dossier-hero p{font-size:9px;line-height:1.5;margin:0 0 8px;color:#8facad}.dossier-status{font:7px Consolas,monospace;letter-spacing:.7px}
.operator-biography{font-size:11px;color:#91aab1;line-height:1.85;margin:0 0 17px}.operator-record{display:grid;gap:9px;margin:0;padding:14px 0;border-top:1px solid #2e454d;border-bottom:1px solid #2e454d}.operator-record>div{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.operator-record dt{font:6px Consolas,monospace;letter-spacing:.6px;color:#537e8a;flex-shrink:0}.operator-record dd{font-size:8px;line-height:1.5;color:#93adae;margin:0;text-align:right}
.service-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 0;border-bottom:1px solid #2b444d}.service-metrics b{display:block;font:22px Consolas,monospace;color:#becdab;margin-bottom:8px}.service-metrics span{font:6px Consolas,monospace;letter-spacing:.5px;color:#698c98}
.qualification-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;padding:18px 0}.qualification-progress>span{font:7px Consolas;color:#91aba3}.qualification-progress>b{font:7px Consolas;color:#748f92}.qualification-progress>div{height:4px;width:100%;background:#233b43}.qualification-progress i{height:100%;display:block;background:#b59d69}
.operator-combat-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#29424a;border:1px solid #29424a;margin-bottom:24px}.operator-combat-stats>div{background:#10222a;padding:12px;text-align:center}.operator-combat-stats b{display:block;color:#c1d0bb;font:18px Consolas,monospace;margin-bottom:7px}.operator-combat-stats span{color:#648e98;font:6px Consolas,monospace;letter-spacing:.6px}
.strategy-section-title{font:9px Consolas,monospace;letter-spacing:1.2px;color:#a0bcb8;margin:22px 0 14px;padding-bottom:10px;border-bottom:1px solid #36505a}
.operator-loadouts>div{padding:14px;background:#0c1b22;border:1px solid #2b424c;margin-bottom:9px}.loadout-slot{display:block;font:7px Consolas,monospace;letter-spacing:.7px;color:#6d929a;margin-bottom:12px}.weapon-loadout strong{display:block;font-size:15px;font-weight:400;color:#c7d5c2;margin-bottom:9px}.weapon-loadout>small{font:7px Consolas;color:#7c9c9c}.weapon-loadout>.tbtn{display:block;width:100%;font-size:7px;margin-top:13px;min-height:30px}.kit-loadout select{width:100%;background:#142b32;border:1px solid #45615f;color:#b5cdbf;padding:9px;font-size:11px}.kit-loadout p{font-size:9px;line-height:1.7;color:#73969d;margin:10px 0 0}
.rig-options{display:flex;flex-direction:column;gap:7px}.rig-card{display:flex;flex-direction:column;gap:7px;text-align:left;padding:11px;background:#10212a;border:1px solid #2d4c55;color:#aac0b7;cursor:pointer}.rig-card.selected{border-color:#71927a;background:#1c322b;opacity:1}.rig-card strong{font-size:11px;font-weight:450}.rig-card small{font-size:9px;line-height:1.6;color:#769a9e}.rig-card span{font:6px Consolas,monospace;letter-spacing:.7px;color:#b9ab80}.rig-card:disabled:not(.selected){opacity:.45;cursor:not-allowed}
.qualification-tree{padding-top:12px;margin-top:10px}.qualification-tree .section-header{margin-bottom:18px}.qualification-tier{margin-bottom:15px}.qualification-rank{font:6px Consolas,monospace;letter-spacing:.7px;color:#9aac91;margin-bottom:9px}.perk-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.perk-card{display:flex;flex-direction:column;gap:8px;text-align:left;background:#10232b;border:1px solid #3c5b62;padding:12px 10px;min-height:118px;cursor:pointer}.perk-card>span{font:6px Consolas,monospace;letter-spacing:.8px;color:#74918f}.perk-card strong{font-size:12px;font-weight:450;color:#c8d6c4;line-height:1.4}.perk-card small{font-size:9px;line-height:1.6;color:#83a0a5}.perk-card.selected{border-color:#b8a573;background:linear-gradient(135deg,#393929,#1c2e28);opacity:1}.perk-card.selected>span{color:#e0c68e}.perk-card:disabled:not(.selected){opacity:.5;cursor:default}.qualification-tier.locked{opacity:.65}.qualification-tree>.tbtn{font-size:7px;width:100%;margin-bottom:12px}
.service-history-entry,.situation-log-entry{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #233d46}.service-history-entry>span,.situation-log-entry>span{font:7px Consolas;color:#567c88}.service-history-entry>div,.situation-log-entry>div{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.service-history-entry strong,.situation-log-entry strong{font-size:11px;color:#b0c6c0;font-weight:400}.service-history-entry small,.situation-log-entry small{font:6px Consolas;color:#5c8791;letter-spacing:.4px}.service-history-entry>b,.situation-log-entry>b{font:6px Consolas;letter-spacing:.3px}.service-history p,.strategy-empty{font-size:10px;line-height:1.8;color:#70929b}
.strategy-panel-heading>.eyebrow{font-size:7px;letter-spacing:.7px}.strategy-panel-heading h2{font-size:27px;font-weight:350;letter-spacing:-.4px;color:#c4d6cb;margin:11px 0}.strategy-panel-heading>p{font-size:11px;line-height:1.8;color:#819ea8;margin-bottom:23px}.project-lane{margin-bottom:23px}.empty-project-lane{border:1px dashed #365058;background:#0c1e25;padding:19px 14px;font:8px Consolas;color:#5f8690;line-height:1.8;letter-spacing:.5px}
.project-card{background:#11262c;border:1px solid #3b5c60;margin:12px 0;padding:14px}.project-card.queued{background:#0d1f26;border-color:#304b56}.project-card.paused{border-color:#997351;background:#2e2720}.project-card-top{display:flex;justify-content:space-between;gap:8px;font:6px Consolas,monospace;letter-spacing:.5px;color:#739895}.project-card-top>b{font-weight:400;color:#c0b78a}.project-card h4{font-size:14px;font-weight:400;color:#c1d5ca;margin:12px 0 14px;line-height:1.5}.project-progress{height:4px;background:#294047;margin-bottom:8px}.project-progress>i{height:100%;display:block;background:#adbd8c}.project-progress-label{display:flex;justify-content:space-between;font:6px Consolas;color:#6c9298;letter-spacing:.5px}.project-card>.tbtn{font-size:6px;width:100%;min-height:27px;margin-top:15px;padding:8px 4px;color:#ac9e83;border-color:#52605a}
.research-catalog-card{border:1px solid #2e4854;padding:15px;background:#0d2028;margin-bottom:10px}.research-catalog-card>div>span{font:6px Consolas;color:#889d81;letter-spacing:.5px}.research-catalog-card h4{font-size:14px;font-weight:400;color:#bfd2c4;margin:10px 0}.research-catalog-card p{font-size:10px;line-height:1.75;color:#779ca4;margin:0 0 12px}.research-catalog-card>.tbtn{width:100%;font-size:7px;min-height:32px}.research-requirement{display:block;color:#a5906e;font-size:8px;line-height:1.6;margin-top:10px}.research-catalog-card.complete{border-color:#486a57;background:#183029;opacity:.7}.completed-projects>div{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid #2b434b}.completed-projects span{font:7px Consolas;color:#5d8390;white-space:nowrap}.completed-projects strong{font-size:10px;font-weight:400;color:#93b0a8}
.situation-threat{padding:20px;border:1px solid #715c47;background:linear-gradient(130deg,#332d24,#15282b);margin-bottom:16px}.situation-threat>span{font:7px Consolas;color:#b39c77;letter-spacing:.7px}.situation-threat strong{display:block;font:39px Consolas;color:#d7c69e;margin:15px 0 11px;font-weight:350}.situation-threat strong small{font-size:10px;color:#a59c87}.situation-threat p{font-size:9px;line-height:1.7;color:#9a9f8a;margin:0}.situation-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:11px 0 17px;border-bottom:1px solid #314953}.situation-metrics b{display:block;font:23px Consolas;color:#b9c8ae;margin-bottom:8px}.situation-metrics span{font:5px Consolas;color:#6c8a96;letter-spacing:.4px}.base-log-entry{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid #263d47}.base-log-entry>span{font:7px Consolas;color:#537d8a;padding-top:3px}.base-log-entry>p{margin:0;font-size:10px;color:#83a5ad;line-height:1.7}
@media(min-width:1700px){.view-bunker.active{grid-template-columns:minmax(0,1fr) 445px}.view-bunker .room-card{min-height:193px}.operations-topline h3{font-size:23px}.operations-metrics span{font-size:7px}.strategy-tab{font-size:8px}.perk-card{min-height:127px}.operator-biography{font-size:12px}}
@media(max-width:1200px){.view-bunker.active{grid-template-columns:minmax(0,1fr) 330px}.strategy-tabs{top:-20px;margin:-20px -20px 19px;padding:10px 7px}.strategy-tab{font-size:6px;letter-spacing:.3px}.base-operations{padding:16px}.operations-topline{gap:8px}.operations-topline h3{font-size:16px}.operations-topline .tbtn{font-size:6px}.operations-metrics{gap:8px}.operations-metrics strong{font-size:21px}.operations-metrics span{font-size:5px}.directive-header{gap:10px}.directive-header>span:first-child{font-size:6px}.directive-header>span:last-child{font-size:8px}.directive-choice{font-size:7px}.crew-card{gap:7px;padding:10px 7px}.crew-card strong{font-size:10px}.crew-card>b{font-size:5px}.perk-card{padding:10px 8px}.perk-card strong{font-size:11px}.perk-card small{font-size:8px}}
@media(max-width:980px){.view-bunker.active{grid-template-columns:minmax(0,1fr) 300px}.view-bunker .bunker-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.view-bunker .room-card{min-height:173px}.operations-topline{align-items:flex-start}.operations-topline>.tbtn{max-width:95px}.operations-metrics{grid-template-columns:repeat(2,1fr);gap:18px}.operations-metrics span{font-size:6px}.directive-header{flex-direction:column;gap:8px}.directive-header>span:last-child{text-align:left}.directive-choices{grid-template-columns:1fr}.pipeline-overview{grid-template-columns:1fr}.dossier-hero{gap:12px}.dossier-hero>.portrait{width:58px;flex-basis:58px;height:76px}.dossier-hero h2{font-size:27px}}
@media(max-width:720px){.view-bunker .base-left{overflow:visible;padding-right:0}.view-bunker .bunker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.view-bunker .room-card{min-height:168px}.view-bunker .bunker-detail{padding:22px;max-height:none}.base-operations{margin-top:7px;padding:17px}.operations-topline{flex-direction:column;gap:10px}.operations-topline>.tbtn{max-width:none;text-align:left;padding-left:0}.operations-metrics strong{font-size:26px}.directive-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.directive-choice{font-size:6px;letter-spacing:.4px}.pipeline-overview{grid-template-columns:1fr 1fr;gap:7px}.pipeline-overview>button{padding:9px}.pipeline-overview strong{font-size:10px}.strategy-tabs{position:relative;top:auto;margin:-22px -22px 20px;padding:10px}.strategy-tab{font-size:7px;letter-spacing:.3px;padding:10px 1px}.operator-combat-stats>div{padding:11px 6px}.operator-combat-stats b{font-size:17px}.dossier-hero .eyebrow{font-size:5px}.operator-record>div{flex-direction:column;gap:5px}.operator-record dd{text-align:left}.service-metrics span{font-size:5px}.perk-card{min-height:134px}.crew-card strong{font-size:10px}.crew-card>div:nth-child(2){gap:5px}.crew-card>b{font-size:5px}.project-card{padding:12px}.project-card-top{font-size:5px}.project-progress-label{font-size:5px}.research-catalog-card{padding:13px}}
.view-bunker.personnel-workbench.active{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.view-bunker.personnel-workbench>.base-left{display:none}.view-bunker.personnel-workbench>.bunker-detail{width:100%;min-width:0;padding:24px;background:linear-gradient(135deg,#12252f,#0b171f 65%)}.personnel-workbench .strategy-tabs{grid-template-columns:repeat(6,minmax(0,1fr));max-width:none}.personnel-workbench .strategy-tab{font-size:12px;letter-spacing:1px;min-height:42px}.workbench-records{margin-top:26px;border:1px solid #344d56;background:#101f28}.workbench-records>summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;padding:18px 22px;color:#c4d6cc;font:12px Consolas,monospace}.workbench-records>summary>span{color:#91b2a9;font-size:10px}.workbench-records>.operator-selector{display:none}.workbench-records>.operator-dossier{padding:24px}.workbench-records .qualification-tree{max-width:100%}.workbench-records .qualification-tree>.qualification-tier{display:inline-block;vertical-align:top;width:calc(33.333% - 12px);margin-right:12px}.workbench-records .perk-options{grid-template-columns:1fr}.workbench-records .perk-card{min-height:110px}.workbench-records .perk-card strong{font-size:16px}.workbench-records .perk-card small{font-size:12px;line-height:1.6}
@media(max-width:900px){.workbench-records .qualification-tree>.qualification-tier{display:block;width:100%;margin-right:0}.workbench-records .perk-options{grid-template-columns:1fr 1fr}}@media(max-width:600px){.view-bunker.personnel-workbench>.bunker-detail{padding:15px}.personnel-workbench .strategy-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:-15px -15px 18px}.personnel-workbench .strategy-tab{font-size:10px}.workbench-records>summary{flex-direction:column;padding:16px}.workbench-records>.operator-dossier{padding:16px}.workbench-records .perk-options{grid-template-columns:1fr}}
.view-bunker.academy-workbench.active{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.view-bunker.academy-workbench>.base-left{display:none}.view-bunker.academy-workbench>.bunker-detail{min-width:0;padding:24px;background:linear-gradient(135deg,#12252f,#0b171f 65%)}.academy-workbench .strategy-tab{font-size:12px;min-height:42px}.tactical-academy{max-width:1250px;margin:auto}.tactical-academy>.strategy-panel-heading h2{font-size:32px}.tactical-academy>.strategy-panel-heading p{font-size:14px;max-width:800px;line-height:1.7}
@media(max-width:600px){.view-bunker.academy-workbench>.bunker-detail{padding:15px}.academy-workbench .strategy-tabs{margin:-15px -15px 18px;grid-template-columns:repeat(3,minmax(0,1fr))}.academy-workbench .strategy-tab{font-size:10px}.tactical-academy>.strategy-panel-heading h2{font-size:25px}}
.action-buttons>.emergency-intercept{border-color:#b6a06c;background:#3b3528;color:#eadbb5;white-space:normal}.action-buttons>.emergency-intercept>span{color:#bcd7af}.action-buttons>.intercept-note{color:#c4b995;line-height:1.6;max-width:360px}.emergency-intercept:focus-visible{outline:2px solid #eddfa9;outline-offset:3px}
