@import"https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Rajdhani:wght@400;500;700&family=VT323&display=swap";:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh;background:var(--bg)}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}#root{width:100%;min-height:100vh;background:var(--bg)}main{width:100%;display:flex;justify-content:center;padding:clamp(16px,5vw,48px) 0 clamp(40px,8vw,72px);background:var(--bg)}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--bg: #0e0f10;--panel: #151617;--muted: #9aa0a6;--text: #e9ecef;--text-dim: #c7ccd1;--border: #2c2f33;--accent: #DDA15E;--accent-2: #606C38;--accent-3: #283618;--threat-tl1: #8ac926;--threat-tl2: #ffca3a;--threat-tl3: #f77f00;--threat-tl4: #f94144;--focus: #35b0ff;--ok: #58d68d;--grazed: #f7dc6f;--wounded: #f5b041;--bleeding: #e74c3c;--dead: #000000;--font-main: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;--font-display: "Quantico", ui-sans-serif;--font-mono: "Courier New", monospace;--glow: none}:root.theme-terminal{--bg: #0a0f0a;--panel: #0d1a0d;--muted: #00cc00;--text: #00ff00;--text-dim: #00bb00;--border: #003300;--accent: #00ff00;--accent-2: #00cc00;--accent-3: #009900;--threat-tl1: #00ff66;--threat-tl2: #b2ff00;--threat-tl3: #ff9900;--threat-tl4: #ff3300;--focus: #00ff00;--ok: #00ff00;--grazed: #00cc00;--wounded: #009900;--bleeding: #004d00;--dead: #000000;--font-main: "VT323", monospace;--font-display: "Courier New", "Lucida Console", monospace;--font-mono: "Courier New", "Lucida Console", monospace;--glow: 0 0 10px rgba(0, 255, 0, .5)}:root.theme-crusade{--bg: #07090f;--panel: #111621;--muted: #b8b2a3;--text: #f3ede0;--text-dim: #d1c6b1;--border: #2f252d;--accent: #c19d53;--accent-2: #8c1c13;--accent-3: #2b3f52;--threat-tl1: #9dc46b;--threat-tl2: #e9c46a;--threat-tl3: #d77a28;--threat-tl4: #a11f2b;--focus: #e2c87d;--ok: #9dc46b;--grazed: #e9c46a;--wounded: #d77a28;--bleeding: #a11f2b;--dead: #07090f;--font-main: "Rajdhani", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display: "Cinzel", "Trajan Pro", serif;--font-mono: "VT323", "Courier New", monospace;--glow: 0 0 18px rgba(193, 157, 83, .55)}:root.theme-crusade body{background:radial-gradient(120% 120% at 50% 0%,rgba(140,28,19,.32),transparent 58%),radial-gradient(90% 80% at 50% 100%,#212e44a6,#07090f)}:root.theme-crusade .dc-container{background:linear-gradient(160deg,#151b27d9,#090b10eb);border:1px solid rgba(193,157,83,.28);box-shadow:0 0 28px #000000b3,inset 0 0 40px #0b0e16bf;position:relative}:root.theme-crusade .dc-container:before,:root.theme-crusade .dc-container:after{content:"";position:absolute;width:28px;height:28px;border:1px solid rgba(193,157,83,.4);top:16px;border-radius:4px;filter:drop-shadow(0 0 6px rgba(193,157,83,.35));pointer-events:none}:root.theme-crusade .dc-container:before{left:18px;border-right:none}:root.theme-crusade .dc-container:after{right:18px;border-left:none}:root.theme-crusade .dc-title{letter-spacing:.36em;text-transform:uppercase;text-shadow:0 2px 8px rgba(0,0,0,.6),0 0 22px rgba(193,157,83,.45);margin-top:20px}:root.theme-crusade .dc-subtle-rule{background:linear-gradient(90deg,#c19d53cc,#8c1c13cc);height:4px}:root.theme-crusade .dc-theme-btn{background:#181c26d9;border-color:#c19d5340;letter-spacing:.12em}:root.theme-crusade .dc-theme-btn:hover{background:#212634e6;border-color:#c19d538c}:root.theme-crusade .dc-theme-btn.active{color:#100c0a}:root.theme-crusade .dc-tab-btn{letter-spacing:.18em;font-weight:700}:root.theme-crusade .dc-tab-btn.active{text-shadow:0 0 10px rgba(226,200,125,.55)}:root.theme-crusade .dc-btn{background:linear-gradient(180deg,#212634e6,#151821f2);border-color:#c19d5347;text-transform:uppercase;letter-spacing:.08em}:root.theme-crusade .dc-btn:hover{border-color:#e2c87d99;box-shadow:0 0 18px #c19d534d}:root.theme-crusade .dc-reset-btn{border-color:#8c1c1373;background:#181c26d9;color:#e2c87dd9}:root.theme-crusade .dc-reset-btn:hover{background:#8c1c13bf;color:#f9efe0;border-color:#e2c87dd9}:root.theme-terminal{font-size:19px}:root.theme-terminal body{font-size:1.05em}:root.theme-terminal .dc-title{font-size:clamp(32px,4.6vw,64px)}:root.theme-terminal h1,:root.theme-terminal h2,:root.theme-terminal h3{font-size:1.15em}:root.theme-terminal .dc-table thead th{font-size:1rem}:root.theme-terminal .dc-table tbody td{font-size:1rem}:root.theme-terminal .dc-input,:root.theme-terminal .dc-select{font-size:1rem}:root.theme-terminal .dc-btn{font-size:1rem}:root.theme-terminal .dc-badge{font-size:.95rem}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font-main);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3{font-family:var(--font-display);letter-spacing:.5px}.dc-title{font-size:clamp(26px,3.4vw,48px);margin:12px 0 4px;line-height:1.1;text-align:center;text-shadow:var(--glow)}.dc-subtle-rule{height:3px;width:min(240px,60%);background:linear-gradient(90deg,var(--accent-2),var(--accent));border-radius:2px;margin:4px auto 20px;opacity:.8}.dc-container{width:min(960px,94%);margin:0 auto;padding:clamp(24px,5vw,44px) clamp(18px,5vw,48px) clamp(40px,7vw,72px)}.dc-toolbar{display:flex;gap:10px;margin:12px 0 20px}.dc-squad-header{display:flex;flex-direction:column;gap:6px;margin:0 0 16px}.dc-squad-header+.dc-toolbar{margin-top:0}.dc-squad-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim)}.dc-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;gap:8px;background:#1b1d1f;color:var(--text);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:transform .02s ease,background .15s ease,border-color .15s ease;font-size:.9rem}.dc-btn:hover{background:#212426;border-color:#3a3f44}.dc-btn:active{transform:translateY(1px)}.dc-btn--sm{padding:4px 8px;border-radius:6px;font-size:.85rem}.dc-btn--accent{background:var(--accent-3);border-color:#3b472d}.dc-btn--accent:hover{background:#1f2a1a}.dc-input,.dc-select{width:100%;padding:6px 10px;background:#0c0d0e;color:var(--text);border:1px solid var(--border);border-radius:8px;outline:none;font-size:.9rem;font-family:inherit}.dc-input::placeholder{color:var(--muted)}.dc-input:focus,.dc-select:focus{border-color:var(--focus);box-shadow:0 0 0 3px #35b0ff26}.dc-mission-setup{display:flex;flex-direction:column;gap:18px}.dc-mission-field{display:flex;flex-direction:column;gap:6px}.dc-mission-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim)}.dc-mission-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.dc-mission-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.dc-mission-btn{width:100%;padding:10px 12px;font-weight:600;letter-spacing:.08em}.dc-mission-btn--deploy{background:linear-gradient(135deg,var(--accent-2),var(--accent));color:#0d0e0f;border-color:var(--accent);box-shadow:0 0 16px #dda15e47;text-shadow:none}.dc-mission-btn--deploy:hover{box-shadow:0 0 22px #dda15e66;transform:translateY(-1px)}.dc-mission-btn--deploy:disabled{background:#1f2023;border-color:#2c2f33;color:var(--text-dim);box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.dc-mission-btn--clear{background:#161719;border-color:#272a2d;color:var(--text-dim)}.dc-mission-btn--clear:hover{background:#1d1f21;color:var(--text)}:root.theme-terminal .dc-mission-btn--deploy{color:#041704;box-shadow:0 0 18px #00ff0059}:root.theme-terminal .dc-mission-btn--deploy:hover{box-shadow:0 0 28px #00ff008c}:root.theme-terminal .dc-mission-btn--deploy:disabled{background:#00330080;border-color:#0609;color:#00ff0080}.dc-mission-summary{position:relative;display:flex;flex-direction:column;gap:18px;padding:22px 24px;border-radius:14px;border:1px solid var(--accent);background:linear-gradient(145deg,#151617eb,#151617a6);box-shadow:0 14px 30px #00000059;transition:box-shadow .25s ease,border-color .25s ease}.dc-mission-summary:hover{border-color:var(--accent-2);box-shadow:0 18px 40px #00000073}.dc-mission-summary-main{display:flex;flex-direction:column;gap:6px}.dc-mission-summary-heading{font-size:.7rem;text-transform:uppercase;letter-spacing:.16em;color:var(--accent)}.dc-mission-summary-title{margin:0;font-size:clamp(1.2rem,2.4vw,1.6rem);font-family:var(--font-display)}.dc-mission-summary-details{margin:0;display:grid;gap:12px}.dc-mission-summary-details>div{display:grid;gap:4px}.dc-mission-summary-details dt{font-size:.75rem;letter-spacing:.04em;color:var(--text-dim)}.dc-mission-summary-details dd{margin:0;font-size:1rem;line-height:1.4;color:var(--text)}.dc-mission-summary-edit{position:absolute;top:16px;right:16px;padding:6px 12px;font-size:.75rem;letter-spacing:.14em;background:#00000059;border-color:#fff3;color:var(--text);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}.dc-mission-summary:hover .dc-mission-summary-edit,.dc-mission-summary:focus-within .dc-mission-summary-edit{opacity:1;pointer-events:auto;transform:translateY(-2px)}.dc-mission-summary-edit:focus{outline:2px solid var(--focus);outline-offset:2px}:root.theme-terminal .dc-mission-summary{background:linear-gradient(145deg,#0d1a0df2,#0d1a0db3);box-shadow:0 14px 32px #00ff002e}:root.theme-terminal .dc-mission-summary:hover{box-shadow:0 18px 44px #00ff0040}.dc-mission-sectors{display:flex;flex-direction:column;gap:20px;margin-top:8px;padding:24px 26px 28px;border-radius:16px;border:1px solid rgba(221,161,94,.16);background:linear-gradient(180deg,#121314f5,#121314e6 40%,#0c0d0fd9);box-shadow:0 22px 44px #0000006b;position:relative;overflow:hidden}.dc-mission-sectors:before{content:"";position:absolute;inset:0;background:radial-gradient(120% 60% at 50% 0%,rgba(221,161,94,.12),transparent 75%),linear-gradient(180deg,rgba(255,255,255,.04),transparent 30%);pointer-events:none;mix-blend-mode:screen}.dc-mission-sectors>*{position:relative;z-index:1}.dc-mission-sectors-header{display:flex;flex-direction:column;gap:6px}.dc-mission-sectors-header h4{margin:0;font-size:clamp(1rem,2.2vw,1.2rem);font-family:var(--font-display)}.dc-mission-sectors-header p{margin:0;font-size:.85rem;color:var(--text-dim);line-height:1.4}.dc-mission-sector-list{display:grid;gap:18px}.dc-mission-sectors-empty{margin:0;padding:18px;border-radius:12px;border:1px dashed rgba(255,255,255,.16);background:#0f1012a6;color:var(--text-dim);text-align:center}.dc-mission-sector-card{display:flex;flex-direction:column;gap:18px;padding:20px 22px;border-radius:14px;border:1px solid rgba(221,161,94,.28);background:linear-gradient(180deg,#161719eb,#121416e0 55%,#0e0f11d9);box-shadow:0 16px 32px #00000073;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:grab;position:relative;transition:transform .18s ease,box-shadow .2s ease,border-color .2s ease}.dc-mission-sector-card:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:0;background:radial-gradient(70% 70% at 50% 50%,rgba(221,161,94,.4),transparent 70%);transform:scale(.9)}.dc-mission-sector-card.is-rolling:after{animation:dc-mission-sector-roll .45s ease forwards}.dc-mission-sector-card.is-current{border-color:#ffd196e6;box-shadow:0 22px 48px #00000080,0 0 18px #ffc48273}.dc-mission-sector-card:focus-within{border-color:#dda15e8c;box-shadow:0 18px 36px #00000080,0 0 0 2px #dda15e40}.dc-mission-sector-card.is-dragging{opacity:.55;cursor:grabbing;transform:scale(.98);box-shadow:0 12px 28px #0006}.dc-mission-sector-card.is-drag-over{border-color:#dda15ebf;box-shadow:0 22px 44px #00000080,0 0 0 2px #dda15e4d}@keyframes dc-mission-sector-roll{0%{opacity:0;transform:scale(.92)}45%{opacity:.65;transform:scale(1.02)}to{opacity:0;transform:scale(1.08)}}.dc-mission-sector-card-top{display:flex;flex-direction:column;gap:14px}.dc-mission-sector-card-title{display:flex;align-items:center;gap:14px}.dc-mission-sector-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border-radius:10px;border:1px solid rgba(221,161,94,.4);background:#dda15e24;cursor:grab;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;padding:0}.dc-mission-sector-drag-handle:hover{background:#dda15e33;border-color:#dda15e8c;box-shadow:0 0 0 2px #dda15e2e}.dc-mission-sector-drag-handle:active,.dc-mission-sector-card.is-dragging .dc-mission-sector-drag-handle{cursor:grabbing;background:#dda15e3d}.dc-mission-sector-drag-icon{width:16px;height:18px;position:relative;display:block}.dc-mission-sector-drag-icon:before,.dc-mission-sector-drag-icon:after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 50% 20%,#0000 18%,#000000a6 19% 40%,#0000 41%),radial-gradient(circle at 50% 80%,#0000 18%,#000000a6 19% 40%,#0000 41%);background-size:100% 50%;background-repeat:no-repeat}.dc-mission-sector-name{font-size:1.05rem;font-weight:600;letter-spacing:.02em;padding:10px 14px;border-radius:12px;border:1px solid rgba(221,161,94,.5);background:#121315eb;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.dc-mission-sector-name::placeholder{color:#dda15e8c;font-weight:500}.dc-mission-sector-name:focus{border-color:#dda15ed9;background:#181512f2;box-shadow:0 0 0 3px #dda15e40}.dc-mission-sector-name{width:100%}.dc-mission-sector-card-actions{display:flex;gap:10px;flex-wrap:wrap}.dc-mission-sector-current{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid rgba(221,161,94,.35);background:#dda15e1f;color:#ffd196d9;font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.dc-mission-sector-current:hover{border-color:#dda15e8c;background:#dda15e2e;box-shadow:0 0 0 2px #dda15e2e}.dc-mission-sector-current input{width:18px;height:18px;accent-color:rgba(221,161,94,.85);cursor:pointer}.dc-mission-sector-current span{pointer-events:none}.dc-mission-sector-randomize{background:#606c382e;border-color:#606c3866;color:var(--text);text-transform:uppercase;letter-spacing:.08em}.dc-mission-sector-randomize:hover{background:#606c3847}.dc-mission-sector-delete{border:none;background:none;color:var(--accent);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;padding:4px 0}.dc-mission-sector-delete:hover{color:var(--text)}.dc-mission-sector-controls{display:grid;gap:14px 18px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:flex-start}.dc-mission-sector-field{display:flex;flex-direction:column;gap:6px;font-size:.85rem}.dc-mission-sector-field span{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-mission-sector-advance{grid-column:1 / -1;justify-self:flex-start;padding:8px 14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:#606c3838;border-color:#606c3873;margin-top:4px}.dc-mission-sector-advance:hover{background:#606c3857}.dc-mission-sector-add{align-self:flex-start;padding:10px 18px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:#dda15e26;border-color:#dda15e73}.dc-mission-sector-add:hover{background:#dda15e47}.dc-engagement{display:flex;flex-direction:column;gap:24px}.dc-engagement-field,.dc-engagement-name{display:flex;flex-direction:column;gap:8px}.dc-engagement-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-engagement-details{display:flex;flex-direction:column;gap:20px}.dc-engagement-grid{display:grid;gap:18px;grid-template-columns:repeat(1,minmax(0,1fr))}@media(min-width:768px){.dc-engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.dc-engagement-card{padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(180deg,#28361866,#151617eb);box-shadow:0 16px 28px #00000047;display:flex;flex-direction:column;gap:8px}.dc-engagement-advance{display:flex;flex-direction:column;gap:18px}.dc-momentum-card{gap:16px}.dc-momentum-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dc-momentum-title{margin:0;font-family:var(--font-display);font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);flex:1}.dc-momentum-status{flex:1;text-align:center}.dc-momentum-target{margin-left:auto;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-momentum-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dc-momentum-defense{display:flex;flex-direction:column;gap:8px}.dc-hard-targets-card{gap:14px}.dc-hard-targets-add{min-width:32px}.dc-hard-targets{display:flex;flex-direction:column;gap:12px}.dc-hard-targets-empty{margin:0;font-size:.85rem;color:var(--muted)}.dc-hard-targets-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}.dc-hard-target{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dc-hard-target-name-input{flex:1 1 200px;min-width:160px}.dc-hard-target-hits{display:flex;align-items:center;gap:8px;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-hard-target-hits-controls{display:inline-flex;align-items:center;gap:6px}.dc-hard-target-hits-input{width:70px;text-align:center}.dc-hard-target-hits-btn{min-width:32px}.dc-hard-target-delete{margin-left:auto;border:none;background:none;color:var(--muted);font-size:1.2rem;line-height:1;padding:4px;cursor:pointer;transition:color .15s ease}.dc-hard-target-delete:hover{color:var(--text)}.dc-hard-target.is-neutralized .dc-hard-target-name-input{color:var(--bleeding);text-decoration:line-through}.dc-momentum-defense-toggle{display:inline-flex;align-items:center;gap:8px;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-momentum-defense-toggle input{margin:0}.dc-momentum-defense-body{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#00000040;box-shadow:inset 0 0 0 1px #0000002e}.dc-momentum-defense-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-momentum-defense-text{font-size:.85rem;letter-spacing:.04em;color:var(--text)}.dc-momentum-defense-adjust{display:inline-flex;align-items:center;gap:6px}.dc-momentum-defense-btn{min-width:2.1rem}.dc-momentum-defense-note{margin:0;font-size:.72rem;letter-spacing:.05em;line-height:1.4;color:color-mix(in srgb,var(--text-dim) 80%,transparent)}.dc-momentum-btn{min-width:2.4rem;font-weight:700;letter-spacing:.05em}.dc-momentum-scale{flex:1;min-width:240px;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#00000040;box-shadow:inset 0 0 0 1px #0000003d}.dc-momentum-cell{position:relative;padding:14px 0 10px;display:flex;align-items:flex-end;justify-content:center;border-right:1px solid rgba(255,255,255,.08);font-weight:600;font-size:.85rem;letter-spacing:.04em;color:var(--text)}.dc-momentum-cell:last-child{border-right:none}.dc-momentum-cell-value{position:relative;z-index:1}.dc-momentum-cell--critical{background:#f941443d;background:color-mix(in srgb,var(--threat-tl4) 32%,transparent)}.dc-momentum-cell--negative{background:#f77f0033;background:color-mix(in srgb,var(--threat-tl3) 26%,transparent)}.dc-momentum-cell--caution{background:#ffca3a2e;background:color-mix(in srgb,var(--threat-tl2) 24%,transparent)}.dc-momentum-cell--neutral{background:#ffffff0d}.dc-momentum-cell--boost{background:#8ac92638;background:color-mix(in srgb,var(--threat-tl1) 26%,transparent)}.dc-momentum-cell--positive{background:#606c3847;background:color-mix(in srgb,var(--accent-2) 32%,transparent)}.dc-momentum-cell--peak{background:#2836185c;background:color-mix(in srgb,var(--accent-3) 38%,transparent)}.dc-momentum-cell.is-active{outline:2px solid var(--accent);outline-offset:-2px;color:var(--text)}.dc-momentum-cell.is-target{box-shadow:inset 0 0 0 2px #ffffff2e}.dc-momentum-cell-indicator{position:absolute;top:-10px;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:8px solid var(--accent)}.dc-momentum-status{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.dc-momentum-status--defeat{color:var(--threat-tl4)}.dc-momentum-status--victory{color:var(--threat-tl1)}.dc-planning-card{display:flex;flex-direction:column;gap:16px}.dc-planning-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.dc-planning-tab{padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px 10px 0 0;background:#17181db8;color:var(--text-dim);font-family:var(--font-display);font-size:.85rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;cursor:pointer;transition:color .12s ease,background .12s ease,border-color .12s ease}.dc-planning-tab:hover,.dc-planning-tab:focus-visible{color:var(--text);background:#22242ad9;border-color:#ffffff24}.dc-planning-tab:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.dc-planning-tab.is-active{color:var(--text);background:#22242ae6;border-bottom-color:transparent}.dc-planning-panels{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:18px;background:#0f1014c7}.dc-planning-panel{display:flex;flex-direction:column;gap:16px}.dc-planning-intro{margin:0;font-size:.95rem;color:var(--text)}.dc-planning-intent{display:flex;flex-direction:column;gap:16px}.dc-planning-intent-form{display:flex;flex-direction:column;gap:16px;flex:1;min-width:0}@media(min-width:720px){.dc-planning-intent-form{max-width:640px}}@media(min-width:720px){.dc-planning-intent{flex-direction:row;align-items:flex-start;justify-content:space-between}}.dc-planning-intent-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.dc-planning-intent-item{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:10px 12px;border-radius:10px;background:#22242ab8;border:1px solid rgba(255,255,255,.08)}.dc-planning-intent-item--with-select{align-items:center}.dc-planning-intent-item--unavailable{align-items:flex-start}@media(min-width:640px){.dc-planning-intent-item--with-select{grid-template-columns:minmax(0,1fr) 220px}}.dc-planning-intent-item--with-select .dc-planning-intent-name{display:flex;align-items:center;gap:6px}.dc-planning-intent-name{font-weight:600;color:var(--text)}.dc-planning-intent-detail{color:var(--text-dim);font-weight:500}.dc-planning-defense-table{display:flex;flex-direction:column;gap:8px;width:100%}.dc-planning-defense-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:#22242ab8;border:none;box-shadow:inset 0 0 0 1px #ffffff14}.dc-planning-defense-header{border:none;background:transparent;color:var(--muted);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:0 12px}.dc-planning-defense-cell{display:flex;align-items:center;gap:6px;min-width:0}.dc-planning-defense-row:not(.dc-planning-defense-header) .dc-planning-defense-cell--name{font-weight:600;color:var(--text)}.dc-planning-defense-name-wrapper{display:flex;flex-direction:column;gap:4px}.dc-planning-defense-covering-fire{font-size:.8rem;font-weight:400;color:#35b0ffe6;font-style:italic}.dc-planning-defense-at-risk{font-size:.8rem;font-weight:400;color:#ff6464e6;font-style:italic}.dc-planning-defense-row:not(.dc-planning-defense-header) .dc-planning-defense-cell--modifiers{color:var(--text-dim);font-weight:500;font-size:.9rem}.dc-planning-defense-header .dc-planning-defense-cell--modifiers{justify-content:flex-start}.dc-planning-defense-header .dc-planning-defense-cell{color:inherit;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.dc-planning-defense-cell--result{justify-content:flex-end;justify-self:end}.dc-planning-defense-chip{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:4px 10px;border-radius:999px;font-size:.75rem;line-height:1.2;background:#ffffff14;border:1px solid rgba(255,255,255,.08);color:var(--text)}.dc-planning-defense-chip--injury{background:#dda15e33;border-color:#dda15e59}.dc-planning-defense-chip--shielded{background:#606c3847;border-color:#606c3873}.dc-planning-defense-chip--status-ok{background:color-mix(in srgb,var(--ok) 22%,transparent);border-color:color-mix(in srgb,var(--ok) 45%,transparent)}.dc-planning-defense-chip--status-grazed{background:color-mix(in srgb,var(--grazed) 22%,transparent);border-color:color-mix(in srgb,var(--grazed) 45%,transparent)}.dc-planning-defense-chip--status-wounded{background:color-mix(in srgb,var(--wounded) 22%,transparent);border-color:color-mix(in srgb,var(--wounded) 45%,transparent)}.dc-planning-defense-chip--status-bleeding{background:color-mix(in srgb,var(--bleeding) 22%,transparent);border-color:color-mix(in srgb,var(--bleeding) 45%,transparent)}.dc-planning-defense-chip--status-dead{background:color-mix(in srgb,var(--dead) 28%,transparent);border-color:color-mix(in srgb,var(--dead) 55%,transparent)}.dc-planning-defense-row--fortified{background:color-mix(in srgb,var(--threat-tl1) 22%,rgba(34,36,42,.72));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--threat-tl1) 55%,rgba(255,255,255,.08))}.dc-planning-defense-row--in-cover{background:color-mix(in srgb,var(--threat-tl2) 20%,rgba(34,36,42,.72));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--threat-tl2) 55%,rgba(255,255,255,.08))}.dc-planning-defense-row--flanked{background:color-mix(in srgb,var(--threat-tl4) 24%,rgba(34,36,42,.72));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--threat-tl4) 55%,rgba(255,255,255,.08))}.dc-planning-intent-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#22242ab8;flex-wrap:wrap}.dc-planning-intent-controls-label{font-weight:600;color:var(--text)}.dc-planning-intent-counter-controls{display:inline-flex;align-items:center;gap:12px}.dc-planning-counter-btn{width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center}.dc-planning-intent-counter-value{min-width:1.5rem;text-align:center;font-size:1.5rem;font-weight:700;color:var(--text)}.dc-planning-offense-breakdown{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#22242ac7;width:100%;min-width:0}@media(min-width:720px){.dc-planning-offense-breakdown{flex:0 0 280px;width:auto}}.dc-planning-offense-breakdown__title{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;font-family:var(--font-display);color:var(--text-dim)}.dc-planning-offense-breakdown__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.dc-planning-offense-breakdown__item{display:flex;flex-direction:column;gap:4px}.dc-planning-offense-breakdown__item-header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;color:var(--text);font-weight:600}.dc-planning-offense-breakdown__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-planning-offense-breakdown__value{font-family:var(--font-display);font-size:1rem}.dc-planning-offense-breakdown__item-detail{margin:0;font-size:.8rem;color:var(--text-dim)}.dc-planning-offense-breakdown__empty{margin:0;font-size:.85rem;color:var(--text-dim)}.dc-planning-offense-breakdown__total{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-family:var(--font-display);font-size:.95rem;color:var(--text)}.dc-planning-offense-roll{margin:0;font-size:1.05rem;color:var(--text)}.dc-planning-offense-results{display:flex;flex-direction:column;gap:12px}.dc-planning-offense-placeholder{margin:0;color:var(--text-dim)}.dc-planning-offense-table{list-style:none;padding:0;margin:0;display:grid;gap:8px}.dc-planning-offense-row{display:grid;grid-template-columns:80px 1fr;gap:16px;align-items:center;padding:10px 12px;border-radius:10px;background:#22242ab8}.dc-planning-offense-range{font-weight:600;color:var(--text)}.dc-planning-offense-description{color:var(--text-dim)}.dc-outcome-link{background:none;border:none;padding:0;margin:0;color:var(--accent-cyan);text-decoration:underline;cursor:pointer;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;transition:color .2s ease}.dc-outcome-link:hover{color:var(--accent-cyan-bright, #5dd8ff)}.dc-outcome-link:active{color:var(--accent-cyan-dim, #4a9fb3)}.dc-outcome-link:focus-visible{outline:2px solid var(--accent-cyan);outline-offset:2px;border-radius:2px}.dc-planning-defense-guidance{margin:0;color:var(--text);font-weight:600}.dc-planning-defense-placeholder{margin:0;color:var(--text-dim);font-weight:500}.dc-planning-defense-item--fortified{border-color:color-mix(in srgb,var(--threat-tl1) 55%,transparent);background:color-mix(in srgb,var(--threat-tl1) 22%,rgba(34,36,42,.72))}.dc-planning-defense-item--in-cover{border-color:color-mix(in srgb,var(--threat-tl2) 55%,transparent);background:color-mix(in srgb,var(--threat-tl2) 20%,rgba(34,36,42,.72))}.dc-planning-defense-item--flanked{border-color:color-mix(in srgb,var(--threat-tl4) 55%,transparent);background:color-mix(in srgb,var(--threat-tl4) 24%,rgba(34,36,42,.72))}.dc-planning-momentum{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}@media(min-width:720px){.dc-planning-momentum{grid-template-columns:repeat(2,minmax(0,1fr))}}.dc-planning-momentum-column{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#22242ab8}.dc-planning-momentum-heading{margin:0;font-size:1rem;font-weight:700;color:var(--text)}.dc-planning-momentum-list{margin:0;padding-left:18px;display:grid;gap:10px}.dc-planning-momentum-list li{color:var(--text-dim)}.dc-planning-momentum-highlight{color:var(--text);font-weight:600}.dc-planning-tactics-intro{margin:0;font-size:.95rem;line-height:1.6;color:var(--text-dim)}.dc-planning-tactics-threat{color:var(--text);font-weight:700}.dc-planning-tactics-roll{padding:0;border:none;background:none;color:var(--accent);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}.dc-planning-tactics-roll:disabled{color:var(--muted);cursor:not-allowed;text-decoration:none}.dc-planning-tactics-table{width:100%;margin-top:18px;border-collapse:collapse}.dc-planning-tactics-row{transition:background .18s ease,transform .18s ease}.dc-planning-tactics-row th,.dc-planning-tactics-row td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left;vertical-align:top}.dc-planning-tactics-row:last-child th,.dc-planning-tactics-row:last-child td{border-bottom:none}.dc-planning-tactics-effect{width:55%;font-weight:600;color:var(--text)}.dc-planning-tactics-effect strong{color:var(--accent)}.dc-planning-tactics-description{color:var(--text-dim);font-size:.92rem}.dc-planning-tactics-row.is-highlighted{background:color-mix(in srgb,var(--accent) 18%,transparent);transform:translateZ(0) scale(1.005)}.dc-planning-tactics-row.is-highlighted .dc-planning-tactics-description{color:var(--text)}.dc-planning-tactics-row.is-rolling{animation:dc-tactic-flash .4s linear infinite alternate}@keyframes dc-tactic-flash{0%{filter:brightness(1.1)}to{filter:brightness(1.4)}}.dc-engagement-squad{display:flex;flex-direction:column;gap:16px}.dc-engagement-squad-title{margin:0;font-family:var(--font-display);font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim)}.dc-engagement-squad-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-engagement-intent-clear{margin-left:auto}.dc-engagement-intent{display:flex;flex-direction:column;gap:6px;margin-top:12px}.dc-engagement-intent-label{font-size:.85rem;font-weight:600;color:var(--text)}.dc-engagement-intent-select{width:min(100%,240px)}.dc-engagement-squad-alerts{display:flex;flex-direction:column;gap:8px;margin:12px 0 16px}.dc-engagement-squad-alert{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid var(--threat-tl4);background:#f941441f;color:var(--text);font-size:.9rem}:root.theme-terminal .dc-engagement-squad-alert{background:#ff33001f}.dc-engagement-squad-alert-icon{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:999px;background:var(--threat-tl4);color:var(--bg);font-size:.9rem;font-weight:700;flex-shrink:0}.dc-engagement-squad-alert-text{line-height:1.3}.dc-engagement-squad-list{display:flex;flex-direction:column;gap:14px}.dc-engagement-squad-card{padding:14px 18px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0f1214e6,#090a0cf2);box-shadow:0 14px 32px #00000052}.dc-engagement-squad-layout{display:grid;grid-template-columns:4.5fr 1fr;gap:8px;align-items:stretch}@media(max-width:1040px){.dc-engagement-squad-layout{grid-template-columns:minmax(0,1fr)}}.dc-engagement-squad-row{display:grid;gap:12px}.dc-engagement-squad-row--primary{grid-template-columns:minmax(0,1fr) 180px 1fr 1fr;align-items:center;gap:20px}@media(max-width:880px){.dc-engagement-squad-row--primary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.dc-engagement-squad-row--primary{grid-template-columns:minmax(0,1fr)}}.dc-engagement-squad-row--positions{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:start}.dc-engagement-squad-name{min-width:0}.dc-engagement-squad-name-text{font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-engagement-squad-status{position:relative;display:inline-flex;align-items:center}.dc-status-control{position:relative;display:inline-flex}.dc-status-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:148px;padding:6px 14px;border-radius:10px;border:1px solid transparent;background:#1b1d1f;color:#fff;font-size:.85rem;font-weight:600;letter-spacing:.04em;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;box-shadow:0 6px 16px #0000003d}.dc-status-button:hover{transform:translateY(-1px);filter:brightness(1.05)}.dc-status-button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.dc-status-button__label{white-space:nowrap}.dc-status-button__chevron{font-size:.7rem;line-height:1}.dc-status-button--ok{background:color-mix(in oklab,var(--ok) 75%,#0c0d0e);border-color:color-mix(in oklab,var(--ok) 60%,#040404)}.dc-status-button--grazed{background:color-mix(in oklab,var(--grazed) 68%,#0c0d0e);border-color:color-mix(in oklab,var(--grazed) 52%,#040404)}.dc-status-button--wounded{background:color-mix(in oklab,var(--wounded) 68%,#0c0d0e);border-color:color-mix(in oklab,var(--wounded) 52%,#040404)}.dc-status-button--bleeding{background:color-mix(in oklab,var(--bleeding) 62%,#0c0d0e);border-color:color-mix(in oklab,var(--bleeding) 50%,#040404)}.dc-status-button--dead{background:#000;border-color:#000}.dc-status-menu{position:absolute;top:calc(100% + 10px);left:0;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#0a0b0ef7;box-shadow:0 18px 40px #00000073;min-width:max(180px,100%);z-index:40}.dc-status-menu-option{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:9px;border:1px solid transparent;cursor:pointer;font-weight:600;font-size:.85rem;transition:transform .12s ease,border-color .12s ease,background .12s ease;color:var(--text)}.dc-status-menu-option:hover{transform:translate(2px)}.dc-status-menu-option.is-active{border-color:var(--focus);box-shadow:0 0 0 2px #35b0ff2e}.dc-status-menu-option--ok{background:color-mix(in oklab,var(--ok) 24%,#0c0d0e);border-color:color-mix(in oklab,var(--ok) 42%,#0c0d0e)}.dc-status-menu-option--grazed{background:color-mix(in oklab,var(--grazed) 24%,#0c0d0e);border-color:color-mix(in oklab,var(--grazed) 42%,#0c0d0e)}.dc-status-menu-option--wounded{background:color-mix(in oklab,var(--wounded) 24%,#0c0d0e);border-color:color-mix(in oklab,var(--wounded) 42%,#0c0d0e)}.dc-status-menu-option--bleeding{background:color-mix(in oklab,var(--bleeding) 24%,#0c0d0e);border-color:color-mix(in oklab,var(--bleeding) 42%,#0c0d0e)}.dc-status-menu-option--dead{background:color-mix(in oklab,var(--dead) 24%,#0c0d0e);border-color:color-mix(in oklab,var(--dead) 42%,#0c0d0e)}.dc-status-menu-option-dot{width:12px;height:12px;border-radius:50%;background:#ffffffbf}.dc-status-menu-option--ok .dc-status-menu-option-dot{background:var(--ok)}.dc-status-menu-option--grazed .dc-status-menu-option-dot{background:var(--grazed)}.dc-status-menu-option--wounded .dc-status-menu-option-dot{background:var(--wounded)}.dc-status-menu-option--bleeding .dc-status-menu-option-dot{background:var(--bleeding)}.dc-status-menu-option--dead .dc-status-menu-option-dot{background:#000}.dc-engagement-squad-main{display:flex;flex-direction:column;gap:14px}.dc-engagement-squad-gear-column{display:flex;flex-direction:column;padding-left:16px;border-left:1px solid rgba(255,255,255,.08);max-width:260px;margin-left:auto}@media(max-width:1040px){.dc-engagement-squad-gear-column{padding-left:0;border-left:none;padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}}.dc-engagement-squad-resource{display:inline-flex;align-items:center;gap:6px}.dc-engagement-squad-resource-label,.dc-engagement-position-heading,.dc-engagement-gear-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--text-dim)}.dc-engagement-position-buttons{display:inline-flex;flex-wrap:wrap;gap:4px}.dc-engagement-position-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;border-radius:12px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.1em;cursor:pointer;background:#0000002e;color:var(--text);transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;min-width:92px}.dc-engagement-position-btn:hover{transform:translateY(-1px)}.dc-engagement-position-btn.is-active{box-shadow:0 0 8px #35b0ff33;border-color:var(--focus)}.dc-engagement-position-btn__label{font-size:.7rem}.dc-engagement-position-detail{margin-top:6px;font-size:.68rem;letter-spacing:normal;text-transform:none;color:var(--text-dim);display:flex;flex-wrap:wrap;gap:4px}.dc-engagement-position-detail__label{font-weight:600}.dc-engagement-position-detail__text{color:color-mix(in oklab,var(--text-dim) 92%,var(--text) 8%)}.dc-engagement-position-btn--positive{background:color-mix(in oklab,var(--ok) 26%,#0c0d0e);border-color:color-mix(in oklab,var(--ok) 40%,#0c0d0e)}.dc-engagement-position-btn--caution{background:color-mix(in oklab,var(--grazed) 26%,#0c0d0e);border-color:color-mix(in oklab,var(--grazed) 40%,#0c0d0e)}.dc-engagement-position-btn--negative{background:color-mix(in oklab,var(--bleeding) 26%,#0c0d0e);border-color:color-mix(in oklab,var(--bleeding) 40%,#0c0d0e)}.dc-engagement-gear-item{display:flex;flex-direction:column;gap:4px}.dc-engagement-gear-value{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.75rem;color:var(--text)}.dc-tip--icon{display:inline-flex;align-items:center}.dc-tip-icon{width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.24);background:#00000073;color:var(--text);font-weight:700;font-size:.7rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}.dc-tip-icon:hover{transform:translateY(-1px);border-color:var(--focus)}.dc-tip-icon:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.dc-engagement-gear-tip{display:flex;flex-direction:column;gap:6px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:8px}.dc-engagement-gear-tip:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.dc-engagement-gear-tip-description{margin:0;font-size:.85rem;color:var(--text-dim)}.dc-engagement-gear-tip-function{margin:0;font-size:.82rem;color:var(--accent)}.dc-engagement-squad-empty{margin:0;padding:14px;border-radius:12px;border:1px dashed rgba(255,255,255,.12);color:var(--muted);font-size:.9rem}.dc-engagement-advance-title{margin:0;text-align:center;font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.dc-advance-wrapper{gap:18px}.dc-advance-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-advance-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#00000040;color:var(--text);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:border-color .15s ease,background .15s ease}.dc-advance-toggle:hover{border-color:#ffffff5c;background:#0006}.dc-advance-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dc-advance-body{display:flex;flex-direction:column;gap:18px}.dc-advance-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.dc-advance-panel{display:flex;flex-direction:column;gap:16px;padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#28361852,#151617e6);box-shadow:inset 0 0 12px #00000040}.dc-advance-panel header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.dc-advance-panel h4{margin:0;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-advance-panel p{margin:0;font-size:.9rem;line-height:1.4;color:var(--text-dim)}.dc-advance-wrapper--collapsed .dc-advance-body{gap:12px}.dc-advance-collapsed-summary{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}.dc-advance-collapsed-empty{margin:0;text-align:center;font-size:.85rem;letter-spacing:.08em;color:var(--text-dim)}.dc-modifiers-list{display:flex;flex-direction:column;gap:12px}.dc-modifier-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.9rem}.dc-modifier-label{color:var(--text-dim)}.dc-modifier-value{font-family:var(--font-display);font-size:.95rem;letter-spacing:.04em}.dc-modifier-input{width:72px;min-width:72px;text-align:center;padding-inline:6px}.dc-modifier-row--total{margin-top:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.dc-modifier-total-label{font-size:.95rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-modifier-total-value{font-family:var(--font-display);font-size:1.1rem;letter-spacing:.08em}.dc-dice-screen{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:10px;background:#0f1011b3;border:1px solid rgba(255,255,255,.08)}.dc-dice-screen-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-dice-label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.dc-dice-value{font-family:var(--font-display);font-size:1.1rem;letter-spacing:.08em}.dc-dice-roll-btn{width:100%}.dc-dice-outcome{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.9rem}.dc-dice-outcome-label{color:var(--text-dim);text-transform:uppercase;letter-spacing:.08em}.dc-dice-outcome-value{font-family:var(--font-display);font-size:1.1rem;letter-spacing:.08em}.dc-advance-panel--result{justify-content:center;align-items:center;text-align:center}.dc-result-content{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}.dc-advance-apply-button{margin-top:4px}.dc-result-content{display:flex;flex-direction:column;gap:12px}.dc-result-outcome{font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700}.dc-result-outcome--ambushed{color:var(--threat-tl4)}.dc-result-outcome--spotted{color:var(--accent)}.dc-result-outcome--advantage{color:var(--accent-2)}.dc-result-outcome--surprise{color:var(--focus)}.dc-result-outcome--overwhelm{color:var(--ok)}.dc-result-description{margin:0;font-size:.9rem;line-height:1.45}.dc-result-placeholder{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;color:var(--text-dim)}.dc-result-placeholder-title{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text)}.dc-result-placeholder-text{margin:0;font-size:.88rem;line-height:1.4}.dc-engagement-card header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.dc-engagement-card h4{margin:0;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.dc-engagement-value{font-family:var(--font-display);font-size:.95rem;letter-spacing:.04em;color:var(--text)}.dc-engagement-card p{margin:0;font-size:.9rem;line-height:1.4;color:var(--text-dim)}.dc-engagement-weather{gap:14px}.dc-engagement-weather-options{display:flex;flex-wrap:wrap;gap:10px}.dc-engagement-weather-option{position:relative;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#606c382e;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}.dc-engagement-weather-option input{position:absolute;inset:0;opacity:0;cursor:pointer}.dc-engagement-weather-option span{pointer-events:none}.dc-engagement-weather-option.is-active{border-color:#dda15e99;background:#dda15e4d;color:var(--text)}.dc-engagement-weather-option:hover{border-color:#dda15e73}.dc-engagement-effect-label{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim)}.dc-engagement-effect-detail{display:block;margin-top:6px;font-size:.92rem;color:var(--text)}.dc-engagement-value--tl1,.dc-engagement-threat-detail--tl1{color:var(--threat-tl1)}.dc-engagement-value--tl2,.dc-engagement-threat-detail--tl2{color:var(--threat-tl2)}.dc-engagement-value--tl3,.dc-engagement-threat-detail--tl3{color:var(--threat-tl3)}.dc-engagement-value--tl4,.dc-engagement-threat-detail--tl4{color:var(--threat-tl4)}.dc-engagement-threat-detail{font-weight:600;letter-spacing:.05em}.dc-engagement-empty{margin:0;font-size:.9rem;color:var(--text-dim);padding:16px;border:1px dashed rgba(255,255,255,.16);border-radius:12px;text-align:center}@media(min-width:640px){.dc-mission-sector-card-top{flex-direction:row;align-items:center;justify-content:space-between}.dc-mission-sector-card-actions{justify-content:flex-end}}:root.theme-terminal .dc-mission-sectors{border-color:#00ff0047;background:linear-gradient(180deg,#081c08f2,#061606eb 45%,#041004d9);box-shadow:0 26px 48px #00ff0038}:root.theme-terminal .dc-mission-sectors:before{background:radial-gradient(120% 60% at 50% 0%,rgba(0,255,0,.2),transparent 75%),linear-gradient(180deg,rgba(0,255,0,.06),transparent 32%)}:root.theme-terminal .dc-mission-sectors-empty{border-color:#00ff0059;background:#00400080}:root.theme-terminal .dc-mission-sector-card{border-color:#0f06;background:linear-gradient(180deg,#003000d9,#002800cc 55%,#002000c2);box-shadow:0 18px 38px #0f03}:root.theme-terminal .dc-mission-sector-card:after{background:radial-gradient(70% 70% at 50% 50%,rgba(0,255,0,.45),transparent 70%)}:root.theme-terminal .dc-mission-sector-card.is-current{border-color:#00ff96f2;box-shadow:0 24px 50px #00ff004d,0 0 20px #00ff9659}:root.theme-terminal .dc-mission-sector-card:focus-within{border-color:#00ff00a6;box-shadow:0 20px 40px #00ff0040,0 0 0 2px #00ff0040}:root.theme-terminal .dc-mission-sector-card.is-drag-over{border-color:#0f0c;box-shadow:0 22px 46px #00ff0047,0 0 0 2px #00ff0047}:root.theme-terminal .dc-mission-sector-drag-handle{border-color:#00ff0073;background:#00ff0024;box-shadow:none}:root.theme-terminal .dc-mission-sector-drag-handle:hover{background:#00ff0038;border-color:#00ff00a6;box-shadow:0 0 0 2px #00ff002e}:root.theme-terminal .dc-mission-sector-drag-handle:active,:root.theme-terminal .dc-mission-sector-card.is-dragging .dc-mission-sector-drag-handle{background:#00ff0047}:root.theme-terminal .dc-mission-sector-drag-icon:before,:root.theme-terminal .dc-mission-sector-drag-icon:after{background-image:radial-gradient(circle at 50% 20%,#0f00 18%,#0f0c 19% 40%,#0f00 41%),radial-gradient(circle at 50% 80%,#0f00 18%,#0f0c 19% 40%,#0f00 41%)}:root.theme-terminal .dc-mission-sector-name{border-color:#00ff0080;background:#004000b8;color:var(--text)}:root.theme-terminal .dc-mission-sector-weather-option{border-color:#00ff0059;background:#00400066}:root.theme-terminal .dc-mission-sector-weather-option.is-active{border-color:#00ff00bf;background:#00800073}:root.theme-terminal .dc-mission-sector-weather-option:hover{border-color:#00ff008c}:root.theme-terminal .dc-mission-sector-name::placeholder{color:#0f09}:root.theme-terminal .dc-mission-sector-name:focus{border-color:#00ff00d9;background:#005000d9;box-shadow:0 0 0 3px #00ff0040}:root.theme-terminal .dc-mission-sector-randomize{background:#00800040;border-color:#0f06}:root.theme-terminal .dc-mission-sector-randomize:hover{background:#00800066}:root.theme-terminal .dc-mission-sector-delete{color:#00ff00d9}:root.theme-terminal .dc-mission-sector-delete:hover{color:var(--text)}:root.theme-terminal .dc-mission-sector-advance{background:#00ff0029;border-color:#00ff0061;color:#00ff00d9}:root.theme-terminal .dc-mission-sector-advance:hover{background:#00ff003d}:root.theme-terminal .dc-mission-sector-add{background:#00ff002e;border-color:#0f06;color:#041704;box-shadow:0 0 16px #00ff0040}:root.theme-terminal .dc-mission-sector-add:hover{background:#00ff0047}:root.theme-terminal .dc-mission-sector-current{border-color:#00ff0073;background:#0040008c;color:#00ff00d9}:root.theme-terminal .dc-mission-sector-current:hover{border-color:#00ff00a6;background:#004000b3;box-shadow:0 0 0 2px #0f03}:root.theme-terminal .dc-mission-sector-current input{accent-color:rgba(0,255,0,.85)}:root.theme-terminal .dc-engagement-card{border-color:#00ff0047;background:linear-gradient(180deg,#004000ad,#001c00d1);box-shadow:0 22px 36px #00ff0038}:root.theme-terminal .dc-engagement-card p{color:#00ff00c7}:root.theme-terminal .dc-engagement-effect-label{color:#00ff00b3}:root.theme-terminal .dc-engagement-effect-detail{color:var(--text)}:root.theme-terminal .dc-engagement-empty{border-color:#00ff0052;color:#00ff00bf}:root.theme-terminal .dc-engagement-weather-option{border-color:#00ff0059;background:#00400080;color:#00ff00b3}:root.theme-terminal .dc-engagement-weather-option.is-active{border-color:#00ff00d1;background:#00800094;color:#0f0}:root.theme-terminal .dc-engagement-weather-option:hover{border-color:#00ff008c}.dc-table-wrap{background:var(--panel);border:1px solid var(--border);border-radius:10px;overflow:visible}.dc-table{width:100%;border-collapse:collapse;background:transparent}.dc-table thead th{text-align:left;font-weight:600;padding:12px;background:#1b1c1e;border-bottom:1px solid var(--border);font-size:.9rem;white-space:nowrap}.dc-table tbody td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle;overflow:visible}.dc-table tbody tr:nth-child(2n){background:#121314}.dc-table tbody tr:hover{background:#1a1c1e}.dc-col-expand{width:40px;text-align:center;padding:10px 8px!important}.dc-col-name,.dc-col-status{width:160px}.dc-td--num{width:100px;text-align:center}.dc-td--notes{width:160px}.dc-col-actions{width:140px;text-align:right}.dc-td-actions{text-align:right}.dc-th--center{text-align:center!important}.dc-inline-group{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap}.dc-trooper-row td{transition:background .2s ease,box-shadow .2s ease}.dc-trooper-row--active td{background:#dda15e14}.dc-trooper-row--active:hover td{background:#dda15e1f}.dc-trooper-row--dragging{opacity:.55}.dc-trooper-row--dragover td{box-shadow:inset 0 0 0 2px var(--accent)}.dc-row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.dc-row-action-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--border);background:#1b1d1f;color:var(--text);font-size:.8rem;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.dc-row-action-btn:hover{background:#212426;border-color:#3a3f44}.dc-row-action-btn:disabled{opacity:.4;cursor:not-allowed}.dc-row-action-btn--danger{color:#f26d6d;border-color:#5a2b2b}.dc-row-action-btn--danger:hover{background:#2a1b1b;border-color:#7a3535}.dc-reserve-toggle-row td{padding:12px;text-align:center;background:#101112}.dc-reserve-toggle{background:transparent;border:1px dashed var(--border);border-radius:999px;padding:6px 18px;color:var(--accent);font-size:.85rem;letter-spacing:.08em;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.dc-reserve-toggle:hover{background:#dda15e14;border-color:var(--accent)}.dc-valbox{display:inline-flex;align-items:center;justify-content:center;min-width:28px;text-align:center}.dc-badge{display:inline-flex;align-items:center;justify-content:center;font-family:Quantico,ui-sans-serif;-webkit-user-select:none;user-select:none;padding:4px 12px;border-radius:999px;border:1px solid var(--border);font-size:.85rem;line-height:1;white-space:nowrap;cursor:default;min-width:90px;text-align:center}.dc-badge--ok{background:color-mix(in oklab,var(--ok) 25%,#111);color:#dff7ea}.dc-badge--grazed{background:color-mix(in oklab,var(--grazed) 28%,#111);color:#18190a}.dc-badge--wounded{background:color-mix(in oklab,var(--wounded) 30%,#111);color:#1d1207}.dc-badge--bleeding{background:color-mix(in oklab,var(--bleeding) 26%,#111);color:#180707}.dc-badge--dead{background:#353a40;color:#cfd6dc}.dc-expand-btn{background:none;border:none;color:var(--text);cursor:pointer;padding:4px 8px;font-size:.9rem;line-height:1;transition:transform .2s ease}.dc-expand-btn:hover{color:var(--focus)}.dc-expand-btn.expanded{transform:rotate(180deg)}.dc-gear-summary{font-size:.7rem;color:var(--text-dim);margin-top:3px;white-space:normal;line-height:1.1}.dc-expanded-row{display:none}.dc-expanded-row.show{display:table-row}.dc-expanded-content{padding:16px 12px;background:#0a0b0c;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.dc-expanded-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.dc-expanded-field{display:flex;flex-direction:column;gap:6px}.dc-expanded-label{font-size:.75rem;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:.5px}.dc-expanded-textarea{width:100%;padding:8px 10px;background:#0c0d0e;color:var(--text);border:1px solid var(--border);border-radius:8px;outline:none;font-size:.85rem;font-family:inherit;resize:vertical;min-height:80px}.dc-expanded-textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px #35b0ff26}.dc-armory{margin-top:32px;padding:20px;background:#0a0b0c;border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;gap:20px}.dc-armory-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.dc-armory-title{margin:0;font-size:1.15rem;font-weight:600}.dc-armory-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.dc-armory-requisition{display:flex;align-items:center;gap:12px}.dc-armory-requisition-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim)}.dc-armory-body{display:flex;flex-direction:column;gap:16px}.dc-armory-empty{padding:16px;border:1px dashed var(--border);border-radius:10px;text-align:center;color:var(--text-dim);font-size:.9rem}.dc-armory-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.dc-armory-item{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;padding:16px;background:#101113;border:1px solid var(--border);border-radius:12px}.dc-armory-item-main{display:flex;flex-direction:column;gap:8px}.dc-armory-item-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.dc-armory-item-name{margin:0;font-size:1rem;font-weight:600}.dc-armory-item-cost{font-size:.85rem;color:var(--accent);font-weight:600}.dc-armory-item-description,.dc-armory-item-function{margin:0;font-size:.85rem;line-height:1.4;color:var(--text-dim)}.dc-armory-item-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.dc-armory-item-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim)}.dc-armory-item-assigned{font-size:.85rem;color:var(--text-dim)}.dc-armory-item-actions .dc-select{min-width:180px}.dc-armory-item-destroy{background:#c441411a;border-color:#c4414166;color:#ff9a9a}.dc-armory-item-destroy:hover{background:#c441412e;border-color:#c4414199}.dc-armory-trooper-gear{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--border);border-radius:10px;background:#101113}.dc-armory-trooper-gear-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dc-armory-trooper-gear-info{display:flex;flex-direction:column;gap:4px;flex:1}.dc-armory-trooper-gear-name{font-weight:600;font-size:.9rem}.dc-armory-trooper-gear-function{font-size:.8rem;line-height:1.35;color:var(--text-dim)}.dc-armory-trooper-gear-empty{font-size:.85rem;color:var(--text-dim)}.dc-armory-trooper-gear-controls{margin-top:10px;display:flex;flex-direction:column;gap:6px}.dc-armory-trooper-gear-hint{font-size:.75rem;color:var(--text-dim)}.dc-armory-modal{max-width:min(720px,92vw);width:100%}.dc-armory-modal-title{margin-top:0;margin-bottom:4px;font-size:1.2rem}.dc-armory-modal-summary{margin:0 0 12px;font-size:.9rem;color:var(--text-dim)}.dc-armory-catalog{display:flex;flex-direction:column;gap:12px;max-height:min(60vh,480px);overflow-y:auto;padding-right:4px}.dc-armory-catalog-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 14px;background:#101113;border:1px solid var(--border);border-radius:10px}.dc-armory-catalog-info{display:flex;flex-direction:column;gap:6px}.dc-armory-catalog-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.dc-armory-catalog-name{font-weight:600}.dc-armory-catalog-cost{font-size:.85rem;color:var(--accent);font-weight:600}.dc-armory-catalog-description,.dc-armory-catalog-function{margin:0;font-size:.82rem;line-height:1.35;color:var(--text-dim)}.dc-armory-catalog-item .dc-btn{align-self:flex-start}.dc-armory-catalog-item .dc-btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.dc-armory-item{grid-template-columns:1fr}.dc-armory-header{align-items:flex-start}.dc-armory-controls{width:100%;justify-content:space-between}.dc-armory-item-actions .dc-select{width:100%}}.dc-tip{position:relative;display:inline-block;z-index:10}.dc-tip__bubble{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translate(-50%);width:max(260px,30ch);max-width:380px;background:#1b1c1e;color:var(--text-dim);border:1px solid var(--border);border-radius:10px;padding:12px 14px;line-height:1.4;font-size:.85rem;box-shadow:0 8px 32px #0006;opacity:0;pointer-events:none;z-index:1000;transition:opacity .15s ease,transform .15s ease;white-space:normal}.dc-tip__bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:8px solid transparent;border-top-color:#1b1c1e;filter:drop-shadow(0 2px 3px rgb(0 0 0 / .3))}.dc-tip:hover .dc-tip__bubble,.dc-tip:focus-within .dc-tip__bubble{opacity:1;pointer-events:auto;transform:translate(-50%) translateY(-4px)}input[type=checkbox]{accent-color:var(--focus);cursor:pointer}input[type=checkbox]:hover{opacity:.8}@media(max-width:768px){.dc-container{width:min(100%,98%);padding:12px 0 20px}.dc-col-expand{width:35px}.dc-col-name{width:120px}.dc-col-status{width:140px}.dc-td--num{width:80px}.dc-table thead th{padding:10px 8px;font-size:.85rem}.dc-table tbody td{padding:8px}.dc-badge{font-size:.75rem;padding:3px 8px;min-width:80px}.dc-btn--sm{padding:3px 6px;font-size:.8rem}.dc-input,.dc-select{font-size:.85rem;padding:5px 8px}.dc-expanded-inner{grid-template-columns:1fr}}.dc-tab-nav{display:flex;gap:12px;margin:16px 0 24px;justify-content:center;padding-bottom:8px;border-bottom:2px solid var(--border)}.dc-tab-btn{padding:10px 18px;background:transparent;color:var(--text-dim);border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:.95rem;font-weight:600;letter-spacing:.5px;transition:color .15s ease,border-color .15s ease}.dc-tab-btn:hover{color:var(--text)}.dc-tab-btn.active{color:var(--focus);border-bottom-color:var(--focus)}@keyframes dc-tab-glow{0%{box-shadow:0 0 #57cfff73}60%{box-shadow:0 0 0 8px #57cfff00}to{box-shadow:0 0 #57cfff00}}.dc-tab-btn--notify{color:var(--focus);border-bottom-color:var(--focus);animation:dc-tab-glow 1.4s ease-out;position:relative}.dc-log-feed{margin:16px 0;padding:10px;background:var(--panel);border:1px solid var(--border);border-radius:10px;max-height:600px;overflow-y:auto}.dc-log-empty{color:var(--text-dim);font-style:italic;padding:20px;text-align:center}.dc-log-entry{position:relative;margin-bottom:8px;padding:10px;background:#121314;border:1px solid var(--border);border-radius:8px;border-left:3px solid var(--accent);transition:background .15s ease}.dc-log-entry:hover{background:#1a1c1e}.dc-log-header{display:flex;gap:8px;margin-bottom:4px;font-size:.85rem}.dc-log-timestamp{color:var(--focus);font-weight:600;font-family:Courier New,monospace}.dc-log-source{color:var(--text-dim);font-weight:600;font-size:.8rem;text-transform:uppercase}.dc-log-source--user{color:orange}.dc-log-source--system{color:#58d68d}.dc-log-text{color:var(--text);font-size:1.2rem;line-height:1.3;word-wrap:break-word}.dc-log-delete{position:absolute;top:8px;right:8px;background:transparent;border:none;color:var(--text-dim);cursor:pointer;font-size:1.2rem;padding:4px 8px;opacity:0;transition:opacity .15s ease,color .15s ease}.dc-log-entry:hover .dc-log-delete{opacity:1}.dc-log-delete:hover{color:#e74c3c}.dc-modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.dc-modal{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:24px;max-width:500px;width:90%;box-shadow:0 8px 32px #00000080}.dc-modal h3{margin-top:0;margin-bottom:16px;color:var(--text)}.dc-modal-textarea{width:100%;min-height:120px;padding:12px;background:#0c0d0e;color:var(--text);border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:.9rem;resize:vertical;margin-bottom:16px}.dc-modal-textarea:focus{border-color:var(--focus);outline:none;box-shadow:0 0 0 3px #35b0ff26}.dc-modal-buttons{display:flex;gap:12px;justify-content:flex-end}.dc-modal-buttons .dc-btn:disabled{opacity:.5;cursor:not-allowed}.dc-intent-modal-error{margin-bottom:16px;padding:10px 14px;border-radius:8px;border:1px solid rgba(231,76,60,.55);background:#e74c3c2e;color:var(--text);font-size:.9rem;line-height:1.3}.dc-move-modal{max-width:720px}.dc-move-section{margin-bottom:24px;display:flex;flex-direction:column;gap:14px}.dc-move-section:last-of-type{margin-bottom:0}.dc-move-section-title{margin:0;font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.dc-move-track{display:flex;align-items:center;gap:10px}.dc-move-track-label{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.dc-move-track-value{font-family:var(--font-mono);font-size:.95rem;padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:#ffffff0d;color:var(--text)}.dc-move-track-value.is-target{border-color:var(--accent);color:var(--accent);background:#dda15e2e}.dc-move-track-arrow,.dc-move-arrow{font-size:1.1rem;color:var(--text-dim)}.dc-move-progression{display:flex;gap:8px;flex-wrap:wrap}.dc-move-progression-step{padding:6px 10px;border-radius:8px;border:1px solid var(--border);background:#ffffff08;font-family:var(--font-mono);font-size:.85rem;color:var(--text-dim)}.dc-move-progression-step.is-current{border-color:var(--focus);color:var(--focus);background:#35b0ff1a}.dc-move-progression-step.is-target{border-color:var(--accent);color:var(--accent);background:#dda15e1a}.dc-move-armor-note{margin:0;font-size:.9rem;color:var(--text-dim)}.dc-move-outcome-ranges{display:flex;flex-wrap:wrap;gap:16px;font-family:var(--font-mono);font-size:.85rem;color:var(--text-dim)}.dc-move-outcome-ranges strong{color:var(--text);font-weight:600}.dc-move-dice{display:flex;flex-wrap:wrap;gap:12px}.dc-move-die{min-width:110px;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:#ffffff0a;display:flex;flex-direction:column;align-items:center;gap:6px;transition:border-color .2s ease,box-shadow .2s ease}.dc-move-die-label{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-dim)}.dc-move-die-value{width:48px;height:48px;border-radius:14px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:600;background:#ffffff0f;color:var(--text)}.dc-move-die-outcome{font-size:.85rem;font-family:var(--font-mono)}.dc-move-die.is-selected{border-color:var(--focus);box-shadow:0 0 0 1px #35b0ff33}.dc-move-die.is-winning{border-color:var(--accent);box-shadow:0 0 0 1px #dda15e4d}.dc-move-actions{display:flex;justify-content:flex-start}.dc-move-reroll-meta{margin-top:6px;display:flex;flex-direction:column;gap:4px}.dc-move-reroll-note{margin:0;font-size:.85rem;color:var(--text-dim)}.dc-move-uncertain-summary{margin-top:8px;font-size:.95rem;color:var(--text)}.dc-move-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;border:1px solid var(--border);font-family:var(--font-mono);margin-left:8px}.dc-move-badge--positive{border-color:var(--accent);color:var(--accent);background:#dda15e2e}.dc-move-badge--negative{border-color:var(--bleeding);color:var(--bleeding);background:#e74c3c2e}.dc-move-summary{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:12px;border:1px solid var(--border);background:#ffffff0a}.dc-move-summary-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.dc-move-summary-label{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.dc-move-summary-values{display:flex;align-items:center;gap:10px}.dc-move-summary-value{font-family:var(--font-mono);padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:#ffffff0d}.dc-move-summary-value--positive{border-color:var(--accent);color:var(--accent)}.dc-move-summary-value--caution{border-color:var(--focus);color:var(--focus)}.dc-move-summary-value--negative{border-color:var(--bleeding);color:var(--bleeding)}.dc-airdeploy-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:clamp(16px,4vw,48px);background:#030508c7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1400}.dc-airdeploy-panel{width:min(620px,96vw);background:linear-gradient(180deg,#080c12f5,#04060af0);border:1px solid rgba(93,166,255,.25);box-shadow:0 24px 48px #00000073,0 0 32px #35b0ff14;padding:clamp(20px,4vw,36px);color:var(--text);font-family:var(--font-mono);border-radius:14px}.dc-airdeploy-output{min-height:8rem;display:flex;flex-direction:column;gap:.75rem;font-size:clamp(.95rem,2.4vw,1.15rem);line-height:1.6;letter-spacing:.08em}.dc-airdeploy-line{margin:0;color:var(--text);text-transform:uppercase;white-space:pre-wrap}.dc-airdeploy-cursor{display:inline-block;margin-left:.1em;width:.6em;animation:dcAirDeployCursorBlink 1s steps(2,start) infinite}@keyframes dcAirDeployCursorBlink{0%,to{opacity:0}50%{opacity:1}}.dc-airdeploy-proceed-btn{background:none;border:none;color:var(--accent);font:inherit;padding:0;text-decoration:underline;text-decoration-thickness:.12em;text-underline-offset:.18em;cursor:pointer}.dc-airdeploy-proceed-btn:focus{outline:2px solid var(--accent);outline-offset:4px}.dc-airdeploy-proceed-btn:hover{color:var(--focus)}.dc-log-text{color:var(--text);font-size:1.2rem;line-height:1.3;word-wrap:break-word;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background .15s ease}.dc-log-text:hover{background:#dda15e1a}.dc-log-edit-mode{display:flex;flex-direction:column;gap:8px}.dc-log-edit-textarea{width:100%;min-height:80px;padding:10px;background:#0c0d0e;color:var(--text);border:2px solid var(--focus);border-radius:6px;font-family:inherit;font-size:.9rem;resize:vertical}.dc-log-edit-textarea:focus{outline:none;box-shadow:0 0 0 3px #35b0ff26}.dc-log-edit-buttons{display:flex;gap:8px}.dc-log-edit-buttons .dc-btn{flex:1}.dc-log-entry{display:flex;flex-direction:column;gap:8px;-webkit-user-select:none;user-select:none;cursor:grab}.dc-log-entry:active{cursor:grabbing}.dc-log-drag-handle{color:var(--text-dim);font-size:1rem;font-weight:700;cursor:grab;opacity:.6;transition:opacity .15s ease;text-align:left}.dc-log-entry:hover .dc-log-drag-handle{opacity:1;color:var(--accent)}.dc-log-entry:active .dc-log-drag-handle{cursor:grabbing}.dc-log-entry--dragging{opacity:.5;transform:scale(.98);border-color:var(--accent);background:#dda15e1a}.dc-log-entry--drag-over{border-top:3px solid var(--focus);background:#35b0ff1a}.dc-log-entry[draggable=false]{cursor:auto}.dc-theme-toggle{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px;justify-content:center}.dc-theme-btn{padding:6px 12px;font-size:.85rem;border:1px solid var(--border);background-color:#1b1d1f;color:var(--text-dim);cursor:pointer;transition:all .2s ease;font-family:var(--font-display);text-transform:uppercase;letter-spacing:.05em;border-radius:6px;font-weight:600}.dc-theme-btn:hover{border-color:var(--accent);color:var(--text);background-color:#212426}.dc-theme-btn.active{background-color:var(--accent);color:var(--bg);border-color:var(--accent);text-shadow:var(--glow)}.dc-reset-btn{display:block;margin:8px auto;padding:8px 12px;font-size:1.2rem;border:1px solid var(--border);background-color:#1b1d1f;color:var(--text-dim);cursor:pointer;transition:all .2s ease;border-radius:6px;line-height:1}.dc-reset-btn:hover{border-color:#e74c3c;color:#e74c3c;background-color:#212426;transform:rotate(180deg)}.dc-reset-btn:active{transform:scale(.95) rotate(180deg)}.log-tab{position:fixed;top:30%;right:0;transform:translateY(-50%);writing-mode:vertical-rl;text-orientation:mixed;background:var(--accent);color:var(--bg);border:none;border-radius:10px 0 0 10px;padding:14px 10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 18px #00000059;transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;z-index:1200}.log-tab:hover,.log-tab:focus-visible{background:var(--accent-2);color:#fdf5e6;box-shadow:0 12px 28px #00000073;outline:none}.log-tab:active{transform:translateY(-50%) scale(.98)}.log-tab--notify{animation:log-pulse .7s ease-in-out 2}@keyframes log-pulse{0%,to{background:var(--accent)}50%{background:var(--accent-2);box-shadow:0 12px 32px #ffd70099}}.log-overlay{position:fixed;inset:0;background:#0000008c;display:flex;justify-content:flex-end;z-index:1300}.log-panel{width:33.3333vw;max-width:520px;min-width:280px;height:100%;background:#101113f7;border-left:1px solid rgba(255,255,255,.08);box-shadow:-6px 0 24px #0006;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:log-panel-slide-in .25s ease forwards}@keyframes log-panel-slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.log-panel__header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.log-panel__header h2{margin:0;font-size:1.2rem;letter-spacing:.16em;text-transform:uppercase}.log-panel__close{border:none;background:transparent;color:var(--text);font-size:1.8rem;line-height:1;cursor:pointer;padding:0 4px;border-radius:4px;transition:color .2s ease,background .2s ease}.log-panel__close:hover,.log-panel__close:focus-visible{color:var(--accent);background:#ffffff14;outline:none}.log-panel__content{flex:1;overflow-y:auto;padding:22px;font-size:.95rem}.rules-tab{position:fixed;top:60%;right:0;transform:translateY(-50%);writing-mode:vertical-rl;text-orientation:mixed;background:var(--accent);color:var(--bg);border:none;border-radius:10px 0 0 10px;padding:14px 10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 18px #00000059;transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;z-index:1200}.rules-tab:hover,.rules-tab:focus-visible{background:var(--accent-2);color:#fdf5e6;box-shadow:0 12px 28px #00000073;outline:none}.rules-tab:active{transform:translateY(-50%) scale(.98)}.rules-overlay{position:fixed;inset:0;background:#0000008c;display:flex;justify-content:flex-end;z-index:1300}.rules-panel{width:33.3333vw;max-width:520px;min-width:280px;height:100%;background:#101113f7;border-left:1px solid rgba(255,255,255,.08);box-shadow:-6px 0 24px #0006;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:rules-panel-slide-in .25s ease forwards}.rules-panel__header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.rules-panel__header h2{margin:0;font-size:1.2rem;letter-spacing:.16em;text-transform:uppercase}.rules-panel__close{border:none;background:transparent;color:var(--text);font-size:1.8rem;line-height:1;cursor:pointer;padding:0 4px;border-radius:4px;transition:color .2s ease,background .2s ease}.rules-panel__close:hover,.rules-panel__close:focus-visible{color:var(--accent);background:#ffffff14;outline:none}.rules-panel__content{flex:1;overflow-y:auto;padding:22px;font-size:.95rem;line-height:1.6;color:var(--text-dim)}.dice-tab{position:fixed;top:50%;left:0;transform:translateY(-50%);writing-mode:vertical-rl;text-orientation:mixed;background:var(--accent-2);color:var(--bg);border:none;border-radius:0 10px 10px 0;padding:14px 10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 18px #00000059;transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;z-index:1200}.dice-tab:hover,.dice-tab:focus-visible{background:var(--accent);color:#0b0c0f;box-shadow:0 12px 28px #00000073;outline:none}.dice-tab:active{transform:translateY(-50%) scale(.98)}.dice-tab--open{background:var(--accent)}.dice-tray{position:fixed;top:50%;left:0;transform:translateY(-50%);width:min(280px,85vw);background:#101113f7;border-right:1px solid rgba(255,255,255,.08);border-radius:0 18px 18px 0;box-shadow:6px 0 24px #0006;display:flex;flex-direction:column;gap:16px;padding:18px 20px 20px;z-index:1220;max-height:80vh;overflow-y:auto;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dice-tray__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dice-tray__title{margin:0;font-size:1.05rem;letter-spacing:.16em;text-transform:uppercase}.dice-tray__close{border:none;background:transparent;color:var(--text);font-size:1.5rem;line-height:1;cursor:pointer;padding:0 4px;border-radius:4px;transition:color .2s ease,background .2s ease}.dice-tray__close:hover,.dice-tray__close:focus-visible{color:var(--accent);background:#ffffff14;outline:none}.dice-tray__controls{display:flex;flex-direction:column;gap:12px}.dice-tray__label{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.dice-tray__input{width:100%;padding:8px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.12);background:#08090bb3;color:var(--text);font-family:var(--font-main)}.dice-tray__buttons{display:flex;gap:8px}.dice-tray__results{border:1px dashed rgba(255,255,255,.12);border-radius:12px;padding:14px;background:#0c0d0f99;min-height:80px}.dice-tray__empty{margin:0;color:var(--muted);font-size:.9rem;text-align:center}.dice-tray__dice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:10px}.dice-tray__die{display:flex;align-items:center;justify-content:center;border-radius:12px;background:#24262ce6;border:1px solid rgba(255,255,255,.08);font-size:1.2rem;font-weight:700;box-shadow:inset 0 2px 6px #00000059;min-height:48px;position:relative;transition:transform .2s ease,box-shadow .2s ease}.dice-tray__die--high{border-color:#5dbd87d9;box-shadow:0 0 12px #5dbd8759}.dice-tray__die--low{border-color:#f77f00cc;box-shadow:0 0 12px #f77f0059}.dice-tray__die--rolling{animation:dice-wiggle .4s ease infinite}@keyframes dice-wiggle{0%,to{transform:rotate(-2deg) scale(.98)}50%{transform:rotate(2deg) scale(1.02)}}.dice-tray__summary{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em}.dice-tray__summary-item{background:#0c0d0fbf;border-radius:10px;border:1px solid rgba(255,255,255,.08);padding:10px 12px;display:flex;flex-direction:column;gap:6px;align-items:center}.dice-tray__summary-item dt{margin:0;color:var(--muted)}.dice-tray__summary-item dd{margin:0;font-size:1.1rem;font-weight:700}.rules-panel__markdown h1,.rules-panel__markdown h2,.rules-panel__markdown h3,.rules-panel__markdown h4,.rules-panel__markdown h5,.rules-panel__markdown h6{color:var(--text);font-family:var(--font-display);text-transform:uppercase;letter-spacing:.1em;margin-top:1.4em;margin-bottom:.6em}.rules-panel__markdown h1{font-size:1.6rem}.rules-panel__markdown h2{font-size:1.3rem}.rules-panel__markdown p{margin:0 0 1em}.rules-panel__markdown ul,.rules-panel__markdown ol{margin:0 0 1em 1.4em;padding:0}.rules-panel__markdown li{margin-bottom:.4em}.rules-panel__markdown a{color:var(--accent);text-decoration:underline}.rules-panel__markdown code{font-family:var(--font-mono);background:#ffffff14;padding:2px 6px;border-radius:4px;color:var(--text)}.rules-panel__markdown pre{background:#ffffff0f;padding:12px;border-radius:8px;overflow-x:auto;margin:0 0 1.2em}.rules-panel__markdown pre code{background:transparent;padding:0}.rules-panel__loading,.rules-panel__error{margin:0;color:var(--text)}@keyframes rules-panel-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media(max-width:768px){.rules-panel{width:min(100vw,360px)}.rules-tab{top:auto;bottom:18px;transform:none;writing-mode:horizontal-tb;border-radius:999px 0 0 999px;padding:10px 16px;font-size:.85rem}}.dc-intent-select-btn{min-width:150px;text-align:left;justify-content:flex-start}.dc-intent-modal{max-width:600px;width:90%;max-height:80vh;overflow-y:auto}.dc-intent-options{display:flex;flex-direction:column;gap:12px;margin:20px 0}.dc-intent-option-btn{background:#1a1c1e;border:2px solid var(--border);border-radius:8px;padding:16px;color:var(--text);cursor:pointer;text-align:left;transition:all .2s ease;display:flex;flex-direction:column;gap:8px}.dc-intent-option-btn:hover{border-color:var(--focus);background:#222426;transform:translateY(-2px)}.dc-intent-option-btn:active{transform:translateY(0)}.dc-intent-option-btn:disabled{opacity:.4;cursor:not-allowed;border-color:#dda15e33}.dc-intent-option-btn:disabled:hover{background:#1a1c1e;transform:none;border-color:#dda15e33}.dc-intent-option-header{display:flex;align-items:center;justify-content:space-between}.dc-intent-option-title{font-weight:600;font-size:1.1rem;color:var(--accent)}.dc-intent-option-description{margin:0;color:#dda15ecc;font-size:.95rem;line-height:1.4}.dc-intent-option-unavailable{color:#dda15e80;font-style:italic}.dc-intent-option-detail{margin-top:8px;padding-top:12px;border-top:1px solid rgba(221,161,94,.2);display:flex;flex-direction:column;gap:4px}.dc-intent-option-value{font-weight:600;font-size:1.2rem;color:var(--accent)}.dc-intent-option-breakdown{margin:0;color:#dda15eb3;font-size:.85rem}.dc-covering-fire-modal{max-width:500px;width:90%}.dc-modal-description{margin:16px 0;color:#dda15ecc;font-size:.95rem;line-height:1.4}.dc-covering-fire-targets{display:flex;flex-direction:column;gap:10px;margin:20px 0}.dc-covering-fire-target-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#1a1c1e;border:2px solid var(--border);border-radius:6px;transition:all .2s ease}.dc-covering-fire-target-btn:hover{border-color:var(--focus);background:#222426;transform:translate(4px)}.dc-covering-fire-target-name{font-weight:500;color:var(--text)}.dc-covering-fire-target-intent{color:#dda15eb3;font-size:.9rem;font-style:italic}.dc-covering-fire-empty{color:#dda15e99;text-align:center;padding:20px;margin:0}.dc-at-risk-modal{max-width:500px;width:90%}.dc-at-risk-troopers{display:flex;flex-direction:column;gap:10px;margin:20px 0}.dc-at-risk-trooper-btn{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 16px;background:#1a1c1e;border:2px solid var(--border);border-radius:6px;transition:all .2s ease}.dc-at-risk-trooper-btn:hover{border-color:var(--focus);background:#222426;transform:translate(4px)}.dc-at-risk-trooper-name{font-weight:500;color:var(--text);font-size:1rem}.dc-at-risk-trooper-details{display:flex;gap:12px;align-items:center}.dc-at-risk-trooper-status{font-size:.85rem;padding:2px 8px;border-radius:4px;font-weight:500}.dc-at-risk-trooper-status--ok{color:#4caf50e6;background:#4caf501a}.dc-at-risk-trooper-status--grazed{color:#ffc107e6;background:#ffc1071a}.dc-at-risk-trooper-status--wounded{color:#ff9800e6;background:#ff98001a}.dc-at-risk-trooper-status--bleeding{color:#f44336e6;background:#f443361a}.dc-at-risk-trooper-status--dead{color:#9e9e9ee6;background:#9e9e9e1a}.dc-at-risk-trooper-position{font-size:.85rem;padding:2px 8px;border-radius:4px;font-weight:500}.dc-at-risk-trooper-position--positive{color:#4caf50e6;background:#4caf501a}.dc-at-risk-trooper-position--caution{color:#ffc107e6;background:#ffc1071a}.dc-at-risk-trooper-position--negative{color:#f44336e6;background:#f443361a}
