:root{
  --bg:#070a0f;--panel:#10141b;--panel2:#151a22;--line:rgba(255,255,255,.09);
  --text:#f4f6fb;--muted:#aeb7c8;--gold:#d8a436;--green:#25d982;--red:#ff5874;--blue:#8fa3ff;
}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0%,rgba(216,164,54,.08),transparent 35%),var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}
a{color:var(--gold);text-decoration:none}.wrap{max-width:1380px;margin:0 auto;padding:28px}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}
.brand{display:flex;align-items:center;gap:12px}.logo{width:46px;height:46px;border:1px solid rgba(216,164,54,.45);border-radius:13px;display:grid;place-items:center;color:var(--gold);font-weight:900}
.card{border:1px solid var(--line);background:rgba(255,255,255,.035);border-radius:18px;padding:20px;margin-bottom:16px}
.card:hover{border-color:rgba(216,164,54,.20)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
h1,h2,h3{margin:0 0 12px}.muted{color:var(--muted)}label{display:block;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;margin:12px 0 6px}
input,textarea,select{width:100%;background:#0c1017;border:1px solid var(--line);border-radius:12px;color:var(--text);padding:12px;outline:none}
textarea{min-height:90px;resize:vertical}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--gold);color:#070a0f;font-weight:900;padding:11px 14px;cursor:pointer}
.btn.secondary{background:#1a202a;color:var(--text);border:1px solid var(--line)}.btn.red{background:rgba(255,88,116,.18);color:#ff8b9b;border:1px solid rgba(255,88,116,.25)}
.table{width:100%;border-collapse:collapse}.table td,.table th{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table th{color:var(--muted);font-size:12px;text-transform:uppercase}.tag{display:inline-flex;border:1px solid rgba(216,164,54,.25);border-radius:99px;padding:5px 8px;color:var(--gold);font-size:11px;font-weight:900}
.login{max-width:440px;margin:90px auto}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{border:1px solid rgba(37,217,130,.25);background:rgba(37,217,130,.08);color:#8ff2bf;border-radius:12px;padding:12px;margin-bottom:14px}
.warning{border-color:rgba(255,88,116,.25);background:rgba(255,88,116,.08);color:#ff9aad}
.stat-card b{font-size:28px;color:var(--gold);display:block}.stat-card small{color:var(--muted);text-transform:uppercase;font-weight:900;font-size:11px}
.sidebar-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.mini-list{display:grid;gap:10px}.mini-item{border:1px solid var(--line);background:#0c1017;border-radius:14px;padding:12px}
.role-owner{color:var(--gold)}.role-admin{color:var(--green)}.role-editor{color:var(--blue)}.role-viewer{color:var(--muted)}
.status-todo{color:var(--muted)}.status-progress{color:var(--gold)}.status-done{color:var(--green)}
.priority-high{color:var(--red)}.priority-medium{color:var(--gold)}.priority-low{color:var(--muted)}
@media(max-width:1000px){.grid,.grid2,.grid4,.sidebar-grid{grid-template-columns:1fr}.admin-top{display:block}.wrap{padding:18px}}


/* === Admin Ops Center v4.2 === */
.ops-hero{
  border:1px solid rgba(216,164,54,.18);
  background:
    radial-gradient(circle at 100% 0%,rgba(216,164,54,.10),transparent 35%),
    linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border-radius:22px;
  padding:22px;
  margin-bottom:18px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.ops-hero h2{font-size:30px}
.ops-health{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.ops-health span{
  border:1px solid var(--line);
  background:#0c1017;
  border-radius:14px;
  padding:12px;
}
.ops-health b{display:block;color:var(--gold);margin-bottom:5px}
.quick-actions{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-bottom:18px;
}
.quick-actions a{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  border-radius:16px;
  padding:14px;
  color:var(--text);
  font-weight:900;
}
.quick-actions a:hover{border-color:rgba(216,164,54,.28);color:var(--gold);transform:translateY(-1px)}
.incident-card{
  border-left:3px solid var(--gold);
}
.incident-critical{border-left-color:var(--red)!important}
.incident-warning{border-left-color:var(--gold)!important}
.incident-info{border-left-color:var(--blue)!important}
.incident-resolved{opacity:.65}
.ops-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
  border:1px solid rgba(216,164,54,.25);
  color:var(--gold);
}
.ops-badge.green{color:var(--green);border-color:rgba(37,217,130,.25)}
.ops-badge.red{color:var(--red);border-color:rgba(255,88,116,.25)}
.ops-badge.blue{color:var(--blue);border-color:rgba(143,163,255,.25)}
.analytics-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
}
.chart-bars{
  display:flex;
  align-items:end;
  gap:10px;
  height:220px;
  border:1px solid var(--line);
  background:#0c1017;
  border-radius:16px;
  padding:18px;
}
.chart-bars i{
  flex:1;
  min-width:20px;
  border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,var(--gold),rgba(216,164,54,.20));
}
.backup-box{
  border:1px dashed rgba(216,164,54,.28);
  background:rgba(216,164,54,.045);
  border-radius:16px;
  padding:18px;
}
@media(max-width:1000px){
  .ops-hero,.analytics-grid{grid-template-columns:1fr}
  .quick-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .quick-actions{grid-template-columns:1fr}
  .ops-health{grid-template-columns:1fr}
}


/* === Admin Pro Suite v4.3 === */
.admin-shell{display:grid;grid-template-columns:230px 1fr;gap:22px;align-items:start}
.admin-side{
  position:sticky;top:18px;border:1px solid var(--line);background:rgba(255,255,255,.035);
  border-radius:20px;padding:16px;min-height:420px
}
.admin-side .side-title{color:var(--gold);font-weight:900;margin-bottom:12px;font-size:13px;text-transform:uppercase;letter-spacing:.8px}
.admin-side a{display:flex;justify-content:space-between;align-items:center;color:var(--muted);padding:10px 8px;border-radius:12px;font-weight:800}
.admin-side a:hover,.admin-side a.active{background:rgba(216,164,54,.08);color:var(--gold)}
.admin-main{min-width:0}
.ops-command-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
.command-panel{
  border:1px solid rgba(216,164,54,.20);border-radius:22px;padding:20px;
  background:radial-gradient(circle at 100% 0%,rgba(216,164,54,.10),transparent 35%),rgba(255,255,255,.035)
}
.command-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.command-row a,.command-row button{
  border:1px solid var(--line);background:#0c1017;border-radius:14px;padding:13px;color:var(--text);font-weight:900;text-align:left
}
.command-row a:hover,.command-row button:hover{border-color:rgba(216,164,54,.30);color:var(--gold)}
.security-score{font-size:54px;color:var(--green);font-weight:900;line-height:1}
.security-score.warn{color:var(--gold)}.security-score.danger{color:var(--red)}
.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid var(--line);color:var(--muted)}
.status-pill.ok{color:var(--green);border-color:rgba(37,217,130,.25)}
.status-pill.warn{color:var(--gold);border-color:rgba(216,164,54,.25)}
.status-pill.danger{color:var(--red);border-color:rgba(255,88,116,.25)}
.checklist-item{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#0c1017;margin-bottom:8px}
.checklist-item.done{opacity:.65}
.checklist-item input{width:auto;margin-top:3px}
.broadcast-preview{border:1px solid rgba(88,101,242,.35);background:rgba(88,101,242,.08);border-radius:16px;padding:14px;margin-top:12px}
.probe-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.probe-grid .card b{font-size:22px;color:var(--gold);display:block}
@media(max-width:1100px){.admin-shell,.ops-command-grid{grid-template-columns:1fr}.admin-side{position:relative;top:auto}.command-row,.probe-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.command-row,.probe-grid{grid-template-columns:1fr}}


/* === Admin Console Shell v4.4 === */
.console-body{
  overflow:hidden;
}
.console-shell{
  height:100vh;
  display:grid;
  grid-template-columns:280px 1fr;
  background:
    radial-gradient(circle at 70% 0%,rgba(216,164,54,.06),transparent 32%),
    var(--bg);
}
.console-sidebar{
  border-right:1px solid var(--line);
  background:rgba(255,255,255,.025);
  padding:18px;
  overflow:auto;
}
.console-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:18px;
  margin-bottom:14px;
  border-bottom:1px solid var(--line);
}
.console-brand h2{margin:0;font-size:18px}
.console-brand p{margin:4px 0 0;color:var(--muted);font-size:12px}
.console-nav-title{
  margin:18px 0 8px;
  color:var(--gold);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}
.console-nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 10px;
  border-radius:13px;
  color:var(--muted);
  font-weight:900;
  margin-bottom:4px;
}
.console-nav a:hover,
.console-nav a.active{
  color:var(--gold);
  background:rgba(216,164,54,.08);
}
.console-nav a em{
  font-style:normal;
  opacity:.8;
}
.console-main{
  display:grid;
  grid-template-rows:76px 1fr;
  min-width:0;
}
.console-topbar{
  border-bottom:1px solid var(--line);
  background:rgba(7,10,15,.84);
  backdrop-filter:blur(12px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 22px;
}
.console-title h1{
  font-size:20px;
  margin:0;
}
.console-title p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:12px;
}
.command-search{
  display:flex;
  gap:10px;
  align-items:center;
  flex:1;
  max-width:520px;
}
.command-search input{
  height:42px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
}
.console-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.console-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(37,217,130,.24);
  background:rgba(37,217,130,.08);
  color:var(--green);
  border-radius:999px;
  padding:10px 12px;
  font-size:12px;
  font-weight:900;
}
.console-status:before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 5px rgba(37,217,130,.10);
}
.console-frame-wrap{
  padding:0;
  overflow:hidden;
}
.console-frame{
  width:100%;
  height:100%;
  border:0;
  background:transparent;
}
.console-mobile-toggle{
  display:none;
}
.console-home-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.console-tip{
  border:1px solid rgba(216,164,54,.20);
  background:rgba(216,164,54,.055);
  border-radius:18px;
  padding:16px;
}
.template-card{
  border:1px solid var(--line);
  background:#0c1017;
  border-radius:16px;
  padding:14px;
}
.copy-btn{
  margin-top:10px;
}
@media(max-width:1000px){
  .console-shell{grid-template-columns:1fr}
  .console-sidebar{
    position:fixed;
    left:-310px;
    top:0;
    bottom:0;
    width:300px;
    z-index:50;
    transition:.22s ease;
    background:#090d13;
  }
  .console-sidebar.open{left:0}
  .console-mobile-toggle{display:inline-flex}
  .console-main{grid-template-rows:auto 1fr;height:100vh}
  .console-topbar{flex-wrap:wrap}
  .command-search{order:3;max-width:none;width:100%}
  .console-home-grid{grid-template-columns:1fr}
}


/* === BCS Admin Console v5.0 === */
:root{
  --console-side:286px;
}
.console-shell.v5{
  grid-template-columns:var(--console-side) 1fr;
}
.console-sidebar.v5{
  padding:18px 14px;
  background:
    radial-gradient(circle at 100% 0%,rgba(216,164,54,.06),transparent 32%),
    rgba(7,10,15,.94);
}
.console-brand.v5{
  background:rgba(255,255,255,.032);
  border:1px solid var(--line);
  border-radius:18px;
  padding:13px;
  margin-bottom:14px;
}
.console-user-pill{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  border:1px solid rgba(216,164,54,.18);
  background:rgba(216,164,54,.055);
  border-radius:999px;
  padding:7px 10px;
  color:var(--gold);
  font-size:11px;
  font-weight:900;
}
.nav-section{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  margin-bottom:10px;
  overflow:hidden;
}
.nav-section-toggle{
  width:100%;
  border:0;
  background:transparent;
  color:var(--text);
  padding:12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  font-weight:950;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.7px;
}
.nav-section-toggle span{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-section-toggle em{
  font-style:normal;
  color:var(--muted);
  transition:.18s ease;
}
.nav-section.collapsed .nav-section-toggle em{
  transform:rotate(-90deg);
}
.nav-section-links{
  display:grid;
  padding:0 8px 8px;
  max-height:500px;
  transition:max-height .22s ease, opacity .18s ease;
}
.nav-section.collapsed .nav-section-links{
  max-height:0;
  opacity:0;
  padding-bottom:0;
  overflow:hidden;
}
.console-nav.v5 a{
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:9px;
  padding:10px 9px;
  border-radius:12px;
  margin-bottom:3px;
  color:var(--muted);
  font-weight:850;
}
.console-nav.v5 a strong{
  font-size:13px;
}
.console-nav.v5 a small{
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:2px;
}
.console-nav.v5 a:hover,
.console-nav.v5 a.active{
  background:linear-gradient(90deg,rgba(216,164,54,.10),rgba(255,255,255,.025));
  color:var(--gold);
}
.console-nav.v5 a.active{
  box-shadow:inset 3px 0 0 var(--gold);
}
.console-nav.v5 a .nav-icon{
  width:28px;height:28px;border-radius:10px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.045);
}
.console-nav.v5 a .nav-hotkey{
  font-size:10px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:7px;
  padding:3px 5px;
}
.console-topbar.v5{
  min-height:82px;
}
.console-title.v5 h1{
  font-size:22px;
}
.command-search.v5 input{
  box-shadow:0 10px 34px rgba(0,0,0,.14);
}
.console-frame-wrap.v5{
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 30%);
}
.console-frame.v5{
  background:#070a0f;
}
.console-quick-dock{
  position:fixed;
  right:20px;
  top:96px;
  z-index:20;
  display:grid;
  gap:8px;
}
.console-quick-dock button{
  width:42px;height:42px;border-radius:14px;
  border:1px solid var(--line);
  background:rgba(15,19,26,.88);
  color:var(--gold);
  cursor:pointer;
  backdrop-filter:blur(10px);
}
.console-quick-dock button:hover{
  border-color:rgba(216,164,54,.35);
  transform:translateY(-1px);
}
.chat-panel{
  position:fixed;
  right:74px;
  top:96px;
  width:380px;
  max-width:calc(100vw - 32px);
  max-height:calc(100vh - 140px);
  background:#0b0f16;
  border:1px solid rgba(216,164,54,.22);
  border-radius:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  z-index:30;
  display:none;
  overflow:hidden;
}
.chat-panel.open{display:block}
.chat-head{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.chat-body{
  max-height:350px;
  overflow:auto;
  padding:12px;
  display:grid;
  gap:10px;
}
.chat-msg{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  border-radius:14px;
  padding:10px;
}
.chat-msg b{color:var(--gold)}
.chat-msg small{display:block;color:var(--muted);margin-top:4px}
.chat-form{
  border-top:1px solid var(--line);
  padding:12px;
  display:flex;
  gap:8px;
}
.chat-form input{height:42px}
.module-clean .admin-top .actions a[href*="dashboard-home"],
.module-clean .admin-top .actions a[href*="index.php"]{
  display:none!important;
}
@media(max-width:1000px){
  .console-shell.v5{grid-template-columns:1fr}
  .console-sidebar.v5{left:-310px}
  .console-sidebar.v5.open{left:0}
  .console-quick-dock{right:12px;top:auto;bottom:14px}
  .chat-panel{right:12px;top:auto;bottom:68px}
}


/* === BCS Admin Console v5.1 Layout Fix === */

/* Main console should have only internal module scroll, not body chaos */
html,
body.console-body{
  width:100%;
  height:100%;
  overflow:hidden!important;
}

.console-shell.v5{
  height:100vh!important;
  width:100vw!important;
  overflow:hidden!important;
  grid-template-columns:300px minmax(0,1fr)!important;
}

/* Sidebar cleanup */
.console-sidebar.v5{
  width:300px!important;
  max-width:300px!important;
  min-width:300px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  padding:14px 12px!important;
}

.console-sidebar.v5::-webkit-scrollbar,
.console-frame-wrap.v5::-webkit-scrollbar{
  width:8px;
}

.console-sidebar.v5::-webkit-scrollbar-thumb,
.console-frame-wrap.v5::-webkit-scrollbar-thumb{
  background:rgba(216,164,54,.24);
  border-radius:999px;
}

/* Brand/user badge overflow fix */
.console-brand.v5{
  display:block!important;
  padding:12px!important;
}

.console-brand.v5 .brand{
  display:grid!important;
  grid-template-columns:48px 1fr!important;
  gap:10px!important;
  min-width:0!important;
}

.console-brand.v5 h2{
  font-size:18px!important;
  line-height:1.1!important;
  word-break:normal!important;
}

.console-brand.v5 p{
  font-size:11px!important;
  line-height:1.35!important;
}

.console-user-pill{
  width:100%!important;
  max-width:100%!important;
  margin-top:12px!important;
  overflow:hidden!important;
}

.console-user-pill span,
.console-user-pill em{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Menu compacting */
.nav-section{
  margin-bottom:9px!important;
}

.nav-section-toggle{
  padding:10px 11px!important;
  font-size:10px!important;
}

.console-nav.v5 a{
  grid-template-columns:30px minmax(0,1fr) auto!important;
  padding:9px 8px!important;
  gap:8px!important;
}

.console-nav.v5 a strong{
  font-size:13px!important;
  line-height:1.1!important;
}

.console-nav.v5 a small{
  font-size:10px!important;
  line-height:1.25!important;
}

.console-nav.v5 a .nav-hotkey{
  max-width:46px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Topbar cleanup */
.console-main{
  min-width:0!important;
  overflow:hidden!important;
}

.console-topbar.v5{
  height:76px!important;
  min-height:76px!important;
  padding:12px 18px!important;
  gap:14px!important;
}

.console-title.v5{
  min-width:170px!important;
}

.console-title.v5 h1{
  font-size:20px!important;
  line-height:1.1!important;
}

.console-title.v5 p{
  font-size:12px!important;
}

.command-search.v5{
  max-width:620px!important;
}

.command-search.v5 input{
  height:44px!important;
}

.console-actions{
  flex-shrink:0!important;
}

.console-actions .btn{
  padding:10px 14px!important;
}

.console-status{
  padding:9px 12px!important;
}

/* Frame/iframe layout fix */
.console-frame-wrap.v5{
  height:calc(100vh - 76px)!important;
  overflow:hidden!important;
  padding:0!important;
}

.console-frame.v5{
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:auto!important;
}

/* iframe pages should not look oversized */
body:not(.console-body){
  overflow:auto;
}

.wrap{
  max-width:1380px!important;
  padding:22px 24px 34px!important;
}

.ops-hero{
  margin-bottom:16px!important;
  padding:20px!important;
  grid-template-columns:1.25fr .75fr!important;
}

.ops-hero h2{
  font-size:30px!important;
  line-height:1.12!important;
}

.ops-hero p{
  font-size:15px!important;
  line-height:1.55!important;
}

.ops-health{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

.ops-health span{
  min-width:0!important;
  padding:12px!important;
}

.quick-actions{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:16px!important;
}

.quick-actions a{
  min-height:60px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:12px!important;
}

.grid4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}

.grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}

.card{
  padding:18px!important;
}

.stat-card b{
  font-size:32px!important;
}

.sidebar-grid{
  grid-template-columns:1.35fr .65fr!important;
}

/* Quick dock should not cover content */
.console-quick-dock{
  right:14px!important;
  top:92px!important;
  gap:8px!important;
}

.console-quick-dock button{
  width:40px!important;
  height:40px!important;
  border-radius:14px!important;
  opacity:.86;
}

.console-quick-dock button:hover{
  opacity:1;
}

/* Give iframe pages right room so quick dock does not cover cards */
.console-frame-wrap.v5 iframe{
  padding-right:0;
}

/* Chat panel polish */
.chat-panel{
  right:66px!important;
  top:92px!important;
  width:390px!important;
}

/* module pages: hide big logout/open platform buttons when inside iframe look */
.admin-top{
  margin-bottom:18px!important;
}

.admin-top h1{
  font-size:28px!important;
}

.admin-top p{
  font-size:14px!important;
}

.admin-top .actions .btn.red,
.admin-top .actions a[href="../"]{
  display:none!important;
}

/* tables less huge */
.table td,
.table th{
  padding:10px!important;
  font-size:13px!important;
}

/* Prevent any horizontal overflow */
*{
  max-width:100%;
}

/* Mobile/tablet */
@media(max-width:1200px){
  .console-shell.v5{
    grid-template-columns:280px minmax(0,1fr)!important;
  }
  .console-sidebar.v5{
    width:280px!important;
    max-width:280px!important;
    min-width:280px!important;
  }
  .quick-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .sidebar-grid{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:1000px){
  body.console-body{
    overflow:hidden!important;
  }

  .console-shell.v5{
    grid-template-columns:1fr!important;
  }

  .console-sidebar.v5{
    left:-310px!important;
    width:300px!important;
    max-width:300px!important;
    min-width:300px!important;
  }

  .console-sidebar.v5.open{
    left:0!important;
  }

  .console-topbar.v5{
    height:auto!important;
    min-height:76px!important;
    flex-wrap:wrap!important;
  }

  .console-frame-wrap.v5{
    height:calc(100vh - 138px)!important;
  }

  .command-search.v5{
    order:3;
    width:100%;
    max-width:none!important;
  }

  .quick-actions,
  .grid4,
  .grid{
    grid-template-columns:1fr 1fr!important;
  }

  .ops-hero{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:620px){
  .wrap{
    padding:16px!important;
  }

  .quick-actions,
  .grid4,
  .grid,
  .ops-health{
    grid-template-columns:1fr!important;
  }

  .console-actions{
    width:100%;
    justify-content:space-between;
  }

  .console-frame-wrap.v5{
    height:calc(100vh - 190px)!important;
  }
}


/* === BCS Admin Console v5.2 Bugfix === */

/* Central module iframe must scroll correctly */
.console-frame-wrap.v5{
  overflow:hidden!important;
}
.console-frame.v5{
  height:100%!important;
  overflow:auto!important;
}

/* Pages loaded inside iframe */
body.module-page{
  min-height:100vh;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:50px;
}

/* Hide old embedded mini-sidebar in module pages */
body.module-page .admin-shell{
  display:block!important;
}
body.module-page .admin-shell > .admin-side,
body.module-page .admin-shell > aside.admin-side,
body.module-page .admin-shell > aside.console-sidebar{
  display:none!important;
}
body.module-page .admin-shell > .admin-main{
  width:100%!important;
  max-width:none!important;
}

/* Module layout should use full central space */
body.module-page .wrap{
  max-width:1500px!important;
  width:100%!important;
  padding:28px 34px 70px!important;
}
body.module-page .admin-top{
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
  margin-bottom:24px!important;
}
body.module-page .admin-top h1{
  font-size:34px!important;
}
body.module-page .admin-top p{
  max-width:850px;
}

/* No duplicate logout/platform buttons inside module iframe */
body.module-page .admin-top .actions{
  display:none!important;
}

/* Better form density */
body.module-page .card{
  border-radius:20px!important;
}
body.module-page textarea{
  min-height:170px;
  line-height:1.6;
}
body.module-page input,
body.module-page textarea,
body.module-page select{
  font-size:14px;
}

/* Quick dock should not block form inputs */
.console-quick-dock{
  right:10px!important;
  opacity:.72;
}
.console-quick-dock:hover{
  opacity:1;
}
.chat-panel{
  right:58px!important;
}

/* Broadcast/Security/Probe layout cleanup */
body.module-page .grid2{
  gap:18px!important;
}
body.module-page .grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.module-page .grid4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.module-page .analytics-grid{
  grid-template-columns:1.35fr .65fr!important;
}

/* Make sidebar nicer after bugfix */
.console-nav.v5 a small{
  max-width:170px;
}
.nav-section.collapsed{
  background:rgba(255,255,255,.018);
}
.nav-section:not(.collapsed){
  border-color:rgba(216,164,54,.18);
}

/* Scrollbar style for module pages */
body.module-page::-webkit-scrollbar{
  width:9px;
}
body.module-page::-webkit-scrollbar-thumb{
  background:rgba(216,164,54,.24);
  border-radius:999px;
}
body.module-page::-webkit-scrollbar-track{
  background:rgba(255,255,255,.03);
}

/* Useful mini utility cards */
.module-helper{
  border:1px solid rgba(216,164,54,.18);
  background:rgba(216,164,54,.045);
  border-radius:18px;
  padding:14px 16px;
  color:var(--muted);
  margin-bottom:18px;
}
.module-helper b{
  color:var(--gold);
}

@media(max-width:1100px){
  body.module-page .grid,
  body.module-page .grid4,
  body.module-page .analytics-grid{
    grid-template-columns:1fr!important;
  }
  body.module-page .wrap{
    padding:20px!important;
  }
}


/* === BCS Admin Console v5.3 Stability Fix === */

/*
  v5.3 principle:
  - main browser page does not scroll
  - iframe area owns module scrolling
  - sidebar owns only its own scrolling
  - no floating quick dock blocking content
*/

/* Console root */
html,
body.console-body{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  overflow:hidden!important;
}

.console-shell.v5{
  width:100vw!important;
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
}

/* Sidebar: stable, no horizontal scrollbar */
.console-sidebar.v5{
  height:100vh!important;
  max-height:100vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  position:relative!important;
  z-index:10;
}

/* Main area */
.console-main{
  height:100vh!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:76px minmax(0,1fr)!important;
}

/* Topbar fixed height */
.console-topbar.v5{
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  overflow:hidden!important;
}

/* Frame area: no browser scrollbar, iframe scrolls */
.console-frame-wrap.v5{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  position:relative!important;
}

/* iframe itself */
.console-frame.v5{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  display:block!important;
  overflow:auto!important;
}

/* Module pages loaded inside iframe must scroll normally */
body.module-page,
html body.module-page{
  height:auto!important;
  min-height:100vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:80px!important;
}

/* Remove old hard locks from module pages */
body.module-page .console-frame-wrap,
body.module-page .console-frame,
body.module-page .console-shell{
  height:auto!important;
  overflow:visible!important;
}

/* Hide the right floating quick dock completely for stability */
.console-quick-dock{
  display:none!important;
}

/* Chat panel remains accessible only from sidebar/module link, not floating circles */
.chat-panel{
  display:none!important;
}

/* More breathing room in modules */
body.module-page .wrap{
  width:100%!important;
  max-width:1520px!important;
  margin:0 auto!important;
  padding:30px 38px 90px!important;
}

/* Prevent huge modules from being cut at bottom */
body.module-page .card:last-child{
  margin-bottom:50px!important;
}

/* Module header polish */
body.module-page .admin-top{
  position:relative!important;
  top:auto!important;
  background:transparent!important;
  border-bottom:1px solid var(--line)!important;
  padding-bottom:18px!important;
  margin-bottom:26px!important;
}

body.module-page .admin-top h1{
  font-size:34px!important;
  line-height:1.12!important;
}

/* Forms must be reachable and not hidden behind bottom */
body.module-page form{
  max-width:100%;
}

body.module-page textarea{
  min-height:190px!important;
  max-height:none!important;
}

/* Buttons not clipped */
body.module-page .btn{
  white-space:nowrap;
}

/* Security page toggles bottom fix */
body.module-page input[type="checkbox"]{
  width:auto!important;
  max-width:none!important;
}

/* Sidebar brand compact */
.console-brand.v5{
  overflow:hidden!important;
}

.console-brand.v5 .logo{
  flex:0 0 auto;
}

/* Command search not too wide on medium screens */
.command-search.v5{
  min-width:260px!important;
}

/* Keep sidebar sections clean */
.nav-section-links{
  overflow:hidden;
}

.nav-section:not(.collapsed) .nav-section-links{
  overflow:visible;
}

/* Mobile: body can still use console layout */
@media(max-width:1000px){
  .console-shell.v5{
    grid-template-columns:1fr!important;
  }

  .console-sidebar.v5{
    position:fixed!important;
    height:100vh!important;
    left:-310px!important;
    top:0!important;
    bottom:0!important;
  }

  .console-sidebar.v5.open{
    left:0!important;
  }

  .console-main{
    grid-template-rows:auto minmax(0,1fr)!important;
  }

  .console-topbar.v5{
    height:auto!important;
    min-height:76px!important;
    max-height:none!important;
    overflow:visible!important;
  }

  .console-frame-wrap.v5{
    height:calc(100vh - 138px)!important;
  }

  body.module-page .wrap{
    padding:20px 18px 90px!important;
  }
}

@media(max-width:640px){
  .console-frame-wrap.v5{
    height:calc(100vh - 190px)!important;
  }
}


/* === BCS Admin Console v5.4 Reliable Navigation Fix === */

/* Stop over-locking the console page */
html,
body.console-body{
  height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
}

/* Reliable shell */
.console-shell.v5{
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:315px minmax(0,1fr)!important;
}

/* Sidebar must ALWAYS scroll and show every menu section */
.console-sidebar.v5{
  width:315px!important;
  min-width:315px!important;
  max-width:315px!important;
  height:100vh!important;
  max-height:100vh!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  padding:14px 12px 40px!important;
  position:relative!important;
  overscroll-behavior:contain;
}

/* Force all nav sections open and visible */
.nav-section,
.nav-section.collapsed{
  display:block!important;
  max-height:none!important;
  overflow:visible!important;
  margin-bottom:10px!important;
}

.nav-section-links,
.nav-section.collapsed .nav-section-links{
  display:grid!important;
  max-height:none!important;
  opacity:1!important;
  overflow:visible!important;
  padding:0 8px 8px!important;
}

/* Disable broken collapse arrow behavior visually */
.nav-section-toggle{
  cursor:default!important;
  pointer-events:none!important;
}

.nav-section-toggle em{
  display:none!important;
}

/* Make menu compact enough to fit but still readable */
.console-nav.v5 a{
  min-height:58px!important;
  padding:8px!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
}

.console-nav.v5 a .nav-icon{
  width:28px!important;
  height:28px!important;
}

.console-nav.v5 a strong{
  font-size:12.5px!important;
  line-height:1.05!important;
}

.console-nav.v5 a small{
  font-size:9.5px!important;
  line-height:1.18!important;
  max-width:185px!important;
}

.console-nav.v5 a .nav-hotkey{
  font-size:9px!important;
  padding:2px 5px!important;
  max-width:44px!important;
}

/* Main panel reliable scroll */
.console-main{
  height:100vh!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:76px minmax(0,1fr)!important;
}

.console-topbar.v5{
  height:76px!important;
  min-height:76px!important;
  max-height:76px!important;
  overflow:hidden!important;
}

.console-frame-wrap.v5{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}

.console-frame.v5{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  display:block!important;
}

/* Iframe module pages scroll normally */
body.module-page{
  min-height:100vh!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:100px!important;
}

body.module-page .wrap{
  max-width:1500px!important;
  width:100%!important;
  padding:28px 34px 110px!important;
}

/* Safety: no hidden module content */
body.module-page .card,
body.module-page form,
body.module-page table,
body.module-page .grid,
body.module-page .grid2,
body.module-page .grid4{
  overflow:visible!important;
}

/* Textarea reachable */
body.module-page textarea{
  min-height:170px!important;
  max-height:none!important;
}

/* Remove floating conflicts */
.console-quick-dock,
.chat-panel{
  display:none!important;
}

/* Sidebar scrollbar visible */
.console-sidebar.v5::-webkit-scrollbar{
  width:10px!important;
}
.console-sidebar.v5::-webkit-scrollbar-thumb{
  background:rgba(216,164,54,.38)!important;
  border-radius:999px!important;
}
.console-sidebar.v5::-webkit-scrollbar-track{
  background:rgba(255,255,255,.035)!important;
}

/* Module scrollbars */
body.module-page::-webkit-scrollbar{
  width:10px!important;
}
body.module-page::-webkit-scrollbar-thumb{
  background:rgba(216,164,54,.30)!important;
  border-radius:999px!important;
}

/* Better topbar on smaller desktop */
.command-search.v5{
  max-width:520px!important;
}
.console-actions .btn{
  padding:10px 13px!important;
}

/* Mobile fallback */
@media(max-width:1000px){
  .console-shell.v5{
    grid-template-columns:1fr!important;
  }

  .console-sidebar.v5{
    position:fixed!important;
    top:0!important;
    bottom:0!important;
    left:-330px!important;
    z-index:99!important;
  }

  .console-sidebar.v5.open{
    left:0!important;
  }

  .console-main{
    grid-template-rows:auto minmax(0,1fr)!important;
  }

  .console-topbar.v5{
    height:auto!important;
    min-height:76px!important;
    max-height:none!important;
    overflow:visible!important;
    flex-wrap:wrap!important;
  }

  .console-frame-wrap.v5{
    height:calc(100vh - 140px)!important;
  }

  .command-search.v5{
    order:3;
    max-width:none!important;
    width:100%;
  }
}

/* Emergency horizontal overflow prevention */
body.console-body *,
body.module-page *{
  box-sizing:border-box;
}


/* === BCS Admin Console v5.5 Central Scroll Fix === */

/*
  Critical fix:
  Older rules used "html, body.console-body { overflow:hidden }".
  That also affected iframe module documents because every iframe has its own <html>.
  From v5.5 only the parent console body is locked; module pages scroll normally.
*/

/* Default pages and iframe documents can scroll */
html{
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}

/* Only the console shell page is locked */
html:has(body.console-body){
  height:100%!important;
  overflow:hidden!important;
}

body.console-body{
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
}

/* Console frame area stays fixed */
.console-shell.v5{
  height:100vh!important;
  overflow:hidden!important;
}

.console-main{
  height:100vh!important;
  overflow:hidden!important;
}

.console-frame-wrap.v5{
  height:calc(100vh - 76px)!important;
  min-height:0!important;
  overflow:hidden!important;
}

/* iframe content must be scrollable */
.console-frame.v5{
  width:100%!important;
  height:100%!important;
  overflow:auto!important;
}

/* Module pages inside iframe */
html:has(body.module-page){
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}

body.module-page{
  height:auto!important;
  min-height:calc(100vh + 2px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:140px!important;
}

/* Ensure content height forces iframe scrollbar when needed */
body.module-page .wrap{
  min-height:calc(100vh + 80px)!important;
  padding-bottom:160px!important;
}

/* Large forms should not get clipped */
body.module-page textarea{
  min-height:220px!important;
  resize:vertical!important;
}

body.module-page .card:last-child{
  margin-bottom:120px!important;
}

/* Remove floating overlay conflict completely */
.console-quick-dock,
.chat-panel{
  display:none!important;
}

/* Hide external floating app overlays if browser/extension injects similar fixed widgets inside module */
body.module-page [style*="position: fixed"][style*="bottom"]{
  max-width:360px;
}

/* Mobile frame height */
@media(max-width:1000px){
  .console-frame-wrap.v5{
    height:calc(100vh - 140px)!important;
  }
}

@media(max-width:640px){
  .console-frame-wrap.v5{
    height:calc(100vh - 190px)!important;
  }
}


/* === BCS Admin Console v6.0 Final Beta === */
.progress-wrap{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  overflow:hidden;
  margin-top:10px;
}
.progress-wrap i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold),rgba(37,217,130,.75));
}
.v6-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.v6-lane{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,.025);
}
.v6-lane h2{
  font-size:18px;
  color:var(--gold);
}
.v6-project{
  border:1px solid var(--line);
  border-radius:15px;
  background:#0c1017;
  padding:14px;
  margin-bottom:12px;
}
.v6-project small{
  display:block;
  color:var(--muted);
  margin-top:8px;
}
.ticket-open{border-left:3px solid var(--red)}
.ticket-progress{border-left:3px solid var(--gold)}
.ticket-resolved{border-left:3px solid var(--green);opacity:.75}
.emergency-panel{
  border:1px solid rgba(255,88,116,.28);
  background:linear-gradient(135deg,rgba(255,88,116,.10),rgba(216,164,54,.035));
  border-radius:20px;
  padding:18px;
}
.setting-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.v6-badge{
  display:inline-flex;
  border:1px solid rgba(216,164,54,.25);
  color:var(--gold);
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}
.v6-badge.green{color:var(--green);border-color:rgba(37,217,130,.25)}
.v6-badge.red{color:var(--red);border-color:rgba(255,88,116,.25)}
.v6-badge.blue{color:var(--blue);border-color:rgba(143,163,255,.25)}
.v6-dashboard-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
}
.v6-action-list{
  display:grid;
  gap:10px;
}
.v6-action-list a{
  border:1px solid var(--line);
  background:#0c1017;
  border-radius:14px;
  padding:13px;
  color:var(--text);
  font-weight:900;
}
.v6-action-list a:hover{color:var(--gold);border-color:rgba(216,164,54,.28)}
@media(max-width:1100px){
  .v6-board,.setting-grid,.v6-dashboard-grid{grid-template-columns:1fr!important}
}


