:root{
  --bg:#eef2f7;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --surface-dark:#0b1220;
  --ink:#111827;
  --muted:#667085;
  --line:#dfe5ec;
  --line-strong:#cbd5e1;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --blue-soft:#eff6ff;
  --green:#15803d;
  --green-soft:#ecfdf3;
  --red:#b42318;
  --red-soft:#fff1f0;
  --amber:#b66a00;
  --amber-soft:#fff8e6;
  --slate:#64748b;
  --slate-soft:#f1f5f9;
  --shadow:0 14px 38px rgba(15,23,42,.08);
  --shadow-soft:0 6px 18px rgba(15,23,42,.06);
  --radius:18px;
}
*{box-sizing:border-box}
html{color-scheme:light}
body{margin:0;background:linear-gradient(180deg,#f8fafc 0,#eef2f7 420px,#eef2f7 100%);color:var(--ink);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
button,input,textarea,select{font:inherit}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}
.wrap{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:24px 0 64px}
.narrow{max-width:540px}

/* Shared top navigation */
.site-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 0 26px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;min-width:0}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#2563eb,#111827);color:#fff;font-size:14px;font-weight:900;letter-spacing:-.03em;box-shadow:0 8px 18px rgba(37,99,235,.2)}
.brand>span:last-child{display:grid;line-height:1.12;gap:3px}
.brand strong{font-size:15px;letter-spacing:-.01em}
.brand small{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.nav-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}

