:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf3f9;background:#0a0f16;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 85% -10%,#132236 0,transparent 30%),#0a0f16;min-height:100vh}main{max-width:1320px;margin:auto;padding:28px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.topbar h1{margin:0;font-size:31px;letter-spacing:-.5px}.topbar p{margin:8px 0 0;color:#86a1bd}.authbar,nav,.commandbar,.authline,.devtabs,.meta-inline,.healthissues{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.authbar{margin:24px 0 14px}nav{margin-bottom:24px}input,select,button{background:#131c28;border:1px solid #2a3a4f;color:#edf4fb;border-radius:10px;padding:10px 14px;font:inherit}input{min-width:340px}select{min-width:160px}button{cursor:pointer;transition:.15s ease}button:hover:not(:disabled){border-color:#6aa9ff;background:#182538}button:disabled{opacity:.42;cursor:not-allowed}.active{border-color:#c9def7;background:#192536}.danger:hover{border-color:#ff8585}.ok{color:#67dfa5}.bad{color:#ff8f8f}.hidden{display:none!important}.sessionok{color:#67dfa5}.muted{color:#8ba0b6;font-size:13px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.grid{display:grid;gap:12px}.card,.panel,.kpi,.summary>div,.stat{background:#101823;border:1px solid #223247;border-radius:14px}.card{padding:16px}.compact{padding:13px}.row,.panelhead,.devicehead{display:flex;justify-content:space-between;gap:18px;align-items:center}.actions{display:flex;gap:8px}.badge,.chip,.pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:12px}.badge,.chip{background:#1d2b3d;border:1px solid #2c4058}.chip.mini{padding:2px 6px;font-size:12px}.pill{font-weight:700;letter-spacing:.3px}.online,.success{background:#153c2c;color:#7ce0ac;border:1px solid #2b7754}.offline,.failed{background:#402023;color:#ffaaaa;border:1px solid #75383e}.queued{background:#21344c;color:#a9d0ff;border:1px solid #39587e}.warn{background:#43351d;color:#ffd68a;border:1px solid #745d30}.mutedp{background:#242c36;color:#b3bfcb;border:1px solid #384654}.summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.summary>div{padding:16px}.summary b{font-size:26px;display:block}.summary span{color:#8ba0b6}.tablewrap{overflow:auto;border:1px solid #223247;border-radius:14px;background:#0f1721}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid #223247;font-size:14px;vertical-align:top}th{color:#91a7bd;font-size:12px;text-transform:uppercase;letter-spacing:.5px;background:#101a27}.clickable{cursor:pointer}.clickable:hover{background:#132033}.devicehead{margin-bottom:18px}.devicehead h2{margin:0 0 4px;font-size:27px}.device-status{text-align:right}.deviceidentity{flex:1}.back{align-self:flex-start}.meta-inline{margin-top:8px;color:#90a7be;font-size:12px}.tiny{padding:5px 8px;font-size:12px}.tagline{display:flex;gap:4px;flex-wrap:wrap;margin:4px 0}.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.kpi{padding:15px;min-height:100px}.kpi span,.kpi small{display:block;color:#89a0b7}.kpi b{display:block;font-size:19px;margin:8px 0 4px;word-break:break-word}.columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.panel{padding:16px;margin:12px 0}.columns>.panel{margin:0}.panel h3{margin:0 0 14px;font-size:17px}.panelhead h3{margin:0}.network{padding:9px 0;border-bottom:1px solid #223247}.network:last-child{border-bottom:0}dl{margin:0}dl>div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid #223247}dt{color:#859bb2}dd{margin:0;word-break:break-word}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip.disabled{opacity:.45;text-decoration:line-through}.commandbar{margin-bottom:14px}.auditline{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #223247}.auditline span{color:#8ba0b6;font-size:12px}.empty{padding:28px;text-align:center;color:#8ba0b6;border:1px dashed #2a3a4f;border-radius:14px}.empty.small{padding:15px}.errorbox{padding:14px;border-radius:12px;background:#3b2023;color:#ffb4b4;border:1px solid #733a40}pre,code{white-space:pre-wrap;word-break:break-word}pre{background:#0b1118;padding:10px;border-radius:9px;font-size:12px}code{font-size:12px;color:#b9d5f2}.dashgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat{padding:17px;min-height:120px}.stat span,.stat small{display:block;color:#8ca3ba}.stat b{display:block;font-size:34px;margin:8px 0}.stat.warnbox{border-color:#705b2f}.stat.badbox{border-color:#71383e}.dashcols{margin-top:12px}.barline,.secrow{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid #223247}.devicefilters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.devicefilters input{flex:1;min-width:280px}.devtabs{margin:14px 0}.devtabbtn{padding:8px 12px}.disabledtab{opacity:.5}.devtab{display:none}.devtab.active{display:block}.compat{padding:20px;border:1px dashed #40516a;border-radius:14px;color:#9db0c4;background:#0e1620}.compat b{display:block;color:#d8e4ef;margin-bottom:7px}.smallinput{min-width:240px;padding:8px 10px}.securitygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.securitygrid .panel{margin:0}.healthissues{margin:-2px 0 10px}.secrow:last-child,.barline:last-child{border-bottom:0}@media(max-width:900px){main{padding:16px}.topbar,.row,.devicehead{align-items:flex-start;flex-direction:column}.device-status{text-align:left}.columns,.kpis,.summary,.dashgrid,.securitygrid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}input{min-width:0;width:100%}.devicefilters select{flex:1}.dashcols{grid-template-columns:1fr}}@media(max-width:520px){.kpis{grid-template-columns:1fr}.panelhead{align-items:flex-start;flex-direction:column}.smallinput{width:100%;min-width:0}}
.pager{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 4px 0;color:#8ba0b6;font-size:12px}.pager>div{display:flex;gap:6px}.pager button{padding:5px 10px;min-width:38px}.updateflag{padding:14px;border:1px solid #2a3a4f;border-radius:12px;background:#0e1620}.updateflag b{display:block;margin-bottom:7px}.updateflag.pending{border-color:#745d30;background:#241e13}.updateflag.pending b{color:#ffd68a}
.rowactions{white-space:nowrap}.rowactions button{margin:2px}.tiny.warn,.warn{border-color:#80642c;background:#2a2112;color:#ffd98b}.tiny.danger,.danger{border-color:#7c343b;background:#351b1f;color:#ffb2b8}.actionnote{margin-top:10px;padding:10px 12px;border:1px solid #2a3a4f;border-radius:10px;color:#8fa5ba;background:#0c141d;font-size:12px}.commandbar .danger{border-color:#7c343b;background:#351b1f;color:#ffb2b8}.commandbar .warn{border-color:#80642c;background:#2a2112;color:#ffd98b}
.pagehead{margin-bottom:14px}.alertline{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid #223247}.alertline:last-child{border-bottom:0}.bulkbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid #2a3a4f;border-radius:12px;background:#101823}.rowcheck{min-width:0;width:16px;height:16px}.telemetryhead{margin:12px 0}.chartgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chartpanel{margin:0;overflow:hidden}.chartpanel svg{width:100%;height:auto;display:block;margin-top:8px}.chartline{stroke:#7fb6ff;stroke-width:3;vector-effect:non-scaling-stroke}.gridline{stroke:#31445b;stroke-width:1}.gridline.faint{opacity:.55;stroke-dasharray:5 5}.chartlabels{display:flex;justify-content:space-between;color:#7189a1;font-size:12px}.securityscore{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:18px;background:#101823;border:1px solid #223247;border-radius:14px;padding:16px;margin-bottom:12px}.securityscore span{display:block;color:#8ca3ba}.securityscore b{font-size:30px}.scorebar{height:12px;background:#0b1118;border-radius:999px;overflow:hidden;border:1px solid #29384a}.scorebar i{display:block;height:100%;background:linear-gradient(90deg,#d66d73,#e1b462,#66d49d);border-radius:999px}.updateactions{margin-top:14px}@media(max-width:1100px){.chartgrid{grid-template-columns:1fr}.securityscore{grid-template-columns:1fr}}
.reportgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reportgrid .panel{margin:0}.maintenancebanner{margin-top:10px;padding:9px 12px;border:1px solid #745d30;border-radius:10px;background:#241e13;color:#ffd68a;font-size:13px}.maintenancebanner b{margin-right:8px}.managementbuttons{margin-top:14px}.notearea{min-height:86px;padding:12px;border:1px solid #223247;border-radius:10px;background:#0c141d;white-space:normal;line-height:1.5}.pill.maintenance{background:#21344c;color:#a9d0ff;border:1px solid #39587e}@media(max-width:900px){.reportgrid{grid-template-columns:1fr}}
.orgrow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #223247}.orgrow:last-child{border-bottom:0}.orgrow .actions{flex-shrink:0}.policyform textarea{width:100%;min-height:95px;background:#0c141d;border:1px solid #2a3a4f;color:#edf4fb;border-radius:10px;padding:10px;font:inherit;resize:vertical}.formgrid{display:grid;grid-template-columns:1fr 180px;gap:12px}.formgrid label{display:flex;flex-direction:column;gap:6px;color:#9eb1c4;font-size:13px}.formgrid input{min-width:0;width:100%}.formgrid .wide{grid-column:1/-1}.compactgrid{grid-template-columns:repeat(5,minmax(0,1fr))}.checkgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 16px}.checkline{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;color:#dce8f4!important}.checkline input{width:16px!important;min-width:0!important;height:16px}.compliancerow{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:14px 4px;border-bottom:1px solid #223247}.compliancerow:last-child{border-bottom:0}.complianceissue{font-size:12px;color:#d7b56e;margin-top:5px}.complianceissue.failtxt{color:#ff9da4}.righttxt{text-align:right;margin-top:6px}.compliancehero{background:#101823;border:1px solid #223247;border-radius:14px;padding:18px;margin:12px 0}.compliancehero b{font-size:28px;margin-left:10px}.finding{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #223247}.finding:last-child{border-bottom:0}.finding b{min-width:75px}.findingfail b{color:#ff9da4}.findingunknown b{color:#ffd68a}.bulksep{width:1px;height:24px;background:#33465c;margin:0 2px}@media(max-width:900px){.formgrid,.compactgrid,.checkgrid{grid-template-columns:1fr}.formgrid .wide{grid-column:auto}.orgrow,.compliancerow{align-items:flex-start;flex-direction:column}}
.conditionrow{display:grid;grid-template-columns:1.1fr .9fr 1.4fr auto;gap:8px;align-items:center;margin:8px 0}.conditionrow input,.conditionrow select{min-width:0;width:100%}.formrow{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:10px 0}.formrow label{display:flex;flex-direction:column;gap:6px;color:#9eb1c4;font-size:13px}.secondary{background:#0e1620}.previewbox{margin-top:12px;padding:10px;border:1px dashed #31445b;border-radius:10px;min-height:44px}.staticlist{max-height:310px;overflow:auto;border:1px solid #223247;border-radius:10px;padding:8px}.staticlist .checkline{padding:7px 4px;border-bottom:1px solid #1d2b3d}.staticlist .checkline:last-child{border-bottom:0}.staticlist small{display:block;color:#7f95ab}.blockcode{display:block;margin-top:6px;max-width:520px}.jobgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.jobgrid select,.jobgrid input{min-width:0;width:100%}.labelish{display:block;color:#9eb1c4;font-size:13px;margin-bottom:6px}.daychecks{display:flex;gap:8px;flex-wrap:wrap}.daycheck{display:flex!important;flex-direction:row!important;align-items:center;gap:4px!important;padding:6px 8px;border:1px solid #2a3a4f;border-radius:8px;color:#dce8f4!important}.daycheck input{min-width:0!important;width:15px!important;height:15px}.panel:empty{display:none}@media(max-width:900px){.conditionrow{grid-template-columns:1fr}.jobgrid{grid-template-columns:1fr}.jobgrid .wide{grid-column:auto}}
.uploadprogress{margin-top:10px;min-height:24px}.draftbox{margin-top:14px}.draftbox dl dd{word-break:break-all}.draftbox .updateflag{padding:14px}.draftbox button{margin-top:10px}input[type=file]{padding:10px;background:#0d1622;border:1px solid #2b3d52;border-radius:8px;color:inherit}
/* R0.27 resilience */
.loadingbox{display:flex;align-items:center;gap:14px;padding:22px;border:1px solid #2a3a4f;border-radius:14px;background:#101823;color:#dbe8f5}.spinner{width:22px;height:22px;border:3px solid #2c4058;border-top-color:#7fb6ff;border-radius:50%;animation:morriat-spin .8s linear infinite;flex:0 0 auto}@keyframes morriat-spin{to{transform:rotate(360deg)}}.warningbox{padding:13px 14px;margin:0 0 14px;border:1px solid #745d30;border-radius:12px;background:#2b2315;color:#ffd991}.warningbox b{display:block;margin-bottom:6px}.warningbox button{margin-top:9px}.erroractions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.secondary{background:#101823}.uinotices{position:fixed;right:18px;bottom:18px;z-index:9999;display:grid;gap:8px;max-width:min(440px,calc(100vw - 36px))}.uinotice{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px 14px;border:1px solid #75383e;border-radius:12px;background:#351b1f;box-shadow:0 12px 35px rgba(0,0,0,.35)}.uinotice b,.uinotice span{grid-column:1}.uinotice button{grid-column:2;grid-row:1/3;align-self:center;padding:4px 9px;font-size:18px}.uinotice span{color:#ffb4b4;word-break:break-word}

/* =========================================================
   MORRIAT CONTROL R0.32 — CONSOLE 2.0
   Visual language aligned with Morriat Systems branding.
   ========================================================= */
:root{
  --bg:#07101a;--bg2:#091421;--surface:#0d1826;--surface2:#101d2d;--surface3:#132338;
  --line:#213550;--line-soft:#182a40;--text:#edf5ff;--muted2:#8da5bf;
  --blue:#1b63ff;--cyan:#00d9f5;--teal:#18d0b0;--amber:#f4b84a;--red:#ff6674;
  --shadow:0 18px 54px rgba(0,0,0,.28);--radius:16px;--sidebar:248px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#edf5ff;background:var(--bg);color-scheme:dark
}
html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 82% -12%,rgba(27,99,255,.16),transparent 31%),linear-gradient(180deg,#07101a 0,#08121d 60%,#07101a 100%);min-height:100vh;color:var(--text)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 72%)}
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;padding:22px 14px 16px;border-right:1px solid var(--line-soft);background:rgba(6,14,24,.93);backdrop-filter:blur(18px);display:flex;flex-direction:column;z-index:30;overflow-y:auto}
.brand-lockup{display:flex;align-items:center;gap:12px;padding:0 8px 4px}.brand-symbol{width:40px;height:32px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,209,255,.15))}.brand-copy{display:flex;flex-direction:column;line-height:.95}.brand-copy strong{font-size:18px;letter-spacing:.11em}.brand-copy span{font-size:12px;letter-spacing:.28em;color:#8ea8c2;margin-top:7px}.product-build{margin:10px 8px 20px;color:#5f7b99;font-size:12px;text-transform:uppercase;letter-spacing:.16em}
.side-nav{display:flex!important;flex-direction:column;gap:16px;margin:0;align-items:stretch}.side-nav.hidden{display:none!important}.nav-group{display:flex;flex-direction:column;gap:3px}.nav-label{padding:0 10px 6px;color:#58718d;font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:700}.side-nav button{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#9fb3c8;border-radius:10px;padding:8px 10px;font-size:13px}.side-nav button:hover:not(:disabled){background:#0d1d2e;border-color:#1f3854;color:#e9f4ff}.side-nav button.active{background:linear-gradient(90deg,rgba(27,99,255,.19),rgba(0,217,245,.07));border-color:#2b5a8b;color:white;box-shadow:inset 2px 0 #2c76ff}.nav-icon{width:20px;height:20px;display:grid;place-items:center;color:#66aaff;font-size:14px}.sidebar-footer{margin-top:auto;padding:15px 8px 2px;border-top:1px solid var(--line-soft);display:grid;gap:8px}.health-chip{display:flex;gap:8px;align-items:center;color:#8da5bf;font-size:12px}.health-dot{width:7px;height:7px;border-radius:50%;background:#75879b;box-shadow:0 0 0 3px rgba(117,135,155,.08)}.health-chip .ok+.health-dot{background:var(--teal)}
.workspace{min-width:0}.workspace-header{position:sticky;top:0;z-index:20;min-height:82px;padding:17px 26px;display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid rgba(33,53,80,.72);background:rgba(7,16,26,.84);backdrop-filter:blur(20px)}.header-left,.header-actions{display:flex;align-items:center;gap:18px;min-width:0}.eyebrow{font-size:12px;color:#5f7895;letter-spacing:.16em;text-transform:uppercase;font-weight:700}.workspace-header h1{font-size:21px;margin:3px 0 0;letter-spacing:-.02em}.header-actions{justify-content:flex-end}.search-trigger{min-width:350px;display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:8px;text-align:left;color:#7f98b2;background:#0a1522;border-color:#1f334d;padding:9px 11px}.search-trigger:hover{color:#dceaff}.search-trigger kbd,.palette kbd{font:10px ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid #304862;background:#101f31;border-radius:6px;padding:3px 6px;color:#88a6c5}.workspace-main{max-width:none;margin:0;padding:24px 26px 54px;min-width:0}.authbar{margin:0}.login-inline{display:grid;grid-template-columns:140px 140px 140px auto;gap:7px}.login-inline input{min-width:0;width:auto;padding:8px 10px}.authline{flex-wrap:nowrap}.sessionok{font-size:12px;white-space:nowrap}.icon-button{width:38px;height:38px;padding:0;display:grid;place-items:center}.mobile-only{display:none}
.welcome-card{min-height:70vh;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid var(--line-soft);border-radius:22px;background:linear-gradient(145deg,rgba(13,24,38,.85),rgba(7,16,26,.45));box-shadow:var(--shadow);overflow:hidden}.welcome-card img{width:min(420px,60vw);height:120px;object-fit:contain;filter:drop-shadow(0 14px 30px rgba(0,0,0,.25))}.welcome-card h2{font-size:30px;margin:20px 0 8px}.welcome-card p{color:var(--muted2);margin:0}
/* Core surfaces */
.card,.panel,.kpi,.summary>div,.stat{background:linear-gradient(180deg,rgba(16,29,45,.96),rgba(12,24,38,.96));border:1px solid var(--line-soft);border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.08)}.panel{padding:18px}.panel:hover{border-color:#27405f}.pagehead{padding:2px 2px 7px}.pagehead h2{font-size:25px;letter-spacing:-.03em;margin:0 0 5px}.pagehead .muted{max-width:850px}.summary{gap:10px}.summary>div{padding:15px}.summary b{font-size:28px;letter-spacing:-.04em}.stat{min-height:128px;padding:17px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-52px;top:-52px;background:radial-gradient(circle,rgba(27,99,255,.14),transparent 67%)}.stat b{font-size:36px;letter-spacing:-.045em}.stat span{font-weight:600;color:#a6bad0}.stat small{line-height:1.45}.dashgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.columns{gap:10px}.kpis{gap:10px}.kpi{min-height:106px}.tablewrap{border-color:var(--line-soft);border-radius:13px;background:#091420;box-shadow:0 8px 20px rgba(0,0,0,.07)}table{min-width:760px}th{position:sticky;top:0;z-index:2;background:#0d1928;color:#728ca7;font-size:12px;letter-spacing:.1em;padding:10px 11px}td{padding:11px;border-color:#182b41;font-size:13px}.clickable:hover{background:#0f2032}.tablewrap tbody tr{transition:background .12s}.tablewrap tbody tr:hover{background:#0d1c2c}.panelhead{gap:12px}.panelhead h3{font-size:16px}.devicefilters{background:#0c1725;border:1px solid var(--line-soft);padding:10px;border-radius:14px;position:sticky;top:94px;z-index:7}.devicefilters input,.smallinput{background:#08131f}.devicehead{padding:18px;border:1px solid var(--line-soft);border-radius:18px;background:linear-gradient(135deg,#0f1c2c,#0a1522);box-shadow:var(--shadow)}.devicehead h2{font-size:29px;letter-spacing:-.035em}.meta-inline{gap:6px}.devtabs{position:sticky;top:94px;z-index:8;margin:12px 0;padding:7px;background:rgba(8,19,31,.9);backdrop-filter:blur(16px);border:1px solid var(--line-soft);border-radius:13px;overflow:auto;flex-wrap:nowrap}.devtabbtn{white-space:nowrap;border-color:transparent;background:transparent}.devtabbtn.active{background:#13263c;border-color:#29527c}.badge,.chip{background:#102239;border-color:#25435f}.pill{font-size:12px;padding:4px 8px;letter-spacing:.05em}.online,.success{background:#0f3a2c;color:#69e0ad;border-color:#1e694d}.offline,.failed{background:#3c1f28;color:#ff9dab;border-color:#6d3440}.queued{background:#142d4d;color:#87bcff;border-color:#285485}.warn{background:#3b2e17;color:#ffd17b;border-color:#6d5426}.mutedp{background:#1a2634;color:#a6b4c3;border-color:#314254}.errorbox{background:#351b25;color:#ffb8c0;border-color:#69313d;box-shadow:0 10px 26px rgba(0,0,0,.15)}.loadingbox{background:#0d1928;border:1px solid var(--line-soft);border-radius:16px}.formgrid input,.formgrid select,.formgrid textarea,input,select,button,textarea{border-radius:10px;border-color:#263c56;background:#0b1725}button{font-weight:600}button:hover:not(:disabled){border-color:#4778ac;background:#10233a}.secondary{background:#0a1522;color:#9db1c7}.danger{background:#2a1720;color:#ffb4bd;border-color:#5b2b37}.warn{background:#332813;color:#ffd17b}.actionnote{background:#091521;border-color:#1e344e}.notearea{background:#091521}.empty{border-color:#29405a;background:rgba(9,20,32,.45)}
/* Search / command palette */
.palette-backdrop{position:fixed;inset:0;z-index:100;background:rgba(1,7,13,.72);backdrop-filter:blur(8px);display:grid;place-items:start center;padding-top:11vh}.palette{width:min(760px,calc(100vw - 28px));background:#0b1725;border:1px solid #2c4a6d;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.56);overflow:hidden}.palette-search{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;padding:15px;border-bottom:1px solid var(--line-soft)}.palette-search input{border:0;background:transparent;outline:none;min-width:0;width:100%;font-size:16px;padding:4px}.palette-results{max-height:55vh;overflow:auto;padding:7px}.palette-item{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;border:1px solid transparent;border-radius:10px;padding:9px 10px;cursor:pointer}.palette-item:hover,.palette-item.selected{background:#11243a;border-color:#254968}.palette-item .kind{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#132d4c;color:#78b1ff}.palette-item strong{display:block}.palette-item small{color:#7890aa}.palette-hint{font-size:12px;color:#637d98;padding:9px 14px;border-top:1px solid var(--line-soft)}
/* Modal / toasts */
.modal-backdrop{position:fixed;inset:0;z-index:110;background:rgba(2,7,13,.76);backdrop-filter:blur(7px);display:grid;place-items:center;padding:18px}.modal-card{width:min(580px,100%);max-height:86vh;overflow:auto;background:#0c1826;border:1px solid #294866;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line-soft)}.modal-head h3{margin:0;font-size:19px}.modal-body{padding:19px 20px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--line-soft);background:#091521}.modal-close{width:34px;height:34px;padding:0;display:grid;place-items:center}.modal-field{display:grid;gap:6px;margin:0 0 14px}.modal-field span{font-size:12px;color:#8ca5be;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.modal-field input,.modal-field select,.modal-field textarea{width:100%;min-width:0}.modal-field textarea{min-height:110px;resize:vertical}.toast-root{position:fixed;right:18px;bottom:18px;z-index:130;display:grid;gap:8px;width:min(390px,calc(100vw - 36px))}.toast{background:#0e1b2a;border:1px solid #2a4765;border-radius:13px;padding:12px 14px;box-shadow:0 16px 45px rgba(0,0,0,.35);display:grid;grid-template-columns:1fr auto;gap:12px;animation:toastIn .18s ease-out}.toast.success{border-color:#23664e}.toast.error{border-color:#77323f}.toast.warning{border-color:#6d5426}.toast b{display:block;margin-bottom:3px}.toast p{margin:0;color:#94abc2;font-size:12px}.toast button{padding:3px 7px;background:transparent;border:0}.uinotices{right:18px;top:92px}.uinotice{background:#351b25;border-color:#69313d}
@keyframes toastIn{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
/* Better content semantics */
.section-kicker{color:#5d7a99;font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:700}.quick-actions{display:flex;gap:7px;flex-wrap:wrap}.context-card{border:1px solid var(--line-soft);border-radius:14px;background:#091522;padding:14px}.context-card h4{margin:0 0 5px}.context-card p{margin:0;color:#8199b1;font-size:12px}.managementbuttons{margin-top:12px}.auditline{border-color:#1c3046}.network{border-color:#1c3046}.secrow,.barline{border-color:#1c3046}
/* Mobile */
@media(max-width:1180px){:root{--sidebar:214px}.search-trigger{min-width:240px}.search-trigger span:nth-child(2){display:none}.login-inline{grid-template-columns:120px 120px auto}.dashgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.app-shell{display:block}.sidebar{position:fixed;left:-270px;width:260px;transition:left .2s ease;box-shadow:20px 0 60px rgba(0,0,0,.35)}.sidebar.open{left:0}.mobile-only{display:grid}.workspace-header{padding:14px 16px}.workspace-main{padding:16px}.header-actions{flex:1}.search-trigger{margin-left:auto;min-width:46px;width:46px}.search-trigger span:nth-child(2),.search-trigger kbd{display:none}.login-inline{position:absolute;right:16px;top:72px;background:#0b1725;border:1px solid #29435f;border-radius:12px;padding:8px;grid-template-columns:140px 140px auto;box-shadow:var(--shadow)}.dashgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.devicefilters,.devtabs{top:82px}.columns,.securitygrid{grid-template-columns:1fr}}
@media(max-width:600px){.workspace-header h1{font-size:18px}.eyebrow{display:none}.dashgrid,.kpis,.summary{grid-template-columns:1fr}.header-actions{gap:7px}.sessionok{max-width:120px;overflow:hidden;text-overflow:ellipsis}.login-inline{grid-template-columns:1fr;left:14px;right:14px}.brand-copy strong{font-size:16px}.devicehead{padding:14px}.devicehead h2{font-size:23px}.modal-card{border-radius:14px}.pagehead h2{font-size:22px}}
.health-dot.online{background:var(--teal);box-shadow:0 0 0 3px rgba(24,208,176,.1),0 0 14px rgba(24,208,176,.36)}

/* =========================================================
   MORRIAT OPS · R0.32.8 VISUAL LOCK
   Mirrors the approved Operations Overview concept.
   ========================================================= */
:root{
  --ops-bg:#030c18;--ops-bg2:#061325;--ops-panel:#08182b;--ops-panel2:#0b2038;
  --ops-line:#153657;--ops-line-soft:#102941;--ops-text:#f5f8fd;--ops-muted:#86a2c3;
  --ops-blue:#168cff;--ops-cyan:#16c9ff;--ops-green:#18d0a2;--ops-red:#ff6169;--ops-orange:#ffb13b;--ops-violet:#796dff;
  --ops-sidebar:238px;--ops-header:72px;--ops-radius:12px;--ops-shadow:0 22px 60px rgba(0,0,0,.25)
}
html,body{background:var(--ops-bg);color:var(--ops-text)}
body{background:
  radial-gradient(circle at 78% -10%,rgba(21,89,170,.16),transparent 32%),
  radial-gradient(circle at 28% 105%,rgba(0,116,255,.08),transparent 40%),
  linear-gradient(180deg,#030b15 0%,#04111f 100%);font-size:14px;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(55,104,151,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(55,104,151,.018) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 82%)}
.app-shell{display:grid;grid-template-columns:var(--ops-sidebar) minmax(0,1fr);min-height:100vh}
.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:var(--ops-sidebar);display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(4,17,33,.98),rgba(3,12,25,.98));border-right:1px solid rgba(35,82,128,.27);box-shadow:14px 0 50px rgba(0,0,0,.14);padding:0 14px 18px;overflow:auto}
.sidebar:after{content:"";position:absolute;top:0;right:-1px;width:1px;height:100%;background:linear-gradient(180deg,transparent,#157ae9 18%,transparent 48%);opacity:.24;pointer-events:none}
.ops-brand{height:72px;display:flex;align-items:center;gap:9px;padding:0 10px;border-bottom:1px solid rgba(25,60,95,.2);flex:0 0 auto}
.ops-brand-mark{width:54px;height:40px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(16,151,255,.28))}
.ops-brand-word{display:flex;align-items:baseline;gap:4px;letter-spacing:-.045em}.ops-brand-word strong{font-size:21px;color:#168cff}.ops-brand-word span{font-size:20px;color:#bcd2ed;font-weight:500}
.side-nav{padding:18px 3px 8px;display:flex;flex-direction:column;gap:4px;margin:0;flex-wrap:nowrap}
.side-nav button{position:relative;width:100%;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:42px;padding:9px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a7bcd2;text-align:left;font-weight:500;font-size:13px;box-shadow:none}
.side-nav button:hover:not(:disabled){background:rgba(18,48,80,.54);border-color:rgba(40,90,140,.35);color:#eaf4ff}.side-nav button.active{background:linear-gradient(90deg,rgba(18,109,207,.32),rgba(11,44,83,.66));border-color:#1e64a8;color:#4db9ff;box-shadow:inset 3px 0 0 #28c0ff,0 0 20px rgba(0,113,255,.12)}.side-nav button.active:after{content:"";position:absolute;right:-4px;width:3px;height:26px;border-radius:4px;background:#71cfff;box-shadow:0 0 10px #3aa8ff}
.nav-icon{font-size:17px;color:#87aaca;width:24px;display:grid;place-items:center}.side-nav button.active .nav-icon{color:#42c7ff}.nav-count{display:none;min-width:24px;height:22px;border-radius:999px;background:#63293c;color:#ff9fa9;align-items:center;justify-content:center;font-size:12px;font-weight:700}.nav-count.show{display:inline-flex}.nav-separator{height:1px;background:#14304b;margin:12px 6px 13px}.nav-label{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#526d8b;padding:0 10px 8px}.legacy-nav-hidden{display:none}
.sidebar-promo{position:relative;margin:auto 2px 14px;min-height:136px;border:1px solid #143b63;border-radius:10px;background:linear-gradient(145deg,rgba(4,31,57,.92),rgba(5,21,40,.82));overflow:hidden;padding:17px 15px;color:#4dbdff}.sidebar-promo:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 42%,rgba(21,123,255,.15));pointer-events:none}.sidebar-promo img{position:absolute;width:128px;height:92px;object-fit:contain;right:-16px;bottom:-10px;opacity:.8;filter:drop-shadow(0 0 20px rgba(15,159,255,.32))}.promo-copy{position:relative;z-index:1;font-size:13px;line-height:1.25}.promo-copy b{color:#7bd8ff}.sidebar-footer{border-top:1px solid #12304a;padding:14px 10px 0;display:grid;gap:8px;color:#7290ad}.footer-version{font-size:12px}.footer-version span{color:#53708d}.health-chip{display:flex;gap:7px;align-items:center;font-size:12px}.health-dot{width:8px;height:8px;border-radius:50%;background:#526071}.health-dot.online{background:#12d5a1;box-shadow:0 0 12px rgba(18,213,161,.55)}
.workspace{grid-column:2;min-width:0}.workspace-header{position:sticky;top:0;z-index:20;height:var(--ops-header);display:flex;align-items:center;gap:14px;padding:0 27px;background:rgba(4,15,29,.82);border-bottom:1px solid rgba(25,61,97,.38);backdrop-filter:blur(20px);box-shadow:0 10px 28px rgba(0,0,0,.11)}
.workspace-header:after{content:"";position:absolute;pointer-events:none;inset:0;background:url('/ui/0.36.0/ops-topography.svg') right -90px top -45px/690px auto no-repeat;opacity:.2}.header-spacer{flex:1}.search-trigger{position:relative;z-index:1;width:min(565px,42vw);min-width:300px;height:38px;display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;color:#7c9abc;background:linear-gradient(180deg,#081a2d,#061426);border:1px solid #1e4268;border-radius:8px;padding:0 12px;box-shadow:inset 0 1px rgba(255,255,255,.02)}.search-trigger:hover{border-color:#2c6ca8;background:#0a1f35;color:#b8cde3}.search-glyph{font-size:20px;color:#7ca8d7}.search-trigger kbd{font-size:12px;border:1px solid #22466d;background:#0a1b2f;border-radius:5px;padding:3px 6px;color:#7090b2}.environment-chip,.top-icon,.profile-chevron{position:relative;z-index:1;height:38px;border-radius:8px;background:#07182b;border:1px solid #1b3b5f;color:#dce9f7}.environment-chip{display:flex;align-items:center;gap:8px;padding:0 13px;font-size:12px}.env-dot{width:8px;height:8px;border-radius:50%;background:#18d0a2;box-shadow:0 0 10px rgba(24,208,162,.5)}.top-icon{width:38px;padding:0;font-size:17px;display:grid;place-items:center}.top-icon i{position:absolute;width:7px;height:7px;background:#ff6670;border-radius:50%;top:7px;right:7px;border:1px solid #07182b}.authbar{margin:0;position:relative;z-index:1}.profile-menu{display:grid;grid-template-columns:37px minmax(90px,auto) 30px;gap:8px;align-items:center;position:relative}.profile-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#3984ff,#2349c7);color:white;border:1px solid #5d9dff;font-size:12px;font-weight:700;box-shadow:0 0 18px rgba(51,117,255,.22)}.profile-copy strong,.profile-copy span{display:block;white-space:nowrap}.profile-copy strong{font-size:12px;color:#e7f1fb}.profile-copy span{font-size:12px;color:#708ca8;margin-top:2px}.profile-chevron{width:30px;height:30px;padding:0;border:0;background:transparent}.profile-popover{display:none;position:absolute;top:47px;right:0;width:220px;background:#08192b;border:1px solid #24476b;border-radius:10px;padding:11px;box-shadow:0 22px 60px rgba(0,0,0,.4)}.profile-popover.open{display:grid;gap:10px}.profile-popover .sessionok{font-size:12px;color:#8fb0ce}.profile-popover button{width:100%}.login-inline{position:absolute;right:0;top:47px;display:grid;grid-template-columns:150px 150px 150px auto;gap:7px;padding:10px;background:#071729;border:1px solid #25486e;border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.4)}.login-inline input{min-width:0;width:150px}
.workspace-main{max-width:none;margin:0;padding:18px 22px 36px;min-width:0}.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}
/* dashboard */
.ops-overview{max-width:1460px;margin:0 auto}.ops-hero{position:relative;min-height:92px;display:flex;justify-content:space-between;align-items:flex-start;padding:7px 14px 14px 18px;overflow:hidden}.ops-hero:after{content:"";position:absolute;inset:-72px -20px auto 42%;height:200px;background:url('/ui/0.36.0/ops-topography.svg') right top/840px auto no-repeat;opacity:.5;pointer-events:none}.ops-hero h2{position:relative;z-index:1;margin:0;font-size:33px;line-height:1.1;letter-spacing:-.045em;font-weight:700}.ops-hero h2 span{color:#45a9ff}.ops-hero p{position:relative;z-index:1;color:#88a9ca;margin:8px 0 0;font-size:14px}.ops-hero-right{position:relative;z-index:1;text-align:right;padding-top:2px;min-width:220px}.ops-hero-right small{display:block;color:#6683a1;font-size:12px;letter-spacing:.13em}.ops-hero-right strong{display:block;color:#3f9eff;font-size:20px;line-height:1.12;margin-top:7px;font-weight:600}
.ops-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:12px}.ops-metric{position:relative;min-height:116px;overflow:hidden;display:grid;grid-template-columns:43px minmax(0,1fr);align-items:start;gap:8px;padding:18px 14px 13px;background:linear-gradient(180deg,rgba(8,28,49,.98),rgba(6,23,42,.97));border:1px solid #153c65;border-radius:9px;box-shadow:0 9px 25px rgba(0,0,0,.16)}.ops-metric:after{content:"";position:absolute;left:0;right:0;bottom:0;height:35px;background:linear-gradient(180deg,transparent,rgba(0,132,255,.06))}.ops-metric-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#0d2d55;color:#40aaff;font-size:20px;box-shadow:0 0 18px rgba(40,146,255,.24)}.ops-metric-copy{position:relative;z-index:2}.ops-metric-copy>span{display:block;color:#b7c9da;font-size:12px}.ops-metric-value{display:flex;gap:8px;align-items:baseline;margin-top:5px}.ops-metric-value b{font-size:24px;line-height:1;color:#fff;letter-spacing:-.04em}.ops-metric-value em{font-style:normal;color:#18d0a2;font-size:12px}.ops-metric-copy small{display:block;color:#6f8ba8;margin-top:6px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tone-green .ops-metric-icon{background:#0b403d;color:#24d8bb}.tone-red .ops-metric-icon{background:#44212f;color:#ff6f7b}.tone-violet .ops-metric-icon{background:#25274e;color:#9d8cff}.tone-green:after{background:linear-gradient(180deg,transparent,rgba(24,208,162,.08))}.tone-red:after{background:linear-gradient(180deg,transparent,rgba(255,97,105,.08))}.tone-violet:after{background:linear-gradient(180deg,transparent,rgba(121,109,255,.08))}
.ops-dashboard-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(270px,.86fr) minmax(270px,.86fr);grid-template-rows:190px 132px;gap:11px}.ops-card{background:linear-gradient(180deg,rgba(7,25,44,.98),rgba(5,20,37,.97));border:1px solid #153753;border-radius:9px;box-shadow:0 14px 34px rgba(0,0,0,.14);overflow:hidden}.ops-trend-card{grid-row:span 2;padding:14px 16px 10px}.ops-health-card{padding:14px}.ops-quick-card{grid-row:span 2;padding:14px}.ops-patch-card{padding:13px 15px}.ops-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:34px}.ops-card-head h3{margin:0;font-size:14px;letter-spacing:-.01em;color:#eef6ff}.ops-card-head p{margin:3px 0 0;color:#718da9;font-size:12px}.ops-card-head button{border:0;background:transparent;color:#42a7ff;padding:2px 0;font-size:12px}.ops-period{font-size:12px;color:#8ba5bf;border:1px solid #1b3e63;background:#091b30;border-radius:6px;padding:6px 8px}.ops-more{letter-spacing:2px!important;color:#87a8c8!important}.ops-trend-svg{width:100%;height:236px;display:block;margin:2px 0 -6px}.ops-gridline{stroke:#12304d;stroke-width:1}.ops-line-online{fill:none;stroke:#1db7ff;stroke-width:2.2;filter:drop-shadow(0 0 4px rgba(29,183,255,.35))}.ops-line-offline{fill:none;stroke:#4e70cc;stroke-width:1.8}.ops-chart-legend{display:flex;justify-content:flex-end;gap:18px;color:#7894b0;font-size:12px}.ops-chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.online-dot{background:#1db7ff}.offline-dot{background:#4e70cc}.ops-health-wrap{height:139px;display:grid;grid-template-columns:132px 1fr;gap:10px;align-items:center}.ops-health-donut{width:112px;height:112px;border-radius:50%;background:conic-gradient(#19d3a7 0 calc(var(--healthy)*1%),#ffb43b calc(var(--healthy)*1%) calc(var(--warn)*1%),#ff6972 calc(var(--warn)*1%) calc(var(--critical)*1%),#38506b calc(var(--critical)*1%) 100%);display:grid;place-items:center;position:relative;margin:auto;box-shadow:0 0 28px rgba(24,208,162,.08)}.ops-health-donut:before{content:"";position:absolute;width:78px;height:78px;border-radius:50%;background:#061426;border:1px solid #153450}.ops-health-donut div{z-index:1;text-align:center}.ops-health-donut b{display:block;font-size:20px}.ops-health-donut span{display:block;color:#7791ac;font-size:12px}.ops-health-legend{display:grid;gap:7px}.ops-health-legend span{display:grid;grid-template-columns:8px 28px 1fr auto;align-items:center;gap:5px;color:#8da6bf;font-size:12px}.ops-health-legend i{width:7px;height:7px;border-radius:50%}.ops-health-legend i.good{background:#19d3a7}.ops-health-legend i.warn{background:#ffb43b}.ops-health-legend i.bad{background:#ff6972}.ops-health-legend i.muted-dot{background:#38506b}.ops-health-legend b{color:#eff7ff}.ops-health-legend em{font-style:normal;color:#637e9b}.ops-quick-card>.ops-card-head{margin-bottom:8px}.ops-quick-card>button{width:100%;height:49px;display:grid;grid-template-columns:34px 1fr 12px;gap:8px;align-items:center;text-align:left;margin:0 0 7px;padding:6px 9px;border:1px solid #183b5d;border-radius:7px;background:#081b30;color:#d8e6f4}.ops-quick-card>button:hover{background:#0c2440;border-color:#24629a}.ops-quick-card>button>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#0b2e58;color:#34afff;font-size:15px}.ops-quick-card b,.ops-quick-card small{display:block}.ops-quick-card b{font-size:12px}.ops-quick-card small{font-size:12px;color:#6785a3;margin-top:2px}.ops-quick-card em{font-style:normal;color:#6c8cac;font-size:17px}.ops-patch-title{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.ops-patch-title b{font-size:12px}.ops-patch-title span{font-size:12px;padding:4px 7px;border-radius:999px;background:#0c433b;color:#3ee1bd;border:1px solid #145d50}.ops-progress{height:7px;border-radius:999px;background:#102b47;overflow:hidden}.ops-progress i{display:block;height:100%;background:linear-gradient(90deg,#3386ff,#1cd0eb);border-radius:999px}.ops-patch-foot{display:flex;justify-content:space-between;margin-top:7px;color:#6d89a5;font-size:12px}.ops-patch-foot b{color:#bcd8f3;font-size:13px}
.ops-lower-grid{display:grid;grid-template-columns:1.15fr 1.1fr .85fr;gap:11px;margin-top:11px}.ops-lower-grid>.ops-card{min-height:235px;padding:12px}.ops-alert-symbol{color:#ff6c73}.ops-alert-list,.ops-activity-list{margin-top:7px}.ops-alert-row{display:grid;grid-template-columns:72px minmax(0,1fr) 64px;gap:8px;align-items:center;min-height:36px;border-top:1px solid #102b45;padding:6px 2px}.ops-alert-row:first-child{border-top:0}.ops-alert-row b,.ops-alert-row small{display:block}.ops-alert-row b{font-size:12px;color:#61afff}.ops-alert-row small{font-size:12px;color:#8299b0;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-alert-row time{font-size:12px;color:#6c86a0;text-align:right}.ops-alert-row .pill{font-size:12px;padding:3px 5px}.ops-table-wrap{margin-top:7px;overflow:auto}.ops-mini-table{min-width:650px}.ops-mini-table th{font-size:12px;padding:7px;background:#091a2e}.ops-mini-table td{font-size:12px;padding:7px;border-color:#102a43}.ops-mini-table small{display:block;color:#637f9b;margin-top:2px}.ops-device-name{color:#4aabff}.ops-mini-table .pill{font-size:12px;padding:3px 5px}.ops-activity-row{display:grid;grid-template-columns:12px minmax(0,1fr) 58px;gap:8px;align-items:center;min-height:37px;position:relative}.ops-activity-row:before{content:"";position:absolute;left:4px;top:26px;bottom:-12px;width:1px;background:#17405e}.ops-activity-row:last-child:before{display:none}.ops-activity-row>i{width:9px;height:9px;border-radius:50%;background:#2da7ff;box-shadow:0 0 10px rgba(45,167,255,.5);z-index:1}.ops-activity-row>i.tone-green{background:#18d0a2}.ops-activity-row>i.tone-violet{background:#806eff}.ops-activity-row>i.tone-red{background:#ff6972}.ops-activity-row b,.ops-activity-row small{display:block}.ops-activity-row b{font-size:12px}.ops-activity-row small{font-size:12px;color:#667f99}.ops-activity-row time{text-align:right;font-size:12px;color:#6c86a0}.ops-empty{color:#708ba5;padding:24px 10px;text-align:center}.ops-statusbar{display:flex;justify-content:flex-end;gap:26px;align-items:center;color:#55728f;font-size:12px;padding:13px 3px 0}.ops-statusbar span:first-child{color:#71a68f}.ops-statusbar i{display:inline-block;width:7px;height:7px;background:#18d0a2;border-radius:50%;margin-right:5px}
/* make the rest of the console feel like the same product */
.card,.panel,.kpi,.summary>div,.stat,.tablewrap,.devicehead,.devicefilters,.devtabs,.securityscore,.context-card,.bulkbar,.loadingbox,.welcome-card{background:linear-gradient(180deg,rgba(7,25,44,.98),rgba(5,20,37,.96));border-color:#153753;border-radius:9px;box-shadow:0 12px 34px rgba(0,0,0,.12)}.panel:hover{border-color:#1e4c78}.pagehead{padding:3px 1px 12px}.pagehead h2{font-size:25px;color:#f5f8fd}.section-kicker{color:#468fd0}.tablewrap{background:#061528}.tablewrap th{background:#091b30;color:#6f8ca9;border-color:#14314d}.tablewrap td{border-color:#102a43}.tablewrap tbody tr:hover{background:#0a2037}.devicefilters{top:83px;background:rgba(5,19,35,.94);backdrop-filter:blur(18px)}.devtabs{top:83px;background:rgba(5,19,35,.92);border-color:#153753}.devtabbtn.active{background:#0c2a49;border-color:#2364a1;color:#54b7ff}.devicehead{background:linear-gradient(135deg,#081b31,#071426);position:relative;overflow:hidden}.devicehead:after{content:"";position:absolute;right:-30px;top:-80px;width:530px;height:230px;background:url('/ui/0.36.0/ops-topography.svg') right top/530px auto no-repeat;opacity:.25;pointer-events:none}.devicehead>*{position:relative;z-index:1}input,select,button,textarea{background:#07182a;border-color:#1b3e61;color:#e9f3fd;border-radius:7px}button:hover:not(:disabled){background:#0b2541;border-color:#2c6da7}.secondary{background:#061526}.formgrid input,.formgrid select,.formgrid textarea{background:#061426}.modal-card{background:#061629;border-color:#1f4b75;border-radius:11px}.modal-head,.modal-actions{border-color:#153451}.modal-actions{background:#051222}.palette{background:#061629;border-color:#235581;border-radius:11px}.palette-item:hover,.palette-item.selected{background:#0b2b4a;border-color:#256aa5}.toast{background:#071a2e;border-color:#1f4d77;border-radius:8px}.pill{border-radius:999px}.online,.success{background:#0b4034;color:#4ee2b5;border-color:#17634f}.offline,.failed{background:#45212a;color:#ff9aa4;border-color:#723742}.warn{background:#422f15;color:#ffc66d;border-color:#765525}.queued{background:#0c2f50;color:#69baff;border-color:#245f94}.mutedp{background:#142536;color:#9aadc1;border-color:#28425c}
.welcome-card{min-height:calc(100vh - 130px);align-content:center}.welcome-logo{display:flex;align-items:center;justify-content:center;gap:6px}.welcome-logo img{width:100px;height:65px;object-fit:contain}.welcome-logo strong{font-size:38px;color:#168cff;letter-spacing:-.06em}.welcome-logo span{font-size:36px;color:#bfd4ec;font-weight:400;letter-spacing:-.04em}.welcome-card h2{margin-top:12px}.welcome-card>img{display:none}
@media(max-width:1320px){.ops-metrics{grid-template-columns:repeat(3,1fr)}.ops-dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);grid-template-rows:auto}.ops-quick-card{grid-column:2;grid-row:1/span 2}.ops-trend-card{grid-row:1/span 2}.ops-health-card,.ops-patch-card{grid-column:1}.ops-lower-grid{grid-template-columns:1fr 1fr}.ops-activity-card{grid-column:1/-1}.profile-copy{display:none}.profile-menu{grid-template-columns:37px 30px}}
@media(max-width:1050px){:root{--ops-sidebar:210px}.ops-metrics{grid-template-columns:repeat(2,1fr)}.ops-dashboard-grid{display:grid;grid-template-columns:1fr}.ops-trend-card,.ops-quick-card,.ops-health-card,.ops-patch-card{grid-column:auto;grid-row:auto}.ops-lower-grid{grid-template-columns:1fr}.ops-activity-card{grid-column:auto}.search-trigger{width:42vw;min-width:220px}.environment-chip{display:none}}
@media(max-width:820px){.app-shell{display:block}.sidebar{left:-250px;width:238px;transition:left .2s ease}.sidebar.open{left:0}.workspace{grid-column:1}.workspace-header{padding:0 13px}.mobile-only{display:grid}.search-trigger{min-width:0;width:46px}.search-trigger>span:nth-child(2),.search-trigger kbd{display:none}.top-icon{display:none}.workspace-main{padding:14px}.ops-hero-right{display:none}.ops-hero h2{font-size:28px}.ops-metrics{grid-template-columns:1fr 1fr}.login-inline{left:auto;right:0;grid-template-columns:1fr;width:min(420px,calc(100vw - 28px))}.login-inline input{width:100%}}
@media(max-width:560px){.ops-metrics{grid-template-columns:1fr}.ops-hero{padding-left:4px}.ops-health-wrap{grid-template-columns:1fr;height:auto}.ops-health-legend{padding:0 20px 8px}.ops-trend-svg{height:180px}.ops-overview{min-width:0}.welcome-logo strong{font-size:28px}.welcome-logo span{font-size:27px}.welcome-logo img{width:80px}}


/* ================================================================
   MORRIAT OPS · R0.32.8 UX REFINEMENT
   SVG icon system + endpoint mini-dashboard + console polish
   ================================================================ */
.ui-icon{width:18px;height:18px;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.ui-icon.xs{width:13px;height:13px}.ui-icon.small{width:15px;height:15px}.nav-icon .ui-icon{width:18px;height:18px}.search-glyph .ui-icon{width:18px;height:18px}.top-icon .ui-icon{width:18px;height:18px}.profile-chevron .ui-icon{width:15px;height:15px}.section-title-icon{width:19px;height:19px;margin-right:8px;color:#43aaff;vertical-align:-3px}.section-title-icon.small{width:16px;height:16px;margin-right:7px;color:#4a9ee8}.pagehead h2{display:flex;align-items:center;letter-spacing:-.035em}.panel h3,.panelhead h3{display:flex;align-items:center}.icon-label{display:inline-flex;align-items:center;justify-content:center;gap:7px}.icon-label .ui-icon{width:15px;height:15px}.palette-item .kind{display:grid;place-items:center}.palette-item .kind .ui-icon{width:17px;height:17px;color:#55b6ff}

/* refine global density and information hierarchy */
.workspace-main{padding:18px 20px 28px}.workspace-main>#content{max-width:1540px;margin:0 auto}.pagehead{min-height:62px;padding:7px 2px 13px;margin-bottom:4px}.pagehead h2{font-size:24px;margin:0 0 5px}.pagehead .muted{max-width:820px;line-height:1.45}.panel{border:1px solid #143856;background:linear-gradient(180deg,rgba(7,25,44,.97),rgba(5,19,35,.98));box-shadow:0 12px 32px rgba(0,0,0,.10)}.panel:hover{border-color:#1b466e}.panel h3{font-size:15px;letter-spacing:-.01em}.panelhead{gap:12px}.tablewrap{border-radius:9px;border-color:#143856;box-shadow:none}th{font-size:12px;letter-spacing:.075em;color:#7390ad;padding:9px 10px}td{font-size:12px;padding:9px 10px}.tablewrap tbody tr{transition:background .12s ease}.tablewrap tbody tr:hover{background:rgba(18,51,81,.52)}.badge{font-size:12px;padding:4px 8px;background:#0b2743;border-color:#1a4e7b;color:#87c7ff}.chip{gap:5px}.chip .ui-icon{width:12px;height:12px}.empty{border-radius:9px;background:rgba(7,23,40,.45)}button{font-size:12px}.tiny{padding:5px 8px}.actions{align-items:center}.actionnote{border-color:#173955;background:#071a2c;color:#7692ac}.formgrid label{color:#89a5bf}.formgrid input,.formgrid select,.formgrid textarea{border-color:#183c5d}.reportgrid .panel{min-height:150px;position:relative;overflow:hidden}.reportgrid .panel:after{content:"";position:absolute;right:-45px;bottom:-75px;width:170px;height:170px;border-radius:50%;border:1px solid rgba(51,143,224,.08)}

/* fleet screen */
.fleet-pagehead{margin-bottom:6px}.fleet-filters{position:sticky;top:72px;z-index:8;padding:10px;border:1px solid #143856;border-radius:9px;background:rgba(5,19,35,.9);box-shadow:0 12px 24px rgba(0,0,0,.12);backdrop-filter:blur(18px)}.fleet-filters input,.fleet-filters select{height:36px;padding:7px 10px;font-size:12px}.fleet-filters input{background:linear-gradient(180deg,#07182a,#061526)}.summary{gap:8px;margin:9px 0}.summary>div{padding:10px 12px;min-height:56px;border-radius:8px}.summary b{font-size:18px}.summary span{font-size:12px}.bulkbar{border-radius:8px;padding:8px 10px}

/* device mini-dashboard */
.device-hero-v2{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-height:132px;padding:18px 20px;margin-bottom:10px;border:1px solid #174263;border-radius:11px;background:radial-gradient(circle at 88% 0,rgba(27,105,170,.16),transparent 34%),linear-gradient(135deg,#081c32 0,#061528 57%,#071a30 100%);overflow:hidden;box-shadow:0 16px 42px rgba(0,0,0,.15)}.device-hero-v2:after{content:"";position:absolute;inset:-85px -15px auto 48%;height:250px;background:url('/ui/0.36.0/ops-topography.svg') right top/710px auto no-repeat;opacity:.24;pointer-events:none}.device-hero-v2>*{position:relative;z-index:1}.device-hero-main{display:grid;grid-template-columns:34px 54px minmax(0,1fr);gap:13px;align-items:center}.device-back{width:32px;height:32px;padding:0;display:grid;place-items:center;border-color:#173d5f;background:#07172a;color:#8db5d9}.device-back .ui-icon{width:16px;height:16px}.device-glyph{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;color:#53bcff;background:radial-gradient(circle at 35% 30%,rgba(44,173,255,.26),rgba(11,61,101,.42));border:1px solid #20547e;box-shadow:inset 0 1px rgba(255,255,255,.04),0 10px 28px rgba(0,104,183,.12)}.device-glyph .ui-icon{width:27px;height:27px}.device-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#6486a5;margin-bottom:4px}.device-eyebrow span{color:#2e71a6}.device-titleblock h2{margin:0;color:#f3f8ff;font-size:27px;line-height:1.05;letter-spacing:-.045em}.device-subtitle{display:flex;gap:10px;align-items:center;color:#7f9eba;font-size:12px;margin-top:6px;min-width:0}.device-subtitle .subtle-id{opacity:.66;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}.meta-chip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 7px;border-radius:6px;border:1px solid #173b5b;background:#071a2e;color:#9cb6ce;font-size:12px}.meta-chip.soft{background:#0a2138;color:#6f91ad}.device-hero-actions{min-width:250px;display:grid;justify-items:end;gap:13px}.device-state-stack{text-align:right}.device-state-stack small{display:block;color:#66839f;font-size:12px;margin-top:5px}.device-action-row{display:flex;gap:7px}.device-action-row button{height:34px;padding:0 10px;background:#07182a}.device-maintenance{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:-2px 0 -5px;padding:8px 10px;border-top:1px solid rgba(255,190,79,.18);color:#ffc56c}.device-maintenance .ui-icon{width:17px;height:17px}.device-maintenance b,.device-maintenance span{display:block}.device-maintenance b{font-size:12px}.device-maintenance span{font-size:12px;color:#a9864d;margin-top:2px}
.device-factbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px}.device-fact{min-height:72px;padding:11px 12px;display:grid;grid-template-columns:33px minmax(0,1fr);gap:9px;align-items:center;border:1px solid #143856;border-radius:9px;background:linear-gradient(180deg,#071a2d,#061426)}.device-fact-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#47adfa;background:#0a2b4a;border:1px solid #15456f}.device-fact-icon .ui-icon{width:16px;height:16px}.device-fact small,.device-fact b,.device-fact em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-fact small{font-size:12px;color:#63819e;text-transform:uppercase;letter-spacing:.06em}.device-fact b{font-size:12px;color:#edf6ff;margin-top:3px}.device-fact em{font-size:12px;font-style:normal;color:#6a88a3;margin-top:2px}
.device-meters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:9px}.device-meter{min-height:94px;padding:11px 12px;border:1px solid #143856;border-radius:9px;background:linear-gradient(180deg,#071a2d,#061426);overflow:hidden;position:relative}.device-meter-top{display:grid;grid-template-columns:31px minmax(0,1fr);gap:9px;align-items:center}.device-meter-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#0b2e4f;color:#47b4ff}.device-meter-icon .ui-icon{width:16px;height:16px}.device-meter-top span{display:block;color:#6d8ba8;font-size:12px}.device-meter-top b{display:block;color:#f3f8ff;font-size:13px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-meter-track{height:4px;border-radius:999px;background:#102a43;margin:10px 0 7px;overflow:hidden}.device-meter-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#237fdf,#35c5ff);box-shadow:0 0 9px rgba(53,197,255,.18)}.device-meter small{display:block;color:#607f9d;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-meter.tone-green .device-meter-icon{background:#0a3734;color:#2bd7b3}.device-meter.tone-green .device-meter-track i{background:linear-gradient(90deg,#119f85,#35ddbb)}.device-meter.tone-amber .device-meter-icon{background:#3a2a16;color:#ffc15d}.device-meter.tone-amber .device-meter-track i{background:linear-gradient(90deg,#d58d27,#ffc45b)}.device-meter.tone-red .device-meter-icon{background:#3e1f2a;color:#ff7381}.device-meter.tone-red .device-meter-track i{background:linear-gradient(90deg,#d74d5c,#ff7480)}.device-meter.tone-violet .device-meter-icon{background:#242649;color:#a195ff}.device-meter.tone-violet .device-meter-track i{background:linear-gradient(90deg,#6555d6,#9e91ff)}
.health-strip{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 9px;padding:8px 10px;border:1px solid #5a4522;border-radius:8px;background:rgba(74,50,18,.45)}.health-strip>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.health-strip .ui-icon{width:15px;height:15px;color:#ffc15d}.health-strip b{font-size:12px;color:#ffd080}.health-strip span{font-size:12px;padding:3px 6px;border-radius:5px;background:#2b2318;color:#c6a56b}
.devtabs{display:flex;gap:5px;align-items:stretch;position:sticky;top:72px;z-index:7;margin:0 0 9px;padding:7px;border-radius:9px;overflow-x:auto;flex-wrap:nowrap;background:rgba(5,19,35,.92);backdrop-filter:blur(18px);box-shadow:0 8px 24px rgba(0,0,0,.12)}.devtab-group{display:grid;gap:4px;flex:0 0 auto;padding:0 6px 0 0;border-right:1px solid #12334f}.devtab-group:last-child{border-right:0;padding-right:0}.devtab-group>div{display:flex;gap:4px}.devtab-group-label{padding-left:5px;color:#506f8d;font-size:12px;text-transform:uppercase;letter-spacing:.11em}.devtabbtn{height:31px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border-radius:6px;border:1px solid transparent;background:transparent;color:#829db7;font-size:12px;white-space:nowrap}.devtabbtn:hover:not(:disabled){background:#0b2138;border-color:#173d60}.devtabbtn.active{background:#0b2b4a;border-color:#23659d;color:#6cc2ff;box-shadow:inset 0 1px rgba(255,255,255,.025)}.devtabbtn .tab-icon{width:13px;height:13px}.disabledtab{opacity:.37}.device-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.7fr);gap:9px;margin-top:0}.device-overview-grid>.panel{margin:0}.device-network-panel{grid-column:1/-1}.context-chip{display:inline-flex;align-items:center;height:24px;padding:0 7px;border-radius:6px;border:1px solid #164064;background:#082039;color:#72bdf6;font-size:12px}.snapshot-list{display:grid;gap:0}.snapshot-list>div{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:9px 0;border-bottom:1px solid #112f49}.snapshot-list>div:last-child{border-bottom:0}.snapshot-list span{color:#6d8ba7;font-size:12px}.snapshot-list b{font-size:12px;color:#dceafa;text-align:right}.panel-corner-icon{width:18px;height:18px;color:#4baeff}.network-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px}.network-card{display:grid;grid-template-columns:33px minmax(0,1fr);gap:9px;padding:9px;border:1px solid #133752;border-radius:8px;background:#06172a}.network-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#45b1fb;background:#0a2b49}.network-icon .ui-icon{width:16px;height:16px}.network-card b,.network-card small,.network-card code{display:block}.network-card b{font-size:12px}.network-card small{font-size:12px;color:#607d99;margin:2px 0 4px}.network-card code{font-size:12px;color:#86bfe9;line-height:1.35}.usage-cell{display:flex;align-items:center;gap:8px;min-width:100px}.usage-cell>span{height:4px;flex:1;background:#102b45;border-radius:999px;overflow:hidden}.usage-cell i{display:block;height:100%;background:#32b9f8;border-radius:999px}.usage-cell b{font-size:12px;color:#8fb4d5}.capability-panel .chips{gap:5px}.capability-panel .chip{font-size:12px;padding:4px 6px;background:#082039;border-color:#153f62;color:#82a8c8}.warningbox{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:9px;padding:9px 10px;border:1px solid #614a23;border-radius:8px;background:#2d2418;color:#d8b874;font-size:12px}.warningbox-icon{display:grid;place-items:center;color:#ffc15d}.warningbox-icon .ui-icon{width:17px;height:17px}

/* cards and generic screens */
.grid{gap:9px}.card{border-radius:9px;border-color:#143856;background:linear-gradient(180deg,#071a2d,#061426);padding:12px}.card:hover{border-color:#20517c}.reportgrid{gap:9px}.reportgrid .panel{border-radius:9px}.audit-grid{grid-template-columns:repeat(auto-fit,minmax(330px,1fr))}.orgrow{padding:9px 0}.securityscore{border-radius:9px;border-color:#143856;background:#06172a}.chartpanel svg{max-height:185px}.modal-card{box-shadow:0 28px 80px rgba(0,0,0,.46)}

@media(max-width:1180px){.device-meters{grid-template-columns:repeat(3,minmax(0,1fr))}.device-factbar{grid-template-columns:repeat(2,minmax(0,1fr))}.device-overview-grid{grid-template-columns:1fr}.device-network-panel{grid-column:auto}.device-hero-v2{grid-template-columns:1fr}.device-hero-actions{justify-items:start;min-width:0}.device-state-stack{text-align:left}.devtabs{top:70px}}
@media(max-width:760px){.workspace-main{padding:12px}.device-hero-v2{padding:14px}.device-hero-main{grid-template-columns:32px 44px minmax(0,1fr);gap:9px}.device-glyph{width:42px;height:42px}.device-titleblock h2{font-size:21px}.device-subtitle{flex-wrap:wrap}.device-action-row{flex-wrap:wrap}.device-factbar,.device-meters{grid-template-columns:1fr 1fr}.fleet-filters{top:65px}.pagehead{align-items:flex-start}.devtabs{top:65px}.device-meter{min-width:0}}
@media(max-width:500px){.device-factbar,.device-meters{grid-template-columns:1fr}.device-hero-main{grid-template-columns:32px minmax(0,1fr)}.device-glyph{display:none}.device-action-row{width:100%}.device-action-row button{flex:1}.device-tags{gap:4px}.meta-chip{max-width:100%}.health-strip{align-items:flex-start;flex-direction:column}}

/* ================================================================
   MORRIAT OPS 0.32.3 — COHESIVE CONSOLE / DEVICE MINI-DASHBOARD
   Visual-density pass inspired by enterprise design-system practice:
   strong hierarchy, consistent icon boxes, compact controls, subtle art.
   ================================================================ */
:root{
  --ops-bg:#04101d;--ops-bg-2:#061525;--ops-panel:#071a2d;--ops-panel-2:#081d32;
  --ops-border:#153957;--ops-border-soft:#102d47;--ops-text:#eef6ff;--ops-muted:#7f9bb7;
  --ops-blue:#18a7ff;--ops-cyan:#30c8ff;--ops-green:#17d39e;--ops-amber:#ffb63f;--ops-red:#ff5966;
}
body{background:radial-gradient(circle at 62% -10%,rgba(28,99,160,.13),transparent 34%),linear-gradient(180deg,#04101d 0,#04111e 44%,#051320 100%)}
.workspace-main{padding:20px 22px 34px}.workspace-main>#content{max-width:1480px;margin:0 auto}
.ui-icon{display:block;width:18px;height:18px;min-width:18px;min-height:18px;stroke:currentColor;fill:none;vertical-align:middle;overflow:visible}.ui-icon.xs{width:12px;height:12px;min-width:12px;min-height:12px}.section-title-icon{width:21px;height:21px;min-width:21px;min-height:21px;margin-right:8px;color:#58b9ff}.section-title-icon.small{width:16px;height:16px;min-width:16px;min-height:16px;margin-right:7px}
.nav-icon{width:28px;height:28px;display:grid;place-items:center;flex:none}.side-nav button .nav-icon .ui-icon{width:17px;height:17px;min-width:17px;min-height:17px}.side-nav button{min-height:40px;align-items:center}.side-nav button>span:not(.nav-icon):not(.nav-count){line-height:1.15}
.icon-label{display:inline-flex!important;align-items:center!important;justify-content:center;gap:7px}.icon-label .ui-icon{width:15px;height:15px;min-width:15px;min-height:15px}
.panel,.card,.ops-card{background:linear-gradient(180deg,rgba(8,28,48,.98),rgba(6,21,37,.98));border:1px solid var(--ops-border);box-shadow:inset 0 1px rgba(255,255,255,.018)}
.panel{padding:14px 15px;border-radius:11px}.panelhead{min-height:34px;align-items:flex-start}.panelhead h3,.panel>h3{font-size:14px;letter-spacing:-.01em}.muted{color:var(--ops-muted)}
.tablewrap,.ops-table-wrap{border:1px solid #102f4a;border-radius:9px;overflow:auto;background:#061526}table{border-collapse:separate;border-spacing:0;width:100%}thead th{background:#0a2138;color:#7f9fbd;font-size:12px;text-transform:uppercase;letter-spacing:.055em;border-bottom:1px solid #183957}tbody td{border-bottom:1px solid #102c45}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:rgba(18,52,82,.34)}
input,select,textarea,button{border-radius:8px}button{min-height:34px}.tiny{min-height:27px}

/* Cohesive compact page header used by every non-dashboard screen. */
.pagehead{position:relative;overflow:hidden;min-height:86px;padding:17px 18px!important;margin:0 0 11px!important;border:1px solid var(--ops-border);border-radius:11px;background:linear-gradient(90deg,rgba(8,28,49,.98),rgba(6,22,38,.94));align-items:center!important}
.pagehead:before{content:"";position:absolute;inset:0 0 0 34%;background:url('/ui/0.36.0/ops-mountains.svg') center right/100% 100% no-repeat;opacity:.42;pointer-events:none}.pagehead:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#07192c 0,rgba(7,25,44,.88) 36%,rgba(7,25,44,.18) 74%,rgba(7,25,44,.62) 100%);pointer-events:none}.pagehead>*{position:relative;z-index:1}.pagehead h2{display:flex;align-items:center;margin:0 0 5px;font-size:23px;letter-spacing:-.035em}.pagehead .muted{max-width:790px;font-size:12px;line-height:1.45}.pagehead>.badge,.pagehead>.actions,.pagehead>button{margin-left:auto}

/* Main overview, deliberately close to the approved reference. */
.ops-overview-v3{max-width:1480px;margin:0 auto}.ops-hero-v3{position:relative;min-height:102px;margin:-4px 0 7px;padding:17px 18px 20px;display:flex;justify-content:space-between;align-items:flex-start;overflow:hidden;border-bottom:1px solid rgba(33,85,128,.22)}
.ops-hero-v3:before{content:"";position:absolute;inset:0 -20px 0 24%;background:url('/ui/0.36.0/ops-mountains.svg') center bottom/100% 100% no-repeat;opacity:.74;pointer-events:none}.ops-hero-v3:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#04111f 0,rgba(4,17,31,.86) 28%,rgba(4,17,31,.12) 60%,rgba(4,17,31,.46) 100%);pointer-events:none}.ops-hero-v3>*{position:relative;z-index:1}.ops-hero-v3 h2{margin:0;color:#f4f8fd;font-size:31px;line-height:1.08;letter-spacing:-.04em;font-weight:720}.ops-hero-v3 p{margin:6px 0 0;color:#8ba7c0;font-size:12px}.ops-hero-v3 .ops-hero-right{text-align:right;display:grid;justify-items:end;gap:5px}.ops-hero-v3 .ops-hero-right small{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7894ae}.ops-hero-v3 .ops-hero-right strong{font-size:12px;letter-spacing:.18em;line-height:1.38;color:#bfd3e7}.ops-hero-v3 .ops-hero-right i{display:block;width:78px;height:2px;background:linear-gradient(90deg,#1ba6ff,transparent)}
.ops-metrics-v3{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:10px}.ops-metrics-v3 .ops-metric{min-height:94px;padding:14px 15px;border-radius:10px;background:linear-gradient(180deg,#081e33,#07182a);border-color:#173a58}.ops-metrics-v3 .ops-metric-icon{width:37px;height:37px;border-radius:10px}.ops-metrics-v3 .ops-metric-icon .ui-icon{width:19px;height:19px}.ops-metrics-v3 .ops-metric-copy>span{font-size:12px}.ops-metrics-v3 .ops-metric-value b{font-size:24px}.ops-metrics-v3 .ops-metric-copy small{font-size:12px}
.ops-core-grid{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(420px,1.65fr) minmax(320px,1fr);gap:10px;margin-bottom:10px}.ops-core-grid>.ops-card{min-height:260px;border-radius:10px;padding:13px}.ops-card-head h3{font-size:13px}.ops-card-head p{font-size:12px}.ops-status-card .ops-health-wrap{min-height:178px;display:flex;align-items:center;justify-content:center;gap:25px}.ops-status-donut{width:126px;height:126px}.ops-status-donut>div{width:82px;height:82px}.ops-status-donut b{font-size:24px}.ops-status-legend{min-width:124px}.ops-status-legend span{grid-template-columns:8px 24px 1fr auto}.ops-status-card .ops-link{display:flex;margin-left:auto;align-items:center;gap:6px;padding:0;background:transparent;border:0;color:#38afff;font-size:12px}.ops-activity-trend .ops-trend-svg{height:190px;margin-top:7px}.ops-line-alerts{fill:none;stroke:#ff5966;stroke-width:2}.ops-point-online{fill:#26a9ff}.ops-point-alert{fill:#ff5966}.ops-axis text{fill:#5d7a97;font-size:12px}.alert-dot{background:#ff5966!important}.ops-recent-card .ops-activity-list{margin-top:2px}.ops-recent-card .ops-activity-row{grid-template-columns:34px minmax(0,1fr) auto;min-height:48px}.ops-activity-icon{width:29px;height:29px;display:grid;place-items:center;border:1px solid #174064;border-radius:7px;background:#0a2540;color:#57b9ff}.ops-activity-icon .ui-icon{width:15px;height:15px}.ops-activity-icon.tone-green{color:#2bd7b3;background:#083631}.ops-activity-icon.tone-violet{color:#a99cff;background:#222545}.ops-activity-icon.tone-red{color:#ff7480;background:#3a1e28}
.ops-devices-card{padding:0!important;overflow:hidden}.ops-devices-head{padding:13px 14px 9px;border-bottom:1px solid #12324e;align-items:flex-end}.ops-device-tabs{display:flex;gap:16px;align-items:center;margin-top:10px;flex-wrap:wrap}.ops-device-tabs button,.ops-device-tabs span{font-size:12px;color:#7898b6;background:transparent;border:0;padding:0 0 7px;min-height:0}.ops-device-tabs .active{color:#34b3ff;border-bottom:2px solid #28adff;border-radius:0}.ops-head-actions{display:flex;gap:7px;align-items:center}.ops-head-actions button{height:34px;font-size:12px}.ops-device-table thead th{font-size:12px}.ops-device-table td{font-size:12px}.ops-device-name{font-size:12px}.ops-device-name+small{display:block;color:#5f7f9d;margin-top:2px;font-size:12px}

/* Device mini-dashboard. */
.device-dashboard{max-width:1480px;margin:0 auto}.device-hero-v3{position:relative;overflow:hidden;margin-bottom:10px;border:1px solid #173b5c;border-radius:11px;background:linear-gradient(90deg,#071b30 0,#061a2d 55%,#07192b 100%);box-shadow:inset 0 1px rgba(255,255,255,.02)}.device-hero-v3:before{content:"";position:absolute;inset:0 -12px 0 37%;background:url('/ui/0.36.0/ops-mountains.svg') center bottom/100% 100% no-repeat;opacity:.64;pointer-events:none}.device-hero-v3:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071b30 0,rgba(7,27,48,.91) 38%,rgba(7,27,48,.16) 69%,rgba(7,25,43,.74) 100%);pointer-events:none}.device-hero-v3>*{position:relative;z-index:1}.device-breadcrumb{height:34px;display:flex;align-items:center;gap:8px;padding:0 13px;border-bottom:1px solid rgba(27,68,102,.46);font-size:12px;color:#6990b2}.device-breadcrumb strong{color:#c8dbec}.device-breadcrumb b{color:#315a7f}.device-breadcrumb .device-back{width:24px;height:24px;border:0;background:transparent}.device-hero-content{min-height:139px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 16px}.device-hero-v3 .device-glyph{width:64px;height:64px;border-radius:12px}.device-hero-v3 .device-glyph .ui-icon{width:31px;height:31px}.device-hero-v3 .device-titleblock h2{font-size:27px}.device-identity-line{display:flex;gap:0;align-items:center;flex-wrap:wrap;margin-top:7px;color:#91a9c0;font-size:12px}.device-identity-line span{padding-right:10px;margin-right:10px;border-right:1px solid #31506c}.device-identity-line span:last-child{border-right:0}.device-identity-line b{color:#c5d9ea;font-weight:600}.device-hero-actions-v3{display:grid;justify-items:end;gap:15px;min-width:430px}.device-last-seen{display:flex;align-items:center;gap:9px;text-align:left}.device-last-seen>span{width:31px;height:31px;display:grid;place-items:center;color:#9ec6e7}.device-last-seen>span .ui-icon{width:20px;height:20px}.device-last-seen small,.device-last-seen b,.device-last-seen em{display:block}.device-last-seen small{font-size:12px;color:#6e8aa4}.device-last-seen b{font-size:12px;color:#dbe9f6;margin-top:2px}.device-last-seen em{font-size:12px;font-style:normal;color:#7693ad;margin-top:1px}.device-hero-actions-v3 .device-action-row button{height:32px;font-size:12px}
.device-primary-kpis{display:grid;grid-template-columns:1.15fr 1.15fr .9fr 1.15fr 1.15fr;gap:9px;margin-bottom:9px}.device-secondary-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 9px;max-width:72%}.device-primary-kpis .device-fact,.device-primary-kpis .device-meter,.device-secondary-kpis .device-meter{margin:0;min-height:77px;border:1px solid #163a58;border-radius:9px;background:linear-gradient(180deg,#071c30,#061729)}.device-primary-kpis .device-meter,.device-secondary-kpis .device-meter{padding:10px 11px}.device-primary-kpis .device-fact{padding:11px 12px}.device-primary-kpis .device-meter-track,.device-secondary-kpis .device-meter-track{margin:8px 0 5px}.device-primary-kpis .device-meter small,.device-secondary-kpis .device-meter small{font-size:12px}.device-primary-kpis .device-meter-top b,.device-secondary-kpis .device-meter-top b{font-size:12px}
.devtabs-v3{position:sticky;top:66px;z-index:8;display:flex;gap:1px;margin:0 0 10px;padding:4px;border:1px solid #173a58;border-radius:9px;background:rgba(5,20,35,.94);backdrop-filter:blur(16px);overflow-x:auto;flex-wrap:nowrap}.devtabs-v3 .devtabbtn{height:35px;gap:6px;padding:0 10px;border-radius:6px;font-size:12px;flex:none}.devtabs-v3 .devtabbtn .tab-icon{width:14px;height:14px;min-width:14px;min-height:14px}.devtabs-v3 .devtabbtn.active{box-shadow:inset 0 -2px #20afff;background:#0a2a47;color:#57bfff}.devtabs-v3 .devtab-group-label{display:none}.devtabs-v3 .devtab-group{display:contents}
.device-overview-v3{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(370px,.95fr);gap:9px}.device-overview-v3>.panel{margin:0}.device-side-stack{display:grid;gap:9px;align-content:start}.device-side-stack>.panel{margin:0}.device-disks-panel{grid-column:1/2}.device-overview-v3>.capability-panel{grid-column:2/3}.device-info-panel .pairs>div{padding:7px 0}.device-info-panel .pairs span,.device-info-panel .pairs b{font-size:12px}.device-network-panel .network-grid{display:grid;grid-template-columns:1fr;gap:4px}.device-network-panel .network-card{position:relative;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;padding:8px 9px}.network-live{display:flex;align-items:center;gap:5px;color:#87a4bf;font-size:12px}.network-live i{width:7px;height:7px;border-radius:50%;background:#19d39f;box-shadow:0 0 8px rgba(25,211,159,.35)}.capability-panel .chips{max-height:124px;overflow:auto}.capability-panel .chip{font-size:12px}.device-overview-v3 .panel h3{font-size:13px}.device-overview-v3 .panel .muted{font-size:12px}

/* Cross-page coherence: forms, grids and content density. */
.columns{gap:10px}.dashgrid{gap:10px}.reportgrid{gap:10px}.grid{gap:10px}.orgrow{border-bottom-color:#12304a}.actionnote{border-radius:8px;background:#07182a;border:1px solid #143753;color:#7898b5}.badge,.pill,.chip{font-weight:650}.formgrid label{font-size:12px;color:#7f9bb7}.formgrid input,.formgrid select,.formgrid textarea{margin-top:5px}.empty{border-radius:9px}

@media(max-width:1260px){.ops-core-grid{grid-template-columns:1fr 1.45fr}.ops-recent-card{grid-column:1/-1}.ops-metrics-v3{grid-template-columns:repeat(3,1fr)}.device-primary-kpis{grid-template-columns:repeat(3,1fr)}.device-secondary-kpis{max-width:none}.device-hero-actions-v3{min-width:0}.device-hero-content{grid-template-columns:64px minmax(0,1fr)}.device-hero-actions-v3{grid-column:1/-1;justify-items:start;grid-template-columns:auto 1fr;align-items:center}.device-overview-v3{grid-template-columns:1fr}.device-disks-panel,.device-overview-v3>.capability-panel{grid-column:auto}}
@media(max-width:840px){.workspace-main{padding:12px}.ops-hero-v3{min-height:90px;padding:14px 9px}.ops-hero-v3:before{inset:0 -120px 0 14%}.ops-hero-v3 h2{font-size:26px}.ops-hero-v3 .ops-hero-right{display:none}.ops-metrics-v3{grid-template-columns:1fr 1fr}.ops-core-grid{grid-template-columns:1fr}.ops-recent-card{grid-column:auto}.ops-devices-head{align-items:flex-start;gap:12px;flex-direction:column}.ops-head-actions{width:100%;overflow:auto}.pagehead{min-height:78px;padding:14px!important}.pagehead:before{inset:0 -80px 0 12%}.device-hero-content{grid-template-columns:50px minmax(0,1fr);padding:12px}.device-hero-v3 .device-glyph{width:48px;height:48px}.device-hero-v3 .device-titleblock h2{font-size:22px}.device-hero-actions-v3{grid-template-columns:1fr}.device-primary-kpis,.device-secondary-kpis{grid-template-columns:1fr 1fr}.devtabs-v3{top:61px}.device-identity-line{display:none}}
@media(max-width:520px){.ops-metrics-v3,.device-primary-kpis,.device-secondary-kpis{grid-template-columns:1fr}.ops-status-card .ops-health-wrap{gap:12px;justify-content:flex-start}.ops-device-tabs{gap:9px}.device-glyph{display:none}.device-hero-content{grid-template-columns:1fr}.device-action-row{overflow:auto;width:100%}.device-action-row button{flex:none}.pagehead h2{font-size:20px}}
.tone-amber .ops-metric-icon{background:#3a2a16;color:#ffc15d}.tone-amber:after{background:linear-gradient(180deg,transparent,rgba(255,182,63,.08))}


/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.8 AMBIENT TATRA HERO
   Real photographic mountain artwork + subtle 18 s atmospheric loop.
   Video is decorative only; content remains above a contrast-safe overlay.
   -------------------------------------------------------------------------- */
.ops-mountain-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 57%;pointer-events:none;user-select:none;z-index:0;filter:saturate(.82) contrast(1.03) brightness(.82)}
.ops-hero-v3>.ops-mountain-video{opacity:.80;object-position:center 55%}
.device-hero-v3>.ops-mountain-video{opacity:.58;object-position:center 57%}
.pagehead>.ops-mountain-video{opacity:.40;object-position:center 56%}
.ops-hero-v3:before,.device-hero-v3:before,.pagehead:before{background-image:url('/ui/0.36.0/ops-tatry-poster.webp')!important;background-size:cover!important;background-position:center 57%!important;opacity:.24!important}
.ops-hero-v3:after{z-index:1;background:linear-gradient(90deg,#04111f 0,rgba(4,17,31,.84) 27%,rgba(4,17,31,.10) 61%,rgba(4,17,31,.48) 100%),linear-gradient(180deg,rgba(3,13,24,.12),rgba(3,13,24,.48))}
.device-hero-v3:after{z-index:1;background:linear-gradient(90deg,#071b30 0,rgba(7,27,48,.90) 37%,rgba(7,27,48,.18) 69%,rgba(7,25,43,.76) 100%),linear-gradient(180deg,rgba(4,15,27,.08),rgba(4,15,27,.40))}
.pagehead:after{z-index:1;background:linear-gradient(90deg,#07192c 0,rgba(7,25,44,.88) 38%,rgba(7,25,44,.20) 74%,rgba(7,25,44,.68) 100%)}
.ops-hero-v3>*:not(.ops-mountain-video),.device-hero-v3>*:not(.ops-mountain-video),.pagehead>*:not(.ops-mountain-video){position:relative;z-index:2}
@media (prefers-reduced-motion:reduce){.ops-mountain-video{display:none}.ops-hero-v3:before,.device-hero-v3:before,.pagehead:before{opacity:.55!important}}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.8 AMBIENT MOTION PASS
   The mountain strip is intentionally taller and brighter than 0.32.4.
   Motion is CSS-driven as well as video-driven, so the hero remains visibly
   alive even when a browser pauses or barely exposes the MP4 frame changes.
   -------------------------------------------------------------------------- */
.ops-hero-v3{
  min-height:150px;
  padding:21px 18px 24px;
  align-items:flex-start;
}
.ops-hero-v3>.ops-mountain-video{
  opacity:.96;
  object-position:center 43%;
  filter:saturate(.92) contrast(1.08) brightness(.96);
  transform-origin:50% 48%;
  will-change:transform,filter;
  animation:opsMountainDrift 24s ease-in-out infinite alternate,
            opsMountainBreath 12s ease-in-out infinite;
}
.device-hero-v3>.ops-mountain-video{
  opacity:.68;
  object-position:center 45%;
  transform-origin:55% 48%;
  will-change:transform,filter;
  animation:opsMountainDriftDevice 30s ease-in-out infinite alternate,
            opsMountainBreathDevice 15s ease-in-out infinite;
}
.pagehead>.ops-mountain-video{
  opacity:.48;
  object-position:center 45%;
  transform-origin:60% 48%;
  will-change:transform;
  animation:opsMountainDriftPage 36s ease-in-out infinite alternate;
}
.ops-hero-v3:before,
.device-hero-v3:before,
.pagehead:before{
  background-position:center 43%!important;
  opacity:.34!important;
}
.ops-hero-v3:after{
  background:
    linear-gradient(90deg,#04111f 0,rgba(4,17,31,.82) 24%,rgba(4,17,31,.07) 55%,rgba(4,17,31,.25) 78%,rgba(4,17,31,.49) 100%),
    linear-gradient(180deg,rgba(3,13,24,.03),rgba(3,13,24,.26) 72%,rgba(3,13,24,.48));
}
.ops-hero-v3 .ops-hero-copy{padding-top:2px}
.ops-hero-v3 .ops-hero-right{padding-top:2px}

.ops-ambient-glow,
.ops-fog-layer{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:.5;
}
.ops-ambient-glow{
  left:42%;
  width:58%;
  background:radial-gradient(ellipse at 58% 42%,rgba(71,145,218,.20) 0,rgba(52,119,187,.10) 24%,rgba(21,62,105,.02) 51%,transparent 72%);
  mix-blend-mode:screen;
  filter:blur(10px);
  animation:opsGlowPulse 13s ease-in-out infinite;
}
.ops-fog-layer{
  inset:auto -12% 7% 21%;
  height:43%;
  opacity:.22;
  filter:blur(16px);
  mix-blend-mode:screen;
  background:
    radial-gradient(ellipse at 16% 70%,rgba(155,194,220,.24) 0 10%,transparent 37%),
    radial-gradient(ellipse at 43% 60%,rgba(132,179,210,.20) 0 9%,transparent 34%),
    radial-gradient(ellipse at 72% 69%,rgba(150,190,217,.18) 0 11%,transparent 39%),
    radial-gradient(ellipse at 91% 58%,rgba(120,167,202,.16) 0 8%,transparent 32%);
  transform:translate3d(-3%,0,0) scaleX(1.08);
  animation:opsFogDriftA 31s linear infinite;
}
.ops-fog-b{
  inset:auto -16% 16% 27%;
  height:31%;
  opacity:.13;
  filter:blur(23px);
  transform:translate3d(5%,0,0) scaleX(1.16);
  animation:opsFogDriftB 43s linear infinite;
}
.device-hero-v3 .ops-fog-layer{opacity:.10;height:35%;bottom:10%}
.device-hero-v3 .ops-ambient-glow{opacity:.58}
.pagehead .ops-fog-layer{opacity:.07;height:38%;bottom:6%}
.pagehead .ops-ambient-glow{opacity:.34}

.mountain-video-paused>.ops-mountain-video{
  animation:opsMountainDrift 20s ease-in-out infinite alternate,
            opsMountainBreath 11s ease-in-out infinite;
}

@keyframes opsMountainDrift{
  0%{transform:scale(1.085) translate3d(-1.7%,.6%,0)}
  50%{transform:scale(1.115) translate3d(.2%,-.35%,0)}
  100%{transform:scale(1.14) translate3d(1.55%,-.8%,0)}
}
@keyframes opsMountainBreath{
  0%,100%{filter:saturate(.90) contrast(1.06) brightness(.91)}
  50%{filter:saturate(.98) contrast(1.10) brightness(1.01)}
}
@keyframes opsMountainDriftDevice{
  0%{transform:scale(1.06) translate3d(-1.0%,.25%,0)}
  100%{transform:scale(1.10) translate3d(1.1%,-.55%,0)}
}
@keyframes opsMountainBreathDevice{
  0%,100%{filter:saturate(.84) contrast(1.05) brightness(.80)}
  50%{filter:saturate(.90) contrast(1.08) brightness(.89)}
}
@keyframes opsMountainDriftPage{
  0%{transform:scale(1.04) translate3d(-.7%,.2%,0)}
  100%{transform:scale(1.07) translate3d(.8%,-.35%,0)}
}
@keyframes opsGlowPulse{
  0%,100%{opacity:.42;transform:scale(.96)}
  45%{opacity:.72;transform:scale(1.05)}
  70%{opacity:.53;transform:scale(1.01)}
}
@keyframes opsFogDriftA{
  0%{transform:translate3d(-5%,1%,0) scaleX(1.08);opacity:.16}
  45%{opacity:.27}
  100%{transform:translate3d(6%,-1%,0) scaleX(1.16);opacity:.19}
}
@keyframes opsFogDriftB{
  0%{transform:translate3d(7%,0,0) scaleX(1.12);opacity:.10}
  50%{opacity:.17}
  100%{transform:translate3d(-6%,1%,0) scaleX(1.20);opacity:.11}
}

@media(max-width:840px){
  .ops-hero-v3{min-height:124px;padding:17px 10px 20px}
  .ops-hero-v3>.ops-mountain-video{object-position:center 44%}
}
@media(max-width:520px){
  .ops-hero-v3{min-height:112px}
  .ops-fog-layer{display:none}
}
@media (prefers-reduced-motion:reduce){
  .ops-mountain-video,.ops-ambient-glow,.ops-fog-layer{animation:none!important}
  .ops-mountain-video{display:none!important}
  .ops-hero-v3:before,.device-hero-v3:before,.pagehead:before{opacity:.58!important}
}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.8 CINEMATIC CROP + PROFESSIONAL LOGIN
   Keep the photographic Tatras physically still in the UI. Any motion comes
   only from the encoded MP4 (fog/light), never from CSS pan/zoom transforms.
   -------------------------------------------------------------------------- */
.ops-hero-v3>.ops-mountain-video,
.device-hero-v3>.ops-mountain-video,
.pagehead>.ops-mountain-video{
  transform:none!important;
  animation:none!important;
  will-change:auto!important;
}
.ops-hero-v3>.ops-mountain-video{
  opacity:.92;
  object-fit:cover;
  object-position:center 30%;
  filter:saturate(.90) contrast(1.07) brightness(.91);
}
.device-hero-v3>.ops-mountain-video{
  opacity:.63;
  object-fit:cover;
  object-position:center 31%;
  filter:saturate(.86) contrast(1.06) brightness(.84);
}
.pagehead>.ops-mountain-video{
  opacity:.44;
  object-fit:cover;
  object-position:center 30%;
  filter:saturate(.84) contrast(1.05) brightness(.80);
}
.ops-hero-v3:before,.device-hero-v3:before,.pagehead:before{
  background-position:center 30%!important;
}
.ops-ambient-glow,.ops-fog-layer{display:none!important}
.mountain-video-paused>.ops-mountain-video{animation:none!important;transform:none!important}

/* Login is a dedicated full-screen operations console, not a header popover. */
body.auth-locked{overflow:hidden;background:#020914}
.ops-login-screen{
  position:fixed;
  inset:0;
  z-index:10000;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#020a14;
  color:#edf7ff;
}
.ops-login-screen.hidden{display:none!important}
.ops-login-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  filter:saturate(.88) contrast(1.08) brightness(.72);
  transform:none!important;
  animation:none!important;
}
.ops-login-scrim{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,10,20,.52) 0%,rgba(2,10,20,.30) 45%,rgba(2,10,20,.68) 72%,rgba(2,9,18,.92) 100%),
    linear-gradient(180deg,rgba(2,9,18,.25),rgba(2,9,18,.18) 45%,rgba(2,9,18,.76) 100%);
  pointer-events:none;
}
.ops-login-scrim:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 64% 34%,rgba(31,126,230,.14),transparent 29%),radial-gradient(circle at 28% 78%,rgba(12,101,177,.10),transparent 31%);
}
.ops-login-orbit{position:absolute;border:1px solid rgba(65,151,229,.10);border-radius:50%;pointer-events:none}
.ops-login-orbit-a{width:760px;height:760px;right:-320px;top:-310px}
.ops-login-orbit-b{width:520px;height:520px;right:-210px;top:-190px;border-color:rgba(83,184,255,.08)}
.ops-login-layout{
  position:relative;
  z-index:2;
  width:min(1460px,calc(100vw - 80px));
  min-height:min(760px,calc(100vh - 80px));
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(390px,.72fr);
  gap:56px;
  align-items:stretch;
}
.ops-login-branding{
  display:flex;
  flex-direction:column;
  padding:34px 12px 28px 10px;
  min-width:0;
}
.ops-login-brandmark{display:flex;align-items:center;gap:13px}
.ops-login-brandmark img{width:66px;height:50px;object-fit:contain;filter:drop-shadow(0 0 24px rgba(33,163,255,.28))}
.ops-login-brandmark>div{display:flex;align-items:baseline;gap:5px;letter-spacing:-.04em}
.ops-login-brandmark strong{font-size:28px;color:#29a9ff}.ops-login-brandmark span{font-size:26px;color:#d7e8fa;font-weight:500}
.ops-login-message{margin:auto 0 11%;max-width:760px;text-shadow:0 2px 24px rgba(0,0,0,.44)}
.ops-login-kicker{display:block;color:#55b9fb;font-size:12px;font-weight:700;letter-spacing:.21em;margin-bottom:18px}
.ops-login-message h1{margin:0;font-size:clamp(44px,4.7vw,76px);line-height:.99;letter-spacing:-.055em;font-weight:720;color:#f4f8fc}
.ops-login-message h1 em{font-style:normal;color:#82c9f7;font-weight:540}
.ops-login-message p{max-width:650px;margin:23px 0 0;color:#a8bfd3;font-size:16px;line-height:1.62}
.ops-login-foot{display:flex;align-items:center;gap:28px;color:#708ca5;font-size:12px;letter-spacing:.04em}
.ops-login-foot span{display:flex;align-items:center;gap:8px}.ops-login-foot i{width:7px;height:7px;border-radius:50%;background:#17d8a4;box-shadow:0 0 12px rgba(23,216,164,.5)}
.ops-login-card{
  align-self:center;
  width:100%;
  padding:30px 30px 25px;
  border:1px solid rgba(70,129,185,.34);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(7,24,42,.88),rgba(4,17,31,.94));
  box-shadow:0 32px 90px rgba(0,0,0,.44),inset 0 1px rgba(255,255,255,.035);
  backdrop-filter:blur(22px) saturate(1.12);
}
.ops-login-card-head{display:grid;grid-template-columns:46px 1fr;gap:13px;align-items:start;margin-bottom:25px}
.ops-login-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#54baff;background:linear-gradient(145deg,rgba(13,101,170,.42),rgba(8,46,82,.54));border:1px solid rgba(58,142,211,.36);box-shadow:0 0 25px rgba(24,134,225,.10)}
.ops-login-card-icon .ui-icon{width:22px;height:22px}
.ops-login-card-head small{display:block;color:#55b5f5;font-size:12px;letter-spacing:.18em;font-weight:700;margin:1px 0 6px}
.ops-login-card-head h2{margin:0;color:#f1f7fd;font-size:21px;letter-spacing:-.03em}
.ops-login-card-head p{margin:6px 0 0;color:#7896b2;font-size:12px;line-height:1.5}
.ops-login-field{display:grid;gap:7px;margin:13px 0}
.ops-login-field>span{color:#8ea9c1;font-size:12px;font-weight:600;letter-spacing:.03em}
.ops-login-field>div{height:48px;display:grid;grid-template-columns:38px 1fr;align-items:center;border:1px solid #234564;border-radius:10px;background:rgba(4,17,31,.82);transition:border-color .15s,box-shadow .15s,background .15s}
.ops-login-field>div:focus-within{border-color:#2d8bd0;background:#061d33;box-shadow:0 0 0 3px rgba(38,141,219,.10)}
.ops-login-field .ui-icon{justify-self:center;width:17px;height:17px;color:#6994b7}
.ops-login-field input{width:100%;min-width:0;height:46px;border:0!important;background:transparent!important;padding:0 12px 0 0!important;border-radius:0!important;outline:0;box-shadow:none!important;color:#e8f3fd;font-size:13px}
.ops-login-field input::placeholder{color:#45617b}
.ops-login-submit{width:100%;height:48px;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #2b9eef;background:linear-gradient(180deg,#168de0,#0f72c0);color:#fff;border-radius:10px;font-weight:700;box-shadow:0 12px 28px rgba(12,113,192,.23)}
.ops-login-submit:hover:not(:disabled){border-color:#62bdff;background:linear-gradient(180deg,#219cec,#1580d2)}
.ops-login-submit .ui-icon{width:16px;height:16px}
.ops-login-divider{display:flex;align-items:center;gap:12px;margin:20px 0 12px;color:#56728d;font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.ops-login-divider:before,.ops-login-divider:after{content:"";height:1px;background:#18344e;flex:1}
.ops-breakglass{border:1px solid #173650;border-radius:10px;background:rgba(5,18,32,.54);overflow:hidden}
.ops-breakglass summary{height:44px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#8da8c1;font-size:12px}
.ops-breakglass summary::-webkit-details-marker{display:none}.ops-breakglass summary>span{display:flex;align-items:center;gap:8px}.ops-breakglass summary .ui-icon{width:15px;height:15px;color:#6e9ec4}.ops-breakglass[open] summary{border-bottom:1px solid #173650;color:#b6cde1}
.ops-breakglass .ops-login-field{margin:12px}.ops-breakglass .ops-login-field.compact>div{height:43px}.ops-breakglass .ops-login-field.compact input{height:41px}
.ops-breakglass>p{margin:-2px 13px 13px;color:#5e7890;font-size:12px;line-height:1.45}
.ops-login-security{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;margin-top:17px;color:#617d96;font-size:12px;line-height:1.45}.ops-login-security .ui-icon{width:15px;height:15px;color:#31b794;margin-top:1px}
.ops-login-error{margin:0 0 14px;padding:10px 12px;border:1px solid rgba(255,93,108,.38);border-radius:9px;background:rgba(95,24,38,.35);color:#ffb6bf;font-size:12px;line-height:1.45}

@media(max-width:1050px){
  .ops-login-layout{grid-template-columns:1fr minmax(360px,.82fr);gap:28px;width:min(1000px,calc(100vw - 42px))}
  .ops-login-message h1{font-size:46px}.ops-login-message p{font-size:14px}
}
@media(max-width:780px){
  .ops-login-layout{display:flex;align-items:center;justify-content:center;width:min(460px,calc(100vw - 28px));min-height:100vh}
  .ops-login-branding{position:absolute;inset:24px 0 auto;padding:0;display:block}.ops-login-brandmark{justify-content:center}.ops-login-message,.ops-login-foot{display:none}
  .ops-login-card{margin-top:68px;padding:26px 22px 22px}.ops-login-video{object-position:57% center}
}
@media(max-width:520px){.ops-login-card{border-radius:16px;padding:23px 17px 19px}.ops-login-card-head{grid-template-columns:40px 1fr}.ops-login-card-icon{width:38px;height:38px}.ops-login-card-head h2{font-size:18px}}

@media (prefers-reduced-motion:reduce){
  .ops-mountain-video,.ops-login-video{animation:none!important;transform:none!important}
  .ops-login-video{display:block!important}
}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.8 NAV FOOTER + DEVICE TAB MOTION
   Quiet brand footer, optically-normalized tab icons and restrained motion.
   -------------------------------------------------------------------------- */
.sidebar-brand-footer{
  margin-top:auto;
  min-height:82px;
  padding:15px 8px 5px;
  border-top:1px solid #12304a;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:11px;
  color:#7290ad;
  background:transparent;
}
.sidebar-footer-mark{
  width:46px;
  height:40px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 0 15px rgba(25,161,255,.16));
}
.sidebar-footer-copy{min-width:0;display:grid;gap:2px;align-content:center}
.sidebar-footer-copy>strong{
  color:#e6f1fb;
  font-size:12px;
  line-height:1.2;
  letter-spacing:-.012em;
  font-weight:680;
}
.sidebar-footer-copy>.footer-version{
  color:#667f99;
  font-size:12px;
  line-height:1.25;
}
.sidebar-brand-footer .health-chip{
  margin-top:5px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  color:#819bb3;
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;
}
.sidebar-brand-footer .health-chip .ok{color:#36d7aa}
.sidebar-brand-footer .health-chip .bad{color:#ff7f8e}
.sidebar-brand-footer .health-dot{flex:0 0 7px;width:7px;height:7px}

/* Device tab rail: single visual rhythm and an active indicator that glides,
   rather than making each button animate independently. */
.devtabs-v3{
  position:sticky;
  isolation:isolate;
  gap:2px;
  padding:4px;
  min-height:43px;
  scroll-padding-inline:12px;
  scrollbar-width:thin;
  scrollbar-color:#1b4a72 transparent;
}
.devtabs-v3 .devtab-slider{
  position:absolute;
  z-index:0;
  left:0;
  bottom:3px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#18a8ff,#54d0ff);
  box-shadow:0 0 12px rgba(40,180,255,.30);
  pointer-events:none;
  transition:transform 180ms cubic-bezier(.2,.8,.2,1),width 180ms cubic-bezier(.2,.8,.2,1);
  will-change:transform,width;
}
.devtabs-v3 .devtab-slider.no-transition{transition:none!important}
.devtabs-v3 .devtabbtn{
  position:relative;
  z-index:1;
  height:35px;
  min-width:0;
  display:inline-grid;
  grid-template-columns:22px max-content;
  align-items:center;
  gap:6px;
  padding:0 9px 1px 7px;
  border:1px solid transparent;
  border-radius:6px;
  color:#829eb8;
  background:transparent;
  box-shadow:none;
  transition:color 130ms ease,background-color 130ms ease,border-color 130ms ease;
}
.devtabs-v3 .devtabbtn:hover:not(:disabled){
  color:#c9deef;
  background:rgba(13,43,70,.62);
  border-color:rgba(35,83,124,.54);
}
.devtabs-v3 .devtabbtn.active{
  color:#d9f1ff;
  background:linear-gradient(180deg,rgba(17,60,96,.74),rgba(9,37,62,.70));
  border-color:rgba(42,104,155,.66);
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}
.devtabs-v3 .devtab-iconbox{
  width:22px;
  height:22px;
  min-width:22px;
  display:grid;
  place-items:center;
  border-radius:5px;
  color:#7899b7;
  background:transparent;
  transition:color 130ms ease,background-color 130ms ease;
}
.devtabs-v3 .devtabbtn:hover .devtab-iconbox{color:#9fc8e7}
.devtabs-v3 .devtabbtn.active .devtab-iconbox{
  color:#4fc0ff;
  background:rgba(25,122,190,.13);
}
.devtabs-v3 .devtabbtn .tab-icon{
  display:block;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  max-width:14px!important;
  max-height:14px!important;
  flex:none!important;
  overflow:visible;
}
.devtabs-v3 .devtab-label{
  display:block;
  line-height:1;
  white-space:nowrap;
  transform:translateY(.25px);
}
.devtabs-v3 .disabledtab{opacity:.40}

/* The panel itself changes with a short directional dissolve. 8 px / 170 ms is
   deliberately below “presentation animation” territory: enough continuity
   to make navigation feel spatial without slowing an operator down. */
.device-dashboard .devtab{display:none;transform-origin:50% 0}
.device-dashboard .devtab.active{display:block}
.device-dashboard .devtab.devtab-enter.from-right{animation:deviceTabEnterRight 170ms cubic-bezier(.2,.78,.25,1) both}
.device-dashboard .devtab.devtab-enter.from-left{animation:deviceTabEnterLeft 170ms cubic-bezier(.2,.78,.25,1) both}
@keyframes deviceTabEnterRight{
  from{opacity:.68;transform:translate3d(8px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes deviceTabEnterLeft{
  from{opacity:.68;transform:translate3d(-8px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* Device icon geometry: keep containers and glyphs independent of label size. */
.device-dashboard .device-action-row .ui-icon,
.device-dashboard .device-last-seen .ui-icon,
.device-dashboard .health-strip .ui-icon,
.device-dashboard .context-chip .ui-icon{
  flex:0 0 auto;
}
.device-dashboard .device-action-row .ui-icon{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important}
.device-dashboard .device-last-seen>span{flex:0 0 31px}
.device-dashboard .device-glyph,.device-dashboard .device-fact-icon,.device-dashboard .device-meter-icon,.device-dashboard .network-icon{flex:none}

@media (prefers-reduced-motion:reduce){
  .devtabs-v3 .devtab-slider{transition:none!important}
  .device-dashboard .devtab.devtab-enter{animation:none!important}
  .devtabs-v3 .devtabbtn,.devtabs-v3 .devtab-iconbox{transition:none!important}
}

/* ========================================================================
   MORRIAT OPS · R0.32.8 ENROLLMENT LOBBY
   Final visual pass: deliberate trust boundary, compact enterprise density.
   ======================================================================== */
.lobby-count.show{display:inline-flex;background:#493614;border:1px solid #76551c;color:#ffd06d;box-shadow:0 0 0 1px rgba(255,191,75,.04),0 0 18px rgba(255,180,44,.08)}
.side-nav button[data-view="pending"].active .lobby-count{background:#1a5278;border-color:#2b80b5;color:#9edcff}
.lobby-pagehead{min-height:94px;align-items:center}.lobby-pagehead .section-kicker{display:block;margin-bottom:5px;font-size:12px;letter-spacing:.16em}.lobby-head-actions{position:relative;z-index:2;display:flex;gap:8px;align-items:center}.lobby-head-actions button{height:34px}
.lobby-shell{display:grid;gap:12px;animation:lobbyReveal 180ms cubic-bezier(.2,.75,.25,1) both}.lobby-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lobby-summary-card{min-height:94px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:13px;padding:15px 16px;border:1px solid #173b5a;border-radius:10px;background:linear-gradient(180deg,rgba(8,28,48,.96),rgba(6,22,39,.96));box-shadow:inset 0 1px rgba(255,255,255,.02),0 10px 28px rgba(0,0,0,.10)}.lobby-summary-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:10px}.lobby-summary-card>span .ui-icon{width:20px;height:20px}.lobby-summary-card.waiting>span{color:#57c2ff;background:rgba(17,104,163,.20);border:1px solid rgba(62,155,216,.24)}.lobby-summary-card.managed>span{color:#40dcaf;background:rgba(19,125,99,.19);border:1px solid rgba(48,177,142,.22)}.lobby-summary-card.neutral>span{color:#9fb8d1;background:rgba(91,119,151,.13);border:1px solid rgba(91,119,151,.18)}.lobby-summary-card small{display:block;color:#6484a3;font-size:12px;letter-spacing:.13em;font-weight:700}.lobby-summary-card strong{display:block;margin-top:1px;color:#f1f7fd;font-size:25px;line-height:1.05;letter-spacing:-.04em}.lobby-summary-card p{margin:4px 0 0;color:#7796b3;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lobby-toolbar{min-height:52px;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:7px;border:1px solid #163653;border-radius:10px;background:rgba(6,21,37,.9);box-shadow:inset 0 1px rgba(255,255,255,.02)}.lobby-tabs{display:flex;align-items:center;gap:3px}.lobby-tab{height:36px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid transparent;background:transparent;color:#809bb5;border-radius:7px;transition:background-color 130ms ease,border-color 130ms ease,color 130ms ease,box-shadow 130ms ease}.lobby-tab>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.lobby-tab .ui-icon{width:14px;height:14px}.lobby-tab b{min-width:22px;height:20px;display:grid;place-items:center;padding:0 6px;border-radius:999px;background:#0c2136;color:#7897b5;font-size:12px}.lobby-tab:hover{background:#0a2239;border-color:#1b4468;color:#b9cfe2}.lobby-tab.active{background:linear-gradient(180deg,#0b3152,#092641);border-color:#24679c;color:#60c7ff;box-shadow:inset 0 1px rgba(255,255,255,.025),0 5px 18px rgba(0,0,0,.10)}.lobby-tab.active b{background:#124269;color:#9ddcff}.lobby-search{width:min(380px,35vw);height:36px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:6px;padding:0 10px;border:1px solid #173a59;border-radius:7px;background:#061629;color:#6f91b0}.lobby-search .ui-icon{width:15px;height:15px}.lobby-search input{height:32px;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#cfe0ef}.lobby-search:focus-within{border-color:#2a6d9e;box-shadow:0 0 0 2px rgba(41,136,202,.08)}
.lobby-security-note{display:grid;grid-template-columns:31px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(33,91,127,.48);border-radius:8px;background:linear-gradient(90deg,rgba(8,40,62,.47),rgba(6,24,42,.55));color:#7fa4c1}.lobby-security-note>span{width:28px;height:28px;display:grid;place-items:center;color:#45b8f3}.lobby-security-note>span .ui-icon{width:16px;height:16px}.lobby-security-note b{display:block;color:#b9d3e7;font-size:12px}.lobby-security-note p{margin:2px 0 0;font-size:12px;line-height:1.45;color:#698aa6}
.lobby-body{min-height:240px}.lobby-pending-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lobby-device-card{border:1px solid #194263;border-radius:11px;background:radial-gradient(circle at 90% 0,rgba(31,112,168,.10),transparent 31%),linear-gradient(180deg,#081b2f,#061629);box-shadow:0 13px 32px rgba(0,0,0,.13);overflow:hidden;transition:border-color 140ms ease,transform 140ms ease,box-shadow 140ms ease}.lobby-device-card:hover{border-color:#285d86;transform:translateY(-1px);box-shadow:0 17px 38px rgba(0,0,0,.17)}.lobby-device-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start;padding:15px 15px 11px}.lobby-device-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:11px}.lobby-device-icon.waiting{color:#55c4ff;background:linear-gradient(145deg,rgba(22,111,171,.27),rgba(11,53,88,.35));border:1px solid #255e87}.lobby-device-icon .ui-icon{width:23px;height:23px}.lobby-device-copy{min-width:0}.lobby-device-title{display:flex;align-items:center;gap:9px;min-width:0}.lobby-device-title h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eef6fd;font-size:14px;letter-spacing:-.02em}.lobby-device-copy>p{margin:4px 0 8px;color:#8ba5be;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lobby-state{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 7px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.03em;white-space:nowrap}.lobby-state.waiting{color:#ffd177;background:#3d2d12;border:1px solid #67501f}.lobby-state.rejected{color:#ff9da5;background:#3c1e26;border:1px solid #63313d}.lobby-state.managed{color:#5ce1b7;background:#0c382f;border:1px solid #185a49}.lobby-state i{width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.lobby-device-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:#6f8eaa;font-size:12px}.lobby-device-meta span{display:inline-flex;align-items:center;gap:5px;min-width:0}.lobby-device-meta .ui-icon{width:12px;height:12px;min-width:12px;color:#527b9e}.lobby-device-meta b{font-weight:600;color:#8facc5}.lobby-trust-row{display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:9px;align-items:center;margin:0 15px;padding:10px 0;border-top:1px solid #112f49;border-bottom:1px solid #112f49}.lobby-trust-mark{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;color:#4ab3ee;background:#0b2b46}.lobby-trust-mark .ui-icon{width:15px;height:15px}.lobby-trust-row small,.lobby-arrival small{display:block;color:#557896;font-size:12px;letter-spacing:.1em}.lobby-trust-row strong{display:block;margin-top:2px;color:#9db8cf;font-size:12px;font-weight:600}.lobby-trust-row>div:nth-child(2)>span{display:block;margin-top:2px;color:#577895;font-size:12px}.lobby-arrival{text-align:right}.lobby-arrival strong{color:#dce9f5;font-size:12px}.lobby-arrival span{display:block;margin-top:2px;color:#607f9b;font-size:12px}.lobby-card-footer{min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 15px}.lobby-card-footer button{height:32px;font-size:12px}.lobby-card-actions{display:flex;align-items:center;gap:7px}.lobby-accept{background:linear-gradient(180deg,#106f9e,#0b557b);border-color:#2185b7;color:#e9f9ff;box-shadow:0 5px 18px rgba(0,128,192,.11)}.lobby-accept:hover{background:linear-gradient(180deg,#1282b8,#0d648e)!important;border-color:#39a5d7!important}.danger-soft{color:#eea4a9!important;border-color:#55313b!important;background:#171825!important}.danger-soft:hover{background:#321e25!important;border-color:#75414e!important;color:#ffb9be!important}
.lobby-history-list{display:grid;gap:7px}.lobby-history-row{min-height:72px;display:grid;grid-template-columns:38px minmax(0,1fr) 130px 92px;align-items:center;gap:11px;padding:10px 12px;border:1px solid #163955;border-radius:9px;background:linear-gradient(180deg,rgba(7,26,45,.96),rgba(6,21,37,.96));transition:background-color 120ms ease,border-color 120ms ease}.lobby-history-row:hover{border-color:#255675;background:#09213a}.lobby-history-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px}.lobby-history-icon .ui-icon{width:17px;height:17px}.lobby-history-icon.rejected{color:#ff8793;background:#3b1d27;border:1px solid #5c2c38}.lobby-history-icon.managed{color:#42dcae;background:#0c372e;border:1px solid #1c5a49}.lobby-history-main{min-width:0}.lobby-history-main>div{display:flex;align-items:center;gap:8px}.lobby-history-main h3{margin:0;color:#e9f4fd;font-size:12px}.lobby-history-main p{margin:3px 0 1px;color:#7796b1;font-size:12px}.lobby-history-main small{display:block;color:#587996;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lobby-history-time{text-align:right}.lobby-history-time small{display:block;color:#5a7d99;font-size:12px}.lobby-history-time b{display:block;margin-top:3px;color:#adbed0;font-size:12px}.lobby-row-action{height:31px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px}.lobby-row-action .ui-icon{width:12px;height:12px}
.lobby-empty-state{min-height:250px;display:grid;place-items:center;align-content:center;text-align:center;border:1px dashed #183b58;border-radius:11px;background:rgba(5,19,34,.52);padding:30px}.lobby-empty-state>span{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;color:#4bbcff;background:#092c49;border:1px solid #1c537a}.lobby-empty-state>span .ui-icon{width:22px;height:22px}.lobby-empty-state h3{margin:11px 0 4px;color:#dbe9f4;font-size:13px}.lobby-empty-state p{margin:0 0 12px;color:#6f8da8;font-size:12px}.lobby-empty-state button{height:32px;font-size:12px;display:inline-flex;align-items:center;gap:6px}.lobby-empty-state button .ui-icon{width:13px;height:13px}
.lobby-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lobby-detail-grid>div{min-width:0;padding:10px;border:1px solid #183852;border-radius:7px;background:#07192b}.lobby-detail-grid .wide{grid-column:1/-1}.lobby-detail-grid small{display:block;color:#607f9b;font-size:12px;margin-bottom:4px}.lobby-detail-grid b,.lobby-detail-grid code{display:block;min-width:0;overflow-wrap:anywhere;color:#d5e5f2;font-size:12px;font-weight:600}.lobby-detail-grid code{color:#8fb0ca;background:transparent;padding:0}
@keyframes lobbyReveal{from{opacity:.72;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.lobby-pending-grid{grid-template-columns:1fr}.lobby-summary{grid-template-columns:1fr 1fr}.lobby-summary-card.neutral{grid-column:1/-1}.lobby-history-row{grid-template-columns:38px minmax(0,1fr) 105px 88px}}
@media(max-width:760px){.lobby-summary{grid-template-columns:1fr}.lobby-summary-card.neutral{grid-column:auto}.lobby-toolbar{align-items:stretch;flex-direction:column}.lobby-tabs{overflow-x:auto}.lobby-search{width:100%}.lobby-history-row{grid-template-columns:36px minmax(0,1fr)}.lobby-history-time,.lobby-row-action{grid-column:2}.lobby-history-time{text-align:left}.lobby-card-footer{align-items:stretch;flex-direction:column}.lobby-card-actions{width:100%}.lobby-card-actions button{flex:1}.lobby-trust-row{grid-template-columns:31px minmax(0,1fr)}.lobby-arrival{grid-column:2;text-align:left}}
@media(prefers-reduced-motion:reduce){.lobby-shell,.lobby-device-card{animation:none!important;transition:none!important}}

/* 0.32.9 — device lifecycle */
.lifecycle-panel{margin-top:14px;border-color:rgba(63,166,255,.24);background:linear-gradient(180deg,rgba(9,35,59,.88),rgba(4,22,39,.9))}
.lifecycle-panel .panelhead h3{display:flex;align-items:center;gap:9px}.lifecycle-panel .panelhead h3 .ui-icon{width:17px;height:17px;color:#46bfff}
.lifecycle-state{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid rgba(121,164,199,.25);border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:rgba(15,43,66,.72);color:#b9d5ea}
.lifecycle-state.state-retire_pending{border-color:rgba(255,180,59,.35);color:#ffbf56;background:rgba(112,70,5,.18)}
.lifecycle-state.state-retired,.lifecycle-state.state-archived{color:#9fb4c5;background:rgba(65,85,102,.16)}
.lifecycle-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:18px 0 16px;position:relative}
.lifecycle-timeline:before{content:"";position:absolute;left:8%;right:8%;top:10px;height:1px;background:rgba(90,149,193,.22)}
.lifecycle-timeline>div{position:relative;padding-top:25px;text-align:center}.lifecycle-timeline i{position:absolute;top:4px;left:50%;width:13px;height:13px;border-radius:50%;transform:translateX(-50%);background:#0a2338;border:2px solid #44647d;box-shadow:0 0 0 4px rgba(4,20,34,.9)}
.lifecycle-timeline .done i{background:#10d6a1;border-color:#10d6a1}.lifecycle-timeline .current i{background:#37adff;border-color:#37adff;box-shadow:0 0 0 4px rgba(4,20,34,.9),0 0 16px rgba(55,173,255,.35)}
.lifecycle-timeline span{display:block;color:#8eabc1;font-size:12px}.lifecycle-timeline b{display:block;margin-top:3px;font-size:12px;color:#d8e8f4;font-weight:650}
.lifecycle-meta dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.lifecycle-actions{margin-top:16px;padding-top:14px;border-top:1px solid rgba(77,132,174,.2)}
.lifecycle-retire-btn{min-height:36px}.lifecycle-cap-note{margin-top:8px;max-width:720px}.lifecycle-wait{display:flex;gap:11px;align-items:flex-start;margin-bottom:12px;padding:12px;border:1px solid rgba(255,181,66,.2);border-radius:10px;background:rgba(111,70,8,.12)}.lifecycle-wait>.ui-icon,.lifecycle-wait>span .ui-icon{color:#ffbd4f}.lifecycle-wait p{margin:4px 0 0;color:#8fa8ba;font-size:12px}
.retire-choice{display:grid;gap:14px}.retire-choice label{display:grid;gap:6px}.retire-choice label>span{font-size:12px;color:#a9bfd0}.danger-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;padding:11px;border:1px solid rgba(255,94,94,.22);border-radius:9px;background:rgba(112,24,30,.1)}.danger-check input{margin-top:2px}
.pagehead-actions{display:flex;align-items:center;gap:10px}
@media(max-width:900px){.lifecycle-timeline{grid-template-columns:1fr 1fr;gap:16px}.lifecycle-timeline:before{display:none}.lifecycle-meta dl{grid-template-columns:1fr}}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.27 LARGE DESKTOP / 4K UX
   Desktop-first scaling. Intentionally does not optimize for phones.
   -------------------------------------------------------------------------- */
@media (min-width:1600px){
  .workspace-main{padding:22px clamp(28px,2vw,44px) 46px}
  .workspace-main>#content,
  .ops-overview-v3,
  .device-dashboard{
    width:100%;
    max-width:min(1880px,calc(100vw - var(--ops-sidebar) - 88px));
    margin-inline:auto;
  }
  .ops-hero-v3{min-height:128px;padding:20px 22px 23px}
  .ops-core-grid{grid-template-columns:minmax(280px,.82fr) minmax(560px,1.72fr) minmax(330px,1fr);gap:12px}
  .ops-metrics-v3{gap:12px}
  .ops-devices-card{min-height:0}
  .device-primary-kpis,.device-secondary-kpis{gap:11px}
  .device-overview-v3{grid-template-columns:minmax(0,1.2fr) minmax(430px,.8fr);gap:11px}
  .tablewrap table{min-width:100%}
}

@media (min-width:1920px){
  .workspace-main{padding-inline:clamp(34px,2.2vw,56px)}
  .workspace-main>#content,
  .ops-overview-v3,
  .device-dashboard{
    max-width:min(2260px,calc(100vw - var(--ops-sidebar) - 108px));
  }
  .ops-hero-v3{min-height:142px;padding:22px 24px 26px}
  .ops-hero-v3 h2{font-size:34px}
  .ops-core-grid{grid-template-columns:minmax(300px,.8fr) minmax(680px,1.9fr) minmax(360px,1fr)}
  .ops-core-grid>.ops-card{min-height:286px}
  .ops-activity-trend .ops-trend-svg{height:214px}
  .ops-status-card .ops-health-wrap{gap:34px}
  .ops-metrics-v3 .ops-metric{min-height:102px}
  .ops-device-table td{font-size:12px}
  .ops-device-table thead th{font-size:12px}
  .device-hero-content{min-height:150px;padding:17px 18px}
  .device-primary-kpis .device-fact,
  .device-primary-kpis .device-meter,
  .device-secondary-kpis .device-meter{min-height:84px}
  .lobby-pending-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (min-width:2560px){
  .workspace-main{padding-inline:clamp(44px,2.4vw,72px)}
  .workspace-main>#content,
  .ops-overview-v3,
  .device-dashboard{
    max-width:min(2820px,calc(100vw - var(--ops-sidebar) - 136px));
  }
  .ops-hero-v3{min-height:154px}
  .ops-core-grid{grid-template-columns:minmax(330px,.78fr) minmax(820px,2fr) minmax(390px,.98fr);gap:14px}
  .ops-metrics-v3{gap:14px}
  .ops-metrics-v3 .ops-metric{padding-inline:17px}
  .ops-devices-head{padding-inline:17px}
  .device-overview-v3{grid-template-columns:minmax(0,1.28fr) minmax(480px,.72fr);gap:13px}
  .device-primary-kpis,.device-secondary-kpis{gap:12px}
}

@media (min-width:3200px){
  .workspace-main>#content,
  .ops-overview-v3,
  .device-dashboard{
    max-width:calc(100vw - var(--ops-sidebar) - 176px);
  }
  .workspace-main{padding-inline:88px}
  .ops-core-grid{grid-template-columns:minmax(360px,.76fr) minmax(980px,2.08fr) minmax(420px,.96fr)}
  .ops-device-table td{padding-top:10px;padding-bottom:10px}
}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.27 BRAND LOCKUP + LARGE-DESKTOP READABILITY
   4K/ultrawide is treated as a larger physical canvas, not as extra empty
   pixels. The content gets a controlled optical zoom while sidebar/topbar
   scale separately so typography, hit targets and card density stay readable.
   -------------------------------------------------------------------------- */
.ops-brand{height:72px;padding:0 9px;justify-content:flex-start}
.ops-brand-lockup{display:block;width:196px;max-width:100%;height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 12px rgba(44,163,255,.16))}
.welcome-logo{min-height:78px}.welcome-lockup{width:min(460px,72vw)!important;height:auto!important;max-height:96px;object-fit:contain!important;filter:drop-shadow(0 14px 36px rgba(30,126,214,.16))}
.ops-login-brandmark{display:block}.ops-login-lockup{display:block!important;width:min(370px,44vw)!important;height:auto!important;max-height:92px;object-fit:contain!important;object-position:left center;filter:drop-shadow(0 12px 34px rgba(34,141,229,.20))!important}
.sidebar-footer-mark{object-fit:contain;filter:drop-shadow(0 0 13px rgba(42,154,236,.14))}

/* Keep the data canvas fluid inside the scaled content wrapper. */
@media (min-width:1920px){
  :root{--ops-sidebar:250px;--ops-header:76px}
  .workspace-header{height:var(--ops-header);padding-inline:31px}
  .sidebar{width:var(--ops-sidebar);padding-inline:15px}
  .ops-brand{height:76px}.ops-brand-lockup{width:204px}
  .side-nav button{min-height:44px;font-size:13.5px;padding-block:10px}.nav-icon{width:26px;font-size:18px}.nav-label{font-size:12px}
  .sidebar-footer-copy>strong{font-size:12.5px}.sidebar-footer-copy>.footer-version{font-size:12px}.sidebar-brand-footer .health-chip{font-size:12px}
  .search-trigger{height:40px;width:min(620px,43vw);font-size:13px}.environment-chip,.top-icon{height:40px}.top-icon{width:40px}.profile-avatar{width:38px;height:38px}.profile-copy strong{font-size:12.5px}.profile-copy span{font-size:12px}
  .workspace-main>#content{zoom:1.04;width:96.153846%;max-width:none!important;margin-inline:auto}
  .workspace-main>#content>.ops-overview-v3,.workspace-main>#content>.device-dashboard,.ops-overview-v3,.device-dashboard{max-width:none!important;width:100%}
}

@media (min-width:2560px){
  :root{--ops-sidebar:280px;--ops-header:82px}
  body{font-size:15px}
  .workspace-header{height:var(--ops-header);padding-inline:36px;gap:17px}
  .sidebar{width:var(--ops-sidebar);padding-inline:17px}
  .ops-brand{height:82px;padding-inline:8px}.ops-brand-lockup{width:228px}
  .side-nav{padding-top:20px;gap:5px}.side-nav button{min-height:48px;font-size:14.5px;padding:10px 12px;grid-template-columns:34px minmax(0,1fr) auto}.nav-icon{width:27px;font-size:20px}.nav-count{min-width:26px;height:24px;font-size:12px}.nav-label{font-size:12px}.nav-separator{margin-block:15px}
  .sidebar-brand-footer{grid-template-columns:54px minmax(0,1fr);min-height:94px;padding-top:17px}.sidebar-footer-mark{width:52px;height:45px}.sidebar-footer-copy>strong{font-size:13.5px}.sidebar-footer-copy>.footer-version{font-size:12px}.sidebar-brand-footer .health-chip{font-size:12px}
  .search-trigger{height:44px;width:min(700px,44vw);font-size:14px;padding-inline:14px}.search-trigger kbd{font-size:12px}.environment-chip,.top-icon{height:44px;font-size:13px}.top-icon{width:44px}.profile-menu{grid-template-columns:42px minmax(108px,auto) 32px}.profile-avatar{width:41px;height:41px;font-size:13px}.profile-copy strong{font-size:13.5px}.profile-copy span{font-size:12px}
  .workspace-main{padding:28px clamp(46px,2.6vw,78px) 64px}
  .workspace-main>#content{zoom:1.12;width:89.285714%;max-width:none!important;margin-inline:auto}
  .workspace-main>#content>.ops-overview-v3,.workspace-main>#content>.device-dashboard,.ops-overview-v3,.device-dashboard{max-width:none!important;width:100%}
  .ops-device-table td{font-size:12px}.ops-device-table thead th{font-size:12px}.ops-device-name{font-size:12px}.ops-device-name+small{font-size:12px}
  .devtabs-v3{top:73px}
}

@media (min-width:3200px){
  :root{--ops-sidebar:302px;--ops-header:88px}
  body{font-size:16px}
  .workspace-header{height:var(--ops-header);padding-inline:42px;gap:19px}
  .sidebar{width:var(--ops-sidebar);padding-inline:18px}
  .ops-brand{height:88px}.ops-brand-lockup{width:248px}
  .side-nav button{min-height:51px;font-size:15px;padding:11px 13px;grid-template-columns:36px minmax(0,1fr) auto}.nav-icon{width:29px;font-size:21px}.nav-label{font-size:12px}.nav-count{min-width:28px;height:25px;font-size:12px}
  .sidebar-brand-footer{grid-template-columns:58px minmax(0,1fr);min-height:100px}.sidebar-footer-mark{width:56px;height:49px}.sidebar-footer-copy>strong{font-size:14px}.sidebar-footer-copy>.footer-version{font-size:12px}.sidebar-brand-footer .health-chip{font-size:12px}
  .search-trigger{height:47px;width:min(790px,45vw);font-size:14.5px}.environment-chip,.top-icon{height:47px}.top-icon{width:47px}.profile-avatar{width:44px;height:44px}.profile-copy strong{font-size:14px}.profile-copy span{font-size:12px}
  .workspace-main{padding:34px 76px 76px}
  .workspace-main>#content{zoom:1.20;width:83.333333%;max-width:none!important;margin-inline:auto}
  .workspace-main>#content>.ops-overview-v3,.workspace-main>#content>.device-dashboard,.ops-overview-v3,.device-dashboard{max-width:none!important;width:100%}
  .ops-device-table td{font-size:12px}.ops-device-table thead th{font-size:12px}
  .devtabs-v3{top:74px}
}

@media (min-width:3800px){
  :root{--ops-sidebar:320px;--ops-header:92px}
  body{font-size:17px}
  .ops-brand{height:92px}.ops-brand-lockup{width:262px}
  .side-nav button{min-height:54px;font-size:15.5px}.nav-icon{font-size:22px}.nav-label{font-size:12px}
  .workspace-main{padding:38px 92px 86px}
  .workspace-main>#content{zoom:1.26;width:79.365079%;max-width:none!important;margin-inline:auto}
  .workspace-main>#content>.ops-overview-v3,.workspace-main>#content>.device-dashboard,.ops-overview-v3,.device-dashboard{max-width:none!important;width:100%}
  .devtabs-v3{top:73px}
}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.27 NATIVE 1440P / 4K READABILITY
   Workstation-first: 2560×1440 at OS scale 100% must remain comfortably
   readable. This pass intentionally scales typography AND panel geometry.
   -------------------------------------------------------------------------- */
@media (min-width:2200px) and (min-height:1100px){
  :root{--ops-sidebar:286px;--ops-header:84px}
  body{font-size:16px}
  .workspace-header{height:var(--ops-header);padding-inline:38px;gap:18px}
  .sidebar{width:var(--ops-sidebar);padding-inline:17px}
  .ops-brand{height:84px}.ops-brand-lockup{width:232px}
  .side-nav{padding-top:20px;gap:6px}
  .side-nav button{min-height:50px;padding:11px 12px;font-size:15.5px;grid-template-columns:34px minmax(0,1fr) auto}
  .side-nav button .nav-icon .ui-icon{width:19px;height:19px;min-width:19px;min-height:19px}
  .nav-count{min-width:27px;height:25px;font-size:12px}
  .sidebar-section-label{font-size:12px;letter-spacing:.14em}
  .sidebar-footer-copy>strong{font-size:14px}.sidebar-footer-copy>.footer-version{font-size:12px}.sidebar-brand-footer .health-chip{font-size:12px}

  .search-trigger{height:45px;width:min(720px,44vw);font-size:14.5px;padding-inline:15px}
  .search-trigger kbd{font-size:12px}.environment-chip,.top-icon{height:45px;font-size:13.5px}.top-icon{width:45px}
  .profile-avatar{width:42px;height:42px;font-size:13.5px}.profile-copy strong{font-size:14px}.profile-copy span{font-size:12px}

  .workspace-main{padding:30px clamp(50px,2.7vw,82px) 68px}
  .workspace-main>#content{zoom:1.20;width:83.333333%;max-width:none!important;margin-inline:auto}
  .workspace-main>#content>.ops-overview-v3,.workspace-main>#content>.device-dashboard,.ops-overview-v3,.device-dashboard{max-width:none!important;width:100%}

  .ops-hero-v3{min-height:166px;padding:24px 22px 28px}
  .ops-hero-v3 h2{font-size:38px}.ops-hero-v3 p{font-size:14px}
  .ops-hero-v3 .ops-hero-right small{font-size:12px}.ops-hero-v3 .ops-hero-right strong{font-size:14px}

  .ops-metrics-v3{gap:15px;margin-bottom:15px}
  .ops-metrics-v3 .ops-metric{min-height:112px;padding:17px 18px}
  .ops-metrics-v3 .ops-metric-icon{width:42px;height:42px}.ops-metrics-v3 .ops-metric-icon .ui-icon{width:21px;height:21px}
  .ops-metrics-v3 .ops-metric-copy>span{font-size:12px}
  .ops-metrics-v3 .ops-metric-value b{font-size:28px}
  .ops-metrics-v3 .ops-metric-value em{font-size:12px}
  .ops-metrics-v3 .ops-metric-copy small{font-size:12px;margin-top:7px}

  .ops-core-grid{gap:15px;margin-bottom:15px;grid-template-columns:minmax(360px,.8fr) minmax(760px,1.9fr) minmax(390px,1fr)}
  .ops-core-grid>.ops-card{min-height:328px;padding:17px}
  .ops-card-head{min-height:40px}.ops-card-head h3{font-size:16px}.ops-card-head p{font-size:12px;margin-top:4px}
  .ops-card-head button,.ops-period{font-size:12px}
  .ops-status-card .ops-health-wrap{min-height:225px;gap:38px}
  .ops-status-donut{width:148px;height:148px}.ops-status-donut>div{width:96px;height:96px}.ops-status-donut b{font-size:28px}
  .ops-status-donut span{font-size:12px}.ops-status-legend{min-width:150px}
  .ops-status-legend span,.ops-health-legend span{font-size:12px;gap:7px}
  .ops-status-card .ops-link{font-size:12px}
  .ops-activity-trend .ops-trend-svg{height:236px;margin-top:10px}
  .ops-axis text{font-size:12px}.ops-chart-legend{font-size:12px}
  .ops-recent-card .ops-activity-row{min-height:57px;grid-template-columns:39px minmax(0,1fr) auto}
  .ops-activity-icon{width:34px;height:34px}.ops-activity-icon .ui-icon{width:17px;height:17px}
  .ops-activity-row b{font-size:12px}.ops-activity-row small,.ops-activity-row time{font-size:12px}

  .ops-devices-card{margin-top:0}
  .ops-devices-head{padding:17px 18px 12px}
  .ops-devices-head h3{font-size:16px}
  .ops-device-tabs{gap:20px;margin-top:12px}.ops-device-tabs button,.ops-device-tabs span{font-size:12px;padding-bottom:9px}
  .ops-head-actions{gap:9px}.ops-head-actions button{height:39px;font-size:12px;padding-inline:12px}
  .ops-device-table thead th{font-size:12px;padding:10px 12px}
  .ops-device-table td{font-size:12px;padding:11px 12px}
  .ops-device-name{font-size:12px}.ops-device-name+small{font-size:12px;margin-top:3px}
  .ops-device-table .pill{font-size:12px;padding:4px 7px}
  .ops-statusbar{font-size:12px;padding-top:16px}

  .pagehead{min-height:104px;padding:20px 21px!important}.pagehead h2{font-size:28px}.pagehead .muted{font-size:12.5px;max-width:900px}
  .panel{padding:17px 18px}.panelhead h3,.panel>h3{font-size:16px}.muted{font-size:12.5px}
  th,td{font-size:13px}thead th{font-size:12px}
  .badge,.chip,.pill{font-size:12px;padding:5px 9px}
  input,select,textarea,button{font-size:13px}button{min-height:38px}.tiny{min-height:31px;font-size:12px}

  .device-breadcrumb{height:40px;font-size:12px;padding-inline:15px}
  .device-hero-content{min-height:168px;padding:19px 20px;grid-template-columns:80px minmax(0,1fr) auto}
  .device-hero-v3 .device-glyph{width:70px;height:70px}.device-hero-v3 .device-glyph .ui-icon{width:34px;height:34px}
  .device-hero-v3 .device-titleblock h2{font-size:31px}.device-identity-line{font-size:12px;margin-top:9px}
  .device-last-seen small,.device-last-seen em{font-size:12px}.device-last-seen b{font-size:12.5px}
  .device-hero-actions-v3 .device-action-row button{height:38px;font-size:12px;padding-inline:12px}
  .device-primary-kpis,.device-secondary-kpis{gap:13px;margin-bottom:13px}
  .device-primary-kpis .device-fact,.device-primary-kpis .device-meter,.device-secondary-kpis .device-meter{min-height:94px}
  .device-primary-kpis .device-meter,.device-secondary-kpis .device-meter,.device-primary-kpis .device-fact{padding:13px 14px}
  .device-primary-kpis .device-meter small,.device-secondary-kpis .device-meter small{font-size:12px}
  .device-primary-kpis .device-meter-top b,.device-secondary-kpis .device-meter-top b{font-size:14px}
  .devtabs-v3{top:77px;padding:5px;margin-bottom:13px}.devtabs-v3 .devtabbtn{height:41px;font-size:12px;padding-inline:12px;gap:7px}
  .devtabs-v3 .devtabbtn .tab-icon{width:16px;height:16px;min-width:16px;min-height:16px}
  .device-overview-v3{gap:13px}.device-side-stack{gap:13px}
  .device-info-panel .pairs span,.device-info-panel .pairs b{font-size:12px}
  .device-network-panel .network-card{padding:11px 12px;grid-template-columns:36px minmax(0,1fr) auto}
  .network-live{font-size:12px}.capability-panel .chip{font-size:12px}.device-overview-v3 .panel h3{font-size:16px}.device-overview-v3 .panel .muted{font-size:12px}
  .formgrid label{font-size:12px}
}

@media (min-width:2560px) and (min-height:1200px){
  :root{--ops-sidebar:296px;--ops-header:86px}
  body{font-size:16.5px}
  .workspace-main>#content{zoom:1.26;width:79.365079%;max-width:none!important}
  .side-nav button{font-size:16px;min-height:52px}
  .ops-brand-lockup{width:240px}
  .workspace-main{padding-top:32px}
}

@media (min-width:3200px) and (min-height:1300px){
  :root{--ops-sidebar:318px;--ops-header:92px}
  body{font-size:17px}
  .workspace-main>#content{zoom:1.34;width:74.626866%;max-width:none!important}
  .side-nav button{font-size:16.5px;min-height:55px}
  .ops-brand{height:92px}.ops-brand-lockup{width:258px}
}

@media (min-width:3800px) and (min-height:1600px){
  :root{--ops-sidebar:340px;--ops-header:98px}
  body{font-size:18px}
  .workspace-main>#content{zoom:1.42;width:70.422535%;max-width:none!important}
  .side-nav button{font-size:17.5px;min-height:58px}
  .ops-brand{height:98px}.ops-brand-lockup{width:276px}
  .workspace-main{padding:42px 104px 94px}
}


/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.32.27 LARGE-DESKTOP CONTAINMENT
   Replaces zoom-based optical scaling with native geometry. This prevents
   cards/grids drifting or escaping their columns on 2560x1440 and 4K screens.
   -------------------------------------------------------------------------- */
@media (min-width:2200px) and (min-height:1100px){
  /* Never scale the content box with CSS zoom: it changes painting without
     giving Grid/Flex a trustworthy final geometry. */
  .workspace-main>#content{
    zoom:1!important;
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    min-width:0!important;
  }
  .workspace-main>#content>.ops-overview-v3,
  .workspace-main>#content>.device-dashboard,
  .ops-overview-v3,.device-dashboard{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }

  /* Native readable sizing instead of zoom. */
  body{font-size:16px}
  .workspace-main{padding:30px clamp(38px,2.15vw,66px) 72px;overflow-x:hidden}
  .ops-hero-v3{min-height:188px;padding:28px 26px 31px}
  .ops-hero-v3 h2{font-size:42px;line-height:1.06}
  .ops-hero-v3 p{font-size:15.5px}
  .ops-hero-v3 .ops-hero-right small{font-size:12px}
  .ops-hero-v3 .ops-hero-right strong{font-size:15.5px}

  .ops-metrics-v3{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:16px;
    margin-bottom:16px;
  }
  .ops-metrics-v3>*{min-width:0}
  .ops-metrics-v3 .ops-metric{min-width:0;min-height:136px;padding:20px 21px;overflow:hidden}
  .ops-metrics-v3 .ops-metric-icon{width:48px;height:48px}
  .ops-metrics-v3 .ops-metric-icon .ui-icon{width:24px;height:24px}
  .ops-metrics-v3 .ops-metric-copy{min-width:0}
  .ops-metrics-v3 .ops-metric-copy>span{font-size:14px;line-height:1.25}
  .ops-metrics-v3 .ops-metric-value{min-width:0;flex-wrap:wrap}
  .ops-metrics-v3 .ops-metric-value b{font-size:34px;line-height:1.05}
  .ops-metrics-v3 .ops-metric-value em{font-size:13px}
  .ops-metrics-v3 .ops-metric-copy small{font-size:12.5px;margin-top:8px;line-height:1.3}

  .ops-core-grid{
    grid-template-columns:minmax(0,.84fr) minmax(0,1.78fr) minmax(0,1fr)!important;
    gap:16px;
    margin-bottom:16px;
    min-width:0;
  }
  .ops-core-grid>*{min-width:0!important;max-width:100%;overflow:hidden}
  .ops-core-grid>.ops-card{min-height:386px;padding:20px}
  .ops-card-head{min-width:0;min-height:44px}
  .ops-card-head>div{min-width:0}
  .ops-card-head h3{font-size:18px;line-height:1.2}
  .ops-card-head p{font-size:12.5px;line-height:1.35}
  .ops-card-head button,.ops-period{font-size:12.5px}
  .ops-status-card .ops-health-wrap{min-height:272px;gap:42px}
  .ops-status-donut{width:174px;height:174px;flex:0 0 auto}
  .ops-status-donut>div{width:112px;height:112px}
  .ops-status-donut b{font-size:32px}
  .ops-status-donut span{font-size:12px}
  .ops-status-legend{min-width:0;width:min(190px,45%)}
  .ops-status-legend span,.ops-health-legend span{font-size:13px;gap:8px}
  .ops-status-card .ops-link{font-size:12.5px}
  .ops-activity-trend{min-width:0}
  .ops-activity-trend .ops-trend-svg{height:278px;margin-top:10px;max-width:100%;overflow:visible}
  .ops-axis text{font-size:12px}
  .ops-chart-legend{font-size:12.5px}
  .ops-recent-card .ops-activity-list{min-width:0}
  .ops-recent-card .ops-activity-row{min-width:0;min-height:66px;grid-template-columns:42px minmax(0,1fr) auto;gap:11px}
  .ops-activity-icon{width:38px;height:38px}
  .ops-activity-icon .ui-icon{width:19px;height:19px}
  .ops-activity-row>div{min-width:0}
  .ops-activity-row b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ops-activity-row small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ops-activity-row time{font-size:12px;white-space:nowrap}

  .ops-devices-card{min-width:0;overflow:hidden}
  .ops-devices-head{padding:19px 20px 14px;min-width:0;gap:12px}
  .ops-devices-head h3{font-size:18px}
  .ops-device-tabs{gap:22px;margin-top:13px;min-width:0;overflow-x:auto;scrollbar-width:none}
  .ops-device-tabs::-webkit-scrollbar{display:none}
  .ops-device-tabs button,.ops-device-tabs span{font-size:12.5px;padding-bottom:10px;white-space:nowrap}
  .ops-head-actions{min-width:0;gap:10px;flex-wrap:wrap;justify-content:flex-end}
  .ops-head-actions button{height:42px;font-size:13px;padding-inline:13px}
  .ops-devices-card .tablewrap{max-width:100%;overflow-x:auto;overflow-y:hidden}
  .ops-device-table{width:100%;min-width:1120px}
  .ops-device-table thead th{font-size:12px;padding:11px 13px}
  .ops-device-table td{font-size:13.5px;padding:12px 13px}
  .ops-device-name{font-size:14px}.ops-device-name+small{font-size:12px;margin-top:3px}
  .ops-device-table .pill{font-size:12px;padding:5px 8px}
  .ops-statusbar{font-size:12px;padding-top:17px}

  /* Generic containment for the rest of the desktop console. */
  .grid>*,.columns>*,.reportgrid>*,.securitygrid>*,.chartgrid>*,
  .device-primary-kpis>*,.device-secondary-kpis>*,.device-overview-v3>*,
  .lobby-pending-grid>*,.lobby-summary>*{min-width:0}
  .panel,.card,.tablewrap,.device-dashboard,.pagehead{max-width:100%;min-width:0}
  .tablewrap{overflow-x:auto}

  .pagehead{min-height:118px;padding:23px 24px!important}
  .pagehead h2{font-size:31px}
  .pagehead .muted{font-size:14px}
  .panel{padding:19px 20px}.panelhead h3,.panel>h3{font-size:18px}
  .muted{font-size:13.5px}
  th,td{font-size:14px}thead th{font-size:12px}
  .badge,.chip,.pill{font-size:12px;padding:5px 9px}
  input,select,textarea,button{font-size:14px}button{min-height:40px}.tiny{min-height:33px;font-size:12.5px}

  .device-hero-content{min-height:188px;padding:22px 23px;grid-template-columns:86px minmax(0,1fr) auto;min-width:0}
  .device-hero-content>*{min-width:0}
  .device-hero-v3 .device-glyph{width:76px;height:76px}
  .device-hero-v3 .device-glyph .ui-icon{width:37px;height:37px}
  .device-hero-v3 .device-titleblock h2{font-size:34px}
  .device-identity-line{font-size:13px;margin-top:10px;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .device-last-seen small,.device-last-seen em{font-size:12px}.device-last-seen b{font-size:14px}
  .device-hero-actions-v3{min-width:0;max-width:100%}
  .device-hero-actions-v3 .device-action-row{flex-wrap:wrap;justify-content:flex-end}
  .device-hero-actions-v3 .device-action-row button{height:41px;font-size:12.5px;padding-inline:13px}
  .device-primary-kpis,.device-secondary-kpis{gap:14px;margin-bottom:14px;min-width:0}
  .device-primary-kpis .device-fact,.device-primary-kpis .device-meter,.device-secondary-kpis .device-meter{min-width:0;min-height:106px;padding:15px 16px}
  .device-primary-kpis .device-meter small,.device-secondary-kpis .device-meter small{font-size:12px}
  .device-primary-kpis .device-meter-top b,.device-secondary-kpis .device-meter-top b{font-size:16px}
  .devtabs-v3{padding:6px;margin-bottom:14px;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
  .devtabs-v3 .devtabbtn{height:44px;font-size:12px;padding-inline:13px;gap:8px;flex:0 0 auto}
  .devtabs-v3 .devtabbtn .tab-icon{width:17px;height:17px;min-width:17px;min-height:17px}
  .device-overview-v3{grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr)!important;gap:14px;min-width:0}
  .device-side-stack{min-width:0;gap:14px}
  .device-info-panel .pairs span,.device-info-panel .pairs b{font-size:12.5px}
  .device-network-panel .network-card{min-width:0;padding:12px 13px;grid-template-columns:38px minmax(0,1fr) auto}
  .network-live{font-size:12px}.capability-panel .chip{font-size:12px}.device-overview-v3 .panel h3{font-size:18px}.device-overview-v3 .panel .muted{font-size:12.5px}
}

@media (min-width:2560px) and (min-height:1200px){
  .workspace-main>#content{zoom:1!important;width:100%!important}
  .workspace-main{padding-inline:clamp(44px,2vw,58px)}
  .ops-core-grid{grid-template-columns:minmax(0,.82fr) minmax(0,1.84fr) minmax(0,1fr)!important}
}

@media (min-width:3200px) and (min-height:1300px){
  body{font-size:17px}
  .workspace-main>#content{zoom:1!important;width:100%!important}
  .workspace-main{padding:38px 72px 84px}
  .ops-hero-v3 h2{font-size:46px}
  .ops-metrics-v3 .ops-metric-copy>span{font-size:14.5px}
  .ops-metrics-v3 .ops-metric-value b{font-size:36px}
  .ops-core-grid>.ops-card{min-height:408px}
  .ops-card-head h3{font-size:19px}
  .ops-activity-row b{font-size:14px}.ops-activity-row small,.ops-activity-row time{font-size:12px}
  .ops-device-table td{font-size:14px}.ops-device-table thead th{font-size:12.5px}
}

@media (min-width:3800px) and (min-height:1600px){
  body{font-size:18px}
  .workspace-main>#content{zoom:1!important;width:100%!important}
  .workspace-main{padding:44px 92px 96px}
  .ops-hero-v3{min-height:210px}.ops-hero-v3 h2{font-size:50px}.ops-hero-v3 p{font-size:17px}
  .ops-metrics-v3 .ops-metric{min-height:150px}.ops-metrics-v3 .ops-metric-value b{font-size:39px}
  .ops-core-grid>.ops-card{min-height:438px}
  .ops-card-head h3{font-size:20px}.ops-card-head p{font-size:13.5px}
  .ops-device-table td{font-size:15px}.ops-device-table thead th{font-size:13px}
}

/* R0.32.27 PROFESSIONAL OPERATIONS DASHBOARD */
.ops-dashboard-pro{--dash-blue:#2aa8ff;--dash-cyan:#35d6ff;--dash-green:#22d5a7;--dash-red:#ff6170;--dash-amber:#ffbd50;--dash-line:#184a70;--dash-card:linear-gradient(180deg,rgba(8,31,54,.98),rgba(5,21,38,.98));}
.ops-dashboard-pro .ops-hero-v3{margin-bottom:10px;border:1px solid rgba(30,86,130,.58);border-radius:12px;box-shadow:0 18px 52px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.025)}
.ops-dashboard-pro .ops-metrics-pro{gap:11px;margin-bottom:11px}
.ops-dashboard-pro .ops-metric-pro{position:relative;min-width:0;min-height:94px;padding:14px 15px 12px 67px;border:1px solid #174b73;background:var(--dash-card);border-radius:11px;overflow:hidden;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 30px rgba(0,0,0,.12)}
.ops-dashboard-pro .ops-metric-pro:before{content:"";position:absolute;left:18%;right:18%;top:-1px;height:2px;background:linear-gradient(90deg,transparent,var(--dash-blue),transparent);opacity:.8;box-shadow:0 0 14px rgba(42,168,255,.7)}
.ops-dashboard-pro .ops-metric-pro:hover{transform:translateY(-2px);border-color:#2d75aa;box-shadow:0 16px 38px rgba(0,0,0,.18),0 0 22px rgba(34,146,230,.08)}
.ops-dashboard-pro .ops-metric-pro.tone-green:before{background:linear-gradient(90deg,transparent,var(--dash-green),transparent);box-shadow:0 0 14px rgba(34,213,167,.7)}
.ops-dashboard-pro .ops-metric-pro.tone-red:before{background:linear-gradient(90deg,transparent,var(--dash-red),transparent);box-shadow:0 0 14px rgba(255,97,112,.55)}
.ops-dashboard-pro .ops-metric-pro.tone-amber:before{background:linear-gradient(90deg,transparent,var(--dash-amber),transparent);box-shadow:0 0 14px rgba(255,189,80,.5)}
.ops-dashboard-pro .ops-metric-icon{position:absolute;left:13px;top:14px;width:42px;height:42px;border-radius:11px;border:1px solid rgba(48,164,255,.44);display:grid;place-items:center;background:radial-gradient(circle at 30% 24%,rgba(52,170,255,.28),rgba(8,53,92,.62));color:#42baff;box-shadow:inset 0 1px rgba(255,255,255,.06),0 0 20px rgba(36,143,232,.12)}
.ops-dashboard-pro .ops-metric-icon .ui-icon{width:21px;height:21px}
.ops-dashboard-pro .tone-green .ops-metric-icon{color:#32dfb4;border-color:rgba(43,217,177,.42);background:radial-gradient(circle at 30% 24%,rgba(38,218,174,.25),rgba(4,66,58,.70))}
.ops-dashboard-pro .tone-red .ops-metric-icon{color:#ff7480;border-color:rgba(255,92,108,.42);background:radial-gradient(circle at 30% 24%,rgba(255,95,111,.24),rgba(78,22,34,.70))}
.ops-dashboard-pro .tone-amber .ops-metric-icon{color:#ffc760;border-color:rgba(255,189,80,.42);background:radial-gradient(circle at 30% 24%,rgba(255,189,80,.22),rgba(71,50,16,.70))}
.ops-dashboard-pro .ops-metric-chevron{position:absolute;right:12px;top:12px;color:#7ba7c8;opacity:.85}.ops-dashboard-pro .ops-metric-chevron .ui-icon{width:15px;height:15px}
.ops-dashboard-pro .ops-metric-copy{position:relative;z-index:2;min-width:0}.ops-dashboard-pro .ops-metric-copy>span{font-size:12px;color:#a7bdd1}.ops-dashboard-pro .ops-metric-value{display:flex;align-items:baseline;gap:8px;margin-top:1px}.ops-dashboard-pro .ops-metric-value b{font-size:27px;line-height:1;color:#f6fbff;letter-spacing:-.035em}.ops-dashboard-pro .ops-metric-value em{font-style:normal;font-size:12px;font-weight:700;color:#68a2cb}.ops-dashboard-pro .tone-green .ops-metric-value em{color:#32d8ad}.ops-dashboard-pro .tone-red .ops-metric-value em{color:#ff7480}.ops-dashboard-pro .ops-metric-copy small{display:block;font-size:12px;color:#6e8ba7;margin-top:4px}
.ops-dashboard-pro .ops-metric-sparkline{position:absolute;right:11px;bottom:7px;width:92px;height:29px;opacity:.72;pointer-events:none}
.ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(285px,.82fr) minmax(520px,1.72fr) minmax(350px,1fr);gap:11px;margin-bottom:11px}
.ops-dashboard-pro .ops-core-grid-pro>.ops-card,.ops-dashboard-pro .ops-devices-card-pro{position:relative;border:1px solid #174b73;background:var(--dash-card);box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 36px rgba(0,0,0,.13);border-radius:11px;overflow:hidden}
.ops-dashboard-pro .ops-core-grid-pro>.ops-card:before,.ops-dashboard-pro .ops-devices-card-pro:before{content:"";position:absolute;top:-1px;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,rgba(48,181,255,.55),transparent);pointer-events:none}
.ops-dashboard-pro .ops-card-head{position:relative;z-index:2}.ops-dashboard-pro .ops-card-head h3{font-size:15px;letter-spacing:-.015em}.ops-dashboard-pro .ops-card-head p{font-size:12px;color:#7192b1;margin-top:2px}.ops-dashboard-pro .ops-link-inline{display:inline-flex;align-items:center;gap:5px;background:transparent!important;border:0!important;padding:3px 0;color:#35afff;font-size:12px;box-shadow:none!important}.ops-dashboard-pro .ops-link-inline:hover{color:#7fd0ff!important}
.ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{display:grid;grid-template-columns:minmax(150px,.92fr) minmax(190px,1.08fr);gap:20px;align-items:center;justify-content:stretch;min-height:218px;padding:6px 6px 2px}
.ops-dashboard-pro .ops-status-visual{display:grid;place-items:center;min-width:0}.ops-dashboard-pro .ops-status-ring-svg{width:min(184px,100%);height:auto;overflow:visible}.ops-dashboard-pro .ops-ring-track{fill:none;stroke:#10304b;stroke-width:13}.ops-dashboard-pro .ops-ring-halo{fill:none;stroke:#16547c;stroke-width:1;opacity:.75}.ops-dashboard-pro .ops-ring-segment{fill:none;stroke-width:13;transform:rotate(-90deg);transform-origin:70px 70px;filter:url(#opsRingGlow);opacity:.5;cursor:pointer;transition:opacity .18s ease,stroke-width .18s ease,filter .18s ease}.ops-dashboard-pro .ops-ring-segment:hover,.ops-dashboard-pro .ops-ring-segment.active{opacity:1;stroke-width:15;filter:url(#opsRingGlow) drop-shadow(0 0 8px rgba(71,202,255,.14))}.ops-dashboard-pro .ops-ring-inner{fill:#061628;stroke:#17435f;stroke-width:1.4}.ops-dashboard-pro .ops-ring-value{font-size:26px;font-weight:800;fill:#f4fbff;letter-spacing:-.04em}.ops-dashboard-pro .ops-ring-label{font-size:12px;fill:#7291ad}.ops-dashboard-pro .ops-status-side{display:grid;gap:10px;align-content:center;min-width:0}.ops-dashboard-pro .ops-status-legend{display:grid;gap:8px;min-width:0}.ops-dashboard-pro .ops-status-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;margin:0;padding:10px 11px;border:1px solid #153957;border-radius:10px;background:linear-gradient(180deg,rgba(8,27,45,.9),rgba(8,22,37,.88));color:#d9ebfb;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}.ops-dashboard-pro .ops-status-legend-row:hover{border-color:#245b88;background:linear-gradient(180deg,rgba(11,37,61,.96),rgba(9,25,43,.92));transform:translateY(-1px)}.ops-dashboard-pro .ops-status-legend-row.active{border-color:#36b4ff;background:linear-gradient(180deg,rgba(12,43,71,.98),rgba(8,29,51,.95));box-shadow:0 0 0 1px rgba(53,177,255,.16),0 10px 18px rgba(0,0,0,.18)}.ops-dashboard-pro .ops-status-legend-row i{width:10px;height:10px;border-radius:50%;box-shadow:0 0 10px currentColor;flex:none}.ops-dashboard-pro .ops-status-legend-copy{display:block;min-width:0}.ops-dashboard-pro .ops-status-legend-copy b{display:block;font-size:12px;color:#eef7ff;line-height:1.15}.ops-dashboard-pro .ops-status-legend-copy small{display:block;margin-top:3px;font-size:12px;color:#7f9eb8;line-height:1.2}.ops-dashboard-pro .ops-status-legend-row strong{font-size:15px;color:#f4fbff;letter-spacing:-.02em}.ops-dashboard-pro .ops-status-legend-row em{font-style:normal;font-size:12px;color:#7fb1d6;text-align:right;min-width:36px}.ops-dashboard-pro .ops-status-detail{padding:11px 12px;border-radius:10px;border:1px solid #15425f;background:linear-gradient(180deg,rgba(8,29,48,.82),rgba(7,23,38,.78));min-height:84px}.ops-dashboard-pro .ops-status-detail-head{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center}.ops-dashboard-pro .ops-status-detail-dot{width:10px;height:10px;border-radius:50%;box-shadow:0 0 9px currentColor}.ops-dashboard-pro .ops-status-detail-dot.tone-healthy{background:#2ae4b5;color:#2ae4b5}.ops-dashboard-pro .ops-status-detail-dot.tone-warning{background:#ffbd50;color:#ffbd50}.ops-dashboard-pro .ops-status-detail-dot.tone-critical{background:#ff6170;color:#ff6170}.ops-dashboard-pro .ops-status-detail-dot.tone-offline{background:#527493;color:#527493}.ops-dashboard-pro .ops-status-detail-head b{font-size:12px;color:#eef7ff}.ops-dashboard-pro .ops-status-detail-share{font-size:12px;color:#7eb0d5}.ops-dashboard-pro .ops-status-detail-main{display:flex;align-items:flex-end;gap:7px;margin-top:9px}.ops-dashboard-pro .ops-status-detail-main strong{font-size:27px;line-height:1;color:#f5fbff;letter-spacing:-.04em}.ops-dashboard-pro .ops-status-detail-main span{font-size:12px;color:#8eabc5;padding-bottom:3px}.ops-dashboard-pro .ops-status-detail small{display:block;margin-top:7px;font-size:12px;line-height:1.35;color:#7d9ab4}.ops-dashboard-pro .ops-status-detail.tone-healthy{border-color:#12594d;background:linear-gradient(180deg,rgba(6,55,47,.38),rgba(6,28,26,.32))}.ops-dashboard-pro .ops-status-detail.tone-warning{border-color:#6a4d19;background:linear-gradient(180deg,rgba(74,53,13,.32),rgba(34,27,10,.28))}.ops-dashboard-pro .ops-status-detail.tone-critical{border-color:#713141;background:linear-gradient(180deg,rgba(70,24,34,.35),rgba(31,13,18,.28))}.ops-dashboard-pro .ops-status-detail.tone-offline{border-color:#31475f;background:linear-gradient(180deg,rgba(31,49,68,.34),rgba(18,28,39,.29))}.ops-dashboard-pro .ops-status-callout{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;margin:8px 1px 1px;padding:9px 10px;border-radius:8px;border:1px solid #155349;background:linear-gradient(180deg,rgba(7,69,59,.62),rgba(5,46,42,.45));color:#2bdab0}.ops-dashboard-pro .ops-status-callout.attention{border-color:#69501f;background:linear-gradient(180deg,rgba(91,62,16,.45),rgba(57,41,14,.34));color:#ffc15a}.ops-dashboard-pro .ops-status-callout>span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:currentColor;color:#05221c}.ops-dashboard-pro .ops-status-callout>span .ui-icon{width:16px;height:16px}.ops-dashboard-pro .ops-status-callout b,.ops-dashboard-pro .ops-status-callout small{display:block}.ops-dashboard-pro .ops-status-callout b{font-size:12px;color:#dffcf4}.ops-dashboard-pro .ops-status-callout.attention b{color:#ffe5ad}.ops-dashboard-pro .ops-status-callout small{font-size:12px;color:#7db7a6;margin-top:1px}.ops-dashboard-pro .ops-status-callout.attention small{color:#bba87a}
.ops-dashboard-pro .ops-activity-trend-pro{min-height:305px}.ops-dashboard-pro .ops-chart-shell{position:relative;min-height:235px;margin-top:4px}.ops-dashboard-pro .ops-activity-pro{height:230px!important;width:100%;overflow:visible}.ops-dashboard-pro .ops-chart-y line{stroke:#143b5d;stroke-width:1}.ops-dashboard-pro .ops-chart-y text{fill:#5f7e9c;font-size:12px}.ops-dashboard-pro .ops-chart-vgrid{stroke:#0e304c;stroke-width:.8;opacity:.55}.ops-dashboard-pro .ops-area-online{fill:url(#opsActivityFillPro)}.ops-dashboard-pro .ops-line-online{fill:none;stroke:#2ab7ff;stroke-width:2.4;stroke-linecap:round;filter:drop-shadow(0 0 5px rgba(42,183,255,.28))}.ops-dashboard-pro .ops-line-alerts{fill:none;stroke:#ff6170;stroke-width:1.8;stroke-linecap:round}.ops-dashboard-pro .ops-point-online{fill:#28b6ff}.ops-dashboard-pro .ops-point-online.latest{fill:#d8f6ff;stroke:#37c5ff;stroke-width:2;filter:url(#opsPointGlow)}.ops-dashboard-pro .ops-point-alert{fill:#ff6170}.ops-dashboard-pro .ops-chart-cursor{stroke:#32b8ff;stroke-width:1;stroke-dasharray:3 5;opacity:.45}.ops-dashboard-pro .ops-axis text{fill:#6f8eaa;font-size:12px}.ops-dashboard-pro .ops-chart-tooltip{position:absolute;right:7.5%;top:31px;min-width:132px;padding:8px 10px;border:1px solid #23577e;border-radius:8px;background:rgba(6,27,48,.94);box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.03);backdrop-filter:blur(12px);pointer-events:none}.ops-dashboard-pro .ops-chart-tooltip b{display:block;color:#e9f7ff;font-size:12px;margin-bottom:5px}.ops-dashboard-pro .ops-chart-tooltip span{display:grid;grid-template-columns:7px 1fr auto;gap:6px;align-items:center;color:#91a9bf;font-size:12px;margin-top:3px}.ops-dashboard-pro .ops-chart-tooltip strong{color:#eff8ff}.ops-dashboard-pro .ops-chart-legend{font-size:12px}
@keyframes opsLineReveal{from{stroke-dasharray:0 1600;opacity:.35}to{stroke-dasharray:1600 0;opacity:1}}.ops-dashboard-pro .ops-line-animated,.ops-dashboard-pro .ops-line-animated-alert{animation:opsLineReveal .65s cubic-bezier(.2,.7,.2,1) both}
.ops-dashboard-pro .ops-recent-card-pro{min-height:305px}.ops-dashboard-pro .ops-recent-card-pro .ops-activity-list{position:relative;margin-top:7px;padding-left:0}.ops-dashboard-pro .ops-activity-timeline-row{display:grid;grid-template-columns:55px 10px 34px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:45px;position:relative}.ops-dashboard-pro .ops-activity-timeline-row:before{content:"";position:absolute;left:59px;top:28px;bottom:-17px;width:1px;background:linear-gradient(#277caf,#163c5a)}.ops-dashboard-pro .ops-activity-timeline-row:last-child:before{display:none}.ops-dashboard-pro .ops-timeline-time{text-align:right;font-size:12px;color:#6f8ea9;white-space:nowrap}.ops-dashboard-pro .ops-timeline-node{width:8px;height:8px;border-radius:50%;background:#2aa8ff;box-shadow:0 0 9px rgba(42,168,255,.55);z-index:1}.ops-dashboard-pro .ops-timeline-node.tone-green{background:#22d5a7;box-shadow:0 0 9px rgba(34,213,167,.5)}.ops-dashboard-pro .ops-timeline-node.tone-red{background:#ff6170;box-shadow:0 0 9px rgba(255,97,112,.5)}.ops-dashboard-pro .ops-timeline-node.tone-violet{background:#8c7bff}.ops-dashboard-pro .ops-activity-timeline-row .ops-activity-icon{width:31px;height:31px;border-radius:7px}.ops-dashboard-pro .ops-activity-copy{min-width:0}.ops-dashboard-pro .ops-activity-copy b{font-size:12px;color:#ecf6ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-dashboard-pro .ops-activity-copy small{font-size:12px;color:#6685a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-dashboard-pro .ops-event-badge{display:inline-flex;align-items:center;justify-content:center;height:20px;padding:0 7px;border-radius:999px;border:1px solid #205c89;background:#0b3150;color:#59b9ff;font-size:12px;font-weight:800;letter-spacing:.04em}.ops-dashboard-pro .ops-event-badge.tone-green{border-color:#176952;background:#0b4035;color:#43e2b8}.ops-dashboard-pro .ops-event-badge.tone-red{border-color:#7b4d16;background:#4a3618;color:#ffc257}.ops-dashboard-pro .ops-event-badge.tone-violet{border-color:#4a4d86;background:#262849;color:#b6acff}
.ops-dashboard-pro .ops-devices-card-pro{padding:0;margin-top:0}.ops-dashboard-pro .ops-devices-card-pro .ops-devices-head{padding:13px 14px 9px;border-bottom:1px solid #123b5d;align-items:center}.ops-dashboard-pro .ops-devices-card-pro h3{font-size:15px}.ops-dashboard-pro .ops-device-tabs{margin-top:7px;gap:20px}.ops-dashboard-pro .ops-device-tabs button,.ops-dashboard-pro .ops-device-tabs span{font-size:12px}.ops-dashboard-pro .ops-head-actions{gap:8px}.ops-dashboard-pro .ops-head-actions button{height:36px}.ops-dashboard-pro .ops-search-button{min-width:185px;justify-content:flex-start;color:#6887a5}.ops-dashboard-pro .ops-add-device{background:linear-gradient(180deg,#2099ff,#0876e8);border-color:#38b2ff;box-shadow:0 0 18px rgba(29,151,255,.18)}.ops-dashboard-pro .ops-table-wrap{margin-top:0}.ops-dashboard-pro .ops-device-table{min-width:900px}.ops-dashboard-pro .ops-device-table th{height:34px;padding:7px 11px;background:#081a2e;color:#7797b5;font-size:12px;letter-spacing:.03em}.ops-dashboard-pro .ops-device-table td{height:48px;padding:8px 11px;font-size:12px}.ops-dashboard-pro .ops-device-table td:first-child{display:grid;grid-template-columns:31px minmax(0,1fr);gap:8px;align-items:center}.ops-dashboard-pro .ops-row-device-icon{width:27px;height:27px;border-radius:7px;border:1px solid #164267;background:#092440;color:#59baff;display:grid;place-items:center}.ops-dashboard-pro .ops-row-device-icon .ui-icon{width:15px;height:15px}.ops-dashboard-pro .ops-device-table small{display:block;margin-top:2px;color:#61809f;font-size:12px}.ops-dashboard-pro .ops-row-menu{width:28px;height:28px;padding:0;border:0;background:transparent;font-size:18px;color:#9db6ca}.ops-dashboard-pro .ops-statusbar-pro{justify-content:flex-start;border-top:1px solid #0e304d;margin-top:9px;padding:10px 2px 0}.ops-dashboard-pro .ops-statusbar-pro .ops-footer-sign{margin-left:auto;letter-spacing:.08em;color:#4e7aa0}.ops-dashboard-pro .ops-statusbar-pro .ops-footer-sign b{font-weight:500;color:#668aa8}
@media (prefers-reduced-motion:reduce){.ops-dashboard-pro .ops-line-animated,.ops-dashboard-pro .ops-line-animated-alert,.ops-dashboard-pro .ops-metric-pro{animation:none!important;transition:none!important}}
@media (min-width:2200px) and (min-height:1100px){.ops-dashboard-pro .ops-metric-pro{min-height:110px;padding:17px 18px 14px 79px}.ops-dashboard-pro .ops-metric-icon{left:16px;top:17px;width:49px;height:49px}.ops-dashboard-pro .ops-metric-icon .ui-icon{width:24px;height:24px}.ops-dashboard-pro .ops-metric-copy>span{font-size:13px}.ops-dashboard-pro .ops-metric-value b{font-size:31px}.ops-dashboard-pro .ops-metric-copy small{font-size:12px}.ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(330px,.82fr) minmax(620px,1.74fr) minmax(410px,1fr);gap:14px}.ops-dashboard-pro .ops-core-grid-pro>.ops-card{padding:16px;min-height:350px}.ops-dashboard-pro .ops-card-head h3{font-size:17px}.ops-dashboard-pro .ops-card-head p{font-size:12px}.ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{min-height:245px}.ops-dashboard-pro .ops-status-ring-svg{width:min(205px,100%)}.ops-dashboard-pro .ops-status-legend span{font-size:12px}.ops-dashboard-pro .ops-activity-trend-pro,.ops-dashboard-pro .ops-recent-card-pro{min-height:350px}.ops-dashboard-pro .ops-chart-shell{min-height:280px}.ops-dashboard-pro .ops-activity-pro{height:275px!important}.ops-dashboard-pro .ops-activity-timeline-row{min-height:52px;grid-template-columns:64px 11px 38px minmax(0,1fr) auto}.ops-dashboard-pro .ops-activity-timeline-row:before{left:69px}.ops-dashboard-pro .ops-timeline-time{font-size:12px}.ops-dashboard-pro .ops-activity-copy b{font-size:12px}.ops-dashboard-pro .ops-activity-copy small{font-size:12px}.ops-dashboard-pro .ops-event-badge{font-size:12px;height:22px}.ops-dashboard-pro .ops-devices-card-pro .ops-devices-head{padding:16px}.ops-dashboard-pro .ops-device-table td{height:55px;font-size:12px}.ops-dashboard-pro .ops-device-table th{font-size:12px}.ops-dashboard-pro .ops-statusbar-pro{font-size:12px}}
@media (max-width:1500px){.ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(260px,.9fr) minmax(430px,1.6fr) minmax(310px,1fr)}.ops-dashboard-pro .ops-chart-tooltip{display:none}}

/* R0.32.27 LICENSE CENTER */
.license-shell{display:grid;gap:12px;min-width:0}.license-pagehead{min-height:92px}.license-page-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #205781;background:rgba(8,32,54,.8);color:#5ab8ff;border-radius:999px;padding:7px 11px;font-size:12px;letter-spacing:.08em;font-weight:700}.license-tabs{display:flex;gap:5px;padding:5px;border:1px solid #163d60;border-radius:10px;background:#061629;overflow-x:auto}.license-tab{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid transparent;background:transparent;color:#85a4c2;white-space:nowrap}.license-tab .ui-icon{width:15px;height:15px}.license-tab:hover{background:#09223a;color:#d8e9f9}.license-tab.active{color:#5bc5ff;border-color:#24699f;background:linear-gradient(180deg,#0b3154,#08223c);box-shadow:inset 0 -2px #19b9ff,0 0 18px rgba(19,170,255,.09)}.license-body{min-width:0;animation:lcFade .18s ease-out}.license-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.license-kpi{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;min-height:104px;padding:14px;border:1px solid #174161;border-radius:10px;background:linear-gradient(145deg,#081c31,#061426);overflow:hidden}.license-kpi:after{content:"";position:absolute;inset:auto -20% -60% 20%;height:90px;border-radius:50%;filter:blur(25px);opacity:.18;background:#23a9ff}.license-kpi.tone-green:after{background:#18d0a2}.license-kpi.tone-amber:after{background:#ffb43b}.license-kpi.tone-red:after{background:#ff5c68}.license-kpi-icon{width:46px;height:46px;border:1px solid #215b83;border-radius:12px;display:grid;place-items:center;color:#48b8ff;background:#0a2a47}.license-kpi-icon .ui-icon{width:23px;height:23px}.license-kpi.tone-green .license-kpi-icon{color:#43deb7;border-color:#176a58;background:#08372e}.license-kpi.tone-amber .license-kpi-icon{color:#ffc05d;border-color:#6d5324;background:#342910}.license-kpi.tone-red .license-kpi-icon{color:#ff7b86;border-color:#6e3039;background:#35171d}.license-kpi small,.license-kpi span{display:block}.license-kpi small{color:#7897b5;font-size:12px}.license-kpi strong{display:block;color:#f2f7fd;font-size:25px;line-height:1.05;margin:4px 0}.license-kpi span:last-child{color:#7694b0;font-size:12px}.license-overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,.8fr);gap:10px;margin-top:10px}.license-overview-grid>.panel{min-width:0;margin:0}.license-table .license-actions{display:flex;gap:5px;flex-wrap:wrap}.license-feed{display:grid}.license-feed-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 2px;border-bottom:1px solid #102f4a}.license-feed-row:last-child{border-bottom:0}.license-feed-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#09223a;color:#55b8ff;border:1px solid #194a70}.license-feed-icon.ok{color:#40d9ad;border-color:#1b6654;background:#082e28}.license-feed-icon .ui-icon{width:16px;height:16px}.license-feed-row b,.license-feed-row small{display:block}.license-feed-row b{font-size:12px;color:#dbe9f6}.license-feed-row small{font-size:12px;color:#6e8ba7;margin-top:2px}.license-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px}.license-product-card{border:1px solid #17405f;border-radius:10px;padding:15px;background:linear-gradient(145deg,#071a2e,#061323)}.license-product-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}.license-product-head>span:first-child{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:#51b9ff;background:#092b49;border:1px solid #205a84}.license-product-head h3{margin:0 0 3px}.license-product-card p{color:#7897b5;font-size:12px}.license-chip-row{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.license-chip-row span{font-size:12px;padding:5px 7px;border-radius:999px;border:1px solid #1b4566;background:#082039;color:#85b5dd}.license-limit-row{color:#7594b2;font-size:12px}.license-editions{display:flex;gap:6px;margin-top:12px}.license-editions>span{display:grid;min-width:100px;border:1px solid #163b59;border-radius:8px;padding:7px 9px;background:#07192b}.license-editions b,.license-editions small{display:block}.license-editions small{color:#6f8da9;font-size:12px;margin-top:2px}.license-offline-grid,.license-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.license-offline-grid .wide,.license-form-grid .wide,.license-feature-field{grid-column:1/-1}.license-feature-checks{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.license-feature-checks label{display:flex;align-items:center;gap:6px;border:1px solid #183f60;border-radius:7px;padding:7px 9px;background:#07192c;color:#a4bdd4}.license-offline textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.license-offline-success{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:14px;padding:12px;border:1px solid #176651;border-radius:9px;background:#082d27;color:#51dfb6}.license-offline-success>.ui-icon{width:22px;height:22px}.license-offline-success b,.license-offline-success span{display:block}.license-offline-success span{font-size:12px;color:#8bc8b6}.license-key-health{display:flex;gap:10px;align-items:center;padding:12px;margin-bottom:12px;border-radius:9px;border:1px solid #17405f;background:#071a2d}.license-key-health.ok{border-color:#17634f;background:#082b25}.license-key-health.bad{border-color:#6d3a27;background:#2e2114}.license-key-health>.ui-icon{width:23px;height:23px}.license-key-health b,.license-key-health span{display:block}.license-key-health span{font-size:12px;color:#88a6bf;margin-top:3px}.license-pubkey{display:block;max-width:370px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.license-key-reveal{padding:16px;border:1px solid #1e664f;border-radius:9px;background:#082c26}.license-key-reveal span{display:block;font-size:12px;color:#7fb8a8;margin-bottom:7px}.license-key-reveal code{display:block;font-size:18px;letter-spacing:.08em;color:#64e8c1;word-break:break-all}.primary-lite{border-color:#236797!important;color:#64c4ff!important;background:#092846!important}@keyframes lcFade{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}@media(min-width:2200px){.license-kpi{min-height:118px}.license-kpi strong{font-size:29px}.license-tab{min-height:43px;font-size:12px}.license-overview-grid{grid-template-columns:minmax(0,1.9fr) minmax(390px,.8fr)}}@media(max-width:1200px){.license-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.license-overview-grid{grid-template-columns:1fr}}

/* R0.32.27 GLOBAL ACTION SPACING & CONTROL RHYTHM
   Prevents search/action controls from visually colliding with headings,
   descriptions, form fields and data blocks across the entire OPS console. */
:root{
  --ops-flow-xs:6px;
  --ops-flow-sm:10px;
  --ops-flow-md:14px;
  --ops-flow-lg:18px;
}

/* Action clusters always keep a deliberate buffer from the content above. */
:where(.panel,.card,.errorbox,.compat,.updateflag,.license-product-card,.lobby-device-card,.context-card)>
:is(.actions,.commandbar,.managementbuttons,.updateactions,.license-actions,.erroractions,.lifecycle-actions){
  margin-top:var(--ops-flow-md);
}

:is(.formgrid,.formrow,.conditionrow,.checkgrid,.staticlist,.notearea,.tablewrap,dl,.previewbox,.license-feature-checks,.license-key-reveal)+
:is(.actions,.commandbar,.managementbuttons,.updateactions,.license-actions,.erroractions,.lifecycle-actions){
  margin-top:var(--ops-flow-md);
}

:is(.muted,p,.labelish,.actionnote)+
:is(.actions,.commandbar,.managementbuttons,.updateactions,.license-actions,.erroractions,.formrow,.formgrid,.devicefilters,.fleet-filters,.bulkbar,.lobby-toolbar,.license-tabs){
  margin-top:var(--ops-flow-sm);
}

/* Toolbars/search rows are separate visual bands, never glued to page copy. */
.pagehead + :is(.devicefilters,.fleet-filters,.bulkbar,.lobby-toolbar,.license-tabs,.commandbar,.actions){
  margin-top:var(--ops-flow-sm);
}

:is(.panelhead,.pagehead,.ops-card-head,.ops-devices-head,.lobby-pagehead,.license-pagehead,.license-product-head){
  column-gap:var(--ops-flow-lg);
  row-gap:var(--ops-flow-sm);
}

:is(.pagehead-actions,.lobby-head-actions,.ops-head-actions,.device-action-row,.lobby-card-actions,.license-actions,.actions,.commandbar,.erroractions){
  gap:var(--ops-flow-sm);
  flex-wrap:wrap;
}

/* Headers with explanatory copy get air before in-panel controls. */
.panel>h3 + :is(.actions,.commandbar,.formrow,.formgrid,.devicefilters,.fleet-filters,.bulkbar),
.panel>.panelhead + :is(.actions,.commandbar,.formrow,.formgrid,.devicefilters,.fleet-filters,.bulkbar),
.card>.row + .actions,
.card>.muted + .actions{
  margin-top:var(--ops-flow-sm);
}

/* Reusable form rhythm. */
.formgrid{row-gap:var(--ops-flow-md)}
.formgrid label,.formrow label{gap:var(--ops-flow-xs)}
.formrow{margin-top:var(--ops-flow-sm);margin-bottom:var(--ops-flow-md)}
.actions + .actionnote,.commandbar + .actionnote{margin-top:var(--ops-flow-sm)}

/* Keep dense table actions aligned without introducing vertical drift. */
td .actions,.rowactions,.license-table .license-actions{margin-top:0!important}
.rowactions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

/* Search/control bands get a minimum comfortable height and internal alignment. */
:is(.devicefilters,.fleet-filters,.bulkbar,.lobby-toolbar){align-items:center}
:is(.devicefilters,.fleet-filters) input,
:is(.devicefilters,.fleet-filters) select{min-height:36px}

/* Large desktop: spacing scales slightly with the readable 1440p/4K mode. */
@media (min-width:2200px) and (min-height:1100px){
  :root{--ops-flow-sm:12px;--ops-flow-md:16px;--ops-flow-lg:20px}
}
@media (min-width:3200px) and (min-height:1400px){
  :root{--ops-flow-sm:13px;--ops-flow-md:18px;--ops-flow-lg:22px}
}

/* R0.32.27 — robust offline activation import */
.license-request-meta{display:flex;align-items:end;justify-content:flex-end;min-height:52px;color:#7798b7;font-size:12px}.license-request-meta>span{display:inline-flex;align-items:center;gap:6px}.license-request-meta .ok{color:#57dbb7}.license-dropzone{grid-column:1/-1;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:104px;padding:16px 18px;border:1px dashed #2d6d99;border-radius:12px;background:linear-gradient(145deg,rgba(8,31,52,.88),rgba(5,20,35,.92));transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;cursor:pointer}.license-dropzone:hover,.license-dropzone:focus-visible,.license-dropzone.dragover{border-color:#28b6ff;background:linear-gradient(145deg,rgba(9,42,70,.96),rgba(6,27,46,.96));box-shadow:0 0 0 1px rgba(39,183,255,.14),0 0 26px rgba(12,159,236,.12);outline:none}.license-dropzone.dragover{transform:translateY(-1px)}.license-drop-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:12px;border:1px solid #255f8c;background:#092b49;color:#59c6ff}.license-drop-icon .ui-icon{width:24px;height:24px}.license-dropzone b,.license-dropzone span{display:block}.license-dropzone b{font-size:13px;color:#e6f2fb}.license-dropzone span{margin-top:4px;color:#7f9db9;font-size:12px}.license-dropzone code{color:#71c8ff}.license-json-field{display:grid;gap:7px}.license-json-field>span{font-size:12px;color:#b8cce0}.license-offline textarea{width:100%;min-height:220px;resize:vertical;line-height:1.48;padding:13px 14px;border-radius:9px}.license-request-preview{grid-column:1/-1;border:1px solid #1b5d4d;border-radius:10px;background:linear-gradient(145deg,#082b26,#071e22);overflow:hidden}.license-preview-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #155143;color:#5ee0b8}.license-preview-head>span{display:inline-flex;align-items:center;gap:6px;font-weight:700}.license-preview-head small{color:#77a99a}.license-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.license-preview-grid>span{display:grid;gap:4px;padding:10px 12px;border-right:1px solid #123e36;border-bottom:1px solid #123e36;color:#6f9a8e;font-size:12px;min-width:0}.license-preview-grid>span:nth-child(3n){border-right:0}.license-preview-grid>span:nth-last-child(-n+3){border-bottom:0}.license-preview-grid b{font-size:12px;color:#d9eee8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.license-offline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.license-offline-actions .muted{max-width:720px}.license-offline-success{box-shadow:0 0 22px rgba(22,184,140,.08)}
@media(min-width:2200px){.license-dropzone{min-height:118px;padding:20px}.license-dropzone b{font-size:15px}.license-dropzone span{font-size:12px}.license-request-meta{font-size:12px}.license-json-field>span{font-size:13px}.license-offline textarea{font-size:13px;min-height:250px}.license-preview-grid>span{font-size:12px;padding:13px 15px}.license-preview-grid b{font-size:13px}}

/* R0.32.27 LICENSE CENTER BOOTSTRAP / PREREQUISITES */
.license-prereq-warning{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:14px 0 18px;padding:13px 14px;border:1px solid rgba(255,183,64,.34);border-radius:10px;background:linear-gradient(90deg,rgba(87,54,11,.35),rgba(10,30,49,.62));color:#ffd27b}.license-prereq-warning>.ui-icon{width:22px;height:22px}.license-prereq-warning b,.license-prereq-warning span{display:block}.license-prereq-warning b{color:#ffe4ac;font-size:13px}.license-prereq-warning span{margin-top:3px;color:#bca77e;font-size:12px;line-height:1.45}.license-prereq-warning button{white-space:nowrap}.license-offline select:disabled{opacity:.65;cursor:not-allowed}

/* R0.32.27 LICENSE PRODUCT STATE */
.license-product-card{position:relative}
.license-product-card.is-disabled{border-color:rgba(111,139,165,.28);background:linear-gradient(180deg,rgba(7,25,44,.88),rgba(5,18,32,.9))}
.license-product-card.is-enabled{border-color:rgba(31,168,211,.42);box-shadow:inset 0 1px rgba(255,255,255,.025),0 0 0 1px rgba(31,168,211,.04)}
.license-product-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(67,113,151,.24)}
.license-product-actions .muted{max-width:760px;line-height:1.45}
.license-product-actions button{flex:0 0 auto;min-width:138px}

/* R0.32.27 — optical SVG alignment and License Center company management */
.ui-icon{vertical-align:middle}
:is(.license-kpi-icon,.license-feed-icon,.license-product-head>span:first-child,.license-drop-icon,.lobby-summary-icon,.lobby-card-icon,.lobby-trust-mark,.lobby-empty-state>span,.device-glyph,.device-fact-icon,.device-meter-icon,.ops-metric-icon,.ops-row-device-icon,.top-icon,.nav-icon,.icon-button){line-height:0}
:is(.license-kpi-icon,.license-feed-icon,.license-product-head>span:first-child,.license-drop-icon,.lobby-summary-icon,.lobby-card-icon,.lobby-trust-mark,.lobby-empty-state>span,.device-glyph,.device-fact-icon,.device-meter-icon,.ops-metric-icon,.ops-row-device-icon) .ui-icon{transform:translateY(1px)}
.panel h3>.ui-icon,.panelhead h3>.ui-icon,.license-tab>.ui-icon,.devtabbtn>.ui-icon{transform:translateY(.5px)}
.license-customers .tablewrap{margin-top:4px}.license-customers td{vertical-align:middle}.license-customers td:first-child{min-width:260px}.license-customers .license-actions{justify-content:flex-end;flex-wrap:nowrap}.license-customers .license-actions button:disabled{opacity:.42;filter:saturate(.55)}
@media(min-width:2400px){:is(.license-kpi-icon,.license-feed-icon,.license-product-head>span:first-child,.license-drop-icon,.lobby-summary-icon,.lobby-card-icon,.lobby-trust-mark,.lobby-empty-state>span,.device-glyph,.device-fact-icon,.device-meter-icon,.ops-metric-icon,.ops-row-device-icon) .ui-icon{transform:translateY(1.25px)}}

/* R0.32.27 SIGNING KEY DEADLOCK RECOVERY */
.license-key-health.warn{background:linear-gradient(90deg,rgba(103,69,17,.46),rgba(47,35,15,.28));border-color:#8a6120;color:#ffd27c}.license-key-health{display:flex;align-items:center;gap:12px}.license-key-health>div{min-width:0;flex:1}.license-key-health>button{margin-left:auto;flex:0 0 auto}.license-key-deadlock{display:grid;gap:4px;margin:10px 0 14px;padding:12px 14px;border:1px solid rgba(255,183,70,.28);border-radius:8px;background:rgba(99,58,6,.18);color:#e7c98f}.license-key-deadlock b{color:#ffd17b}.license-key-deadlock span{color:#aebdca;line-height:1.45}.license-configured-chip{display:inline-flex;margin-left:8px;padding:2px 6px;border:1px solid #1d6796;border-radius:999px;color:#58c3ff;background:#08243a;font-size:12px;letter-spacing:.08em;vertical-align:middle}.license-key-rotation-note{margin-top:12px;padding:10px 12px;border-top:1px solid #153a55;color:#7f9db7;font-size:12px;line-height:1.5}.license-key-rotation-note code{color:#b8d7ef}.license-key-health .success{background:#0b4938;border-color:#197558;color:#62e4b8}

/* R0.32.27 — public-key export for LineBridge */
.license-key-health .primary-lite{white-space:nowrap}.license-key-rotation-note br+ b{display:inline-block;margin-top:5px}

/* R0.32.27 LICENSE LIFECYCLE ACTIONS */
.license-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.license-more{position:relative;display:inline-block}
.license-more>summary{list-style:none;cursor:pointer;user-select:none}
.license-more>summary::-webkit-details-marker{display:none}
.license-more[open]>summary{border-color:#2a80bd;background:#0b2c49;color:#dff3ff}
.license-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:80;min-width:210px;padding:7px;display:grid;gap:5px;background:#071a2d;border:1px solid #245274;border-radius:9px;box-shadow:0 18px 40px rgba(0,0,0,.38)}
.license-more-menu button{width:100%;text-align:left;justify-content:flex-start;white-space:nowrap;background:#091f35}
.license-more-menu button:hover{background:#0d2b47}
.license-more-menu button.danger{color:#ff9ca6;border-color:#6c3340;background:#2b1820}
.license-table{overflow:visible}
.license-table table{overflow:visible}
.license-table td:last-child{min-width:250px}


/* R0.33 Security & Identity */
.identity-shell{display:grid;gap:12px}.identity-banner{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 16px;border:1px solid #1b4a70;border-radius:10px;background:radial-gradient(circle at 4% 0,rgba(49,142,224,.14),transparent 38%),linear-gradient(135deg,#071a2d,#061426)}.identity-banner-icon{width:43px;height:43px;border:1px solid #28618f;border-radius:10px;display:grid;place-items:center;background:#0a2540;color:#62bdff}.identity-banner-icon .ui-icon{width:22px;height:22px}.identity-banner b,.identity-banner span{display:block}.identity-banner b{font-size:14px;color:#eaf4ff}.identity-banner span{font-size:12px;color:#86a7c5;margin-top:4px;line-height:1.5}.identity-banner-meta{text-align:right}.identity-banner-meta span{color:#b9cee3;font:600 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0}.identity-banner-meta small{display:block;color:#617f9d;font-size:12px;margin-top:5px}.identity-kpis,.identity-fleet-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.identity-kpis>div,.identity-fleet-kpis>div{min-height:82px;padding:12px 13px;border:1px solid #173b5b;border-radius:9px;background:linear-gradient(180deg,#081c31,#061528)}.identity-kpis span,.identity-fleet-kpis span{display:block;color:#6f91b0;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.identity-kpis b,.identity-fleet-kpis b{display:block;color:#edf7ff;font-size:22px;letter-spacing:-.04em;margin-top:6px}.identity-kpis small,.identity-fleet-kpis small{display:block;color:#7895b0;font-size:12px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.identity-fleet-kpis>div.risk{border-color:#6a4b28;background:linear-gradient(180deg,#251b12,#171712)}.identity-users-panel .tablewrap{margin-top:2px}.identity-users-panel td code{font-size:12px;word-break:break-all}.identity-system-chip{display:inline-flex;margin:4px 0 0 6px;padding:2px 5px;border:1px solid #37536c;border-radius:4px;color:#86a0b8;font-size:12px;letter-spacing:.06em}.identity-password-flags{display:flex;flex-direction:column;gap:3px;font-size:12px}.warn-text{color:#ffc56b}.danger-text{color:#ff8792}.identity-actions{display:flex;gap:5px;flex-wrap:wrap;min-width:250px}.identity-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.identity-admin-list{display:grid;gap:6px}.identity-admin-list>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 9px;border:1px solid #143550;border-radius:7px;background:#06182a}.identity-admin-list>div>span{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#0a2946;color:#58b6f7}.identity-admin-list b{font-size:12px}.identity-admin-list small{font-size:12px;color:#6e8ba7}.identity-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.identity-group-grid>div{padding:8px;border:1px solid #143550;border-radius:7px;background:#061629}.identity-group-grid b,.identity-group-grid small{display:block}.identity-group-grid b{font-size:12px}.identity-group-grid small{font-size:12px;color:#6986a2;margin-top:3px}.policy-identity{margin-top:12px;border-color:#1a486e}.clickrow{cursor:pointer}.clickrow:hover td{background:#0a2037}
@media(max-width:1200px){.identity-kpis,.identity-fleet-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-columns{grid-template-columns:1fr}.identity-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* R0.33.4 Local Identity recovery */
.identity-missing{display:grid;gap:10px;justify-items:center}.identity-missing .commandbar{justify-content:center;margin-top:4px}
/* 0.33.4 data-retention + smart peripheral inventory */
.peripheral-banner{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:18px 20px;margin-bottom:12px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,rgba(7,37,62,.72),rgba(5,22,38,.5))}.peripheral-banner h3{margin:0 0 5px}.peripheral-banner p{margin:0;max-width:820px;color:var(--muted)}.peripheral-meta{display:flex;flex-direction:column;align-items:flex-end;min-width:230px}.peripheral-meta span,.peripheral-meta small{color:var(--muted)}.temperature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.temperature-card{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:rgba(3,18,31,.45)}.temperature-card>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(31,132,205,.14)}.temperature-card div{display:grid;grid-template-columns:1fr auto;gap:1px 8px;min-width:0;width:100%}.temperature-card small,.temperature-card em,.temperature-card i{font-style:normal;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.temperature-card b{font-size:16px}.temperature-card em,.temperature-card i{grid-column:1/-1;font-size:12px}.temperature-card.warm b{color:#f2b64b}.temperature-card.hot b{color:#ff6c6c}.peripheral-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.peripheral-group h3{display:flex;align-items:center;gap:7px}.peripheral-id{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.retention-hero{display:flex;align-items:center;gap:24px}.retention-copy{flex:1}.retention-copy h3,.retention-copy p{margin:0}.retention-copy p{margin-top:5px;color:var(--muted)}.retention-toggle,.retention-interval{display:flex;align-items:center;gap:8px}.retention-interval input{width:78px}.retention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.retention-field{display:block;border:1px solid var(--line);border-radius:10px;padding:14px;background:rgba(4,22,37,.55)}.retention-field>span{display:block;font-weight:700;margin-bottom:8px}.retention-field>div{display:flex;align-items:center;gap:8px}.retention-field input{width:110px}.retention-field small{display:block;margin-top:7px;color:var(--muted)}.settings-actions{display:flex;align-items:center;gap:12px;margin:0 0 12px}.cleanup-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cleanup-controls label{display:flex;align-items:center;gap:7px}.cleanup-controls input{width:92px}.cleanup-result{margin-top:12px;padding:10px 12px;border:1px dashed var(--line);border-radius:8px}@media(max-width:1200px){.peripheral-grid,.retention-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.peripheral-grid,.retention-grid{grid-template-columns:1fr}.retention-hero,.peripheral-banner{flex-direction:column}.peripheral-meta{align-items:flex-start}}

/* R0.33.4 inventory collector diagnostics */
.identity-diagnostics{margin:10px 0;padding:10px 12px;border:1px solid #1b486c;border-radius:9px;background:#071a2e}.identity-diagnostics summary{cursor:pointer;color:#c8dcec}.identity-diagnostics-grid{display:flex;gap:8px 18px;flex-wrap:wrap;padding-top:9px;font-size:12px;color:#7899b5}.identity-diagnostics-grid span{display:flex;gap:5px;align-items:center}.identity-diagnostics-grid b{color:#bed3e5;font-weight:600}

/* R0.33.5 — global icon optical centering + spacing polish */
.ui-icon{display:block}
:is(.license-kpi-icon,.license-feed-icon,.license-product-head>span:first-child,.license-drop-icon,.lobby-summary-icon,.lobby-card-icon,.lobby-trust-mark,.lobby-empty-state>span,.device-glyph,.device-fact-icon,.device-meter-icon,.ops-metric-icon,.ops-row-device-icon,.top-icon,.nav-icon,.icon-button,.identity-banner-icon,.identity-admin-list>div>span,.network-icon,.warningbox-icon){display:grid;place-items:center;padding-top:0!important;padding-bottom:0!important;line-height:1!important}
:is(.license-kpi-icon,.license-feed-icon,.license-product-head>span:first-child,.license-drop-icon,.lobby-summary-icon,.lobby-card-icon,.lobby-trust-mark,.lobby-empty-state>span,.device-glyph,.device-fact-icon,.device-meter-icon,.ops-metric-icon,.ops-row-device-icon,.top-icon,.nav-icon,.icon-button,.identity-banner-icon,.identity-admin-list>div>span,.network-icon,.warningbox-icon)>.ui-icon{margin:0!important;position:static!important;top:auto!important;transform:translateY(1.5px)!important}
.panel>.panelhead:not(:last-child){margin-bottom:var(--ops-flow-md)}
.panel>.panelhead+.smallinput,.panel>.panelhead+input,.panel>.panelhead+select,.panel>.panelhead+.devicefilters,.panel>.panelhead+.cleanup-controls{margin-top:2px}
.panel>.smallinput:not(:last-child),.panel>.patch-search-field:not(:last-child){margin-bottom:var(--ops-flow-md)}
.panel>h3+.muted,.panel>h3+p,.panelhead h3+.muted{margin-top:var(--ops-flow-xs)}
.panel>.muted+:is(input,select,.formgrid,.actions,.tablewrap),.panel>p+:is(input,select,.formgrid,.actions,.tablewrap){margin-top:var(--ops-flow-sm)}
.patch-search-field{display:block;margin-top:0;min-width:min(420px,100%)}

/* R0.33.5 — built-in system updater */
.updater-pagehead{align-items:center}.updater-current{flex:0 0 auto;min-width:190px;padding:12px 14px;border:1px solid #1e4e73;border-radius:10px;background:linear-gradient(145deg,#08213a,#06172a);text-align:right}.updater-current span,.updater-current small{display:block;color:#7898b7;font-size:12px;letter-spacing:.08em}.updater-current b{display:block;margin:3px 0;color:#eaf6ff;font-size:24px;letter-spacing:-.04em}.updater-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.65fr);gap:12px;align-items:start}.updater-main,.updater-side{display:grid;gap:12px}.updater-main>.panel,.updater-side>.panel{margin:0}.updater-file-field{display:grid;gap:7px;color:#95aec7;font-size:12px}.updater-file-field input{width:100%;min-width:0;background:#071a2c}.updater-progress{margin-top:10px;min-height:18px}.updater-stage-card{border-color:#246087;background:radial-gradient(circle at 95% 0,rgba(42,167,239,.08),transparent 38%),linear-gradient(180deg,#081d31,#061426)}.updater-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.updater-stage-grid>div{padding:9px 10px;border:1px solid #173c5b;border-radius:8px;background:#06182a}.updater-stage-grid span,.updater-stage-grid b{display:block}.updater-stage-grid span{color:#6f91b0;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.updater-stage-grid b{margin-top:4px;color:#e3f2ff;font-size:12px}.updater-details{margin-top:10px;border:1px solid #173d5b;border-radius:8px;background:#061628}.updater-details summary{cursor:pointer;padding:9px 10px;color:#9db7cf;font-size:12px}.updater-manifest-grid{display:grid;grid-template-columns:145px minmax(0,1fr);gap:7px;padding:0 10px 10px;color:#7291ad;font-size:12px}.updater-manifest-grid code{font-size:12px;color:#b8d7ef}.updater-safe-note{display:grid;gap:4px;margin-top:10px;padding:10px 11px;border:1px solid #20573f;border-radius:8px;background:#08281f}.updater-safe-note b{color:#58d8ae;font-size:12px}.updater-safe-note span{color:#86aa9d;font-size:12px;line-height:1.5}.updater-job-list{display:grid;gap:7px}.updater-job{padding:10px 11px;border:1px solid #153852;border-radius:8px;background:#06172a}.updater-job.running,.updater-job.rollback_running,.updater-job.rolling_back{border-color:#2b6791;background:#08213a}.updater-job.failed{border-color:#713740;background:#2a171d}.updater-job.success{border-color:#1d5e4a;background:#07241e}.updater-job-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.updater-job-top>div{display:flex;align-items:center;gap:8px}.updater-job-top b{font-size:12px}.updater-job-top time{color:#617f9c;font-size:12px}.updater-job-step{display:flex;align-items:center;gap:7px;margin-top:7px;color:#8ba7c0;font-size:12px}.updater-job-error{margin-top:7px;color:#ff9ca5;font-size:12px;line-height:1.45}.updater-job details{margin-top:8px}.updater-job summary{cursor:pointer;color:#7898b5;font-size:12px}.updater-job pre{max-height:190px;overflow:auto;margin:7px 0 0;font-size:12px;line-height:1.45}.updater-job-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.updater-job-meta>span{padding:3px 6px;border:1px solid #183e5d;border-radius:999px;color:#7090ad;font-size:12px}.updater-live{display:inline-flex;align-items:center;gap:6px;color:#61d7b1;font-size:12px}.updater-live i{width:7px;height:7px;border-radius:50%;background:#27d5a7;box-shadow:0 0 10px rgba(39,213,167,.45);animation:updaterPulse 1.1s infinite}.updater-spinner{width:10px;height:10px;border:1.5px solid #1e5a82;border-top-color:#55bdf8;border-radius:50%;animation:updaterSpin .8s linear infinite}.updater-checks{display:grid;gap:7px}.updater-check{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #153650;border-radius:7px;background:#06172a}.updater-check-dot{width:7px;height:7px;border-radius:50%;background:#687d91}.updater-check.ok .updater-check-dot{background:#28d1a2;box-shadow:0 0 8px rgba(40,209,162,.3)}.updater-check.bad .updater-check-dot{background:#ff6d79;box-shadow:0 0 8px rgba(255,109,121,.25)}.updater-check b,.updater-check small{display:block}.updater-check b{font-size:12px;color:#b9cee1}.updater-check small{margin-top:2px;color:#6887a3;font-size:12px;word-break:break-all}.updater-check em{font-style:normal;color:#6d89a4;font-size:12px;text-transform:uppercase}.updater-storage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.updater-storage-grid>div{padding:9px;border:1px solid #153650;border-radius:7px;background:#06172a}.updater-storage-grid span,.updater-storage-grid b,.updater-storage-grid small{display:block}.updater-storage-grid span{color:#6c8aa6;font-size:12px;text-transform:uppercase}.updater-storage-grid b{margin:3px 0;color:#e4f1fc;font-size:18px}.updater-storage-grid small{color:#6684a0;font-size:12px}.updater-flow ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.updater-flow li{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px;padding:7px 0;border-bottom:1px solid #14344f}.updater-flow li:last-child{border-bottom:0}.updater-flow b{color:#8fc8f1;font-size:12px}.updater-flow span{color:#718da7;font-size:12px}.updater-upload-card>.actions{margin-top:10px}@keyframes updaterSpin{to{transform:rotate(360deg)}}@keyframes updaterPulse{50%{opacity:.35}}@media(max-width:1100px){.updater-layout{grid-template-columns:1fr}.updater-side{grid-template-columns:repeat(2,minmax(0,1fr))}.updater-side>.updater-flow{grid-column:1/-1}}@media(max-width:760px){.updater-pagehead{align-items:flex-start}.updater-current{width:100%;text-align:left}.updater-stage-grid,.updater-storage-grid,.updater-side{grid-template-columns:1fr}.updater-manifest-grid{grid-template-columns:1fr}.updater-job-top{align-items:flex-start;flex-direction:column}}

/* 0.33.6 collector stabilization / last-known-good visibility */
.collector-state{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:center;margin:10px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(4,22,37,.46)}
.collector-state>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.collector-state b{font-size:12px}.collector-state span,.collector-state small{color:var(--muted);font-size:12px}.collector-state.warn{border-color:rgba(242,182,75,.42);background:rgba(86,57,7,.16)}.collector-state.ok{border-color:rgba(38,179,132,.24)}.collector-state-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;max-width:420px}.collector-state details{grid-column:1/-1;border-top:1px dashed var(--line);padding-top:7px}.collector-state details summary{cursor:pointer;color:var(--muted);font-size:12px}.collector-state details small{display:block;margin-top:4px}.identity-shell>.collector-state{margin-top:0}@media(max-width:800px){.collector-state{grid-template-columns:1fr}.collector-state-meta{align-items:flex-start}}

/* 0.34.0 — production readiness / system & backup */
.ops-system-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.ops-system-card{margin:0;display:flex;flex-direction:column;justify-content:center;min-height:104px}.ops-system-card>span{color:#7291ad;font-size:12px;text-transform:uppercase;letter-spacing:.07em}.ops-system-card>b{margin:5px 0 3px;color:#e7f4ff;font-size:23px;letter-spacing:-.035em}.ops-system-card>small{color:#7898b5;font-size:12px}.ops-system-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(310px,.65fr);gap:12px;align-items:start}.ops-system-main,.ops-system-side{display:grid;gap:12px}.ops-system-main>.panel,.ops-system-side>.panel{margin:0}.ops-export-actions{margin:12px 0}.ops-import-field{margin-top:12px}.ops-import-result{margin-top:10px;padding:11px 12px;border:1px dashed #194665;border-radius:9px;background:#06172a;min-height:42px}.ops-import-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center}.ops-import-preview>b,.ops-import-preview>span,.ops-import-preview>small{display:block}.ops-import-preview>b{color:#cde9fb}.ops-import-preview>span,.ops-import-preview>small{color:#7d9bb5;font-size:12px}.ops-import-preview>button{grid-column:2;grid-row:1/4}.ops-backup-list{display:grid;gap:8px}.ops-backup-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 11px;border:1px solid #153a57;border-radius:8px;background:#06172a}.ops-backup-row>div:first-child{min-width:0}.ops-backup-row b,.ops-backup-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-backup-row b{color:#c5ddf0;font-size:12px}.ops-backup-row small{margin-top:3px;color:#6f8ca7;font-size:12px}.ops-backup-row .actions{margin:0;flex:0 0 auto}.ops-migrations{margin-top:10px;border:1px solid #153a57;border-radius:8px;background:#06172a}.ops-migrations summary{cursor:pointer;padding:9px 10px;color:#8da9c0;font-size:12px}.ops-migrations>div{display:grid;gap:5px;padding:0 10px 10px}.ops-migrations span{display:flex;justify-content:space-between;gap:12px}.ops-migrations code{font-size:12px;color:#afd0e8}.ops-migrations small{font-size:12px;color:#6987a2}.ops-portability{display:grid;gap:7px}.ops-portability>div{display:flex;justify-content:space-between;gap:12px;padding:8px 9px;border:1px solid #153650;border-radius:7px;background:#06172a}.ops-portability span{color:#718da8;font-size:12px}.ops-portability b{color:#b9d6ea;font-size:12px}.ops-system-side .actionnote{margin-top:10px}
@media(max-width:1200px){.ops-system-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-system-layout{grid-template-columns:1fr}.ops-system-side{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-system-side>.panel:last-child{grid-column:1/-1}}
@media(max-width:760px){.ops-system-metrics,.ops-system-side{grid-template-columns:1fr}.ops-system-side>.panel:last-child{grid-column:auto}.ops-backup-row{align-items:flex-start;flex-direction:column}.ops-import-preview{grid-template-columns:1fr}.ops-import-preview>button{grid-column:auto;grid-row:auto;margin-top:6px}}

/* 0.34.0 — 4K polish: keep density, increase legibility instead of scaling the whole app blindly */
@media(min-width:2400px){body{font-size:13px}.workspace-header{min-height:68px}.side-nav button{min-height:42px}.nav-icon{width:30px;height:30px}.nav-icon .ui-icon{width:17px;height:17px}.workspace{min-width:0}.content{padding:20px 24px}.panel{padding:16px}.pagehead{min-height:98px;padding:20px 22px}.pagehead h2{font-size:25px}.pagehead .muted{font-size:12px}.tablewrap table{font-size:12px}th,td{padding:10px 11px}.stat-card__icon,.metric-card__icon,.panel-card__icon,.status-card__icon,.ops-metric-icon{align-items:center;justify-content:center}.section-title-icon,.nav-icon svg,.ops-metric-icon svg{display:block}}

/* 0.36.0 — Alert & Notification Center */
#notificationBell i{display:none}#notificationBell.has-unread i{display:block}#notificationBell.has-unread:after{content:attr(data-count);position:absolute;top:-5px;right:-7px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#ff6572;border:2px solid #07182b;color:#fff;font-size:12px;font-weight:800;line-height:1}
.alert-center-head .pagehead-actions{display:flex;align-items:center;gap:8px}.alert-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.alert-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(330px,.7fr);gap:12px;align-items:start}.alert-main,.alert-side{display:grid;gap:12px}.alert-main>.panel,.alert-side>.panel{margin:0}.alert-groups{display:grid;gap:9px}.alert-group{border:1px solid #183c59;border-radius:10px;background:#06182a;overflow:hidden}.alert-group.severity-critical{border-color:rgba(255,101,114,.44)}.alert-group.severity-warning{border-color:rgba(242,182,75,.38)}.alert-group-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 11px;border-bottom:1px solid #143650;background:rgba(10,34,56,.72)}.alert-group-head>div{min-width:0}.alert-group-head b,.alert-group-head span{display:block}.alert-group-head b{color:#d7ebfa;font-size:12px}.alert-group-head span{margin-top:3px;color:#7593ad;font-size:12px}.alert-group-items{display:grid}.alert-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 11px;border-bottom:1px solid #12324c}.alert-line:last-child{border-bottom:0}.alert-line b,.alert-line small{display:block}.alert-line b{color:#bcd4e8;font-size:12px;line-height:1.45}.alert-line small{margin-top:3px;color:#6787a3;font-size:12px}.alert-line .actions{margin:0;flex-wrap:nowrap}.notification-list{display:grid;gap:7px}.notification-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px;border:1px solid #153a57;border-radius:8px;background:#06172a}.notification-row.unread{border-color:#28658e;background:linear-gradient(90deg,rgba(31,111,164,.12),#06172a 45%)}.notification-row>div:nth-child(2){min-width:0}.notification-row b,.notification-row span,.notification-row small{display:block}.notification-row b{color:#cce4f5;font-size:12px}.notification-row span{margin-top:2px;color:#86a3bc;font-size:12px;line-height:1.45}.notification-row small{margin-top:5px;color:#607f9c;font-size:12px}.notification-row small .pill{display:inline-flex;margin-right:5px}.notification-row em{font-style:normal;border:1px solid #1a4868;border-radius:999px;padding:2px 5px;margin-left:3px;color:#7ba4c2}.notification-rules{display:grid;gap:7px}.notification-rule{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #153a57;border-radius:8px;background:#06172a}.notification-rule b,.notification-rule span,.notification-rule small{display:block}.notification-rule b{font-size:12px;color:#c7dfef}.notification-rule span{margin-top:3px;color:#7d9ab3;font-size:12px}.notification-rule small{margin-top:3px;color:#5f7d98;font-size:12px}.notification-rule .actions{margin:0;flex-wrap:nowrap}.alert-severity-checks{display:flex;align-items:center;gap:12px;padding:8px 9px;border:1px solid #173c5b;border-radius:8px;background:#06172a}.alert-severity-checks label{display:flex;align-items:center;gap:5px;color:#94afc5;font-size:12px}.maintenance-alert-list{display:grid;gap:7px}.maintenance-alert-list>div{padding:9px 10px;border:1px solid #173c5b;border-radius:8px;background:#06172a}.maintenance-alert-list b,.maintenance-alert-list span,.maintenance-alert-list small{display:block}.maintenance-alert-list b{font-size:12px;color:#c6deef}.maintenance-alert-list span{margin-top:2px;color:#82a2bb;font-size:12px}.maintenance-alert-list small{margin-top:3px;color:#617f99;font-size:12px}.alert-side .formgrid{margin-top:10px}.alert-side .actionnote{margin-top:10px}
@media(max-width:1250px){.alert-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.alert-layout{grid-template-columns:1fr}.alert-side{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-side>.panel:first-child{grid-column:1/-1}}@media(max-width:760px){.alert-metrics,.alert-side{grid-template-columns:1fr}.alert-side>.panel:first-child{grid-column:auto}.alert-line{grid-template-columns:1fr}.notification-row{grid-template-columns:1fr}.notification-severity{display:none}.alert-center-head .pagehead-actions{align-items:flex-start;flex-direction:column}}

/* 0.37 readability floor: secondary information must remain readable. */
.muted, small, .badge, .pill, .context-chip, .nav-count, .device-last-seen small, .device-last-seen em,
.actionnote, .subtle-id, .network-card small, .ops-system-card small, .ops-activity-copy small {
  font-size: max(12px, 0.75rem) !important;
  line-height: 1.35;
}
.recovery-key-box{padding:18px;border:1px solid rgba(130,150,190,.24);border-radius:14px;background:rgba(8,16,31,.68);text-align:center;overflow:auto}
.recovery-key-box code{font-size:16px;letter-spacing:.04em;white-space:nowrap}

/* R0.39.0 READABILITY FLOOR — no micro-fonts in operational UI */
:where(.muted,small,.badge,.pill,.chip,.nav-label,.footer-version,.health-chip,.eyebrow,.section-kicker,.ops-card-head p,.ops-metric-copy small,.device-fact small,.device-meter small,.snapshot-list span,.network-card small,.network-card code){font-size:12px!important;line-height:1.35}

/* R0.38 Service Desk + BitLocker Remote Management */
.ticket-description{font-size:15px;line-height:1.65;white-space:normal}
.ticket-thread{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.ticket-comment{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:rgba(255,255,255,.025)}
.ticket-comment.internal{border-style:dashed;background:rgba(245,158,11,.06)}
.ticket-comment>div{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:8px}
.ticket-comment span{font-size:12px;color:var(--muted)}
.ticket-comment p{margin:0;font-size:14px;line-height:1.55}
.attachment-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-top:8px;text-decoration:none;color:inherit}
.attachment-row:hover{border-color:var(--accent)}
.attachment-row span{font-size:12px;color:var(--muted)}
.sd-diag-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.sd-diag-grid .wide{grid-column:1/-1}
.mini-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:340px;overflow:auto}
.mini-list>div{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:4px 12px;border-bottom:1px solid var(--line);padding:8px 0}
.mini-list small{grid-column:1/-1;font-size:12px;line-height:1.45;color:var(--muted)}
.bitlocker-volumes{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.bitlocker-volume{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,2fr) 54px;gap:14px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.bitlocker-volume>div:first-child{display:flex;flex-direction:column;gap:3px}
.bitlocker-volume span{font-size:12px;color:var(--muted)}
.progressline{height:8px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.progressline i{display:block;height:100%;background:var(--accent);border-radius:inherit}
.bitlocker-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.clickrow{cursor:pointer}.clickrow:hover{background:rgba(255,255,255,.025)}
@media(max-width:900px){.sd-diag-grid{grid-template-columns:1fr}.sd-diag-grid .wide{grid-column:auto}.bitlocker-volume{grid-template-columns:1fr}.mini-list>div{grid-template-columns:1fr}}

/* R0.38.6 — per-device Support Companion control */
.companion-device-panel{border-color:#1d557c;background:radial-gradient(circle at 96% 0,rgba(51,154,226,.08),transparent 38%),linear-gradient(180deg,#081d31,#061426)}
.companion-device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.companion-device-grid>div{min-height:86px;padding:12px 13px;border:1px solid #173b5b;border-radius:10px;background:#06182a}
.companion-device-grid span,.companion-device-grid b,.companion-device-grid small{display:block}
.companion-device-grid span{color:#6f91b0;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.companion-device-grid b{margin-top:7px;color:#e5f3ff;font-size:14px}
.companion-device-grid small{margin-top:5px;color:#7694af;font-size:12px;line-height:1.4}
.companion-device-actions{gap:8px;flex-wrap:wrap}
@media(max-width:1200px){.companion-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.companion-device-grid{grid-template-columns:1fr}}

/* R0.39 — Service Desk 2.0 */
.service-desk-head{background:radial-gradient(circle at 82% 0,rgba(41,154,219,.13),transparent 34%),linear-gradient(180deg,rgba(9,36,59,.95),rgba(5,22,37,.95))}
.service-desk-stats .stat small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.sd-filters{gap:8px;flex-wrap:wrap}.sd-filters select{min-width:150px}.sd-filters input{min-width:260px;flex:1}
.ticket-no{font-size:14px;color:#d9f1ff;letter-spacing:.02em}
.tenant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tenant-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid #173c5a;border-radius:12px;background:linear-gradient(145deg,#071a2d,#061524)}.tenant-card>div:first-child{display:flex;align-items:center;gap:11px}.tenant-card>div:nth-child(2){text-align:right}.tenant-card span,.tenant-card small,.tenant-card b{display:block}.tenant-card small,.tenant-card>div:nth-child(2)>span{color:var(--muted);font-size:12px}.tenant-prefix{display:grid!important;place-items:center;width:42px;height:42px;border:1px solid #2f719d;border-radius:10px;background:rgba(33,138,203,.14);color:#9edbff;font-size:14px;font-weight:800;letter-spacing:.08em}.tenant-card button{grid-column:2}
.sd-ticket-head{align-items:flex-end}.ticket-kicker{margin:7px 0 3px;color:#7f9bb5;font-size:12px;text-transform:uppercase;letter-spacing:.055em}.sd-ticket-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(310px,.55fr);gap:12px;align-items:start}.sd-ticket-main,.sd-ticket-actions{margin:0}.sd-ticket-actions button{width:100%;margin-top:9px}.sd-ticket-meta{margin-top:16px}.sd-ticket-bottom{align-items:start}.sd-ticket-bottom>.panel{margin:0}
.sd-diagnostic{margin-top:12px;background:radial-gradient(circle at 94% 0,rgba(55,169,233,.075),transparent 35%),#06172a}.sd-health-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.sd-health-cards>div{padding:12px 13px;border:1px solid #17405f;border-radius:10px;background:#071a2d}.sd-health-cards span,.sd-health-cards b,.sd-health-cards small{display:block}.sd-health-cards span{color:#7696b2;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.sd-health-cards b{margin:5px 0 4px;color:#e8f7ff;font-size:22px}.sd-health-cards small{color:#7898b4;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-diagnostic .sd-diag-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 10px}.sd-diag-card{padding:13px 14px;border:1px solid #153b59;border-radius:10px;background:#061625}.sd-diag-card h4{margin:0 0 9px;color:#d5eafa;font-size:13px}.diag-list{display:grid;gap:0}.diag-list>div{padding:8px 0;border-bottom:1px solid #12334d}.diag-list>div:last-child{border-bottom:0}.diag-list b,.diag-list span,.diag-list small{display:block}.diag-list b{color:#bcd7e9;font-size:12px}.diag-list span{margin-top:2px;color:#91abc1;font-size:12px}.diag-list small{margin-top:2px;color:#627f99;font-size:12px}
.diag-details{margin-top:9px;border:1px solid #153a57;border-radius:10px;background:#051522;overflow:hidden}.diag-details summary{cursor:pointer;padding:11px 13px;color:#bcd6e8;font-size:12px;font-weight:700;background:#071a2b}.diag-details[open] summary{border-bottom:1px solid #153a57}.diag-details>.diag-list,.diag-details>.diag-events,.diag-details>.diag-chips,.diag-details>.empty{padding:10px 13px}.diag-chips{display:flex;flex-wrap:wrap;gap:6px}.diag-chips>span{padding:5px 8px;border:1px solid #173c59;border-radius:999px;background:#071a2a;color:#a8c4d8;font-size:12px}.diag-chips small{color:#6687a1;font-size:12px}.diag-events{display:grid;gap:7px}.diag-events article{padding:9px 10px;border:1px solid #173a56;border-radius:8px;background:#06172a}.diag-events article>div{display:flex;justify-content:space-between;gap:10px}.diag-events b,.diag-events span{font-size:12px}.diag-events span{color:#7392ad}.diag-events p{margin:6px 0 0;color:#99b1c5;font-size:12px;line-height:1.45}
.sd-attachments{display:grid;gap:9px}.sd-attachment-preview{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;align-items:center;padding:9px;border:1px solid #173b58;border-radius:10px;background:#06172a;text-decoration:none;color:inherit}.sd-attachment-preview:hover{border-color:#2d77a6}.sd-attachment-preview img{width:140px;height:84px;object-fit:cover;border-radius:7px;border:1px solid #1a4566;background:#04111d}.sd-attachment-preview b,.sd-attachment-preview span{display:block}.sd-attachment-preview span{margin-top:4px;color:var(--muted);font-size:12px}
@media(max-width:1200px){.tenant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-ticket-layout{grid-template-columns:1fr}.sd-health-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tenant-grid,.sd-health-cards,.sd-diagnostic .sd-diag-grid{grid-template-columns:1fr}.sd-filters>*{width:100%;min-width:0}.sd-attachment-preview{grid-template-columns:1fr}.sd-attachment-preview img{width:100%;height:auto;max-height:220px}.diag-events article>div{flex-direction:column}}

/* --------------------------------------------------------------------------
   MORRIAT OPS · R0.39.3 SERVICE DESK POLISH
   Diagnostic triage visibility, cleaner ticket hierarchy and denser workflow.
   -------------------------------------------------------------------------- */
.service-desk-head{align-items:flex-end}.service-desk-head h2{letter-spacing:-.02em}
.service-desk-stats .stat{position:relative;overflow:hidden;min-height:108px;background:linear-gradient(155deg,#0b2035,#071827);border-color:#194460;box-shadow:0 12px 30px rgba(0,0,0,.13)}
.service-desk-stats .stat:after{content:"";position:absolute;right:-26px;top:-38px;width:110px;height:110px;border-radius:50%;background:rgba(45,169,238,.055)}
.sd-queue{background:linear-gradient(180deg,#081b2e,#071827)}
.sd-ticket-head{padding-bottom:16px!important}.sd-ticket-head h2{max-width:900px;letter-spacing:-.018em}.sd-ticket-head .actions{align-self:flex-end}
.sd-ticket-layout{grid-template-columns:minmax(0,1.6fr) minmax(320px,.55fr);gap:14px}.sd-ticket-main,.sd-ticket-actions{border-color:#19425f;background:linear-gradient(180deg,#081b2e,#071827);box-shadow:0 14px 34px rgba(0,0,0,.12)}
.sd-ticket-actions{position:sticky;top:112px}.sd-ticket-main .ticket-description{font-size:14px;line-height:1.65;color:#d8e7f4;background:#061522;border:1px solid #153a56;border-radius:10px;padding:14px 15px}
.sd-ticket-meta dl>div{grid-template-columns:135px 1fr;padding:8px 0}.ticket-kicker{font-weight:700;color:#6ca8d2}
.sd-signal-strip{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.sd-ticket-head+.sd-signal-strip{margin-top:-3px;margin-bottom:14px}
.sd-signal{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 11px;border-radius:10px;border:1px solid #27445c;background:#0a1b2b;color:#dcebf6;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.sd-signal b{font-size:12px;letter-spacing:.015em}.sd-signal span{font-size:12px;color:#8ca8bf}.sd-signal.warn{border-color:#70572a;background:#251d10}.sd-signal.warn b{color:#ffd07a}.sd-signal.bad{border-color:#763a42;background:#2c171b}.sd-signal.bad b{color:#ff9da7}.sd-signal.ok{border-color:#26634b;background:#0d2b21}.sd-signal.ok b{color:#74dfac}.sd-signal.neutral{border-color:#36506a;background:#111f2d}.sd-signal.neutral b{color:#b8cadb}
.sd-diagnostic{margin-top:14px;padding:18px;background:radial-gradient(circle at 94% 0,rgba(55,169,233,.10),transparent 32%),linear-gradient(180deg,#071b2f,#061625);border-color:#1b4a6d;box-shadow:0 16px 36px rgba(0,0,0,.14)}
.sd-diagnostic>.panelhead{padding-bottom:12px;border-bottom:1px solid #153752}.sd-diagnostic>.panelhead h3{font-size:18px;margin-top:2px}.sd-diagnostic>.panelhead .actions{justify-content:flex-end}
.sd-health-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.sd-health-cards>div{min-height:92px;padding:13px 14px;border:1px solid #1b4766;border-radius:11px;background:linear-gradient(155deg,#0a2035,#071826)}.sd-health-cards b{font-size:24px;letter-spacing:-.02em}.sd-health-cards span{font-weight:700}.sd-health-cards small{font-size:12px}
.sd-diagnostic .sd-diag-grid{gap:10px}.sd-diag-card{padding:14px 15px;border-color:#19425f;border-radius:11px;background:#071827}.sd-diag-card h4{display:flex;align-items:center;gap:7px;font-size:13px;color:#dcebf7;margin-bottom:10px}.sd-diag-card dl>div{grid-template-columns:145px 1fr;padding:7px 0}.sd-diag-card dt,.sd-diag-card dd{font-size:12px}
.diag-details{margin-top:9px;border:1px solid #173c58;border-radius:10px;background:#061522;overflow:hidden}.diag-details summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:700;color:#cfe2f1}.diag-details summary::-webkit-details-marker{display:none}.diag-details summary:after{content:"+";float:right;color:#6fa9d3}.diag-details[open] summary:after{content:"−"}.diag-details[open] summary{border-bottom:1px solid #173c58}.diag-details>.diag-list,.diag-details>.diag-chips,.diag-details>.diag-events,.diag-details>.empty{margin:0;padding:5px 14px 12px}
.ticket-thread{gap:10px}.ticket-comment{padding:12px 14px;border:1px solid #19425f;border-radius:11px;background:#071827}.ticket-comment>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.ticket-comment>div span{font-size:12px;color:#7897b1}.ticket-comment p{margin:8px 0 0;line-height:1.55}.ticket-comment.internal{border-color:#65532d;background:#211b11}.ticket-comment.internal>div b{color:#ffd17d}
.sd-attachment-preview{transition:.16s ease}.sd-attachment-preview:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.15)}
#sdTable .pill{white-space:nowrap}.ticket-no{letter-spacing:.025em}
@media(max-width:1180px){.sd-health-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.sd-ticket-actions{position:static}}
@media(max-width:760px){.sd-health-cards{grid-template-columns:1fr 1fr}.sd-signal{width:100%;justify-content:space-between}}

/* 0.39.5 Service Desk status clarity */
.sd-status{font-weight:800;letter-spacing:.035em;border-width:1px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.sd-status.sd-new{background:#0b3155;color:#78c4ff;border-color:#245f94}.sd-status.sd-triage{background:#26204d;color:#c5b8ff;border-color:#51468d}.sd-status.sd-progress{background:#0c403e;color:#67e1d5;border-color:#226d68}.sd-status.sd-user{background:#4c3513;color:#ffd27a;border-color:#7b5a22}.sd-status.sd-vendor{background:#252b46;color:#b9c5ff;border-color:#4b5682}.sd-status.sd-resolved{background:#0d4030;color:#6ae5ad;border-color:#246b50}.sd-status.sd-closed{background:#1c2a38;color:#a9bccd;border-color:#3a4d60}.sd-status.sd-reopened{background:#4a2a16;color:#ffb47d;border-color:#7c4927}

/* Morriat OPS 0.39.9 — Service Desk conversation workspace */
.sd-chat-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(265px,300px);gap:14px;align-items:stretch;margin:0 0 14px}
.sd-chat-surface{min-width:0;display:flex;flex-direction:column;border:1px solid #24486b;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#092039 0%,#071827 75%);box-shadow:0 18px 46px rgba(0,5,18,.20)}
.sd-chat-surface-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;border-bottom:1px solid #1e405d;background:rgba(15,41,64,.82)}
.sd-chat-surface-head strong{display:block;font-size:17px;letter-spacing:-.02em;color:#f1f8ff}
.sd-chat-surface-head small{display:block;margin-top:4px;color:#91b0ca;font-size:12px}
.sd-chat-live{display:inline-flex;align-items:center;gap:7px;color:#9ccfd0;font-size:12px;white-space:nowrap}
.sd-chat-live svg{width:16px;height:16px}
.sd-chat-scroll{display:flex;flex-direction:column;gap:18px;padding:24px clamp(14px,3vw,34px);height:min(58vh,650px);min-height:310px;overflow-y:auto;scrollbar-gutter:stable;background:radial-gradient(ellipse at 5% 6%,rgba(53,111,160,.12),transparent 40%),radial-gradient(ellipse at 92% 78%,rgba(93,67,198,.09),transparent 46%)}
.sd-chat-row{display:flex;gap:10px;align-items:flex-end;max-width:85%;min-width:0}
.sd-chat-row.operator{align-self:flex-end;flex-direction:row-reverse}
.sd-chat-row.reporter,.sd-chat-row.system{align-self:flex-start}
.sd-chat-avatar{flex:0 0 32px;width:32px;height:32px;border:1px solid #2c627b;border-radius:50%;background:#133650;color:#b5dcec;display:grid;place-items:center;font-weight:800;font-size:12px}
.sd-chat-row.operator .sd-chat-avatar{background:#5547aa;color:#f9f7ff;border-color:#7970db}
.sd-chat-row.system .sd-chat-avatar{background:#334155}
.sd-chat-bubble{min-width:0;max-width:700px;padding:13px 16px;border:1px solid #315474;border-radius:16px 16px 16px 5px;background:#15314b;box-shadow:0 8px 22px rgba(0,0,0,.11)}
.sd-chat-row.operator .sd-chat-bubble{background:linear-gradient(145deg,#323f88,#3742a3);border-color:#6c72d5;border-radius:16px 16px 5px 16px}
.sd-chat-row.internal .sd-chat-bubble{background:#35291b;border-color:#98724c}
.sd-chat-author{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.sd-chat-author strong{font-size:12px;color:#a9d8f4}
.sd-chat-row.operator .sd-chat-author strong{color:#ebecff}
.sd-internal-label{border-radius:10px;padding:3px 7px;font-weight:700;font-size:12px;color:#ffe1b4;background:#725029}
.sd-chat-bubble p{margin:7px 0;color:#f1f8ff;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.sd-chat-bubble time{display:block;text-align:right;color:#a4c5da;font-size:12px}
.sd-chat-composer{margin-top:auto;border-top:1px solid #22435f;padding:15px 18px 17px;background:linear-gradient(180deg,#0e2842,#0a2037)}
.sd-composer-caption{display:block;color:#d5e9fa;font-weight:700;font-size:13px;margin-bottom:9px}
.sd-chat-composer textarea{display:block;width:100%;min-height:88px;max-height:240px;resize:vertical;box-sizing:border-box;border-radius:12px!important;background:#071c30!important;border:1px solid #315473!important;color:#f3f8ff!important;font-size:14px!important;line-height:1.55!important;padding:12px 14px!important}
.sd-chat-composer textarea:focus{border-color:#777ae5!important;outline:2px solid rgba(103,109,231,.25)}
.sd-composer-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:10px}
.sd-visibility-label{font-weight:700;font-size:12px;color:#a7c7df;display:flex;align-items:center;gap:10px}
.sd-visibility-label select{max-width:240px;background:#0a253e;border:1px solid #2d506c;font-size:12px;padding:7px;border-radius:8px}
.sd-composer-footer small{display:block;font-size:12px;color:#80a8c8;margin-top:5px}
.sd-composer-footer button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;white-space:nowrap;background:#605bea;color:white;box-shadow:0 7px 19px rgba(70,73,190,.2)}
.sd-composer-footer button:disabled{opacity:.6;cursor:wait}
.sd-chat-aside{min-width:0;display:flex;flex-direction:column;gap:12px}
.sd-chat-aside>.panel{margin:0;padding:18px;border-color:#234664;background:#0c243a}
.sd-chat-aside h3{margin:0 0 14px;font-size:15px}
.sd-chat-details .sd-chat-attributes dl>div{display:grid;grid-template-columns:1fr;gap:3px;padding:9px 0;border-bottom:1px solid #1c3b54}
.sd-chat-details dt{color:#83a7c4;font-size:12px}
.sd-chat-details dd{margin:0;overflow-wrap:anywhere;font-size:13px;color:#e9f6ff}
.sd-chat-details button{width:100%;margin-top:14px}
.sd-chat-admin{margin-top:0!important}
.sd-chat-admin .formgrid{display:grid;grid-template-columns:1fr;gap:9px}
.sd-chat-admin label{min-width:0}
.sd-chat-admin input,.sd-chat-admin select{max-width:100%;box-sizing:border-box}
.sd-chat-admin>button{width:100%;margin-top:12px}
.sd-collapsible-panel{margin:12px 0;border:1px solid #254969;border-radius:15px;background:#0a2238;overflow:hidden}
.sd-collapsible-panel>summary{cursor:pointer;display:flex;gap:13px;align-items:center;padding:18px 20px;list-style:none;min-height:66px}
.sd-collapsible-panel>summary::-webkit-details-marker{display:none}
.sd-collapsible-panel>summary:hover{background:#12314b}
.sd-collapsible-panel>summary strong{display:block;color:#e6f4ff;font-size:15px}
.sd-collapsible-panel>summary small{display:block;margin-top:4px;color:#87a9c8;font-size:12px}
.sd-fold-icon{border:1px solid #2c4b78;background:#182d52;border-radius:11px;padding:9px;display:flex;align-items:center;color:#aebaff}
.sd-fold-icon svg{width:22px;height:22px}
.sd-fold-arrow{margin-left:auto;color:#9fbad6;font-size:23px;transition:transform .2s ease}
.sd-collapsible-panel[open] .sd-fold-arrow{transform:rotate(180deg)}
.sd-collapsible-body{padding:2px 18px 18px;border-top:1px solid #224360}
.sd-collapsible-body>.sd-diagnostic{margin-top:14px}
.sd-collapsible-panel summary .sd-signal-strip{margin:0 0 0 auto;max-width:43%;overflow:hidden}
.sd-collapsible-panel summary .sd-signal{padding:6px 9px;white-space:nowrap}
.sd-collapsible-panel summary .sd-signal span{display:none}
.sd-files-panel .sd-attachments{padding-top:13px}
@media(max-width:1100px){.sd-chat-layout{grid-template-columns:minmax(0,1fr) 248px}.sd-chat-scroll{height:min(52vh,560px)}.sd-collapsible-panel summary .sd-signal-strip{display:none}}
@media(max-width:860px){.sd-chat-layout{grid-template-columns:1fr}.sd-chat-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sd-chat-scroll{height:460px;min-height:260px}}
@media(max-width:620px){.sd-chat-aside{display:flex}.sd-composer-footer{flex-direction:column;align-items:stretch}.sd-composer-footer button{width:100%}.sd-chat-row{max-width:98%}.sd-chat-scroll{padding:16px 12px}.sd-chat-avatar{flex-basis:26px;width:26px;height:26px}.sd-chat-surface-head{padding:14px}.sd-chat-live{display:none}}
@media(prefers-reduced-motion:reduce){.sd-fold-arrow{transition:none}}

/* Morriat OPS 0.39.10 — compact Service Desk overview (screen 11) */
.service-desk-head.pagehead{min-height:76px!important;padding:13px 16px!important;margin-bottom:10px!important;gap:16px;align-items:center;border-radius:12px}
.service-desk-head h2{font-size:23px;margin:0 0 3px!important}
.service-desk-head .muted{line-height:1.35;font-size:12px}
.service-desk-head .actions{display:flex;flex-wrap:wrap;gap:7px}
.service-desk-head .actions button{min-height:35px;padding:8px 12px;font-size:12px;white-space:nowrap}
.service-desk-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px;margin-bottom:11px;min-width:0}
.service-desk-stats>.sd-kpi{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:1px 12px;text-align:left;position:relative;min-width:0;min-height:80px;padding:11px 16px;border:1px solid #244562;border-radius:12px;background:linear-gradient(145deg,#0e2a43,#081d31);color:#eaf4fd;box-shadow:0 8px 22px rgba(0,0,0,.10);cursor:pointer;overflow:hidden;transition:background .14s,border-color .14s,transform .14s}
.service-desk-stats>.sd-kpi:hover{border-color:#4886ba;background:linear-gradient(145deg,#153a58,#0a2946);transform:translateY(-1px)}
.service-desk-stats>.sd-kpi:focus-visible{outline:2px solid #75beff;outline-offset:2px}
.service-desk-stats>.sd-kpi.is-active{border-color:#39a7ee;background:#103653;box-shadow:inset 0 0 0 1px rgba(61,182,255,.3)}
.service-desk-stats .sd-kpi-caption{color:#a9bfd5;font-size:12px;font-weight:650;white-space:nowrap}
.service-desk-stats .sd-kpi b{grid-column:2;grid-row:1/span 2;align-self:center;margin:0;font-size:32px;line-height:1;font-variant-numeric:tabular-nums;color:#f5faff}
.service-desk-stats .sd-kpi small{grid-column:1;grid-row:2;color:#86a1b8;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-desk-stats>.sd-kpi:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:0 3px 3px 0;background:#47a9f2}
.service-desk-stats>.sd-kpi-critical:before{background:#ff8d88}.service-desk-stats>.sd-kpi-waiting:before{background:#f8c471}.service-desk-stats>.sd-kpi-tenants:before{background:#957ef9}
.sd-queue{margin-top:0!important;padding:13px 15px 15px!important;border:1px solid #204766;border-radius:12px}
.sd-queue>.panelhead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 14px;margin-bottom:10px}
.sd-queue>.panelhead h3{font-size:15px;line-height:1.3;margin:0 0 2px}
.sd-queue>.panelhead .muted{font-size:12px}
.sd-queue-counter{display:inline-flex;vertical-align:middle;align-items:center;font-size:12px;font-weight:600;margin-left:6px;color:#8fc9ed;background:#10344c;border-radius:8px;padding:3px 7px}
.sd-queue .sd-filters{display:flex;gap:7px;min-width:0;flex-wrap:wrap}
.sd-queue .sd-filters select,.sd-queue .sd-filters input{min-width:0;min-height:35px;height:35px;padding:6px 10px;font-size:12px}
.sd-queue .sd-filters select{width:145px;max-width:170px}
.sd-queue .sd-filters input{flex:1 1 190px;width:min(220px,100%);max-width:280px}
.sd-queue .tablewrap{margin:0;overflow:auto;border-radius:9px}
.sd-queue .tablewrap table{width:100%;min-width:850px;border-collapse:collapse}
.sd-queue .tablewrap thead th{position:sticky;top:0;z-index:1;background:#0a263f!important;padding:9px 10px;font-size:12px;letter-spacing:.02em}
.sd-queue .tablewrap tbody td{padding:9px 10px;line-height:1.32;font-size:12px;vertical-align:middle}
.sd-queue .tablewrap tbody td .muted{font-size:12px;margin-top:3px;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sd-queue .tablewrap .ticket-no{font-size:12px;white-space:nowrap}
.sd-queue .tablewrap .pill{padding:4px 8px;font-size:12px;white-space:nowrap}
.sd-queue .tablewrap tbody tr{cursor:pointer}.sd-queue .tablewrap tbody tr:hover{background:#133553!important}
.sd-tenants-fold{margin-top:10px;padding:0!important;border-radius:11px;overflow:hidden}
.sd-tenants-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:45px;padding:12px 15px;cursor:pointer;list-style:none}
.sd-tenants-fold>summary::-webkit-details-marker{display:none}
.sd-tenants-fold>summary strong{color:#d4e8f8;font-size:13px}
.sd-tenants-fold>summary span{color:#87a7c3;font-size:12px}
.sd-tenants-fold[open]>summary{border-bottom:1px solid #244564}
.sd-tenants-description{padding:11px 15px;color:#8facbf;font-size:12px}
.sd-tenants-fold .tenant-grid{padding:0 13px 13px}
@media(max-width:1320px){.sd-queue>.panelhead{grid-template-columns:1fr}.sd-queue .sd-filters{justify-content:flex-start}.sd-queue .sd-filters input{max-width:none}}
@media(max-width:900px){.service-desk-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.service-desk-head.pagehead{align-items:flex-start}.service-desk-head .actions{justify-content:flex-start}}
@media(max-width:580px){.service-desk-stats{gap:6px}.service-desk-stats>.sd-kpi{padding:10px;min-height:72px}.service-desk-stats .sd-kpi b{font-size:27px}.sd-queue .sd-filters select{flex:1 1 calc(50% - 7px);max-width:none}.sd-queue .sd-filters input{flex:1 1 100%;width:100%}.sd-tenants-fold>summary{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.service-desk-stats>.sd-kpi{transition:none}}

/* Service Desk 0.39.11: files are part of the chronological conversation. */
.sd-inline-files{display:flex;flex-direction:column;gap:6px;margin:10px 0 4px}
.sd-inline-files .sd-attachment-preview{display:flex;align-items:center;gap:10px;max-width:100%;padding:8px;border:1px solid var(--border, #344d6b);border-radius:11px}
.sd-inline-files .sd-attachment-preview img{height:64px;width:84px;object-fit:contain;border-radius:7px}
.sd-inline-files .attachment-row{display:flex;justify-content:space-between;gap:16px;text-decoration:none;padding:9px;border-radius:9px;border:1px solid var(--border,#344d6b)}
.sd-chat-file-label{display:flex;align-items:center;gap:10px;font-size:12px;padding:5px 0}
.sd-chat-file-label input{min-width:0;max-width:250px;font-size:12px}

.sd-knowledge-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.sd-knowledge-item{border:1px solid var(--border,#28425d);border-radius:14px;padding:17px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.sd-knowledge-item p{font-size:12px;color:var(--muted,#9eaec6);line-height:1.5;margin:4px 0 0}

/* Morriat Learning v2 - native OPS authoring layout */
.edu-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}.edu-summary>div{border:1px solid var(--line,#264661);border-radius:14px;background:rgba(17,45,70,.5);padding:14px;display:flex;flex-direction:column;gap:3px}.edu-summary b{font-size:22px}.edu-summary span{color:var(--muted,#9eb3cc);font-size:12px}.edu-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}.edu-editor-main,.edu-editor-side{padding:18px}.edu-editor-main textarea,.edu-editor-main input,.edu-editor-main select,.edu-editor-side input{width:100%;box-sizing:border-box}.edu-editor-main .formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edu-editor-main .formgrid .wide{grid-column:1/-1}.edu-editor-main label,.edu-editor-side label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin-bottom:10px}.edu-editor-main h3{margin:8px 0 14px}.edu-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:23px;padding-top:18px;border-top:1px solid var(--line,#29445c)}.edu-heading .actions{display:flex;gap:8px;flex-wrap:wrap}.edu-block,.edu-question{border:1px solid var(--line,#29445c);border-radius:12px;padding:15px;margin:10px 0;background:rgba(15,36,58,.22)}.edu-block-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.edu-block textarea,.edu-question textarea{min-height:100px}.edu-preview-image{max-height:220px;max-width:100%;object-fit:contain;border-radius:9px;margin:8px 0}.edu-answer-grid{display:grid;gap:8px;margin-bottom:10px}.edu-option{display:flex;align-items:center;gap:10px}.edu-option input{flex:1}.edu-option small{flex:0 0 20px}.edu-check{display:flex!important;flex-direction:row!important;align-items:center}.edu-check input{width:auto!important}.edu-safety{border:1px solid #32627d;border-radius:12px;padding:12px;margin-top:14px}.edu-safety p{font-size:12px;line-height:1.5}.sd-knowledge-item{gap:10px}.sd-knowledge-item .actions{flex-shrink:0}
@media(max-width:1000px){.edu-editor-layout{grid-template-columns:1fr}.edu-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.edu-editor-main .formgrid{grid-template-columns:1fr}.edu-heading{align-items:start;flex-direction:column}}

/* Morriat Remote M3a: ephemeral view-only lab */
.morriat-m3a-viewer{padding:10px;border:1px solid var(--border,#23465e);border-radius:14px;text-align:center;min-width:360px}.morriat-m3a-message{margin-bottom:12px;color:var(--muted,#9bb8cf);font-size:12px}.morriat-m3a-viewer img{display:block;margin:0 auto 12px;max-height:55vh;}

/* 0.39.24 · activity clarity + device peripherals */
.ops-dashboard-pro .ops-recent-card-pro .ops-card-head{align-items:flex-start}.ops-dashboard-pro .ops-activity-timeline-row.activity-readable{min-height:60px;grid-template-columns:62px 9px 34px minmax(0,1fr) auto;column-gap:9px;padding:7px 0;border-bottom:1px solid rgba(53,107,143,.16)}.ops-dashboard-pro .activity-readable:last-child{border-bottom:0}.ops-dashboard-pro .activity-readable:before{left:66px}.ops-dashboard-pro .activity-readable .ops-activity-copy>b{display:block;font-size:13px;font-weight:700;white-space:normal;line-height:1.35}.ops-dashboard-pro .activity-readable .ops-activity-copy>small{display:block;font-size:12px;white-space:normal;line-height:1.4;margin-top:2px;color:#93aec6}.ops-dashboard-pro .activity-readable .ops-event-badge{font-size:12px;letter-spacing:0;min-width:51px}.ops-dashboard-pro .ops-event-badge.tone-red{background:#3f1c28;color:#ff8a99;border-color:#7b3045}.ops-dashboard-pro .ops-event-badge.tone-blue{background:#0a3151;color:#75c6ff}.ops-activity-detail{margin-top:3px;font-size:12px;color:#82aac9}.ops-activity-detail>summary{cursor:pointer;width:max-content;max-width:100%;color:#7eadd0;list-style:none}.ops-activity-detail>summary:hover{color:#c5e5ff}.ops-activity-detail>span,.ops-activity-detail>code{display:block;white-space:normal;overflow-wrap:anywhere;margin-top:4px;font-size:12px}.ops-activity-detail>code{color:#678ca9}.ops-dashboard-pro .activity-readable .ops-timeline-time{font-size:12px;white-space:normal;line-height:1.35}
.peripheral-v2-hero{background:linear-gradient(120deg,#082742,#071a2d);padding:21px 23px}.peripheral-v2-hero h3{font-size:22px;letter-spacing:-.03em}.peripheral-v2-hero p{max-width:740px;line-height:1.55;font-size:13px;color:#9bb4ca}.peripheral-v2 .peripheral-meta b{font-size:19px}.peripheral-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.peripheral-stat{padding:13px 15px;border-radius:11px;border:1px solid #1b4768;background:#081e33;display:flex;align-items:center;justify-content:space-between;gap:7px}.peripheral-stat span{color:#98b4ca;font-size:12px}.peripheral-stat b{font-size:22px;color:#f4faff;font-weight:800}.peripheral-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:13px 0 15px;padding:13px 15px;border:1px solid #1b4464;border-radius:11px;background:#071a2d}.peripheral-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#9db9d0;font-weight:600}.peripheral-search-label{flex:1 1 290px}.peripheral-toolbar input,.peripheral-toolbar select{height:40px;border-radius:8px;border:1px solid #285477;background:#061626;color:#e4f3ff;padding:8px 11px;width:100%;min-width:0}.peripheral-category-label{flex:0 1 240px}.peripheral-visible-count{color:#8eafc9;font-size:12px;white-space:nowrap;margin-bottom:12px}.peripheral-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0;align-items:start}.peripheral-grid-v2>.panel{min-width:0;margin:0;padding:0;border-radius:11px;overflow:hidden}.peripheral-group-header{display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer;padding:15px 16px;min-height:70px;background:linear-gradient(90deg,#092139,#06182b);outline-offset:-3px}.peripheral-group-header::-webkit-details-marker{display:none}.peripheral-group-header:focus-visible{outline:2px solid #4dbbff}.peripheral-group-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#103756;border:1px solid #235b84;border-radius:9px;color:#65c5ff}.peripheral-group-icon .ui-icon{width:18px;height:18px}.peripheral-group-name{min-width:0;flex:1}.peripheral-group-name b{display:block;font-size:14px}.peripheral-group-name small{display:block;color:#83a2bd;font-size:12px;margin-top:3px}.peripheral-chevron{font-size:22px;color:#6c98b5;transition:transform .15s}.peripheral-group[open] .peripheral-chevron{transform:rotate(180deg)}.peripheral-list{border-top:1px solid #193c57}.peripheral-entry{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;border-bottom:1px solid rgba(47,91,125,.22)}.peripheral-entry:last-child{border-bottom:0}.peripheral-entry:hover{background:rgba(22,70,108,.18)}.peripheral-entry-main{min-width:0;flex:1}.peripheral-entry-main>b{display:block;font-size:13px;line-height:1.4;color:#eaf6ff;overflow-wrap:anywhere}.peripheral-entry-main>small{display:block;font-size:12px;color:#93acc1;margin-top:3px;overflow-wrap:anywhere;line-height:1.45}.peripheral-entry-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;white-space:nowrap}.peripheral-entry-side>small{font-size:12px;color:#7193b0}.peripheral-entry-identifier{margin-top:5px;color:#83a6c0;font-size:12px;max-width:100%}.peripheral-entry-identifier summary{cursor:pointer;width:max-content;max-width:100%;list-style:none;color:#73abc9}.peripheral-entry-identifier code{display:block;margin-top:5px;font-size:12px;color:#adc9df;white-space:normal;overflow-wrap:anywhere}.peripheral-temps-details,.peripheral-diagnostics-details{margin-top:12px;padding:0 16px 16px!important}.peripheral-temps-details summary,.peripheral-diagnostics-details summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;min-height:52px;list-style:none}.peripheral-temps-details summary b,.peripheral-diagnostics-details summary b{display:flex;align-items:center;gap:7px}.peripheral-temps-details summary span,.peripheral-diagnostics-details summary span{color:#83a5bf;font-size:12px}.peripheral-v2 .temperature-grid{margin-top:8px}.peripheral-v2 #peripheralEmptyFiltered[hidden]{display:none}.agent-manual-update{margin-top:14px;padding:13px 14px;border:1px solid #1d4b70;border-radius:10px;background:rgba(6,28,48,.7)}.agent-manual-update>label{display:block;color:#a5c5dc;font-size:12px;font-weight:700;margin-bottom:8px}.agent-manual-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-manual-row select{min-width:190px;flex:1}.agent-manual-row button{white-space:nowrap}.agent-manual-note{margin-top:11px;color:#83a8c1;font-size:12px;line-height:1.55}.agent-manual-update #agentManualHint{margin-top:8px;font-size:12px}
@media(max-width:1350px){.peripheral-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.peripheral-grid-v2{grid-template-columns:1fr}}@media(max-width:700px){.peripheral-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.peripheral-toolbar{align-items:stretch}.peripheral-category-label{flex:1 1 200px}.peripheral-entry{align-items:flex-start;flex-direction:column}.peripheral-entry-side{flex-direction:row;align-items:center}.ops-dashboard-pro .ops-activity-timeline-row.activity-readable{grid-template-columns:53px 7px 28px minmax(0,1fr);gap:7px}.ops-dashboard-pro .activity-readable:before{left:56px}.ops-dashboard-pro .activity-readable .ops-event-badge{grid-column:4;justify-self:start}}


/* Morriat OPS 0.39.25: zwarta, rozwijana lista audytu. */
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-list{display:block;margin-top:9px;padding:0}
.ops-dashboard-pro .ops-activity-item{display:block;min-width:0;border-bottom:1px solid rgba(63,107,142,.20);color:#e5f3fc}
.ops-dashboard-pro .ops-activity-item:last-child{border-bottom:none}
.ops-dashboard-pro .ops-activity-summary{display:grid;grid-template-columns:66px 27px minmax(0,1fr) auto 16px;gap:9px;align-items:center;min-height:42px;padding:6px 0;cursor:pointer;list-style:none}
.ops-dashboard-pro .ops-activity-summary::-webkit-details-marker{display:none}
.ops-dashboard-pro .ops-activity-summary::marker{content:''}
.ops-dashboard-pro .ops-activity-summary:hover{background:rgba(39,101,144,.13)}
.ops-dashboard-pro .ops-activity-summary:focus-visible{outline:2px solid #50baff;outline-offset:2px;border-radius:4px}
.ops-dashboard-pro .ops-activity-item[open] .ops-activity-summary{background:rgba(37,96,139,.13)}
.ops-dashboard-pro .ops-activity-summary .ops-timeline-time{text-align:left;font-size:12px;line-height:1.25;color:#8daec6;white-space:normal}
.ops-dashboard-pro .ops-activity-summary .ops-activity-icon{width:25px;height:25px;border-radius:6px}
.ops-dashboard-pro .ops-activity-summary .ops-activity-icon .ui-icon{width:15px;height:15px}
.ops-dashboard-pro .ops-activity-compact-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ebf6ff;font-size:13px;font-weight:650}
.ops-dashboard-pro .ops-activity-summary .ops-event-badge{font-size:12px;letter-spacing:0;min-width:0;padding:2px 7px;height:21px}
.ops-dashboard-pro .ops-activity-chevron{width:16px;color:#789ab8;display:flex;align-items:center;justify-content:center;transition:transform .15s ease}
.ops-dashboard-pro .ops-activity-chevron .ui-icon{width:14px;height:14px}
.ops-dashboard-pro .ops-activity-item[open] .ops-activity-chevron{transform:rotate(180deg)}
.ops-dashboard-pro .ops-activity-expanded{margin:0 0 8px 101px;padding:8px 10px 10px;border-left:2px solid #2c709e;background:rgba(5,23,42,.36);border-radius:0 6px 6px 0}
.ops-dashboard-pro .ops-activity-expanded p{font-size:12px;line-height:1.5;color:#aec9da;margin:0 0 7px}
.ops-dashboard-pro .ops-activity-expanded dl{display:grid;gap:5px;margin:0}
.ops-dashboard-pro .ops-activity-expanded dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:8px;line-height:1.4}
.ops-dashboard-pro .ops-activity-expanded dt{font-size:12px;color:#82a8c0}
.ops-dashboard-pro .ops-activity-expanded dd{font-size:12px;color:#e0eef9;margin:0;overflow-wrap:anywhere;min-width:0}
.ops-dashboard-pro .ops-activity-expanded code{font-size:12px;white-space:normal;overflow-wrap:anywhere;color:#a1d1ee}
@media(max-width:560px){
  .ops-dashboard-pro .ops-activity-summary{grid-template-columns:50px 24px minmax(0,1fr) auto 14px;gap:6px}
  .ops-dashboard-pro .ops-activity-summary .ops-activity-compact-title{font-size:12px}
  .ops-dashboard-pro .ops-activity-summary .ops-event-badge{font-size:12px;padding:2px 5px}
  .ops-dashboard-pro .ops-activity-expanded{margin-left:65px}
  .ops-dashboard-pro .ops-activity-expanded dl>div{grid-template-columns:1fr;gap:1px}
}
@media(prefers-reduced-motion:reduce){.ops-dashboard-pro .ops-activity-chevron{transition:none}}


/* 0.39.27: semantic, restrained colors for the compact audit timeline. */
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item{
  --activity-accent:#67bfff;--activity-border:rgba(103,191,255,.38);
  --activity-tint:rgba(33,112,164,.085);--activity-icon-bg:#0b2840;
  --activity-chip-bg:#0b3049;--activity-chip-border:#245977;
  --activity-chip-fg:#88ccf5;position:relative;
}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-green{--activity-accent:#48d6aa;--activity-border:rgba(72,214,170,.44);--activity-tint:rgba(15,129,101,.085);--activity-icon-bg:#0d302c;--activity-chip-bg:#0b392f;--activity-chip-border:#21624f;--activity-chip-fg:#65e3bd}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-cyan{--activity-accent:#62d4e9;--activity-border:rgba(98,212,233,.42);--activity-tint:rgba(12,117,151,.09);--activity-icon-bg:#0b3040;--activity-chip-bg:#073546;--activity-chip-border:#216a77;--activity-chip-fg:#81e7ef}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-amber{--activity-accent:#e9b55d;--activity-border:rgba(233,181,93,.46);--activity-tint:rgba(159,104,25,.09);--activity-icon-bg:#352915;--activity-chip-bg:#392b16;--activity-chip-border:#795d27;--activity-chip-fg:#f3c57d}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-red{--activity-accent:#f28d94;--activity-border:rgba(242,141,148,.48);--activity-tint:rgba(152,51,65,.085);--activity-icon-bg:#3a1e2c;--activity-chip-bg:#3d202e;--activity-chip-border:#824153;--activity-chip-fg:#ff9aa3}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-indigo{--activity-accent:#adb0fa;--activity-border:rgba(173,176,250,.42);--activity-tint:rgba(82,84,168,.10);--activity-icon-bg:#22274a;--activity-chip-bg:#252c4d;--activity-chip-border:#565d93;--activity-chip-fg:#c5c7ff}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item.tone-violet{--activity-accent:#c2a4ee;--activity-border:rgba(194,164,238,.40);--activity-tint:rgba(117,80,160,.08);--activity-icon-bg:#2c2240;--activity-chip-bg:#302541;--activity-chip-border:#655281;--activity-chip-fg:#dbc2fb}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary{position:relative;border-radius:7px;transition:background-color .12s ease;padding-left:9px;padding-right:7px;margin:1px 0;min-height:43px}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary::before{content:'';position:absolute;inset:7px auto 7px 0;width:2px;border-radius:3px;background:var(--activity-accent);opacity:.82}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary:hover{background:var(--activity-tint)}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item[open] .ops-activity-summary{background:var(--activity-tint)}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary .ops-activity-icon{color:var(--activity-accent);background:var(--activity-icon-bg);border-color:var(--activity-border)}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary .ops-event-badge{color:var(--activity-chip-fg);background:var(--activity-chip-bg);border:1px solid var(--activity-chip-border);font-weight:750;line-height:1.2}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item[open] .ops-activity-expanded{border-left-color:var(--activity-accent);margin-top:3px}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary .ops-activity-chevron{color:var(--activity-accent);opacity:.85}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-compact-title{font-weight:650}
.ops-dashboard-pro .ops-recent-card-pro .ops-activity-item:focus-within{isolation:isolate}
@media(prefers-reduced-motion:reduce){.ops-dashboard-pro .ops-recent-card-pro .ops-activity-summary{transition:none}}

/* 0.39.28: genuine dashboard sparklines. No graph before at least two historical readings. */
.ops-dashboard-pro .ops-metric-no-history { position:absolute;right:10px;bottom:10px;max-width:110px;text-align:right;font-size:12px;line-height:1.2;letter-spacing:.01em;color:#7897b2;opacity:.85;pointer-events:none; }
.ops-dashboard-pro .ops-metric-sparkline { opacity:.95; }
.ops-dashboard-pro .ops-metric-value em { font-style:normal;white-space:nowrap; }

/* OPS 0.39.31: compact, responsive status card; do not overflow or overlap the callout. */
.ops-dashboard-pro .ops-status-card-pro{min-width:0}
.ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;justify-content:stretch;gap:10px;min-height:0;padding:8px 0 7px;max-width:100%;overflow:visible}
.ops-dashboard-pro .ops-status-visual{min-width:0;max-width:100%}
.ops-dashboard-pro .ops-status-ring-svg{width:min(132px,100%);height:auto;max-width:100%;display:block}
.ops-dashboard-pro .ops-ring-segment{filter:none;opacity:.82;stroke-width:13;transition:opacity .18s ease,stroke-width .18s ease;cursor:pointer}
.ops-dashboard-pro .ops-ring-segment:hover,.ops-dashboard-pro .ops-ring-segment.active{filter:none;stroke-width:15;opacity:1}
.ops-dashboard-pro .ops-ring-center-control{cursor:pointer;outline:none}
.ops-dashboard-pro .ops-ring-center-control:focus-visible .ops-ring-inner{stroke:#62c4ff;stroke-width:2.5}
.ops-dashboard-pro .ops-ring-label{font-size:12px}
.ops-dashboard-pro .ops-status-side{display:block;min-width:0;width:100%}
.ops-dashboard-pro .ops-status-side .ops-status-detail{display:none}
.ops-dashboard-pro .ops-status-legend{display:grid;gap:5px;min-width:0;width:100%}
.ops-dashboard-pro .ops-status-legend-row{width:100%;min-width:0;min-height:30px;margin:0;padding:5px 7px;gap:6px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;border-radius:7px;box-shadow:none;transform:none}
.ops-dashboard-pro .ops-status-legend-row:hover{transform:none}
.ops-dashboard-pro .ops-status-legend-row i{width:8px;height:8px}
.ops-dashboard-pro .ops-status-legend-copy{min-width:0;display:block}
.ops-dashboard-pro .ops-status-legend-copy b{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ops-dashboard-pro .ops-status-legend-row strong{font-size:13px;display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.ops-dashboard-pro .ops-status-legend-row strong small{font-size:12px;font-weight:500;color:#86a9c5}
.ops-dashboard-pro .ops-status-callout{position:relative;z-index:0;clear:both;margin:8px 0 0;min-width:0;grid-template-columns:28px minmax(0,1fr);padding:8px;gap:8px}
.ops-dashboard-pro .ops-status-callout>span{width:26px;height:26px}
.ops-dashboard-pro .ops-status-callout b,.ops-dashboard-pro .ops-status-callout small{line-height:1.3;overflow-wrap:anywhere}
@media (max-width:390px){
  .ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:7px}
  .ops-dashboard-pro .ops-status-ring-svg{width:min(110px,100%)}
  .ops-dashboard-pro .ops-status-legend-row{padding:5px;gap:4px}
}
@media (prefers-reduced-motion:reduce){.ops-dashboard-pro .ops-ring-segment{transition:none}}
/* Override legacy broad span-grid rule; the compact legend copy is a single text cell. */
.ops-dashboard-pro .ops-status-legend .ops-status-legend-copy{display:block;grid-template-columns:none;min-width:0}

/* OPS 0.39.32: audit-only evidence. Scoped styles; no changes to dashboard dimensions. */
.sf-panel{min-width:0}.sf-head{flex-wrap:wrap;gap:14px}.sf-head h3{margin:3px 0 6px}.sf-eyebrow{color:#6cbfef;font-size:12px;letter-spacing:.08em;font-weight:700}.sf-actions{display:flex;gap:9px;flex-wrap:wrap}.sf-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.sf-summary>div{min-width:0;padding:14px;border:1px solid #214059;border-radius:9px;background:#081b2c}.sf-summary strong{display:block;color:#e2f0fc;font-size:26px;font-variant-numeric:tabular-nums}.sf-summary strong small{font-size:16px;font-weight:500;color:#95b0c5}.sf-summary span{display:block;color:#a5bdcf;font-size:12px;margin-top:5px}.sf-summary .sf-attention{color:#ffcb80}.sf-coverage{display:grid;grid-template-columns:auto minmax(80px,1fr);gap:14px;align-items:center;margin:15px 0 19px;font-size:12px;color:#a5bdcf}.sf-coverage b{color:#e0f3ff;margin-left:8px}.sf-coverage-track{height:6px;background:#16314a;border-radius:8px;overflow:hidden}.sf-coverage-track i{display:block;height:100%;background:#36b6f0;border-radius:8px}.sf-controls{display:grid;gap:6px}.sf-control{border:1px solid #203e57;border-radius:8px;background:#071b2b;overflow:hidden}.sf-control>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 55px;gap:12px;align-items:center;list-style:none;padding:12px 14px;cursor:pointer;min-height:48px}.sf-control>summary::-webkit-details-marker{display:none}.sf-control-name{min-width:0;color:#d8e9f7;font-size:13px;font-weight:600;overflow-wrap:anywhere}.sf-control-name:before{content:'›';display:inline-block;color:#8eabc1;margin-right:10px}.sf-control[open] .sf-control-name:before{transform:rotate(90deg)}.sf-control[open]{border-color:#356589}.sf-control summary:hover{background:#0e283d}.sf-control summary:focus-visible,.sf-actions button:focus-visible,.sf-raw summary:focus-visible{outline:2px solid #7ad3ff;outline-offset:-3px}.sf-actual{text-align:right;font-size:12px;font-weight:600;color:#adcadf;overflow-wrap:anywhere}.sf-badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:600;padding:4px 8px;border-radius:6px;border:1px solid #405469;background:#162737;color:#b4c6d5}.sf-badge:before{content:'•';font-size:14px;line-height:1}.sf-pass,.sf-fresh,.sf-clear{background:#0d352e;border-color:#24634f;color:#8ce1bc}.sf-fail,.sf-pending,.sf-stale{background:#3a2c17;border-color:#7a5c2e;color:#ffd293}.sf-error,.sf-clock_skew{background:#3c2028;border-color:#88505e;color:#ffb6c2}.sf-control-detail{padding:0 14px 14px;border-top:1px solid #1a374e}.sf-control-detail p{font-size:13px;line-height:1.6;color:#b1c5d6}.sf-control-detail dl>div{grid-template-columns:170px minmax(0,1fr);gap:16px;font-size:12px}.sf-control-detail code{color:#9bcbe5;font-size:12px;overflow-wrap:anywhere}.sf-note{color:#9db6c9;font-size:12px;line-height:1.65;margin:15px 0 0;max-width:1100px}.sf-reboot{margin-top:12px;padding:13px 14px;border:1px solid #25445e;border-radius:8px;background:#0a1f30}.sf-reboot>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sf-reboot p{font-size:13px;color:#bbd0df;line-height:1.6}.sf-reboot small{font-size:12px;color:#94b1c7;overflow-wrap:anywhere}.sf-raw{border:1px solid #27465f;border-radius:9px;padding:12px 15px;margin:15px 0;background:#091c2c}.sf-raw>summary{font-size:13px;cursor:pointer;color:#bdd8ea;font-weight:600;min-height:28px}.sf-fleet{min-width:650px}.sf-fleet td{vertical-align:middle}.sf-fleet .muted{margin-top:5px;font-size:12px}
@media(max-width:1000px){.sf-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sf-summary{gap:7px}.sf-summary>div{padding:10px}.sf-summary strong{font-size:22px}.sf-control>summary{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:8px}.sf-control .sf-actual{display:none}.sf-control-detail dl>div{grid-template-columns:1fr;gap:5px}.sf-coverage{grid-template-columns:1fr}.sf-head{align-items:flex-start}.sf-actions{width:100%}}

/* 0.39.33: account MFA. Local QR, readable labels, keyboard focus, no remote assets. */
.mfa-account{max-width:880px;padding:24px}.mfa-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mfa-title h3{margin:0;font-size:20px}.mfa-title p{margin:6px 0;color:#a2b9ce;font-size:14px}.mfa-title>.pill{margin-left:auto}.mfa-shield{width:48px;height:48px;border-radius:12px;background:#10394a;color:#61dfba;display:grid;place-items:center}.mfa-shield .ui-icon{width:25px;height:25px}.mfa-account>p,.mfa-help p{line-height:1.65;color:#b0c6d9;font-size:14px}.mfa-facts,.mfa-coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.mfa-facts>div,.mfa-coverage>div{background:#0a1e30;border:1px solid #21405a;border-radius:10px;padding:15px}.mfa-facts span,.mfa-coverage span{display:block;color:#9fb7cc;font-size:13px;margin-bottom:8px}.mfa-facts b{font-size:14px;line-height:1.5}.mfa-coverage strong{font-size:22px}.mfa-coverage strong small{font-size:13px;font-weight:400;color:#a4bdd1}.mfa-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.mfa-actions button{min-height:40px}.mfa-notice{padding:14px 16px;border:1px solid #25475d;border-left:3px solid #59b8e8;border-radius:8px;background:#0b2032;color:#bed6e7;font-size:13px;line-height:1.6;margin:14px 0}.mfa-notice.warning{border-color:#765c27;border-left-color:#ebbb62;background:#2a2418;color:#f2d6a2}.mfa-help{border-top:1px solid #284052;padding-top:17px;margin-top:20px;font-size:14px}.mfa-help summary{cursor:pointer;color:#b6d9f0}.mfa-enroll{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center;margin:12px 0 20px}.mfa-enroll p{font-size:14px;line-height:1.8}.mfa-qr{width:220px;height:220px;border:10px solid #fff;border-radius:10px;background:#fff}.mfa-enroll summary{cursor:pointer;font-size:13px}.mfa-seed{display:block;word-break:break-all;user-select:all;margin:10px 0;padding:12px;background:#061522;border:1px solid #2d506c;border-radius:6px}.mfa-codes{width:100%;min-height:280px;font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#edf5fd;background:#091928;border:1px solid #2e5069;border-radius:8px;padding:15px}.mfa-account button:focus-visible,.mfa-enroll summary:focus-visible,.mfa-help summary:focus-visible{outline:2px solid #65c7fa;outline-offset:3px}#loginMfa input{letter-spacing:.08em}#loginMfaCancel{margin:0 0 12px}.profile-popover #accountSecurity{width:100%;font-size:13px;margin:10px 0;white-space:normal}#loginMfa label{font-size:13px}
@media(max-width:680px){.mfa-facts,.mfa-coverage{grid-template-columns:1fr}.mfa-account{padding:18px}.mfa-enroll{grid-template-columns:1fr;justify-items:center}.mfa-enroll>div{width:100%}.mfa-title>.pill{margin-left:0}.mfa-actions button{width:100%}}

/* 0.39.34: SSH recovery is discoverable but does not provide a full login. */
.ops-ssh-recovery{margin:10px 0;padding:10px 12px;border:1px solid #2c526d;border-radius:10px;background:rgba(7,34,55,.72)}
.ops-ssh-recovery summary{cursor:pointer;color:#b1d7ef;font-size:12px;line-height:1.5}
.ops-ssh-recovery p{color:#9bb4cd;font-size:12px;line-height:1.5;margin:8px 0}
.ops-ssh-recovery .ops-login-field{margin-top:7px}
.ops-ssh-recovery input{width:100%;min-width:0}

/* 0.39.35: visible, distinct SSH recovery path; no break-glass confusion */
.ops-ssh-recovery{border:1px solid #275a7e;background:linear-gradient(180deg,rgba(8,37,59,.92),rgba(5,25,43,.94));margin:14px 0 13px;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.ops-ssh-recovery[open]{border-color:#4097ca;box-shadow:0 0 0 1px rgba(55,155,213,.16),inset 0 1px rgba(255,255,255,.04)}
.ops-ssh-recovery summary{font-size:13px;font-weight:650;line-height:1.45;color:#b9e3ff;list-style-position:inside}
.ops-ssh-recovery p{font-size:12px;line-height:1.55;color:#9db8cf}
.ops-ssh-recovery code{background:transparent;color:#d4eeff;font-size:12px}
.ops-ssh-recovery .ops-login-field>div{grid-template-columns:1fr;padding-left:12px}
.ops-ssh-recovery .ops-login-field input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.01em}
.ops-breakglass{opacity:.76}.ops-breakglass[open]{opacity:1}
/* Recovery can make the login card taller than a laptop/mobile viewport. */
.ops-login-screen{overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain}
@media (max-height:900px){.ops-login-screen{place-items:start center}.ops-login-layout{min-height:100vh;margin:12px auto}.ops-login-card{margin-top:12px;margin-bottom:12px}}
@media (max-width:900px){.ops-login-screen{place-items:start center}.ops-login-card{margin-top:24px;margin-bottom:24px}}

/* 0.39.37: MFA TOTP six-slot input. One real input supports a11y, autofill and paste.
   No 38px icon-grid column is inherited from .ops-login-field. */
.ops-mfa-login{display:grid;gap:9px;margin:14px 0 15px;min-width:0}
.ops-mfa-login>label{font-size:12px;font-weight:650;letter-spacing:.025em;color:#a5bfd7}
.ops-mfa-code-frame{position:relative;width:100%;min-width:0;min-height:58px}
.ops-mfa-code-slots{display:none;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.ops-mfa-login.is-ready:not(.is-recovery) .ops-mfa-code-slots{display:grid}
.ops-mfa-code-slot{height:58px;min-width:0;border:1px solid #285373;border-radius:11px;display:grid;place-items:center;background:linear-gradient(160deg,rgba(13,43,69,.94),rgba(7,25,45,.95));color:#7394b3;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:26px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums;box-shadow:inset 0 1px rgba(255,255,255,.045);transition:border-color .17s,box-shadow .17s,color .17s,background .17s}
.ops-mfa-code-slot.is-filled{border-color:#3678a5;color:#ecf7ff;background:linear-gradient(155deg,#123653,#0a243c)}
.ops-mfa-code-slot.is-current{border-color:#4aaff6;box-shadow:0 0 0 2px rgba(60,166,238,.12),inset 0 -2px rgba(77,183,250,.45)}
.ops-mfa-code-frame:focus-within .ops-mfa-code-slot.is-current{border-color:#6bc7ff;box-shadow:0 0 0 3px rgba(60,166,238,.19),0 0 17px rgba(34,151,234,.15)}
.ops-mfa-code-frame.is-complete .ops-mfa-code-slot{border-color:#4197ad}
.ops-mfa-code-frame.is-invalid .ops-mfa-code-slot{border-color:#f47787!important;box-shadow:0 0 0 1px rgba(250,94,112,.15)}
.ops-mfa-code-frame input{display:block;width:100%;height:58px;min-width:0;box-sizing:border-box;border:1px solid #2a5476;border-radius:11px;background:#071d30;color:#e5f3ff;padding:0 13px;font:500 16px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:0;outline:0}
.ops-mfa-code-frame.is-recovery input:focus-visible,.ops-mfa-login:not(.is-ready) input:focus-visible{border-color:#67b9f0;box-shadow:0 0 0 3px rgba(60,166,238,.17)}
.ops-mfa-login.is-ready:not(.is-recovery) .ops-mfa-code-frame input{position:absolute;inset:0;z-index:1;opacity:0;cursor:text;caret-color:transparent}
.ops-mfa-hint{margin:0;color:#85a7c1;font-size:12px;line-height:1.45}
.ops-mfa-mode-switch{display:inline-flex;align-items:center;justify-content:flex-start;justify-self:start;min-height:32px;padding:5px 0;background:transparent;border:0;border-radius:5px;color:#82c9f6;text-align:left;font-size:12px;font-weight:650;line-height:1.4;text-decoration:underline;text-decoration-color:rgba(130,201,246,.4);text-underline-offset:3px;cursor:pointer}
.ops-mfa-mode-switch:hover:not(:disabled){background:transparent;color:#b6e3ff;border:0}
.ops-mfa-mode-switch:focus-visible{outline:2px solid #78cbff;outline-offset:3px}
@keyframes opsMfaDigitIn{0%{transform:translateY(3px) scale(.94);opacity:.55}100%{transform:translateY(0) scale(1);opacity:1}}
.ops-mfa-code-slot.ops-mfa-pop{animation:opsMfaDigitIn .17s ease-out}
@media(max-width:390px){.ops-mfa-code-slots{gap:5px}.ops-mfa-code-slot{height:52px;font-size:23px}.ops-mfa-code-frame{min-height:52px}.ops-mfa-code-frame input{height:52px}}
@media(prefers-reduced-motion:reduce){.ops-mfa-code-slot,.ops-mfa-code-slot.ops-mfa-pop{transition:none!important;animation:none!important}}

/* Morriat OPS 0.39.38 · KSC / NIS2 Center */
.ksc-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px;background:linear-gradient(114deg,#0a2542 0%,#081a30 48%,#061322 100%);border:1px solid #205482;border-radius:18px;margin-bottom:14px}
.ksc-hero small{display:block;font-size:12px;letter-spacing:1.8px;color:#51caff;font-weight:750}.ksc-hero h2{font-size:27px;margin:6px 0}.ksc-hero p{color:#9db8d2;margin:0;max-width:610px;line-height:1.5}.ksc-hero .actions{flex-wrap:wrap;align-items:center}.ksc-hero select{max-width:230px;min-width:170px}
.ksc-disclaimer{padding:12px 16px;background:#122439;border:1px solid #355371;border-radius:12px;color:#bcd1e6;font-size:13px;line-height:1.55;margin-bottom:13px}
.ksc-profile{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin:12px 0}.ksc-profile>div,.ksc-stats article{background:linear-gradient(145deg,#0d2036,#0b182a);border:1px solid #23405c;border-radius:13px;padding:17px;min-width:0}.ksc-profile span,.ksc-stats span{display:block;color:#7e9fbf;font-size:12px}.ksc-profile b{display:block;margin:7px 0 4px;color:#edf7ff;overflow-wrap:anywhere}.ksc-profile small,.ksc-stats small,.ksc-sub{display:block;color:#8aa4be;font-size:12px;margin-top:5px}
.ksc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ksc-stats b{font-size:28px;letter-spacing:-.7px;display:block;margin:8px 0}.ksc-stats b small{display:inline;font-size:14px}.ksc-section{margin-top:16px}.ksc-group{margin:18px 0}.ksc-group h4{margin:0;background:#102944;border-left:3px solid #23a9ef;padding:11px 13px;border-radius:7px;color:#d7f0ff}.ksc-control{display:grid;grid-template-columns:minmax(0,1fr) 175px 112px;align-items:center;gap:14px;padding:14px 10px;border-bottom:1px solid #24415a}.ksc-control strong{display:block;color:#e6f3ff;font-size:13px}.ksc-control small{display:block;color:#87a3bf;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.ksc-control button{white-space:nowrap}.ksc-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ksc-form label{min-width:0}.ksc-form textarea{width:100%;min-height:86px;background:#0c141d;border:1px solid #2a3a4f;color:#edf4fb;border-radius:10px;padding:11px;font:inherit}.ksc-form select{width:100%;min-width:0}
@media(max-width:1100px){.ksc-profile{grid-template-columns:repeat(2,minmax(0,1fr))}.ksc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.ksc-hero{padding:18px}.ksc-profile,.ksc-stats{grid-template-columns:1fr}.ksc-control{grid-template-columns:1fr;gap:8px}.ksc-form{grid-template-columns:1fr}.ksc-hero .actions>*{flex:1}}

/* 0.39.42 risk ownership and remediation */
.ksc-gov-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(340px,2fr);gap:24px;margin-top:20px}.ksc-gov-grid>div{min-width:0}.ksc-gov-actions{display:flex;gap:6px;flex-wrap:wrap}.ksc-governance nav a{color:#8dd7ff}.ksc-matrix{width:100%;border-collapse:separate;border-spacing:3px;text-align:center}.ksc-matrix caption{font-size:12px;color:#a4bdd3;padding:8px;caption-side:bottom}.ksc-matrix td{font-weight:700;text-align:center;border-radius:5px;min-width:34px;padding:11px}.ksc-matrix .risk-low{background:#163b42;color:#cae8e2}.ksc-matrix .risk-medium{background:#554c24;color:#fff1bc}.ksc-matrix .risk-high{background:#653c26;color:#ffe3c9}.ksc-matrix .risk-critical{background:#662c37;color:#ffe0e3}.ksc-history-item{padding:14px 0;border-bottom:1px solid #2a435b}.ksc-history-item pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#081522;border-radius:8px}.ksc-history-item small{overflow-wrap:anywhere;display:block;color:#8ca9c2}.ksc-section .tablewrap td{vertical-align:top}.ksc-section .tablewrap td strong{overflow-wrap:anywhere}
@media(max-width:1050px){.ksc-gov-grid{grid-template-columns:1fr}.ksc-governance nav{margin-top:10px}}
.ksc-matrix{min-width:0;table-layout:fixed}

body.company-scope #mainnav .nav-separator,body.company-scope #mainnav .nav-label{display:none}

/* MSP82: scope switcher has its own header slot, outside the profile grid. */
.workspace-header{gap:12px;min-width:0;flex-wrap:wrap}
.workspace-header .search-trigger{min-width:160px;max-width:520px;flex:1 1 240px;width:auto}
.workspace-header .header-spacer{flex:1 1 0;min-width:0}
.operator-context-slot{flex:0 1 260px;min-width:0;max-width:30vw}
.operator-context-slot:empty{display:none}
.operator-context-slot .msp-context-switcher{display:block;width:100%;min-height:42px;padding:9px 13px;margin:0;border:1px solid #2a5574;border-radius:9px;background:#0a2136;color:#d9edfc;font-size:13px;line-height:1.35;text-align:left;white-space:normal;overflow-wrap:anywhere}
.operator-context-slot .msp-context-switcher:hover{border-color:#46b5ed;background:#103049}
.operator-context-slot .msp-context-switcher:focus-visible,.ops-status-legend-row:focus-visible{outline:2px solid #75ccff;outline-offset:3px}
.workspace-header .authbar{flex:0 0 auto;max-width:100%}
.workspace-header .profile-menu{grid-template-columns:37px minmax(0,150px) 30px;gap:8px}
.workspace-header .profile-copy{min-width:0}
.workspace-header .profile-copy strong{max-width:150px;overflow:hidden;text-overflow:ellipsis}
.workspace-header .profile-popover{max-width:min(330px,calc(100vw - 24px));right:0;left:auto}
/* Card height follows content; all five statuses remain visible at every width. */
.ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr) minmax(0,1fr)!important;align-items:stretch}
.ops-dashboard-pro .ops-status-card-pro{container-type:inline-size;display:flex;flex-direction:column;height:auto;min-width:0}
.ops-dashboard-pro .ops-status-card-pro .ops-card-head{flex-wrap:wrap;row-gap:8px}
.ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{height:auto;min-height:0;flex:1 0 auto;display:grid;grid-template-columns:minmax(90px,.8fr) minmax(140px,1.2fr);gap:14px;padding:14px 0;align-items:center;max-width:100%}
.ops-dashboard-pro .ops-status-side,.ops-dashboard-pro .ops-status-legend{display:grid;min-width:0;width:100%;height:auto;gap:7px}
.ops-dashboard-pro .ops-status-legend-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;width:100%;min-width:0;min-height:38px;height:auto;padding:8px;gap:7px;color:#e5f2fd;align-items:center}
.ops-dashboard-pro .ops-status-legend .ops-status-legend-copy{display:block;grid-template-columns:none;min-width:0;line-height:1.4}
.ops-dashboard-pro .ops-status-legend-copy b{font-size:12px;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal}
.ops-dashboard-pro .ops-status-legend-row strong{font-size:13px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;line-height:1.4;white-space:normal}
.ops-dashboard-pro .ops-status-legend-row strong small{font-size:12px;color:#a2c1db;line-height:1.4}
.ops-dashboard-pro .ops-status-ring-svg{display:block;width:min(136px,100%);height:auto;margin:auto}
.ops-dashboard-pro .ops-status-callout{flex:0 0 auto;margin-top:4px}
@container(max-width:350px){
 .ops-dashboard-pro .ops-status-card-pro .ops-health-wrap{grid-template-columns:1fr;gap:14px}
 .ops-dashboard-pro .ops-status-visual{max-width:136px;justify-self:center;width:100%}
 .ops-dashboard-pro .ops-status-side{width:100%}
}
@media(max-width:1400px){
 .ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)!important}
 .ops-dashboard-pro .ops-recent-card-pro{grid-column:1/-1}
 .workspace-header .profile-menu{grid-template-columns:37px 30px}
 .workspace-header .profile-copy{display:none}
 .workspace-header .search-trigger{flex-basis:180px}
}
@media(max-width:1050px){
 .ops-dashboard-pro .ops-core-grid-pro{grid-template-columns:minmax(0,1fr)!important}
 .ops-dashboard-pro .ops-recent-card-pro{grid-column:auto}
 .workspace-header .environment-chip{display:none}
}
@media(max-width:600px){
 .workspace-header{gap:8px;padding:10px 12px}
 .workspace-header .search-trigger{flex:0 0 42px;min-width:42px;width:42px;padding:9px}
 .workspace-header .header-spacer{display:none}
 .operator-context-slot{flex:1 1 130px;max-width:none;min-width:0}
 .operator-context-slot .msp-context-switcher{font-size:12px;min-height:42px;padding:8px}
 .workspace-header .authbar{margin-left:auto}
}

/* Metric history and empty tables participate in layout rather than overlaying text. */
.ops-dashboard-pro .ops-metric-pro{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:14px;align-content:start}
.ops-dashboard-pro .ops-metric-icon{position:static;grid-column:1;width:38px;height:38px}
.ops-dashboard-pro .ops-metric-copy{grid-column:2;min-width:0;width:auto}
.ops-dashboard-pro .ops-metric-copy small{width:auto;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
.ops-dashboard-pro .ops-metric-no-history,.ops-dashboard-pro .ops-metric-sparkline{position:static;grid-column:1/-1;justify-self:end;max-width:100%;margin-top:0}
.ops-dashboard-pro .ops-metric-no-history{font-size:12px;line-height:1.4;color:#8aabc7;white-space:normal;text-align:right}
.ops-dashboard-pro .ops-device-table td[colspan]{width:auto!important;max-width:none!important;white-space:normal;overflow:visible;text-overflow:clip;padding:18px;line-height:1.5}
.ops-dashboard-pro .ops-status-legend-row{min-height:44px}
.ops-dashboard-pro .ops-status-callout>span{background:#0c4a40;color:#52dfbc}
.ops-dashboard-pro .ops-status-callout.attention>span{background:#543c13;color:#ffcf76}