/* === BCS Admin Console v6.1 Final Polish === */

/* Overall polish */
body{
  letter-spacing:.01em;
}
.card,
.v6-project,
.template-card,
.mini-item{
  box-shadow:0 14px 45px rgba(0,0,0,.16);
}
.card:hover,
.v6-project:hover,
.template-card:hover{
  border-color:rgba(216,164,54,.22);
}

/* Premium login */
.login-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
  background:
    radial-gradient(circle at 20% 15%,rgba(216,164,54,.12),transparent 30%),
    radial-gradient(circle at 80% 0%,rgba(37,217,130,.07),transparent 28%),
    linear-gradient(180deg,#070a0f,#05070b);
}
.login-shell{
  width:min(980px,100%);
  display:grid;
  grid-template-columns:1fr 430px;
  gap:18px;
  align-items:stretch;
}
.login-hero{
  border:1px solid rgba(216,164,54,.18);
  border-radius:28px;
  padding:38px;
  background:
    radial-gradient(circle at 100% 0%,rgba(216,164,54,.14),transparent 38%),
    rgba(255,255,255,.035);
}
.login-hero .logo{
  width:58px;
  height:58px;
  font-size:20px;
}
.login-hero h1{
  font-size:48px;
  line-height:1;
  margin:28px 0 14px;
  color:var(--gold);
}
.login-hero p{
  color:var(--muted);
  max-width:540px;
  line-height:1.7;
}
.login-points{
  display:grid;
  gap:10px;
  margin-top:28px;
}
.login-points span{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:rgba(255,255,255,.025);
  color:var(--text);
  font-weight:800;
}
.login-card{
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  background:rgba(255,255,255,.045);
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}
.login-card h2{
  font-size:30px;
}
.login-card input{
  height:48px;
}
.login-card .btn{
  width:100%;
  height:48px;
  margin-top:8px;
}

