
:root{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#17212b;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;
  --mwits:#114580;--mwits-dark:#0a315e;--nav:#102235;--nav-2:#152b40;
  --border:#dfe4e8;--muted:#647281;--bg:#f4f6f8;--panel:#fff;
  --green:#18794e;--amber:#9a6700;--red:#b42318;--blue:#175cd3;
}
*{box-sizing:border-box}html,body,#root{margin:0;min-width:320px;min-height:100vh}body{background:var(--bg)}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
button:disabled{cursor:not-allowed;opacity:.55}
::selection{background:#cfe0f3;color:#0a315e}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#c2cad2;border:3px solid transparent;background-clip:padding-box;border-radius:8px}

.loading-screen{min-height:100vh;display:grid;place-items:center;background:#f7f9fb}
.spinner{width:28px;height:28px;border:3px solid #dbe5ef;border-top-color:var(--mwits);border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,47%) 1fr;background:#fff}
.auth-brand{position:relative;overflow:hidden;background:#0d2f54;color:#fff;padding:54px clamp(36px,6vw,88px);display:flex;flex-direction:column;justify-content:space-between}
.auth-brand:before{content:"";position:absolute;inset:0;opacity:.09;background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom right,#000,transparent 80%)}
.auth-brand>*{position:relative;z-index:1}
.auth-logo-row{display:flex;align-items:center;gap:15px}
.auth-logo{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:12px;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.auth-brand-title{font-size:18px;font-weight:700;letter-spacing:-.02em}.auth-brand-sub{font-size:12px;color:#b8cee3;margin-top:3px}
.auth-hero{max-width:520px;margin:70px 0}
.auth-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9fc4e7}
.auth-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.06;letter-spacing:-.04em;margin:14px 0 18px}
.auth-hero p{font-size:15px;line-height:1.7;color:#c4d6e8;max-width:480px}
.auth-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}
.auth-feature{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);border-radius:10px;padding:13px 14px;font-size:12px;color:#d7e4f0}
.auth-feature strong{display:block;color:#fff;font-size:12px;margin-bottom:3px}
.auth-foot{font-size:11px;color:#8eabc5}
.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px;background:#fbfcfd}
.auth-card{width:min(420px,100%);padding:34px 36px;background:#fff;border:1px solid #e2e7eb;border-radius:14px;box-shadow:0 14px 38px rgba(15,35,55,.08)}
.auth-card h2{font-size:24px;letter-spacing:-.03em;margin:0}.auth-card .lead{color:var(--muted);font-size:13px;line-height:1.55;margin:8px 0 25px}
.brand-mini{display:none;margin-bottom:24px;align-items:center;gap:10px}.brand-mini img{width:42px;height:42px;object-fit:contain}
.field{display:grid;gap:7px;margin-bottom:16px}.field label{font-size:12px;font-weight:600;color:#344454}
.input,.select,.textarea{width:100%;border:1px solid #cfd7de;background:#fff;border-radius:7px;color:#17212b;outline:none;transition:border-color .15s,box-shadow .15s;box-shadow:none}
.input,.select{height:40px;padding:0 11px}.textarea{padding:10px 11px;min-height:100px;resize:vertical}
.input:focus,.select:focus,.textarea:focus{border-color:#6f99c0;box-shadow:0 0 0 3px rgba(17,69,128,.1)}
.primary-btn,.secondary-btn,.danger-btn,.ghost-btn{height:38px;border-radius:7px;padding:0 14px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:12px;transition:.15s}
.primary-btn{background:var(--mwits);color:#fff;border-color:var(--mwits)}.primary-btn:hover{background:var(--mwits-dark)}
.secondary-btn{background:#fff;color:#263647;border-color:#cfd7de}.secondary-btn:hover{background:#f7f9fb;border-color:#aeb9c2}
.danger-btn{background:#fff;color:var(--red);border-color:#e8b4b0}.danger-btn:hover{background:#fff6f5}
.ghost-btn{background:transparent;color:#4d5c6a}.ghost-btn:hover{background:#eef2f5}
.w-full{width:100%}.auth-error{font-size:12px;color:#8f231b;background:#fff3f2;border:1px solid #f2c4c0;border-radius:7px;padding:9px 10px;margin-bottom:14px}
.auth-note{font-size:11px;color:#748290;text-align:center;margin-top:16px}.auth-link{color:var(--mwits);font-weight:600}
.code-input{font-size:24px;letter-spacing:.28em;text-align:center;font-weight:600}

.shell{display:grid;grid-template-columns:232px 1fr;min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:var(--nav);color:#c4d0db;display:flex;flex-direction:column;overflow:hidden;z-index:20}
.sidebar-brand{height:70px;display:flex;align-items:center;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);gap:10px}
.sidebar-brand img{width:37px;height:37px;border-radius:8px;background:#fff;padding:4px;object-fit:contain}
.sidebar-brand strong{display:block;color:#fff;font-size:13px}.sidebar-brand span{display:block;font-size:10px;color:#88a3ba;margin-top:2px}
.nav-scroll{padding:10px 9px 16px;overflow-y:auto;flex:1}.nav-group{margin:13px 9px 5px;font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#718ca4;font-weight:700}
.nav-item{height:36px;border-radius:6px;padding:0 9px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500;color:#b8c7d4;margin:2px 0;transition:.12s}
.nav-item svg{width:15px;height:15px;color:#829cb2}.nav-item:hover{background:rgba(255,255,255,.055);color:#fff}
.nav-item.active{background:#1d3b58;color:#fff;box-shadow:inset 3px 0 0 #70a8db}.nav-item.active svg{color:#a6c9e9}
.sidebar-bottom{padding:10px;border-top:1px solid rgba(255,255,255,.08)}
.user-chip{display:flex;gap:9px;align-items:center;padding:8px;border-radius:7px}.user-chip:hover{background:rgba(255,255,255,.05)}
.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#264a6b;color:#fff;font-size:10px;font-weight:700}
.user-chip strong{display:block;font-size:11px;color:#fff;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip span{font-size:9px;color:#829cb2}
.main{min-width:0}.topbar{height:58px;position:sticky;top:0;z-index:15;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 22px;gap:14px}
.topbar-title{font-size:14px;font-weight:650;color:#1d2b38}.topbar-search{margin-left:auto;width:min(360px,35vw);position:relative}.topbar-search input{height:34px;width:100%;border:1px solid #d5dce2;border-radius:7px;padding:0 34px 0 32px;font-size:11px;background:#f8fafb}
.topbar-search svg{position:absolute;left:10px;top:9px;width:14px;height:14px;color:#768694}
.topbar-action{width:34px;height:34px;border-radius:7px;border:1px solid #d9e0e5;background:#fff;display:grid;place-items:center;color:#5b6875}.topbar-action svg{width:15px}

.page{padding:22px 24px 40px;max-width:1680px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.page-head h1{font-size:20px;margin:0;letter-spacing:-.025em}.page-head p{font-size:11px;color:var(--muted);margin:5px 0 0}
.page-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.breadcrumb{font-size:10px;color:#778594;margin-bottom:8px}.breadcrumb a{color:#456986}
.stats-row{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:9px;margin-bottom:16px}
.stat-card{background:#fff;border:1px solid var(--border);border-radius:8px;padding:13px 14px;min-width:0}.stat-card .label{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#758391;font-weight:700}
.stat-card .value{font-size:22px;letter-spacing:-.035em;font-weight:650;margin-top:5px;color:#202e3b}.stat-card .hint{font-size:9px;color:#8995a0;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-card.danger .value{color:var(--red)}.stat-card.warn .value{color:var(--amber)}.stat-card.good .value{color:var(--green)}

.panel{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.panel-head{min-height:47px;display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid var(--border);gap:12px}
.panel-head h2{font-size:12px;margin:0}.panel-head p{font-size:9px;color:var(--muted);margin:3px 0 0}.panel-body{padding:14px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.grid-main-side{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.72fr);gap:12px}
.toolbar{display:flex;align-items:center;gap:7px;padding:9px 11px;background:#fff;border:1px solid var(--border);border-radius:8px 8px 0 0;border-bottom:0;min-height:48px}
.search-box{position:relative;min-width:240px;flex:0 1 360px}.search-box input{width:100%;height:32px;border:1px solid #d2dae0;border-radius:6px;padding:0 10px 0 31px;font-size:11px}.search-box svg{position:absolute;left:9px;top:9px;width:13px;height:13px;color:#758391}
.filter-btn{height:32px;border:1px solid #d2dae0;background:#fff;border-radius:6px;padding:0 10px;font-size:10px;font-weight:600;color:#435363;display:flex;align-items:center;gap:6px}
.toolbar-spacer{flex:1}.result-count{font-size:10px;color:#778594}

.table-wrap{overflow:auto;border:1px solid var(--border);background:#fff}.toolbar+.table-wrap{border-radius:0 0 8px 8px}
.data-table{width:100%;border-collapse:collapse;font-size:10.5px;white-space:nowrap}.data-table th{height:34px;background:#f6f8fa;border-bottom:1px solid var(--border);padding:0 10px;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.045em;color:#667583;font-weight:700;position:sticky;top:0;z-index:1}
.data-table td{height:43px;border-bottom:1px solid #edf0f2;padding:5px 10px;color:#334250}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#f8fafb}.data-table .primary-cell{font-weight:600;color:#182633}.data-table .secondary{font-size:9px;color:#7b8995;margin-top:2px}
.checkbox{width:14px;height:14px;accent-color:var(--mwits)}
.status{display:inline-flex;align-items:center;gap:5px;font-size:9.5px;font-weight:600}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:#98a2ad}.status.online:before,.status.healthy:before{background:#2f9e66}.status.offline:before,.status.critical:before{background:#d64545}.status.warning:before{background:#d39922}
.pill{display:inline-flex;align-items:center;border:1px solid #dce2e7;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:600;background:#f8fafb;color:#566575}.pill.green{background:#f0faf5;color:#18794e;border-color:#ccebdc}.pill.red{background:#fff4f3;color:#a83228;border-color:#f0cbc7}.pill.amber{background:#fff9eb;color:#8d6209;border-color:#eeddb1}.pill.blue{background:#eff6ff;color:#175cd3;border-color:#cbdcf7}
.table-link{color:#174f84;font-weight:600}.table-link:hover{text-decoration:underline}.row-actions{display:flex;gap:4px;justify-content:flex-end}.icon-btn{width:28px;height:28px;border:1px solid #d9e0e5;background:#fff;border-radius:6px;display:grid;place-items:center;color:#5b6875}.icon-btn:hover{background:#f3f6f8;color:#174f84}.icon-btn svg{width:13px;height:13px}
.empty{padding:48px 20px;text-align:center;color:#7b8995}.empty svg{width:28px;height:28px;margin-bottom:9px;color:#aeb8c1}.empty strong{display:block;font-size:12px;color:#4d5b68;margin-bottom:4px}.empty span{font-size:10px}

.tabs{display:flex;gap:1px;border-bottom:1px solid var(--border);background:#fff;padding:0 13px;overflow-x:auto}.tab{height:40px;padding:0 11px;display:flex;align-items:center;gap:6px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:10px;font-weight:600;color:#647281;white-space:nowrap}.tab:hover{color:#2e4355}.tab.active{color:#174f84;border-bottom-color:#174f84}
.device-hero{background:#fff;border:1px solid var(--border);border-radius:8px;margin-bottom:12px}.device-main{padding:15px 16px;display:flex;align-items:center;gap:13px}.device-icon{width:42px;height:42px;border-radius:8px;background:#edf3f8;display:grid;place-items:center;color:#174f84}.device-icon svg{width:21px}.device-info h1{font-size:16px;margin:0}.device-info p{font-size:10px;color:#6f7e8b;margin:4px 0 0}.device-hero-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.device-meta{display:flex;gap:18px;padding:8px 16px;background:#f8fafb;border-top:1px solid var(--border);font-size:9.5px;color:#667583;overflow-x:auto}.device-meta strong{color:#334250;font-weight:600}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.detail-item{padding:9px 10px;border:1px solid #e5e9ed;border-radius:6px}.detail-item label{display:block;font-size:8.5px;text-transform:uppercase;letter-spacing:.05em;color:#7c8995;margin-bottom:3px}.detail-item strong{font-size:10.5px;color:#263543}
.chart-box{height:230px;width:100%}.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.metric{border:1px solid var(--border);border-radius:7px;padding:10px;background:#fff}.metric label{font-size:8px;color:#7e8a95;text-transform:uppercase;letter-spacing:.06em}.metric strong{display:block;font-size:17px;margin-top:3px}.metric small{font-size:8.5px;color:#84909a}

.modal-backdrop{position:fixed;inset:0;background:rgba(9,22,34,.42);z-index:80;display:grid;place-items:center;padding:20px}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.22)}.modal-head{padding:15px 17px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal-head h3{font-size:14px;margin:0}.modal-body{padding:17px}.modal-foot{padding:12px 17px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:7px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .span-2{grid-column:1/-1}.form-help{font-size:9px;color:#7d8994;margin-top:3px}
.alert-box{border:1px solid #e8d9b8;background:#fff9ed;color:#71550f;border-radius:7px;padding:10px 11px;font-size:10px;line-height:1.5}.security-box{border:1px solid #cfe0ef;background:#f3f8fc;color:#294b69;border-radius:7px;padding:10px 11px;font-size:10px;line-height:1.5}
.key-value{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid #edf0f2;font-size:10px}.key-value:last-child{border-bottom:0}.key-value dt{padding:8px 10px;color:#758391}.key-value dd{padding:8px 10px;margin:0;color:#2e3c49;font-weight:500}
.muted{color:var(--muted)}.text-danger{color:var(--red)}.text-good{color:var(--green)}.text-warn{color:var(--amber)}
.mt-12{margin-top:12px}.mb-12{margin-bottom:12px}.flex{display:flex}.items-center{align-items:center}.gap-6{gap:6px}.gap-8{gap:8px}.ml-auto{margin-left:auto}

@media(max-width:1100px){.stats-row{grid-template-columns:repeat(3,1fr)}.grid-main-side{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:780px){
  .auth-page{grid-template-columns:1fr}.auth-brand{display:none}.brand-mini{display:flex}.auth-panel{padding:24px}.auth-card{padding:26px}
  .shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-232px}.topbar{padding:0 14px}.topbar-search{display:none}.page{padding:15px}
  .stats-row{grid-template-columns:1fr 1fr}.grid-2,.grid-3,.detail-grid,.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}
  .device-main{align-items:flex-start;flex-wrap:wrap}.device-hero-actions{margin-left:55px}.metric-strip{grid-template-columns:1fr 1fr}
}

/* MWITS RMM authentication — intentionally restrained and operational */
.auth-simple-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
  background:#f3f5f7;
}
.auth-simple-card{
  width:min(410px,100%);
  background:#fff;
  border:1px solid #dfe4e8;
  border-radius:10px;
  box-shadow:0 14px 36px rgba(20,40,60,.08);
  padding:30px 32px 22px;
}
.auth-simple-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:22px;
  margin-bottom:24px;
  border-bottom:1px solid #e8ecef;
}
.auth-simple-brand img{
  width:46px;
  height:46px;
  object-fit:contain;
}
.auth-simple-brand strong{
  display:block;
  font-size:15px;
  line-height:1.2;
  color:#17212b;
}
.auth-simple-brand span{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:#71808d;
}
.auth-simple-heading{margin-bottom:22px}
.auth-simple-heading h1{
  margin:0;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.025em;
  color:#17212b;
}
.auth-simple-heading p{
  margin:6px 0 0;
  font-size:11.5px;
  line-height:1.5;
  color:#6f7d89;
}
.auth-simple-setup{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 11px;
  margin-bottom:16px;
  border:1px solid #d8e3ee;
  border-radius:7px;
  background:#f7fafc;
  font-size:10.5px;
  color:#405468;
}
.auth-simple-setup .secondary-btn{height:31px;white-space:nowrap}
.auth-simple-footer{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #edf0f2;
  text-align:center;
  font-size:9px;
  color:#8a96a0;
}
.auth-simple-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border-radius:7px;
  background:#eef4f8;
  color:#114580;
}
.auth-simple-icon svg{width:17px;height:17px}
.auth-passkey-btn{margin-top:10px}
.auth-qr{text-align:center;margin:0 0 18px}
.auth-qr img{width:180px;height:180px}
.auth-qr .form-help{margin-top:6px;word-break:break-all}
.auth-recovery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin:12px 0 18px;
  padding:12px;
  border:1px solid #dfe5ea;
  border-radius:7px;
  background:#f8fafb;
}
.auth-recovery code{font-size:10px}
@media(max-width:520px){
  .auth-simple-page{padding:16px}
  .auth-simple-card{padding:24px 22px 18px}
  .auth-simple-setup{align-items:flex-start;flex-direction:column}
  .auth-recovery{grid-template-columns:1fr}
}

/* 2026 technician-workspace maturity pass */
:root{
  --nav:#171717;
  --nav-2:#202020;
  --border:#d9dfe4;
  --bg:#f5f6f7;
}
body{font-size:13px}
.shell{grid-template-columns:252px minmax(0,1fr)}
.sidebar{background:#171717;color:#d0d3d6;border-right:1px solid #292929}
.sidebar-brand{height:74px;padding:0 18px;border-bottom-color:#2c2c2c}
.sidebar-brand img{width:40px;height:40px;border-radius:7px}
.sidebar-brand strong{font-size:14px}
.sidebar-brand span{font-size:11px;color:#8f969c}
.nav-scroll{padding:12px 10px 18px}
.nav-group{margin:16px 10px 7px;font-size:10px;color:#7f858b;letter-spacing:.1em}
.nav-item{height:40px;padding:0 11px;font-size:13px;border-radius:7px;color:#c2c6ca;gap:10px}
.nav-item svg{width:17px;height:17px;color:#8e969d}
.nav-item:hover{background:#232323;color:#fff}
.nav-item.active{background:#2a2a2a;color:#fff;box-shadow:inset 3px 0 0 #3d8bd1}
.nav-item.active svg{color:#75abe0}
.sidebar-bottom{padding:12px;border-top-color:#2c2c2c}
.avatar{width:34px;height:34px;font-size:11px;background:#303943}
.user-chip strong{font-size:12px;max-width:145px}
.user-chip span{font-size:10px}
.topbar{height:64px;padding:0 28px;background:#fff}
.topbar-title{font-size:15px}
.topbar-search{width:min(460px,38vw)}
.topbar-search input{height:38px;font-size:12px;background:#f7f8f9}
.topbar-search svg{top:11px;width:15px;height:15px}
.topbar-action{width:38px;height:38px}
.page{padding:28px 30px 48px;max-width:none;margin:0}
.page-head{margin-bottom:22px}
.page-head h1{font-size:25px;line-height:1.2}
.page-head p{font-size:13px;margin-top:6px}
.breadcrumb{font-size:11px;margin-bottom:9px}
.primary-btn,.secondary-btn,.danger-btn,.ghost-btn{height:40px;padding:0 15px;font-size:12.5px;border-radius:7px}
.stats-row{gap:12px;margin-bottom:20px}
.stat-card{padding:16px 17px;border-radius:9px}
.stat-card .label{font-size:10px}
.stat-card .value{font-size:27px;margin-top:7px}
.stat-card .hint{font-size:10.5px;margin-top:4px}
.panel{border-radius:9px}
.panel-head{min-height:54px;padding:11px 16px}
.panel-head h2{font-size:14px}
.panel-head p{font-size:11px;margin-top:4px}
.panel-body{padding:16px}
.grid-2,.grid-3,.grid-main-side{gap:14px}
.toolbar{min-height:54px;padding:10px 12px}
.search-box{min-width:280px;flex-basis:430px}
.search-box input{height:36px;font-size:12px;padding-left:34px}
.search-box svg{top:11px;width:14px;height:14px}
.filter-btn{height:36px;font-size:11px}
.result-count{font-size:11px}
.data-table{font-size:12px}
.data-table th{height:40px;padding:0 12px;font-size:10.5px;letter-spacing:.035em}
.data-table td{height:50px;padding:7px 12px}
.data-table .secondary{font-size:10.5px;margin-top:3px}
.status{font-size:11px}
.status:before{width:7px;height:7px}
.pill{padding:3px 8px;font-size:10.5px}
.compact-btn{height:30px;padding:0 10px;font-size:11px}
.tabs{padding:0 16px}
.tab{height:44px;padding:0 13px;font-size:11.5px}
.device-main{padding:18px}
.device-icon{width:48px;height:48px}
.device-icon svg{width:24px}
.device-info h1{font-size:19px}
.device-info p{font-size:11.5px}
.device-meta{padding:10px 18px;font-size:10.5px;gap:22px}
.detail-grid{gap:10px}
.detail-item{padding:11px 12px}
.detail-item label{font-size:9.5px}
.detail-item strong{font-size:12px}
.metric-strip{gap:10px}
.metric{padding:13px}
.metric label{font-size:9px}
.metric strong{font-size:20px}
.metric small{font-size:9.5px}
.chart-box{height:280px}
.modal{width:min(760px,calc(100vw - 40px))}
.modal-head{padding:17px 19px}
.modal-head h3{font-size:16px}
.modal-body{padding:19px}
.modal-foot{padding:13px 19px}
.field label{font-size:12.5px}
.input,.select{height:42px}
.textarea{min-height:110px}
.form-help{font-size:10px}
.alert-box,.security-box{font-size:11px;padding:11px 12px}
.key-value{font-size:11.5px}
.empty strong{font-size:13px}
.empty span{font-size:11px}

/* Installer workspace */
.installer-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:14px;margin-bottom:18px}
.installer-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.installer-card-head{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding-bottom:16px;border-bottom:1px solid #eceff1}
.installer-card-head h2{font-size:16px;margin:0}
.installer-card-head p{font-size:11px;color:#6c7883;margin:3px 0 0}
.platform-mark{width:42px;height:42px;border-radius:8px;background:#f0f3f6;display:grid;place-items:center;font-weight:700;font-size:16px;color:#344657}
.platform-mark.windows{background:#eef5fb;color:#1167a8}
.platform-mark.macos{background:#f2f2f2;color:#252525}
.platform-mark.linux{background:#fff6e8;color:#865a00}
.installer-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px 0}
.installer-meta>div{min-width:0}
.installer-meta span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;color:#818b94;margin-bottom:4px}
.installer-meta strong{display:block;font-size:11.5px;color:#293744;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.installer-actions{display:flex;gap:8px;flex-wrap:wrap}
.installer-actions .primary-btn,.installer-actions .secondary-btn{flex:1;min-width:140px}
.release-panel{margin-top:4px}
.release-panel code{font-size:10px}
.deployment-ready{display:flex;gap:10px;align-items:center;border:1px solid #cae4d6;background:#f4fbf7;color:#266044;border-radius:8px;padding:12px;margin-bottom:14px}
.deployment-ready svg{flex:0 0 auto}
.deployment-ready strong{display:block;font-size:12px}
.deployment-ready span{display:block;font-size:10.5px;margin-top:2px}
.installer-token{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}

/* Software catalogue */
.software-stats{grid-template-columns:repeat(4,minmax(160px,1fr))}
.software-detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.software-detail-summary span{border:1px solid #e2e7eb;border-radius:7px;padding:10px 12px;font-size:11px;color:#66737f}
.software-detail-summary strong{display:block;font-size:18px;color:#253442;margin-bottom:2px}
.software-device-table{max-height:470px}

@media(max-width:1250px){
  .installer-grid{grid-template-columns:1fr}
  .software-stats{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .shell{grid-template-columns:1fr}
  .sidebar{left:-252px}
  .page{padding:18px}
  .page-head h1{font-size:22px}
  .data-table{font-size:11.5px}
  .installer-meta{grid-template-columns:1fr}
  .software-detail-summary{grid-template-columns:1fr}
}

/* Operational console cohesion pass */
.main{background:#f3f4f6}
.topbar{box-shadow:none;border-bottom:1px solid #d9dee3}
.page{padding:26px 28px 46px}
.page-head{align-items:center;padding:0 2px 18px;margin-bottom:0}
.page-head h1{font-size:23px;font-weight:650;letter-spacing:-.025em}
.page-head p{max-width:760px;color:#66737f}
.panel,.stat-card,.device-hero,.installer-card{box-shadow:none}
.panel,.stat-card,.device-hero,.installer-card,.toolbar,.table-wrap{border-color:#d8dde2}
.panel{border-radius:6px}
.panel-head{background:#fbfbfc}
.panel-head h2{font-weight:650}
.stats-row{margin-top:2px}
.stat-card{border-radius:6px;background:#fff}
.stat-card .value{font-weight:650}
.toolbar{border-radius:6px 6px 0 0;background:#fff;position:relative}
.toolbar-select{height:36px!important;width:auto;min-width:160px;font-size:11.5px}
.toolbar+.table-wrap{border-radius:0 0 6px 6px}
.table-wrap{border-radius:6px}
.data-table thead th{background:#f6f7f8}
.data-table tbody tr{transition:background .1s ease}
.data-table tbody tr:hover{background:#f5f8fb}
.clickable-row{cursor:pointer}
.row-actions{gap:5px}
.selection-bar{display:flex;align-items:center;gap:8px;padding:9px 11px;margin-bottom:10px;background:#eef5fb;border:1px solid #c9dae9;border-radius:6px}
.selection-bar strong{font-size:11.5px;color:#244a6d;margin-right:4px}
.compact-btn{height:30px!important;padding:0 10px!important;font-size:10.5px!important}
.check-grid{display:flex;gap:16px;flex-wrap:wrap;min-height:38px;align-items:center;padding:0 2px}
.check-grid label,.toggle-line{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#344454;cursor:pointer}
.check-grid input,.toggle-line input,.permission-list input{accent-color:#114580}
.form-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e7eaed}
.form-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.form-section h4{margin:0 0 12px;font-size:11px;text-transform:uppercase;letter-spacing:.075em;color:#65727e}
.code-editor{min-height:330px!important;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;background:#111820;color:#e7edf3;border-color:#283746}
.code-area{font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.activity-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f2}
.activity-row:last-child{border-bottom:0}
.activity-row strong{display:block;font-size:11.5px}
.activity-row span{display:block;margin-top:3px;font-size:10px;color:#788591}
.permission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.permission-list label{display:flex;align-items:center;gap:8px;padding:8px 9px;border:1px solid #e0e5e9;border-radius:5px;background:#fafbfc;font-size:11px;cursor:pointer}
.staff-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));border:1px solid #d8dde2;border-radius:6px;background:#fff;margin-bottom:12px}
.staff-summary>div{padding:14px 16px;border-right:1px solid #e3e7ea}
.staff-summary>div:last-child{border-right:0}
.staff-summary strong{display:block;font-size:20px;color:#263645}
.staff-summary span{display:block;margin-top:2px;font-size:10px;color:#77848f}
.user-security-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:18px}
.user-security-strip span{padding:9px 10px;background:#f7f8f9;border:1px solid #e2e6e9;border-radius:5px;font-size:9.5px;color:#6d7984}
.user-security-strip strong{display:block;font-size:13px;color:#253442;margin-bottom:2px}
.admin-actions{display:flex;flex-wrap:wrap;gap:7px}
.truncate-cell{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.patch-stats{grid-template-columns:repeat(4,minmax(150px,1fr))}

/* Side drawers for complex endpoint workflows */
.drawer-backdrop{position:fixed;inset:0;z-index:90;background:rgba(11,20,28,.32);display:flex;justify-content:flex-end}
.drawer{height:100%;width:min(var(--drawer-width,720px),calc(100vw - 40px));background:#fff;border-left:1px solid #d6dce1;box-shadow:-18px 0 50px rgba(20,35,50,.13);display:flex;flex-direction:column;animation:drawerIn .16s ease-out}
@keyframes drawerIn{from{transform:translateX(22px);opacity:.75}to{transform:translateX(0);opacity:1}}
.drawer-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e1e5e8;background:#fbfbfc}
.drawer-head h2{font-size:16px;margin:0}
.drawer-head p{font-size:10.5px;color:#6e7b86;margin:4px 0 0;line-height:1.45}
.drawer-body{padding:20px;overflow:auto;flex:1}
.drawer-foot{display:flex;justify-content:flex-end;gap:7px;padding:13px 20px;border-top:1px solid #e1e5e8;background:#fbfbfc}

/* Reduce generic-card feel on operational pages */
.grid-main-side>.panel,.grid-2>.panel,.grid-3>.panel{border-radius:6px}
.grid-3>.panel .panel-body{min-height:72px}
.device-hero{border-radius:6px}
.installer-card{border-radius:6px}
.installer-card-head{padding-bottom:13px}
.installer-card h2{font-weight:650}
.installer-card .primary-btn,.installer-card .secondary-btn{border-radius:5px}
.modal{border-radius:7px}
.modal-head{background:#fbfbfc}
.icon-btn{border-radius:5px}
.input,.select,.textarea{border-radius:5px}
.primary-btn,.secondary-btn,.danger-btn,.ghost-btn{border-radius:5px}
.status,.pill{letter-spacing:0}
@media(max-width:1000px){
  .staff-summary,.user-security-strip{grid-template-columns:repeat(2,1fr)}
  .permission-list{grid-template-columns:1fr}
}

/* RMM console maturity pass — operational, flat, dense, restrained */
:root{
  --mwits:#114580;
  --mwits-dark:#0c3969;
  --nav:#17191c;
  --nav-hover:#22262a;
  --nav-active:#272c31;
  --bg:#f2f4f6;
  --panel:#ffffff;
  --border:#d9dee3;
  --border-strong:#c9d0d6;
  --muted:#667482;
  --text:#1d2935;
}
body{background:var(--bg);color:var(--text);letter-spacing:-.005em}
.main{background:var(--bg)}
.shell{grid-template-columns:244px minmax(0,1fr)}
.sidebar{background:var(--nav);box-shadow:none}
.sidebar-brand{height:64px;padding:0 15px}
.sidebar-brand img{width:35px;height:35px;border-radius:5px;box-shadow:none}
.sidebar-brand strong{font-size:13px;letter-spacing:-.01em}
.sidebar-brand span{font-size:9.5px}
.nav-scroll{padding:8px 8px 16px}
.nav-group{font-size:9px;margin:15px 10px 5px;letter-spacing:.12em}
.nav-item{height:36px;border-radius:4px;padding:0 10px;font-size:11.5px}
.nav-item:hover{background:var(--nav-hover)}
.nav-item.active{background:var(--nav-active);box-shadow:inset 2px 0 0 #4f96d2}
.nav-item.active svg{color:#7fb4df}
.sidebar-bottom{padding:8px}
.user-chip{border-radius:4px}
.topbar{height:56px;padding:0 24px;border-bottom:1px solid #dfe3e7;box-shadow:0 1px 0 rgba(12,27,42,.02)}
.topbar-title{font-size:13px}
.topbar-search input{height:32px;border-radius:4px;background:#f7f8f9}
.topbar-action{width:32px;height:32px;border-radius:4px}
.page{padding:24px 28px 44px}
.page-head{align-items:center;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #dde2e6}
.page-head h1{font-size:22px;font-weight:650}
.page-head p{font-size:11.5px;color:#6c7985}
.page-actions{gap:6px}
.primary-btn,.secondary-btn,.danger-btn,.ghost-btn{height:34px;border-radius:4px;padding:0 11px;font-size:11px}
.primary-btn{box-shadow:0 1px 1px rgba(12,57,105,.12)}
.icon-btn{border-radius:4px}
.panel,.stat-card,.device-hero{border-radius:5px;box-shadow:0 1px 1px rgba(20,35,50,.025)}
.panel-head{min-height:48px;padding:10px 13px}
.panel-head h2{font-size:12.5px}
.panel-head p{font-size:9.5px}
.panel-body{padding:13px}
.stats-row{gap:8px;margin-bottom:14px}
.stat-card{padding:11px 13px}
.stat-card .label{font-size:8.5px}
.stat-card .value{font-size:22px;margin-top:4px}
.stat-card .hint{font-size:8.5px}
.toolbar{min-height:44px;padding:6px 8px;border-radius:5px 5px 0 0;background:#fff}
.search-box{min-width:260px;flex-basis:380px}
.search-box input{height:31px;border-radius:4px;font-size:10.5px}
.search-box svg{top:9px}
.toolbar-select{height:31px!important;width:auto;min-width:150px;max-width:205px;font-size:10.5px!important}
.filter-btn{height:31px;border-radius:4px;font-size:10px}
.table-wrap{border-color:#dce1e5}
.data-table{font-size:10.75px}
.data-table th{height:34px;padding:0 10px;font-size:8.8px;background:#f7f8f9;color:#606d79;border-bottom-color:#d9dee3}
.data-table td{height:43px;padding:5px 10px}
.data-table tbody tr:hover{background:#f7fafc}
.data-table .secondary{font-size:9px}
.table-link{color:#155a94}
.pill{border-radius:3px;padding:2px 6px;font-size:9px}
.status{font-size:9.5px}
.compact-btn{height:27px!important;padding:0 8px!important;font-size:9.5px!important}
.selection-bar{
  min-height:43px;display:flex;align-items:center;gap:7px;padding:6px 9px;margin-bottom:8px;
  background:#edf4fa;border:1px solid #cbddeb;border-radius:5px;font-size:10.5px;
}
.selection-bar strong{margin-right:3px;color:#234864}
.clickable-row{cursor:pointer}
.clickable-row:hover td{background:#f3f7fa}
.row-actions{gap:3px}
.device-main{padding:13px 14px}
.device-icon{width:39px;height:39px;border-radius:5px}
.device-info h1{font-size:16px}
.device-info p{font-size:9.5px}
.device-meta{padding:7px 14px;font-size:9px;background:#f8f9fa}
.tabs{padding:0 10px}
.tab{height:37px;font-size:9.8px;padding:0 10px}
.metric-strip{gap:7px}
.metric{padding:9px 10px;border-radius:4px}
.metric strong{font-size:17px}
.chart-box{height:250px}
.detail-item{border-radius:4px;padding:8px 9px}
.modal{border-radius:6px}
.drawer-backdrop{
  position:fixed;inset:0;background:rgba(12,20,28,.30);z-index:95;display:flex;justify-content:flex-end;
}
.drawer{
  width:min(var(--drawer-width,720px),calc(100vw - 34px));height:100vh;background:#fff;
  box-shadow:-14px 0 36px rgba(20,30,40,.15);display:flex;flex-direction:column;animation:drawerIn .16s ease-out;
}
@keyframes drawerIn{from{transform:translateX(24px);opacity:.7}to{transform:translateX(0);opacity:1}}
.drawer-head{min-height:68px;padding:15px 18px;border-bottom:1px solid #dfe3e7;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.drawer-head h2{font-size:16px;margin:0;font-weight:650}
.drawer-head p{font-size:10px;line-height:1.45;color:#687683;margin:4px 0 0}
.drawer-body{padding:18px;overflow:auto;flex:1;background:#fafbfc}
.drawer-foot{padding:10px 14px;border-top:1px solid #dfe3e7;background:#fff;display:flex;justify-content:flex-end;gap:6px}
.form-section{background:#fff;border:1px solid #dde2e6;border-radius:5px;padding:14px;margin-bottom:12px}
.form-section>h3{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#52616e;margin:0 0 12px}
.form-grid{gap:10px}
.field{gap:5px;margin-bottom:10px}
.field label{font-size:10.5px;color:#344453}
.input,.select{height:35px;border-radius:4px;font-size:11px}
.textarea{border-radius:4px;font-size:11px;min-height:92px}
.form-help{font-size:8.8px}
.script-editor{min-height:330px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.55;background:#14191f;color:#dce7ef;border-color:#2b333b;padding:13px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.choice-row{display:flex;flex-wrap:wrap;gap:6px}
.choice-stack{display:grid;gap:6px;margin-bottom:12px}
.choice-stack.compact{max-height:220px;overflow:auto;border-top:1px solid #edf0f2;padding-top:8px}
.check-card{display:flex;align-items:center;gap:7px;border:1px solid #dce2e7;background:#fff;border-radius:4px;padding:8px 10px;font-size:10px}
.check-card.wide{align-items:flex-start}
.check-card input{accent-color:var(--mwits)}
.check-card span{display:grid;gap:2px}
.check-card small{font-size:8.8px;color:#7a8792}
.toggle-row{display:flex;gap:9px;padding:10px;border:1px solid #dce2e7;border-radius:4px;background:#f8fafb;margin:9px 0}
.toggle-row input{accent-color:var(--mwits)}
.toggle-row span{display:grid;gap:2px}
.toggle-row strong{font-size:10px}
.toggle-row small{font-size:8.8px;color:#74818c}
.security-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}
.security-grid>div{border:1px solid #e0e5e9;border-radius:4px;padding:9px;background:#fbfcfd}
.security-grid span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#7a8791;margin-bottom:3px}
.security-grid strong{font-size:11px}
.action-block{display:grid;grid-template-columns:1fr auto auto;align-items:end;gap:7px}
.danger-section{border-color:#ecd1ce;background:#fffafa}
.danger-actions{display:flex;justify-content:space-between;gap:8px}
.role-summary,.activity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f2}
.role-summary:last-child,.activity-row:last-child{border-bottom:0}
.role-summary strong,.activity-row strong{display:block;font-size:10.5px}
.role-summary span,.activity-row span{display:block;font-size:8.8px;color:#77848f;margin-top:2px}
.installer-grid{gap:8px;margin-bottom:12px}
.installer-card{border-radius:5px;padding:13px;box-shadow:none}
.installer-card-head{grid-template-columns:34px 1fr auto;gap:9px;padding-bottom:11px}
.installer-card-head h2{font-size:13px}
.installer-card-head p{font-size:9px}
.platform-mark{width:34px;height:34px;border-radius:4px;font-size:13px}
.installer-meta{padding:11px 0;gap:6px}
.installer-meta span{font-size:7.8px}
.installer-meta strong{font-size:9.7px}
.software-detail-summary{gap:6px}
.software-detail-summary span{border-radius:4px;padding:8px 9px;font-size:9px}
.software-detail-summary strong{font-size:15px}
.truncate-cell{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
@media(max-width:1000px){
  .action-block{grid-template-columns:1fr}
  .security-grid{grid-template-columns:1fr}
}
.auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:#8a96a0;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e5e9ec;flex:1}
.auth-passkey-login{justify-content:center}

/* Notification centre */
.notification-centre{position:relative}
.notification-button{position:relative}
.notification-badge{position:absolute;right:-4px;top:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#c9362b;color:#fff;border:2px solid #fff;font-size:8px;font-weight:700;display:grid;place-items:center}
.notification-popover{position:absolute;right:0;top:42px;width:min(410px,calc(100vw - 24px));max-height:min(650px,calc(100vh - 78px));display:flex;flex-direction:column;background:#fff;border:1px solid #d7dde2;border-radius:7px;box-shadow:0 18px 44px rgba(18,28,38,.18);z-index:120;overflow:hidden}
.notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-bottom:1px solid #e3e7ea}
.notification-head strong{display:block;font-size:12px}
.notification-head span{display:block;font-size:9px;color:#7b8791;margin-top:2px}
.notification-device{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f9fa;border-bottom:1px solid #e4e8eb}
.notification-device-copy{display:flex;align-items:center;gap:8px;min-width:0}
.notification-device-copy>svg{width:15px;height:15px;color:#114580}
.notification-device-copy strong{display:block;font-size:10px}
.notification-device-copy span{display:block;font-size:8.7px;color:#7b8791;margin-top:1px}
.notification-message{padding:7px 11px;font-size:9px;color:#305570;background:#edf6fb;border-bottom:1px solid #d8e8f2}
.notification-list{overflow:auto;min-height:120px}
.notification-row{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 15px;gap:9px;align-items:start;text-align:left;padding:11px 12px;border:0;border-bottom:1px solid #edf0f2;background:#fff;cursor:pointer}
.notification-row:hover{background:#f7fafc}
.notification-row.unread{background:#f5f9fc}
.notification-severity{width:28px;height:28px;border-radius:5px;display:grid;place-items:center;background:#eef3f6;color:#526675}
.notification-severity svg{width:13px;height:13px}
.notification-severity.warning{background:#fff4df;color:#9a6300}
.notification-severity.critical{background:#fff0ef;color:#b12d26}
.notification-copy{min-width:0}
.notification-copy strong{display:block;font-size:10.5px;color:#263643;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-copy span{display:block;font-size:9.4px;line-height:1.4;color:#66737f;margin-top:2px}
.notification-copy small{display:block;font-size:8px;color:#919ba3;margin-top:4px;text-transform:capitalize}
.notification-chevron{width:13px;height:13px;color:#9aa4ac;margin-top:5px}
.notification-empty{display:grid;place-items:center;text-align:center;padding:34px 20px;color:#8a959e}
.notification-empty svg{width:22px;height:22px;margin-bottom:8px}
.notification-empty strong{font-size:10.5px;color:#5b6873}
.notification-empty span{font-size:9px;margin-top:2px}
.mobile-menu-btn,.mobile-nav-close,.mobile-nav-backdrop{display:none}

/* Mobile-first RMM adjustments */
@media(max-width:780px){
  .shell{display:block;min-height:100vh}
  .sidebar{position:fixed;top:0;bottom:0;left:0;width:268px;z-index:160;transform:translateX(-100%);transition:transform .18s ease;box-shadow:10px 0 28px rgba(13,22,30,.24)}
  .sidebar.mobile-open{transform:translateX(0)}
  .mobile-nav-backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(11,18,24,.42);z-index:150}
  .mobile-nav-close{display:grid;place-items:center;margin-left:auto;width:30px;height:30px;border:0;border-radius:4px;background:#25292d;color:#c8d0d6}
  .mobile-nav-close svg{width:15px;height:15px}
  .main{min-width:0}
  .topbar{height:52px;padding:0 12px;gap:8px;position:sticky;top:0;z-index:80}
  .mobile-menu-btn{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dce2e6;background:#fff;border-radius:4px;color:#334553}
  .mobile-menu-btn svg{width:17px;height:17px}
  .topbar-title{font-size:12px;white-space:nowrap}
  .topbar-search{display:none}
  .notification-centre{margin-left:auto}
  .notification-popover{position:fixed;right:8px;top:58px;width:calc(100vw - 16px);max-height:calc(100vh - 66px)}
  .page{padding:14px 12px 28px}
  .page-head{align-items:flex-start;gap:10px;flex-direction:column;padding-bottom:12px;margin-bottom:12px}
  .page-head h1{font-size:19px}
  .page-head p{font-size:10.5px;line-height:1.45}
  .page-actions{width:100%;display:flex;overflow-x:auto;padding-bottom:2px}
  .page-actions>*{flex:0 0 auto}
  .stats-row,.software-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}
  .stat-card{min-width:0}
  .stat-card .value{font-size:18px}
  .grid-2,.grid-3,.grid-main-side{grid-template-columns:1fr!important;gap:8px}
  .toolbar{align-items:stretch;flex-direction:column;border-radius:5px;padding:7px}
  .search-box{min-width:0;flex-basis:auto;width:100%}
  .toolbar>.toolbar-select,.toolbar>.filter-btn{width:100%;max-width:none}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .data-table{min-width:720px}
  .data-table td,.data-table th{white-space:nowrap}
  .installer-grid{grid-template-columns:1fr}
  .installer-actions{flex-direction:column}
  .installer-actions>*{width:100%}
  .drawer{width:100vw!important;max-width:none}
  .drawer-head{min-height:60px;padding:12px 14px}
  .drawer-body{padding:12px}
  .drawer-foot{padding:9px 10px;position:sticky;bottom:0}
  .form-section{padding:11px;margin-bottom:8px}
  .form-grid{grid-template-columns:1fr!important}
  .span-2{grid-column:auto!important}
  .security-grid{grid-template-columns:1fr}
  .action-block{grid-template-columns:1fr}
  .device-hero{border-radius:5px}
  .device-main{align-items:flex-start;flex-direction:column;gap:10px}
  .device-hero-actions{width:100%;display:flex;overflow-x:auto}
  .device-hero-actions>*{flex:0 0 auto}
  .device-meta{overflow-x:auto;white-space:nowrap}
  .tabs{overflow-x:auto;white-space:nowrap}
  .tab{flex:0 0 auto}
  .metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .software-detail-summary{grid-template-columns:1fr}
  .auth-simple-page{padding:14px;background:#f1f3f5}
  .auth-simple-card{width:100%;max-width:430px;padding:22px 18px 18px}
}

/* Mobile app refinement + push onboarding */
.mobile-bottom-nav,.mobile-endpoint-list,.mobile-alert-list{display:none}
.push-onboarding-backdrop{position:fixed;inset:0;z-index:220;background:rgba(10,18,26,.52);display:flex;align-items:flex-end;justify-content:center;padding:20px}
.push-onboarding-sheet{position:relative;width:min(440px,100%);background:#fff;border-radius:14px;padding:24px 20px 18px;box-shadow:0 24px 70px rgba(8,18,28,.28);text-align:left}
.push-onboarding-close{position:absolute;right:12px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f0f3f5;color:#54616c;display:grid;place-items:center}
.push-onboarding-close svg{width:16px;height:16px}
.push-onboarding-icon{width:46px;height:46px;border-radius:12px;background:#eaf2f9;color:#114580;display:grid;place-items:center;margin-bottom:14px}
.push-onboarding-icon svg{width:23px;height:23px}
.push-onboarding-sheet h2{font-size:20px;line-height:1.2;margin:0 36px 8px 0;letter-spacing:-.02em}
.push-onboarding-sheet>p{font-size:12px;line-height:1.55;color:#65727e;margin:0 0 15px}
.push-onboarding-points{display:grid;gap:8px;margin:0 0 16px}
.push-onboarding-points span{display:flex;align-items:center;gap:9px;font-size:11px;color:#394956}
.push-onboarding-points svg{width:15px;height:15px;color:#114580;flex:0 0 auto}
.push-onboarding-enable{height:44px!important;font-size:13px!important;margin-top:4px}
.onboarding-message{border:1px solid #d8e8f2;border-radius:5px;margin-bottom:10px}

@media(max-width:780px){
  html,body,#root{min-height:100dvh}
  body{overscroll-behavior-y:none}
  .main{padding-bottom:calc(67px + env(safe-area-inset-bottom))}
  .topbar{
    height:calc(54px + env(safe-area-inset-top));
    padding-top:env(safe-area-inset-top);
    padding-left:10px;padding-right:10px;
    background:#fff;
  }
  .topbar-title{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 116px)}
  .topbar-action,.mobile-menu-btn{width:38px;height:38px;border-radius:8px}
  .topbar-action svg,.mobile-menu-btn svg{width:18px;height:18px}
  .sidebar{padding-top:env(safe-area-inset-top);width:min(86vw,312px)}
  .sidebar-brand{height:62px}
  .nav-item{height:44px;font-size:13px;border-radius:7px;margin:2px 0}
  .nav-item svg{width:18px;height:18px}
  .nav-group{margin-top:18px;font-size:9px}
  .sidebar-bottom{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .user-chip{min-height:50px}

  .mobile-bottom-nav{
    position:fixed;left:0;right:0;bottom:0;z-index:90;
    display:grid;grid-template-columns:repeat(4,1fr);
    height:calc(62px + env(safe-area-inset-bottom));
    padding:5px 7px env(safe-area-inset-bottom);
    background:rgba(255,255,255,.98);
    border-top:1px solid #d8dee3;
    box-shadow:0 -5px 18px rgba(24,38,50,.07);
  }
  .mobile-bottom-item{
    border:0;background:transparent;color:#6f7b85;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    font-size:9px;font-weight:600;border-radius:8px;min-width:0;
  }
  .mobile-bottom-item svg{width:20px;height:20px}
  .mobile-bottom-item.active{color:#114580;background:#edf4fa}

  .page{padding:14px 10px 22px;max-width:none}
  .page-head{padding-bottom:11px;margin-bottom:11px}
  .page-head h1{font-size:20px}
  .page-head p{font-size:11px;line-height:1.45}
  .page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible}
  .page-actions>*{width:100%;min-width:0;height:42px;white-space:nowrap}
  .page-actions>:only-child{grid-column:1/-1}
  .primary-btn,.secondary-btn,.danger-btn,.ghost-btn{min-height:40px;border-radius:7px;font-size:11.5px}
  .compact-btn{min-height:34px!important}

  .stats-row,.software-stats,.patch-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .stat-card{padding:12px;border-radius:8px}
  .stat-card .label{font-size:9px}
  .stat-card .value{font-size:22px}
  .stat-card .hint{font-size:9px;line-height:1.35}

  .panel{border-radius:8px}
  .panel-head{padding:12px}
  .panel-head h2{font-size:13px}
  .panel-head p{font-size:10px;line-height:1.4}
  .panel-body{padding:10px}

  .toolbar{gap:7px;margin-bottom:8px;border:1px solid #dce1e5;border-radius:8px}
  .search-box input{height:42px;font-size:12px;padding-left:36px}
  .search-box svg{top:13px;left:11px;width:16px;height:16px}
  .toolbar>.toolbar-select,.toolbar>.filter-btn{height:42px!important;font-size:11.5px!important;border-radius:7px}
  .result-count{align-self:flex-end;font-size:10px;padding:2px 2px}

  .selection-bar{position:sticky;top:58px;z-index:60;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border-radius:8px}
  .selection-bar strong{grid-column:1/-1}
  .selection-bar button{width:100%}

  .desktop-endpoint-table,.desktop-alert-table{display:none!important}
  .mobile-endpoint-list,.mobile-alert-list{display:grid;gap:8px}
  .mobile-endpoint-card{
    background:#fff;border:1px solid #dbe1e6;border-radius:10px;padding:12px;
    box-shadow:0 1px 2px rgba(21,36,49,.035);
  }
  .mobile-endpoint-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
  .mobile-endpoint-identity{display:flex;align-items:center;gap:10px;min-width:0}
  .mobile-endpoint-icon{width:34px;height:34px;border-radius:8px;background:#edf3f8;color:#114580;display:grid;place-items:center;flex:0 0 auto}
  .mobile-endpoint-icon svg{width:17px;height:17px}
  .mobile-endpoint-identity strong{display:block;font-size:13px;color:#213240;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-endpoint-identity span{display:block;font-size:9.5px;color:#75828d;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-endpoint-os{font-size:10.5px;color:#3d4d59;margin:10px 0 8px;padding-top:8px;border-top:1px solid #edf0f2}
  .mobile-endpoint-os span{color:#8a949c;margin-left:5px}
  .mobile-endpoint-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
  .mobile-endpoint-metrics>div{background:#f7f9fa;border-radius:6px;padding:7px 5px;text-align:center}
  .mobile-endpoint-metrics span{display:block;font-size:7.5px;text-transform:uppercase;letter-spacing:.05em;color:#84909a}
  .mobile-endpoint-metrics strong{display:block;font-size:12px;color:#293944;margin-top:2px}
  .mobile-endpoint-metrics strong.attention{color:#a35700}
  .mobile-endpoint-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px;margin-top:8px;border-top:1px solid #edf0f2;font-size:9px;color:#7b8790}
  .mobile-endpoint-foot label{display:flex;align-items:center;gap:6px;color:#4a5965;font-size:10px}

  .mobile-alert-card{display:block;background:#fff;border:1px solid #dfe4e8;border-radius:8px;padding:11px}
  .mobile-alert-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
  .mobile-alert-card-head>div{min-width:0}
  .mobile-alert-card-head strong{display:block;font-size:11px;color:#273743}
  .mobile-alert-card-head span{display:block;font-size:9px;color:#77838e;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-alert-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:9px;padding-top:8px;border-top:1px solid #edf0f2;font-size:9px;color:#114580}

  .table-wrap{border-radius:8px}
  .data-table{min-width:640px}
  .data-table td{height:46px}
  .row-actions{gap:5px}
  .row-actions .icon-btn{width:36px;height:36px}
  .row-actions .secondary-btn,.row-actions .danger-btn{min-height:36px}

  .device-main{padding:12px}
  .device-info h1{font-size:18px}
  .device-info p{font-size:10.5px}
  .device-hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;gap:6px}
  .device-hero-actions>*{width:100%;min-width:0}
  .device-meta{padding:9px 12px}
  .tabs{margin:0 -1px;padding:0 4px;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tab{height:44px;font-size:10.5px;padding:0 12px}
  .metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .metric{padding:11px}
  .detail-grid{grid-template-columns:1fr!important}

  .modal-backdrop{align-items:flex-end;padding:0}
  .modal{
    width:100%!important;max-width:none!important;max-height:92dvh;
    border-radius:14px 14px 0 0!important;margin:0;
    box-shadow:0 -18px 50px rgba(13,25,36,.22);
  }
  .modal-head{padding:14px 14px 10px}
  .modal-head h3{font-size:16px}
  .modal-body{padding:12px 14px;overflow:auto}
  .modal-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .modal-foot>*{width:100%;min-height:42px}
  .drawer{height:100dvh}
  .drawer-head{padding-top:calc(12px + env(safe-area-inset-top))}
  .drawer-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .input,.select{height:44px;font-size:12px}
  .textarea{font-size:12px;min-height:110px}
  .field label{font-size:11px}
  .form-help{font-size:9.5px}
  .check-card{min-height:42px;padding:10px;font-size:11px}
  .script-editor,.code-editor{min-height:260px}

  .notification-popover{
    inset:auto 0 calc(62px + env(safe-area-inset-bottom)) 0;
    width:100%;max-height:72dvh;border-radius:14px 14px 0 0;
    border-left:0;border-right:0;border-bottom:0;
  }
  .notification-head{padding:14px}
  .notification-device{padding:12px}
  .notification-row{padding:13px 12px;grid-template-columns:34px minmax(0,1fr) 16px}
  .notification-severity{width:32px;height:32px}
  .notification-copy strong{font-size:11px}
  .notification-copy span{font-size:10px}
  .notification-copy small{font-size:8.5px}

  .push-onboarding-backdrop{padding:0;align-items:flex-end}
  .push-onboarding-sheet{
    width:100%;max-width:none;border-radius:16px 16px 0 0;
    padding:24px 18px calc(16px + env(safe-area-inset-bottom));
  }
  .push-onboarding-sheet h2{font-size:21px}
  .push-onboarding-sheet>p{font-size:12.5px}
  .push-onboarding-points span{font-size:11.5px}
}

@media(max-width:390px){
  .page-actions{grid-template-columns:1fr}
  .stats-row,.software-stats,.patch-stats{grid-template-columns:1fr 1fr!important}
  .mobile-endpoint-metrics{grid-template-columns:repeat(2,1fr)}
  .device-hero-actions{grid-template-columns:1fr!important}
}

/* Network deployment */
.network-deploy-mobile-list{display:none}
.deployment-model{display:grid;gap:10px}
.deployment-model>div{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f2}
.deployment-model>div:last-child{border-bottom:0}
.deployment-model svg{width:17px;height:17px;color:#114580;margin-top:1px;flex:0 0 auto}
.deployment-model span{display:grid;gap:2px}
.deployment-model strong{font-size:10.5px}
.deployment-model small{font-size:9px;color:#74818c;line-height:1.4}
.deployment-ready{text-align:left}
.deployment-ready-icon{width:48px;height:48px;border-radius:12px;background:#e9f5ee;color:#2d7a4b;display:grid;place-items:center;margin-bottom:12px}
.deployment-ready-icon svg{width:24px;height:24px}
.deployment-ready h3{font-size:16px;margin:0 0 6px}
.deployment-ready p{font-size:11px;line-height:1.5;color:#687580;margin:0 0 14px}
.token-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:10px;border:1px solid #d8dfe4;border-radius:5px;background:#f7f9fa;margin-bottom:10px}
.token-box code{overflow-wrap:anywhere;font-size:10px}
.deployment-downloads{display:flex;gap:7px;margin-bottom:12px}

@media(max-width:780px){
  .network-deploy-table{display:none!important}
  .network-deploy-mobile-list{display:grid;gap:8px}
  .network-deploy-card{background:#fff;border:1px solid #dce2e6;border-radius:10px;padding:12px}
  .network-deploy-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
  .network-deploy-card-head>div{min-width:0}
  .network-deploy-card-head strong{display:block;font-size:13px;color:#253542;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .network-deploy-card-head span{display:block;font-size:9.5px;color:#7a8791;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .network-deploy-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
  .network-deploy-card-meta>span{background:#f7f9fa;border-radius:6px;padding:7px;font-size:8px;text-transform:uppercase;color:#84909a}
  .network-deploy-card-meta strong{display:block;margin-top:2px;font-size:10.5px;text-transform:none;color:#344451;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .network-deploy-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-top:8px;border-top:1px solid #edf0f2}
  .network-deploy-card-actions>*{width:100%;min-width:0}
  .token-box{grid-template-columns:1fr}
  .token-box button{width:100%}
  .deployment-downloads{display:grid}
  .deployment-downloads>*{width:100%}
}

/* Endpoint Protection */
.endpoint-protection-banner{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;margin-bottom:12px;border:1px solid #cbddeb;background:#edf4fa;border-radius:6px}
.endpoint-protection-banner svg{width:18px;height:18px;color:#114580;flex:0 0 auto;margin-top:1px}
.endpoint-protection-banner strong{display:block;font-size:10.5px;color:#2d475c}
.endpoint-protection-banner span{display:block;font-size:9.5px;color:#667785;line-height:1.45;margin-top:2px}
.endpoint-protection-mobile-list{display:none}
.protection-policy-card{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f2}
.protection-policy-card:last-child{border-bottom:0}
.protection-policy-card strong{display:block;font-size:10.5px}
.protection-policy-card span{display:block;font-size:9px;color:#74818c;line-height:1.4;margin-top:2px}
.protection-detail-hero{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #dce2e6;border-radius:6px;margin-bottom:12px}
.protection-detail-hero>div:last-child strong{display:block;font-size:16px}
.protection-detail-hero>div:last-child span{display:block;font-size:10px;color:#6d7a85;margin-top:3px}
.protection-shield{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#e9f5ee;color:#2b7a49}
.protection-shield.attention{background:#fdecea;color:#b34b3c}
.protection-shield.unreported{background:#fff1de;color:#a86100}
.protection-shield.comanaged{background:#eaf2f9;color:#114580}
.protection-shield svg{width:22px;height:22px}
.security-action-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:12px}
.security-action-grid button{justify-content:center;min-width:0}
.protection-component-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.security-event-list{display:grid}
.security-event-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f2}
.security-event-row:last-child{border-bottom:0}
.security-event-row strong{display:block;font-size:10.5px}
.security-event-row span{display:block;font-size:9px;color:#7b8791;margin-top:2px}

@media(max-width:780px){
  .endpoint-protection-table{display:none!important}
  .endpoint-protection-mobile-list{display:grid;gap:8px}
  .endpoint-protection-card{background:#fff;border:1px solid #dce2e6;border-radius:10px;padding:12px}
  .endpoint-protection-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
  .endpoint-protection-card-head>div{min-width:0}
  .endpoint-protection-card-head strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .endpoint-protection-card-head span{display:block;font-size:9.5px;color:#77848e;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .endpoint-protection-score{display:flex;align-items:center;justify-content:space-between;margin:10px 0;padding:8px 0;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2}
  .endpoint-protection-score span{font-size:9px;color:#7b8791}
  .endpoint-protection-score strong{font-size:18px;color:#114580}
  .endpoint-protection-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .endpoint-protection-features>span{display:grid;gap:4px;font-size:8.5px;color:#6f7d87}
  .security-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .security-action-grid button:last-child{grid-column:1/-1}
  .protection-component-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .security-event-row{padding:11px 0}
}

/* Global RMM search */
.global-search{margin-left:auto;width:min(440px,38vw);position:relative}
.global-search>input{height:38px;width:100%;border:1px solid #d5dce2;border-radius:6px;padding:0 36px 0 34px;font-size:11.5px;background:#f7f9fa;color:#20313e;outline:none}
.global-search>input:focus{border-color:#8cb1ce;background:#fff;box-shadow:0 0 0 2px rgba(17,69,128,.08)}
.global-search-icon{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#748592;z-index:2}
.global-search-clear{position:absolute;right:7px;top:7px;width:24px;height:24px;border:0;background:transparent;color:#82909b;display:grid;place-items:center;border-radius:4px}
.global-search-clear:hover{background:#e9edf0;color:#334652}
.global-search-clear svg{width:13px;height:13px}
.global-search-results{position:absolute;left:0;right:0;top:44px;background:#fff;border:1px solid #d7dde2;border-radius:8px;box-shadow:0 14px 35px rgba(20,36,49,.16);z-index:160;max-height:480px;overflow:auto}
.global-search-head{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-bottom:1px solid #edf0f2;font-size:8.5px;text-transform:uppercase;letter-spacing:.08em;color:#798792}
.global-search-head small{font-size:8px;text-transform:none;letter-spacing:0}
.global-search-row{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;border:0;border-bottom:1px solid #f0f2f4;background:#fff;padding:9px 10px;color:#273844}
.global-search-row:last-child{border-bottom:0}
.global-search-row:hover,.global-search-row.active{background:#f1f6fa}
.global-search-mark{width:28px;height:28px;border-radius:6px;background:#edf3f8;color:#114580;display:grid;place-items:center}
.global-search-mark svg{width:14px;height:14px}
.global-search-copy{min-width:0}
.global-search-copy strong{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-copy span{display:block;font-size:8.8px;color:#78858f;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-type{font-size:7.5px;text-transform:uppercase;letter-spacing:.05em;color:#778590;border:1px solid #dfe4e8;border-radius:999px;padding:3px 6px}
.global-search-empty{padding:22px;text-align:center;font-size:10px;color:#77848e}

@media(max-width:780px){.global-search{display:none}}

/* Jobs */
.form-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.form-section-head h3{margin:0}
.form-section-head p{margin:2px 0 0;font-size:9px;color:#7a8791}
.job-action-list{display:grid;gap:8px}
.job-action-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #dce2e6;background:#fff;border-radius:7px;padding:10px}
.job-action-order{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf3f8;color:#114580;font-size:10px;font-weight:700;margin-top:17px}
.job-action-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.job-action-controls{display:flex;gap:4px;margin-top:17px}
.job-action-controls .icon-btn{width:28px;height:28px}
.job-action-controls .icon-btn svg{width:13px;height:13px}
.job-action-controls .icon-btn.danger{color:#a6463b}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
@media(max-width:780px){
  .job-action-card{grid-template-columns:28px minmax(0,1fr)}
  .job-action-fields{grid-template-columns:1fr}
  .job-action-controls{grid-column:1/-1;justify-content:flex-end;margin-top:0}
}

/* Settings centre */
.settings-centre .settings-item-list{display:grid;margin-top:10px}
.settings-list-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f2}
.settings-list-row:last-child{border-bottom:0}
.settings-list-row>div{min-width:0}
.settings-list-row strong{display:block;font-size:10.5px;color:#2c3d49}
.settings-list-row span{display:block;font-size:8.8px;color:#7a8791;margin-top:2px}
.settings-list-row>svg{width:15px;height:15px;color:#2d7a4b}
.settings-list-row .icon-btn svg{width:13px;height:13px;color:#a6463b}
.policy-assignment-builder{display:grid;grid-template-columns:180px minmax(180px,1fr) minmax(220px,1.3fr) auto;gap:7px;align-items:end;margin-bottom:10px}
@media(max-width:900px){.policy-assignment-builder{grid-template-columns:1fr 1fr}.policy-assignment-builder button{width:100%}}
@media(max-width:620px){.policy-assignment-builder{grid-template-columns:1fr}}

/* Organisation setup */
.configuration-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid #edf0f2;background:transparent;padding:10px 0;text-align:left;color:#2a3b47}
.configuration-row:last-child{border-bottom:0}
.configuration-row:hover{background:#f8fafb}
.configuration-row>div{min-width:0}
.configuration-row strong{display:block;font-size:10.8px}
.configuration-row span{display:block;font-size:8.8px;color:#78858f;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.group-member-list{max-height:380px;overflow:auto;border:1px solid #dce2e6;border-radius:6px;background:#fff}
.group-member-row{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border-bottom:1px solid #edf0f2;cursor:pointer}
.group-member-row:last-child{border-bottom:0}
.group-member-row:hover{background:#f7f9fa}
.group-member-row input{margin-top:2px}
.group-member-row span{min-width:0}
.group-member-row strong{display:block;font-size:10.5px}
.group-member-row small{display:block;font-size:8.8px;color:#78858f;margin-top:2px}
.choice-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:34px}
.choice-row label{display:flex;align-items:center;gap:5px;font-size:10px;text-transform:capitalize;color:#394a57}

/* Reports */
.report-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.report-type-card{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e1e6ea;border-radius:6px;padding:9px;background:#fff}
.report-type-card strong{display:block;font-size:10.5px;text-transform:capitalize}
.report-type-card span{display:block;font-size:8.5px;color:#7a8791;margin-top:2px}
@media(max-width:700px){.report-type-grid{grid-template-columns:1fr}.report-type-card{align-items:flex-start}}


/* 2026-09-26 readable enterprise RMM workspace */
:root{
  --rmm-sidebar:266px;
  --rmm-control-h:40px;
  --rmm-row-h:54px;
}
body{font-size:15px;line-height:1.45}
.shell{grid-template-columns:var(--rmm-sidebar) minmax(0,1fr)}
.sidebar-brand{height:72px;padding:0 18px}
.sidebar-brand img{width:40px;height:40px}
.sidebar-brand strong{font-size:14.5px}
.sidebar-brand span{font-size:11px}
.nav-scroll{padding:10px 10px 18px}
.nav-group{font-size:10px;margin:17px 11px 7px}
.nav-item{height:43px;padding:0 11px;font-size:13.5px;gap:11px;border-radius:6px}
.nav-item svg{width:18px;height:18px}
.sidebar-bottom{padding:10px}
.avatar{width:36px;height:36px;font-size:12px}
.user-chip strong{font-size:12.5px}
.user-chip span{font-size:10.5px}
.topbar{height:64px;padding:0 28px}
.topbar-title{font-size:15px;font-weight:650}
.global-search{width:min(520px,42vw)}
.global-search>input{height:40px;font-size:12.5px;border-radius:7px}
.global-search-icon{top:12px;width:16px;height:16px}
.topbar-action{width:40px;height:40px;border-radius:7px}
.page{padding:30px 32px 52px}
.page-head{padding-bottom:18px;margin-bottom:20px}
.page-head h1{font-size:26px;line-height:1.18}
.page-head p{font-size:13px;line-height:1.5;margin-top:6px}
.breadcrumb{font-size:11.5px}
.page-actions{gap:8px}
.primary-btn,.secondary-btn,.danger-btn,.ghost-btn{height:var(--rmm-control-h);padding:0 14px;font-size:12.5px;border-radius:6px}
.compact-btn{height:34px!important;padding:0 10px!important;font-size:11.5px!important}
.icon-btn{width:34px;height:34px;border-radius:6px}
.icon-btn svg{width:15px;height:15px}
.stats-row{gap:11px;margin-bottom:18px}
.stat-card{padding:15px 16px;border-radius:7px}
.stat-card .label{font-size:10px;letter-spacing:.06em}
.stat-card .value{font-size:27px;margin-top:5px}
.stat-card .hint{font-size:10.5px;margin-top:4px}
.panel{border-radius:7px}
.panel-head{min-height:58px;padding:12px 16px}
.panel-head h2{font-size:14.5px}
.panel-head p{font-size:11px;line-height:1.45;margin-top:3px}
.panel-body{padding:16px}
.toolbar{min-height:58px;padding:9px 11px;gap:8px;border-radius:7px 7px 0 0}
.search-box{min-width:310px;flex-basis:460px}
.search-box input{height:38px;font-size:12.5px;padding-left:35px;border-radius:6px}
.search-box svg{top:12px;width:15px;height:15px}
.toolbar-select{height:38px!important;min-width:165px;max-width:230px;font-size:12px!important}
.filter-btn{height:38px;font-size:11.5px;border-radius:6px}
.result-count{font-size:11.5px}
.table-wrap{border-radius:7px}
.toolbar+.table-wrap{border-radius:0 0 7px 7px}
.data-table{font-size:12.75px}
.data-table th{height:42px;padding:0 12px;font-size:10.5px;letter-spacing:.04em}
.data-table td{height:var(--rmm-row-h);padding:8px 12px}
.data-table .primary-cell{font-size:13px}
.data-table .secondary{font-size:10.75px;margin-top:3px}
.status{font-size:11.5px;gap:6px}
.status:before{width:7px;height:7px}
.pill{font-size:10.75px;padding:3px 7px;border-radius:5px}
.tabs{padding:0 14px}
.tab{height:46px;font-size:12px;padding:0 13px}
.device-main{padding:17px 18px}
.device-icon{width:48px;height:48px;border-radius:8px}
.device-icon svg{width:24px}
.device-info h1{font-size:20px}
.device-info p{font-size:12px;margin-top:4px}
.device-meta{padding:10px 18px;font-size:10.75px;gap:22px}
.metric-strip{gap:10px}
.metric{padding:13px;border-radius:6px}
.metric label{font-size:9.5px}
.metric strong{font-size:21px}
.metric small{font-size:10px}
.detail-grid{gap:9px}
.detail-item{padding:11px;border-radius:6px}
.detail-item label{font-size:9.5px}
.detail-item strong{font-size:12px}
.input,.select{height:41px;font-size:12.5px;border-radius:6px}
.textarea{font-size:12.5px;border-radius:6px}
.field label{font-size:12px}
.form-help{font-size:10px}
.alert-box,.security-box{font-size:11.5px;padding:12px 13px;border-radius:6px}
.empty{padding:54px 24px}
.empty strong{font-size:14px}
.empty span{font-size:11.5px}
.notification-popover{width:min(450px,calc(100vw - 24px))}
.notification-head strong{font-size:13.5px}
.notification-head span{font-size:10px}
.notification-copy strong{font-size:11.5px}
.notification-copy span{font-size:10.5px}
.global-search-row{padding:11px 12px}
.global-search-copy strong{font-size:11.5px}
.global-search-copy span{font-size:9.75px}
.drawer-head h2{font-size:18px}
.drawer-head p{font-size:11.5px}
.drawer-body{padding:20px}
.form-section>h3,.form-section h4{font-size:11px}
.check-card{font-size:11.5px}
.check-card small,.toggle-row small{font-size:10px}
.toggle-row strong{font-size:11.5px}
.security-grid span{font-size:9px}
.security-grid strong{font-size:12px}
.chart-box{height:300px}

.dashboard-section-label{
  margin:2px 0 8px 2px;
  font-size:10px;font-weight:750;letter-spacing:.095em;text-transform:uppercase;color:#6b7884;
}
.dashboard-primary-stats{grid-template-columns:repeat(6,minmax(140px,1fr))}
.dashboard-security-bar{
  display:grid;grid-template-columns:minmax(300px,1.7fr) repeat(3,minmax(145px,.55fr));
  gap:0;align-items:stretch;margin-bottom:18px;background:#fff;border:1px solid var(--border);
  border-radius:7px;overflow:hidden;
}
.dashboard-security-copy{display:flex;align-items:center;gap:12px;padding:14px 16px}
.dashboard-security-copy>svg{width:28px;height:28px;color:#18794e}
.dashboard-security-copy strong{display:block;font-size:13.5px}
.dashboard-security-copy span{display:block;font-size:10.75px;color:#6b7884;margin-top:2px}
.dashboard-security-metric{
  display:flex;flex-direction:column;justify-content:center;padding:12px 15px;border-left:1px solid #e4e8eb;
  transition:background .12s;
}
.dashboard-security-metric:hover{background:#f7fafc}
.dashboard-security-metric span{font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;color:#71808d}
.dashboard-security-metric strong{font-size:20px;color:#253642;margin-top:2px}
.dashboard-security-metric.good strong{color:#18794e}
.dashboard-security-metric.danger strong{color:#b42318}

.fleet-summary-row{
  display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:8px;margin:0 0 10px;
}
.fleet-summary-item{
  appearance:none;text-align:left;background:#fff;border:1px solid var(--border);border-radius:7px;padding:11px 13px;
  color:#243542;transition:border-color .12s,background .12s,box-shadow .12s;
}
.fleet-summary-item:hover{border-color:#b9c7d2;background:#fbfcfd}
.fleet-summary-item.active{border-color:#8bb0cf;box-shadow:inset 0 0 0 1px #cfe0ee;background:#f7fbfe}
.fleet-summary-item span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.055em;color:#74818d;font-weight:700}
.fleet-summary-item strong{display:block;font-size:22px;margin-top:2px;line-height:1.15}
.fleet-summary-item small{display:block;font-size:9.75px;color:#7d8993;margin-top:2px}
.fleet-summary-item.good strong{color:#18794e}
.fleet-summary-item.warn strong{color:#9a6700}

.endpoint-protection-banner{padding:14px 16px;border-radius:7px}
.endpoint-protection-banner strong{font-size:12.5px}
.endpoint-protection-banner span{font-size:11px}
.protection-detail-hero{padding:17px;border-radius:7px}
.protection-detail-hero>div:last-child strong{font-size:18px}
.protection-detail-hero>div:last-child span{font-size:11.5px}
.protection-shield{width:50px;height:50px}
.protection-shield svg{width:25px;height:25px}
.security-event-row strong{font-size:11.5px}
.security-event-row span{font-size:10px}
.protection-policy-card strong{font-size:11.5px}
.protection-policy-card span{font-size:10px}

@media(max-width:1350px){
  .dashboard-primary-stats{grid-template-columns:repeat(3,1fr)}
  .dashboard-security-bar{grid-template-columns:1fr repeat(3,minmax(130px,.55fr))}
}
@media(max-width:1000px){
  .fleet-summary-row{grid-template-columns:repeat(2,1fr)}
  .dashboard-security-bar{grid-template-columns:1fr 1fr}
  .dashboard-security-copy{grid-column:1/-1;border-bottom:1px solid #e4e8eb}
  .dashboard-security-metric:nth-child(2){border-left:0}
}
@media(max-width:780px){
  body{font-size:14px}
  .shell{grid-template-columns:1fr}
  .sidebar{width:min(88vw,320px)}
  .nav-item{height:46px;font-size:13.5px}
  .page{padding:16px 12px 30px}
  .page-head h1{font-size:22px}
  .page-head p{font-size:12px}
  .primary-btn,.secondary-btn,.danger-btn,.ghost-btn{min-height:42px;font-size:12px}
  .stats-row,.dashboard-primary-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dashboard-security-bar{grid-template-columns:1fr 1fr}
  .dashboard-security-copy{grid-column:1/-1}
  .dashboard-security-metric{padding:11px;border-top:1px solid #e4e8eb}
  .dashboard-security-metric:nth-child(2){border-left:0}
  .fleet-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toolbar{min-height:0}
  .search-box input,.toolbar>.toolbar-select,.toolbar>.filter-btn{height:44px!important;font-size:12.5px!important}
  .data-table{font-size:12px}
  .data-table th{height:40px;font-size:10px}
  .data-table td{height:49px}
  .mobile-endpoint-identity strong{font-size:14px}
  .mobile-endpoint-identity span{font-size:10.5px}
  .mobile-endpoint-os{font-size:11.5px}
  .mobile-endpoint-metrics strong{font-size:13px}
  .mobile-endpoint-foot{font-size:10px}
  .panel-head h2{font-size:14px}
  .panel-head p{font-size:10.75px}
  .tab{font-size:11.5px}
}

.device-health-strip{
  display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:0;
  border-top:1px solid #e1e5e8;background:#fff;
}
.device-health-item{
  appearance:none;text-align:left;border:0;border-right:1px solid #e5e9ec;background:#fff;padding:11px 14px;
  min-height:70px;color:#263744;transition:background .12s;
}
.device-health-item:last-child{border-right:0}
.device-health-item:hover{background:#f7fafc}
.device-health-item span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.055em;color:#75828e;font-weight:700}
.device-health-item strong{display:block;font-size:16px;line-height:1.2;margin-top:3px}
.device-health-item small{display:block;font-size:9.5px;color:#7d8993;margin-top:3px}
.device-health-item.good strong{color:#18794e}
.device-health-item.warn strong{color:#9a6700}
.device-health-item.danger strong{color:#b42318}
@media(max-width:900px){
  .device-health-strip{grid-template-columns:repeat(2,1fr)}
  .device-health-item{border-bottom:1px solid #e5e9ec}
}
@media(max-width:520px){
  .device-health-strip{grid-template-columns:1fr 1fr}
  .device-health-item{min-height:66px;padding:10px 11px}
  .device-health-item strong{font-size:14px}
}

/* StrongTower Security */
.st-sidebar-brand img{background:#fff;padding:5px}
.st-sidebar-brand strong{font-size:13px}.st-sidebar-brand span{font-size:9.5px}
.st-topbar-actions{margin-left:auto;display:flex;gap:7px;align-items:center}
.st-topbar-chip{height:30px;border:1px solid #d9e0e5;border-radius:999px;padding:0 10px;display:flex;align-items:center;gap:6px;background:#fff;font-size:9.5px;color:#546472}
.st-topbar-chip i{width:7px;height:7px;border-radius:50%;background:#2f9e66}
.st-hero-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #cbddeb;background:linear-gradient(135deg,#edf4fa,#f8fbfd);border-radius:8px;padding:14px 16px;margin-bottom:14px}
.st-hero-copy{display:flex;gap:11px;align-items:flex-start}.st-hero-icon{width:40px;height:40px;border-radius:10px;background:#114580;color:#fff;display:grid;place-items:center;flex:0 0 auto}
.st-hero-icon svg{width:21px}.st-hero-copy strong{display:block;font-size:12px;color:#243a4e}.st-hero-copy span{display:block;font-size:9.5px;color:#667785;line-height:1.45;margin-top:3px}
.st-score{display:flex;align-items:center;gap:10px;white-space:nowrap}.st-score-ring{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#2f9e66 var(--score,0%),#e3e8ec 0);position:relative}
.st-score-ring:after{content:"";position:absolute;width:36px;height:36px;border-radius:50%;background:#fff}.st-score-ring strong{position:relative;z-index:1;font-size:11px;color:#243a4e}
.st-score>div:last-child span{display:block;font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;color:#7b8995}.st-score>div:last-child strong{font-size:11px}
.st-site-name{display:flex;align-items:center;gap:8px}.st-site-mark{width:28px;height:28px;border-radius:7px;background:#edf3f8;color:#114580;display:grid;place-items:center;font-weight:800;font-size:10px;flex:0 0 auto}
.st-site-name strong{display:block;font-size:10.5px}.st-site-name span{display:block;font-size:8.8px;color:#7a8792;margin-top:2px;max-width:300px;overflow:hidden;text-overflow:ellipsis}
.st-risk{font-weight:700}.st-risk.good{color:#18794e}.st-risk.warn{color:#9a6700}.st-risk.bad{color:#b42318}
.st-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}
.st-action-card{border:1px solid #dce2e7;background:#fff;border-radius:7px;padding:12px;text-align:left;color:#2b3b48;min-height:82px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.st-action-card:hover{border-color:#9fb7ca;background:#f7fafc}.st-action-card svg{width:18px;height:18px;color:#114580}.st-action-card strong{font-size:10.5px}.st-action-card span{font-size:8.8px;color:#7b8995;line-height:1.35}
.st-detail-hero{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--border);border-radius:8px;padding:14px 16px;margin-bottom:12px}
.st-detail-shield{width:48px;height:48px;border-radius:12px;background:#e9f5ee;color:#2d7a4b;display:grid;place-items:center}.st-detail-shield.attention{background:#fff1de;color:#a86100}.st-detail-shield.danger{background:#fdecea;color:#b34b3c}.st-detail-shield svg{width:24px;height:24px}
.st-detail-title{min-width:0}.st-detail-title h1{font-size:16px;margin:0}.st-detail-title p{font-size:9.5px;color:#75828d;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-detail-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.st-meta-strip{display:flex;gap:18px;padding:8px 12px;background:#f8fafb;border:1px solid var(--border);border-radius:7px;margin-bottom:12px;overflow:auto;font-size:9px;color:#6c7984}.st-meta-strip strong{color:#31414e;font-weight:600}

.st-severity{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.st-severity:before{content:"";width:7px;height:7px;border-radius:50%;background:#98a2ad}.st-severity.critical:before{background:#b42318}.st-severity.high:before{background:#d96b1f}.st-severity.medium:before{background:#d39922}.st-severity.low:before{background:#3b82b8}.st-severity.info:before{background:#7b8995}
.st-finding-title{max-width:420px;white-space:normal}.st-finding-title strong{display:block;font-size:10.5px}.st-finding-title span{display:block;font-size:8.7px;color:#7b8995;margin-top:2px;word-break:break-all}
.st-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px;background:#f5f7f9;border:1px solid #e2e6e9;border-radius:4px;padding:2px 5px}
.st-copy-box{display:grid;grid-template-columns:1fr auto;gap:7px;border:1px solid #d8dfe4;border-radius:7px;background:#f7f9fa;padding:9px;margin-top:9px}.st-copy-box code{font-size:10px;overflow-wrap:anywhere;align-self:center}
.st-key-reveal{border:1px solid #b8d7c7;background:#f1faf5;border-radius:8px;padding:12px;margin:12px 0}.st-key-reveal strong{display:block;font-size:11px;color:#245a3d}.st-key-reveal p{font-size:9.5px;color:#527060;margin:4px 0 8px}
.st-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.st-form-grid .field{margin:0}.st-form-grid .full{grid-column:1/-1}
.st-setting-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f2}.st-setting-row:last-child{border-bottom:0}.st-setting-row strong{display:block;font-size:10.5px}.st-setting-row span{display:block;font-size:9px;color:#75828d;margin-top:2px;line-height:1.45}
.st-system-cap{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.st-system-cap>div{border:1px solid #e3e8ec;border-radius:7px;padding:11px;background:#fafbfc}.st-system-cap span{display:block;font-size:8.5px;color:#788590;text-transform:uppercase;letter-spacing:.05em}.st-system-cap strong{display:block;font-size:16px;margin-top:3px}
.st-empty-inline{padding:20px;text-align:center;color:#7b8995;font-size:10px}
.st-mobile-sites{display:none}.st-mobile-threats{display:none}
.toast{position:fixed;right:18px;bottom:18px;z-index:500;background:#17212b;color:#fff;padding:10px 13px;border-radius:7px;font-size:10.5px;box-shadow:0 12px 30px rgba(0,0,0,.18);opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}
.modal-host[hidden]{display:none}.modal-host{position:fixed;inset:0;z-index:400;display:grid;place-items:center;background:rgba(10,25,38,.36);padding:20px}.st-modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:10px;border:1px solid #d8dfe4;box-shadow:0 22px 70px rgba(9,28,45,.25)}.st-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e5e9ed}.st-modal-head h3{font-size:13px;margin:0}.st-modal-body{padding:16px}.st-modal-foot{display:flex;justify-content:flex-end;gap:7px;padding:11px 16px;border-top:1px solid #e5e9ed}
.auth-simple-brand img{width:44px;height:44px;border-radius:10px;background:#fff}
.auth-qr img{display:block;width:220px;max-width:100%;margin:0 auto 8px}.auth-recovery{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0 14px}.auth-recovery code{padding:7px;border:1px solid #dce2e6;border-radius:5px;background:#f7f9fa;text-align:center;font-size:10px}

@media(max-width:980px){.st-action-grid{grid-template-columns:repeat(2,1fr)}.st-system-cap{grid-template-columns:1fr 1fr}}
@media(max-width:780px){
  .st-topbar-chip{display:none}.st-hero-bar{align-items:flex-start}.st-score{display:none}
  .st-action-grid{grid-template-columns:1fr 1fr}.st-detail-hero{align-items:flex-start;flex-wrap:wrap}.st-detail-actions{width:100%;margin-left:0;display:grid;grid-template-columns:1fr 1fr}.st-detail-actions>*{width:100%}
  .st-form-grid{grid-template-columns:1fr}.st-form-grid .full{grid-column:auto}.st-setting-row{grid-template-columns:1fr}.st-system-cap{grid-template-columns:1fr}
  .st-desktop-sites,.st-desktop-threats{display:none!important}.st-mobile-sites,.st-mobile-threats{display:grid;gap:8px}
  .st-mobile-site,.st-mobile-threat{background:#fff;border:1px solid #dce2e6;border-radius:10px;padding:12px}
  .st-mobile-site-head,.st-mobile-threat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
  .st-mobile-site-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.st-mobile-site-meta>div{background:#f7f9fa;border-radius:6px;padding:7px;text-align:center}.st-mobile-site-meta span{display:block;font-size:7.5px;text-transform:uppercase;color:#84909a}.st-mobile-site-meta strong{display:block;font-size:11px;margin-top:2px}
  .st-mobile-threat p{font-size:9px;color:#74818c;word-break:break-word}.st-mobile-threat-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f2;margin-top:8px;padding-top:8px;font-size:9px}
  .auth-recovery{grid-template-columns:1fr}
}
@media(max-width:390px){.st-action-grid{grid-template-columns:1fr}.st-detail-actions{grid-template-columns:1fr}}

/* MWITS visual branding */
.st-site-mark{background:#fff;border:1px solid #dde4ea;padding:3px}
.st-site-mark img{width:100%;height:100%;object-fit:contain;border-radius:4px}
.st-sidebar-brand img,.auth-simple-brand img{object-fit:contain;background:#fff}
