/* Shared atmosphere, loaded after the legacy dashboard/login styles. */
.console-space { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; background:radial-gradient(ellipse at 50% 64%,rgba(39,65,153,.24),rgba(18,33,87,.12) 50%,transparent 80%); }
.console-motion-toggle { position:fixed; z-index:30; right:16px; bottom:16px; min-height:40px; padding:10px 14px; border:1px solid #46577a; border-radius:3px; background:#090f20ed; color:#b8c9e6; font:500 11px/1.2 'IBM Plex Mono',monospace; letter-spacing:.04em; cursor:pointer; }
.console-motion-toggle:hover { background:#202d49; color:#fff; }
.console-motion-toggle:focus-visible { outline:2px solid #abc9ff; outline-offset:3px; }
body.dashboard-body .console-motion-toggle { bottom:80px; }
body:has(.console-space[data-scene="login"]) { background:#03050c!important; overflow-y:auto; }
.ps2-scene { display:none!important; }
.login-container { isolation:isolate; min-height:100svh; }
.login-container .window { border-radius:0; border-color:rgba(148,170,230,.36); background:linear-gradient(145deg,rgba(9,14,32,.97),rgba(5,8,21,.95)); backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:0 30px 100px #0009,0 0 65px #4269b514; }
.login-header h2 { color:#e6edff; text-shadow:0 0 24px #819dff33; }
.login-container .title-bar { background:transparent!important; }
.login-form input[type="password"] { background:#040915d9!important; }
.login-form input[type="password"]:focus { border-color:#9aadeb; }
.login-form .btn::before,.login-form .btn::after { display:none!important; }
.login-container .window, .login-form { min-width:0; max-width:100%; }

body.dashboard-body { --bg:#050812; --panel:#0b1020; --panel-2:#11182b; --line:#29324d; --accent:#a0b8ed; --cold:#9eb8e9; --good:#86cfc8; --bad:#dc8c9c; --editorial-rule:#29324d; --editorial-panel:#0b1020; --editorial-ink:#050812; --editorial-paper:#e6ebf7; background:#050812!important; }
body.dashboard-body .console-space { opacity:.28; }
body.dashboard-body .dashboard-shell { position:relative; z-index:1; background:transparent!important; }
body.dashboard-body .dashboard-topbar { background:linear-gradient(180deg,#0e1528f5,#090e1be8)!important; border-bottom:1px solid #465781!important; }
body.dashboard-body .dashboard-topbar::before { display:none!important; }
body.dashboard-body .dashboard-topbar::after { height:1px; background:linear-gradient(90deg,#52659b50,#95bcedaa,#52659b50)!important; }
body.dashboard-body .dashboard-brand h1 span { color:#94a9e3; }
body.dashboard-body .dashboard-brand-caption,body.dashboard-body .dashboard-eyebrow { color:#8390b0!important; }
body.dashboard-body .dashboard-column-controls,body.dashboard-body .dashboard-stat-card,
body.dashboard-body .dashboard-panel,body.dashboard-body .dashboard-module { background:#0b1120d9!important; border-color:#29324d!important; }
body.dashboard-body .dashboard-column-table,body.dashboard-body .dashboard-table-panel { background:transparent!important; }
body.dashboard-body .dashboard-panel-head,body.dashboard-body .dashboard-table-footer { background:#080e1bed!important; border-color:#29324d!important; }
body.dashboard-body .dashboard-table-wrap table.dataTable tbody td { background:#0a1120e8!important; border-color:#242f46!important; }
body.dashboard-body .dashboard-table-wrap table.dataTable tbody tr:hover td { background:#141f35f5!important; }
body.dashboard-body .dashboard-table-wrap table.dataTable thead th { background:#0b1222!important; color:#9aa8c3!important; border-color:#29324d!important; }
body.dashboard-body .dashboard-alert-card,body.dashboard-body .dashboard-alerts-control-group,
body.dashboard-body .dashboard-alerts-feed-wrap,body.dashboard-body .dashboard-mini-card,
body.dashboard-body .dashboard-status-card { background:linear-gradient(145deg,#10192ce8,#0b1121eb)!important; border-color:#2c3855!important; }
body.dashboard-body .dashboard-alert-value { background:transparent!important; border-color:#29324d!important; }
body.dashboard-body .nav-chip,body.dashboard-body .dashboard-logout { background:#10182a!important; color:#aebcd6!important; border-color:#33415f!important; box-shadow:none!important; }
body.dashboard-body .nav-chip.is-active { background:#202d49!important; color:#f0f5ff!important; border-color:#7d96c6!important; box-shadow:inset 0 2px #a5c4ff,0 -4px 20px #779eef0d!important; }
body.dashboard-body .nav-chip-icon { color:#9cb5eb!important; }
body.dashboard-body .action-btn.action-ebay,
body.dashboard-body .scan-btn,body.dashboard-body .btn.system { background:#24324f!important; color:#e6efff!important; border-color:#6c83b4!important; box-shadow:inset 0 1px #b5d4ff14!important; }
body.dashboard-body .action-btn.action-chart { background:#111a2c!important; color:#b5c8e8!important; border-color:#3c4c6c!important; }
body.dashboard-body .action-btn:hover,body.dashboard-body .btn.system:hover { filter:brightness(1.2); }
body.dashboard-body select,body.dashboard-body input:not([type="checkbox"]) { background:#060c18!important; color:#d6e1f5!important; border-color:#33415f!important; }
body.dashboard-body .dashboard-stat-kicker { color:#a2b8ed!important; }
body.dashboard-body .dashboard-table-wrap td.dataTables_empty { background:#0b1222b3!important; }
body.dashboard-body :is(a,button,input,select):focus-visible { outline:2px solid #abc9ff; outline-offset:3px; }
@media(max-width:760px) {
  .login-container { padding:20px; }
  .login-container .window { width:100%; }
  .login-form { padding:24px 20px; }
  .login-container .title-bar { flex-wrap:wrap; }
  .login-header h2 { font-size:1.65rem; }
  body.dashboard-body .console-space { opacity:.16; }
}