/* Legacy .top kept for setup.php and compatibility */
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.top h1{font-size:40px;line-height:1.06;margin:5px 0 10px}.top p{font-size:17px;color:var(--muted);margin:0}
.eyebrow,.section-kicker{text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:11px;color:#52606f}

/* Buttons */
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:10px;background:var(--surface-dark);color:#fff;padding:10px 15px;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease,border-color .12s ease}
button:hover,.button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(15,23,42,.12)}
button:active,.button:active{transform:translateY(0)}
.button.primary{background:var(--blue)}
.button.primary:hover{background:var(--blue-dark)}
.button.ghost,.secondary{background:#fff;color:#1f2937;border-color:var(--line-strong)}
.button.ghost:hover,.secondary:hover{background:#f8fafc}
.button.warning{background:#9a5b00;color:#fff}
.button.danger{background:#b42318;color:#fff}
.button.compact,.compact{padding:8px 11px;border-radius:9px;font-size:13px}
.button.wide{width:100%}

/* Cards + headings */
.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:18px;box-shadow:var(--shadow-soft)}
.section-card{padding:24px}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2,.utility-card h2{margin:3px 0 0;font-size:22px;line-height:1.18;letter-spacing:-.025em}
.section-head p{margin:0}
.count-pill{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;padding:5px 9px;color:#475467;font-size:12px;font-weight:800}
.muted-copy{color:var(--muted);margin:-4px 0 18px;max-width:850px}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:8px 0 24px}
.page-heading h1{margin:5px 0 6px;font-size:40px;line-height:1.02;letter-spacing:-.04em}
.page-heading p{margin:0;color:var(--muted);font-size:16px}

/* Public hero */
.status-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:30px;border-radius:24px;padding:34px 36px;margin-bottom:18px;background:linear-gradient(135deg,#0b1220,#172554 74%,#1e3a8a);color:#fff;box-shadow:0 24px 50px rgba(15,23,42,.18)}
.status-hero:after{content:"";position:absolute;right:-70px;top:-110px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.06)}
.status-hero.degraded{background:linear-gradient(135deg,#3f2a05,#8a4b00)}
.status-hero.outage{background:linear-gradient(135deg,#3b0c0c,#8a1c1c)}
.status-hero.stale{background:linear-gradient(135deg,#1f2937,#475569)}
.status-hero .eyebrow{color:#bfdbfe}
.status-hero h1{margin:0;font-size:38px;line-height:1.08;letter-spacing:-.04em}
.status-hero p{max-width:740px;margin:12px 0 10px;font-size:17px;color:#dbeafe}
.status-heading{display:flex;align-items:center;gap:12px;margin-top:9px}
.status-orb{width:13px;height:13px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 7px rgba(74,222,128,.13)}
.status-hero.degraded .status-orb{background:#fbbf24;box-shadow:0 0 0 7px rgba(251,191,36,.13)}
.status-hero.outage .status-orb{background:#fb7185;box-shadow:0 0 0 7px rgba(251,113,133,.13)}
.status-hero.stale .status-orb{background:#cbd5e1;box-shadow:0 0 0 7px rgba(203,213,225,.13)}
.hero-meta{font-size:12px;color:#a8c3e7;font-weight:700}
.hero-badge{position:relative;z-index:1;min-width:146px;text-align:center;padding:18px 20px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.hero-badge span{display:block;font-size:38px;line-height:1;font-weight:900}.hero-badge small{display:block;margin-top:7px;color:#dbeafe;font-weight:700}

/* Metrics */
.summary,.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.metric,.summary>div{display:flex;align-items:center;gap:13px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:15px;padding:16px 17px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.metric strong,.summary strong{display:block;font-size:25px;line-height:1;font-weight:900;letter-spacing:-.03em}
.metric small,.summary span{display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:700}
.metric-icon{width:10px;height:34px;border-radius:999px;background:var(--slate)}
.metric-icon.operational{background:#22c55e}.metric-icon.degraded{background:#f59e0b}.metric-icon.outage{background:#ef4444}.metric-icon.stale{background:#94a3b8}.metric-icon.info{background:#3b82f6}.metric-icon.package{background:#8b5cf6}.metric-icon.running{background:#06b6d4}

/* Forms */
.form{display:grid;gap:14px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .span-2{grid-column:span 2}
.form label{font-weight:800;color:#344054;font-size:13px}
.form input,.form textarea,.form select,.selector-search input{display:block;width:100%;margin-top:6px;border:1px solid var(--line-strong);border-radius:10px;padding:10px 11px;background:#fff;color:#111827;outline:none;transition:border-color .12s ease,box-shadow .12s ease}
.form input:focus,.form textarea:focus,.form select:focus,.selector-search input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.form textarea{min-height:126px;resize:vertical}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.split-actions{justify-content:space-between}

/* Alerts */
.alert{padding:13px 15px;border:1px solid transparent;border-radius:12px;margin-bottom:16px;font-weight:750}.alert.bad{background:var(--red-soft);color:#8f1d14;border-color:#ffd2ce}.alert.good{background:var(--green-soft);color:#166534;border-color:#bbf7d0}
.small{font-size:12px;color:var(--muted)}
.empty{border:1px dashed var(--line-strong);border-radius:12px;padding:20px;color:var(--muted);text-align:center;background:#fafbfc}

/* Timeline / updates */
.timeline,.updates{display:grid;gap:10px}
.timeline-item{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .12s ease,box-shadow .12s ease}
.timeline-item[open]{box-shadow:0 7px 20px rgba(15,23,42,.06)}
.timeline-item summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 16px;cursor:pointer}.timeline-item summary::-webkit-details-marker{display:none}
.timeline-marker{width:9px;height:34px;border-radius:999px;background:var(--blue)}
.timeline-item.maintenance .timeline-marker{background:#f59e0b}.timeline-item.outage .timeline-marker{background:#ef4444}.timeline-item.resolved .timeline-marker{background:#22c55e}
.timeline-summary{display:grid;min-width:0;gap:3px}.timeline-title{font-weight:850;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-body{border-top:1px solid var(--line);padding:0 16px 16px 37px;background:#fbfcfe}.timeline-body p{margin:14px 0 0;overflow-wrap:anywhere}
.status-pill,.mini-pill,.capability-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:850;white-space:nowrap}
.status-pill{padding:5px 8px;font-size:11px;background:var(--slate-soft);color:#475569;border:1px solid #e2e8f0}
.status-pill.operational,.status-pill.completed,.status-pill.resolved{background:var(--green-soft);color:#166534;border-color:#bbf7d0}.status-pill.degraded,.status-pill.maintenance,.status-pill.running{background:var(--amber-soft);color:#92400e;border-color:#fde68a}.status-pill.outage,.status-pill.failed,.status-pill.partial{background:var(--red-soft);color:#991b1b;border-color:#fecaca}.status-pill.stale,.status-pill.queued{background:var(--slate-soft);color:#475569;border-color:#e2e8f0}.status-pill.info{background:var(--blue-soft);color:#1d4ed8;border-color:#bfdbfe}

/* Grid rows */
.grid-list{display:grid;gap:9px}.grid-row{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(300px,1.45fr) minmax(135px,.55fr);gap:18px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff}
.grid-row:hover{border-color:#cbd5e1;box-shadow:0 5px 14px rgba(15,23,42,.04)}
.grid-identity{display:flex;align-items:center;gap:11px;min-width:0}.grid-identity strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-status-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #dcfce7;flex:0 0 auto}.grid-row.degraded .grid-status-dot{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.grid-row.outage .grid-status-dot{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.grid-row.stale .grid-status-dot{background:#94a3b8;box-shadow:0 0 0 4px #e2e8f0}
.grid-status-dot.completed{background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.grid-status-dot.failed,.grid-status-dot.partial{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.grid-status-dot.running{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.grid-status-dot.queued{background:#94a3b8;box-shadow:0 0 0 4px #e2e8f0}
.grid-health{display:grid;gap:7px;justify-items:start}.service-chips{display:flex;gap:5px;flex-wrap:wrap}.service-chip{display:inline-flex;border-radius:7px;padding:3px 6px;font-size:10px;font-weight:850;letter-spacing:.02em}.service-chip.ok{background:#ecfdf3;color:#166534}.service-chip.warn{background:#fff7e0;color:#92400e}.service-chip.bad{background:#fff1f0;color:#991b1b}.grid-reason{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heartbeat{text-align:right;display:grid;gap:1px}.heartbeat strong{font-size:13px}.heartbeat span,.heartbeat small{font-size:11px;color:var(--muted)}

/* Pagination */
.section-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.pager{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.pager-btn{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;text-decoration:none;color:#475467;font-size:12px;font-weight:850}.pager-btn:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.pager-btn.active{background:#111827;color:#fff;border-color:#111827}.pager-btn.disabled{opacity:.35;pointer-events:none}.pager-gap{color:#94a3b8;padding:0 3px}

/* Admin dashboard */
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:18px;margin-bottom:18px}.dashboard-grid>.card{margin-bottom:0}.utility-card{background:linear-gradient(180deg,#fff,#f8fafc)}.utility-card p{overflow-wrap:anywhere}.utility-divider{height:1px;background:var(--line);margin:20px 0}.utility-links{display:grid;gap:9px}.utility-links a{font-weight:800;color:#1d4ed8;text-decoration:none}.secret-details summary{cursor:pointer;font-weight:800;color:#344054}.secret-details[open] summary{margin-bottom:10px}.token{display:block;overflow-wrap:anywhere;background:#0f172a;color:#dbeafe;border-radius:10px;padding:12px;margin:10px 0;font-size:11px}.release-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.release-meta span{background:#eef2ff;color:#4338ca;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.hash-preview{display:block;background:#0f172a;color:#dbeafe;padding:10px;border-radius:9px;overflow:hidden;text-overflow:ellipsis}

/* Fleet selectors */
.fleet-top-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)}
.selector-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.selector-search{position:relative;flex:1;max-width:430px}.selector-search span{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:18px;pointer-events:none}.selector-search input{margin:0;padding-left:34px}.fleet-actions{display:flex;gap:8px;flex-wrap:wrap}.fleet-grid-list{display:grid;gap:7px;margin:0}.fleet-grid-list.bounded{max-height:430px;overflow:auto;padding:4px 5px 4px 1px;scrollbar-width:thin}.fleet-grid{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .12s ease,background .12s ease}.fleet-grid:hover{border-color:#93c5fd;background:#f8fbff}.fleet-grid input{width:17px!important;height:17px;margin:0!important;accent-color:#2563eb}.fleet-grid-copy{display:grid!important;gap:1px;min-width:0}.fleet-grid-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fleet-grid-copy small{color:var(--muted)}.server-line{font-size:11px;color:#667085;margin-top:4px;overflow-wrap:anywhere}.fleet-disabled{opacity:.52;cursor:not-allowed}.fleet-disabled:hover{border-color:var(--line);background:#fff}.capability-pill{font-size:10px;padding:4px 7px}.capability-pill.ready{background:#ecfdf3;color:#166534}.capability-pill.waiting{background:#f1f5f9;color:#64748b}

/* Collapsible revert card */
.collapsible-card{padding:0;overflow:hidden}.collapsible-card>summary{list-style:none}.collapsible-card>summary::-webkit-details-marker{display:none}.section-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;cursor:pointer}.section-summary>span:first-child{display:grid;gap:3px}.section-summary strong{font-size:20px}.section-summary small{color:var(--muted)}.summary-chevron{font-size:18px;color:#64748b;transition:transform .15s ease}.collapsible-card[open] .section-summary .summary-chevron,.deployment-card[open]>summary>.summary-chevron{transform:rotate(180deg)}.details-content{border-top:1px solid var(--line);padding:22px 24px}

/* Deployment history */
.history-head-actions{display:flex;align-items:center;gap:8px}.deployment-list{display:grid;gap:9px}.deployment-card{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.deployment-card>summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px 15px;cursor:pointer}.deployment-card>summary::-webkit-details-marker{display:none}.deployment-card[open]{box-shadow:0 7px 20px rgba(15,23,42,.05)}.deployment-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eff6ff;color:#1d4ed8;font-size:20px;font-weight:900}.deployment-icon.revert{background:#fff7ed;color:#9a3412}.deployment-summary{display:grid;gap:2px;min-width:0}.deployment-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deployment-summary span{font-size:11px;color:var(--muted)}.deployment-counts{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.mini-pill{padding:3px 6px;font-size:10px;background:#f1f5f9;color:#475569}.mini-pill.completed{background:#ecfdf3;color:#166534}.mini-pill.failed{background:#fff1f0;color:#991b1b}.mini-pill.running{background:#fff8e6;color:#92400e}.mini-pill.queued{background:#f1f5f9;color:#475569}.deployment-body{border-top:1px solid var(--line);background:#fbfcfe;padding:14px 16px 16px}.command-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;color:var(--muted);font-size:11px}.command-meta code{overflow-wrap:anywhere}.fleet-history-row{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(260px,1.4fr);gap:18px;border-top:1px solid var(--line);padding:12px 0}.compact-identity{align-items:flex-start}.fleet-target-status{display:grid;justify-items:start;gap:5px}.fleet-server-results{margin:0 0 9px 31px;padding:8px 11px;border-left:2px solid #dbe5ef;display:grid;gap:6px}.server-result{display:grid;grid-template-columns:minmax(190px,.8fr) auto minmax(0,1.5fr);gap:8px;align-items:start;font-size:11px;color:#475467}.server-result code{overflow-wrap:anywhere;color:#0f172a}

/* Old update cards, still supported */
.update{border:1px solid var(--line);border-left:5px solid var(--blue);border-radius:12px;padding:14px;background:#fff}.update.maintenance{border-left-color:var(--amber)}.update.outage{border-left-color:var(--red);background:#fff8f7}.update.resolved{border-left-color:var(--green);background:#f5fff7}.update h3{margin:0 0 5px}.update p{margin:8px 0 10px}

/* Auth */
.auth-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#1e3a8a 0,#0f172a 44%,#090f1b 100%);padding:24px}.auth-shell{width:min(480px,100%)}.auth-card{background:#fff;border:1px solid rgba(255,255,255,.3);border-radius:24px;padding:30px;box-shadow:0 28px 70px rgba(0,0,0,.3)}.auth-brand{margin-bottom:28px}.auth-copy h1{font-size:32px;letter-spacing:-.04em;margin:5px 0 8px}.auth-copy p{color:var(--muted);margin:0 0 22px}.auth-back{display:block;text-align:center;margin-top:18px;color:#64748b;font-size:12px;font-weight:750;text-decoration:none}

.site-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#7b8794;font-size:11px;padding:16px 3px 0}

/* Responsive */
@media(max-width:900px){
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-grid,.fleet-top-grid{grid-template-columns:1fr}
  .grid-row{grid-template-columns:1fr 1.2fr}.heartbeat{grid-column:1/-1;text-align:left;display:flex;gap:8px;align-items:baseline}
  .status-hero{align-items:flex-start}.hero-badge{min-width:120px}
}
@media(max-width:720px){
  .wrap{width:min(100% - 20px,1180px);padding-top:12px}.site-nav,.page-heading,.status-hero,.selector-toolbar,.section-foot,.site-footer{flex-direction:column;align-items:stretch}.nav-actions{justify-content:flex-start}.status-hero{padding:26px 22px}.status-hero h1{font-size:31px}.hero-badge{text-align:left}.metric-grid,.summary{grid-template-columns:1fr 1fr}.section-card{padding:18px}.section-head{align-items:center}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:span 1}.grid-row{grid-template-columns:1fr}.heartbeat{grid-column:auto}.fleet-grid{grid-template-columns:auto minmax(0,1fr)}.fleet-grid .capability-pill{grid-column:2;justify-self:start}.fleet-grid-list.bounded{max-height:390px}.deployment-card>summary{grid-template-columns:auto minmax(0,1fr) auto}.deployment-counts{grid-column:2}.deployment-card>summary>.summary-chevron{grid-column:3;grid-row:1/3}.fleet-history-row,.server-result{grid-template-columns:1fr}.fleet-server-results{margin-left:17px}.page-heading h1{font-size:34px}.selector-search{max-width:none}.fleet-actions{justify-content:flex-start}.section-summary{padding:18px}.details-content{padding:18px}
}
@media(max-width:480px){
  .metric-grid,.summary{grid-template-columns:1fr}.brand-mark{width:38px;height:38px}.section-head{align-items:flex-start;flex-direction:column}.timeline-item summary{grid-template-columns:auto minmax(0,1fr)}.timeline-item summary>.status-pill{grid-column:2;justify-self:start}.timeline-title{white-space:normal}.section-foot .pager{justify-content:flex-start}.status-hero{border-radius:18px}.card{border-radius:15px}.auth-card{padding:24px}.deployment-counts{justify-content:flex-start}.command-meta{align-items:flex-start;flex-direction:column}.split-actions{align-items:stretch;flex-direction:column}
}

/* STATUSSEC1509 security + release retention UI */
.alert.info{background:var(--blue-soft);color:#1d4ed8;border-color:#bfdbfe}
button:disabled,.button:disabled{opacity:.48;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.nav-inline-form{margin:0;display:inline-flex}
.nav-inline-form button{margin:0}
.auth-security-note{margin:15px 0 2px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid var(--line);color:#667085;font-size:11px;line-height:1.5}
.security-card{overflow:hidden}.security-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:22px}.security-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}.security-item{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:14px}.security-item strong{display:block;font-size:18px;letter-spacing:-.02em}.security-item span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.password-form{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.password-form h3{margin:0 0 2px;font-size:16px}.audit-details{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.audit-details>summary{cursor:pointer;font-weight:850;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}.audit-details>summary::-webkit-details-marker{display:none}.audit-list{margin-top:13px;display:grid;gap:6px}.audit-row{display:grid;grid-template-columns:auto minmax(150px,.7fr) minmax(180px,.7fr) minmax(100px,.45fr) minmax(0,1.3fr);gap:9px;align-items:center;border:1px solid var(--line);border-radius:9px;background:#fbfcfe;padding:8px 10px;font-size:11px;color:#667085}.audit-row code{font-weight:800;color:#344054}.audit-row small{overflow-wrap:anywhere}.audit-result{width:8px;height:8px;border-radius:50%;background:#94a3b8}.audit-result.ok{background:#22c55e}.audit-result.failed,.audit-result.blocked{background:#ef4444}
.release-library{display:grid;gap:8px}.release-row{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(210px,.7fr) minmax(250px,.9fr);gap:16px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:13px 14px;background:#fff}.release-row.current{border-color:#bbf7d0;background:#fbfffc}.release-main{display:grid;gap:2px;min-width:0}.release-main strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.release-main span{font-size:11px;color:var(--muted)}.release-main code{font-size:10px;color:#64748b;overflow:hidden;text-overflow:ellipsis}.release-retention{display:grid;justify-items:start;gap:4px}.release-retention small{color:var(--muted);font-size:10px}.release-actions{min-width:0}.release-delete-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.release-delete-form input{width:100%;border:1px solid var(--line-strong);border-radius:9px;padding:8px 9px;font:inherit;font-size:11px;outline:none}.release-delete-form input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.10)}.sensitive-confirm{display:block;margin-top:4px;padding:12px;border:1px solid #fde68a;border-radius:11px;background:#fffbeb}.sensitive-confirm small{display:block;margin-top:5px;color:#8a5b08;font-weight:600}.sensitive-confirm input{background:#fff}
@media(max-width:900px){.security-grid{grid-template-columns:1fr}.release-row{grid-template-columns:1fr 1fr}.release-actions{grid-column:1/-1}.audit-row{grid-template-columns:auto minmax(0,1fr) minmax(140px,.7fr)}.audit-row span:nth-of-type(2),.audit-row small{grid-column:2/-1}}
@media(max-width:620px){.security-summary{grid-template-columns:1fr}.release-row{grid-template-columns:1fr}.release-actions{grid-column:auto}.release-delete-form{grid-template-columns:1fr}.audit-row{grid-template-columns:auto minmax(0,1fr)}.audit-row>*{grid-column:2}.audit-row>.audit-result{grid-column:1;grid-row:1}}

/* LINUXFLEET1510 Linux Laravel fleet UI */
.linux-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.credential-card{border-color:#bfdbfe;background:linear-gradient(135deg,#fff,#f8fbff)}
.credential-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:12px}.credential-grid label{font-size:12px;font-weight:800;color:#344054}.credential-grid input{display:block;width:100%;margin-top:5px;border:1px solid var(--line-strong);border-radius:9px;padding:9px 10px;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.install-command{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #dbeafe;border-radius:12px;background:#0f172a;color:#dbeafe;padding:14px;margin:14px 0 0;font-size:12px}
.field-hint{font-weight:600;color:var(--muted);font-size:10px}
.upload-progress{border:1px solid var(--line);border-radius:11px;padding:11px;background:#f8fafc}.upload-progress-bar{height:9px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin-bottom:7px}.upload-progress-bar span{display:block;width:0;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4);transition:width .15s ease}.upload-progress small{color:var(--muted);font-weight:700}
.linux-host-list{display:grid;gap:9px}.host-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.host-facts span{display:grid;gap:2px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.host-facts strong{color:#344054;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.site-chip-list{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.site-chip{display:grid;gap:1px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px 9px}.site-chip strong{font-size:11px}.site-chip small{font-size:9px;color:var(--muted)}.host-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.host-actions form{display:flex;gap:6px;align-items:center}.host-actions input{width:150px;border:1px solid var(--line-strong);border-radius:8px;padding:7px 8px;font-size:10px}
.release-row{grid-template-columns:minmax(260px,1.3fr) minmax(180px,.65fr) auto}.release-main{display:flex;align-items:center;gap:10px}.release-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f3e8ff;color:#7e22ce;font-size:16px}.release-main>div{display:grid;gap:2px;min-width:0}.release-state{display:flex;justify-content:flex-start}
.mode-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.mode-choice{display:flex!important;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:13px;padding:13px;background:#fff;cursor:pointer}.mode-choice.preferred{border-color:#bfdbfe;background:#f8fbff}.mode-choice input{width:auto!important;margin:3px 0 0!important}.mode-choice span{display:grid;gap:3px}.mode-choice strong{color:#1f2937}.mode-choice small{color:var(--muted);font-weight:600;line-height:1.4}
/* LINUXSITELIST1541: show every host/site in normal page flow; never shrink or clip host rows. */
.linux-site-selector{display:grid;grid-auto-rows:max-content;gap:10px;height:auto;max-height:none;overflow:visible;padding:2px 3px 3px}.linux-selector-host{border:1px solid var(--line);border-radius:14px;background:#fbfcfe;overflow:hidden}.linux-selector-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--line);background:#fff}.linux-selector-head>div{display:grid;gap:2px}.linux-selector-head small{font-size:10px;color:var(--muted)}.linux-selector-sites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px}.linux-selector-sites .fleet-grid{margin:0}.compact-empty{padding:10px;grid-column:1/-1;font-size:11px}
.mini-pill.warning{background:#fff8e6;color:#92400e}.mini-pill.skipped{background:#f1f5f9;color:#475569}.status-pill.warning{background:#fff8e6;color:#92400e;border-color:#fde68a}
@media(max-width:900px){.linux-top-grid{grid-template-columns:1fr}.host-facts{grid-template-columns:1fr 1fr}.mode-choice-grid{grid-template-columns:1fr}.linux-selector-sites{grid-template-columns:1fr}.credential-grid{grid-template-columns:1fr}}
@media(max-width:620px){.host-facts{grid-template-columns:1fr}.host-actions form{width:100%;flex-direction:column;align-items:stretch}.host-actions input{width:100%}.release-row{grid-template-columns:1fr}.linux-selector-head{align-items:flex-start;flex-direction:column}}

/* STATUSHEALTH1520 ---------------------------------------------------------
 * Public fleet health dashboard: per-grid Region Server CPU/RAM/Disk cards.
 * Existing admin/fleet styles above remain unchanged.
 */
.critical-summary{display:grid;gap:16px;border:1px solid #bbf7d0;background:linear-gradient(135deg,#f0fdf4,#ffffff);border-radius:18px;padding:20px 22px;margin-bottom:18px;box-shadow:var(--shadow-soft)}
.critical-summary.has-issues{border-color:#fecaca;background:linear-gradient(135deg,#fff7ed,#fff)}
.critical-summary-head{display:flex;align-items:center;gap:14px}.critical-summary-head h2{margin:2px 0 3px;font-size:20px;line-height:1.2}.critical-summary-head p{margin:0;color:var(--muted)}
.critical-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:13px;background:#dcfce7;color:#166534;font-size:20px;font-weight:950}
.critical-summary.has-issues .critical-icon{background:#fee2e2;color:#991b1b}
.critical-issue-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:2px}
.critical-issue{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:11px;padding:10px 11px;background:#fff}.critical-issue-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#f59e0b;flex:0 0 auto}.critical-issue.critical .critical-issue-dot{background:#ef4444}.critical-issue>div{display:grid;gap:2px;min-width:0}.critical-issue strong{font-size:12px;overflow-wrap:anywhere}.critical-issue span:last-child{font-size:11px;color:var(--muted);line-height:1.4}.critical-more{grid-column:1/-1;color:#92400e;font-size:11px;font-weight:800;padding:4px 2px}
.fleet-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.hosted-grids-section{padding-bottom:26px}.hosted-grid-list{display:grid;gap:16px}
.hosted-grid-card{overflow:hidden;border:1px solid var(--line);border-left:4px solid #22c55e;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.045)}
.hosted-grid-card.degraded{border-left-color:#f59e0b}.hosted-grid-card.outage{border-left-color:#ef4444}.hosted-grid-card.stale{border-left-color:#94a3b8}
.hosted-grid-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 18px 13px}.hosted-grid-title{display:flex;align-items:center;gap:12px;min-width:0}.hosted-grid-title h3{margin:0;font-size:19px;line-height:1.2;letter-spacing:-.015em;overflow-wrap:anywhere}.hosted-grid-state{display:grid;justify-items:end;gap:5px}.grid-last-seen{font-size:10px;color:var(--muted);font-weight:750}
.grid-service-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 18px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;background:#fafbfd}.grid-inline-reason{font-size:11px;color:var(--muted);margin-left:auto;overflow-wrap:anywhere}
.server-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:14px 16px 17px;background:#f8fafc}.server-empty{grid-column:1/-1;border:1px dashed var(--line-strong);border-radius:11px;padding:16px;text-align:center;color:var(--muted);background:#fff}
.server-health-card{border:1px solid var(--line);border-top:3px solid #22c55e;border-radius:13px;background:#fff;padding:13px;min-width:0}.server-health-card.degraded{border-top-color:#f59e0b}.server-health-card.outage{border-top-color:#ef4444}.server-health-card.stale{border-top-color:#94a3b8}
.server-health-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}.server-health-head>div{display:grid;gap:2px}.server-health-head strong{font-size:13px}.server-health-head span{font-size:10px;color:var(--muted)}
.server-state{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px!important;font-weight:900!important;white-space:nowrap;background:#ecfdf3;color:#166534!important;border:1px solid #bbf7d0}.server-state.degraded{background:#fff8e6;color:#92400e!important;border-color:#fde68a}.server-state.outage{background:#fff1f0;color:#991b1b!important;border-color:#fecaca}.server-state.stale{background:#f1f5f9;color:#475569!important;border-color:#e2e8f0}
.server-resource-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.resource-line{min-width:0;border:1px solid #e7ebf0;border-radius:10px;padding:9px;background:#fbfcfe}.resource-line.warning{border-color:#f8d68a;background:#fffaf0}.resource-copy{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.resource-copy span{font-size:10px;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.06em}.resource-copy strong{font-size:15px;letter-spacing:-.02em}.resource-track{height:6px;border-radius:999px;background:#e8edf3;overflow:hidden;margin:7px 0 5px}.resource-track span{display:block;height:100%;border-radius:999px;background:#2563eb}.resource-line.warning .resource-track span{background:#f59e0b}.resource-line small{display:block;min-height:28px;color:var(--muted);font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.server-health-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid #edf1f5;color:var(--muted);font-size:9px}.server-warning-text{color:#9a5b00;font-size:9px}
@media(max-width:980px){.server-card-grid{grid-template-columns:1fr}.server-resource-list{grid-template-columns:repeat(3,minmax(0,1fr))}.critical-issue-list{grid-template-columns:1fr}.fleet-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.hosted-grid-head{align-items:flex-start;flex-direction:column}.hosted-grid-state{justify-items:start}.grid-inline-reason{width:100%;margin-left:0}.server-resource-list{grid-template-columns:1fr}.resource-line small{min-height:0}.critical-summary-head{align-items:flex-start}.fleet-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.fleet-metrics{grid-template-columns:1fr}.server-card-grid{padding:10px}.hosted-grid-head{padding:15px 14px 11px}.grid-service-bar{padding:9px 14px}.critical-summary{padding:16px}}

/* GRIDHEALTH1521 ----------------------------------------------------------
 * Detailed CPU/RAM/Disk infrastructure is private to the administrator area.
 * Grid groups are full-width; Region Server cards use an auto-fit layout and
 * equal-height rows so different region counts/notes cannot scramble alignment.
 */
.admin-page .admin-critical-summary{margin-top:2px}
.admin-page .admin-infrastructure .admin-hosted-grid-list{display:flex;flex-direction:column;gap:18px}
.admin-page .admin-infrastructure .hosted-grid-card{width:100%;min-width:0}
.admin-page .admin-infrastructure .server-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  align-items:stretch;
  gap:14px;
}
.admin-page .admin-infrastructure .server-health-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:15px;
}
.admin-page .admin-infrastructure .server-resource-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  flex:1 1 auto;
}
.admin-page .admin-infrastructure .resource-line{display:block;min-width:0;padding:10px 11px}
.admin-page .admin-infrastructure .resource-line small{min-height:0;margin-top:1px}
.admin-page .admin-infrastructure .server-health-foot{margin-top:12px}
.admin-page .admin-infrastructure .hosted-grid-head{align-items:flex-start}
.admin-page .admin-infrastructure .hosted-grid-title{flex:1 1 auto}
.admin-page .admin-infrastructure .hosted-grid-title .small{overflow-wrap:anywhere}
@media(max-width:720px){
  .admin-page .admin-infrastructure .server-card-grid{grid-template-columns:1fr;padding:10px}
  .admin-page .admin-infrastructure .hosted-grid-head{flex-direction:column}
  .admin-page .admin-infrastructure .hosted-grid-state{justify-items:start}
}
.site-chip.site-chip-warning{border-color:#fde68a;background:#fff8e6}.site-chip.site-chip-warning strong{color:#92400e}.site-chip.site-chip-warning small{color:#9a5b00}

/* INFRAHEALTH1522 ---------------------------------------------------------
 * Private dark infrastructure monitor inspired by NOC/status-wall layouts.
 * No public page uses these rules.
 */
.infra-live-page{background:#050b11;color:#dce8f4;min-height:100vh}.infra-live-page .wrap{max-width:1600px}.infra-wrap{padding-top:18px;padding-bottom:36px}.infra-live-page .site-nav{background:#08111a;border:1px solid #142536;box-shadow:0 10px 30px rgba(0,0,0,.22)}.infra-live-page .brand strong{color:#f8fbff}.infra-live-page .brand small{color:#71869b}.infra-live-page .brand-mark{background:linear-gradient(145deg,#0ea5e9,#2563eb);box-shadow:0 0 24px rgba(14,165,233,.28)}.infra-live-page .button.ghost{background:#0b1620;border-color:#223446;color:#d6e7f7}.infra-live-page .button.ghost:hover{background:#102233;border-color:#31506a}.infra-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:24px 0 16px}.infra-heading h1{margin:4px 0 6px;font-size:34px;line-height:1.05;color:#fff;letter-spacing:-.03em}.infra-heading p{margin:0;color:#8298ad;font-size:14px}.infra-live-page .eyebrow,.infra-live-page .section-kicker{color:#4fd5ff}.infra-refresh{white-space:nowrap;border:1px solid #1b3246;background:#09131d;border-radius:11px;padding:10px 13px;color:#8298ad;font-size:12px}.infra-refresh strong{color:#68e1ff;font-size:15px}.infra-alert-box{border:1px solid #16452f;background:linear-gradient(135deg,#071a14,#08131b);border-radius:16px;padding:17px 18px;margin-bottom:14px;box-shadow:0 8px 28px rgba(0,0,0,.22)}.infra-alert-box.has-alerts{border-color:#67262b;background:linear-gradient(135deg,#1d0d10,#0b1118)}.infra-alert-head{display:flex;gap:13px;align-items:center}.infra-alert-head h2{margin:2px 0 3px;color:#fff;font-size:19px}.infra-alert-head p{margin:0;color:#8ca0b4;font-size:12px}.infra-alert-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#0c3a25;color:#68f0a2;font-size:18px;font-weight:950}.has-alerts .infra-alert-icon{background:#4b171d;color:#ff727b}.infra-alert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:7px;margin-top:13px}.infra-alert-row{display:flex;gap:8px;align-items:flex-start;border:1px solid #263746;background:#0a131c;border-radius:9px;padding:9px 10px}.infra-alert-row>span{width:8px;height:8px;border-radius:50%;background:#ffd43b;margin-top:4px;box-shadow:0 0 10px rgba(255,212,59,.35);flex:none}.infra-alert-row.critical>span{background:#ff4757;box-shadow:0 0 12px rgba(255,71,87,.45)}.infra-alert-row>div{display:grid;gap:2px}.infra-alert-row strong{font-size:11px;color:#f5f8fb;overflow-wrap:anywhere}.infra-alert-row small{font-size:10px;color:#8397aa;line-height:1.35}.infra-alert-more{margin-top:8px;color:#d9a6aa;font-size:10px}.infra-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:16px}.infra-summary>div{display:grid;gap:2px;padding:11px 13px;border:1px solid #152a3b;border-radius:11px;background:#08121b}.infra-summary strong{font-size:22px;color:#fff;line-height:1}.infra-summary span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#6f8497;font-weight:800}.infra-grid-groups{display:grid;gap:13px}.infra-grid-group{border:1px solid #172b3b;border-radius:15px;background:#070f17;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.18)}.infra-grid-group.degraded{border-color:#594b1b}.infra-grid-group.outage{border-color:#612229}.infra-grid-group.stale{border-color:#34414c}.infra-grid-group.unmatched{margin-top:13px}.infra-grid-header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px 11px;background:#08131d}.infra-grid-name{display:flex;align-items:center;gap:9px}.infra-grid-name h2{margin:0;color:#eef7ff;font-size:18px;line-height:1.2}.infra-grid-header p{margin:4px 0 0 19px;color:#71879b;font-size:10px}.infra-dot{width:9px;height:9px;border-radius:50%;background:#42e68a;box-shadow:0 0 11px rgba(66,230,138,.45)}.infra-grid-group.degraded .infra-dot{background:#ffd43b;box-shadow:0 0 11px rgba(255,212,59,.4)}.infra-grid-group.outage .infra-dot{background:#ff4757;box-shadow:0 0 11px rgba(255,71,87,.45)}.infra-grid-group.stale .infra-dot{background:#64748b;box-shadow:none}.infra-grid-status{display:grid;gap:4px;justify-items:end}.infra-grid-status small{font-size:9px;color:#64798c}.infra-service-strip{display:flex;gap:6px;flex-wrap:wrap;padding:8px 15px;border-top:1px solid #10202d;border-bottom:1px solid #10202d;background:#060d14}.infra-service{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900;letter-spacing:.03em;border:1px solid #24402f;background:#0b2519;color:#65e99c}.infra-service.warn{border-color:#53451a;background:#211d0b;color:#ffd75d}.infra-service.bad{border-color:#5b252a;background:#250d11;color:#ff7f87}.infra-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:8px;padding:9px;background:#060c12;align-items:stretch}.infra-server-card{display:flex;flex-direction:column;min-width:0;border:1px solid #243342;border-radius:10px;background:linear-gradient(180deg,#0a121a,#080f16);padding:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}.infra-server-card.online,.infra-server-card.operational{border-color:#25513c}.infra-server-card.degraded,.infra-server-card.warning{border-color:#63521c}.infra-server-card.outage,.infra-server-card.critical{border-color:#6f272f}.infra-server-card.stale,.infra-server-card.offline{border-color:#34414c}.infra-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.infra-card-head>div{display:grid;gap:2px;min-width:0}.infra-type{font-size:8px!important;letter-spacing:.12em;color:#48cdf8!important;font-weight:900}.infra-card-head strong{font-size:12px;color:#f3f8fc;overflow-wrap:anywhere}.infra-card-head small{font-size:9px;color:#687e91;overflow-wrap:anywhere}.infra-state{display:inline-flex;white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:950;border:1px solid #285139;background:#0c281b;color:#62eda0}.infra-state.warning,.infra-state.degraded{border-color:#66561e;background:#241f0c;color:#ffd75d}.infra-state.critical,.infra-state.outage{border-color:#6b2930;background:#2a1014;color:#ff7880}.infra-state.stale,.infra-state.offline{border-color:#3b4955;background:#151d25;color:#94a5b3}.infra-bars{display:grid;gap:7px;flex:1}.infra-metric{border:1px solid #172735;border-radius:8px;background:#071019;padding:7px 8px}.infra-metric-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.infra-metric-head span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7e93a7}.infra-metric-head strong{font-size:11px;color:#dce8f4}.infra-track{position:relative;height:10px;margin:5px 0 4px;border-radius:4px;background:#111e29;overflow:hidden;border:1px solid #1c2b37}.infra-fill{display:block;position:relative;height:100%;border-radius:3px;transition:width .8s cubic-bezier(.2,.8,.2,1);background:repeating-linear-gradient(90deg,#42e68a 0,#42e68a 6px,transparent 6px,transparent 9px);filter:drop-shadow(0 0 3px rgba(66,230,138,.25))}.infra-metric.warning .infra-fill{background:repeating-linear-gradient(90deg,#ffd43b 0,#ffd43b 6px,transparent 6px,transparent 9px);filter:drop-shadow(0 0 3px rgba(255,212,59,.25))}.infra-metric.critical .infra-fill{background:repeating-linear-gradient(90deg,#ff4757 0,#ff4757 6px,transparent 6px,transparent 9px);filter:drop-shadow(0 0 4px rgba(255,71,87,.32))}.infra-metric.unknown .infra-fill{background:#334155;filter:none}.infra-track.disk-track{height:12px;border-radius:999px}.disk-track .infra-fill{border-radius:999px;background:linear-gradient(90deg,#39d98a,#42e68a)}.infra-metric.warning .disk-track .infra-fill{background:linear-gradient(90deg,#e9b927,#ffd43b)}.infra-metric.critical .disk-track .infra-fill{background:linear-gradient(90deg,#ef3340,#ff5a67)}.disk-track .infra-fill:after{content:"";position:absolute;right:-1px;top:50%;transform:translateY(-50%);width:10px;height:10px;border-radius:50%;background:#eafff3;box-shadow:0 0 8px rgba(255,255,255,.45)}.infra-metric small{display:block;font-size:8px;color:#60778a;line-height:1.35;min-height:11px;overflow-wrap:anywhere}.infra-server-card footer{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;border-top:1px solid #13222e;margin-top:8px;padding-top:7px;font-size:8px;color:#5c7184}.infra-empty{border:1px dashed #304252;border-radius:10px;padding:18px;text-align:center;color:#758a9d;background:#071019}.infra-empty.compact{grid-column:1/-1;padding:13px}.infra-page-foot{text-align:center;color:#4f6577;font-size:9px;padding:18px 0 2px}.infra-live-page .status-pill{font-size:8px;padding:4px 7px}.infra-live-page .status-pill.operational{background:#0c281b;color:#62eda0;border-color:#285139}.infra-live-page .status-pill.degraded{background:#241f0c;color:#ffd75d;border-color:#66561e}.infra-live-page .status-pill.outage{background:#2a1014;color:#ff7880;border-color:#6b2930}.infra-live-page .status-pill.stale{background:#151d25;color:#94a5b3;border-color:#3b4955}
@media(max-width:1000px){.infra-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.infra-card-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}}
@media(max-width:720px){.infra-heading,.infra-grid-header{align-items:flex-start;flex-direction:column}.infra-grid-status{justify-items:start}.infra-grid-header p{margin-left:0}.infra-summary{grid-template-columns:1fr 1fr}.infra-card-grid{grid-template-columns:1fr}.infra-refresh{align-self:flex-start}}
@media(max-width:460px){.infra-summary{grid-template-columns:1fr}.infra-heading h1{font-size:28px}.infra-card-grid{padding:7px}}
.fleet-linux-awareness{margin-bottom:18px}.fleet-linux-host-list{display:flex;flex-wrap:wrap;gap:8px}.fleet-linux-host-chip{display:grid;gap:2px;min-width:180px;border:1px solid var(--line);border-radius:11px;background:#fbfcfe;padding:9px 11px}.fleet-linux-host-chip strong{font-size:12px}.fleet-linux-host-chip small{font-size:9px;color:var(--muted)}.fleet-linux-host-chip.online{border-color:#bbf7d0;background:#f0fdf4}.fleet-linux-host-chip.stale{border-color:#fde68a;background:#fff8e6}.infrastructure-launch-card{margin-bottom:18px}

/* INFRAHEALTH1522: keep registered Linux hosts visible on Status Control. */
.admin-linux-hosts{margin-top:14px}.admin-linux-hosts .fleet-linux-host-chip{display:flex;flex-direction:column;gap:3px;text-decoration:none;min-width:220px}.admin-linux-hosts .fleet-linux-host-chip small:last-child{opacity:.78}