/* Console shell polish */
.console-brand.v5{
  border-radius:22px!important;
}
.console-brand.v5 h2{
  letter-spacing:.02em;
}
.console-user-pill{
  border-color:rgba(216,164,54,.26)!important;
}
.nav-section{
  border-radius:18px!important;
}
.nav-section-toggle{
  color:var(--gold)!important;
}
.console-nav.v5 a{
  transition:.16s ease;
}
.console-nav.v5 a:hover{
  transform:translateX(2px);
}
.console-topbar.v5{
  box-shadow:0 12px 35px rgba(0,0,0,.18);
}
.console-title.v5 h1{
  letter-spacing:.01em;
}
.command-search.v5 input{
  border-color:rgba(255,255,255,.10);
}

/* Module headers */
body.module-page .admin-top{
  background:
    radial-gradient(circle at 100% 0%,rgba(216,164,54,.055),transparent 32%);
  border-radius:20px;
  border:1px solid rgba(255,255,255,.06)!important;
  padding:22px!important;
}
body.module-page .admin-top h1{
  color:var(--text);
  letter-spacing:-.02em;
}
body.module-page .admin-top p{
  color:var(--muted);
  line-height:1.65;
}

/* Better labels and text */
label{
  letter-spacing:1.4px!important;
}
.muted{
  line-height:1.55;
}
.table th{
  letter-spacing:1px;
}
.table tr:hover td{
  background:rgba(255,255,255,.018);
}

