/* FireCommand Hub — Dark Command Center | Theme-only replacement */
:root{color-scheme:dark;--bg:#0b111b;--surface:#151f2d;--surface2:#1b2939;--border:#334355;--text:#f0f5fa;--muted:#b5c4d3;--red:#e74747;--redhover:#f45b5b;--link:#8bd6f8;--focus:#ffca72;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 90% 0%,#182b3b 0%,transparent 40%),var(--bg);line-height:1.55}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline;color:#c3ecff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
header{background:#111b28;border-bottom:1px solid var(--border);padding:17px max(22px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;box-shadow:0 5px 20px #0003}header>a{color:var(--text);font-weight:850;font-size:1.17rem;letter-spacing:.01em}header>a:hover{color:white;text-decoration:none}header nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}header nav a{color:#d6e3ef;padding:8px 13px;border:1px solid transparent;border-radius:9px;font-weight:650}header nav a:hover{background:#223247;border-color:#344b60;text-decoration:none;color:#fff}
main{max-width:1180px;margin:36px auto 80px;padding:0 22px}h1{font-size:clamp(1.8rem,3.5vw,2.65rem);letter-spacing:-.035em;line-height:1.15;margin:0 0 22px;font-weight:800}h2{font-size:1.18rem;letter-spacing:-.015em;margin:0 0 9px}p{margin:9px 0 17px}.muted,small{color:var(--muted)}.error,[role="alert"]{color:#ffd3d3}.card{background:linear-gradient(145deg,#1a2737,#15202e);border:1px solid var(--border);border-radius:15px;padding:24px;max-width:690px;box-shadow:0 8px 26px #0002}.card p:last-child{margin-bottom:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.grid .card{max-width:none;min-height:150px;transition:border-color .16s,transform .16s,background .16s}.grid .card:hover{border-color:#637d96;transform:translateY(-2px);background:#203044}.grid .card a{font-weight:700}.grid .card h2{margin-bottom:12px}
label{display:block;margin:16px 0 6px;color:#e5edf5;font-weight:650}input,select,textarea,button{font:inherit;border-radius:9px;padding:10px 12px}input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{width:100%;max-width:100%;background:#0e1926;color:var(--text);border:1px solid #53667b;min-height:44px}input::placeholder,textarea::placeholder{color:#9aacbe}input[type="checkbox"],input[type="radio"]{accent-color:var(--red);width:auto}button,input[type="submit"]{background:var(--red);color:#fff;border:1px solid #f16a6a;font-weight:750;cursor:pointer;margin-top:14px;width:auto;min-height:42px;padding:10px 17px;transition:background .16s}button:hover,input[type="submit"]:hover{background:var(--redhover)}button:disabled{opacity:.5;cursor:not-allowed}form.card>button{width:100%}form.inline{display:inline-block;margin:2px}form.inline button{margin:0;padding:7px 11px;min-height:36px;font-size:.88rem}
table{border-collapse:collapse;width:100%;font-size:.94rem}th,td{padding:13px 14px;text-align:left;border-bottom:1px solid #334457;vertical-align:middle}th{background:#223247;color:#f2f7fb;font-size:.8rem;letter-spacing:.055em;text-transform:uppercase}tr:hover td{background:#ffffff08}td a{font-weight:650}table button{white-space:normal} .card:has(>table){overflow-x:auto} .card:has(>form){max-width:760px}
hr{border:0;border-top:1px solid var(--border);margin:22px 0}::selection{background:#a32c36;color:#fff}
@media(max-width:700px){header{padding:14px 17px}header nav{width:100%}header nav a{padding:7px 10px}main{margin:26px auto 60px;padding:0 15px}.card{padding:18px}.grid{grid-template-columns:1fr}th,td{padding:10px 9px}form.inline{display:block;margin:5px 0}form.inline button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* FireCommand Hub — actual dashboard layout redesign (scoped to dashboard) */
body:has(.command-dashboard){background:#0b121d}
body:has(.command-dashboard)>header{display:none}
body:has(.command-dashboard)>main{max-width:none;margin:0;padding:0}
body:has(.command-dashboard)>main>h1{display:none}
.command-dashboard{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;color:#edf3fa}
.command-sidebar{background:#111c2b;border-right:1px solid #2a394d;display:flex;flex-direction:column;min-height:100vh;padding:26px 15px 18px}
.command-brand{display:flex;align-items:center;gap:11px;padding:6px 11px 38px;color:#fff!important;font-size:14px;font-weight:850;letter-spacing:.045em;line-height:1.3}
.command-brand:hover{text-decoration:none}.command-brand strong{color:#f25a58}.command-brand small{display:block;font-size:9px;color:#91a4ba;letter-spacing:.18em;margin-top:4px}
.command-brand-mark{display:grid;place-items:center;background:#dc4246;border-radius:11px;width:38px;height:38px;color:white;font-size:23px;flex:none}
.command-sidebar-label{color:#748ba4;font-size:10px;letter-spacing:.17em;font-weight:800;margin:18px 13px 10px}
.command-side-nav{display:grid;gap:5px}.command-side-nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;color:#b7c7d8;border-radius:9px;font-size:13px;font-weight:650}
.command-side-nav a span{font-size:18px;width:22px;text-align:center}.command-side-nav a:hover,.command-side-nav a.active{color:#fff;text-decoration:none;background:#26354a}.command-side-nav a.active{box-shadow:inset 3px 0 #ef4e52}
.command-sidebar-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;border-top:1px solid #2a394d;padding:22px 10px 0;font-size:12px}.command-sidebar-bottom small{display:block;color:#8fa3ba;text-transform:capitalize;margin-top:3px}.command-sidebar-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#30445e;color:#fff;font-weight:800}
.command-workspace{min-width:0}.command-topbar{height:68px;background:#121e2c;border-bottom:1px solid #2b3b4d;display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:16px}.command-breadcrumb{font-size:10px;font-weight:800;letter-spacing:.14em;color:#8da1b8}.command-breadcrumb span{padding:0 10px;color:#51647a}.command-top-actions{display:flex;align-items:center;gap:25px;font-size:12px}.command-top-actions a{color:#dce8f4}.command-live{color:#b5c7d9;font-size:10px;font-weight:800;letter-spacing:.08em}.command-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4cc98e;margin-right:7px}
.command-content{max-width:1440px;margin:auto;padding:40px 38px 30px}.command-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:39px}.command-eyebrow{color:#f36a6d;letter-spacing:.16em;font-weight:850;font-size:11px;margin-bottom:11px}.command-heading h1{font-size:clamp(26px,3vw,39px);margin:0 0 10px;letter-spacing:-.04em}.command-heading p{color:#9fb1c5;margin:0;font-size:14px}.command-plan{border:1px solid #45614f;background:#19352d;color:#a8edc2;border-radius:100px;padding:9px 14px;font-size:11px;font-weight:750;white-space:nowrap}
.command-section-heading{display:flex;align-items:baseline;gap:17px;margin:0 0 17px}.command-section-heading h2{font-size:17px;margin:0}.command-section-heading span{color:#849ab2;font-size:12px}.command-admin-heading{margin-top:35px}.command-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.command-tile{display:flex;flex-direction:column;align-items:flex-start;min-height:210px;padding:23px;border:1px solid #304257;border-radius:14px;background:linear-gradient(155deg,#1c2b3d,#162333);color:#eaf2fa!important;box-shadow:0 7px 20px #0002;transition:transform .16s,border-color .16s}.command-tile:not(.command-tile-pending):hover{transform:translateY(-3px);border-color:#6383a3;text-decoration:none}.command-tile-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;font-size:22px;margin-bottom:20px}.command-tile-icon.red{background:#492a36;color:#ff8589}.command-tile-icon.blue{background:#243d55;color:#83c4f8}.command-tile-icon.amber{background:#483c2a;color:#f7c576}.command-tile-icon.purple{background:#3c3153;color:#c5a5fb}.command-tile-icon.teal{background:#234744;color:#79e1d3}.command-tile-title{font-size:17px;font-weight:800;line-height:1.3;margin-bottom:8px}.command-tile-description{font-size:12px;color:#a3b5c8;line-height:1.5;margin-bottom:19px}.command-tile-link{margin-top:auto;font-size:12px;font-weight:800;color:#89d5fb}.command-tile-pending{opacity:.74}.command-pending-label{margin-top:auto;color:#a3b5c8;font-size:10px;letter-spacing:.07em;font-weight:800}.command-footer{border-top:1px solid #26394d;margin-top:40px;padding-top:20px;color:#71879d;font-size:11px}
@media(max-width:1100px){.command-dashboard{grid-template-columns:220px minmax(0,1fr)}.command-content{padding:30px 24px}.command-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.command-dashboard{display:block}.command-sidebar{min-height:0;padding:12px 14px}.command-brand{padding:6px 4px 12px}.command-sidebar-label,.command-sidebar-bottom{display:none}.command-side-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:5px}.command-side-nav a{font-size:11px;padding:8px}.command-side-nav a span{font-size:14px;width:auto}.command-topbar{height:auto;min-height:54px;padding:12px 17px}.command-live{display:none}.command-content{padding:27px 17px}.command-heading{display:block;margin-bottom:28px}.command-plan{display:inline-block;margin-top:15px}.command-card-grid{grid-template-columns:1fr}.command-tile{min-height:180px}.command-section-heading{display:block}.command-section-heading span{display:block;margin-top:5px}}
