/* Phase 95: admin dark dashboard system, converted from approved mockup. */
html.admin-ui-active, html.admin-ui-active body.admin-shell-body{
  background:#07111f!important; color:#e5eefc!important; color-scheme:dark!important;
}
html.admin-ui-active body.admin-shell-body .main-container{background:#07111f!important;min-height:100vh!important;}
html.admin-ui-active .admin-layout-shell,
html.admin-ui-active .admin-dashboard-v67,
html.admin-ui-active .admin-panel-page,
html.admin-ui-active .admin-page,
html.admin-ui-active .admin-module,
html.admin-ui-active main.admin-layout-shell__content{
  background:radial-gradient(circle at top left,rgba(38,92,201,.16),transparent 32%),#07111f!important;
  color:#e5eefc!important;
}
html.admin-ui-active .admin-layout-shell{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;min-height:100vh!important;}
html.admin-ui-active .admin-layout-shell__nav{position:sticky!important;top:0!important;height:100vh!important;z-index:50!important;}
html.admin-ui-active .admin-layout-shell__content{padding:24px 28px 32px!important;overflow-x:hidden!important;}
html.admin-ui-active .admin-layout-shell__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 22px!important;color:#f8fbff!important;}
html.admin-ui-active .admin-layout-shell__head h1{font-size:26px!important;font-weight:850!important;letter-spacing:-.03em!important;color:#fff!important;margin:0!important;}
html.admin-ui-active .panel-kicker-v67{color:#91a4c3!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-size:12px!important;font-weight:800!important;}
html.admin-ui-active .admin-sidebar{width:280px!important;height:100vh!important;position:fixed!important;left:0!important;top:0!important;background:#081322!important;border-right:1px solid rgba(148,163,184,.16)!important;color:#eaf1ff!important;padding:18px 16px!important;display:flex!important;flex-direction:column!important;gap:14px!important;overflow:hidden!important;box-shadow:24px 0 60px rgba(0,0,0,.24)!important;}
html.admin-ui-active .admin-sidebar__header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding-bottom:16px!important;border-bottom:1px solid rgba(148,163,184,.16)!important;}
html.admin-ui-active .admin-sidebar__brand{display:flex!important;align-items:center!important;gap:12px!important;color:#fff!important;text-decoration:none!important;font-weight:850!important;font-size:18px!important;}
html.admin-ui-active .admin-sidebar__brand span{width:42px!important;height:42px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#2d7dff,#19c5dd)!important;color:#fff!important;box-shadow:0 12px 28px rgba(45,125,255,.28)!important;}
html.admin-ui-active .admin-sidebar__search{display:flex!important;align-items:center!important;gap:10px!important;background:#0f1c2d!important;border:1px solid rgba(148,163,184,.18)!important;border-radius:10px!important;padding:10px 12px!important;color:#91a4c3!important;margin:0!important;}
html.admin-ui-active .admin-sidebar__search input{background:transparent!important;border:0!important;outline:0!important;color:#f8fbff!important;width:100%!important;font-size:14px!important;box-shadow:none!important;}
html.admin-ui-active .admin-sidebar__search input::placeholder{color:#91a4c3!important;opacity:1!important;}
html.admin-ui-active .admin-sidebar__current{display:none!important;}
html.admin-ui-active .admin-sidebar__nav{overflow-y:auto!important;overflow-x:hidden!important;padding-right:4px!important;}
html.admin-ui-active .admin-sidebar__nav::-webkit-scrollbar{width:6px!important} html.admin-ui-active .admin-sidebar__nav::-webkit-scrollbar-thumb{background:#31445f!important;border-radius:99px!important;}
html.admin-ui-active .admin-sidebar__group{margin-bottom:16px!important;}
html.admin-ui-active .admin-sidebar__group-toggle{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:transparent!important;border:0!important;color:#91a4c3!important;text-transform:uppercase!important;letter-spacing:.12em!important;font-size:11px!important;font-weight:850!important;padding:4px 2px 8px!important;}
html.admin-ui-active .admin-sidebar__links{display:flex!important;flex-direction:column!important;gap:3px!important;}
html.admin-ui-active .admin-sidebar__link{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:7px 10px!important;border-radius:9px!important;color:#dbe8fb!important;text-decoration:none!important;border:1px solid transparent!important;position:relative!important;}
html.admin-ui-active .admin-sidebar__link i{width:26px!important;height:26px!important;border-radius:8px!important;display:grid!important;place-items:center!important;background:rgba(148,163,184,.10)!important;color:#cfe0ff!important;font-size:13px!important;}
html.admin-ui-active .admin-sidebar__link strong{color:#f5f8ff!important;font-size:14px!important;font-weight:750!important;display:block!important;line-height:1.1!important;}
html.admin-ui-active .admin-sidebar__link small{color:#8fa1bc!important;font-size:11px!important;line-height:1.1!important;display:block!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html.admin-ui-active .admin-sidebar__link:hover{background:#101f34!important;border-color:rgba(96,165,250,.22)!important;color:#fff!important;}
html.admin-ui-active .admin-sidebar__link.active{background:linear-gradient(135deg,#1f6fff,#224fe7)!important;border-color:rgba(96,165,250,.55)!important;box-shadow:0 14px 34px rgba(31,111,255,.28)!important;color:#fff!important;}
html.admin-ui-active .admin-sidebar__link.active i{background:rgba(255,255,255,.16)!important;color:#fff!important;}
html.admin-ui-active .admin-sidebar__footer{margin-top:auto!important;display:grid!important;gap:8px!important;border-top:1px solid rgba(148,163,184,.16)!important;padding-top:12px!important;}
html.admin-ui-active .admin-sidebar__footer a{background:#101c2d!important;border:1px solid rgba(148,163,184,.18)!important;color:#e5eefc!important;border-radius:9px!important;padding:10px 12px!important;text-decoration:none!important;font-weight:700!important;}
html.admin-ui-active .admin-dashboard-v95{max-width:1600px;margin:0 auto;color:#e5eefc!important;}
html.admin-ui-active .admin-dash-toolbar-v95{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
html.admin-ui-active .admin-dash-toolbar-v95 h1{color:#fff!important;font-size:26px!important;font-weight:850!important;letter-spacing:-.03em!important;margin:0 0 4px!important;}
html.admin-ui-active .admin-dash-toolbar-v95 p{color:#9fb0c9!important;margin:0!important;}
html.admin-ui-active .admin-dash-actions-v95{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
html.admin-ui-active .admin-btn-v95{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border-radius:8px;border:1px solid rgba(148,163,184,.18);background:#101b2d;color:#eaf1ff!important;text-decoration:none!important;padding:8px 12px;font-weight:750;box-shadow:none!important;}
html.admin-ui-active .admin-btn-v95.primary{background:#1f5df5!important;border-color:#2d75ff!important;color:#fff!important;}
html.admin-ui-active .admin-btn-v95:hover{filter:brightness(1.08);}
html.admin-ui-active .admin-metric-grid-v95{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:12px;margin-bottom:12px;}
html.admin-ui-active .admin-metric-card-v95{min-height:96px;background:linear-gradient(180deg,#101d31,#0d1828)!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:8px!important;box-shadow:0 12px 34px rgba(0,0,0,.18)!important;padding:14px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;color:#e5eefc!important;overflow:hidden!important;}
html.admin-ui-active .metric-icon-v95{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:rgba(37,99,235,.20);color:#38bdf8;}
html.admin-ui-active .admin-metric-card-v95:nth-child(4n+1) .metric-icon-v95{background:rgba(34,197,94,.15);color:#4ade80;} html.admin-ui-active .admin-metric-card-v95:nth-child(4n+2) .metric-icon-v95{background:rgba(14,165,233,.15);color:#38bdf8;} html.admin-ui-active .admin-metric-card-v95:nth-child(4n+3) .metric-icon-v95{background:rgba(245,158,11,.16);color:#f59e0b;} html.admin-ui-active .admin-metric-card-v95:nth-child(4n+4) .metric-icon-v95{background:rgba(168,85,247,.16);color:#a855f7;}
html.admin-ui-active .metric-label-v95{color:#b6c4da!important;font-size:13px!important;font-weight:650!important;margin:0!important;line-height:1.2!important;}
html.admin-ui-active .metric-value-v95{color:#fff!important;font-size:24px!important;font-weight:850!important;letter-spacing:-.03em!important;line-height:1.05!important;margin-top:3px!important;overflow-wrap:anywhere!important;}
html.admin-ui-active .metric-meta-v95{color:#59e68a!important;font-size:12px!important;font-weight:700!important;margin-top:4px!important;display:block!important;}
html.admin-ui-active .metric-meta-v95.warning{color:#fbbf24!important}.metric-meta-v95.danger{color:#ff6b6b!important}
html.admin-ui-active .admin-chart-grid-v95{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;}
html.admin-ui-active .admin-panel-v95{background:linear-gradient(180deg,#101d31,#0d1828)!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:8px!important;box-shadow:0 14px 40px rgba(0,0,0,.18)!important;color:#e5eefc!important;overflow:hidden!important;}
html.admin-ui-active .admin-panel-v95.pad{padding:16px!important;}
html.admin-ui-active .panel-head-v95{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
html.admin-ui-active .panel-head-v95 h2{color:#fff!important;font-size:16px!important;font-weight:800!important;margin:0!important;}
html.admin-ui-active .panel-head-v95 small{color:#9fb0c9!important;}
html.admin-ui-active .select-chip-v95{background:#0b1422!important;border:1px solid rgba(148,163,184,.16)!important;border-radius:7px!important;color:#dbe8fb!important;padding:7px 10px!important;font-size:12px!important;}
html.admin-ui-active .line-chart-v95{height:170px;position:relative;display:flex;align-items:end;gap:6px;padding:18px 8px 6px;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,rgba(148,163,184,.13) 40px);border-radius:8px;}
html.admin-ui-active .line-chart-v95 span{flex:1;border-radius:999px 999px 3px 3px;min-height:8px;background:linear-gradient(180deg,#2f7cff,#0ea5e9);box-shadow:0 -12px 34px rgba(47,124,255,.22);}
html.admin-ui-active .line-chart-v95.green span{background:linear-gradient(180deg,#35ea68,#116a3a)}
html.admin-ui-active .line-chart-v95.purple span{background:linear-gradient(180deg,#a855f7,#5b21b6)}
html.admin-ui-active .admin-lower-grid-v95{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:12px;margin-top:12px;}
html.admin-ui-active .activity-list-v95,.status-list-v95,.attention-list-v95{display:grid;gap:9px;}
html.admin-ui-active .activity-item-v95,.status-item-v95,.attention-item-v95{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border-radius:8px;background:rgba(15,27,45,.72)!important;border:1px solid rgba(148,163,184,.10)!important;color:#e5eefc!important;}
html.admin-ui-active .activity-item-v95 i,.status-item-v95 i,.attention-item-v95 i{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:rgba(37,99,235,.18);color:#60a5fa;}
html.admin-ui-active .activity-item-v95 strong,.status-item-v95 strong,.attention-item-v95 strong{color:#fff!important;font-size:13px!important;display:block!important;}
html.admin-ui-active .activity-item-v95 small,.status-item-v95 small,.attention-item-v95 small{color:#9fb0c9!important;font-size:11px!important;display:block!important;}
html.admin-ui-active .status-ok-v95{color:#4ade80!important;font-weight:750!important;font-size:12px!important;}
html.admin-ui-active .amount-danger-v95{color:#ff6b6b!important;font-weight:800!important;}
html.admin-ui-active .link-v95{color:#60a5fa!important;text-decoration:none!important;font-weight:750!important;font-size:12px!important;}
html.admin-ui-active .donut-v95{width:145px;height:145px;border-radius:50%;margin:8px auto;background:conic-gradient(#38bdf8 0 70%,#fbbf24 70% 82%,#ff6b6b 82% 87%,#8b5cf6 87% 100%);display:grid;place-items:center;position:relative;}
html.admin-ui-active .donut-v95:after{content:'';width:78px;height:78px;background:#0d1828;border-radius:50%;position:absolute;}
html.admin-ui-active .donut-v95 strong{position:relative;z-index:1;color:#fff!important;font-size:14px!important;text-align:center;}
html.admin-ui-active .donut-legend-v95{display:grid;gap:6px;margin-top:10px;}.donut-legend-v95 span{display:flex;justify-content:space-between;gap:8px;color:#cbd5e1!important;font-size:12px!important;}.donut-legend-v95 i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:6px;}
html.admin-ui-active .admin-table-v95{width:100%;border-collapse:separate;border-spacing:0;color:#e5eefc!important;}.admin-table-v95 th{background:#0b1422!important;color:#91a4c3!important;text-transform:uppercase;letter-spacing:.08em;font-size:11px;padding:11px 12px;border-bottom:1px solid rgba(148,163,184,.14)!important;}.admin-table-v95 td{padding:11px 12px;border-bottom:1px solid rgba(148,163,184,.10)!important;color:#e5eefc!important;}.admin-table-v95 strong{color:#fff!important;}
html.admin-ui-active .admin-table-scroll-v95{overflow:auto;border:1px solid rgba(148,163,184,.12);border-radius:8px;max-width:100%;}
html.admin-ui-active .status-pill,.status-pill--neutral,.badge,.admin-status-badge{color:#081322!important;background:#dbeafe!important;border:1px solid rgba(96,165,250,.35)!important;font-weight:800!important;}
html.admin-ui-active .form-control,html.admin-ui-active .form-select,html.admin-ui-active input,html.admin-ui-active select,html.admin-ui-active textarea{background:#0b1422!important;border-color:rgba(148,163,184,.22)!important;color:#f8fbff!important;box-shadow:none!important;}
html.admin-ui-active .form-control::placeholder,html.admin-ui-active input::placeholder,html.admin-ui-active textarea::placeholder{color:#91a4c3!important;opacity:1!important;}
html.admin-ui-active .card,html.admin-ui-active .panel-v67,html.admin-ui-active .ops-card-v67,html.admin-ui-active .admin-card,html.admin-ui-active .table-shell,html.admin-ui-active .accordion-item{background:#101d31!important;border:1px solid rgba(148,163,184,.14)!important;color:#e5eefc!important;box-shadow:0 12px 32px rgba(0,0,0,.16)!important;}
html.admin-ui-active .card *,html.admin-ui-active .panel-v67 *,html.admin-ui-active .ops-card-v67 *,html.admin-ui-active .admin-card *{color:inherit;}
html.admin-ui-active h1,html.admin-ui-active h2,html.admin-ui-active h3,html.admin-ui-active h4,html.admin-ui-active h5,html.admin-ui-active h6,html.admin-ui-active strong,html.admin-ui-active label{color:#fff!important;}
html.admin-ui-active p,html.admin-ui-active td,html.admin-ui-active li,html.admin-ui-active small,html.admin-ui-active .text-muted,html.admin-ui-active .panel-copy-v67{color:#b6c4da!important;}
html.admin-ui-active .table,html.admin-ui-active .global-table-v67{--bs-table-bg:transparent!important;--bs-table-color:#e5eefc!important;color:#e5eefc!important;background:transparent!important;}.global-table-v67 thead th,.table thead th{background:#0b1422!important;color:#aebdd4!important;border-color:rgba(148,163,184,.14)!important}.global-table-v67 tbody td,.table tbody td{background:#101d31!important;color:#e5eefc!important;border-color:rgba(148,163,184,.10)!important;}
html.admin-ui-active .dropdown-menu{background:#101d31!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 18px 44px rgba(0,0,0,.35)!important;z-index:2050!important;}.dropdown-item{color:#e5eefc!important}.dropdown-item:hover{background:#172945!important;color:#fff!important;}
html.admin-ui-active .btn-surface,html.admin-ui-active .btn-light{background:#101b2d!important;border:1px solid rgba(148,163,184,.18)!important;color:#eaf1ff!important}.btn-primary{background:#1f5df5!important;border-color:#2d75ff!important;color:#fff!important;}
html.admin-ui-active .security-tile-v67{background:#101d31!important;color:#e5eefc!important;border:1px solid rgba(148,163,184,.14)!important;}.security-tile-v67 strong{color:#fff!important;}.security-tile-v67 span{color:#b6c4da!important;}
html.admin-ui-active .admin-mobile-bar{display:none!important;}
@media (max-width:1200px){html.admin-ui-active .admin-metric-grid-v95{grid-template-columns:repeat(3,minmax(180px,1fr));}html.admin-ui-active .admin-chart-grid-v95{grid-template-columns:1fr;}html.admin-ui-active .admin-lower-grid-v95{grid-template-columns:1fr 1fr;}}
@media (max-width:900px){html.admin-ui-active .admin-layout-shell{display:block!important;}html.admin-ui-active .admin-layout-shell__nav{height:auto!important;position:static!important;}html.admin-ui-active .admin-sidebar{transform:translateX(-105%);transition:.2s ease;position:fixed!important;z-index:1200!important;}html.admin-ui-active .admin-sidebar.is-open{transform:translateX(0)!important;}html.admin-ui-active .admin-mobile-bar{display:flex!important;position:sticky!important;top:0!important;z-index:1100!important;background:#07111f!important;padding:10px!important;gap:8px!important;border-bottom:1px solid rgba(148,163,184,.14)!important;}html.admin-ui-active .admin-layout-shell__content{padding:16px!important;}html.admin-ui-active .admin-metric-grid-v95{grid-template-columns:1fr 1fr;}html.admin-ui-active .admin-lower-grid-v95{grid-template-columns:1fr;}html.admin-ui-active .admin-dash-toolbar-v95{display:block}.admin-dash-actions-v95{justify-content:flex-start;margin-top:12px;}}
@media (max-width:560px){html.admin-ui-active .admin-metric-grid-v95{grid-template-columns:1fr;}html.admin-ui-active .admin-layout-shell__content{padding:12px!important;}.admin-metric-card-v95{grid-template-columns:40px minmax(0,1fr)!important}.metric-value-v95{font-size:22px!important;}}