/* Action buttons */
.btn{
  box-shadow:0 10px 24px rgba(216,164,54,.10);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.btn:hover{
  transform:translateY(-1px);
}
.btn.secondary{
  box-shadow:none;
}
.btn.red{
  box-shadow:0 10px 24px rgba(255,88,116,.08);
}

/* Dashboard v6 cards */
.v6-dashboard-grid .card,
.grid4 .card,
.grid .card{
  min-width:0;
}
.stat-card small{
  letter-spacing:1.2px;
}
.stat-card b{
  letter-spacing:-.04em;
}

/* Module helper polish */
.module-helper{
  font-size:15px;
  line-height:1.65;
}

/* Project/ticket boards */
.v6-lane{
  min-height:220px;
}
.v6-lane h2{
  display:flex;
  align-items:center;
  gap:8px;
}
.v6-lane h2:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(216,164,54,.10);
}
.v6-project h3{
  margin-top:12px;
}

/* Settings/emergency */
.emergency-panel h2:before{
  content:"⚠ ";
}

/* Responsive login */
@media(max-width:900px){
  .login-shell{
    grid-template-columns:1fr;
  }
  .login-hero h1{
    font-size:38px;
  }
}


/* === BCS Admin Console v6.2 Balkan Protected Edition === */
:root{
  --gold:#f1bd3b;
  --gold2:#ffd15a;
  --bg:#05070b;
  --panel:#0c1118;
}
body{
  font-synthesis-weight:none;
}
.console-shell.v5{
  background:
    radial-gradient(circle at 16% 0%,rgba(241,189,59,.07),transparent 32%),
    radial-gradient(circle at 100% 10%,rgba(37,217,130,.045),transparent 28%),
    #05070b!important;
}
.console-sidebar.v5{
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),
    #070a0f!important;
  border-right:1px solid rgba(241,189,59,.14)!important;
}
.console-brand.v5{
  background:
    radial-gradient(circle at 100% 0%,rgba(241,189,59,.13),transparent 35%),
    rgba(255,255,255,.04)!important;
  border-color:rgba(241,189,59,.24)!important;
}
.console-user-pill{
  background:linear-gradient(90deg,rgba(241,189,59,.16),rgba(241,189,59,.05))!important;
}
.nav-section{
  background:rgba(255,255,255,.025)!important;
  border-color:rgba(255,255,255,.075)!important;
}
.nav-section-toggle{
  color:#f4f0df!important;
}
.console-nav.v5 a.active{
  background:
    linear-gradient(90deg,rgba(241,189,59,.16),rgba(255,255,255,.025))!important;
  box-shadow:inset 3px 0 0 var(--gold), 0 10px 26px rgba(0,0,0,.14)!important;
}
.console-nav.v5 a .nav-icon{
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025))!important;
  border:1px solid rgba(255,255,255,.06);
}
.console-topbar.v5{
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)),
    rgba(5,7,11,.92)!important;
  border-bottom-color:rgba(241,189,59,.12)!important;
}
.command-search.v5 input{
  background:rgba(255,255,255,.04)!important;
  border-color:rgba(241,189,59,.16)!important;
}
.console-status{
  background:rgba(37,217,130,.10)!important;
}
body.module-page .admin-top{
  background:
    radial-gradient(circle at 100% 0%,rgba(241,189,59,.10),transparent 30%),
    rgba(255,255,255,.025)!important;
  border-color:rgba(241,189,59,.14)!important;
}
.card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022))!important;
  border-color:rgba(255,255,255,.08)!important;
}
.card:hover{
  border-color:rgba(241,189,59,.28)!important;
}
.btn{
  background:linear-gradient(135deg,#ffd15a,#d99d25)!important;
  color:#090b10!important;
  border:0!important;
}
.btn.secondary{
  background:rgba(255,255,255,.06)!important;
  color:var(--text)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.btn.red{
  background:rgba(255,88,116,.18)!important;
  color:#ff9aac!important;
  border:1px solid rgba(255,88,116,.25)!important;
}
.module-helper{
  background:
    linear-gradient(90deg,rgba(241,189,59,.09),rgba(255,255,255,.025))!important;
  border-color:rgba(241,189,59,.22)!important;
}
.login-hero h1{
  text-shadow:0 14px 38px rgba(241,189,59,.18);
}
.login-card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03))!important;
  border-color:rgba(241,189,59,.18)!important;
}
.protected-mark{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(37,217,130,.22);
  background:rgba(37,217,130,.08);
  color:var(--green);
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
}


/* === BCS Admin Console v6.3 Final Utilities + Loader === */

/* Premium loader */
.bcs-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 50% 20%,rgba(241,189,59,.16),transparent 32%),
    radial-gradient(circle at 80% 0%,rgba(37,217,130,.08),transparent 26%),
    #05070b;
  transition:opacity .55s ease, visibility .55s ease;
}
.bcs-loader.hide{
  opacity:0;
  visibility:hidden;
}
.loader-core{
  width:min(460px,92vw);
  text-align:center;
  border:1px solid rgba(241,189,59,.18);
  border-radius:30px;
  background:rgba(255,255,255,.035);
  padding:34px;
  box-shadow:0 30px 100px rgba(0,0,0,.45);
}
.loader-logo{
  width:82px;
  height:82px;
  margin:0 auto 18px;
  border-radius:24px;
  display:grid;
  place-items:center;
  color:var(--gold);
  font-weight:950;
  font-size:26px;
  border:1px solid rgba(241,189,59,.38);
  background:linear-gradient(135deg,rgba(241,189,59,.16),rgba(255,255,255,.035));
  animation:loaderPulse 1.35s ease-in-out infinite;
}
.loader-core h2{
  margin:0 0 8px;
  font-size:28px;
}
.loader-core p{
  color:var(--muted);
  margin:0 0 22px;
}
.loader-bar{
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
}
.loader-bar i{
  display:block;
  width:48%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--gold),var(--green),transparent);
  animation:loaderMove 1.1s ease-in-out infinite;
}
.loader-steps{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:18px;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
}
@keyframes loaderPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 rgba(241,189,59,0)}
  50%{transform:scale(1.04);box-shadow:0 0 34px rgba(241,189,59,.18)}
}
@keyframes loaderMove{
  0%{transform:translateX(-110%)}
  100%{transform:translateX(220%)}
}

/* Utility modules */
.health-ok{color:var(--green)}
.health-warn{color:var(--gold)}
.health-bad{color:var(--red)}
.health-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0c1017;
  margin-bottom:10px;
}
.copy-template{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#0c1017;
}
.copy-template textarea{
  min-height:150px!important;
}
.scheduler-card{
  border-left:3px solid var(--gold);
}
.vip-note-card{
  border-left:3px solid var(--green);
}
.utility-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
@media(max-width:900px){
  .utility-grid{grid-template-columns:1fr}
  .loader-steps{display:grid}
}


