/* MlinziOps Visual Upgrade v1.1 — additive stylesheet. Load after app.css. */
:root { --vu-surface:rgba(18,27,43,.88);--vu-surface-strong:#111c2e;--vu-surface-muted:#17243a;--vu-ink:#edf4ff;--vu-muted:#9baac0;--vu-border:rgba(148,163,184,.19);--vu-grid:rgba(148,163,184,.14);--vu-shadow:0 16px 45px rgba(0,0,0,.24);--vu-brand:#3b82f6;--vu-brand-soft:rgba(59,130,246,.15);--vu-focus:#7dd3fc;--vu-chart-text:#a9b7ca;--vu-chart-grid:rgba(148,163,184,.16);color-scheme:dark; }
:root[data-vu-theme="light"] { --bg-0:#f3f6fb;--bg-1:#fff;--bg-2:#f8fafd;--bg-3:#edf2f8;--border:#dbe3ee;--border-strong:#c6d2e1;--text:#14213a;--text-dim:#52637a;--text-faint:#708097;--accent:#1769d8;--vu-surface:rgba(255,255,255,.92);--vu-surface-strong:#fff;--vu-surface-muted:#f4f7fb;--vu-ink:#14213a;--vu-muted:#52637a;--vu-border:rgba(71,85,105,.18);--vu-grid:rgba(71,85,105,.13);--vu-shadow:0 16px 42px rgba(27,50,80,.10);--vu-brand:#1769d8;--vu-brand-soft:rgba(23,105,216,.10);--vu-focus:#075bcc;--vu-chart-text:#52637a;--vu-chart-grid:rgba(71,85,105,.15);color-scheme:light; }
@media (prefers-color-scheme:light) { :root:not([data-vu-theme]) { --bg-0:#f3f6fb;--bg-1:#fff;--bg-2:#f8fafd;--bg-3:#edf2f8;--border:#dbe3ee;--border-strong:#c6d2e1;--text:#14213a;--text-dim:#52637a;--text-faint:#708097;--accent:#1769d8;--vu-surface:rgba(255,255,255,.92);--vu-surface-strong:#fff;--vu-surface-muted:#f4f7fb;--vu-ink:#14213a;--vu-muted:#52637a;--vu-border:rgba(71,85,105,.18);--vu-grid:rgba(71,85,105,.13);--vu-shadow:0 16px 42px rgba(27,50,80,.10);--vu-brand:#1769d8;--vu-brand-soft:rgba(23,105,216,.10);--vu-focus:#075bcc;--vu-chart-text:#52637a;--vu-chart-grid:rgba(71,85,105,.15);color-scheme:light; } }
html,body { background:var(--bg-0);color:var(--text); } body { letter-spacing:.005em; }.sidebar { width:252px;flex-basis:252px;background:var(--vu-surface-strong);border-right-color:var(--vu-border);box-shadow:8px 0 32px rgba(0,0,0,.06);z-index:50; }.brand { padding:20px 20px 17px;font-size:18px;background:linear-gradient(135deg,var(--vu-brand-soft),transparent 72%); }.brand .shield { display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#3b82f6,#1769d8);box-shadow:0 7px 16px rgba(23,105,216,.25); }.nav-group { padding:12px 0 3px; }.nav-group a { margin:2px 10px;padding:9px 10px;border-left:0;border-radius:8px;transition:background .16s ease,color .16s ease,transform .16s ease; }.nav-group a:hover { background:var(--vu-brand-soft);transform:translateX(2px); }.nav-group a.active { background:var(--vu-brand-soft);color:var(--text);box-shadow:inset 3px 0 0 var(--vu-brand); }.nav-group a.active i { color:var(--vu-brand); }.sidebar-foot { border-top-color:var(--vu-border);padding:15px 20px; }.topbar { min-height:59px;padding:9px 24px;background:color-mix(in srgb,var(--bg-1) 92%,transparent);border-bottom-color:var(--vu-border);backdrop-filter:blur(14px); }.topbar .page-title { font-size:16px;font-weight:700;letter-spacing:-.01em; }.content { padding:24px;max-width:1800px;width:100%;margin:0 auto; }.card,.stat-card { background:var(--vu-surface);border-color:var(--vu-border);box-shadow:0 7px 22px rgba(15,23,42,.055); }.card { border-radius:12px;padding:18px; }.card:hover { border-color:color-mix(in srgb,var(--vu-brand) 34%,var(--vu-border)); }.card h3 { font-size:13px;letter-spacing:.01em; }.stat-card { position:relative;overflow:hidden;border-left-width:3px;border-radius:12px;padding:16px;min-height:93px;transition:transform .16s ease,box-shadow .16s ease; }.stat-card:hover { transform:translateY(-2px);box-shadow:var(--vu-shadow); }.stat-card .big { font-size:28px;letter-spacing:-.05em;line-height:1.1; }.stat-card .lbl { font-weight:600; }.badge { font-weight:700;border:1px solid currentColor;letter-spacing:.035em;line-height:1.45; }
/* Light mode covers all known and future severity/status/check/role badge families. */
:root[data-vu-theme="light"] .badge[class*="sev-"],:root[data-vu-theme="light"] .badge[class*="st-"],:root[data-vu-theme="light"] .badge[class*="check-"],:root[data-vu-theme="light"] .badge[class*="role-"] { color:#17324d;background:#e8f0f8;border-color:currentColor; }:root[data-vu-theme="light"] .badge.sev-CRITICAL,:root[data-vu-theme="light"] .badge.sev-HIGH,:root[data-vu-theme="light"] .badge.st-OFFLINE,:root[data-vu-theme="light"] .badge.st-OPEN,:root[data-vu-theme="light"] .badge.st-FAILED,:root[data-vu-theme="light"] .badge.check-FAIL { color:#9b1c1c;background:#fff0f0; }:root[data-vu-theme="light"] .badge.sev-MEDIUM,:root[data-vu-theme="light"] .badge.st-PENDING,:root[data-vu-theme="light"] .badge.st-IN_PROGRESS,:root[data-vu-theme="light"] .badge.check-WARN { color:#7a4b00;background:#fff7db; }:root[data-vu-theme="light"] .badge.sev-LOW,:root[data-vu-theme="light"] .badge.sev-INFO,:root[data-vu-theme="light"] .badge.st-ONLINE,:root[data-vu-theme="light"] .badge.st-CLOSED,:root[data-vu-theme="light"] .badge.st-RESOLVED,:root[data-vu-theme="light"] .badge.st-COMPLETED,:root[data-vu-theme="light"] .badge.check-PASS,:root[data-vu-theme="light"] .badge.check-OK { color:#096638;background:#e9f8ef; }
table.data th { background:var(--vu-surface-muted);color:var(--vu-muted);border-bottom-color:var(--vu-border); }table.data td { border-bottom-color:var(--vu-border); }table.data tr:hover td { background:var(--vu-brand-soft); }input,select,textarea { background:var(--bg-1);color:var(--text);border-color:var(--border-strong);border-radius:8px; }input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible { outline:3px solid color-mix(in srgb,var(--vu-focus) 50%,transparent);outline-offset:2px; }button { border-radius:8px; }button.primary { box-shadow:0 5px 15px rgba(47,126,247,.2); }.modal,[role="dialog"] { color:var(--text); }.progress { background:var(--bg-3); }.vu-nav-toggle,.vu-theme-toggle { display:none;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--vu-border);background:var(--vu-surface);color:var(--text);border-radius:9px;cursor:pointer; }.vu-theme-toggle { display:grid; }.vu-theme-toggle .fa-sun { display:none; }.vu-theme-floating { position:fixed;top:14px;right:14px;z-index:1000;box-shadow:var(--vu-shadow); }:root[data-vu-theme="light"] .vu-theme-toggle .fa-moon { display:none; }:root[data-vu-theme="light"] .vu-theme-toggle .fa-sun { display:inline-block; }.vu-sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.vu-dashboard-hero { position:relative;isolation:isolate;min-height:190px;overflow:hidden;margin:0 0 18px;border-radius:14px;border:1px solid var(--vu-border);background:#101a2b;color:#f8fbff;box-shadow:var(--vu-shadow); }.vu-dashboard-hero::before { content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(8,16,30,.94) 0%,rgba(8,16,30,.75) 48%,rgba(8,16,30,.24) 100%),url('/static/img/soc-operations.jpg') center/cover; }.vu-dashboard-hero::after { content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 80% 20%,rgba(59,130,246,.28),transparent 38%); }.vu-hero-copy { max-width:620px;padding:27px 29px; }.vu-hero-kicker { margin:0 0 7px;color:#b8d6ff;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800; }.vu-hero-copy h1 { margin:0;font-size:clamp(21px,3vw,31px);letter-spacing:-.035em; }.vu-hero-copy p { margin:8px 0 18px;color:#d5e5fa;max-width:52ch;line-height:1.5; }.vu-route-shortcuts { display:flex;flex-wrap:wrap;gap:8px; }.vu-route-shortcuts a { padding:8px 10px;border:1px solid rgba(220,235,255,.3);border-radius:8px;color:#fff;background:rgba(255,255,255,.08);font-size:12px;font-weight:700; }.vu-route-shortcuts a:hover { background:rgba(255,255,255,.18);text-decoration:none; }
@media (max-width:900px) { html,body { overflow-x:hidden; }.grid.cols-4,.grid.cols-5 { grid-template-columns:repeat(2,minmax(0,1fr)); }.sidebar { position:fixed;left:0;transform:translateX(-104%);transition:transform .2s ease;box-shadow:10px 0 40px rgba(0,0,0,.25); }#app.vu-menu-open .sidebar { transform:translateX(0); }.vu-nav-toggle { display:grid; }.topbar { padding:8px 15px;gap:9px; }.content { padding:16px;min-width:0; }.clock { display:none; }#app.vu-menu-open::after { content:"";position:fixed;z-index:40;inset:0;background:rgba(2,6,12,.46); }}@media (max-width:620px) { .grid.cols-2,.grid.cols-3,.grid.cols-4,.grid.cols-5 { grid-template-columns:minmax(0,1fr); }.user-chip .uname,.user-chip .urole,.user-chip a[title="Profile"] { display:none; }.topbar .pill { padding:4px 7px; }.content { padding:12px; }.card { padding:14px; }.vu-hero-copy { padding:22px 18px; }}@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;transition:none!important;animation:none!important; }}

/* Mobile QA correction: override legacy compact/header rules. */
@media(max-width:900px){
 #app{width:100%;min-width:0}.main{width:100%;min-width:0;margin-left:0}
 .topbar{flex-wrap:nowrap;gap:6px;min-height:60px;padding:8px 10px}
 .topbar .page-title{flex:1 1 auto;min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar .spacer{display:none}.topbar .clock{display:none}
 .vu-nav-toggle,.vu-theme-toggle{flex:0 0 44px;width:44px;height:44px;min-height:44px;min-width:44px}
 .topbar .user-chip{flex:0 0 auto;gap:4px}.topbar .user-chip a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .topbar .user-chip a[title="Profile"]{display:none}.topbar .user-chip .uname,.topbar .user-chip .urole{display:none}
 .sidebar{height:100dvh;overflow-y:auto;max-width:calc(100vw - 56px)}
 .sidebar .brand span,.sidebar .nav-group a span:not(.ic),.sidebar .nav-group .label,.sidebar .sidebar-foot{display:revert}
 .sidebar .nav-group a{justify-content:flex-start;min-height:44px}
 .grid>*{min-width:0}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 .content>.flex,.form-row,.pager{flex-wrap:wrap}.form-row>*{min-width:160px}
 .vu-route-shortcuts a{min-height:44px;display:inline-flex;align-items:center}
 input,select,textarea{font-size:16px}.login-card{max-width:calc(100vw - 24px)}
}
@media(max-width:620px){.topbar .pill{display:none}.topbar .user-chip .avatar{display:none}.grid.cols-4#stat-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:12px;min-height:88px}.stat-card .big{font-size:25px}}

/* Photo-led login, no authentication handlers replaced. */
.login-wrap.vu-login-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(380px,.8fr);gap:0;min-height:100dvh;width:100%;background:var(--bg-0);padding:0;align-items:stretch}
.vu-login-story{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:50px;padding:42px clamp(28px,5vw,80px);background:#071323;color:#fff;overflow:hidden;min-height:100dvh}
.vu-login-story:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(110deg,rgba(4,12,26,.94),rgba(5,18,35,.65) 60%,rgba(6,20,38,.38)),url('/static/img/soc-operations.jpg') center/cover}
.vu-login-story:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(3,10,22,.85),transparent 60%),radial-gradient(ellipse at 0% 30%,rgba(15,104,190,.24),transparent 70%)}
.vu-login-top,.vu-login-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:10px;letter-spacing:.12em;color:#c7d8ee}
.vu-login-tag{padding:8px 10px;border:1px solid #6c91b966;border-radius:30px;letter-spacing:.08em;background:#122b4266}
.vu-login-eyebrow{color:#93c5fd;font-size:11px;letter-spacing:.18em;font-weight:700}
.vu-login-message h1{font-size:clamp(32px,4.5vw,64px);line-height:1.08;letter-spacing:-.045em;margin:18px 0 22px;font-weight:750;color:#fff}
.vu-login-description{max-width:46ch;color:#d5e1f1;line-height:1.7;font-size:15px}
.vu-login-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:36px}
.vu-login-features>div{padding:16px 12px;background:#0d2035b3;border:1px solid #9bb9de38;border-radius:12px;backdrop-filter:blur(8px)}
.vu-login-features strong,.vu-login-features span{display:block}.vu-login-features strong{font-size:12px;color:#e7f2ff;margin-bottom:7px}.vu-login-features span{font-size:11px;color:#bed0e6;line-height:1.5}
.vu-login-bottom{font-size:10px;letter-spacing:0;border-top:1px solid #9bb9de38;padding-top:22px}
.login-card.vu-login-panel{width:auto;max-width:none;margin:0;border:none;border-radius:0;box-shadow:none;background:var(--bg-1);padding:clamp(30px,5vw,76px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.vu-login-panel .brand{margin-bottom:12px}.vu-login-panel>p:first-of-type{line-height:1.7;margin-bottom:20px}.vu-login-panel label{font-size:12px;margin-top:18px;margin-bottom:8px}.vu-login-panel input{min-height:48px;font-size:16px}.vu-login-panel #login-btn{min-height:48px;font-weight:700}.vu-login-panel #login-err{line-height:1.5}.vu-login-panel .sep{margin-top:24px}
@media(max-width:1000px){.login-wrap.vu-login-layout{grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)}.vu-login-story{padding:30px;gap:28px}.vu-login-features{grid-template-columns:1fr;gap:8px}.vu-login-features>div{padding:12px}.login-card.vu-login-panel{padding:32px}}
@media(max-width:700px){.login-wrap.vu-login-layout{display:flex;flex-direction:column;min-height:100dvh}.vu-login-story{min-height:0;padding:24px 22px;gap:18px}.vu-login-top{padding-right:36px;font-size:9px}.vu-login-tag,.vu-login-features,.vu-login-bottom{display:none}.vu-login-message h1{font-size:30px;margin:8px 0 12px}.vu-login-description{font-size:12px;margin:0;max-width:44ch}.vu-login-eyebrow{font-size:9px;margin:0}.login-card.vu-login-panel{width:100%;max-width:100%;padding:28px 22px 36px;flex:1}.vu-login-panel .brand{font-size:20px}.vu-login-panel>p:first-of-type{margin-bottom:8px}}

/* 1.3.3 header and scanner spacing */
.topbar>.vu-theme-toggle{position:static!important;inset:auto!important;flex:0 0 40px;width:40px;min-width:40px;margin:0 8px;align-self:center}.vu-scanner-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;line-height:1}.vu-scanner-icon svg{display:block}

/* 1.3.4: viewport-wide photograph behind the complete login layout. */
.login-wrap.vu-login-layout{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;box-sizing:border-box;background:#071323;gap:clamp(24px,4vw,64px);padding:clamp(24px,4vw,64px);align-items:center;grid-template-columns:minmax(0,1.3fr) minmax(320px,.8fr)}
.login-wrap.vu-login-layout:before{content:"";position:absolute;inset:0;z-index:-2;background-image:url('/static/img/soc-operations.jpg');background-size:cover;background-position:center;background-repeat:no-repeat;pointer-events:none}
.login-wrap.vu-login-layout:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,rgba(3,10,22,.72),rgba(3,10,22,.38));pointer-events:none}
.vu-login-layout>.vu-login-story{background:transparent;min-height:0;padding:24px 0;overflow:visible;gap:clamp(28px,5vh,64px)}
.vu-login-layout>.vu-login-story:before,.vu-login-layout>.vu-login-story:after{display:none}
.vu-login-layout>.login-card.vu-login-panel{box-sizing:border-box;background:rgba(10,20,36,.91);color:#edf4ff;border:1px solid rgba(177,205,239,.25);border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.35);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:clamp(24px,3.5vw,54px);width:100%;max-width:480px;justify-self:end}
.vu-login-layout .vu-login-panel .muted,.vu-login-layout .vu-login-panel .faint{color:#b9cbe0}.vu-login-layout .vu-login-panel label{color:#dbe8f8}.vu-login-layout .vu-login-panel input{background:#0a1424;color:#edf4ff;border-color:#53657b}.vu-login-layout .vu-login-panel .brand{color:#edf4ff}
html[data-vu-theme="light"] .vu-login-layout>.login-card.vu-login-panel{background:rgba(248,251,255,.95);color:#14213a}html[data-vu-theme="light"] .vu-login-layout .vu-login-panel .brand,html[data-vu-theme="light"] .vu-login-layout .vu-login-panel label{color:#14213a}html[data-vu-theme="light"] .vu-login-layout .vu-login-panel .muted,html[data-vu-theme="light"] .vu-login-layout .vu-login-panel .faint{color:#475569}html[data-vu-theme="light"] .vu-login-layout .vu-login-panel input{background:#fff;color:#14213a;border-color:#64748b}
@media(max-width:1000px){.login-wrap.vu-login-layout{gap:24px;padding:28px;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}}
@media(max-width:700px){.login-wrap.vu-login-layout{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:18px;padding:64px 18px 28px}.vu-login-layout>.vu-login-story{padding:0;gap:14px}.vu-login-layout>.login-card.vu-login-panel{max-width:480px;align-self:center;flex:0 0 auto;padding:26px 22px;border-radius:18px}.vu-login-layout .vu-login-top{padding-right:0}.vu-login-layout .vu-login-description{color:#d5e1f1}.vu-login-layout .vu-login-message h1{font-size:clamp(26px,7vw,34px)}}

/* 1.3.5: keep the photographic login cohesive in either application theme. */
html[data-vu-theme] .vu-login-layout>.login-card.vu-login-panel{background:linear-gradient(145deg,rgba(9,25,44,.84),rgba(5,16,31,.78));color:#edf4ff;border-color:rgba(148,190,233,.3);box-shadow:0 24px 80px rgba(0,0,0,.32);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-vu-theme] .vu-login-layout .vu-login-panel .brand,html[data-vu-theme] .vu-login-layout .vu-login-panel label{color:#edf4ff}
html[data-vu-theme] .vu-login-layout .vu-login-panel .muted,html[data-vu-theme] .vu-login-layout .vu-login-panel .faint{color:#c4d5e9}
html[data-vu-theme] .vu-login-layout .vu-login-panel input{background:rgba(4,14,29,.8);color:#f1f6ff;border-color:#718ba8;caret-color:#93c5fd;color-scheme:dark}
html[data-vu-theme] .vu-login-layout .vu-login-panel input::placeholder{color:#afc3db;opacity:1}
html[data-vu-theme] .vu-login-layout .vu-login-panel input:focus{border-color:#93c5fd;outline-color:#60a5fa}
html[data-vu-theme] .vu-login-layout .vu-login-panel input:autofill{-webkit-text-fill-color:#f1f6ff;box-shadow:0 0 0 1000px #0a1a2d inset}
html[data-vu-theme] .vu-login-layout .vu-login-panel #login-btn{background:#2563eb;color:#fff;border-color:#60a5fa}
html[data-vu-theme] .vu-login-layout .vu-login-panel #login-err{color:#fecaca}
.vu-host-refresh-note{margin:8px 0 14px;color:var(--text-muted,#a9b7ca);font-size:12px;line-height:1.6}

/* 1.3.6: center the form itself, not the old two-column composition. */
.login-wrap.vu-login-layout{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;padding:64px 18px;min-height:100vh;min-height:100dvh}
.vu-login-layout>.vu-login-story{display:none}
.vu-login-layout>.login-card.vu-login-panel{flex:0 0 auto;align-self:center;justify-self:center;margin:0;width:100%;max-width:480px}
@media(max-width:700px){.login-wrap.vu-login-layout{padding:64px 18px}.vu-login-layout>.login-card.vu-login-panel{margin:0}}
