:root{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#172033;
  background:#f7f9fc;
  line-height:1.45;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --blue-soft:#eff6ff;
  --text:#172033;
  --muted:#667085;
  --border:#e5e7eb;
  --panel:#ffffff;
  --green:#16a34a;
  --green-soft:#ecfdf3;
  --red:#dc2626;
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:#f7f9fc;color:var(--text)}
a{color:inherit}
.shell{max-width:1400px;margin:auto;padding:34px 32px 60px}
.topbar{height:64px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 28px;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}
.brand-lockup{display:flex;align-items:center;gap:11px}.brand-logo{width:34px;height:34px;border-radius:9px;object-fit:contain}.topbar h1{font-size:22px;margin:0}.eyebrow{font-size:10px;letter-spacing:.14em;color:#98a2b3;margin:0}.top-actions,.toolbar{display:flex;align-items:center;gap:12px}
#nav.toolbar{position:fixed;left:0;top:64px;bottom:0;width:228px;padding:18px 12px!important;border-right:1px solid var(--border);border-bottom:0;background:#fff;display:block;overflow:auto;z-index:15}
.nav-inner{display:flex;flex-direction:column;gap:20px}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-group-label{padding:0 10px 7px;color:#98a2b3;font-size:10px;font-weight:750;letter-spacing:.11em}.nav-group a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:7px;text-decoration:none;color:#475467;font-size:13px;font-weight:600}.nav-group a:hover{background:#f2f4f7;color:#101828}.nav-group a.active{background:var(--blue-soft);color:var(--blue)}.nav-icon{width:17px;height:17px;display:grid;place-items:center;flex:0 0 17px;color:currentColor;opacity:.72}.nav-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav-icon svg path[fill]{fill:currentColor;stroke:none}.nav-group a.active .nav-icon{opacity:1}.shell{margin-left:228px}.topbar{padding-left:24px}.brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.15}.brand-name{font-size:15px;letter-spacing:-.01em;color:#101828}.brand-context{font-size:11px;color:#98a2b3;margin-top:3px}.brand-lockup{min-width:150px}.topbar .brand-logo{background:#fff}.top-actions{display:flex;align-items:center;gap:10px}
.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.03);overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}.panel:hover{border-color:#d9dee8;box-shadow:0 3px 10px rgba(16,24,40,.045)}
button,.button,.action-btn,.device-tab,.icon-button{transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.action-btn:hover:not(:disabled),.device-tab:hover{transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.toolbar{padding:16px 20px;border-bottom:1px solid var(--border)}
input,select,textarea{width:100%;border:1px solid #d0d5dd;background:#fff;color:var(--text);border-radius:8px;padding:10px 12px;font:inherit;outline:none}
input:focus,select:focus,textarea:focus{border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
button,.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;padding:9px 14px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}
button{background:var(--blue);color:#fff}.primary{background:var(--blue);color:#fff}.primary:hover,button:hover{background:var(--blue-dark)}
.secondary{background:#fff;color:#344054;border-color:#d0d5dd}.secondary:hover{background:#f9fafb}
.muted{color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:650;background:#f2f4f7;color:#475467}
.health{display:flex;align-items:center;gap:9px;color:#667085;font-size:14px}.health span:first-child{width:8px;height:8px;border-radius:50%;background:#98a2b3}.health.ok span:first-child{background:#22c55e}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stats article{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}.stats span{display:block;color:var(--muted);font-size:13px}.stats strong{display:block;font-size:30px;margin-top:5px}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 18px;border-bottom:1px solid #eef0f3;white-space:nowrap}th{font-size:12px;color:#667085;font-weight:650}td{font-size:14px}.asset-name{font-weight:700}.empty{text-align:center;color:#667085;padding:45px}
dialog{width:min(680px,calc(100% - 30px));border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);padding:0;box-shadow:0 24px 70px rgba(16,24,40,.18)}dialog::backdrop{background:rgba(16,24,40,.35)}

/* Pointrus in-app dialogs */
.pointrus-dialog{width:min(500px,calc(100% - 32px));padding:0;border:1px solid #dfe3ea;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 32px 90px rgba(16,24,40,.24),0 8px 24px rgba(16,24,40,.08);overflow:hidden}
.pointrus-dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(4px)}
.pointrus-dialog-card{position:relative;padding:0}
.pointrus-dialog-accent{height:3px;background:#2563eb}.pointrus-dialog-accent.is-danger{background:#d92d20}.pointrus-dialog-accent.is-success{background:#12b76a}
.pointrus-dialog-head{display:grid;grid-template-columns:40px 1fr 32px;align-items:start;gap:13px;padding:24px 24px 18px}
.pointrus-dialog-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:18px;font-weight:800;background:#eff6ff;color:#2563eb;border:1px solid #dbeafe}
.pointrus-dialog-icon.is-danger{background:#fef3f2;color:#d92d20;border-color:#fecdca}.pointrus-dialog-icon.is-success{background:#ecfdf3;color:#027a48;border-color:#abefc6}.pointrus-dialog-icon.is-alert{background:#fffaeb;color:#b54708;border-color:#fedf89}
.pointrus-dialog-heading{min-width:0;padding-top:1px}.pointrus-dialog-eyebrow{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.12em;font-weight:750;color:#98a2b3;margin-bottom:5px}
.pointrus-dialog-head h2{margin:0;font-size:19px;line-height:1.3;letter-spacing:-.018em;color:#101828}
.pointrus-dialog-close{width:32px;height:32px;padding:0;border:0;background:transparent;color:#98a2b3;font-size:23px;font-weight:400;line-height:1;border-radius:8px}.pointrus-dialog-close:hover{background:#f2f4f7;color:#344054}
.pointrus-dialog-body{padding:0 24px 8px 77px}.pointrus-dialog-body p{margin:0;color:#667085;font-size:14px;line-height:1.6;white-space:pre-wrap}
.pointrus-dialog-field{margin-top:18px}.pointrus-dialog-field label{display:block;margin-bottom:7px;color:#344054;font-size:12px;font-weight:700}.pointrus-dialog-field input{margin:0;height:44px;background:#fff;border-color:#cfd5df}.pointrus-dialog-field input:focus{border-color:#5b7cfa;box-shadow:0 0 0 4px rgba(68,99,224,.10)}
.pointrus-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:20px 24px 22px}.pointrus-dialog-actions button{height:40px;padding:0 15px;border-radius:8px;font-size:13px;font-weight:700}.pointrus-dialog-actions .primary{min-width:96px}.pointrus-dialog-actions .secondary{min-width:78px}.pointrus-dialog-actions .pointrus-dialog-danger{background:#d92d20;border-color:#d92d20;color:#fff}.pointrus-dialog-actions .pointrus-dialog-danger:hover{background:#b42318;border-color:#b42318}
@media(max-width:520px){.pointrus-dialog{width:calc(100% - 20px);border-radius:16px}.pointrus-dialog-head{padding:20px 18px 16px;grid-template-columns:36px 1fr 30px}.pointrus-dialog-icon{width:36px;height:36px;border-radius:10px}.pointrus-dialog-body{padding:0 18px 8px}.pointrus-dialog-actions{padding:18px}.pointrus-dialog-actions button{flex:1}}
form{padding:24px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{margin:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid label{font-size:12px;color:#475467}.grid input,.grid select,.grid textarea{margin-top:6px}.wide{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.login-view{min-height:100vh;display:grid;place-items:center;padding:40px 24px;background:radial-gradient(circle at 50% 0%,#eef4ff 0,#f7f9fc 38%,#f5f7fa 100%)}.login-shell{width:min(430px,100%)}.login-brand{display:flex;align-items:center;gap:11px;margin:0 0 22px 2px;color:#101828;font-size:20px;font-weight:800;letter-spacing:-.03em}.login-logo{width:36px;height:36px;border-radius:10px;object-fit:contain;margin:0}.login-card{width:100%;box-sizing:border-box;background:rgba(255,255,255,.96);border:1px solid #e4e7ec;border-radius:18px;padding:34px;box-shadow:0 20px 55px rgba(16,24,40,.09),0 2px 8px rgba(16,24,40,.04)}.login-heading{margin-bottom:28px}.login-card h1{margin:5px 0 8px;font-size:30px;line-height:1.15;letter-spacing:-.035em;color:#101828}.login-card h2{margin:4px 0 8px;font-size:24px;line-height:1.2;letter-spacing:-.025em;color:#101828}.login-subtitle{color:#667085;margin:0;line-height:1.55;font-size:14px}.login-card label{display:block;margin:0 0 18px;font-size:13px;font-weight:650;color:#344054}.login-card input{margin-top:8px;height:46px;box-sizing:border-box;border-radius:9px;border-color:#d0d5dd;background:#fff;font-size:14px}.login-card input::placeholder{color:#98a2b3}.login-card input:focus{border-color:#5b7cfa;box-shadow:0 0 0 4px rgba(68,99,224,.10)}.password-field{position:relative}.password-field input{padding-right:64px}.password-toggle{position:absolute;right:7px;top:15px;height:32px;padding:0 8px;border:0;background:transparent;color:#667085;font-size:12px;font-weight:700}.password-toggle:hover{background:#f2f4f7;color:#344054}.login-options{display:flex;justify-content:space-between;align-items:center;margin:2px 0 10px}.login-card .remember{display:flex;align-items:center;gap:8px;margin:0;font-weight:500;color:#475467}.login-card .remember input{width:16px;height:16px;margin:0;flex:0 0 16px}.login-button{width:100%;margin-top:8px;min-height:46px;border-radius:9px;font-weight:700}.login-button.primary{box-shadow:0 2px 5px rgba(37,99,235,.18)}.login-button.primary span{margin-left:8px;font-size:17px}.login-error{min-height:18px;color:#b42318;font-size:13px;margin:6px 0}.login-two-factor{padding-top:2px}.login-two-factor .eyebrow,.login-reset .eyebrow{margin-bottom:10px}.login-two-factor label{margin-top:24px}.login-two-factor input{font-size:22px;letter-spacing:.32em;text-align:center;font-variant-numeric:tabular-nums}.login-two-factor .secondary{margin-top:10px}.login-forgot{display:block;margin:17px auto 0;padding:3px;border:0;background:transparent!important;color:var(--blue)!important;font-size:13px;font-weight:650;box-shadow:none!important}.login-forgot:hover{text-decoration:underline}.login-reset{padding-top:2px}.login-reset h2{margin-top:4px}.login-reset .login-button{margin-top:10px}.login-stepper{display:flex;align-items:center;gap:8px;margin:0 0 28px}.login-stepper span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid #d0d5dd;color:#667085;background:#fff;font-size:11px;font-weight:750}.login-stepper span.active{background:#eef4ff;border-color:#84adff;color:var(--blue)}.login-stepper span.current{box-shadow:0 0 0 3px rgba(68,99,224,.12)}.login-stepper i{height:1px;flex:1;background:#e4e7ec}.login-reset-step{animation:loginStepIn .16s ease-out}.login-reset-success{text-align:center;padding:8px 0 2px}.login-success-icon{width:48px;height:48px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:#027a48;font-size:24px;font-weight:800}.login-footer{display:flex;justify-content:center;gap:8px;margin-top:18px;color:#98a2b3;font-size:11px}@keyframes loginStepIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:480px){.login-view{padding:24px 14px}.login-brand{margin-bottom:18px}.login-card{padding:28px 22px;border-radius:16px}.login-card h1{font-size:27px}.login-card h2{font-size:22px}.login-logo{width:34px;height:34px}.login-footer{font-size:10px}}
.login-shell .login-logo{width:36px;height:36px;margin:0}.login-card form{padding:0}.device-shell{max-width:1400px}.device-loading{padding:45px;text-align:center;color:#667085}.device-hero{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.device-hero-main,.device-hero-side{display:flex;align-items:center;gap:16px}.device-hero h2{font-size:26px;margin:2px 0 4px}.device-avatar{width:54px;height:54px;border-radius:12px;display:grid;place-items:center;background:#eff6ff;border:1px solid #dbeafe;color:var(--blue);font-weight:800}.status-badge{padding:6px 10px;border-radius:999px;background:#fef3f2;color:#b42318;font-size:13px;font-weight:700}.status-badge.online{background:var(--green-soft);color:#027a48}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.metric-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px}.metric-card span{display:block;color:#667085;font-size:12px}.metric-card strong{display:block;font-size:26px;margin:5px 0}.metric-card small{display:block;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.info-panel{padding:0;margin-bottom:16px}.device-grid .info-panel{margin-bottom:0}.panel-heading{padding:17px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between}.panel-heading h3{margin:0 0 3px}.panel-heading p{margin:0;font-size:13px}.info-grid{display:grid;grid-template-columns:1fr 1fr}.info-item{padding:14px 20px;border-bottom:1px solid #eef0f3}.info-item:nth-child(odd){border-right:1px solid #eef0f3}.info-item span{display:block;color:#667085;font-size:11px}.info-item strong{display:block;margin-top:3px;font-size:14px;word-break:break-word}
.security-grid{display:grid;grid-template-columns:1fr 1fr 1fr}.security-item{padding:18px 20px;border-right:1px solid #eef0f3}.security-item:last-child{border-right:0}.security-item span{display:block;color:#667085;font-size:11px}.security-item strong{display:block;margin-top:7px;font-size:15px}.security-ok{color:#027a48}.security-warn{color:#b54708}
.network-row,.disk-row,.update-row{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;padding:13px 20px;border-bottom:1px solid #eef0f3;font-size:13px}.network-row:last-child,.disk-row:last-child,.update-row:last-child{border-bottom:0}.software-grid{display:grid;grid-template-columns:repeat(3,1fr)}.software-item{padding:13px 18px;border-right:1px solid #eef0f3;border-bottom:1px solid #eef0f3}.software-item strong{display:block;font-size:13px}.software-item small{color:#667085}.empty-state{padding:25px 20px;color:#667085}.device-link{color:#101828;text-decoration:none;font-weight:700}.device-link:hover{color:var(--blue)}
.device-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.device-status-line{display:flex;align-items:center;gap:10px}.action-btn{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}.action-btn:hover:not(:disabled){background:#f9fafb}.action-btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.action-btn.danger{border-color:#fda29b;color:#b42318}.action-btn:disabled{opacity:.45;cursor:not-allowed}
.brand-lockup .brand-logo{box-shadow:none}.login-logo{display:block;width:64px;height:64px;border-radius:16px;object-fit:contain;margin:0 auto 18px}.remote-logo{width:32px;height:32px;border-radius:8px;object-fit:contain}.remote-brand{display:flex;align-items:center;gap:10px}
.device-list{overflow:auto}.device-table{width:100%;min-width:980px;border-collapse:collapse}.device-table th{padding:12px 18px;border-bottom:1px solid var(--border);background:#fafbfc;text-transform:none;font-size:12px;color:#667085}.device-table td{padding:15px 18px;border-bottom:1px solid #eef0f3;vertical-align:middle}.device-table tr:last-child td{border-bottom:0}.device-name{display:flex;align-items:center;gap:11px}.device-icon{width:34px;height:34px;border-radius:9px;background:#f2f4f7;display:grid;place-items:center;color:#475467;font-size:16px}.device-name strong{display:block;color:#101828}.device-name small{display:block;color:#667085;margin-top:2px}.online-dot{width:7px;height:7px;border-radius:50%;background:#12b76a;display:inline-block;margin-right:7px}.status-online{color:#027a48;background:#ecfdf3}.os-cell strong{display:block}.os-cell small{display:block;color:#667085;margin-top:2px}.action-group{display:flex;gap:7px;align-items:center}.action-group .action-btn{white-space:nowrap}.icon-button{width:36px;height:36px;padding:0;border:1px solid #d0d5dd;background:#fff;color:#475467}.device-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border)}.device-search{max-width:360px}.device-filters{display:flex;gap:8px}.device-filters select{width:auto;min-width:130px}.device-tabs{display:flex;gap:8px;padding:16px 18px;border-bottom:1px solid var(--border);overflow:auto}.device-tab{border:1px solid #d0d5dd;background:#fff;color:#475467;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:650;white-space:nowrap}.device-tab.active{border-color:#84adff;background:#eff6ff;color:var(--blue)}.device-count{display:inline-flex;margin-left:6px;padding:1px 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px}.device-tab.active .device-count{background:#dbeafe;color:var(--blue)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-head h2{font-size:30px;letter-spacing:-.02em;margin:0 0 5px}.section-head p{margin:0;color:#667085}.page-actions{display:flex;gap:8px}
@media(max-width:900px){.metric-grid{grid-template-columns:1fr 1fr}.device-grid{grid-template-columns:1fr}.software-grid{grid-template-columns:1fr 1fr}.security-grid{grid-template-columns:1fr}.security-item{border-right:0;border-bottom:1px solid #eef0f3}}
@media(max-width:750px){.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.wide{grid-column:auto}.shell{padding:24px 14px}.topbar{padding:0 16px}.topbar h1{font-size:20px}#nav.toolbar{padding:8px 14px!important;overflow:auto}.section-head{align-items:flex-start;flex-direction:column}.device-toolbar{align-items:stretch;flex-direction:column}.device-search{max-width:none}.device-filters{overflow:auto}.page-actions{width:100%}}

/* Pointrus login — polished authentication surface */
.login-view{min-height:100vh;padding:32px;display:flex;align-items:center;justify-content:center;background:#f5f7fa}
.login-frame{width:min(960px,100%);min-height:570px;display:grid;grid-template-columns:40% 60%;overflow:hidden;background:#fff;border:1px solid #e3e7ee;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.09);transform:translateY(-18px)}
.login-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:32px;background:#0f172a;color:#fff;overflow:hidden}
.login-visual::after{content:"";position:absolute;right:-150px;bottom:-170px;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.16) 0,rgba(37,99,235,0) 68%)}
.login-visual-top,.login-visual-copy,.login-visual-bottom{position:relative;z-index:1}
.login-visual-top{display:flex;align-items:center;gap:10px;color:#fff;font-size:16px;font-weight:750;letter-spacing:-.02em}
.login-mark-shell{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:9px;background:#eaf2ff;border:1px solid #c9dcff;box-shadow:0 2px 7px rgba(9,30,66,.12)}
.login-mark{width:21px;height:22px;display:block;object-fit:contain}

.login-visual-copy{max-width:310px;margin:auto 0}
.login-visual-kicker,.login-kicker{display:block;font-size:10px;line-height:1.2;letter-spacing:.14em;font-weight:750}
.login-visual-kicker{color:#8ea0bb}
.login-visual-copy h2{margin:12px 0 14px;font-size:31px;line-height:1.1;letter-spacing:-.04em;font-weight:680}
.login-visual-copy h2 em{font-style:normal;color:#9ab8ff}
.login-visual-copy p{margin:0;max-width:285px;color:#aab6c9;font-size:13px;line-height:1.65}
.login-visual-bottom{display:flex;align-items:center;gap:9px;color:#91a0b5;font-size:11px}
.login-status-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.10)}
.login-panel{display:flex;align-items:center;justify-content:center;background:#fff;min-width:0}
.login-panel-inner{width:400px;max-width:calc(100% - 88px);padding:38px 0;margin:0 auto}
.login-brand-mobile{display:none}
.login-heading{margin-bottom:25px}
.login-kicker{color:#3569c8}
.login-heading h1{margin:8px 0 8px;color:#101828;font-size:28px;line-height:1.16;letter-spacing:-.035em;font-weight:680}
.login-subtitle{margin:0;color:#667085;font-size:13px;line-height:1.6;max-width:350px}
.login-panel form{padding:0}
.login-panel label{display:block;margin:0 0 17px;color:#344054;font-size:12px;font-weight:650}
.login-panel input{height:46px;margin-top:7px;padding:0 13px;border:1px solid #cfd5df;border-radius:8px;background:#fff;color:#101828;font-size:13px;box-shadow:none}
.login-panel input:hover{border-color:#aeb7c5}
.login-panel input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.login-panel input::placeholder{color:#98a2b3}
.login-panel input:-webkit-autofill,.login-panel input:-webkit-autofill:hover,.login-panel input:-webkit-autofill:focus{-webkit-text-fill-color:#101828;box-shadow:0 0 0 1000px #fff inset}
.password-field{position:relative}
.password-field input{padding-right:46px}
.password-toggle{position:absolute;right:5px;top:14px;width:34px;height:32px;padding:0;border:0;background:transparent!important;color:#98a2b3!important;box-shadow:none!important}
.password-toggle:hover{color:#475467!important}
.password-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.password-toggle.is-visible{color:#2563eb!important}
.login-options{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:1px 0 10px}
.login-panel .remember{display:flex;align-items:center;gap:7px;margin:0;color:#667085;font-size:11px;font-weight:500;white-space:nowrap}
.login-panel .remember input{width:15px;height:15px;margin:0;padding:0;accent-color:#2563eb}
.login-forgot{padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#2563eb!important;font-size:11px;font-weight:650;white-space:nowrap;box-shadow:none!important}
.login-forgot:hover{text-decoration:underline}
.login-error{min-height:17px;margin:4px 0;color:#b42318;font-size:11px}
.login-button{width:100%;height:46px;min-height:46px;margin-top:8px;border-radius:8px;font-size:13px;font-weight:700}
.login-button.primary{background:#245ed0;box-shadow:0 3px 8px rgba(36,94,208,.14)}
.login-button.primary:hover{background:#1f52b7}
.login-button.primary span{margin-left:8px;font-size:16px}
.login-footer{display:flex;align-items:center;justify-content:flex-start;gap:7px;margin-top:18px;padding-top:12px;border-top:1px solid #eef1f5;color:#8a96a8;font-size:10px;font-weight:500}
.login-footer-status{width:6px;height:6px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.08);flex:0 0 6px}
.login-two-factor,.login-reset{padding:0}
.login-two-factor .eyebrow,.login-reset .eyebrow{color:#2563eb;margin-bottom:9px}
.login-two-factor h2,.login-reset h2{margin:7px 0 8px;color:#101828;font-size:24px;line-height:1.15;letter-spacing:-.03em}
.login-two-factor label{margin-top:24px}
.login-two-factor input,.login-reset #resetCode{font-size:20px;letter-spacing:.28em;text-align:center;font-variant-numeric:tabular-nums}
.login-two-factor .secondary,.login-reset .secondary{margin-top:9px}
.login-stepper{display:flex;align-items:center;gap:7px;margin:0 0 26px}
.login-stepper span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;border:1px solid #d0d5dd;color:#667085;background:#fff;font-size:10px;font-weight:700}
.login-stepper span.active{background:#eff6ff;border-color:#93b4ff;color:#2563eb}
.login-stepper span.current{box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.login-stepper i{height:1px;flex:1;background:#e4e7ec}
.login-reset-step{animation:loginStepIn .14s ease-out}
.login-reset-success{text-align:center;padding:8px 0}
.login-success-icon{width:48px;height:48px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:#027a48;font-size:23px;font-weight:800}
@keyframes loginStepIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:800px){
.login-view{padding:20px 14px}
.login-frame{width:min(460px,100%);min-height:auto;display:block;border-radius:15px;transform:none}
.login-visual{display:none}
.login-panel-inner{width:380px;max-width:calc(100% - 48px);padding:32px 0 28px}
.login-brand-mobile{display:flex;align-items:center;gap:9px;margin-bottom:32px;color:#101828;font-size:17px;font-weight:750}
.login-brand-mobile .login-mark-shell{width:32px;height:32px;flex:0 0 32px}.login-brand-mobile .login-mark{width:21px;height:22px}
.login-heading{margin-bottom:27px}
.login-heading h1{font-size:27px}
.login-footer{margin-top:20px}
}
@media(max-width:430px){
.login-view{padding:10px}
.login-frame{border-radius:14px}
.login-panel-inner{max-width:calc(100% - 40px);padding:26px 0}
.login-brand-mobile{margin-bottom:30px}
.login-heading h1{font-size:25px}
.login-options{align-items:flex-start}
.login-panel .remember{white-space:normal}
.login-forgot{padding-top:1px!important}
}
@media(max-width:600px){.device-hero{align-items:flex-start;flex-direction:column}.device-hero-side{width:100%;justify-content:space-between}.metric-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.info-item:nth-child(odd){border-right:0}.network-row,.disk-row,.update-row{grid-template-columns:1fr}.software-grid{grid-template-columns:1fr}}
.module-shell{max-width:1280px}.module-hero{display:flex;align-items:center;gap:18px;padding:24px;margin-bottom:16px}.module-hero h3{margin:0 0 5px;font-size:18px}.module-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-size:20px}.module-list{padding:4px 0}.module-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #eef0f3}.module-row:last-child{border-bottom:0}.module-next{padding:20px}.module-next p{margin:12px 0 0}.infra-shell{max-width:1320px}.service-list{display:grid;grid-template-columns:repeat(2,1fr)}.service-row{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #eef0f3}.service-dot{width:9px;height:9px;border-radius:50%;background:#e15f5f}.service-dot.online{background:#55d98b}.service-name{font-weight:700}.service-target{font-size:12px;color:#667085}.service-state{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085}@media(max-width:800px){.service-list{grid-template-columns:1fr}}
@media(max-width:900px){#nav.toolbar{position:static;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--border);padding:8px 14px!important}.nav-inner{flex-direction:row;gap:18px;overflow:auto}.nav-group{min-width:max-content}.nav-group-label{padding-bottom:5px}.nav-group a{white-space:nowrap}.shell{margin-left:0}}


/* Dashboard */
.dashboard-shell{max-width:1440px}
.dashboard-head{margin-bottom:20px}
.dashboard-updated{font-size:12px;color:#98a2b3;align-self:center}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.dashboard-metric{background:#fff;border:1px solid var(--border);border-radius:10px;padding:18px 20px;min-height:112px}
.dashboard-metric-label{font-size:12px;font-weight:650;color:#667085;margin-bottom:10px}
.dashboard-metric strong{display:block;font-size:28px;line-height:1.1;letter-spacing:-.02em;color:#101828}
.dashboard-metric span:last-child{display:block;font-size:12px;color:#98a2b3;margin-top:7px}
.dashboard-main-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-bottom:16px}
.dashboard-bottom-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}
.dashboard-panel{min-width:0}
.panel-link{font-size:13px;font-weight:650;color:var(--blue);text-decoration:none}
.panel-link:hover{text-decoration:underline}
.health-summary{padding:22px 20px 18px;border-bottom:1px solid #eef0f3}
.health-summary-main{display:flex;align-items:center;gap:16px}
.health-score{font-size:34px;line-height:1;font-weight:750;letter-spacing:-.03em;color:#101828}
.health-score.good{color:#027a48}.health-score.warning{color:#b54708}.health-score.critical{color:#b42318}.health-score.neutral{color:#667085}
.health-bar span.good{background:#16a34a}.health-bar span.warning{background:#f79009}.health-bar span.critical{background:#dc2626}.health-bar span.neutral{background:#98a2b3}
.health-summary-main strong{display:block;font-size:14px}
.health-summary-main .muted{display:block;font-size:12px;margin-top:3px}
.health-bar{height:5px;background:#eef2f6;border-radius:999px;overflow:hidden;margin-top:18px}
.health-bar span{display:block;height:100%;width:0;background:#16a34a;border-radius:inherit;transition:width .25s ease}
.dashboard-list-row{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;border-bottom:1px solid #eef0f3;font-size:13px}
.dashboard-list-row:last-child{border-bottom:0}
.status-online{color:#027a48}
.status-warning{color:#b54708}
.status-neutral{color:#667085}
.dashboard-empty,.dashboard-loading{padding:28px 20px;color:#667085;font-size:13px}
.platform-summary{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #eef0f3}
.platform-summary strong{display:block;font-size:24px;color:#101828}
.platform-summary span:not(.dashboard-status){display:block;font-size:12px;color:#667085;margin-top:2px}
.platform-row{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:11px;padding:12px 20px;border-bottom:1px solid #eef0f3}
.platform-row:last-child{border-bottom:0}
.platform-row strong{display:block;font-size:13px}
.platform-row small{display:block;color:#98a2b3;font-size:11px;margin-top:2px}
.platform-row>span:last-child{font-size:11px;color:#667085;text-transform:uppercase;letter-spacing:.04em}
.service-dot{width:8px;height:8px;border-radius:50%;background:#98a2b3}
.service-dot.online{background:#12b76a}
.dashboard-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:#667085}
.dashboard-status span{width:7px;height:7px;border-radius:50%;background:#98a2b3}
.dashboard-status.online{color:#027a48}
.dashboard-status.online span{background:#12b76a}
.dashboard-status.stale{color:#b54708}
.dashboard-status.stale span{background:#f79009}
.dashboard-table-wrap{overflow:auto}
.dashboard-table{width:100%;border-collapse:collapse}
.dashboard-table th,.dashboard-table td{padding:12px 18px;border-bottom:1px solid #eef0f3;text-align:left}
.dashboard-table th{font-size:11px;color:#667085;font-weight:650}
.dashboard-table td{font-size:13px}
.dashboard-table tr:last-child td{border-bottom:0}
.dashboard-table a{text-decoration:none;color:#101828}
.dashboard-table a:hover{color:var(--blue)}
.dashboard-table td strong{display:block}
.dashboard-table td small{display:block;color:#98a2b3;font-size:11px;margin-top:2px}
.inventory-status{padding:22px 20px}
.inventory-total{padding-bottom:20px;border-bottom:1px solid #eef0f3}
.inventory-total strong{display:block;font-size:32px;line-height:1;color:#101828}
.inventory-total span{display:block;color:#667085;font-size:12px;margin-top:5px}
.inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);padding-top:18px}
.inventory-grid div{padding-right:12px;border-right:1px solid #eef0f3}
.inventory-grid div+div{padding-left:16px}
.inventory-grid div:last-child{border-right:0}
.inventory-grid strong{display:block;font-size:20px;color:#101828}
.inventory-grid span{display:block;font-size:11px;color:#667085;margin-top:3px}
.dashboard-security{min-height:205px}
.security-summary{display:flex;justify-content:space-between;align-items:center;padding:22px 20px;border-bottom:1px solid #eef0f3}
.security-summary strong{display:block;font-size:20px;color:#101828}
.security-summary span:not(.dashboard-status){display:block;font-size:12px;color:#667085;margin-top:4px}
.security-dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 20px 14px}
.security-dashboard-grid>div{padding-right:14px;border-right:1px solid #eef0f3}
.security-dashboard-grid>div+div{padding-left:14px}
.security-dashboard-grid>div:last-child{border-right:0}
.security-dashboard-grid strong{display:block;font-size:22px}
.security-dashboard-grid span{display:block;margin-top:3px;font-size:11px;color:#667085}
.security-good{color:#027a48}.security-warning{color:#b54708}.security-neutral{color:#667085}
.security-dashboard-note{padding:0 20px 18px;font-size:11px;color:#98a2b3;line-height:1.5}

/* Pointrus foundation v1 — global visual tokens */
:root{
  --font-ui:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-size-xs:11px;
  --font-size-sm:13px;
  --font-size-md:14px;
  --font-size-lg:16px;
  --font-size-xl:20px;
  --font-size-2xl:28px;
  --text-strong:#101828;
  --text-default:#344054;
  --text-muted:#667085;
  --text-subtle:#98a2b3;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --surface-hover:#f2f4f7;
  --line:#e4e7ec;
  --line-soft:#eef1f5;
  --brand:#2563eb;
  --brand-hover:#1d4ed8;
  --brand-soft:#eff6ff;
  --success:#12b76a;
  --success-soft:#ecfdf3;
  --warning:#f79009;
  --warning-soft:#fffaeb;
  --danger:#d92d20;
  --danger-soft:#fef3f2;
  --radius-sm:8px;
  --radius-md:10px;
  --radius-lg:12px;
  --shadow-sm:0 1px 2px rgba(16,24,40,.04);
  --shadow-md:0 6px 18px rgba(16,24,40,.06);
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:32px;
}
html,body{font-family:var(--font-ui)}
body{background:var(--surface-soft);color:var(--text-default)}
button,.button,.action-btn,input,select,textarea{font-family:var(--font-ui)}
h1,h2,h3,h4,h5,h6{color:var(--text-strong);letter-spacing:-.02em}
.panel{border-color:var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.panel:hover{border-color:#d0d5dd;box-shadow:var(--shadow-md)}
th{color:var(--text-muted)}
td{color:var(--text-default)}
input,select,textarea{border-color:#d0d5dd;border-radius:var(--radius-sm)}
button,.button,.action-btn{border-radius:var(--radius-sm)}
.primary,.action-btn.primary{background:var(--brand)}
.primary:hover,.action-btn.primary:hover:not(:disabled),button:hover{background:var(--brand-hover)}
.secondary,.action-btn{border-color:#d0d5dd}


@media(max-width:1050px){
  .dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
  .dashboard-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .dashboard-metrics{grid-template-columns:1fr}
  .dashboard-head{align-items:flex-start}
  .dashboard-updated{display:none}
  .inventory-grid{grid-template-columns:1fr}
  .inventory-grid div,.inventory-grid div+div{padding:10px 0;border-right:0;border-bottom:1px solid #eef0f3}
  .inventory-grid div:last-child{border-bottom:0}
}

/* Settings */
.settings-shell{max-width:1280px}
.settings-hero{display:flex;align-items:center;gap:14px;padding:4px 0 24px}
.settings-brand-mark{width:44px;height:44px;border-radius:10px;overflow:hidden;flex:0 0 auto}
.settings-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.settings-hero h2{margin:0;font-size:28px;letter-spacing:-.025em}
.settings-hero p{margin:4px 0 0;color:#667085;font-size:13px}
.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:start}
.settings-index{position:sticky;top:86px;padding-top:3px}
.settings-index-label{font-size:10px;font-weight:750;letter-spacing:.1em;color:#98a2b3;padding:0 10px 8px}
.settings-index a{display:block;text-decoration:none;color:#475467;font-size:13px;font-weight:600;padding:8px 10px;border-radius:7px;margin-bottom:2px}
.settings-index a:hover{background:#f2f4f7;color:#101828}
.settings-index a.active{background:#eff6ff;color:#2563eb}
.settings-content{display:flex;flex-direction:column;gap:14px;min-width:0}
.settings-card{overflow:hidden}
.settings-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;border-bottom:1px solid #eef0f3}
.settings-card-head h3{margin:0;font-size:15px;color:#101828}
.settings-card-head p{margin:4px 0 0;color:#667085;font-size:12px}
.settings-status{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#027a48;font-size:11px;font-weight:700}
.settings-status.neutral{background:#f2f4f7;color:#667085}
.settings-detail-grid{display:grid;grid-template-columns:repeat(2,1fr)}
.settings-detail-grid>div{padding:14px 22px;border-bottom:1px solid #eef0f3}
.settings-detail-grid>div:nth-child(odd){border-right:1px solid #eef0f3}
.settings-detail-grid span{display:block;font-size:11px;color:#667085}
.settings-detail-grid strong{display:block;margin-top:4px;font-size:13px;color:#101828}
.settings-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:16px 22px}
.settings-inline{display:grid;grid-template-columns:220px 1fr;gap:24px;padding:20px 22px;background:#fafbfc;border-top:1px solid #eef0f3}
.settings-qr{display:grid;place-items:center;min-height:190px;background:#fff;border:1px solid var(--border);border-radius:8px}
.settings-qr img{max-width:180px;width:100%;padding:12px}
.settings-setup-copy{max-width:520px}
.settings-setup-copy>strong{display:block;margin:8px 0 5px}
.settings-setup-copy>p{font-size:12px;margin:0 0 15px;word-break:break-all}
.settings-setup-copy label{display:block;font-size:12px;font-weight:650;color:#475467;max-width:280px}
.settings-setup-copy input{margin-top:6px}
.settings-setup-copy button{margin-top:10px}
.settings-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 22px}
.settings-form-grid label{display:block;font-size:12px;font-weight:650;color:#475467}
.settings-form-grid input{margin-top:6px}
.settings-list{overflow:auto}
.settings-list .list-row{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:16px;align-items:center;padding:13px 22px;border-bottom:1px solid #eef0f3;font-size:12px;color:#475467}
.settings-list .list-row:last-child{border-bottom:0}
.settings-list .list-row strong{color:#101828;font-size:12px}
.settings-list .list-row small{color:#667085;font-weight:400}
.settings-list .list-row button{padding:5px 8px;font-size:11px}
.settings-note{padding:18px 22px;margin:0;color:#667085;font-size:12px;line-height:1.6}
.recovery-box{margin:0 22px 20px;padding:16px;background:#101828;color:#fff;border-radius:8px;overflow:auto;font-size:12px}
@media(max-width:850px){
  .settings-layout{grid-template-columns:1fr;gap:14px}
  .settings-index{position:static;display:flex;gap:4px;overflow:auto;padding:0 0 4px;border-bottom:1px solid var(--border)}
  .settings-index-label{display:none}
  .settings-index a{white-space:nowrap;margin:0}
}
@media(max-width:600px){
  .settings-hero{padding-bottom:18px}
  .settings-hero h2{font-size:24px}
  .settings-detail-grid,.settings-form-grid{grid-template-columns:1fr}
  .settings-detail-grid>div:nth-child(odd){border-right:0}
  .settings-inline{grid-template-columns:1fr}
  .settings-list .list-row{grid-template-columns:1fr;gap:5px}
  .settings-card-head{padding:17px}
  .settings-actions,.settings-form-grid,.settings-inline{padding:16px 17px}
}
/* Login typography + spacing v2 */
body[data-page="login"] .login-view{background:#f4f6fa;padding:24px}
body[data-page="login"] .login-frame{width:min(980px,100%);min-height:590px;border-radius:14px;border-color:#dde3ec;box-shadow:0 18px 46px rgba(16,24,40,.08)}
body[data-page="login"] .login-visual{padding:30px}
body[data-page="login"] .login-visual-copy h2{font-size:30px;line-height:1.08}
body[data-page="login"] .login-visual-copy p{font-size:12px;line-height:1.6}
body[data-page="login"] .login-panel-inner{width:390px;max-width:calc(100% - 84px);padding:36px 0}
body[data-page="login"] .login-heading{margin-bottom:23px}
body[data-page="login"] .login-heading h1{font-size:27px;line-height:1.18}
body[data-page="login"] .login-subtitle{font-size:12px;line-height:1.55}
body[data-page="login"] .login-panel label{font-size:11px;margin-bottom:15px}
body[data-page="login"] .login-panel input{height:44px;font-size:12px;margin-top:6px}
body[data-page="login"] .login-button{height:44px;min-height:44px;font-size:12px}
body[data-page="login"] .login-footer{font-size:9px;margin-top:17px;padding-top:11px}
body[data-page="login"] .login-two-factor h2,
body[data-page="login"] .login-reset h2{font-size:22px}
body[data-page="login"] .login-two-factor label{margin-top:21px}
body[data-page="login"] .login-stepper{margin-bottom:22px}
@media(max-width:720px){
  body[data-page="login"] .login-view{padding:16px 12px}
  body[data-page="login"] .login-frame{width:min(460px,100%);min-height:auto}
  body[data-page="login"] .login-panel-inner{max-width:calc(100% - 44px);padding:30px 0 26px}
}
@media(max-width:480px){
  body[data-page="login"] .login-view{padding:10px}
  body[data-page="login"] .login-panel-inner{max-width:calc(100% - 36px);padding:26px 0 24px}
  body[data-page="login"] .login-brand-mobile{margin-bottom:27px}
  body[data-page="login"] .login-heading{margin-bottom:23px}
  body[data-page="login"] .login-heading h1{font-size:24px}
  body[data-page="login"] .login-options{gap:10px}
}

/* Pointrus design-system layer */
:root{color-scheme:light;--surface-0:#f7f9fc;--surface-1:#fff;--surface-2:#f8fafc;--surface-3:#f2f4f7;--line:#e4e7ec;--line-strong:#d0d5dd;--text-strong:#101828;--focus:#84adff;--shadow-sm:0 1px 2px rgba(16,24,40,.04);--shadow-md:0 8px 24px rgba(16,24,40,.08);--radius-sm:8px;--radius-md:12px;--radius-lg:16px}
:root[data-theme="dark"]{color-scheme:dark;--surface-0:#0b1018;--surface-1:#111827;--surface-2:#17202d;--surface-3:#202a38;--line:#263244;--line-strong:#344054;--text-strong:#f2f4f7;--text:#e4e7ec;--muted:#98a2b3;--blue-soft:#132b57;--green-soft:#0d2b1d;--shadow-sm:0 1px 2px rgba(0,0,0,.2);--shadow-md:0 12px 32px rgba(0,0,0,.28)}
html{background:var(--surface-0);transition:background-color .18s ease,color .18s ease}body{background:var(--surface-0);color:var(--text)}
.topbar,#nav.toolbar,.panel,.stats article,.metric-card,.dashboard-metric,.login-card,dialog,.secondary,.action-btn,.icon-button,.device-tab,.device-table th,input,select,textarea{background:var(--surface-1);color:var(--text);border-color:var(--line)}
.topbar,#nav.toolbar{box-shadow:var(--shadow-sm)}.panel:hover{border-color:var(--line-strong);box-shadow:var(--shadow-md)}
.brand-name,.dashboard-metric strong,.device-name strong,.device-link,.dashboard-table a,.inventory-total strong,.inventory-grid strong,.platform-summary strong,.security-summary strong,.health-score,.device-hero h2,.metric-card strong{color:var(--text-strong)}
.nav-group a{color:var(--muted)}.nav-group a:hover{background:var(--surface-3);color:var(--text-strong)}.nav-group a.active{background:var(--blue-soft);color:#60a5fa}.nav-group-label,th,.dashboard-table th,.dashboard-metric-label{color:var(--muted)}
input::placeholder,textarea::placeholder{color:#98a2b3}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 35%,transparent);outline-offset:2px}
.secondary:hover,.action-btn:hover:not(:disabled),.device-tab:hover,.icon-button:hover{background:var(--surface-2);border-color:var(--line-strong)}
.theme-toggle{width:36px;height:36px;padding:0}.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.table-wrap,.device-list,.dashboard-table-wrap{scrollbar-color:var(--line-strong) transparent}th{background:var(--surface-2)}
.device-table th{background:var(--surface-2);color:var(--muted);border-color:var(--line)}th,td,.device-table td,.dashboard-table th,.dashboard-table td,.dashboard-list-row,.platform-row,.service-row,.info-item,.security-item,.network-row,.disk-row,.update-row,.software-item{border-color:var(--line)}
.empty,.empty-state,.dashboard-empty,.dashboard-loading{color:var(--muted)}.status-online{background:var(--green-soft);color:#34d399}.status-badge.online{background:var(--green-soft);color:#34d399}.status-badge{background:#3a1d24;color:#fda4af}.pill{background:var(--surface-3);color:var(--muted)}
.device-icon,.module-icon{background:var(--blue-soft);color:#60a5fa;border-color:var(--line)}.security-ok,.security-good{color:#34d399}.security-warn,.security-warning{color:#fbbf24}.security-neutral{color:var(--muted)}
@media(max-width:750px){.topbar{height:58px}.topbar .brand-context{display:none}.brand-lockup{min-width:0}#userArea{display:flex;gap:6px}.top-actions{gap:6px}.top-actions .secondary{padding:8px 10px}.nav-inner{padding-bottom:2px}.nav-group-label{font-size:9px}.nav-group a{padding:9px 10px}}
@media(max-width:480px){.shell{padding:18px 12px 40px}.topbar{padding:0 12px}.brand-name{font-size:14px}.brand-logo{width:30px;height:30px}.section-head h2{font-size:25px}.dashboard-metrics,.stats{gap:8px}.dashboard-metric{padding:15px}.dashboard-metric strong{font-size:24px}}

/* Dashboard typography + spacing v1 */
.dashboard-shell{padding-top:30px}
.dashboard-head{margin-bottom:24px}
.dashboard-head h2{font-size:28px;line-height:1.2;margin:0 0 6px;font-weight:700}
.dashboard-head p{font-size:13px;line-height:1.55;color:var(--text-muted)}
.dashboard-metrics{gap:14px;margin-bottom:18px}
.dashboard-metric{padding:18px 20px;min-height:108px;border-radius:var(--radius-md)}
.dashboard-metric-label{font-size:11px;line-height:1.3;letter-spacing:.01em;margin-bottom:11px}
.dashboard-metric strong{font-size:27px;line-height:1.05;font-weight:700}
.dashboard-metric span:last-child{font-size:11px;line-height:1.4;margin-top:8px}
.dashboard-main-grid,.dashboard-bottom-grid{gap:18px}
.dashboard-main-grid{margin-bottom:18px}
.dashboard-panel .panel-heading{padding:17px 20px}
.dashboard-panel .panel-heading h3{font-size:14px;line-height:1.3;margin:0 0 4px;font-weight:700}
.dashboard-panel .panel-heading p{font-size:11px;line-height:1.45;color:var(--text-muted)}
.panel-link{font-size:12px;line-height:1.3}
.health-summary{padding:20px;border-bottom:1px solid var(--line-soft)}
.health-summary-main{gap:14px}
.health-score{font-size:32px}
.health-summary-main strong{font-size:13px}
.health-summary-main .muted{font-size:11px;line-height:1.45;margin-top:4px}
.health-bar{margin-top:16px}
.dashboard-list-row{padding:12px 20px;font-size:12px}
.dashboard-table th,.dashboard-table td{padding:11px 18px}
.dashboard-table th{font-size:10px;letter-spacing:.02em}
.dashboard-table td{font-size:12px}
.inventory-status{padding:20px}
.inventory-total{padding-bottom:18px}
.inventory-total strong{font-size:30px}
.inventory-total span{font-size:11px}
.inventory-grid{padding-top:16px}
.inventory-grid strong{font-size:19px}
.inventory-grid span{font-size:10px}
.security-summary{padding:20px}
.security-summary strong{font-size:19px}
.security-summary span:not(.dashboard-status){font-size:11px}
.security-dashboard-grid{padding:16px 20px 12px}
.security-dashboard-grid strong{font-size:21px}
.security-dashboard-grid span{font-size:10px}

@media(max-width:600px){
  .dashboard-shell{padding-top:20px}
  .dashboard-head{margin-bottom:18px}
  .dashboard-head h2{font-size:25px}
  .dashboard-main-grid,.dashboard-bottom-grid{gap:12px}
}

/* Module workspace typography + spacing v1 */
body[data-page="module"] .module-shell{max-width:1180px}
body[data-page="module"] .section-head{margin-bottom:18px}
body[data-page="module"] .section-head h2{font-size:25px;line-height:1.2;letter-spacing:-.02em}
body[data-page="module"] .section-head p{font-size:11px;line-height:1.45;margin-top:4px}
body[data-page="module"] .page-actions .button{font-size:11px}
body[data-page="module"] .module-hero{padding:17px 18px;margin-bottom:14px;gap:14px}
body[data-page="module"] .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
body[data-page="module"] .module-hero h3{font-size:14px;line-height:1.3;margin:0 0 3px}
body[data-page="module"] .module-hero p{font-size:11px;line-height:1.5}
body[data-page="module"] .module-metrics{gap:12px;margin-bottom:14px}
body[data-page="module"] .module-metrics .metric-card{padding:14px 16px;min-height:82px}
body[data-page="module"] .module-metrics .metric-card span{font-size:10px;line-height:1.3}
body[data-page="module"] .module-metrics .metric-card strong{font-size:22px;line-height:1.1;margin:5px 0 3px}
body[data-page="module"] .module-metrics .metric-card small{font-size:10px;line-height:1.4}
body[data-page="module"] .device-grid{gap:14px}
body[data-page="module"] .info-panel{min-width:0;margin-bottom:0}
body[data-page="module"] .panel-heading{padding:14px 17px;min-height:52px;align-items:center}
body[data-page="module"] .panel-heading h3{font-size:13px;line-height:1.3}
body[data-page="module"] .panel-heading p{font-size:10px;line-height:1.4}
body[data-page="module"] .module-list{padding:1px 0}
body[data-page="module"] .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 17px}
body[data-page="module"] .module-row strong{font-size:11px;line-height:1.35;color:var(--text-strong)}
body[data-page="module"] .module-row small{font-size:9px;line-height:1.4}
body[data-page="module"] .module-row .pill{font-size:9px;line-height:1.2;padding:4px 7px;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="module"] .module-next{padding:14px 17px}
body[data-page="module"] .module-next p{font-size:10px;line-height:1.55;margin:9px 0 0}

@media(max-width:900px){
  body[data-page="module"] .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  body[data-page="module"] .section-head{margin-bottom:15px}
  body[data-page="module"] .section-head h2{font-size:23px}
  body[data-page="module"] .section-head .page-actions{display:none}
  body[data-page="module"] .module-hero{padding:14px}
  body[data-page="module"] .module-metrics{grid-template-columns:1fr 1fr;gap:9px}
  body[data-page="module"] .module-metrics .metric-card{padding:13px 14px;min-height:76px}
  body[data-page="module"] .module-metrics .metric-card strong{font-size:20px}
  body[data-page="module"] .module-row{grid-template-columns:1fr;gap:6px;padding:10px 14px}
  body[data-page="module"] .module-row .pill{max-width:none;justify-self:start}
}

/* Settings typography + spacing v1 */
body[data-page="settings"] .settings-shell{max-width:1160px}
body[data-page="settings"] .settings-hero{padding:2px 0 20px}
body[data-page="settings"] .settings-hero h2{font-size:25px;line-height:1.2;letter-spacing:-.02em}
body[data-page="settings"] .settings-hero p{font-size:11px;line-height:1.45;margin-top:5px}
body[data-page="settings"] .settings-layout{grid-template-columns:170px minmax(0,1fr);gap:22px}
body[data-page="settings"] .settings-index{top:82px}
body[data-page="settings"] .settings-index-label{font-size:9px;padding:0 9px 7px}
body[data-page="settings"] .settings-index a{font-size:11px;padding:7px 9px}
body[data-page="settings"] .settings-content{gap:12px}
body[data-page="settings"] .settings-card-head{padding:14px 17px;gap:14px;min-height:52px;align-items:center}
body[data-page="settings"] .settings-card-head h3{font-size:13px;line-height:1.35}
body[data-page="settings"] .settings-card-head p{font-size:10px;line-height:1.4;margin-top:3px}
body[data-page="settings"] .settings-status{padding:4px 7px;font-size:9px}
body[data-page="settings"] .settings-detail-grid>div{padding:11px 17px}
body[data-page="settings"] .settings-detail-grid span{font-size:9px}
body[data-page="settings"] .settings-detail-grid strong{font-size:12px;margin-top:3px}
body[data-page="settings"] .settings-actions{padding:12px 17px;gap:7px}
body[data-page="settings"] .settings-actions button{font-size:11px}
body[data-page="settings"] .settings-inline{grid-template-columns:190px 1fr;gap:20px;padding:17px}
body[data-page="settings"] .settings-qr{min-height:170px}
body[data-page="settings"] .settings-qr img{max-width:155px}
body[data-page="settings"] .settings-setup-copy>strong{font-size:12px;margin:5px 0 4px}
body[data-page="settings"] .settings-setup-copy>p{font-size:10px;margin-bottom:12px}
body[data-page="settings"] .settings-setup-copy label{font-size:10px}
body[data-page="settings"] .settings-form-grid{gap:12px;padding:16px 17px}
body[data-page="settings"] .settings-form-grid label{font-size:10px}
body[data-page="settings"] .settings-list .list-row{grid-template-columns:1.3fr 1fr 1fr auto;gap:12px;padding:10px 17px;font-size:10px;line-height:1.35}
body[data-page="settings"] .settings-list .list-row strong{font-size:11px}
body[data-page="settings"] .settings-list .list-row small{font-size:9px}
body[data-page="settings"] .settings-list .list-row button{font-size:9px;padding:4px 7px}
body[data-page="settings"] .settings-note{padding:14px 17px;font-size:10px;line-height:1.55}
body[data-page="settings"] .recovery-box{margin:0 17px 15px;padding:13px;font-size:10px}

@media(max-width:850px){
  body[data-page="settings"] .settings-layout{grid-template-columns:1fr;gap:12px}
  body[data-page="settings"] .settings-index{position:static}
}
@media(max-width:600px){
  body[data-page="settings"] .settings-hero{padding-bottom:16px}
  body[data-page="settings"] .settings-hero h2{font-size:23px}
  body[data-page="settings"] .settings-layout{gap:10px}
  body[data-page="settings"] .settings-card-head{padding:13px 14px}
  body[data-page="settings"] .settings-detail-grid>div{padding:10px 14px}
  body[data-page="settings"] .settings-actions,
  body[data-page="settings"] .settings-form-grid,
  body[data-page="settings"] .settings-inline{padding:13px 14px}
  body[data-page="settings"] .settings-inline{grid-template-columns:1fr}
  body[data-page="settings"] .settings-list .list-row{grid-template-columns:1fr;gap:4px;padding:10px 14px}
  body[data-page="settings"] .recovery-box{margin:0 14px 13px}
}

/* Infrastructure typography + spacing v1 */
body[data-page="infrastructure"] .infra-shell{max-width:1180px}
body[data-page="infrastructure"] .metric-grid{gap:12px;margin-bottom:14px}
body[data-page="infrastructure"] .metric-card{padding:15px 17px;min-height:82px;border-radius:10px}
body[data-page="infrastructure"] .metric-card span{font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}
body[data-page="infrastructure"] .metric-card strong{font-size:23px;line-height:1.1;margin:6px 0 3px}
body[data-page="infrastructure"] .metric-card small{font-size:10px;line-height:1.35}
body[data-page="infrastructure"] .info-panel{margin-bottom:14px}
body[data-page="infrastructure"] .panel-heading{padding:14px 17px;min-height:54px;align-items:center}
body[data-page="infrastructure"] .panel-heading h3{font-size:14px;line-height:1.3}
body[data-page="infrastructure"] .panel-heading p{font-size:10px;line-height:1.4}
body[data-page="infrastructure"] #infraRefresh{font-size:10px;white-space:nowrap}
body[data-page="infrastructure"] .service-list{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page="infrastructure"] .service-row{gap:10px;padding:11px 17px;min-height:58px}
body[data-page="infrastructure"] .service-name{font-size:12px;line-height:1.35}
body[data-page="infrastructure"] .service-target{font-size:10px;line-height:1.35;margin-top:2px}
body[data-page="infrastructure"] .service-state{font-size:9px;font-weight:700;letter-spacing:.06em}
body[data-page="infrastructure"] .info-grid{grid-template-columns:1fr 1fr}
body[data-page="infrastructure"] .info-item{padding:11px 17px}
body[data-page="infrastructure"] .info-item span{font-size:9px;line-height:1.3}
body[data-page="infrastructure"] .info-item strong{font-size:12px;line-height:1.4;margin-top:3px}
body[data-page="infrastructure"] .disk-list{padding:1px 0}
body[data-page="infrastructure"] .disk-row{padding:12px 17px;gap:12px;font-size:11px}
body[data-page="infrastructure"] .disk-row strong{font-size:11px;line-height:1.35}
body[data-page="infrastructure"] .disk-row span{font-size:10px;color:var(--muted);white-space:nowrap}

@media(max-width:900px){
  body[data-page="infrastructure"] .service-list{grid-template-columns:1fr}
}
@media(max-width:600px){
  body[data-page="infrastructure"] .metric-grid{grid-template-columns:1fr 1fr;gap:9px}
  body[data-page="infrastructure"] .metric-card{padding:13px 14px;min-height:78px}
  body[data-page="infrastructure"] .metric-card strong{font-size:21px}
  body[data-page="infrastructure"] .device-grid{gap:12px}
  body[data-page="infrastructure"] .panel-heading{padding:13px 14px}
  body[data-page="infrastructure"] .info-grid{grid-template-columns:1fr}
  body[data-page="infrastructure"] .info-item{padding:10px 14px}
  body[data-page="infrastructure"] .disk-row{padding:11px 14px;grid-template-columns:1fr}
  body[data-page="infrastructure"] .disk-row span{white-space:normal}
}

/* Asset detail typography + spacing v1 */
body[data-page="asset"] .shell{max-width:980px}
body[data-page="asset"] .panel{padding:0}
body[data-page="asset"] #assetTitle{margin:0;padding:20px 22px 6px;font-size:24px;line-height:1.2;letter-spacing:-.025em}
body[data-page="asset"] #assetTitle:after{content:"Inventory record";display:block;margin-top:5px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body[data-page="asset"] #assetDetails{display:grid;grid-template-columns:1fr 1fr;margin-top:8px;border-top:1px solid var(--line)}
body[data-page="asset"] #assetDetails>div{padding:13px 22px;border-bottom:1px solid var(--line);min-width:0}
body[data-page="asset"] #assetDetails>div:nth-child(odd){border-right:1px solid var(--line)}
body[data-page="asset"] #assetDetails .muted{display:block;font-size:10px;line-height:1.3;margin-bottom:4px}
body[data-page="asset"] #assetDetails strong{display:block;font-size:12px;line-height:1.45;color:var(--text-strong);word-break:break-word}
body[data-page="asset"] .panel>p{margin:0;padding:13px 22px;font-size:11px;border-top:1px solid var(--line)}
body[data-page="asset"] .panel>p a{font-weight:650;text-decoration:none}
body[data-page="asset"] .panel>p a:hover{text-decoration:underline}

@media(max-width:600px){
  body[data-page="asset"] .shell{padding-top:18px}
  body[data-page="asset"] #assetTitle{padding:17px 15px 5px;font-size:22px}
  body[data-page="asset"] #assetDetails{grid-template-columns:1fr}
  body[data-page="asset"] #assetDetails>div{padding:11px 15px}
  body[data-page="asset"] #assetDetails>div:nth-child(odd){border-right:0}
  body[data-page="asset"] .panel>p{padding:12px 15px}
}

/* Assets typography + spacing v1 */
body[data-page="assets"] .stats{gap:12px;margin-bottom:14px}
body[data-page="assets"] .stats article{padding:15px 17px;border-radius:10px;min-height:86px}
body[data-page="assets"] .stats span{font-size:10px;line-height:1.3}
body[data-page="assets"] .stats strong{font-size:24px;line-height:1.1;margin-top:6px}
body[data-page="assets"] .panel>.toolbar{padding:13px 16px}
body[data-page="assets"] #search{height:38px;max-width:380px;font-size:13px}
body[data-page="assets"] .table-wrap{border-top:0}
body[data-page="assets"] table{min-width:780px}
body[data-page="assets"] th{padding:10px 16px;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
body[data-page="assets"] td{padding:12px 16px;font-size:12px;line-height:1.4}
body[data-page="assets"] .asset-name{font-size:12px;line-height:1.35}
body[data-page="assets"] .muted{font-size:10px}
body[data-page="assets"] .pill{font-size:10px;padding:4px 8px}
body[data-page="assets"] .empty{padding:34px 20px;font-size:12px}

@media(max-width:750px){
  body[data-page="assets"] .stats{gap:9px}
  body[data-page="assets"] .stats article{padding:13px 14px;min-height:78px}
  body[data-page="assets"] .stats strong{font-size:22px}
  body[data-page="assets"] .panel>.toolbar{padding:12px}
  body[data-page="assets"] #search{max-width:none}
  body[data-page="assets"] table{min-width:740px}
}
@media(max-width:480px){
  body[data-page="assets"] .stats{grid-template-columns:1fr 1fr}
  body[data-page="assets"] .stats article{padding:12px}
  body[data-page="assets"] td{padding:11px 13px}
}

/* Device detail typography + spacing v1 */
.device-shell{max-width:1360px}
.device-loading{padding:36px 24px;font-size:13px}
.device-hero{padding:20px 22px;gap:18px;margin-bottom:14px}
.device-hero-main,.device-hero-side{gap:13px}
.device-avatar{width:48px;height:48px;border-radius:11px;font-size:13px}
.device-hero .eyebrow{font-size:10px;letter-spacing:.12em}
.device-hero h2{font-size:24px;line-height:1.2;margin:3px 0 4px}
.device-hero .muted{font-size:11px;line-height:1.4}
.device-actions{gap:7px}
.action-btn{padding:8px 11px;font-size:11px;border-radius:7px}
.device-status-line{gap:8px}
.status-badge{padding:5px 9px;font-size:11px}
.metric-grid{gap:12px;margin-bottom:14px}
.metric-card{padding:15px 17px;border-radius:10px}
.metric-card span{font-size:10px;line-height:1.3}
.metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.metric-card small{font-size:10px;line-height:1.4}
.device-grid{gap:14px;margin-bottom:14px}
.info-panel{margin-bottom:14px}
.device-grid .info-panel{margin-bottom:0}
.panel-heading{padding:14px 18px}
.panel-heading h3{font-size:14px;line-height:1.3;margin:0 0 3px}
.panel-heading p{font-size:11px;line-height:1.4}
.info-item{padding:11px 18px}
.info-item span,.security-item span{font-size:10px;line-height:1.3}
.info-item strong{font-size:12px;line-height:1.4;margin-top:3px}
.security-item{padding:14px 18px}
.security-item strong{font-size:13px;margin-top:5px}
.network-row,.disk-row,.update-row{grid-template-columns:1.5fr 1fr 1fr;gap:14px;padding:11px 18px;font-size:11px;line-height:1.4}
.software-grid{grid-template-columns:repeat(3,1fr)}
.software-item{padding:11px 15px}
.software-item strong{font-size:11px;line-height:1.35}
.software-item small{font-size:10px;line-height:1.4}
.empty-state{padding:22px 18px;font-size:11px}

@media(max-width:900px){
  .device-hero{align-items:flex-start}
  .device-hero-side{flex-wrap:wrap}
}
@media(max-width:600px){
  .device-hero{padding:17px 15px}
  .device-hero-side{align-items:flex-start;flex-direction:column}
  .device-actions{width:100%}
  .device-actions .action-btn{flex:1}
  .device-status-line{width:100%;justify-content:space-between}
  .metric-grid{gap:9px}
  .metric-card{padding:14px}
  .panel-heading{padding:13px 15px}
  .info-item{padding:10px 15px}
  .security-item{padding:12px 15px}
  .network-row,.disk-row,.update-row{padding:10px 15px}
}

/* Devices typography + spacing v1 */
.devices-page .section-head{margin-bottom:18px}
.device-tabs{gap:6px;padding:0 0 14px}
.device-tab{padding:7px 11px;border-radius:8px;font-size:12px;line-height:1.35}
.device-count{margin-left:5px;padding:1px 6px;font-size:10px;font-variant-numeric:tabular-nums}
.device-toolbar{gap:10px;padding:13px 16px}
.device-search{height:38px;font-size:13px}
.device-filters{gap:7px}
.device-filters select{min-width:118px;height:38px;font-size:12px}
.device-table{min-width:940px}
.device-table th{padding:10px 16px;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.device-table td{padding:12px 16px;font-size:12px}.device-table td.device-metric{min-width:76px}.device-metric-value{display:block;font-variant-numeric:tabular-nums;font-weight:700;color:var(--text)}.device-meter{display:block;height:4px;margin-top:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}.device-meter i{display:block;height:100%;border-radius:inherit;background:var(--blue)}.device-user{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device-name{gap:10px}
.device-icon{width:32px;height:32px;border-radius:8px;font-size:14px}
.device-name strong{font-size:12px;line-height:1.35}
.device-name small,.os-cell small{font-size:10px;line-height:1.4}
.os-cell strong{font-size:11px;line-height:1.35}
.action-group{gap:6px}
.action-group .action-btn{font-size:11px;padding:6px 9px}
.device-list{border-top:0}
.device-toolbar + .device-list{}
.device-toolbar:last-child{padding:11px 16px}
.device-toolbar:last-child .muted{font-size:11px}
#enrollBox{margin-top:14px!important}
#enrollBox .panel-heading{padding:15px 18px}
#enrollBox>div:last-child{padding:16px 18px!important}
#enrollBox code{font-size:11px}

@media(max-width:750px){
  .device-tabs{padding-bottom:12px}
  .device-toolbar{padding:12px}
  .device-filters{gap:7px}
  .device-filters select{min-width:0;flex:1}
  .device-table{min-width:880px}
}
@media(max-width:480px){
  .device-tab{padding:7px 10px}
  .device-filters{display:grid;grid-template-columns:1fr 1fr}
  .device-filters select:last-child{grid-column:1/-1}
  .device-table td{padding:11px 13px}
}

/* Audit log typography + spacing v1 */
.module-audit .module-shell{max-width:1320px}
.module-audit .section-head{margin-bottom:22px}
.module-audit .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-audit .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-audit .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-audit .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-audit .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-audit .module-hero p{font-size:12px;line-height:1.5}
.module-audit .module-metrics{gap:12px;margin-bottom:14px}
.module-audit .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-audit .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-audit .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-audit .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-audit .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-audit .info-panel{min-width:0}
.module-audit .panel-heading{padding:15px 18px}
.module-audit .panel-heading h3{font-size:14px;line-height:1.3}
.module-audit .panel-heading p{font-size:11px;line-height:1.4}
.module-audit .module-list{padding:2px 0}
.module-audit .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:12px 18px;border-bottom:1px solid var(--line-soft)}
.module-audit .module-row:last-child{border-bottom:0}
.module-audit .module-row strong{font-size:12px;line-height:1.35;font-weight:650;color:var(--text-strong)}
.module-audit .module-row small{font-size:10px;line-height:1.4}
.module-audit .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.module-audit .module-next{padding:16px 18px}
.module-audit .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-audit .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-audit .section-head h2{font-size:25px}
  .module-audit .module-row{grid-template-columns:1fr;gap:7px}
  .module-audit .module-row .pill{max-width:none}
}

/* Alerts module typography + severity hierarchy v1 */
.module-alerts .module-shell{max-width:1320px}
.module-alerts .section-head{margin-bottom:22px}
.module-alerts .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-alerts .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-alerts .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-alerts .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-alerts .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-alerts .module-hero p{font-size:12px;line-height:1.5}
.module-alerts .module-metrics{gap:12px;margin-bottom:14px}
.module-alerts .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-alerts .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-alerts .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-alerts .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-alerts .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-alerts .info-panel{min-width:0}
.module-alerts .panel-heading{padding:15px 18px}
.module-alerts .panel-heading h3{font-size:14px;line-height:1.3}
.module-alerts .panel-heading p{font-size:11px;line-height:1.4}
.module-alerts .module-list{padding:2px 0}
.module-alerts .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-alerts .module-row:last-child{border-bottom:0}
.module-alerts .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-alerts .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-alerts .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:68px;justify-content:center;text-transform:capitalize}
.module-alerts .module-row .pill:first-letter{text-transform:uppercase}
.module-alerts .module-next{padding:16px 18px}
.module-alerts .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-alerts .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-alerts .section-head h2{font-size:25px}
  .module-alerts .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}
  .module-alerts .module-row .pill{justify-self:start}
}

/* Monitoring module typography + telemetry hierarchy v1 */
.module-monitoring .module-shell{max-width:1320px}
.module-monitoring .section-head{margin-bottom:22px}
.module-monitoring .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-monitoring .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-monitoring .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-monitoring .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-monitoring .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-monitoring .module-hero p{font-size:12px;line-height:1.5}
.module-monitoring .module-metrics{gap:12px;margin-bottom:14px}
.module-monitoring .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-monitoring .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-monitoring .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-monitoring .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-monitoring .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-monitoring .info-panel{min-width:0}
.module-monitoring .panel-heading{padding:15px 18px}
.module-monitoring .panel-heading h3{font-size:14px;line-height:1.3}
.module-monitoring .panel-heading p{font-size:11px;line-height:1.4}
.module-monitoring .module-list{padding:2px 0}
.module-monitoring .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-monitoring .module-row:last-child{border-bottom:0}
.module-monitoring .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-monitoring .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-monitoring .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:68px;justify-content:center}
.module-monitoring .module-next{padding:16px 18px}
.module-monitoring .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-monitoring .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-monitoring .section-head h2{font-size:25px}
  .module-monitoring .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}
  .module-monitoring .module-row .pill{justify-self:start}
}

/* Reports module typography + workspace hierarchy v1 */
.module-reports .module-shell{max-width:1320px}
.module-reports .section-head{margin-bottom:22px}
.module-reports .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-reports .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-reports .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-reports .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-reports .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-reports .module-hero p{font-size:12px;line-height:1.5}
.module-reports .module-metrics{gap:12px;margin-bottom:14px}
.module-reports .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-reports .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-reports .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-reports .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-reports .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-reports .info-panel{min-width:0}
.module-reports .panel-heading{padding:15px 18px}
.module-reports .panel-heading h3{font-size:14px;line-height:1.3}
.module-reports .panel-heading p{font-size:11px;line-height:1.4}
.module-reports .module-list{padding:2px 0}
.module-reports .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-reports .module-row:last-child{border-bottom:0}
.module-reports .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-reports .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-reports .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:68px;justify-content:center}
.module-reports .module-next{padding:16px 18px}
.module-reports .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-reports .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-reports .section-head h2{font-size:25px}
  .module-reports .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}
  .module-reports .module-row .pill{justify-self:start}
}

/* Users & Access module typography + identity hierarchy v1 */
.module-users .module-shell{max-width:1320px}
.module-users .section-head{margin-bottom:22px}
.module-users .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-users .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-users .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-users .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-users .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-users .module-hero p{font-size:12px;line-height:1.5}
.module-users .module-metrics{gap:12px;margin-bottom:14px}
.module-users .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-users .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-users .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-users .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-users .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-users .info-panel{min-width:0}
.module-users .panel-heading{padding:15px 18px}
.module-users .panel-heading h3{font-size:14px;line-height:1.3}
.module-users .panel-heading p{font-size:11px;line-height:1.4}
.module-users .module-list{padding:2px 0}
.module-users .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-users .module-row:last-child{border-bottom:0}
.module-users .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-users .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-users .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:68px;justify-content:center}
.module-users .module-next{padding:16px 18px}
.module-users .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-users .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-users .section-head h2{font-size:25px}
  .module-users .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}
  .module-users .module-row .pill{justify-self:start}
}

/* Scripts module typography + automation hierarchy v1 */
.module-scripts .module-shell{max-width:1320px}
.module-scripts .section-head{margin-bottom:22px}
.module-scripts .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-scripts .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-scripts .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-scripts .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-scripts .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-scripts .module-hero p{font-size:12px;line-height:1.5}
.module-scripts .module-metrics{gap:12px;margin-bottom:14px}
.module-scripts .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-scripts .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-scripts .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-scripts .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-scripts .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-scripts .info-panel{min-width:0}
.module-scripts .panel-heading{padding:15px 18px}
.module-scripts .panel-heading h3{font-size:14px;line-height:1.3}
.module-scripts .panel-heading p{font-size:11px;line-height:1.4}
.module-scripts .module-list{padding:2px 0}
.module-scripts .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-scripts .module-row:last-child{border-bottom:0}
.module-scripts .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-scripts .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-scripts .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:82px;justify-content:center;white-space:nowrap}
.module-scripts .module-next{padding:16px 18px}
.module-scripts .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){.module-scripts .device-grid{grid-template-columns:1fr}}
@media(max-width:700px){.os-chooser{grid-template-columns:1fr}.enrollment-dialog{width:calc(100vw - 20px)}.enrollment-dialog-head{padding:20px}.enrollment-primary{grid-template-columns:auto 1fr}.enrollment-primary .enrollment-download{grid-column:1 / -1;width:100%}}
@media(max-width:600px){.module-scripts .section-head h2{font-size:25px}.module-scripts .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}.module-scripts .module-row .pill{justify-self:start}}

/* Policies module typography + compliance hierarchy v1 */
.module-policies .module-shell{max-width:1320px}
.module-policies .section-head{margin-bottom:22px}
.module-policies .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-policies .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-policies .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-policies .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-policies .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-policies .module-hero p{font-size:12px;line-height:1.5}
.module-policies .module-metrics{gap:12px;margin-bottom:14px}
.module-policies .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-policies .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-policies .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-policies .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-policies .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-policies .info-panel{min-width:0}
.module-policies .panel-heading{padding:15px 18px}
.module-policies .panel-heading h3{font-size:14px;line-height:1.3}
.module-policies .panel-heading p{font-size:11px;line-height:1.4}
.module-policies .module-list{padding:2px 0}
.module-policies .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-policies .module-row:last-child{border-bottom:0}
.module-policies .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-policies .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-policies .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:82px;justify-content:center;white-space:nowrap}
.module-policies .module-next{padding:16px 18px}
.module-policies .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){.module-policies .device-grid{grid-template-columns:1fr}}
@media(max-width:600px){.module-policies .section-head h2{font-size:25px}.module-policies .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}.module-policies .module-row .pill{justify-self:start}}

/* Integrations module typography + connection hierarchy v1 */
.module-integrations .module-shell{max-width:1320px}
.module-integrations .section-head{margin-bottom:22px}
.module-integrations .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-integrations .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-integrations .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-integrations .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-integrations .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-integrations .module-hero p{font-size:12px;line-height:1.5}
.module-integrations .module-metrics{gap:12px;margin-bottom:14px}
.module-integrations .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-integrations .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-integrations .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-integrations .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-integrations .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-integrations .info-panel{min-width:0}
.module-integrations .panel-heading{padding:15px 18px}
.module-integrations .panel-heading h3{font-size:14px;line-height:1.3}
.module-integrations .panel-heading p{font-size:11px;line-height:1.4}
.module-integrations .module-list{padding:2px 0}
.module-integrations .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-integrations .module-row:last-child{border-bottom:0}
.module-integrations .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-integrations .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-integrations .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:82px;justify-content:center;white-space:nowrap}
.module-integrations .module-next{padding:16px 18px}
.module-integrations .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){.module-integrations .device-grid{grid-template-columns:1fr}}
@media(max-width:600px){.module-integrations .section-head h2{font-size:25px}.module-integrations .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}.module-integrations .module-row .pill{justify-self:start}}

/* Remote Control module typography + session hierarchy v1 */
.module-remote .module-shell{max-width:1320px}
.module-remote .section-head{margin-bottom:22px}
.module-remote .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-remote .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-remote .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-remote .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-remote .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-remote .module-hero p{font-size:12px;line-height:1.5}
.module-remote .module-metrics{gap:12px;margin-bottom:14px}
.module-remote .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-remote .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-remote .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-remote .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-remote .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-remote .info-panel{min-width:0}
.module-remote .panel-heading{padding:15px 18px}
.module-remote .panel-heading h3{font-size:14px;line-height:1.3}
.module-remote .panel-heading p{font-size:11px;line-height:1.4}
.module-remote .module-list{padding:2px 0}
.module-remote .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-remote .module-row:last-child{border-bottom:0}
.module-remote .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-remote .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-remote .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;min-width:82px;justify-content:center;white-space:nowrap}
.module-remote .module-next{padding:16px 18px}
.module-remote .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){.module-remote .device-grid{grid-template-columns:1fr}}
@media(max-width:600px){.module-remote .section-head h2{font-size:25px}.module-remote .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}.module-remote .module-row .pill{justify-self:start}}

/* Software module typography + inventory hierarchy v1 */
.module-software .module-shell{max-width:1320px}
.module-software .section-head{margin-bottom:22px}
.module-software .section-head h2{font-size:28px;line-height:1.2;margin:0 0 6px}
.module-software .section-head p{font-size:13px;line-height:1.5;color:var(--text-muted)}
.module-software .module-hero{padding:18px 20px;margin-bottom:14px;gap:14px}
.module-software .module-icon{width:40px;height:40px;border-radius:10px;font-size:18px}
.module-software .module-hero h3{font-size:15px;line-height:1.3;margin:0 0 3px}
.module-software .module-hero p{font-size:12px;line-height:1.5}
.module-software .module-metrics{gap:12px;margin-bottom:14px}
.module-software .module-metrics .metric-card{padding:15px 17px;min-height:92px}
.module-software .module-metrics .metric-card span{font-size:10px;line-height:1.3}
.module-software .module-metrics .metric-card strong{font-size:23px;line-height:1.1;margin:5px 0}
.module-software .module-metrics .metric-card small{font-size:10px;line-height:1.4}
.module-software .device-grid{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.module-software .info-panel{min-width:0}
.module-software .panel-heading{padding:15px 18px}
.module-software .panel-heading h3{font-size:14px;line-height:1.3}
.module-software .panel-heading p{font-size:11px;line-height:1.4}
.module-software .module-list{padding:2px 0}
.module-software .module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:13px 18px;border-bottom:1px solid var(--line-soft)}
.module-software .module-row:last-child{border-bottom:0}
.module-software .module-row strong{font-size:12px;line-height:1.4;font-weight:650;color:var(--text-strong)}
.module-software .module-row small{display:inline-block;margin-top:2px;font-size:10px;line-height:1.4}
.module-software .module-row .pill{font-size:10px;line-height:1.2;padding:4px 8px;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.module-software .module-next{padding:16px 18px}
.module-software .module-next p{font-size:11px;line-height:1.55;margin:10px 0 0}
@media(max-width:900px){
  .module-software .device-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .module-software .section-head h2{font-size:25px}
  .module-software .module-row{grid-template-columns:1fr;gap:7px;padding:12px 15px}
  .module-software .module-row .pill{justify-self:start;max-width:none}
}

.module-alerts .alert-row{min-height:62px}.module-alerts .alert-pill-critical{color:#b42318;background:#fef3f2}.module-alerts .alert-pill-warning{color:#b54708;background:#fffaeb}.module-alerts .alert-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.module-alerts .alert-action{padding:6px 9px;font-size:10px}.module-alerts .alert-status-open{color:var(--text-muted);background:var(--surface-muted)}.module-alerts .alert-status-acknowledged{color:#175cd3;background:#eff8ff}@media(max-width:600px){.module-alerts .alert-row-actions{justify-content:flex-start}}

/* Monitoring historical telemetry */
.module-monitoring .monitoring-history-panel{margin-top:14px}
.module-monitoring .history-controls{display:flex;gap:6px}
.module-monitoring .history-range{min-width:52px;padding:7px 10px;font-size:11px}
.module-monitoring .history-range.active{background:var(--surface-muted);border-color:var(--line-strong);color:var(--text-strong)}
.module-monitoring .history-empty{padding:28px 18px;color:var(--text-muted);font-size:12px}
.module-monitoring .history-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}
.module-monitoring .history-chart{border:1px solid var(--line-soft);border-radius:10px;background:var(--surface-subtle);overflow:hidden}
.module-monitoring .history-chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line-soft);font-size:12px}
.module-monitoring .history-chart-head .muted{font-size:10px;white-space:nowrap}
.module-monitoring .history-chart-canvas{height:210px;padding:0 4px 4px}
.module-monitoring .history-chart-canvas svg{display:block;width:100%;height:100%;overflow:visible}
.module-monitoring .history-grid-line{stroke:var(--line-soft);stroke-width:1}
.module-monitoring .history-axis-label{fill:var(--text-muted);font-size:9px}
.module-monitoring .history-area{fill:var(--accent-soft);opacity:.55}
.module-monitoring .history-line{fill:none;stroke:var(--accent);stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.module-monitoring .history-point{fill:var(--accent);stroke:var(--surface);stroke-width:2}
.module-monitoring .history-no-data{height:100%;display:grid;place-items:center;color:var(--text-muted);font-size:11px}
@media(max-width:900px){.module-monitoring .history-charts{grid-template-columns:1fr}}
@media(max-width:600px){.module-monitoring .history-chart-head{align-items:flex-start;flex-direction:column;gap:4px}.module-monitoring .history-controls{width:100%}.module-monitoring .history-range{flex:1}}

/* Global navigation search */
.global-search{position:relative;flex:0 1 520px;margin:0 auto;min-width:260px}
.global-search input{width:100%;height:38px;padding:0 76px 0 38px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s}
.global-search input::placeholder{color:var(--muted)}
.global-search input:focus{border-color:#9bb8e8;box-shadow:0 0 0 3px rgba(47,111,235,.10)}
.global-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-51%);color:var(--muted);font-size:19px;line-height:1;pointer-events:none}
.global-search kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:2px 6px;border:1px solid var(--border);border-radius:5px;background:var(--surface-muted);color:var(--muted);font:11px/1.3 inherit;pointer-events:none}
.global-search-results{position:absolute;z-index:100;top:calc(100% + 7px);left:0;right:0;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 14px 35px rgba(20,35,60,.14)}
.global-search-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 11px;border-radius:7px;color:var(--text);text-decoration:none}
.global-search-result:hover{background:var(--surface-muted)}
.global-search-result span{display:flex;min-width:0;flex-direction:column;gap:2px}
.global-search-result strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-result small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-result b{margin-left:auto;font-size:10px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.global-search-result em{font-size:11px;font-style:normal;color:var(--muted)}
.global-search-empty{padding:13px 11px;color:var(--muted);font-size:12px}
@media (max-width:760px){
  .global-search{order:3;flex:1 0 100%;width:100%;margin:8px 0 0}
  .topbar{flex-wrap:wrap}
}
@media (max-width:480px){
  .global-search{min-width:0}
  .global-search kbd{display:none}
}

/* Monitoring visual system v2 — aligned fleet telemetry + restrained charts */
body[data-page="module"].module-monitoring .module-shell{max-width:1320px}
body[data-page="module"].module-monitoring .section-head{margin-bottom:20px}
body[data-page="module"].module-monitoring .module-hero{min-height:82px;padding:18px 20px}
body[data-page="module"].module-monitoring .module-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body[data-page="module"].module-monitoring .module-metrics .metric-card{min-width:0;padding:15px 17px}
body[data-page="module"].module-monitoring .fleet-health-panel,
body[data-page="module"].module-monitoring .monitoring-history-panel,
body[data-page="module"].module-monitoring .fleet-endpoints-panel,
body[data-page="module"].module-monitoring .fleet-monitoring-panel{margin-top:12px}
body[data-page="module"].module-monitoring .fleet-health-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:0}
body[data-page="module"].module-monitoring .fleet-health-stat{min-width:0;padding:17px 18px 18px;border-right:1px solid var(--line-soft)}
body[data-page="module"].module-monitoring .fleet-health-stat:last-child{border-right:0}
body[data-page="module"].module-monitoring .fleet-health-stat span{display:block;color:var(--text-muted);font-size:11px;line-height:1.35;margin-bottom:7px}
body[data-page="module"].module-monitoring .fleet-health-stat strong{display:block;color:var(--text-strong);font-size:19px;line-height:1.2;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
body[data-page="module"].module-monitoring .fleet-health-stat small{display:block;margin-top:5px;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="module"].module-monitoring .fleet-table-wrap{overflow:auto}
body[data-page="module"].module-monitoring .fleet-table{width:100%;table-layout:fixed;border-collapse:collapse}
body[data-page="module"].module-monitoring .fleet-table th{padding:11px 16px;background:var(--surface-soft);border-bottom:1px solid var(--line);font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:700}
body[data-page="module"].module-monitoring .fleet-table td{padding:13px 16px;border-bottom:1px solid var(--line-soft);font-size:12px;line-height:1.35;color:var(--text-default);vertical-align:middle;font-variant-numeric:tabular-nums}
body[data-page="module"].module-monitoring .fleet-table tr:last-child td{border-bottom:0}
body[data-page="module"].module-monitoring .fleet-table th:first-child,
body[data-page="module"].module-monitoring .fleet-table td:first-child{width:27%}
body[data-page="module"].module-monitoring .fleet-table th:nth-child(2),
body[data-page="module"].module-monitoring .fleet-table td:nth-child(2){width:13%}
body[data-page="module"].module-monitoring .fleet-table th:nth-child(3),
body[data-page="module"].module-monitoring .fleet-table th:nth-child(4),
body[data-page="module"].module-monitoring .fleet-table th:nth-child(5){width:10%}
body[data-page="module"].module-monitoring .fleet-table th:nth-child(6){width:13%}
body[data-page="module"].module-monitoring .fleet-table th:nth-child(7){width:17%}
body[data-page="module"].module-monitoring .fleet-table td:first-child strong{display:block;color:var(--text-strong);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="module"].module-monitoring .fleet-table td:first-child small{display:block;margin-top:3px;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="module"].module-monitoring .fleet-table td:nth-child(n+3){text-align:right}
body[data-page="module"].module-monitoring .fleet-table th:nth-child(n+3){text-align:right}
body[data-page="module"].module-monitoring .fleet-table .status-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#98a2b3;vertical-align:1px}
body[data-page="module"].module-monitoring .fleet-table .status-dot.online{background:var(--success)}
body[data-page="module"].module-monitoring .fleet-table .status-dot.offline{background:#98a2b3}
body[data-page="module"].module-monitoring .fleet-table .pill{font-size:10px;padding:4px 8px}
body[data-page="module"].module-monitoring .fleet-table .pill.warning{background:var(--warning-soft);color:#b54708}
body[data-page="module"].module-monitoring .fleet-table tbody tr:hover{background:var(--surface-soft)}
body[data-page="module"].module-monitoring .monitoring-history-panel .panel-heading{align-items:center}
body[data-page="module"].module-monitoring .history-charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px}
body[data-page="module"].module-monitoring .history-chart{border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}
body[data-page="module"].module-monitoring .history-chart-head{padding:12px 14px;background:var(--surface);border-bottom:1px solid var(--line-soft)}
body[data-page="module"].module-monitoring .history-chart-canvas{height:190px;padding:8px 8px 6px}
body[data-page="module"].module-monitoring .history-grid-line{stroke:var(--line-soft);stroke-width:1}
body[data-page="module"].module-monitoring .history-axis-label{fill:var(--text-subtle);font-size:9px;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
body[data-page="module"].module-monitoring .history-area{fill:rgba(37,99,235,.08);opacity:1}
body[data-page="module"].module-monitoring .history-line{fill:none;stroke:var(--brand);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body[data-page="module"].module-monitoring .history-point{fill:var(--brand);stroke:var(--surface);stroke-width:2}
body[data-page="module"].module-monitoring .history-controls .history-range{height:36px;min-width:50px;padding:0 11px;font-size:11px}
body[data-page="module"].module-monitoring .module-next{padding:4px 0}
body[data-page="module"].module-monitoring .module-next .module-row{padding:13px 18px}
body[data-page="module"].module-monitoring .module-alert-link{margin:12px 18px 14px}
@media(max-width:1100px){
  body[data-page="module"].module-monitoring .fleet-health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-page="module"].module-monitoring .fleet-health-stat:nth-child(3){border-right:0}
  body[data-page="module"].module-monitoring .fleet-health-stat:nth-child(n+4){border-top:1px solid var(--line-soft)}
}
@media(max-width:900px){
  body[data-page="module"].module-monitoring .module-shell{max-width:none}
  body[data-page="module"].module-monitoring .module-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="module"].module-monitoring .history-charts{grid-template-columns:1fr}
}
@media(max-width:600px){
  body[data-page="module"].module-monitoring .fleet-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="module"].module-monitoring .fleet-health-stat:nth-child(3){border-right:1px solid var(--line-soft)}
  body[data-page="module"].module-monitoring .fleet-health-stat:nth-child(even){border-right:0}
  body[data-page="module"].module-monitoring .fleet-health-stat:nth-child(n+3){border-top:1px solid var(--line-soft)}
  body[data-page="module"].module-monitoring .fleet-table{min-width:760px}
}


/* Temporary demo endpoint marker — intentionally subtle and removable with demo data. */
.device-demo-tag{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;border:1px solid var(--border);border-radius:999px;font-size:9px;line-height:1.1;font-weight:700;letter-spacing:.08em;color:var(--muted);vertical-align:middle}

/* OS identity marks v2 */
.device-icon{display:grid;place-items:center}
.device-icon .os-logo{width:18px;height:18px;display:block}
.device-icon .os-logo-windows{fill:#0078d4}
.device-icon .os-logo-linux{fill:#111827}
.device-icon .os-logo-apple{fill:#111827}
.device-icon .device-os-mark{display:grid;place-items:center;width:18px;height:18px}
.device-icon .other-mark{font-size:12px;font-weight:800;color:var(--muted)}

/* Global OS identity */
.device-icon .os-logo{width:18px;height:18px;display:block}.device-icon .os-logo-windows{fill:#0078d4}.device-icon .os-logo-linux{width:21px;height:21px}.device-icon .os-logo-apple{fill:#1f2937}.device-detail-logo{width:31px;height:31px;display:block}.device-avatar .os-logo-windows{fill:#0078d4}.device-avatar .os-logo-apple{fill:#1f2937}.device-avatar .os-logo-linux{width:35px;height:35px}

.fleet-endpoint-name{display:flex;align-items:center;gap:10px}.fleet-os-icon{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:var(--surface-2);flex:0 0 28px}.fleet-os-icon .os-logo{width:17px;height:17px}.fleet-os-icon .os-logo-linux{width:20px;height:20px}.fleet-os-icon .os-logo-apple{fill:#1f2937}

/* Devices page compact layout */
body[data-page="devices"] .shell{padding-top:26px}
body[data-page="devices"] .section-head{margin-bottom:14px}
body[data-page="devices"] .device-tabs{padding-bottom:12px}

/* Add device modal */
.enrollment-dialog{width:min(620px,calc(100vw - 32px));max-width:none;padding:0;border:0;border-radius:16px;background:transparent;box-shadow:0 24px 70px rgba(16,24,40,.18)}
.enrollment-dialog::backdrop{background:rgba(16,24,40,.42);backdrop-filter:blur(3px)}
.enrollment-dialog-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface-1);color:var(--text)}
.enrollment-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 24px 20px;border-bottom:1px solid var(--line)}
.enrollment-dialog-head h3{margin:5px 0 5px;font-size:20px;letter-spacing:-.025em}.enrollment-dialog-head p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.5}.enrollment-dialog svg{display:block;max-width:none!important;max-height:none!important}.enrollment-dialog .windows-enrollment-icon svg{width:31px!important;height:31px!important}.enrollment-dialog .os-option-logo svg{width:22px!important;height:22px!important}.enrollment-dialog .os-option-linux svg{width:27px!important;height:27px!important}
.os-chooser{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px 24px 24px}
.os-option{min-height:132px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--surface-1);color:var(--text);text-align:left}
.os-option:hover:not(:disabled){border-color:#98b9f5;background:#f8fbff;box-shadow:0 4px 14px rgba(16,24,40,.06);transform:none}.os-option:disabled{cursor:default;opacity:.72}
.os-option-logo{width:40px;height:40px;border-radius:10px;display:grid;place-items:center}.os-option-logo svg{width:22px;height:22px;display:block}.os-option-windows{background:#eaf4ff;color:#0078d4}.os-option-windows svg{fill:currentColor}.os-option-linux{background:#f2f4f7}.os-option-linux svg{width:27px;height:27px}.os-option-apple{background:#f2f4f7;color:#1f2937}.os-option-apple svg{fill:currentColor}
.windows-enrollment-main{text-align:center;padding:24px 24px 22px}.windows-enrollment-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:#0078d4}.windows-enrollment-icon svg{width:31px;height:31px;fill:currentColor}.windows-enrollment-main h4{margin:0 0 7px;font-size:17px;letter-spacing:-.015em}.windows-enrollment-main p{max-width:420px;margin:0 auto 18px;color:var(--text-muted);font-size:12px;line-height:1.55}.windows-enrollment-meta{display:block;margin-top:9px;color:var(--text-muted);font-size:10px}.windows-enrollment-main .enrollment-download{min-width:190px}.installer-instructions{display:flex;justify-content:center;gap:20px;margin:18px auto 0;color:var(--text-muted);font-size:10px}.installer-instructions span{display:inline-flex;align-items:center;gap:6px}.installer-instructions b{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#f2f4f7;color:#344054;font-size:9px;font-weight:700}
.os-option>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.os-option strong{font-size:14px}.os-option small{font-size:11px;color:var(--text-muted)}.os-option em{margin-top:auto;font-size:10px;font-style:normal;font-weight:700;color:#027a48}.os-option em.coming{color:var(--text-muted)}
.enrollment-panel{border:0;background:transparent;overflow:visible}.enrollment-back{margin:20px 24px 0;padding:0;border:0;background:transparent;color:var(--text-muted);font-size:12px;font-weight:650}.enrollment-back:hover{background:transparent;color:var(--text)}
.enrollment-primary{margin:18px 24px 20px}.enrollment-steps{margin:0 24px 20px}.enrollment-advanced{margin:0 24px 24px}
/* Windows enrollment UX */
.enrollment-panel{overflow:hidden;border-color:#e4e7ec}
.enrollment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fff,#fbfcfe)}
.enrollment-heading h3{margin:5px 0 4px;font-size:18px;letter-spacing:-.015em}
.enrollment-heading p{margin:0;max-width:650px;font-size:12px;line-height:1.55}
.enrollment-secure{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:6px 9px;border:1px solid #d1fadf;border-radius:999px;background:#f0fdf4;color:#027a48;font-size:11px;font-weight:700}
.enrollment-secure span{width:6px;height:6px;border-radius:50%;background:#12b76a}
.enrollment-body{padding:20px 24px}
.enrollment-primary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px;border:1px solid #d9dee7;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.enrollment-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:23px;font-weight:800;transform:rotate(180deg)}
.enrollment-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.enrollment-copy strong{font-size:13px;color:var(--text)}
.enrollment-copy span{font-size:11px;color:#667085}
.enrollment-download{white-space:nowrap}
.enrollment-success{display:flex;align-items:center;gap:11px;margin-top:10px;padding:11px 13px;border:1px solid #d1fadf;border-radius:10px;background:#f6fef9}
.enrollment-success>div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.enrollment-success strong{font-size:12px;color:#027a48}
.enrollment-success span{font-size:11px;color:#667085;line-height:1.4}
.enrollment-check{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#dcfae6;color:#027a48;font-weight:800;font-size:12px}
.enrollment-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.enrollment-steps>div{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid #eaecf0;border-radius:10px;background:#fafbfc}
.enrollment-steps b{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border-radius:50%;background:#f2f4f7;color:#344054;font-size:10px}
.enrollment-steps span{display:flex;flex-direction:column;gap:2px}
.enrollment-steps strong{font-size:11px;color:#344054}
.enrollment-steps small{font-size:10px;color:#667085;line-height:1.35}
.enrollment-advanced{margin-top:15px;border-top:1px solid #eaecf0;padding-top:14px}
.enrollment-advanced summary{cursor:pointer;color:#475467;font-size:11px;font-weight:650}
.enrollment-advanced-body{padding:12px 0 2px}
.enrollment-advanced-body p{margin:0 0 10px;font-size:11px;line-height:1.5}
.enrollment-advanced-body .enrollment-success{margin-top:10px}
@media(max-width:700px){.enrollment-heading{padding:18px;flex-direction:column}.enrollment-body{padding:16px 18px}.enrollment-primary{grid-template-columns:auto 1fr}.enrollment-download{grid-column:1/-1;width:100%}.enrollment-steps{grid-template-columns:1fr}.enrollment-secure{align-self:flex-start}}

/* Password recovery polish — restrained, inline feedback */
body[data-page="login"] .login-reset .password-field input{padding-right:46px}
body[data-page="login"] .login-reset .password-toggle{top:12px}
.reset-password-feedback{display:flex;align-items:center;gap:10px;margin:-8px 0 14px}
.reset-password-meter{display:flex;gap:4px;width:62px;flex:0 0 62px}
.reset-password-meter span{height:3px;flex:1;border-radius:999px;background:#e4e7ec;transition:background-color .16s ease}
.reset-password-meter span.filled{background:#f59e0b}
.reset-password-meter[data-strength="good"] span.filled{background:#2563eb}
.reset-password-meter[data-strength="strong"] span.filled{background:#12a36d}
.reset-password-hint{margin:0;color:#667085;font-size:11px;line-height:1.4}
body[data-page="login"] .login-reset label{margin-bottom:13px}
body[data-page="login"] .login-reset .login-error{min-height:16px}
body[data-page="login"] .login-reset .login-button{margin-top:8px}
@media(prefers-reduced-motion:reduce){.reset-password-meter span{transition:none}}


/* Devices page header polish v1 */
body[data-page="devices"] .section-head{align-items:center;gap:24px;margin-bottom:16px}
body[data-page="devices"] .section-head h2{font-size:28px;line-height:1.2;margin-bottom:6px}
body[data-page="devices"] .page-actions{align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body[data-page="devices"] #refreshStatus{font-size:12px;line-height:1.35;white-space:nowrap;padding:0;border:0;border-radius:0;background:transparent;color:var(--text-muted,#667085)}
body[data-page="devices"] #refreshDevices.refresh-icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;flex:0 0 38px;padding:0;white-space:nowrap;background:transparent;color:var(--text-muted,#667085);border:1px solid var(--line,#e4e7ec);border-radius:9px;box-shadow:none}
body[data-page="devices"] #refreshDevices.refresh-icon-button:hover:not(:disabled){background:var(--surface-2,#f9fafb);color:var(--text,#172033);border-color:var(--line-strong,#cbd2dc)}
body[data-page="devices"] #refreshDevices.refresh-icon-button:focus-visible{outline:2px solid var(--primary,#2563eb);outline-offset:2px}
body[data-page="devices"] #refreshDevices:disabled{opacity:.7;cursor:wait}
body[data-page="devices"] #refreshDevices .refresh-icon{display:block;font-size:20px;line-height:1;transform-origin:center}
body[data-page="devices"] #refreshDevices.is-refreshing .refresh-icon{animation:pointrus-refresh-spin .8s linear infinite}
@keyframes pointrus-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body[data-page="devices"] #refreshDevices.is-refreshing .refresh-icon{animation:none}}
#userArea{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#userArea button{white-space:nowrap;min-width:76px;flex:0 0 auto;line-height:1.2;padding:9px 13px}
@media(max-width:750px){body[data-page="devices"] .section-head{align-items:flex-start;flex-direction:column;gap:14px}body[data-page="devices"] .page-actions{width:100%;justify-content:flex-start}body[data-page="devices"] #refreshStatus{order:3;white-space:normal;flex-basis:100%;padding:0;border:0;background:transparent}#userArea button{min-width:0}}

/* Device row context menu */
.device-table tbody tr[data-device-id]{cursor:context-menu}
.device-table tbody tr[data-device-id]:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.device-context-menu{position:fixed;z-index:1000;width:248px;padding:6px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 16px 42px rgba(16,24,40,.18),0 3px 8px rgba(16,24,40,.08);color:#101828}
.device-context-menu[hidden]{display:none}
.device-context-heading{padding:9px 11px 10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:11px;font-weight:750;letter-spacing:.04em}
.device-context-menu button{display:flex;width:100%;align-items:center;gap:10px;min-height:38px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#344054;text-align:left;font-size:13px;font-weight:600}
.device-context-menu button>span:first-child{width:18px;color:#667085;font-size:16px;text-align:center}
.device-context-menu button>span:nth-child(2){flex:1}
.device-context-menu button kbd{font-size:10px;color:#98a2b3;background:#f2f4f7;border:1px solid #eaecf0;border-radius:4px;padding:1px 5px}
.device-context-menu button:hover:not(:disabled),.device-context-menu button:focus-visible:not(:disabled){background:#f2f6ff;color:#1d4ed8;outline:none}
.device-context-menu button:disabled{opacity:.42;cursor:not-allowed}
.device-context-menu button.is-danger:not(:disabled){color:#b42318}
.device-context-menu button.is-danger:not(:disabled)>span:first-child{color:#d92d20}
.device-context-separator{height:1px;margin:5px 4px;background:#eaecf0}
@media(prefers-reduced-motion:reduce){.device-context-menu button{transition:none}}


/* Remote-control readiness diagnostics */
.remote-readiness-body{padding:16px 20px 18px}
.remote-readiness-summary{display:inline-flex;align-items:center;padding:7px 10px;border-radius:7px;background:var(--surface-2);color:var(--text);font-size:12px;font-weight:750}
.remote-readiness-summary[data-status="ready"]{background:var(--green-soft);color:var(--green)}
.remote-readiness-summary[data-status="blocked"]{background:var(--surface-2);color:var(--red)}
.remote-readiness-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:20px;margin-top:16px}
.remote-readiness-columns h4{font-size:12px;margin:0 0 10px;color:var(--text-muted)}
.remote-readiness-checks{display:grid;gap:8px}
.remote-readiness-check{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:8px}
.remote-readiness-indicator{font-size:10px;font-weight:800;letter-spacing:.03em;color:var(--muted)}
.remote-readiness-check[data-status="pass"] .remote-readiness-indicator{color:var(--green)}
.remote-readiness-check[data-status="blocked"] .remote-readiness-indicator{color:var(--red)}
.remote-readiness-check strong,.remote-session-verification strong{font-size:12px}
.remote-readiness-check p,.remote-session-verification p{margin:3px 0 0;color:var(--text-muted);font-size:11px;line-height:1.5}
.remote-session-verification{padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}
.remote-readiness-timestamp{margin:12px 0 0;font-size:10px}
@media(max-width:720px){.remote-readiness-columns{grid-template-columns:1fr}.remote-readiness-body{padding:14px}.remote-readiness-check{grid-template-columns:68px minmax(0,1fr)}}



/* Concise remote-control status on device details */
body[data-page="device"] .remote-control-card{margin-bottom:18px;padding:18px 22px;border-color:var(--line-soft)}
body[data-page="device"] .remote-control-card-main{display:flex;align-items:center;gap:14px;min-width:0}
body[data-page="device"] .remote-control-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:var(--surface-2);color:var(--text-strong);font-size:20px}
body[data-page="device"] .remote-control-copy{flex:1;min-width:0}
body[data-page="device"] .remote-control-copy h3{margin:0 0 4px;font-size:14px;line-height:1.35;color:var(--text-strong)}
body[data-page="device"] .remote-control-copy p{margin:0;font-size:12px;line-height:1.5}
body[data-page="device"] .remote-control-status{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:6px 10px;border:1px solid #d0d5dd;border-radius:999px;background:#f9fafb;color:#475467;font-size:11px;font-weight:700;white-space:nowrap}
body[data-page="device"] .remote-control-status[data-status="ready"]{border-color:#abefc6;background:#ecfdf3;color:#027a48}
body[data-page="device"] .remote-control-status[data-status="unavailable"],body[data-page="device"] .remote-control-status[data-status="attention"]{border-color:#fedf89;background:#fffaeb;color:#b54708}
@media(max-width:520px){body[data-page="device"] .remote-control-card{padding:15px}body[data-page="device"] .remote-control-card-main{align-items:flex-start;gap:11px}body[data-page="device"] .remote-control-status{min-width:0;padding:5px 8px;font-size:10px}}

/* Remote readiness panel — compact, responsive diagnostic layout */
body[data-page="device"] .remote-readiness-panel{margin-bottom:18px;border-color:#dfe5ef;box-shadow:0 8px 26px rgba(16,24,40,.055)}
body[data-page="device"] .remote-readiness-panel>.panel-heading{align-items:center;gap:18px;padding:22px 24px;background:linear-gradient(120deg,#fff 0%,#f8faff 100%)}
body[data-page="device"] #remoteReadinessTitle{font-size:17px;line-height:1.3;letter-spacing:-.02em;color:#101828}
body[data-page="device"] .remote-readiness-panel .panel-heading p{max-width:650px;margin-top:5px;line-height:1.55}
body[data-page="device"] #runRemoteReadiness{flex:0 0 auto;min-height:40px;padding:0 15px;border-radius:9px;white-space:nowrap}
body[data-page="device"] .remote-readiness-body{padding:20px 24px 18px}
body[data-page="device"] .remote-readiness-summary{display:flex;width:fit-content;max-width:100%;gap:8px;padding:8px 12px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;line-height:1.4}
body[data-page="device"] .remote-readiness-summary[data-status="ready"]{background:#ecfdf3;border-color:#abefc6;color:#027a48}
body[data-page="device"] .remote-readiness-summary[data-status="blocked"]{background:#fef3f2;border-color:#fecdca;color:#b42318}
body[data-page="device"] .remote-readiness-columns{grid-template-columns:minmax(0,1.5fr) minmax(260px,.85fr);align-items:start;gap:22px;margin-top:22px}
body[data-page="device"] .remote-readiness-columns>section{min-width:0}
body[data-page="device"] .remote-readiness-columns h4{margin:0 0 11px;font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.075em;color:#667085}
body[data-page="device"] .remote-readiness-checks{gap:8px}
body[data-page="device"] .remote-readiness-check{grid-template-columns:86px minmax(0,1fr);gap:13px;align-items:start;padding:14px 15px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}
body[data-page="device"] .remote-readiness-indicator{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid #e4e7ec;border-radius:6px;background:#f9fafb;color:#667085;font-size:10px;line-height:1.2;letter-spacing:.045em}
body[data-page="device"] .remote-readiness-check[data-status="pass"] .remote-readiness-indicator{background:#ecfdf3;border-color:#abefc6;color:#027a48}
body[data-page="device"] .remote-readiness-check[data-status="blocked"] .remote-readiness-indicator{background:#fef3f2;border-color:#fecdca;color:#b42318}
body[data-page="device"] .remote-readiness-check[data-status="unknown"] .remote-readiness-indicator{background:#fffaeb;border-color:#fedf89;color:#b54708}
body[data-page="device"] .remote-readiness-check strong,body[data-page="device"] .remote-session-verification strong{display:block;font-size:13px;line-height:1.45;color:#101828}
body[data-page="device"] .remote-readiness-check p,body[data-page="device"] .remote-session-verification p{margin:4px 0 0;font-size:12px;line-height:1.55;color:#667085;overflow-wrap:anywhere}
body[data-page="device"] .remote-session-verification{padding:17px;border:1px solid #fedf89;border-radius:11px;background:linear-gradient(145deg,#fffcf5,#fffaf0)}
body[data-page="device"] .remote-session-verification strong{display:flex;align-items:center;gap:8px;color:#92400e}
body[data-page="device"] .remote-session-verification strong:before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#d97706}
body[data-page="device"] .remote-readiness-timestamp{margin:16px 0 0;padding-top:12px;border-top:1px solid #eef0f3;font-size:11px;line-height:1.45}
@media(max-width:1000px){body[data-page="device"] .remote-readiness-columns{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:14px}body[data-page="device"] .remote-readiness-check{grid-template-columns:76px minmax(0,1fr);gap:9px;padding:12px}}
@media(max-width:760px){body[data-page="device"] .remote-readiness-panel>.panel-heading{align-items:flex-start;flex-direction:column;padding:18px}body[data-page="device"] #runRemoteReadiness{width:100%}body[data-page="device"] .remote-readiness-body{padding:16px 18px}body[data-page="device"] .remote-readiness-columns{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:18px}}
@media(max-width:420px){body[data-page="device"] .remote-readiness-check{grid-template-columns:1fr;gap:8px}body[data-page="device"] .remote-readiness-indicator{justify-self:start}}


/* Endpoint onboarding lifecycle */
.device-lifecycle-cell{min-width:132px}
.device-lifecycle-cell .onboarding-stage{display:inline-flex;max-width:100%;white-space:nowrap}
.device-lifecycle-cell .device-connectivity{display:flex;align-items:center;gap:6px;margin-top:5px;color:var(--muted);font-size:11px;white-space:nowrap}
.device-lifecycle-cell .device-connectivity .online-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--text-muted,#98a2b3)}
.device-lifecycle-cell .connectivity-online .online-dot{background:var(--success,#12b76a)}
.device-lifecycle-cell .stage-managed{background:var(--surface-2);color:var(--text)}
.device-lifecycle-cell .stage-initializing{background:#fffaeb;color:#b54708}
.device-lifecycle-cell .stage-registering{background:#eff8ff;color:#175cd3}
.device-lifecycle-cell .stage-attention,.device-lifecycle-cell .stage-revoked{background:#fef3f2;color:#b42318}
@media(max-width:900px){.device-lifecycle-cell{min-width:120px}}


/* Device detail onboarding lifecycle */
body[data-page="device"] .onboarding-detail-card{margin-bottom:16px;padding-bottom:4px}
body[data-page="device"] .onboarding-detail-heading{align-items:center;gap:14px}
body[data-page="device"] .onboarding-detail-stage{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:6px 10px;background:#f2f4f7;color:#344054;font-size:12px;font-weight:750}
body[data-page="device"] .onboarding-detail-stage.stage-managed{background:#ecfdf3;color:#027a48}
body[data-page="device"] .onboarding-detail-stage.stage-initializing,body[data-page="device"] .onboarding-detail-stage.stage-registering{background:#fffaeb;color:#b54708}
body[data-page="device"] .onboarding-detail-stage.stage-attention,body[data-page="device"] .onboarding-detail-stage.stage-revoked{background:#fef3f2;color:#b42318}
body[data-page="device"] .onboarding-detail-summary{margin:0;padding:14px 20px 10px;font-size:13px;line-height:1.55}
body[data-page="device"] .onboarding-detail-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 20px 18px}
body[data-page="device"] .onboarding-detail-check{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;padding:14px;border:1px solid #eaecf0;border-radius:10px;background:#fff}
body[data-page="device"] .onboarding-check-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;font-size:13px;font-weight:800;background:#f2f4f7;color:#667085}
body[data-page="device"] .onboarding-check-icon.state-pass{background:#ecfdf3;color:#027a48}
body[data-page="device"] .onboarding-check-icon.state-attention{background:#fffaeb;color:#b54708}
body[data-page="device"] .onboarding-detail-check strong{display:block;color:#101828;font-size:12px;line-height:1.45}
body[data-page="device"] .onboarding-detail-check small{display:block;margin-top:5px;color:#667085;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
body[data-page="device"] .onboarding-check-state{grid-column:2;justify-self:start;margin-top:2px;font-size:10px;font-weight:750;color:#667085}
body[data-page="device"] .onboarding-check-state.state-pass{color:#027a48}
body[data-page="device"] .onboarding-check-state.state-attention{color:#b54708}
@media(max-width:900px){body[data-page="device"] .onboarding-detail-checks{grid-template-columns:1fr}}
@media(max-width:520px){body[data-page="device"] .onboarding-detail-heading{align-items:flex-start;flex-direction:column}body[data-page="device"] .onboarding-detail-checks{padding:8px 14px 16px}body[data-page="device"] .onboarding-detail-summary{padding-left:14px;padding-right:14px}}

/* Compact single-result screen-sharing readiness */
body[data-page="device"] .remote-control-card{padding:15px 18px;margin-bottom:16px}
body[data-page="device"] .remote-control-icon{width:36px;height:36px;flex-basis:36px}
body[data-page="device"] .remote-control-status[data-status="ready"]{border-color:#abefc6;background:#ecfdf3;color:#027a48}