/* === BCS Admin v6.4 Sidebar Polish - safe/no scroll changes === */
.console-sidebar.v5{
  background:
    radial-gradient(circle at 100% 0%,rgba(241,189,59,.08),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),
    #070a0f!important;
}
.nav-section{
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.nav-section-toggle{
  border-bottom:1px solid rgba(255,255,255,.035);
}
.console-nav.v5 a{
  border:1px solid transparent;
}
.console-nav.v5 a:hover{
  border-color:rgba(241,189,59,.16);
}
.console-nav.v5 a.active{
  border-color:rgba(241,189,59,.23);
}
.console-nav.v5 a .nav-hotkey{
  background:rgba(255,255,255,.035);
}
.console-brand.v5 .logo{
  box-shadow:0 0 28px rgba(241,189,59,.10);
}


/* === BCS Admin v6.5 Sidebar Collapse Final Touch === */
.sidebar-collapse-btn{
  width:100%;
  margin:10px 0 12px;
  border:1px solid rgba(241,189,59,.20);
  background:rgba(241,189,59,.07);
  color:var(--gold);
  border-radius:14px;
  padding:10px 12px;
  font-weight:950;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.sidebar-collapse-btn:hover{
  background:rgba(241,189,59,.12);
}
.console-shell.v5.sidebar-mini{
  grid-template-columns:92px minmax(0,1fr)!important;
}
.console-shell.v5.sidebar-mini .console-sidebar.v5{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  padding:12px 8px 36px!important;
}
.console-shell.v5.sidebar-mini .console-brand.v5{
  padding:10px!important;
}
.console-shell.v5.sidebar-mini .console-brand.v5 .brand{
  display:flex!important;
  justify-content:center;
}
.console-shell.v5.sidebar-mini .console-brand.v5 .brand > div:not(.logo),
.console-shell.v5.sidebar-mini .console-user-pill,
.console-shell.v5.sidebar-mini .nav-section-toggle span,
.console-shell.v5.sidebar-mini .nav-section-toggle em,
.console-shell.v5.sidebar-mini .console-nav.v5 a strong,
.console-shell.v5.sidebar-mini .console-nav.v5 a small,
.console-shell.v5.sidebar-mini .console-nav.v5 a .nav-hotkey,
.console-shell.v5.sidebar-mini .sidebar-collapse-btn span{
  display:none!important;
}
.console-shell.v5.sidebar-mini .sidebar-collapse-btn{
  justify-content:center;
  padding:10px 0;
}
.console-shell.v5.sidebar-mini .console-nav.v5 a{
  grid-template-columns:1fr!important;
  justify-items:center;
  min-height:46px!important;
  padding:8px!important;
}
.console-shell.v5.sidebar-mini .console-nav.v5 a .nav-icon{
  width:34px!important;
  height:34px!important;
  font-size:15px;
}
.console-shell.v5.sidebar-mini .nav-section{
  border-radius:18px!important;
  padding-top:6px;
}
.console-shell.v5.sidebar-mini .nav-section-links,
.console-shell.v5.sidebar-mini .nav-section.collapsed .nav-section-links{
  padding:4px!important;
}
.console-shell.v5.sidebar-mini .console-nav.v5 a.active{
  box-shadow:inset 0 -3px 0 var(--gold), 0 10px 26px rgba(0,0,0,.14)!important;
}
.console-sidebar.v5{
  transition:width .22s ease, min-width .22s ease, max-width .22s ease;
}
.console-shell.v5{
  transition:grid-template-columns .22s ease;
}
.nav-section{
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015))!important;
}
.nav-section-toggle{
  background:linear-gradient(90deg,rgba(241,189,59,.08),transparent);
  border-radius:14px 14px 0 0;
}
.console-nav.v5 a.active .nav-icon{
  background:linear-gradient(135deg,rgba(241,189,59,.22),rgba(255,255,255,.045))!important;
  border-color:rgba(241,189,59,.28);
}
@media(max-width:1000px){
  .console-shell.v5.sidebar-mini{
    grid-template-columns:1fr!important;
  }
  .console-shell.v5.sidebar-mini .console-sidebar.v5{
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
  }
  .console-shell.v5.sidebar-mini .console-brand.v5 .brand > div:not(.logo),
  .console-shell.v5.sidebar-mini .console-user-pill,
  .console-shell.v5.sidebar-mini .nav-section-toggle span,
  .console-shell.v5.sidebar-mini .console-nav.v5 a strong,
  .console-shell.v5.sidebar-mini .console-nav.v5 a small,
  .console-shell.v5.sidebar-mini .console-nav.v5 a .nav-hotkey,
  .console-shell.v5.sidebar-mini .sidebar-collapse-btn span{
    display:initial!important;
  }
  .console-shell.v5.sidebar-mini .console-nav.v5 a{
    grid-template-columns:28px minmax(0,1fr) auto!important;
    justify-items:stretch;
  }
}


/* === BCS Admin v6.6 Section Collapse Fix === */

/* We do not use full sidebar mini mode anymore */
.sidebar-collapse-btn{
  display:none!important;
}

/* Section headers are clickable again */
.nav-section-toggle{
  cursor:pointer!important;
  pointer-events:auto!important;
  user-select:none;
}

.nav-section-toggle em{
  display:inline-flex!important;
  transition:transform .18s ease;
}

.nav-section.is-collapsed .nav-section-toggle em{
  transform:rotate(-90deg);
}

/* Proper section collapse */
.nav-section .nav-section-links{
  display:grid!important;
  max-height:900px!important;
  opacity:1!important;
  overflow:hidden!important;
  transition:max-height .24s ease, opacity .18s ease, padding .18s ease;
}

.nav-section.is-collapsed .nav-section-links{
  max-height:0!important;
  opacity:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Keep sidebar size stable and scroll untouched */
.console-shell.v5.sidebar-mini{
  grid-template-columns:315px minmax(0,1fr)!important;
}
.console-shell.v5.sidebar-mini .console-sidebar.v5{
  width:315px!important;
  min-width:315px!important;
  max-width:315px!important;
  padding:14px 12px 40px!important;
}
.console-shell.v5.sidebar-mini .console-brand.v5 .brand > div:not(.logo),
.console-shell.v5.sidebar-mini .console-user-pill,
.console-shell.v5.sidebar-mini .nav-section-toggle span,
.console-shell.v5.sidebar-mini .nav-section-toggle em,
.console-shell.v5.sidebar-mini .console-nav.v5 a strong,
.console-shell.v5.sidebar-mini .console-nav.v5 a small,
.console-shell.v5.sidebar-mini .console-nav.v5 a .nav-hotkey{
  display:initial!important;
}
.console-shell.v5.sidebar-mini .console-nav.v5 a{
  grid-template-columns:28px minmax(0,1fr) auto!important;
  justify-items:stretch!important;
}

/* More clear section slide look */
.nav-section{
  border-color:rgba(241,189,59,.14)!important;
}
.nav-section-toggle{
  background:linear-gradient(90deg,rgba(241,189,59,.10),rgba(255,255,255,.02))!important;
}
.nav-section.is-collapsed{
  border-color:rgba(255,255,255,.075)!important;
}
.nav-section.is-collapsed .nav-section-toggle{
  border-radius:16px!important;
}


/* === BCS Admin v6.7 Collapse Hotfix === */
.nav-section-toggle{
  cursor:pointer!important;
  pointer-events:auto!important;
}
.nav-section-toggle em{
  display:inline-flex!important;
  transition:transform .18s ease;
}
.nav-section.is-collapsed .nav-section-toggle em{
  transform:rotate(-90deg);
}
.nav-section .nav-section-links{
  display:grid!important;
  max-height:1000px!important;
  opacity:1!important;
  overflow:hidden!important;
  transition:max-height .24s ease, opacity .18s ease, padding .18s ease;
}
.nav-section.is-collapsed .nav-section-links{
  max-height:0!important;
  opacity:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}


/* === BCS Admin v6.8 Direct Section Toggle Fix === */
.nav-section-toggle{
  cursor:pointer!important;
  pointer-events:auto!important;
}
.nav-section-toggle em{
  display:inline-flex!important;
  transition:transform .18s ease;
}
.nav-section.is-collapsed .nav-section-toggle em{
  transform:rotate(-90deg);
}
.nav-section .nav-section-links{
  display:grid!important;
  max-height:1200px!important;
  opacity:1!important;
  overflow:hidden!important;
  transition:max-height .24s ease, opacity .18s ease, padding .18s ease;
}
.nav-section.is-collapsed .nav-section-links{
  max-height:0!important;
  opacity:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.nav-section.is-collapsed{
  border-color:rgba(255,255,255,.08)!important;
}


/* === BCS Admin v6.9 Reliable Section Collapse === */

/* Section toggle is now a div, not a button */
.nav-section-toggle{
  width:100%!important;
  border:0!important;
  outline:0!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  user-select:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:11px 12px!important;
  color:#f4f0df!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  font-size:11px!important;
  letter-spacing:.8px!important;
  background:linear-gradient(90deg,rgba(241,189,59,.10),rgba(255,255,255,.02))!important;
  border-radius:16px 16px 0 0!important;
}

.nav-section-toggle:hover{
  background:linear-gradient(90deg,rgba(241,189,59,.16),rgba(255,255,255,.03))!important;
}

.nav-section-toggle em{
  display:inline-flex!important;
  font-style:normal!important;
  color:var(--gold)!important;
  transition:transform .18s ease!important;
}

.nav-section.is-collapsed .nav-section-toggle{
  border-radius:16px!important;
}

.nav-section.is-collapsed .nav-section-toggle em{
  transform:rotate(-90deg)!important;
}

/* Reliable hide/show */
.nav-section .nav-section-links{
  display:grid!important;
  max-height:1400px!important;
  opacity:1!important;
  overflow:hidden!important;
  padding:0 8px 8px!important;
  transition:max-height .25s ease, opacity .18s ease, padding .18s ease!important;
}

.nav-section.is-collapsed .nav-section-links{
  max-height:0!important;
  opacity:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Remove old rules that visually disabled header */
.nav-section-toggle[disabled],
.nav-section-toggle.disabled{
  pointer-events:auto!important;
  opacity:1!important;
}


/* === BCS Admin v7.1 Analytics & Monitoring Foundation === */
.v71-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.v71-grid-2{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}
.v71-metric{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border-radius:18px;
  padding:18px;
}
.v71-metric small{
  display:block;
  color:var(--muted);
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}
.v71-metric b{
  display:block;
  font-size:34px;
  margin-top:8px;
  color:var(--gold);
}
.v71-chart{
  height:220px;
  display:flex;
  align-items:end;
  gap:10px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#0c1017;
}
.v71-chart i{
  flex:1;
  min-width:14px;
  border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,var(--gold),rgba(37,217,130,.35));
}
.v71-event{
  border:1px solid rgba(255,255,255,.08);
  border-left:3px solid var(--gold);
  border-radius:14px;
  padding:13px;
  background:#0c1017;
  margin-bottom:10px;
}
.v71-event.ok{border-left-color:var(--green)}
.v71-event.warning{border-left-color:var(--gold)}
.v71-event.critical{border-left-color:var(--red)}
.v71-badge{
  display:inline-flex;
  border:1px solid rgba(241,189,59,.25);
  color:var(--gold);
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}
.v71-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.v71-lane{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  border-radius:18px;
  padding:16px;
}
.v71-item{
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:13px;
  margin-bottom:10px;
}
.v71-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:13px;
  margin-bottom:10px;
}
.v71-check.done{
  opacity:.65;
}
@media(max-width:1100px){
  .v71-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v71-grid-2,.v71-board{grid-template-columns:1fr}
}
@media(max-width:650px){
  .v71-grid{grid-template-columns:1fr}
}


/* === BCS Admin v7.2 Cache + Module Visibility Fix === */
.nav-section-toggle{
  cursor:pointer!important;
  pointer-events:auto!important;
}
.nav-section-toggle em{
  display:inline-flex!important;
  transition:transform .18s ease!important;
}
.nav-section.is-collapsed .nav-section-toggle em{
  transform:rotate(-90deg)!important;
}
.nav-section .nav-section-links{
  display:grid!important;
  max-height:1600px!important;
  opacity:1!important;
  overflow:hidden!important;
  padding:0 8px 8px!important;
  transition:max-height .25s ease, opacity .18s ease, padding .18s ease!important;
}
.nav-section.is-collapsed .nav-section-links{
  max-height:0!important;
  opacity:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.v71-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.v71-grid-2{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}
.v71-metric{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border-radius:18px;
  padding:18px;
}
.v71-metric small{
  display:block;
  color:var(--muted);
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}
.v71-metric b{
  display:block;
  font-size:34px;
  margin-top:8px;
  color:var(--gold);
}
.v71-chart{
  height:220px;
  display:flex;
  align-items:end;
  gap:10px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#0c1017;
}
.v71-chart i{
  flex:1;
  min-width:14px;
  border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,var(--gold),rgba(37,217,130,.35));
}
.v71-event{
  border:1px solid rgba(255,255,255,.08);
  border-left:3px solid var(--gold);
  border-radius:14px;
  padding:13px;
  background:#0c1017;
  margin-bottom:10px;
}
.v71-event.ok{border-left-color:var(--green)}
.v71-event.warning{border-left-color:var(--gold)}
.v71-event.critical{border-left-color:var(--red)}
.v71-badge{
  display:inline-flex;
  border:1px solid rgba(241,189,59,.25);
  color:var(--gold);
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}
.v71-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.v71-lane{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  border-radius:18px;
  padding:16px;
}
.v71-item{
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:13px;
  margin-bottom:10px;
}
.v71-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:13px;
  margin-bottom:10px;
}
.v71-check.done{opacity:.65}
@media(max-width:1100px){
  .v71-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v71-grid-2,.v71-board{grid-template-columns:1fr}
}
@media(max-width:650px){
  .v71-grid{grid-template-columns:1fr}
}


