/* ALTÉRIA CONTROL CENTER — PREMIUM UI V2 (2026)
   Presentation-only layer: existing APIs, event handlers and backend preserved. */
:root{
  color-scheme:dark;
  --bg:#080f19;--bg2:#0b1421;--panel:#101e2c;--panel2:#162636;--line:#253446;
  --text:#ecf4fb;--muted:#8396a9;--purple:#2dbce3;--purple2:#75d9ed;
  --green:#3dd9a2;--red:#fc7789;--orange:#eeb978;--blue:#5ab8f0;--cyan:#42cce9;
  --shadow:0 14px 35px rgba(0,0,0,.15);--border:#2a3c4d;--inv-accent:#42cce9;
  --ring:0 0 0 3px rgba(66,204,233,.15)
}
*{scrollbar-width:thin;scrollbar-color:#38566b transparent}
html{scroll-behavior:smooth}body{font-family:Inter,"Segoe UI Variable",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);font-size:13px;-webkit-font-smoothing:antialiased}
button,a,input,select,textarea{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,opacity .16s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #55d7ec;outline-offset:2px}
[hidden]{display:none!important}.app-shell{grid-template-columns:263px minmax(0,1fr);min-height:100vh}
.sidebar{width:263px;padding:0 12px 13px;background:linear-gradient(165deg,#0b1522,#0a121d 67%,#0b1823);border-right:1px solid #223243;z-index:60;overflow:hidden;gap:0}
.brand{padding:23px 9px 20px;gap:10px;min-height:82px;border-bottom:1px solid rgba(141,180,200,.09);margin-bottom:12px}
.brand-mark{width:40px;height:40px;flex:none;border:1px solid rgba(89,210,237,.48);border-radius:12px;background:linear-gradient(135deg,#164b67,#0c293f 72%);box-shadow:inset 0 1px rgba(255,255,255,.13),0 8px 28px rgba(43,195,229,.09);font-size:25px;color:#e9f9ff;letter-spacing:-.12em}
.brand-mark span{transform:translateX(-1px)}.brand-name{font-size:14px;color:#f0f8ff;letter-spacing:.135em;white-space:nowrap}.brand-name span{color:#46cae7}.brand-sub{font-size:9px;letter-spacing:.24em;color:#7c96a9;margin-top:4px}
.brand-copy{min-width:0}.brand-version{font-size:9px;letter-spacing:.04em;font-weight:800;color:#8cdef1;padding:4px 6px;border:1px solid #275268;border-radius:6px;background:rgba(48,175,206,.1);margin-left:auto}
.sidebar-workspace{background:linear-gradient(135deg,rgba(36,96,120,.22),rgba(18,37,55,.4));border:1px solid #254157;border-radius:13px;padding:12px 13px;margin:0 4px 14px;display:flex;flex-direction:column;gap:4px}
.sidebar-workspace-label{font-size:9px;font-weight:800;letter-spacing:.15em;color:#7095ab}.sidebar-workspace strong{font-size:12px;letter-spacing:.01em;color:#dff2fa;margin-top:5px}.workspace-dot{display:inline-block;width:7px;height:7px;background:#38d9a7;box-shadow:0 0 12px #38d9a75e;border-radius:50%;margin-right:5px}.sidebar-workspace>span:last-child{font-size:11px;color:#8b9dad}
.sidebar-search{position:relative;height:35px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #24384b;background:#0b1725;border-radius:10px;margin:0 4px 15px}
.sidebar-search:focus-within{border-color:#43c5df;box-shadow:var(--ring)}.sidebar-search-icon{font-size:22px;color:#7491a4;line-height:1}.sidebar-search input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;color:#d9e9f2;font-size:11px;padding:0 2px}
.sidebar-search input::placeholder{color:#758ca0}.sidebar-search kbd{border:1px solid #34495d;color:#738ca0;font-size:10px;border-radius:4px;padding:1px 5px;font-family:inherit}
.nav{gap:0;padding:0 3px 10px;overflow-y:auto;overscroll-behavior:contain}.nav-group{margin-bottom:18px}.nav-group-title{font-size:9px;font-weight:800;letter-spacing:.18em;color:#617e94;padding:9px 13px 7px;margin-bottom:2px}
.nav button.nav-link{height:39px;width:100%;display:flex;align-items:center;gap:11px;border:1px solid transparent;text-align:left;border-radius:9px;padding:0 11px;margin:1px 0;background:transparent;color:#a2b5c5;font-size:12px;font-weight:560;box-shadow:none}
.nav button.nav-link svg{width:17px;height:17px;flex:0 0 17px;opacity:.8}.nav button.nav-link:hover{background:#172b3d;color:#e7f5fc;border-color:#263b4e}.nav button.nav-link.active{border:1px solid rgba(64,195,222,.24);background:linear-gradient(90deg,rgba(38,163,199,.23),rgba(30,109,147,.12));color:#e5fbff;box-shadow:inset 3px 0 0 #42d2eb}
.nav button.nav-link.active svg{color:#59d8ef;opacity:1}.nav-counter{margin-left:auto;color:#101a25;background:#5bdbed;font-size:10px;font-weight:900;border-radius:7px;min-width:20px;text-align:center;padding:2px 4px}.nav-empty{font-size:11px;color:var(--muted);padding:12px}
.sidebar-foot{margin-top:auto;padding:14px 7px 3px;min-height:62px;gap:10px;border-color:#203244}.sidebar-server-icon{width:35px;height:35px;display:grid;place-items:center;flex:none;color:#68d5e8;background:#10293c;border:1px solid #27506b;border-radius:10px;font-size:16px}.sidebar-foot-copy{flex:1;min-width:0}.sidebar-foot strong{display:block;font-size:11px;color:#dfebf5}.sidebar-foot span{font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-foot-arrow{border:0;background:transparent;font-size:17px;color:#829db0;cursor:pointer}
.main{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse 60% 360px at 80% -100px,rgba(34,123,161,.12),transparent 90%),#08111d}
.topbar{height:75px;min-height:75px;position:sticky;top:0;z-index:40;padding:0 26px;background:rgba(11,21,34,.93);border-bottom:1px solid #223347;box-shadow:0 1px rgba(255,255,255,.012);grid-template-columns:minmax(150px,270px) minmax(180px,1fr) auto;column-gap:20px;backdrop-filter:blur(18px)}
.top-left,.top-right{gap:12px}.top-location{display:flex;flex-direction:column;gap:5px;min-width:0}.top-location-label{font-size:9px;font-weight:750;letter-spacing:.15em;color:#6f8aa0;white-space:nowrap}.top-location-divider{color:#4c7187;padding:0 4px}.top-location strong{font-size:15px;letter-spacing:-.02em;font-weight:750;color:#e4f2fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-center{min-width:0}
.search-wrap{max-width:575px;height:39px;background:#102032;border:1px solid #2a4055;border-radius:11px;transition:border .2s,box-shadow .2s;gap:8px}.search-wrap:focus-within{border-color:#4dcce9;box-shadow:var(--ring)}.search-wrap .global-search-icon{color:#8da8bd;font-size:23px;margin-top:-2px}.search-wrap input{font-size:11px;padding:0;border:0;box-shadow:none!important;min-width:0}.search-wrap input::placeholder{color:#788ea4}.search-wrap kbd{border:1px solid #35516a;border-radius:5px;color:#7d98a9;padding:3px 7px;font:10px/1 Inter,system-ui,sans-serif}
.top-health-pill{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;border:1px solid rgba(65,170,140,.25);background:#10302f;color:#8ae4c1;padding:7px 10px;border-radius:9px;font-size:11px;font-weight:650}.top-health-pill .dot{background:#3dd9a2;width:7px;height:7px;box-shadow:0 0 10px rgba(61,217,162,.5);margin:0}.top-live-metrics{display:flex;align-items:center;gap:8px;color:#94a9bb;font-size:11px;white-space:nowrap}.metric-separator{color:#486277}.topbar-divider{width:1px;height:27px;background:#2d4153}.icon-btn{height:34px;width:34px;background:#142638;border:1px solid #284158;border-radius:9px;font-size:19px;color:#a3c8db;line-height:1;box-shadow:none}.icon-btn:hover{background:#19354a;color:#d7f7ff;border-color:#3c7189}.mobile-menu-btn{display:none}
.role-select{max-width:142px;border-color:#234f63;background:#103042;color:#9ee6f4;font-size:11px;height:33px}.role-select[hidden]{display:none}.staff-identity{display:flex;flex-direction:column;gap:2px;text-align:right;min-width:90px}.staff-identity>span{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:800;color:#eaf3f7}.staff-identity small{font-size:10px;color:#7c9cb0}.avatar{height:34px;width:34px;flex:0 0 34px;font-size:11px;border-radius:10px;background:linear-gradient(135deg,#256c89,#154057);border:1px solid #3b89a6;color:#b9f0fc}
.status-banner{margin:16px 28px 0;padding:10px 13px;border-radius:11px;border:1px solid rgba(232,178,92,.27);background:rgba(156,110,31,.10);color:#eed3a0;font-size:11px}.status-banner strong{color:#f7dcaa}.demo-dot{color:#ebbb77;margin-right:6px}
.content{width:100%;padding:25px 28px 45px;max-width:1850px;flex:1}.main-footer{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding:17px 28px;border-top:1px solid #203144;color:#637f92;font-size:10px}
.page-head{margin-bottom:23px;align-items:center}.page-head>div:first-child:before{content:'CENTRE DE CONTRÔLE  /  ALTÉRIA';display:block;margin-bottom:8px;font-size:9px;color:#4bbbd6;font-weight:800;letter-spacing:.16em}.page-title{font-size:clamp(22px,2vw,28px);font-weight:800;letter-spacing:-.045em;line-height:1.15;color:#f1f8ff}.page-sub{margin-top:9px;color:#849bad;font-size:12px;line-height:1.55}.actions{gap:9px}
.card{background:linear-gradient(157deg,rgba(17,32,46,.96),rgba(13,26,39,.96));border:1px solid #273b4d;border-radius:15px;box-shadow:0 4px 24px rgba(0,0,0,.07)}.card.pad{padding:19px}.card-head{border-color:#26394a;padding-bottom:14px}.card-title{font-weight:750;color:#e7f4fb;font-size:13px;letter-spacing:-.01em}.card-sub{color:#849aac;font-size:11px;line-height:1.55}.grid{gap:16px}.two-col,.three-col,.split{gap:16px}.kpi-grid{gap:13px;margin-bottom:16px}.kpi{min-height:108px;padding:18px;border-radius:14px;position:relative;overflow:hidden}.kpi:after{content:'';height:44px;width:44px;position:absolute;right:-18px;top:-18px;border:1px solid rgba(67,190,221,.10);border-radius:50%;box-shadow:0 0 0 16px rgba(64,170,199,.025)}.kpi-top{font-size:11px;color:#8ea6b8}.kpi-top span:last-child{font-size:13px;color:#48c4dd}.kpi-val{font-size:25px;letter-spacing:-.05em;font-weight:800;margin-top:13px}.kpi-foot{font-size:10px;color:#88a7b8;margin-top:9px}
.btn{border:1px solid #334c60;background:#1a2e41;color:#dbeef8;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:650;line-height:1.4;box-shadow:none}.btn:hover:not(:disabled){transform:translateY(-1px);background:#213b50;border-color:#4a7f9d}.btn.primary{background:linear-gradient(135deg,#167da9,#219bbc);border-color:#31a5c6;color:#f0fdff;box-shadow:0 4px 18px rgba(16,137,181,.15)}.btn.primary:hover:not(:disabled){background:linear-gradient(135deg,#1e8eb8,#2bafd0);box-shadow:0 6px 22px rgba(22,151,195,.25)}.btn.blue{background:#17354d;border-color:#276481;color:#a7e6fa}.btn.success{background:#10382f;border-color:#226b51;color:#91e5ba}.btn.warn{background:#3b2c1e;border-color:#6d5234;color:#efc892}.btn.danger{background:#3e232e;border-color:#794153;color:#ffb0bd}.btn:disabled{cursor:not-allowed;opacity:.36;transform:none}
.tabs{gap:6px;margin:16px 0}.tab{border:1px solid #2b4155;background:#132538;color:#90aabb;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:650}.tab:hover{color:#daf8ff;border-color:#4e879c}.tab.active{border-color:#347b92;background:rgba(38,150,183,.24);color:#bceff8;box-shadow:inset 0 -2px #47c9e2}
.table-wrap{border:1px solid #273c50;border-radius:11px;overflow:auto}.table{font-size:11px;width:100%;border-collapse:separate;border-spacing:0}.table th{padding:13px 13px;font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:730;color:#7c9aaf;background:rgba(12,26,39,.7);border-bottom:1px solid #2d4357}.table td{padding:13px;border-color:#233748;color:#c6d7e4;line-height:1.45}.table tr:hover td{background:rgba(42,91,112,.18)}.table tr.selected td{background:rgba(28,135,174,.18)}.table td b,.table td strong{color:#e6f6ff}
.tag{background:#17283b;border:1px solid #31506b;color:#a7c3d6;padding:4px 8px;font-size:10px;border-radius:7px;font-weight:680}.tag.green{background:rgba(39,149,109,.10);border-color:rgba(45,178,124,.30);color:#7ee2b1}.tag.red{background:rgba(180,51,83,.13);border-color:rgba(210,80,110,.3);color:#ff9aa9}.tag.orange{background:rgba(171,107,33,.12);border-color:rgba(210,148,60,.26);color:#f5ca8b}.tag.purple,.tag.blue{background:rgba(30,139,181,.15);border-color:rgba(59,180,215,.28);color:#95e5f5}
.metric,.balance,.report-card,.search-result{background:#112437;border-color:#294257;border-radius:11px}.metric strong{letter-spacing:-.04em}.list-item{border-color:#253a4b}.list-main>span{color:#829aac}.status-row,.stat-mini{color:#92a9bb}.meter{background:#22384a}.meter span{background:linear-gradient(90deg,#1692bc,#61d9e8)}.mini-bars span{background:linear-gradient(180deg,#47cce6,#126c9e)}.timeline:before{background:#30516a}.time-item:before{background:#54d0e5;box-shadow:0 0 0 3px #183247}.good-text{color:#76dbaf!important}.blue-text{color:#7cd8f0!important}.danger-text{color:#fa91a1!important}
input,select,textarea{accent-color:#31bdd6} .field input,.field select,.field textarea,.toolbar input,.toolbar select{background:#0e2031;border:1px solid #2b4459;border-radius:9px;color:#e3f2fa;padding:10px 12px}.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.toolbar select:focus{outline:none;border-color:#44c5e0;box-shadow:var(--ring)}.field label{color:#a5bfd0;font-weight:660;font-size:11px;margin-bottom:7px}.toolbar{gap:10px;margin-bottom:14px}.toolbar input{min-height:38px}
.pill{border-radius:10px;background:#122739;border:1px solid #34576b}.pill.success{border-color:#235a4b;background:#13362f;color:#9ae9c7}.pill .dot{background:#4be5b4}.status-banner,.security-banner{line-height:1.6}.security-banner{border-color:rgba(62,177,208,.28);background:rgba(37,114,141,.12);color:#acd2e2;border-radius:11px}.security-banner b{color:#dbf5fe}
.modal-back{backdrop-filter:blur(10px);background:rgba(2,9,17,.78)}.modal{background:#102031;border:1px solid #335069;border-radius:17px;box-shadow:0 30px 100px rgba(0,0,0,.42)}.modal-head{border-color:#2c465c}.modal-head strong{font-size:16px}.modal-body{color:#bed2df}.toast{background:#142b3c;border:1px solid #345973;border-radius:11px;box-shadow:0 12px 28px rgba(0,0,0,.27)}
/* Preserve gameplay-specific Inventory / investigations while adapting accent */
.inventory-window{--inv-accent:#52d2e9;--inv-accent2:#b0f3ff;--inv-slot:rgba(69,160,193,.05);background:linear-gradient(145deg,#162839,#0e1b29);border-color:#2a4557}.inventory-slot{border-color:#30495b;background:#142637}.inventory-slot:hover{background:#1a384a;border-color:#439cb7}.inventory-slot.selected{border-color:#54c8df;box-shadow:0 0 0 2px rgba(68,200,225,.14)}.inventory-detail-panel{background:#102335;border-color:#294354}.inventory-search-box{background:#0d1b2b;border-color:#29465a}.inventory-search-box:focus-within{background:#123345;border-color:#46c8de}.p910-player-row.active{border-color:#36b5d2;background:rgba(47,184,210,.12);box-shadow:inset 3px 0 #52cde6}.p910-player-detail .tabs{background:rgba(9,23,35,.94)}.p7-console,.server-log-box{background:#06121d;border-color:#253e50;color:#b4cfe0}.p7-chart{color:#86e1ec;background:#112b3b;border-color:#2d5369}.p7-chart svg{background:linear-gradient(180deg,rgba(26,145,183,.08),transparent)}
/* Login gate: real OAuth endpoint, no fake live metrics */
.auth-stage{min-height:calc(100vh - 198px);display:flex;justify-content:center;align-items:center;position:relative;isolation:isolate;padding:32px 16px 48px;overflow:hidden}.auth-glow{position:absolute;width:570px;height:570px;background:radial-gradient(circle,rgba(26,155,195,.18),transparent 65%);z-index:-1;pointer-events:none}.auth-card{width:min(495px,100%);padding:42px 43px 38px;border:1px solid #31516a;border-radius:22px;background:linear-gradient(150deg,rgba(17,40,57,.98),rgba(9,24,38,.98));box-shadow:0 35px 90px rgba(0,0,0,.20);text-align:center}.auth-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #345972;border-radius:50px;background:#102a3e;font-size:9px;font-weight:850;letter-spacing:.16em;padding:8px 11px;color:#84d9e9}.auth-badge svg{width:15px;height:15px}.auth-emblem{margin:29px auto 19px;width:68px;height:68px;display:grid;place-items:center;border-radius:19px;border:1px solid #439cb4;background:linear-gradient(135deg,#1b7695,#16425f);font-size:38px;font-weight:880;letter-spacing:-.12em}.auth-emblem span{color:#7fdae7}.auth-card h1{font-size:clamp(27px,3vw,33px);letter-spacing:-.06em;line-height:1.17;margin:0 0 14px;color:#f3fbff}.auth-card h1 span{color:#62d3eb}.auth-card p{font-size:12px;color:#90aabd;line-height:1.75;margin:0 auto 25px;max-width:345px}.btn.auth-discord{display:flex;justify-content:center;align-items:center;gap:18px;margin:auto;padding:13px 17px;text-decoration:none;font-size:12px;max-width:320px}.btn.auth-discord span{font-size:16px}.auth-notes{display:flex;justify-content:center;gap:18px;margin-top:24px;color:#7797a9;font-size:10px}.auth-notes span{display:flex;align-items:center;gap:5px}.auth-notes svg{width:13px;height:13px}.auth-side-note{position:absolute;bottom:15px;font-size:9px;letter-spacing:.17em;color:#506f83}.auth-side-note span{color:#40bdd7;margin:0 5px}
.mobile-scrim{display:none}.nav-link svg{display:block}
/* Layout adaptation */
@media(max-width:1530px){.top-live-metrics,.topbar-divider{display:none}.topbar{grid-template-columns:minmax(160px,230px) minmax(210px,1fr) auto}.three-col{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1190px){.topbar{grid-template-columns:minmax(140px,220px) minmax(160px,1fr) auto;padding:0 18px;gap:12px}.top-health-pill{display:none}.staff-identity{display:none}.two-col,.p910-directory-layout,.p910-server-ops,.permission-layout{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:990px){.app-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-104%);position:fixed;left:0;top:0;bottom:0;height:100dvh;transition:transform .2s ease;box-shadow:18px 0 40px rgba(0,0,0,.24)}body.nav-open .sidebar{transform:translateX(0)}body.nav-open .mobile-scrim{display:block;position:fixed;inset:0;background:rgba(0,7,14,.62);z-index:55;backdrop-filter:blur(3px)}.mobile-menu-btn{display:grid;place-items:center}.topbar{grid-template-columns:minmax(0,1fr) minmax(170px,1.2fr) auto}.top-left{min-width:0}.topbar-divider{display:none}.top-health-pill{display:none}.main{width:100%}.p910-player-detail .tabs{top:0}}
@media(max-width:690px){.topbar{height:70px;min-height:70px;grid-template-columns:minmax(0,1fr) auto;padding:0 14px}.top-center{display:none}.top-location-label{font-size:8px}.top-location strong{font-size:13px}.top-right{gap:7px}.top-action{display:none}.role-select{max-width:105px}.content{padding:18px 13px 28px}.page-head{flex-direction:column;align-items:stretch;gap:12px}.page-title{font-size:23px}.card.pad{padding:14px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.form-grid,.subgrid{grid-template-columns:1fr}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.permission-edit-grid,.inventory-admin-grid{grid-template-columns:1fr}.main-footer{flex-direction:column;padding:16px}.auth-card{padding:35px 23px}.status-banner{margin:12px 13px 0}.topbar .avatar{width:32px;height:32px}.p910-player-list{max-height:330px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:990px){.sidebar{display:flex}}
/* Communications — uses the existing authoritative action queue */
.communications-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:16px;align-items:start}.comm-type{display:flex;gap:8px;margin-bottom:20px}.comm-type .btn{flex:1}.comm-preview{border:1px solid #2c4c5f;background:#0d2433;border-radius:14px;padding:18px;min-height:162px;display:flex;flex-direction:column;gap:12px}.comm-preview-header{display:flex;align-items:center;gap:10px}.comm-preview-avatar{height:34px;width:34px;background:#125b7b;border:1px solid #368da8;display:grid;place-items:center;border-radius:9px;color:#c2f3fe;font-size:14px;font-weight:900}.comm-preview-header strong{display:block;font-size:12px}.comm-preview-header span{font-size:10px;color:#86b2c5}.comm-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#d3eaf5}.comm-char-count{text-align:right;font-size:10px;color:#91a9bc;margin:3px 0 12px}.comm-note{border:1px solid #2c495d;border-radius:10px;background:#112b3c;padding:12px;color:#9cbece;font-size:11px;line-height:1.65}.comm-intro{color:#8da5b6;line-height:1.65;margin-bottom:12px}.comm-audit-points{display:grid;gap:12px}.comm-audit-points>div{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#112537;border:1px solid #2b4557;border-radius:10px}.comm-audit-points span{color:#5fd9ed}.comm-audit-points strong{font-size:11px}.comm-audit-points small{display:block;color:#7e9cad;font-size:10px;margin-top:4px}
@media(max-width:950px){.communications-layout{grid-template-columns:1fr}}
.dashboard-command{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 27px;margin-bottom:16px;border:1px solid #2b596b;border-radius:16px;background:radial-gradient(ellipse 65% 160% at 100% -40%,rgba(65,176,202,.15),transparent),linear-gradient(120deg,#153648,#103044 65%,#102b3d);box-shadow:0 14px 38px rgba(1,15,28,.11)}
.dashboard-command-main{min-width:0}.command-overline{color:#74d9e8;font-size:9px;font-weight:850;letter-spacing:.18em}.dashboard-command h2{font-size:20px;font-weight:800;letter-spacing:-.04em;color:#f2fcff;margin:9px 0 8px}.dashboard-command p{margin:0;color:#a2c0cf;font-size:11px;line-height:1.6;max-width:520px}.command-trust{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:15px;color:#6fb4c8;font-size:10px}.dashboard-command-actions{min-width:175px;display:flex;flex-direction:column;gap:8px}.dashboard-command-actions .btn{min-width:165px;text-align:center}.top-health-pill:not(.success){color:#e4b482;background:#30271e;border-color:#6b5133}.top-health-pill:not(.success) .dot{background:#e2a453}
@media(max-width:870px){.dashboard-command{flex-direction:column;align-items:stretch;padding:20px}.dashboard-command-actions{flex-direction:row;flex-wrap:wrap}.dashboard-command-actions .btn{min-width:0}}


/* Hotfix v0.15.1 : CSP stricte, aucun style inline. */
[hidden]{display:none!important}
.cc-util-1{padding:26px 4px;}
.cc-util-2{margin-top:8px;}
.cc-util-3{margin-top:14px;}
.cc-util-4{font-size:18px;font-weight:800;margin-bottom:8px;}
.cc-util-5{margin:0 0 12px;}
.cc-util-6{margin-top:12px;}
.cc-util-7{display:inline-block;margin-right:8px;}
.cc-util-8{width:32%;}
.cc-util-9{width:68%;}
.cc-util-10{opacity:.32;}
.cc-util-11{text-align:center;margin-top:8px;}
.cc-util-12{min-width:260px;}
.cc-util-13{margin-top:10px;}
.cc-util-14{min-width:360px;}
.cc-util-15{flex:1;}
.cc-clipboard-temp{position:fixed;opacity:0;pointer-events:none}
.cc-width-0{width:0%}
.cc-width-1{width:1%}
.cc-width-2{width:2%}
.cc-width-3{width:3%}
.cc-width-4{width:4%}
.cc-width-5{width:5%}
.cc-width-6{width:6%}
.cc-width-7{width:7%}
.cc-width-8{width:8%}
.cc-width-9{width:9%}
.cc-width-10{width:10%}
.cc-width-11{width:11%}
.cc-width-12{width:12%}
.cc-width-13{width:13%}
.cc-width-14{width:14%}
.cc-width-15{width:15%}
.cc-width-16{width:16%}
.cc-width-17{width:17%}
.cc-width-18{width:18%}
.cc-width-19{width:19%}
.cc-width-20{width:20%}
.cc-width-21{width:21%}
.cc-width-22{width:22%}
.cc-width-23{width:23%}
.cc-width-24{width:24%}
.cc-width-25{width:25%}
.cc-width-26{width:26%}
.cc-width-27{width:27%}
.cc-width-28{width:28%}
.cc-width-29{width:29%}
.cc-width-30{width:30%}
.cc-width-31{width:31%}
.cc-width-32{width:32%}
.cc-width-33{width:33%}
.cc-width-34{width:34%}
.cc-width-35{width:35%}
.cc-width-36{width:36%}
.cc-width-37{width:37%}
.cc-width-38{width:38%}
.cc-width-39{width:39%}
.cc-width-40{width:40%}
.cc-width-41{width:41%}
.cc-width-42{width:42%}
.cc-width-43{width:43%}
.cc-width-44{width:44%}
.cc-width-45{width:45%}
.cc-width-46{width:46%}
.cc-width-47{width:47%}
.cc-width-48{width:48%}
.cc-width-49{width:49%}
.cc-width-50{width:50%}
.cc-width-51{width:51%}
.cc-width-52{width:52%}
.cc-width-53{width:53%}
.cc-width-54{width:54%}
.cc-width-55{width:55%}
.cc-width-56{width:56%}
.cc-width-57{width:57%}
.cc-width-58{width:58%}
.cc-width-59{width:59%}
.cc-width-60{width:60%}
.cc-width-61{width:61%}
.cc-width-62{width:62%}
.cc-width-63{width:63%}
.cc-width-64{width:64%}
.cc-width-65{width:65%}
.cc-width-66{width:66%}
.cc-width-67{width:67%}
.cc-width-68{width:68%}
.cc-width-69{width:69%}
.cc-width-70{width:70%}
.cc-width-71{width:71%}
.cc-width-72{width:72%}
.cc-width-73{width:73%}
.cc-width-74{width:74%}
.cc-width-75{width:75%}
.cc-width-76{width:76%}
.cc-width-77{width:77%}
.cc-width-78{width:78%}
.cc-width-79{width:79%}
.cc-width-80{width:80%}
.cc-width-81{width:81%}
.cc-width-82{width:82%}
.cc-width-83{width:83%}
.cc-width-84{width:84%}
.cc-width-85{width:85%}
.cc-width-86{width:86%}
.cc-width-87{width:87%}
.cc-width-88{width:88%}
.cc-width-89{width:89%}
.cc-width-90{width:90%}
.cc-width-91{width:91%}
.cc-width-92{width:92%}
.cc-width-93{width:93%}
.cc-width-94{width:94%}
.cc-width-95{width:95%}
.cc-width-96{width:96%}
.cc-width-97{width:97%}
.cc-width-98{width:98%}
.cc-width-99{width:99%}
.cc-width-100{width:100%}
.cc-height-0{height:0%}
.cc-height-1{height:1%}
.cc-height-2{height:2%}
.cc-height-3{height:3%}
.cc-height-4{height:4%}
.cc-height-5{height:5%}
.cc-height-6{height:6%}
.cc-height-7{height:7%}
.cc-height-8{height:8%}
.cc-height-9{height:9%}
.cc-height-10{height:10%}
.cc-height-11{height:11%}
.cc-height-12{height:12%}
.cc-height-13{height:13%}
.cc-height-14{height:14%}
.cc-height-15{height:15%}
.cc-height-16{height:16%}
.cc-height-17{height:17%}
.cc-height-18{height:18%}
.cc-height-19{height:19%}
.cc-height-20{height:20%}
.cc-height-21{height:21%}
.cc-height-22{height:22%}
.cc-height-23{height:23%}
.cc-height-24{height:24%}
.cc-height-25{height:25%}
.cc-height-26{height:26%}
.cc-height-27{height:27%}
.cc-height-28{height:28%}
.cc-height-29{height:29%}
.cc-height-30{height:30%}
.cc-height-31{height:31%}
.cc-height-32{height:32%}
.cc-height-33{height:33%}
.cc-height-34{height:34%}
.cc-height-35{height:35%}
.cc-height-36{height:36%}
.cc-height-37{height:37%}
.cc-height-38{height:38%}
.cc-height-39{height:39%}
.cc-height-40{height:40%}
.cc-height-41{height:41%}
.cc-height-42{height:42%}
.cc-height-43{height:43%}
.cc-height-44{height:44%}
.cc-height-45{height:45%}
.cc-height-46{height:46%}
.cc-height-47{height:47%}
.cc-height-48{height:48%}
.cc-height-49{height:49%}
.cc-height-50{height:50%}
.cc-height-51{height:51%}
.cc-height-52{height:52%}
.cc-height-53{height:53%}
.cc-height-54{height:54%}
.cc-height-55{height:55%}
.cc-height-56{height:56%}
.cc-height-57{height:57%}
.cc-height-58{height:58%}
.cc-height-59{height:59%}
.cc-height-60{height:60%}
.cc-height-61{height:61%}
.cc-height-62{height:62%}
.cc-height-63{height:63%}
.cc-height-64{height:64%}
.cc-height-65{height:65%}
.cc-height-66{height:66%}
.cc-height-67{height:67%}
.cc-height-68{height:68%}
.cc-height-69{height:69%}
.cc-height-70{height:70%}
.cc-height-71{height:71%}
.cc-height-72{height:72%}
.cc-height-73{height:73%}
.cc-height-74{height:74%}
.cc-height-75{height:75%}
.cc-height-76{height:76%}
.cc-height-77{height:77%}
.cc-height-78{height:78%}
.cc-height-79{height:79%}
.cc-height-80{height:80%}
.cc-height-81{height:81%}
.cc-height-82{height:82%}
.cc-height-83{height:83%}
.cc-height-84{height:84%}
.cc-height-85{height:85%}
.cc-height-86{height:86%}
.cc-height-87{height:87%}
.cc-height-88{height:88%}
.cc-height-89{height:89%}
.cc-height-90{height:90%}
.cc-height-91{height:91%}
.cc-height-92{height:92%}
.cc-height-93{height:93%}
.cc-height-94{height:94%}
.cc-height-95{height:95%}
.cc-height-96{height:96%}
.cc-height-97{height:97%}
.cc-height-98{height:98%}
.cc-height-99{height:99%}
.cc-height-100{height:100%}

/* V0.16.0 — Action confirmations (CSP-compatible, no inline styles). */
.staff-confirm-overlay{position:fixed;inset:0;z-index:100100;background:rgba(1,7,16,.85);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(12px)}
.staff-confirm-panel{width:min(520px,100%);border-radius:21px;background:linear-gradient(160deg,#12243a,#091527);border:1px solid rgba(98,196,236,.29);box-shadow:0 28px 120px #000b;padding:27px;display:flex;flex-direction:column;gap:14px;color:#eff8ff}
.staff-confirm-panel h2{margin:0;font-size:23px;line-height:1.25;letter-spacing:-.5px}
.staff-confirm-panel p{font-size:13px;color:#b5c8dc;line-height:1.7;margin:0}
.staff-confirm-eyebrow{font-size:10px;color:#6ee4ff;letter-spacing:1.5px;font-weight:800}
.staff-confirm-detail{border:1px solid rgba(80,160,210,.2);background:rgba(7,18,35,.77);padding:13px;border-radius:11px;font-size:12px;overflow-wrap:anywhere;line-height:1.6;color:#bed4e9}
.staff-confirm-phrase{font-weight:800;letter-spacing:2px;font-size:21px;text-align:center;padding:18px 8px;background:rgba(15,58,80,.43);border:1px dashed rgba(77,201,240,.6);border-radius:12px;color:#b5f2ff;user-select:none}
.staff-confirm-panel label{font-size:12px;font-weight:700;color:#d7e9f8}
.staff-confirm-panel input{height:48px;padding:0 14px;border-radius:10px;background:#081423;border:1px solid #42617d;color:white;font-size:16px;letter-spacing:1px}
.staff-confirm-panel input:focus{outline:2px solid #26c9ef;outline-offset:1px}
.staff-confirm-error{color:#f6a6a6;min-height:12px}
.staff-confirm-actions{display:flex;justify-content:flex-end;gap:10px}
.staff-confirm-actions .btn{min-height:40px}
@media(max-width:520px){.staff-confirm-panel{padding:19px}.staff-confirm-actions{flex-direction:column-reverse}.staff-confirm-actions .btn{width:100%}}
/* V0.16.0 — staff rights management */
.sa-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sa-page-choice{padding:10px 11px;border:1px solid rgba(100,155,195,.22);background:rgba(10,25,44,.8);border-radius:9px;display:flex;align-items:center;gap:10px;font-size:12px;color:#c1d8eb;cursor:pointer}
.sa-page-choice input{accent-color:#35d4f8}
.sa-member-list{max-height:620px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.sa-member{width:100%;text-align:left;background:#0a1a2b;border:1px solid transparent;border-radius:10px;color:#f0f8ff;display:flex;align-items:center;justify-content:space-between;padding:11px 12px;gap:8px;cursor:pointer}
.sa-member.selected,.sa-member:hover{border-color:rgba(66,209,250,.6);background:#102e44}
.sa-member span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.sa-member small{font-size:11px;color:#8ba7be}
@media(max-width:840px){.sa-layout{grid-template-columns:minmax(0,1fr)!important}.sa-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sa-page-grid{grid-template-columns:1fr}}
