:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f4f1e8;font-synthesis:none;text-rendering:optimizelegibility;background:#101414;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(135deg,#19a7a524,#0000 36%),linear-gradient(315deg,#e7583e24,#0000 32%),#101414;min-width:320px;min-height:100vh;margin:0}button{font:inherit;border:0}@keyframes soft-pop{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes table-reveal{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.collapsible-region{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .18s,opacity .16s;display:grid;overflow:hidden}.collapsible-region.open{opacity:1;grid-template-rows:1fr}.collapsible-region>*{min-height:0}.app-shell{width:min(1180px,100%);margin:0 auto;padding:20px 20px 104px}.topbar,.status-band,.workspace{width:100%}.home-shell{min-height:100vh;padding-bottom:40px}.page-header{justify-content:space-between;align-items:center;gap:16px;padding:10px 2px 22px;display:flex}.page-header h1{line-height:1.04}.page-header-action{white-space:nowrap;justify-content:center;align-items:center;gap:8px;display:inline-flex}.roster-list{gap:10px;display:grid}.roster-card{background:#121818e6;border:1px solid #f4f1e81f;border-radius:8px;position:relative;overflow:hidden;box-shadow:0 12px 32px #00000038}.roster-card-link{color:#f4f1e8;cursor:pointer;text-align:left;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:88px;padding:12px 68px 12px 12px;text-decoration:none;display:grid}.roster-card:hover,.roster-card:focus-within{background:#182120f0;border-color:#9ad8cf47}.roster-edit{position:absolute;top:50%;right:12px;transform:translateY(-50%)}.roster-emblem{aspect-ratio:1;color:#9ad8cf;background:linear-gradient(135deg,#9ad8cf29,#0000),#182120;border:1px solid #9ad8cf38;border-radius:8px;place-items:center;width:64px;font-size:1.55rem;font-weight:900;display:grid}.roster-card-main{gap:6px;min-width:0;display:grid}.roster-card-main div{gap:2px;display:grid}.roster-card-main span{color:#9ad8cf;text-transform:uppercase;font-size:.78rem;font-weight:850}.roster-card-main strong{overflow-wrap:anywhere;color:#f4f1e8;font-size:1.14rem}.roster-card-main p{color:#b8c6c2}.roster-status{color:#f0d28a;background:#e2a93b29;border-radius:999px;justify-content:center;align-items:center;min-height:30px;padding:0 10px;font-size:.76rem;font-weight:850;display:inline-flex}.roster-status.ready{color:#bce8a3;background:#8fcb6b29}.empty-roster{text-align:center;background:#121818b8;border:1px dashed #f4f1e838;border-radius:8px;justify-items:center;gap:16px;min-height:280px;padding:40px 20px;display:grid}.empty-roster .roster-emblem{width:72px}.empty-roster-create{cursor:pointer;text-decoration:none}.empty-roster-create:hover{background:linear-gradient(135deg,#9ad8cf3d,#0000),#202b2a;border-color:#9ad8cf8f}.empty-roster-create:focus-visible{outline-offset:3px;outline:2px solid #9ad8cf}.empty-roster h2{margin-bottom:6px;font-size:1.25rem}.empty-roster p{color:#8fa09c;line-height:1.5}.empty-roster .primary-action{justify-content:center;align-items:center;display:inline-flex}.pilot-form{gap:16px;display:grid}.form-section{background:#121818e6;border:1px solid #f4f1e81f;border-radius:8px;gap:18px;padding:20px;display:grid;box-shadow:0 12px 32px #00000038}.form-section-heading{gap:2px;display:grid}.form-section-heading h2{font-size:1.25rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-field{align-content:start;gap:7px;min-width:0;display:grid}.form-column{align-content:start;gap:16px;min-width:0;display:grid}.form-field>span,.form-field>label{color:#d7dedb;font-size:.82rem;font-weight:850}.form-field input,.form-field select{color:#f4f1e8;width:100%;min-height:46px;font:inherit;background:#182120;border:1px solid #f4f1e829;border-radius:8px;outline:none;padding:0 12px}.form-field input:focus,.form-field select:focus{border-color:#9ad8cf;box-shadow:0 0 0 3px #9ad8cf1f}.form-field input[aria-invalid=true],.form-field select[aria-invalid=true]{border-color:#e7583e}.form-field small{color:#ffb2a4;font-size:.8rem;font-weight:750}.signature-system{background:#9ad8cf12;border:1px solid #9ad8cf2e;border-radius:8px;gap:7px;margin-top:4px;padding:14px;display:grid}.signature-system .eyebrow{margin:0}.signature-system h3{color:#f4f1e8;text-transform:none;font-size:1rem}.signature-system>p:not(.eyebrow),.signature-system-rules p{color:#c8d0ce;font-size:.86rem;line-height:1.5}.signature-system-rules{gap:7px;padding-top:3px;display:grid}.structure-allocation{background:#e2a93b12;border:1px solid #e2a93b33;border-radius:8px;gap:8px;margin-top:4px;padding:14px;display:grid}.frame-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:4px;display:grid}.frame-stat-grid div{background:#182120;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:10px;display:flex}.frame-stat-grid span{color:#c8d0ce;font-size:.78rem;font-weight:800}.frame-stat-grid strong{color:#9ad8cf}.structure-allocation .eyebrow{color:#f0d28a;margin:0}.structure-allocation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.structure-allocation-grid div{background:#182120;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.structure-allocation-grid span{overflow-wrap:anywhere;color:#c8d0ce;font-size:.78rem;font-weight:800}.structure-allocation-grid strong{color:#f0d28a;font-size:1rem}.pilot-trait-fields{gap:12px;min-width:0;display:grid}.pilot-trait-label{justify-content:space-between;align-items:center;gap:10px;display:flex}.pilot-trait-label label{color:#d7dedb;font-size:.82rem;font-weight:850}.pilot-trait-remove{color:#ffb2a4;cursor:pointer;background:0 0;padding:0;font-size:.78rem;font-weight:800}.pilot-trait-add{justify-content:center;justify-self:start;align-items:center;gap:8px;display:inline-flex}.pilot-form-actions{justify-content:space-between;gap:10px;padding-top:2px;display:flex}.pilot-form-primary-actions{justify-content:flex-end;gap:10px;display:flex}.pilot-form-actions .primary-action,.pilot-form-actions .secondary-action,.danger-action{justify-content:center;align-items:center;gap:8px;display:inline-flex}.danger-action{color:#ffb2a4;cursor:pointer;min-height:42px;font:inherit;background:#e7583e2e;border-radius:8px;padding:0 14px;font-weight:850}.danger-action:hover{background:#e7583e4d}.delete-confirm-modal{border-color:#e7583e57}.topbar{padding:8px 2px 20px}.phase-tracker{grid-template-columns:minmax(132px,auto) minmax(0,1fr) minmax(132px,auto);align-items:center;gap:12px;width:100%;display:grid}.phase-current{text-align:center;grid-column:2;min-width:0}.phase-current h1{overflow-wrap:anywhere}.phase-nav{color:#f4f1e8;cursor:pointer;background:#24302f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 14px;font-weight:850;display:inline-flex}.phase-nav.previous{grid-column:1}.phase-nav.next{grid-column:3}.phase-nav:hover:not(:disabled){background:#32413f}.phase-nav:disabled{cursor:not-allowed;opacity:.42}.eyebrow{color:#9ad8cf;letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:.76rem;font-weight:800}h1,h2,p{margin:0}h1{font-size:2.4rem;line-height:1}h2{font-size:1rem}.icon-action,.stepper button{color:#f4f1e8;cursor:pointer;background:#24302f;border-radius:8px;place-items:center;min-width:44px;min-height:44px;display:grid}.icon-action:hover,.stepper button:hover{background:#32413f}.status-band{grid-template-columns:minmax(210px,.55fr) minmax(360px,1.45fr);align-items:start;gap:12px;margin-bottom:12px;display:grid}.heat-row{align-items:start;margin-bottom:12px}.meter-card,.panel{background:#121818e6;border:1px solid #f4f1e81f;border-radius:8px;box-shadow:0 12px 32px #00000038}.meter-card{grid-template-columns:1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.meter-card p{color:#b8c6c2;grid-column:1/-1;font-size:.92rem}.pilot-card{cursor:pointer;align-items:start}.pilot-card:hover{border-color:#9ad8cf47}.pilot-card-main{grid-column:1/-1;grid-template-columns:108px minmax(0,1fr);gap:12px;width:100%;display:grid}.pilot-card-left{order:-1;gap:8px;display:grid}.pilot-portrait{aspect-ratio:1;color:#9ad8cf;background:linear-gradient(135deg,#9ad8cf24,#0000),#182120;border:1px solid #9ad8cf38;border-radius:8px;place-items:center;display:grid}.pilot-stat-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.pilot-stat-grid>span:last-child{grid-column:1/-1}.pilot-stat-grid>.sensor-range-stat{grid-column:1/-1;width:100%}.pilot-stat-grid>span,.pilot-focus-compact{color:#f4f1e8;background:#182120;border-radius:8px;place-items:center;min-height:32px;display:grid}.pilot-stat-grid>span{gap:1px;padding:5px 4px}.pilot-stat-grid small{color:#d8ccff;text-transform:uppercase;font-size:.6rem;font-weight:800;line-height:1}.pilot-stat-grid strong{font-size:.78rem;font-weight:850;line-height:1.1}.pilot-focus-compact{place-self:start center;gap:1px;width:76%;min-height:26px;padding:3px 6px}.pilot-focus-compact span{color:#9ad8cf;text-transform:uppercase;font-size:.56rem;line-height:1}.pilot-focus-compact strong{font-size:1rem;line-height:1}.pilot-card-left .pilot-stat-grid>.armour-shield-stat{color:#d8ccff;background:0 0;border:0;min-height:72px;padding:0;position:relative}.armour-shield-stat>svg{fill:#7c5cff29;stroke-width:1.5px;width:74px;height:74px}.armour-shield-content{color:#f4f1e8;place-items:center;gap:1px;display:grid;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.pilot-card-left .armour-shield-content small{font-size:.58rem}.pilot-card-left .armour-shield-content strong{font-size:1.05rem}.pilot-card-info{gap:10px;min-width:0;display:grid}.pilot-card-heading{justify-content:space-between;align-items:start;gap:10px;display:flex}.pilot-card-heading h2{margin-bottom:4px;font-size:1.2rem}.pilot-card-heading span{color:#c8d0ce;font-size:.88rem;line-height:1.3}.pilot-ability-summary{color:#d8ccff;background:#7c5cff2e;border-radius:999px;place-self:start;align-items:center;width:fit-content;min-height:28px;padding:5px 10px;font-size:.8rem;display:inline-flex}.pilot-card-details{gap:10px;display:grid}.pilot-card-details>p{color:#d7dedb;line-height:1.45}.pilot-focus-control-group{gap:7px;display:grid}.pilot-focus-control-group>span{color:#9ad8cf;font-size:.74rem;font-weight:850}.pilot-focus-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pilot-focus-controls p{color:#b8c6c2}.pilot-focus-controls .stepper{grid-template-columns:36px minmax(34px,auto) 36px;gap:4px}.pilot-focus-controls .stepper button{min-width:36px;min-height:36px}.pilot-focus-controls .stepper output{min-width:34px;font-size:1.15rem}.pilot-focus-controls p{font-size:.86rem}.pilot-focus-note{color:#f0d28a;background:#e2a93b24;border-radius:8px;width:fit-content;padding:6px 10px;font-size:.82rem;font-weight:800}.pilot-id-modal{background:#121818;border:1px solid #f4f1e824;border-radius:8px;width:min(760px,100%);animation:.18s soft-pop;box-shadow:0 24px 80px #0000006b}.pilot-id-card{grid-template-columns:210px minmax(0,1fr);gap:18px;padding:18px;display:grid}.pilot-id-left{align-content:start;gap:10px;display:grid}.pilot-id-left .pilot-stat-grid{gap:8px}.pilot-id-left .pilot-stat-grid span{min-height:42px;padding:7px 6px}.pilot-id-left .pilot-stat-grid small{font-size:.66rem}.pilot-id-left .pilot-stat-grid strong{font-size:.94rem}.pilot-id-portrait{aspect-ratio:1.1;color:#9ad8cf;background:linear-gradient(135deg,#9ad8cf29,#0000),#182120;border:1px solid #9ad8cf38;border-radius:8px;place-items:center;display:grid}.pilot-id-body{align-content:start;gap:14px;min-width:0;display:grid}.pilot-id-header{justify-content:space-between;align-items:start;gap:14px;display:flex}.pilot-id-header h2{margin-bottom:4px;font-size:1.55rem}.pilot-id-header span{color:#c8d0ce}.pilot-id-header .pilot-id-frame{gap:2px;margin-top:7px;display:grid}.pilot-id-frame strong{color:#9ad8cf;font-size:.86rem}.pilot-id-frame span{color:#d8ccff;font-size:.8rem;font-weight:800}.pilot-id-ability{background:#182120;border-radius:8px;gap:6px;padding:12px;display:grid}.pilot-id-ability strong{color:#d8ccff}.pilot-id-ability p{color:#d7dedb;line-height:1.5}.heat-title-row{align-items:center;gap:10px;min-width:0;display:inline-flex}.heat-control-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.heat-title-row,.heat-control-row{grid-column:1/-1}.heat-display{gap:6px;min-width:0;display:grid}.heat-meter .heat-state{cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;width:fit-content;min-height:28px;padding:0 10px;font-weight:850;display:inline-flex}.heat-state span{color:inherit;opacity:.78;font-size:.78rem}.heat-state.steady{color:#9ad8cf;background:#19a7a529}.heat-state.steady:hover{background:#19a7a540}.heat-state.hot{color:#f0d28a;background:#e2a93b2e}.heat-state.hot:hover{background:#e2a93b47}.heat-state.redline{color:#ffb2a4;background:#e7583e38}.heat-state.redline:hover{background:#e7583e52}.meter-heading,.section-title,.system-copy{align-items:center;gap:9px;display:flex}.weapons-meter{align-items:start}.weapons-meter .panel-heading-toggle,.weapons-meter .weapon-slots{grid-column:1/-1}.panel-heading-toggle{color:#f4f1e8;cursor:pointer;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;height:44px;font-weight:800;display:flex}.panel-heading-toggle:hover{background:#f4f1e80f}.weapon-slots{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.weapon-slots-region{grid-column:1/-1}.weapon-slot{cursor:pointer;background:#182120;border-radius:8px;align-content:start;gap:8px;min-width:0;padding:10px;display:grid}.weapon-slot:hover{background:#202b2a}.weapon-slot-header{gap:6px;display:grid}.weapon-slot-header span{color:#9ad8cf;text-transform:uppercase;font-size:.74rem;font-weight:850}.weapon-slot select{color:#f4f1e8;width:100%;min-height:40px;font:inherit;background:#24302f;border:1px solid #f4f1e81f;border-radius:8px;padding:0 10px;font-size:.84rem}.weapon-name{color:#f4f1e8;font-size:.92rem;font-weight:850;line-height:1.25}.weapon-stats{flex-wrap:wrap;gap:6px;display:flex}.weapon-stats span{color:#d7dedb;background:#24302f;border-radius:999px;min-height:26px;padding:4px 8px;font-size:.76rem;font-weight:800}.weapon-tags{flex-wrap:wrap;gap:6px;display:flex}.weapon-tags span{color:#f0d28a;background:#e2a93b29;border-radius:999px;min-height:24px;padding:4px 8px;font-size:.74rem;font-weight:850}.weapon-rule{gap:2px;display:grid}.weapon-rule strong{color:#f0d28a;font-size:.82rem}.weapon-rule p{color:#c8d0ce;font-size:.82rem;line-height:1.35}.stepper{grid-template-columns:44px minmax(42px,auto) 44px;align-items:center;gap:6px;display:grid}.stepper output{text-align:center;min-width:42px;font-size:1.4rem;font-weight:800}.dot-stepper{grid-template-columns:44px auto 44px;gap:10px}.focus-dots{grid-template-rows:repeat(2,18px);grid-template-columns:repeat(3,18px);gap:7px;min-width:68px;padding:3px;display:grid}.focus-dots span{border:2px solid color-mix(in srgb, var(--accent) 70%, #f4f1e8);background:#f4f1e80a;border-radius:50%;width:18px;height:18px;transition:background .16s,box-shadow .16s,transform .16s;box-shadow:inset 0 0 0 2px #11181780}.focus-dots span.filled{background:var(--accent);box-shadow:inset 0 0 0 2px #f4f1e82e, 0 0 10px color-mix(in srgb, var(--accent) 48%, transparent);transform:scale(1.06)}.heat-track{grid-template-columns:repeat(8,1fr);gap:4px;display:grid}.heat-track span{background:#26302f;border-radius:999px;height:8px}.heat-track span.active.steady{background:#19a7a5}.heat-track span.active.hot{background:#e2a93b}.heat-track span.active.redline{background:#e7583e}.heat-bands{grid-template-columns:4fr 2fr 3fr;gap:4px;display:grid}.heat-bands button{color:#8fa09c;cursor:pointer;overflow-wrap:anywhere;text-align:left;background:0 0;border-radius:6px;min-width:0;min-height:28px;padding:0;font-size:.72rem;font-weight:800}.heat-bands button:hover{color:#f4f1e8}.workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.panel{min-width:0;padding:16px}.section-title{margin-bottom:14px}.focus-panel.attention,.handler-panel.attention{border-color:#f0d28a;box-shadow:0 0 0 2px #e2a93b47,0 12px 32px #00000038}.handler-panel{scroll-margin-block:24px}.handler-panel:focus{outline:none}.focus-panel-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:14px;display:flex}.focus-panel-heading .section-title{margin-bottom:0}.focus-panel-title-row,.systems-frame-stats{align-items:center;display:flex}.focus-panel-title-row{flex-wrap:wrap;gap:10px 16px;min-width:0}.systems-frame-stats{flex-wrap:wrap;gap:8px}.systems-frame-stats>span{color:#f4f1e8;background:#182120;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:0 10px;display:inline-flex}.systems-frame-stats>span>svg{color:#9ad8cf}.systems-frame-stats small{color:#d8ccff;text-transform:uppercase;font-size:.6rem;font-weight:800}.systems-frame-stats strong{font-size:.82rem;font-weight:850}.systems-armour-stat>svg{fill:#7c5cff29;color:#d8ccff}.focus-alert{color:#f0d28a;background:#e2a93b24;border:1px solid #e2a93b52;border-radius:8px;align-items:center;gap:7px;max-width:400px;padding:9px 12px;font-size:.86rem;font-weight:850;line-height:1.35;display:inline-flex}.focus-alert.complete{color:#bce8a3;cursor:pointer;font:inherit;text-align:left;background:#8fcb6b29;border-color:#8fcb6b73;font-size:.86rem;font-weight:850}.focus-alert.complete:hover{background:#8fcb6b40;border-color:#8fcb6bb8}.focus-alert.complete:focus-visible{outline-offset:2px;outline:2px solid #bce8a3}.focus-alert svg{flex:none}.focus-alert-remaining{color:#f4dda5;white-space:nowrap;background:#f0d28a29;border-radius:999px;flex:none;padding:4px 8px;font-size:.76rem;font-weight:900}.support-phase-advance{color:#f4dda5;cursor:pointer;min-height:32px;font:inherit;white-space:nowrap;background:#f0d28a29;border-radius:7px;align-items:center;gap:5px;padding:0 9px;font-size:.76rem;font-weight:900;display:inline-flex}.support-phase-advance:hover{background:#f0d28a42}.support-phase-advance:focus-visible{outline-offset:2px;outline:2px solid #f4dda5}.focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.system-card{border-left:4px solid var(--accent);background:#182120;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:12px;display:grid}.system-card.damaged{outline:1px solid #e2a93b80}.system-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.system-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.system-controls .stepper{flex:0 0 176px;width:176px;min-width:176px}.system-copy{color:#f6f0df;flex-wrap:wrap;min-width:0;font-weight:800}.system-copy span{overflow-wrap:anywhere}.system-damage-badge{color:#f0d28a;cursor:pointer;background:#e2a93b2e;border:0;border-radius:999px;align-items:center;gap:5px;min-height:26px;padding:0 9px;font-size:.75rem;font-weight:850;display:inline-flex}.system-damage-badge:hover{background:#e2a93b47}.system-damage-badge.critical{color:#ffb2a4;background:#e7583e38}.system-damage-badge.critical:hover{background:#e7583e52}.system-status-badge{cursor:pointer;border:0;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:.75rem;font-weight:850;display:inline-flex}.system-structure-badge{border-radius:999px;align-items:center;gap:5px;min-height:26px;padding:0 9px;font-size:.75rem;font-weight:850;display:inline-flex}.system-structure-badge.full{color:#bce8a3;background:#8fcb6b2e}.system-structure-badge.damaged{color:#f0d28a;background:#e2a93b29}.system-structure-badge.depleted{color:#ffb2a4;background:#e7583e38}.system-major-damage-badge{color:#ffb2a4;cursor:pointer;background:#e7583e38;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:.75rem;font-weight:850;display:inline-flex}.system-major-damage-badge:hover{background:#e7583e57}.major-damage-rolling{color:#ffb2a4;text-align:center;justify-items:center;gap:10px;padding:12px;display:grid}.major-damage-rolling svg{animation:.8s linear infinite major-damage-spin}.major-damage-rolling p{color:#f4f1e8;font-weight:850}@keyframes major-damage-spin{to{transform:rotate(360deg)}}.system-status-badge.overcommitted{color:#ffb2a4;background:#e7583e33}.system-status-badge.overcommitted:hover{background:#e7583e52}.collapse-toggle{color:#f4f1e8;cursor:pointer;background:#24302f;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:44px;padding:0 12px;font-size:.86rem;font-weight:800;display:inline-flex}.section-toggle{justify-content:space-between;width:100%}.collapse-toggle:hover{background:#32413f}.damage-control{background:#202928}.damage-control:hover{background:#2a3534}.system-section{gap:8px;display:grid}.system-mode-toggle{gap:6px;display:flex}.system-mode-toggle button{color:#c8d0ce;cursor:pointer;background:#202928;border-radius:8px;flex:1 1 0;height:44px;font-size:.86rem;font-weight:850}.system-mode-toggle button:hover{background:#2a3534}.system-mode-toggle button.selected{color:#111817;background:#f4f1e8}.system-detail-panel{gap:8px;display:grid}.system-detail-panel .data-table,.system-detail-empty{animation:.15s table-reveal}.system-detail-empty{color:#8fa09c;background:#182120;border-radius:8px;padding:10px 12px;font-size:.86rem;font-weight:750}.call-list{gap:10px;display:grid}.data-table{background:#f4f1e814;border:1px solid #f4f1e814;border-radius:8px;gap:1px;display:grid;overflow:hidden}.structure-tracker{background:#182120;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.structure-tracker>div{align-items:center;gap:10px;display:flex}.structure-tracker-label{color:#f0d28a;text-transform:uppercase;font-size:.72rem;font-weight:850}.structure-squares{gap:6px;display:flex}.structure-squares span{background:#e2a93b0d;border:2px solid #e2a93b;border-radius:3px;width:18px;height:18px}.structure-squares span.filled{background:#e2a93b;box-shadow:inset 0 0 0 2px #f4f1e833}.structure-controls{flex:none}.structure-controls button{color:#f4f1e8;cursor:pointer;background:#24302f;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.structure-controls button:hover:not(:disabled){background:#32413f}.structure-controls button:disabled{cursor:not-allowed;opacity:.38}.structure-controls strong{color:#f0d28a;text-align:center;min-width:32px}.table-head,.table-row{background:#182120;grid-template-columns:minmax(76px,.55fr) minmax(116px,.9fr) minmax(0,1.7fr);align-items:center;gap:10px;display:grid}.table-head{color:#9ad8cf;text-transform:uppercase;padding:8px 10px;font-size:.72rem;font-weight:850}.table-row{color:#c8d0ce;padding:10px;font-size:.87rem;line-height:1.35}.marker-row{text-align:left;cursor:pointer;border:0;width:100%}.marker-row:hover{background:#202b2a}.marker-row.selected{background:#e2a93b29;box-shadow:inset 4px 0 #e2a93b}.marker-row.critical{box-shadow:inset 4px 0 #e7583e99}.marker-row.critical.selected{background:#e7583e29;box-shadow:inset 4px 0 #e7583e}.marker-row.selected strong{color:#f0d28a}.marker-row.critical.selected strong{color:#ffb2a4}.marker-row.focused{outline-offset:-2px;outline:2px solid #f4f1e8}.table-row strong{color:#f4f1e8}.marker-name{align-items:center;gap:6px;display:inline-flex}.marker-name svg,.system-damage-badge.critical svg{color:#e7583e;flex:none}.cost-pill,.roll-pill{color:#f4f1e8;background:#24302f;border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-width:46px;min-height:28px;padding:0 8px;font-weight:850;display:inline-flex}.cost-pill{border:1px solid #e7583e8c}.roll-pill{border:1px solid #e2a93b8c}.damage-marker-section{gap:8px;display:grid}h3{color:#b8c6c2;letter-spacing:0;text-transform:uppercase;margin:0;font-size:.78rem}.handler-tabs,.segmented{flex-wrap:wrap;gap:6px;display:flex}.handler-tabs button,.segmented button{color:#c9d4d1;cursor:pointer;text-transform:capitalize;background:#24302f;border-radius:8px;min-height:38px;padding:0 10px;font-size:.84rem;font-weight:750}.handler-tabs button.selected,.segmented button.selected{color:#111817;background:#f4f1e8}.handler-summary{background:#182120;border-radius:8px;gap:8px;margin:14px 0;padding:12px;display:grid}.handler-summary p,.call-item p{color:#c8d0ce;line-height:1.45}.handler-summary strong{color:#9ad8cf}.call-item{background:#182120;border-radius:8px;overflow:hidden}.call-item>button{color:#f4f1e8;cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:0 12px;font-weight:800;display:flex}.call-item p{padding:0 12px 12px}.call-content{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .18s,opacity .16s;display:grid;overflow:hidden}.call-content.open{opacity:1;grid-template-rows:1fr}.call-content>p{min-height:0}.modal-backdrop{z-index:20;background:#040808b8;place-items:center;padding:18px;animation:.16s table-reveal;display:grid;position:fixed;inset:0}.rules-modal{background:#121818;border:1px solid #f4f1e824;border-radius:8px;width:min(520px,100%);animation:.18s soft-pop;box-shadow:0 24px 80px #0000006b}.modal-header{border-bottom:1px solid #f4f1e81a;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.modal-header h2{font-size:1.35rem}.modal-rule-list{gap:10px;padding:16px;display:grid}.modal-rule-list p{color:#d7dedb;line-height:1.5}.phase-confirm-body{gap:16px;padding:16px;display:grid}.phase-confirm-body p{color:#d7dedb;line-height:1.5}.phase-confirm-actions{justify-content:end;gap:8px;display:flex}.alert{border-left:4px solid;border-radius:6px;padding:12px 14px}.alert p{color:#f4f1e8;margin:0;font-size:.95rem;line-height:1.5}.alert-warning{background:#e7583e33;border-left-color:#e7583e}.primary-action,.secondary-action{cursor:pointer;min-height:42px;font:inherit;border:0;border-radius:8px;align-items:center;padding:0 14px;font-weight:850;text-decoration:none}.primary-action{color:#111817;background:#f4f1e8}.secondary-action{color:#f4f1e8;background:#24302f}.primary-action:hover{background:#fffaf0}.secondary-action:hover{background:#32413f}.weapon-modal-body{gap:0;display:grid}.modal-weapon-stats{padding:16px 16px 0}.focus-dock{z-index:15;background:#121818f5;border:1px solid #f4f1e824;border-radius:8px;align-items:stretch;gap:8px;width:auto;max-width:min(980px,100vw - 36px);padding:8px;transition:max-width .18s,width .18s,transform .18s,opacity .18s;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 48px #0000005c}.focus-dock.expanded{width:calc(100vw - 36px);max-width:none;left:18px;right:18px}.focus-dock-toggle,.focus-dock-systems button,.focus-dock-remaining{border-radius:8px;min-height:44px}.focus-dock-toggle{color:#f4f1e8;cursor:pointer;background:#24302f;place-items:center;min-width:44px;display:grid}.focus-dock-toggle:hover{background:#32413f}.focus-dock-systems{scrollbar-width:thin;opacity:1;flex-direction:row-reverse;flex:1;gap:6px;min-width:0;max-width:none;transition:opacity .14s,transform .18s;display:flex;overflow-x:auto}.focus-dock.collapsed .focus-dock-systems{opacity:0;pointer-events:none;max-width:0;overflow:hidden;transform:translate(8px)}.focus-dock-systems button{color:#d7dedb;cursor:pointer;white-space:nowrap;background:#182120;flex:72px;grid-template-columns:minmax(72px,auto) auto;align-items:center;gap:8px;padding:0 10px;display:grid}.focus-dock-systems button:hover{background:#24302f}.focus-dock-systems button.selected{color:#111817;background:#f4f1e8}.focus-dock-systems button.selected strong{color:#f4f1e8;background:#111817}.focus-dock-systems span,.focus-dock-remaining span{font-size:.76rem;font-weight:850}.focus-dock-systems strong,.focus-dock-remaining strong{color:#111817;background:#f4f1e8;border-radius:999px;place-items:center;min-width:28px;max-width:28px;min-height:28px;font-size:.9rem;display:grid}.focus-dock-remaining{color:#d8ccff;white-space:nowrap;background:#7c5cff2e;grid-template-columns:1fr;place-items:center;gap:2px;min-width:76px;padding:6px 12px;display:grid}.focus-dock-remaining strong{min-width:38px;min-height:38px;font-size:1.35rem}.focus-dock-remaining span{color:#d8ccff;text-transform:uppercase;font-size:.76rem;line-height:1}.dock-menu{z-index:16;justify-items:end;gap:8px;display:grid;position:fixed;bottom:104px;right:18px}.dock-menu-button{color:#f4f1e8;cursor:pointer;background:#121818f5;border:1px solid #f4f1e824;border-radius:8px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 18px 48px #00000052}.dock-menu-button:hover,.dock-menu-popup a:hover{background:#32413f}.dock-menu-popup{background:#121818fa;border:1px solid #f4f1e824;border-radius:8px;min-width:148px;padding:6px;animation:.14s soft-pop;box-shadow:0 18px 48px #0000005c}.dock-menu-popup a{color:#f4f1e8;cursor:pointer;text-align:left;background:0 0;border-radius:8px;align-items:center;width:100%;min-height:42px;padding:0 12px;font-weight:850;text-decoration:none;display:flex}@media (width<=900px){.status-band,.workspace,.focus-grid{grid-template-columns:1fr}}@media (width<=680px){.app-shell{padding:14px 14px 116px}.home-shell{padding-bottom:32px}h1{font-size:2rem}.page-header{align-items:start}.page-header-action{min-width:44px;padding:0 12px}.page-header-action span{display:none}.roster-card{display:block}.roster-emblem{width:52px}.roster-card-link{grid-template-columns:52px minmax(0,1fr)}.roster-status{grid-column:2;justify-self:start}.form-grid{grid-template-columns:1fr}.structure-allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pilot-form-actions{grid-template-columns:1fr;display:grid}.pilot-form-primary-actions{grid-template-columns:1fr 1fr;display:grid}.phase-tracker{grid-template-columns:44px minmax(0,1fr) 44px}.phase-nav{min-width:44px;padding:0}.phase-nav span{display:none}.meter-card,.system-header{grid-template-columns:1fr;align-items:stretch}.pilot-card-main{grid-template-columns:88px minmax(0,1fr)}.pilot-id-card{grid-template-columns:1fr}.pilot-id-left{grid-template-columns:96px minmax(0,1fr);align-items:start}.pilot-id-left .pilot-stat-grid{grid-column:2}.pilot-id-portrait{grid-row:1/span 2}.pilot-card-heading{align-items:start}.system-header,.focus-panel-heading{display:grid}.focus-alert{max-width:none}.system-controls{justify-content:start}.heat-control-row,.weapon-slots{grid-template-columns:1fr}.stepper{justify-content:start}.table-head{display:none}.structure-tracker{align-items:flex-start}.structure-tracker>div:first-child{flex-direction:column;align-items:flex-start;gap:6px}.table-row{grid-template-columns:1fr;gap:5px}.table-row>span:not(.cost-pill):not(.roll-pill):before{content:"Effect: ";color:#9ad8cf;font-weight:800}.segmented button{flex:76px}.focus-dock{max-width:none;bottom:10px;left:10px;right:10px}.dock-menu{bottom:94px;right:10px}.focus-dock-systems button{grid-template-columns:auto auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important}}