/* === BCS Admin v7.3 Module Polish === */
.v73-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.v73-pill{
  display:inline-flex;
  border:1px solid rgba(241,189,59,.25);
  color:var(--gold);
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
}
.v73-table{
  width:100%;
  border-collapse:collapse;
}
.v73-table th,.v73-table td{
  border-bottom:1px solid rgba(255,255,255,.07);
  padding:12px 10px;
  text-align:left;
}
.v73-table th{
  color:var(--muted);
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.v73-status-ok{color:var(--green)}
.v73-status-warning{color:var(--gold)}
.v73-status-critical{color:var(--red)}


/* === BCS Admin v8.0 Dashboard Operations Upgrade === */
.dashboard-v8 .v8-hero{
  grid-template-columns:1.25fr .75fr!important;
  align-items:stretch;
}
.v8-hero h1{
  font-size:38px;
  margin:12px 0 10px;
}
.v8-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.v8-live-status{
  border:1px solid rgba(255,255,255,.09);
  background:#0c1017;
  border-radius:20px;
  padding:20px;
}
.v8-clock{
  font-size:32px;
  color:var(--gold);
  font-weight:950;
  letter-spacing:-.03em;
  margin-bottom:10px;
}
.v8-status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.8px;
}
.v8-status.ok{color:var(--green);background:rgba(37,217,130,.09);border:1px solid rgba(37,217,130,.25)}
.v8-status.critical{color:var(--red);background:rgba(255,88,116,.10);border:1px solid rgba(255,88,116,.25)}
.v8-action-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.v8-action-card{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border-radius:18px;
  padding:16px;
  color:var(--text);
  min-height:94px;
}
.v8-action-card span{
  font-size:22px;
}
.v8-action-card strong{
  display:block;
  margin:10px 0 4px;
  font-size:15px;
}
.v8-action-card small{
  color:var(--muted);
}
.v8-action-card:hover{
  border-color:rgba(241,189,59,.25);
  transform:translateY(-2px);
}
.v8-action-card.danger:hover{
  border-color:rgba(255,88,116,.28);
}
.v8-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.v8-metric-card{
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:18px;
  padding:18px;
}
.v8-metric-card small{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:950;
  letter-spacing:1.2px;
}
.v8-metric-card b{
  display:block;
  font-size:34px;
  color:var(--gold);
  margin:8px 0;
}
.v8-metric-card p{
  color:var(--muted);
  min-height:40px;
}
.v8-card-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.v8-card-actions a{
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:6px 9px;
  color:var(--text);
  font-size:12px;
  font-weight:900;
}
.v8-card-actions a:hover{
  color:var(--gold);
  border-color:rgba(241,189,59,.25);
}
.v8-grid-main{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:16px;
  margin-bottom:18px;
}
.v8-grid-main.compact{
  grid-template-columns:1fr 1fr;
}
.v8-table-wrap{
  overflow:auto;
}
.v8-log-table td,.v8-log-table th{
  white-space:nowrap;
}
.v8-sev{
  border-radius:999px;
  padding:4px 7px;
  font-size:10px;
  font-weight:950;
}
.v8-sev.ok{color:var(--green);background:rgba(37,217,130,.08)}
.v8-sev.warning{color:var(--gold);background:rgba(241,189,59,.08)}
.v8-sev.critical{color:var(--red);background:rgba(255,88,116,.08)}
.v8-sev.info{color:#9fb0c9;background:rgba(255,255,255,.06)}
#pinnedNote{
  width:100%;
  min-height:170px!important;
}
.v8-note-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}
.v8-note-info{
  margin-top:12px;
  padding:12px;
  border:1px solid rgba(241,189,59,.20);
  border-radius:14px;
  color:var(--muted);
  background:rgba(241,189,59,.05);
}
.v8-command-input{
  width:100%;
  height:46px;
}
.v8-suggestions{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.v8-suggestions a{
  display:grid;
  gap:3px;
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:12px;
  color:var(--text);
}
.v8-suggestions a:hover{
  border-color:rgba(241,189,59,.25);
}
.v8-suggestions small{
  color:var(--muted);
}
.v8-probe-list{
  display:grid;
  gap:10px;
}
.v8-probe-list div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:12px;
}
.v8-feed{
  display:grid;
  gap:10px;
}
.v8-feed-item{
  display:grid;
  grid-template-columns:70px 130px 1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid rgba(255,255,255,.08);
  background:#0c1017;
  border-radius:14px;
  padding:12px;
}
.v8-feed-item span{
  color:var(--gold);
  font-weight:900;
}
.v8-feed-item p{
  margin:0;
  color:var(--muted);
}
.v8-feed-item em{
  font-style:normal;
  color:var(--green);
  font-size:11px;
  font-weight:900;
}
@media(max-width:1300px){
  .v8-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v8-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:950px){
  .dashboard-v8 .v8-hero,
  .v8-grid-main,
  .v8-grid-main.compact{grid-template-columns:1fr!important}
  .v8-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v8-feed-item{grid-template-columns:1fr}
}
@media(max-width:560px){
  .v8-action-grid,.v8-metrics{grid-template-columns:1fr}
}


/* === BCS Admin v8.1 Visual Dashboard Rebuild === */
body.module-page.v81-body{
  background:#070b11!important;
}
.dashboard-v81{
  max-width:1620px!important;
  padding:22px 26px 80px!important;
}
.v81-hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border-radius:18px;
  padding:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.18);
}
.v81-welcome span{
  color:#aeb8c8;
}
.v81-welcome h1{
  margin:8px 0 8px;
  font-size:34px;
  letter-spacing:-.03em;
}
.v81-welcome h1 em{
  display:inline-flex;
  font-style:normal;
  font-size:12px;
  color:#25d982;
  background:rgba(37,217,130,.10);
  border:1px solid rgba(37,217,130,.25);
  border-radius:7px;
  padding:5px 8px;
  vertical-align:middle;
}
.v81-welcome p{color:#aeb8c8;margin:0 0 16px}
.v81-system-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.v81-system-meta div{
  border:1px solid rgba(255,255,255,.08);
  background:#0b1018;
  border-radius:12px;
  padding:12px;
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:10px;
}
.v81-system-meta i{grid-row:1/3;color:#f2bd3d;font-style:normal;font-size:18px}
.v81-system-meta small{color:#8692a8}
.v81-system-meta b{font-size:15px}
.v81-system-meta .green{color:#25d982}
.v81-health{
  border:1px solid rgba(255,255,255,.08);
  background:#0a0f17;
  border-radius:16px;
  padding:18px;
  display:grid;
  grid-template-columns:180px 1fr 48px;
  align-items:center;
  gap:16px;
}
.v81-health h2{font-size:16px;margin:0 0 12px}
.v81-health strong{font-size:32px;color:#25d982}
.v81-health p{color:#aeb8c8;margin:6px 0 0}
.v81-health svg{height:86px;width:100%}
.v81-health polyline{fill:none;stroke:#25d982;stroke-width:3;filter:drop-shadow(0 0 8px rgba(37,217,130,.2))}
.v81-health > span{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#25d982;color:#07100b;font-weight:950;font-size:22px;
}
.v81-section-label{
  margin:16px 0 8px;
  color:#aeb8c8;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
}
.v81-actions{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.v81-action{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:12px;
  align-items:center;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  border-radius:14px;
  padding:16px;
  color:#eef3fb;
}
.v81-action i{
  width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:22px;background:rgba(255,255,255,.06);
}
.v81-action strong{font-size:15px}
.v81-action small{display:block;color:#8c98aa;margin-top:4px}
.v81-action b{
  grid-column:2;
  justify-self:start;
  border:1px solid currentColor;
  border-radius:7px;
  padding:5px 10px;
  font-size:12px;
}
.v81-action.red{--c:#ff5269}.v81-action.amber{--c:#f0a91f}.v81-action.purple{--c:#b06cff}.v81-action.blue{--c:#19a8ff}.v81-action.green{--c:#25d982}.v81-action.cyan{--c:#00c7ff}
.v81-action i,.v81-action b{color:var(--c)}
.v81-action:hover{border-color:color-mix(in srgb,var(--c) 45%,transparent);transform:translateY(-2px)}
.v81-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.v81-metric{
  border:1px solid rgba(255,255,255,.09);
  background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.06),transparent 32%),#0b1018;
  border-radius:14px;
  padding:18px;
  min-height:142px;
  position:relative;
  overflow:hidden;
}
.v81-metric small{color:#aeb8c8;font-weight:900;letter-spacing:1px}
.v81-metric strong{display:block;font-size:32px;margin:8px 0;color:#fff}
.v81-metric p{color:#aeb8c8;margin:0}
.v81-metric i{position:absolute;right:20px;top:22px;font-size:34px;font-style:normal;opacity:.7}
.v81-metric footer{
  display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:18px;color:#8d98aa;font-size:13px;border-top:1px solid rgba(255,255,255,.07);padding-top:12px;
}
.v81-metric footer a{color:#fff;background:rgba(255,255,255,.07);border-radius:7px;padding:6px 10px;font-weight:900}
.v81-metric.red{border-color:rgba(255,82,105,.35)}.v81-metric.amber{border-color:rgba(240,169,31,.35)}.v81-metric.purple{border-color:rgba(176,108,255,.35)}.v81-metric.blue{border-color:rgba(25,168,255,.35)}.v81-metric.green{border-color:rgba(37,217,130,.35)}
.v81-metric.red i{color:#ff5269}.v81-metric.amber i{color:#f0a91f}.v81-metric.purple i{color:#b06cff}.v81-metric.blue i{color:#19a8ff}.v81-metric.green i{color:#25d982}
.v81-row-main{
  display:grid;
  grid-template-columns:1.35fr .65fr .85fr;
  gap:14px;
}
.v81-bottom{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}
.v81-card{
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  border-radius:14px;
  padding:16px;
}
.v81-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.v81-card h2{font-size:16px;margin:0}
.v81-card header a,.v81-card header button{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:7px 10px;font-weight:900;
}
.v81-table-wrap{overflow:auto}
.v81-card table{width:100%;border-collapse:collapse}
.v81-card th,.v81-card td{border-bottom:1px solid rgba(255,255,255,.06);padding:10px 8px;text-align:left;white-space:nowrap}
.v81-card th{color:#8490a3;font-size:11px;text-transform:uppercase;letter-spacing:1px}
.gold{color:#f2bd3d}
.v81-status{border-radius:7px;padding:4px 8px;font-size:11px;font-weight:900}
.v81-status.ok{color:#25d982;background:rgba(37,217,130,.10)}
.v81-status.warning{color:#f0a91f;background:rgba(240,169,31,.10)}
.v81-status.critical{color:#ff5269;background:rgba(255,82,105,.10)}
.v81-card.notes textarea{
  width:100%;min-height:145px!important;background:#070b11;border:1px solid rgba(255,255,255,.09);border-radius:12px;color:#eef3fb;padding:14px;
}
.v81-card.notes form div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.v81-card.notes small{color:#8d98aa}
.v81-card.notes .save{background:#f2bd3d;color:#111;border:0;border-radius:9px;padding:9px 13px;font-weight:950}
.v81-note-info{padding:10px;border:1px solid rgba(242,189,61,.2);border-radius:10px;color:#aeb8c8;background:rgba(242,189,61,.06)}
.probe-list{display:grid;gap:8px}
.probe-list div{display:grid;grid-template-columns:28px 1fr auto 56px;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);padding:9px 0}
.probe-list i{font-style:normal}.probe-list span{color:#25d982;background:rgba(37,217,130,.09);border:1px solid rgba(37,217,130,.18);border-radius:7px;padding:4px 8px;font-weight:900;font-size:11px}.probe-list em{color:#8d98aa;font-style:normal;text-align:right}
.commands input{width:100%;height:42px;border:1px solid rgba(255,255,255,.09);background:#070b11;color:#eef3fb;border-radius:10px;padding:0 12px;margin-bottom:12px}
.commands > small{color:#8d98aa;font-weight:900}
.cmd-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.cmd-grid a{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);background:#0b1018;border-radius:12px;padding:10px;color:#eef3fb}
.cmd-grid i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;background:rgba(255,255,255,.06);border-radius:9px}.cmd-grid small{display:block;color:#8d98aa}.cmd-grid em{font-style:normal;color:#aeb8c8}
.feed-item{display:grid;grid-template-columns:58px 110px 1fr auto;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 0}
.feed-item time{color:#fff;font-weight:900}.feed-item p{margin:0;color:#aeb8c8}.feed-item span{border:1px solid rgba(25,168,255,.25);color:#19a8ff;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:900}
.v81-footer{display:flex;justify-content:space-between;color:#7e8899;margin-top:18px;font-size:13px}
@media(max-width:1400px){
  .v81-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v81-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v81-row-main,.v81-bottom{grid-template-columns:1fr}
}
@media(max-width:900px){
  .v81-hero{grid-template-columns:1fr}
  .v81-health{grid-template-columns:1fr}
  .v81-system-meta,.v81-actions,.v81-metrics,.cmd-grid{grid-template-columns:1fr}
  .feed-item{grid-template-columns:1fr}
}


/* === BCS Admin v9.0 Concept Match Dashboard === */
body.module-page.v90-body{
  background:#071018!important;
  color:#f3f6fb!important;
}
.v90-dashboard{
  max-width:1680px;
  margin:0 auto;
  padding:18px 22px 64px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.v90-dashboard *{box-sizing:border-box}
.v90-hero{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(21,31,44,.92),rgba(10,16,24,.92));
  padding:18px;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.v90-welcome{color:#a8b3c5}
.v90-hero h1{
  margin:8px 0 8px;
  font-size:32px;
  line-height:1;
  letter-spacing:-.035em;
}
.v90-hero h1 em{
  font-style:normal;
  font-size:12px;
  color:#2ee58a;
  background:rgba(46,229,138,.12);
  border:1px solid rgba(46,229,138,.3);
  border-radius:7px;
  padding:5px 8px;
  vertical-align:middle;
}
.v90-hero p{margin:0;color:#a8b3c5}
.v90-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.v90-meta div{
  display:grid;
  grid-template-columns:36px 1fr;
  column-gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.v90-meta i{
  grid-row:1/3;
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  color:#f2bd3d;
  font-style:normal;
}
.v90-meta small{color:#8e9aad}
.v90-meta b{font-size:14px}
.v90-meta .green{color:#2ee58a}
.v90-health{
  display:grid;
  grid-template-columns:180px 1fr 54px;
  align-items:center;
  gap:18px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:16px;
  background:radial-gradient(circle at 80% 20%,rgba(46,229,138,.09),transparent 40%),rgba(8,14,22,.78);
  padding:18px 20px;
}
.v90-health h2{margin:0 0 10px;font-size:17px}
.v90-health strong{font-size:34px;color:#2ee58a}
.v90-health p{color:#a8b3c5;margin:4px 0 0}
.v90-health svg{width:100%;height:92px}
.v90-health polyline{fill:none;stroke:url(#v90Line);stroke-width:3;filter:drop-shadow(0 0 10px rgba(46,229,138,.25))}
.v90-health-check{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#2ee58a;color:#071018;font-size:24px;font-weight:950}
.v90-label{margin:16px 0 8px;color:#a8b3c5;font-size:12px;font-weight:900;letter-spacing:1px}
.v90-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.v90-action{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:12px;
  align-items:center;
  min-height:102px;
  padding:15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  color:#eef4fb;
}
.v90-action i{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:23px;background:rgba(255,255,255,.055)}
.v90-action strong{font-size:15px;display:block}.v90-action small{display:block;color:#8e9aad;margin:4px 0 8px}.v90-action b{display:inline-flex;border:1px solid currentColor;border-radius:7px;padding:5px 10px;font-size:12px}
.v90-action.red{--c:#ff5269}.v90-action.amber{--c:#f2a51d}.v90-action.purple{--c:#b36cff}.v90-action.blue{--c:#1aa7ff}.v90-action.green{--c:#2ee58a}.v90-action.cyan{--c:#00c9ff}
.v90-action i,.v90-action b{color:var(--c)}.v90-action:hover{border-color:color-mix(in srgb,var(--c) 45%,transparent);transform:translateY(-2px)}
.v90-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}
.v90-metric{
  min-height:142px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  padding:17px;
  background:radial-gradient(circle at 85% 24%,rgba(255,255,255,.07),transparent 34%),rgba(11,17,26,.86);
}
.v90-metric small{color:#a8b3c5;font-size:12px;letter-spacing:1px;font-weight:900}.v90-metric strong{display:block;font-size:32px;margin:7px 0;color:#fff}.v90-metric p{margin:0;color:#a8b3c5}
.v90-metric i{position:absolute;right:20px;top:24px;font-size:36px;font-style:normal;opacity:.72}
.v90-metric footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid rgba(255,255,255,.065);padding-top:11px;margin-top:17px;color:#8e9aad;font-size:13px}
.v90-metric footer a{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.07);border-radius:8px;color:#fff;padding:6px 10px;font-weight:900}
.v90-metric.red{border-color:rgba(255,82,105,.38)}.v90-metric.amber{border-color:rgba(242,165,29,.38)}.v90-metric.purple{border-color:rgba(179,108,255,.38)}.v90-metric.blue{border-color:rgba(26,167,255,.38)}.v90-metric.green{border-color:rgba(46,229,138,.38)}
.v90-metric.red i{color:#ff5269}.v90-metric.amber i{color:#f2a51d}.v90-metric.purple i{color:#b36cff}.v90-metric.blue i{color:#1aa7ff}.v90-metric.green i{color:#2ee58a}
.v90-main-row{display:grid;grid-template-columns:1.25fr .72fr .82fr;gap:14px}
.v90-bottom{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.v90-panel{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.016));padding:16px}
.v90-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.v90-panel h2{margin:0;font-size:16px}.v90-panel header a,.v90-panel header button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.075);color:#fff;border-radius:8px;padding:7px 10px;font-weight:900}
.v90-table-wrap{overflow:auto}.v90-panel table{width:100%;border-collapse:collapse}.v90-panel th,.v90-panel td{border-bottom:1px solid rgba(255,255,255,.06);padding:10px 8px;text-align:left;white-space:nowrap}.v90-panel th{color:#7f8b9f;text-transform:uppercase;font-size:11px;letter-spacing:1px}.v90-panel td b{color:#f2bd3d}
.v90-status{border-radius:7px;padding:4px 8px;font-size:11px;font-weight:900}.v90-status.success{color:#2ee58a;background:rgba(46,229,138,.12)}.v90-status.warning{color:#f2a51d;background:rgba(242,165,29,.12)}
.v90-notes textarea{width:100%;min-height:148px!important;background:#071018;border:1px solid rgba(255,255,255,.09);border-radius:11px;color:#eef4fb;padding:14px}.v90-note-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.v90-note-footer small{color:#8e9aad}.v90-note-footer button{background:#f2bd3d;color:#111;border:0;border-radius:9px;padding:9px 13px;font-weight:950}.v90-notes p{color:#a8b3c5;border:1px solid rgba(242,189,61,.2);border-radius:10px;background:rgba(242,189,61,.06);padding:10px}
.v90-probe-list{display:grid;gap:8px}.v90-probe-list div{display:grid;grid-template-columns:28px 1fr auto 56px;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);padding:9px 0}.v90-probe-list i{font-style:normal}.v90-probe-list span{color:#2ee58a;background:rgba(46,229,138,.1);border:1px solid rgba(46,229,138,.2);border-radius:7px;padding:4px 8px;font-weight:950;font-size:11px}.v90-probe-list em{font-style:normal;color:#8e9aad;text-align:right}
.v90-command input{width:100%;height:42px;background:#071018;border:1px solid rgba(255,255,255,.09);border-radius:10px;color:#eef4fb;padding:0 12px;margin-bottom:12px}.v90-command > small{color:#8e9aad;font-weight:900}.v90-command kbd{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);border-radius:7px;padding:5px 8px;color:#a8b3c5}
#v90CommandGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}#v90CommandGrid a{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);background:rgba(11,17,26,.86);border-radius:12px;padding:10px;color:#eef4fb}#v90CommandGrid i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;background:rgba(255,255,255,.06);border-radius:9px}#v90CommandGrid small{display:block;color:#8e9aad}#v90CommandGrid em{font-style:normal;color:#a8b3c5}
.v90-feed-item{display:grid;grid-template-columns:60px 120px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 0}.v90-feed-item time{font-weight:900}.v90-feed-item p{margin:0;color:#a8b3c5}.v90-feed-item span{border:1px solid rgba(26,167,255,.25);border-radius:7px;color:#1aa7ff;padding:4px 8px;font-size:11px;font-weight:900}
.v90-footer{display:flex;justify-content:space-between;gap:16px;color:#7f8b9f;margin-top:18px;font-size:13px}
@media(max-width:1500px){.v90-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.v90-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v90-main-row,.v90-bottom{grid-template-columns:1fr}}
@media(max-width:900px){.v90-dashboard{padding:14px}.v90-hero,.v90-health,.v90-meta,.v90-actions,.v90-metrics,#v90CommandGrid{grid-template-columns:1fr}.v90-feed-item{grid-template-columns:1fr}.v90-footer{display:grid}}


/* === BCS Admin v10.0 Total Concept Rework === */
body.v100-console-body{margin:0;background:#071018;color:#edf4fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.v100-shell{display:grid;grid-template-columns:278px minmax(0,1fr);height:100vh;background:radial-gradient(circle at 70% 0%,rgba(37,217,130,.05),transparent 35%),#071018}
.v100-sidebar{background:linear-gradient(180deg,#101923,#0a111a);border-right:1px solid rgba(255,255,255,.08);padding:16px;display:flex;flex-direction:column;gap:14px;overflow-y:auto}
.v100-brand{display:flex;align-items:center;gap:12px}.v100-logo{width:54px;height:54px;border:2px solid #f2bd3d;border-radius:16px;display:grid;place-items:center;color:#f2bd3d;font-weight:950;font-size:19px}.v100-brand h2{margin:0;font-size:21px}.v100-brand p{margin:4px 0 0;color:#9ca8b8}
.v100-profile{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px}.v100-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1d8b1;color:#111;font-weight:950}.v100-profile strong{display:block}.v100-profile small{color:#f2bd3d;font-weight:900}.v100-profile span{color:#f2bd3d;background:rgba(242,189,61,.12);border:1px solid rgba(242,189,61,.25);border-radius:8px;padding:5px 7px;font-size:11px;font-weight:950}
.v100-nav{display:grid;gap:18px}.v100-section-title{display:flex;justify-content:space-between;color:#a9b4c3;font-size:12px;font-weight:900;letter-spacing:.8px;padding:0 6px;cursor:pointer}.v100-links{display:grid;gap:5px;margin-top:8px;overflow:hidden;max-height:620px;transition:max-height .22s ease,opacity .18s ease}.v100-section.closed .v100-links{max-height:0;opacity:0}.v100-section.closed .v100-section-title em{transform:rotate(-90deg)}
.v100-links a{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px;color:#dfe7f2;text-decoration:none;border-radius:9px;padding:9px 10px}.v100-links a i{font-style:normal;color:#aeb8c6}.v100-links a:hover,.v100-links a.active{background:rgba(255,255,255,.07);color:#fff}.v100-links a.active{box-shadow:inset 3px 0 0 #f2bd3d;color:#f2bd3d}
.v100-side-footer{margin-top:auto;display:grid;gap:14px}.v100-system-status,.v100-platform-badge{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035);padding:14px}.v100-system-status small{font-weight:900;color:#c8d2df}.v100-system-status small b{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2ee58a;margin-left:4px}.v100-system-status strong{display:block;color:#2ee58a;margin:8px 0}.v100-system-status p{color:#a8b3c3;margin:0}.v100-platform-badge{display:flex;justify-content:space-between;align-items:center}.v100-platform-badge b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#2ee58a;color:#071018}
.v100-main{min-width:0;display:grid;grid-template-rows:64px minmax(0,1fr);height:100vh}.v100-topbar{display:grid;grid-template-columns:310px minmax(320px,1fr) auto;gap:18px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08);padding:0 18px;background:#08111a}.v100-top-left{display:flex;align-items:center;gap:14px}.v100-top-left button{width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:22px}.v100-top-left h1{margin:0;font-size:23px}.v100-top-left p{display:inline;margin-left:8px;color:#99a6b7}
.v100-command{height:40px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#070d15;display:grid;grid-template-columns:32px 1fr auto auto;align-items:center;padding:0 8px}.v100-command input{background:transparent;border:0;color:#fff;outline:0}.v100-command kbd{border:1px solid rgba(255,255,255,.10);border-radius:7px;color:#a8b3c4;padding:4px 8px}.v100-command button{margin-left:8px;border:0;border-radius:8px;background:#1d2735;color:#fff;padding:7px 10px;font-weight:900}
.v100-top-actions{display:flex;align-items:center;gap:10px}.v100-top-actions button{position:relative;border:0;background:transparent;color:#dce6f2;font-size:18px}.v100-top-actions button em{position:absolute;top:-6px;right:-6px;background:#f2a51d;color:#111;border-radius:50%;font-size:10px;padding:2px 5px}.v100-date{border-left:1px solid rgba(255,255,255,.1);padding-left:12px;display:grid;color:#fff}.v100-date span{color:#a8b3c4}.v100-live{color:#2ee58a;border:1px solid rgba(46,229,138,.25);background:rgba(46,229,138,.08);border-radius:7px;padding:7px 10px;font-weight:900}.v100-platform,.v100-logout{border-radius:9px;padding:9px 12px;color:#fff;text-decoration:none;font-weight:900}.v100-platform{background:#1b2431}.v100-logout{background:#48202a;color:#ff9aaa}
.v100-frame-wrap{min-height:0;overflow:hidden}.v100-frame{width:100%;height:100%;border:0;background:#071018}
body.v100-dashboard-body{margin:0;background:#071018;color:#eef4fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.v100-dashboard{max-width:1680px;margin:0 auto;padding:18px 24px 34px}.v100-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}.v100-hero-card,.v100-health-card,.v100-panel,.v100-quick a,.v100-metric-grid article{border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(18,29,43,.92),rgba(10,16,24,.92));border-radius:14px;box-shadow:0 18px 58px rgba(0,0,0,.18)}.v100-hero-card{padding:22px}.v100-hero-card>span{color:#a8b3c4}.v100-hero-card h1{font-size:31px;margin:8px 0}.v100-hero-card h1 em{font-style:normal;color:#2ee58a;background:rgba(46,229,138,.1);border:1px solid rgba(46,229,138,.24);border-radius:7px;font-size:12px;padding:5px 8px}.v100-hero-card p{color:#a8b3c4;margin:0}.v100-meta-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.v100-meta-row div{display:grid;grid-template-columns:34px 1fr;column-gap:10px;border-right:1px solid rgba(255,255,255,.08)}.v100-meta-row i{grid-row:1/3;width:32px;height:32px;border:1px solid rgba(255,255,255,.1);border-radius:10px;display:grid;place-items:center;font-style:normal;color:#f2bd3d}.v100-meta-row small{color:#8e9aad}.v100-meta-row b{font-size:14px;color:#fff}.v100-meta-row div:last-child b{color:#2ee58a}
.v100-health-card{display:grid;grid-template-columns:190px 1fr 54px;align-items:center;padding:20px}.v100-health-card h2{margin:0 0 10px}.v100-health-card strong{font-size:34px;color:#2ee58a}.v100-health-card p{color:#a8b3c4}.v100-health-card svg{height:112px;width:100%}.v100-health-card polyline{fill:none;stroke:url(#greenLine);stroke-width:3}.v100-health-card>b{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#2ee58a;color:#071018;font-size:26px}
.v100-label{margin:16px 0 8px;color:#a8b3c4;font-size:12px;font-weight:900}.v100-quick{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.v100-quick a{display:grid;grid-template-columns:54px 1fr;gap:12px;padding:15px;color:#fff;text-decoration:none}.v100-quick i{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:23px;background:rgba(255,255,255,.06)}.v100-quick strong{display:block}.v100-quick small{display:block;color:#8e9aad;margin:5px 0}.v100-quick span{border:1px solid currentColor;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:900}.red{--c:#ff5269}.amber{--c:#f2a51d}.purple{--c:#b36cff}.blue{--c:#1aa7ff}.green{--c:#2ee58a}.cyan{--c:#00c9ff}.v100-quick .red i,.v100-quick .red span{color:#ff5269}.v100-quick .amber i,.v100-quick .amber span{color:#f2a51d}.v100-quick .purple i,.v100-quick .purple span{color:#b36cff}.v100-quick .blue i,.v100-quick .blue span{color:#1aa7ff}.v100-quick .green i,.v100-quick .green span{color:#2ee58a}.v100-quick .cyan i,.v100-quick .cyan span{color:#00c9ff}
.v100-metric-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}.v100-metric-grid article{position:relative;min-height:142px;padding:18px;overflow:hidden}.v100-metric-grid small{color:#a8b3c4;font-weight:900}.v100-metric-grid strong{font-size:34px;display:block;margin:7px 0}.v100-metric-grid p{color:#a8b3c4;margin:0}.v100-metric-grid i{position:absolute;right:20px;top:20px;font-size:36px;font-style:normal;color:var(--c)}.v100-metric-grid footer{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.06);margin-top:18px;padding-top:12px;color:#8e9aad}.v100-metric-grid a{background:rgba(255,255,255,.08);border-radius:7px;padding:6px 10px;color:#fff;text-decoration:none;font-weight:900}
.v100-mid-grid{display:grid;grid-template-columns:1.25fr .72fr .82fr;gap:14px}.v100-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.v100-panel{padding:16px}.v100-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.v100-panel h2{margin:0;font-size:16px}.v100-panel header a,.v100-panel header button{border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#fff;padding:7px 10px;font-weight:900}.v100-logs-panel{overflow:auto}.v100-logs-panel table{width:100%;border-collapse:collapse}.v100-logs-panel th,.v100-logs-panel td{border-bottom:1px solid rgba(255,255,255,.06);padding:10px 8px;text-align:left;white-space:nowrap}.v100-logs-panel th{font-size:11px;color:#8794a8;text-transform:uppercase}.v100-logs-panel td b{color:#f2bd3d}.v100-logs-panel td span{color:#2ee58a;background:rgba(46,229,138,.1);border-radius:7px;padding:4px 8px;font-weight:900;font-size:11px}
.v100-note-panel textarea{width:100%;min-height:150px;background:#071018;border:1px solid rgba(255,255,255,.09);border-radius:10px;color:#fff;padding:12px}.v100-note-panel form div{display:flex;justify-content:space-between;margin-top:10px}.v100-note-panel small{color:#8e9aad}.v100-note-panel form button{border:0;border-radius:8px;background:#f2bd3d;color:#111;padding:8px 12px;font-weight:950}.v100-note-panel p{color:#a8b3c4;background:rgba(242,189,61,.06);border:1px solid rgba(242,189,61,.2);border-radius:10px;padding:10px}
.v100-probe-list{display:grid;gap:8px}.v100-probe-list div{display:grid;grid-template-columns:28px 1fr auto 56px;gap:10px;align-items:center;border-bottom:1px solid rgba(255,255,255,.06);padding:9px 0}.v100-probe-list i{font-style:normal}.v100-probe-list span{color:#2ee58a;background:rgba(46,229,138,.1);border-radius:7px;padding:4px 8px;font-weight:900}.v100-probe-list em{font-style:normal;color:#8e9aad;text-align:right}
.v100-command-panel input{width:100%;height:42px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#071018;color:#fff;padding:0 12px;margin-bottom:12px}.v100-command-panel>small{color:#8e9aad;font-weight:900}.v100-command-panel kbd{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:7px;color:#a8b3c4;padding:5px 8px}#cmdGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}#cmdGrid a{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;color:#fff;text-decoration:none;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:10px;padding:10px}#cmdGrid i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.06)}#cmdGrid small{display:block;color:#8e9aad}#cmdGrid em{font-style:normal;color:#a8b3c4}
.feed{display:grid;grid-template-columns:60px 110px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 0}.feed time{font-weight:900}.feed p{margin:0;color:#a8b3c4}.feed span{color:#1aa7ff;border:1px solid rgba(26,167,255,.25);border-radius:7px;padding:4px 8px;font-size:11px;font-weight:900}.v100-dash-footer{display:flex;justify-content:space-between;color:#7f8b9f;margin-top:18px;font-size:13px}
@media(max-width:1500px){.v100-topbar{grid-template-columns:250px 1fr}.v100-top-actions{display:none}.v100-quick{grid-template-columns:repeat(3,1fr)}.v100-metric-grid{grid-template-columns:repeat(2,1fr)}.v100-mid-grid,.v100-bottom-grid{grid-template-columns:1fr}}
@media(max-width:980px){.v100-shell{grid-template-columns:1fr}.v100-sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:280px;transform:translateX(-100%);transition:.2s}.v100-sidebar.open{transform:translateX(0)}.v100-topbar{grid-template-columns:1fr}.v100-command{display:none}.v100-hero-grid,.v100-health-card,.v100-meta-row,.v100-quick,.v100-metric-grid,#cmdGrid{grid-template-columns:1fr}.feed{grid-template-columns:1fr}.v100-dash-footer{display:grid}}


/* === BCS v10.1 Bug Report Center === */
.bug-card{border-left:3px solid var(--gold)}
.bug-card.low{border-left-color:#8fa3ff}
.bug-card.medium{border-left-color:var(--gold)}
.bug-card.high{border-left-color:#ff9f43}
.bug-card.critical{border-left-color:var(--red)}
.bug-card details{margin:10px 0;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px;background:rgba(255,255,255,.025)}
.bug-card summary{cursor:pointer;font-weight:900;color:var(--gold)}



/* === BCS v10.2 Bug Report Center Polish === */



/* === BCS Restored Beta System v10.6.1 === */
.bug-card{border-left:3px solid var(--gold)}
.bug-card.low{border-left-color:#8fa3ff}
.bug-card.medium{border-left-color:var(--gold)}
.bug-card.high{border-left-color:#ff9f43}
.bug-card.critical{border-left-color:var(--red)}
.bug-card details{margin:10px 0;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px;background:rgba(255,255,255,.025)}
.bug-card summary{cursor:pointer;font-weight:900;color:var(--gold)}





