:root {
  --bg: #07100f;
  --bg-soft: #0a1514;
  --panel: rgba(13, 27, 25, 0.86);
  --panel-strong: #0f211e;
  --panel-line: rgba(176, 222, 207, 0.11);
  --panel-line-strong: rgba(176, 222, 207, 0.2);
  --text: #edf8f3;
  --muted: #829790;
  --muted-2: #587069;
  --mint: #65f2c2;
  --mint-soft: rgba(101, 242, 194, 0.12);
  --blue: #6ca8ff;
  --blue-soft: rgba(108, 168, 255, 0.12);
  --amber: #f5c66f;
  --amber-soft: rgba(245, 198, 111, 0.12);
  --red: #ff7b7b;
  --red-soft: rgba(255, 123, 123, 0.12);
  --sidebar: 242px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(63, 145, 121, 0.11), transparent 28rem),
    radial-gradient(circle at 18% 85%, rgba(57, 92, 131, 0.08), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.is-hidden { display: none !important; }

.login-view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 18px;
  isolation: isolate;
}

.login-view::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(101, 242, 194, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 242, 194, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 5%, transparent 72%);
}

.login-view::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  z-index: -2;
  border-radius: 50%;
  background: rgba(48, 193, 147, 0.09);
  filter: blur(100px);
}

.login-orbit {
  position: absolute;
  width: min(780px, 90vw);
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(101, 242, 194, 0.07);
  border-radius: 50%;
  animation: rotate 36s linear infinite;
}

.login-orbit::before,
.login-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(101, 242, 194, 0.055);
  border-radius: inherit;
}

.login-orbit::after { inset: 30%; }
.login-orbit span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); }
.login-orbit span:nth-child(1) { left: 8%; top: 25%; }
.login-orbit span:nth-child(2) { right: 4%; top: 45%; }
.login-orbit span:nth-child(3) { left: 46%; bottom: -3px; }

@keyframes rotate { to { transform: rotate(360deg); } }

.login-panel {
  width: min(100%, 480px);
  padding: 34px;
  border: 1px solid var(--panel-line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 36, 32, 0.95), rgba(9, 20, 18, 0.97));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-login { margin-bottom: 38px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(101, 242, 194, 0.07); border: 1px solid rgba(101, 242, 194, 0.17); }
.brand-mark img { width: 28px; height: 28px; }
.brand strong { display: block; font-size: 15px; letter-spacing: 0.02em; }
.brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(101, 242, 194, 0.09), 0 0 18px rgba(101, 242, 194, 0.65); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; box-shadow: 0 0 0 8px transparent; } }

.login-panel h1 { margin: 15px 0 14px; font-size: clamp(34px, 7vw, 48px); line-height: 1.02; letter-spacing: -0.045em; }
.login-copy { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.login-form { display: grid; gap: 8px; }
.login-form label { margin-top: 7px; color: #adbbb6; font-size: 11px; font-weight: 650; }
.login-form input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid var(--panel-line-strong);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: rgba(2, 9, 8, 0.55);
  transition: border-color .2s, box-shadow .2s;
}
.login-form input:focus { border-color: rgba(101, 242, 194, 0.65); box-shadow: 0 0 0 3px rgba(101, 242, 194, 0.08); }
.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  margin-top: 14px;
  padding: 0 16px 0 18px;
  border: 0;
  border-radius: 11px;
  color: #052019;
  background: var(--mint);
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(101, 242, 194, 0.15); }
.primary-button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.form-error { min-height: 18px; margin: 4px 0 0; color: var(--red); font-size: 12px; }
.login-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--panel-line); color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.login-foot span { display: flex; align-items: center; gap: 6px; }
.login-foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

.app-shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  padding: 24px 18px 18px;
  border-right: 1px solid var(--panel-line);
  background: rgba(6, 15, 14, 0.93);
  backdrop-filter: blur(18px);
}
.sidebar > .brand { padding: 0 8px 24px; border-bottom: 1px solid var(--panel-line); }
.nav { display: grid; gap: 4px; margin-top: 24px; }
.nav p { margin: 0 10px 9px; color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nav-link { position: relative; display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 11px; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 600; transition: color .2s, background .2s; }
.nav-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.nav-link:first-of-type svg { fill: currentColor; stroke: none; }
.nav-link:hover { color: #cfe0da; background: rgba(255, 255, 255, 0.025); }
.nav-link.is-active { color: var(--mint); background: rgba(101, 242, 194, 0.075); }
.nav-link.is-active::before { content: ""; position: absolute; left: 0; width: 2px; height: 18px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.sidebar-status { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 12px; border: 1px solid var(--panel-line); border-radius: 11px; background: rgba(255,255,255,.018); }
.status-orb { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 5px rgba(255,255,255,.03); }
.status-orb.healthy { background: var(--mint); box-shadow: 0 0 0 5px var(--mint-soft), 0 0 18px rgba(101,242,194,.4); }
.status-orb.degraded { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }
.status-orb.critical { background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 11px; }
.sidebar-status small { margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.logout-button { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 10px 12px; border: 0; color: var(--muted-2); background: transparent; font-size: 11px; cursor: pointer; }
.logout-button:hover { color: var(--text); }
.logout-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.main { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 13px clamp(22px, 3vw, 42px); border-bottom: 1px solid var(--panel-line); background: rgba(7, 16, 15, 0.82); backdrop-filter: blur(20px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted-2); font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.breadcrumb i { opacity: .45; }
.breadcrumb strong { color: var(--mint); }
.topbar h2 { margin: 6px 0 0; font-size: 17px; letter-spacing: -.015em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.sync-copy { text-align: right; }
.sync-copy span, .sync-copy strong { display: block; }
.sync-copy span { color: var(--muted-2); font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.sync-copy strong { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }
.icon-button, .mobile-menu { border: 1px solid var(--panel-line); background: rgba(255,255,255,.025); cursor: pointer; }
.icon-button { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--muted); }
.icon-button:hover { color: var(--mint); border-color: rgba(101,242,194,.25); }
.icon-button.is-loading svg { animation: rotate 1s linear infinite; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.user-chip { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(101,242,194,.18); border-radius: 11px; color: var(--mint); background: var(--mint-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.mobile-menu { display: none; width: 38px; height: 38px; padding: 9px; border-radius: 9px; }
.mobile-menu span { display: block; height: 1px; margin: 4px 0; background: var(--text); }

.content { width: min(100%, 1560px); margin: 0 auto; padding: 30px clamp(20px, 3vw, 42px) 42px; }
.section { scroll-margin-top: 100px; margin-bottom: 52px; }
.panel { border: 1px solid var(--panel-line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(14, 30, 27, .83), rgba(9, 21, 19, .87)); box-shadow: var(--shadow); }
.hero-section { margin-bottom: 56px; }
.hero-card { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 242px; overflow: hidden; padding: clamp(27px, 4vw, 46px); }
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(101,242,194,.055), transparent 48%), repeating-linear-gradient(90deg, transparent 0, transparent 54px, rgba(255,255,255,.012) 55px); }
.hero-card::after { content: ""; position: absolute; right: -95px; top: -120px; width: 410px; height: 410px; border: 1px solid rgba(101,242,194,.08); border-radius: 50%; box-shadow: 0 0 0 58px rgba(101,242,194,.018), 0 0 0 116px rgba(101,242,194,.012); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { margin: 14px 0 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.hero-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: #a2b4ae; font-size: 10px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--mint); }
.score-wrap { position: relative; z-index: 2; flex: 0 0 auto; padding: 10px 28px; }
.score-ring, .proxy-ring { --score: 0; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--mint) calc(var(--score) * 1%), rgba(101,242,194,.08) 0); }
.score-ring { position: relative; width: 154px; height: 154px; box-shadow: 0 0 50px rgba(101,242,194,.06); }
.score-ring::after, .proxy-ring::after { content: ""; position: absolute; border-radius: inherit; background: #0c1c19; }
.score-ring::after { inset: 8px; }
.score-ring > div, .proxy-ring > div { position: relative; z-index: 1; text-align: center; }
.score-ring strong { display: block; font-size: 45px; line-height: 1; letter-spacing: -.055em; }
.score-ring span { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.score-ring.degraded { background: conic-gradient(var(--amber) calc(var(--score) * 1%), rgba(245,198,111,.08) 0); }
.score-ring.critical { background: conic-gradient(var(--red) calc(var(--score) * 1%), rgba(255,123,123,.08) 0); }

.kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.kpi-card { position: relative; min-height: 132px; overflow: hidden; padding: 18px; border: 1px solid var(--panel-line); border-radius: 15px; background: rgba(12, 26, 23, .74); }
.kpi-card::after { content: ""; position: absolute; width: 70px; height: 70px; right: -30px; bottom: -38px; border: 1px solid rgba(101,242,194,.08); border-radius: 50%; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }
.kpi-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--mint); background: var(--mint-soft); }
.kpi-icon svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.kpi-value { display: block; margin-top: 17px; font-size: 26px; line-height: 1; letter-spacing: -.035em; }
.kpi-sub { display: block; margin-top: 8px; color: var(--muted-2); font-size: 10px; }
.kpi-sub.good { color: var(--mint); }
.kpi-sub.warn { color: var(--amber); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.section-heading h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.025em; }
.section-kicker { margin: 0; color: var(--mint); font-size: 9px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
.section-note { color: var(--muted-2); font-size: 9px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.service-card { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--panel-line); border-radius: 14px; background: rgba(12,26,23,.68); }
.service-icon { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; color: var(--mint); background: var(--mint-soft); }
.service-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-card.degraded .service-icon { color: var(--amber); background: var(--amber-soft); }
.service-card.offline .service-icon { color: var(--red); background: var(--red-soft); }
.service-copy { min-width: 0; }
.service-copy strong, .service-copy span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-copy strong { font-size: 12px; }
.service-copy span { margin-top: 5px; color: var(--muted-2); font-size: 9px; }
.service-state { margin-left: auto; align-self: flex-start; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px rgba(101,242,194,.5); }
.service-card.degraded .service-state { background: var(--amber); box-shadow: none; }
.service-card.offline .service-state { background: var(--red); box-shadow: none; }

.two-column { display: grid; gap: 12px; }
.two-column.wide-left { grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); }
.two-column.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chart-panel, .notice-panel, .two-column > .panel, .request-panel, .list-panel, .activity-panel, .data-panel { padding: 21px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-head p { margin: 0 0 5px; color: var(--muted-2); font-size: 8px; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.panel-head h3 { margin: 0; font-size: 14px; letter-spacing: -.012em; }
.legend, .list-legend { display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.legend span, .list-legend span { display: flex; align-items: center; gap: 6px; }
.legend i, .list-legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend .mint { background: var(--mint); }
.legend .blue { background: var(--blue); }
.chart-summary { display: flex; gap: 34px; margin: 24px 0 2px; }
.chart-summary div { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
.chart-summary span { grid-column: 1 / -1; color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.chart-summary strong { margin-top: 5px; font-size: 22px; }
.chart-summary small { color: var(--muted-2); font-size: 9px; }
.chart { position: relative; height: 180px; margin-top: 8px; overflow: hidden; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid { stroke: rgba(176,222,207,.06); stroke-width: 1; }
.chart-area { fill: url(#areaGradient); }
.chart-line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-line.secondary { stroke: var(--blue); opacity: .9; }
.chart-label { fill: var(--muted-2); font-size: 8px; }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--muted-2); font-size: 10px; }
.count-badge { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 8px; color: var(--mint); background: var(--mint-soft); font-size: 10px; font-weight: 750; }
.notice-list { display: grid; gap: 9px; margin-top: 19px; }
.notice-item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px; border: 1px solid var(--panel-line); border-radius: 11px; background: rgba(255,255,255,.015); }
.notice-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--amber); background: var(--amber-soft); font-size: 12px; font-weight: 850; }
.notice-item.healthy .notice-mark { color: var(--mint); background: var(--mint-soft); }
.notice-item.critical .notice-mark { color: var(--red); background: var(--red-soft); }
.notice-item strong { display: block; margin-top: 1px; font-size: 10px; }
.notice-item p { margin: 4px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.45; }

.mini-health { padding: 5px 8px; border-radius: 7px; color: var(--mint); background: var(--mint-soft); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.fleet-bars { display: grid; gap: 16px; margin-top: 24px; }
.fleet-row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.fleet-row-head strong { font-size: 10px; text-transform: capitalize; }
.fleet-row-head span { color: var(--muted-2); font-size: 9px; }
.bar-track { height: 5px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.055); }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #8affd8); box-shadow: 0 0 12px rgba(101,242,194,.18); }
.panel-foot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--panel-line); }
.panel-foot-stats span, .panel-foot-stats strong { display: block; }
.panel-foot-stats span { color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.panel-foot-stats strong { margin-top: 7px; font-size: 11px; }
.proxy-viz { display: flex; align-items: center; gap: clamp(22px, 5vw, 50px); margin: 26px 4px 18px; }
.proxy-ring { position: relative; flex: 0 0 auto; width: 120px; height: 120px; }
.proxy-ring::after { inset: 7px; }
.proxy-ring strong { display: block; font-size: 32px; line-height: 1; }
.proxy-ring span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.proxy-metrics { flex: 1; display: grid; gap: 14px; }
.proxy-metrics div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--panel-line); }
.proxy-metrics span { color: var(--muted-2); font-size: 9px; }
.proxy-metrics strong { font-size: 10px; }
.status-segments { display: flex; gap: 4px; height: 5px; }
.status-segment { min-width: 4px; border-radius: 3px; background: var(--mint); }
.status-segment.slow { background: var(--amber); }
.status-segment.dead { background: var(--red); }
.status-segment.unknown { background: var(--muted-2); }

.monitor-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.monitor-card { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 17px; border: 1px solid var(--panel-line); border-radius: 14px; background: rgba(12,26,23,.67); }
.monitor-card-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--blue); background: var(--blue-soft); }
.monitor-card-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.monitor-card span, .monitor-card strong { display: block; }
.monitor-card span { color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.monitor-card strong { margin-top: 5px; font-size: 17px; }
.list-panel { overflow: hidden; }
.list-legend i { background: var(--mint); }
.list-legend span:nth-child(2) i { background: var(--amber); }
.list-legend span:nth-child(3) i { background: var(--muted-2); }
.list-table { margin: 18px -21px -21px; }
.list-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(120px, .75fr) minmax(180px, 1.2fr) 95px 120px; align-items: center; gap: 18px; min-height: 61px; padding: 9px 21px; border-top: 1px solid var(--panel-line); }
.list-row.head { min-height: 35px; color: var(--muted-2); background: rgba(255,255,255,.012); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.list-identity strong, .list-identity span { display: block; }
.list-identity strong { font-size: 10px; }
.list-identity span { margin-top: 4px; color: var(--muted-2); font-size: 8px; }
.list-owner { color: var(--muted); font-size: 9px; }
.capacity { display: flex; align-items: center; gap: 10px; }
.capacity .bar-track { flex: 1; }
.capacity span { width: 29px; color: var(--muted); font-size: 8px; text-align: right; }
.list-count { font-size: 9px; }
.list-signal { color: var(--muted-2); font-size: 8px; text-align: right; }
.bar-fill.warning { background: var(--amber); box-shadow: none; }
.bar-fill.critical { background: var(--red); box-shadow: none; }
.bar-fill.idle { width: 2px !important; background: var(--muted-2); box-shadow: none; }

.job-types { display: grid; gap: 10px; margin-top: 20px; }
.job-row { display: grid; grid-template-columns: minmax(100px, 1.2fr) 2fr 54px 60px; align-items: center; gap: 12px; min-height: 34px; }
.job-name { font-size: 9px; text-transform: capitalize; }
.job-stack { display: flex; height: 5px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.045); }
.job-stack .complete { background: var(--mint); }
.job-stack .failed { background: var(--red); }
.job-meta { color: var(--muted-2); font-size: 8px; text-align: right; }
.job-latency { color: var(--muted); font-size: 8px; text-align: right; }
.queue-visual { display: flex; height: 10px; overflow: hidden; margin-top: 28px; border-radius: 8px; background: rgba(255,255,255,.04); }
.queue-piece.done { background: var(--mint); }
.queue-piece.failed { background: var(--red); }
.queue-piece.skipped { background: var(--muted-2); }
.queue-piece.pending, .queue-piece.processing, .queue-piece.claimed, .queue-piece.retry { background: var(--amber); }
.queue-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.queue-key { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 9px; }
.queue-key span { display: flex; align-items: center; gap: 7px; text-transform: capitalize; }
.queue-key i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.queue-key.done i { background: var(--mint); }
.queue-key.failed i { background: var(--red); }
.queue-key.pending i, .queue-key.processing i, .queue-key.claimed i, .queue-key.retry i { background: var(--amber); }
.queue-key strong { color: var(--text); font-size: 9px; }
.queue-caption { margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--panel-line); color: var(--muted-2); font-size: 9px; line-height: 1.5; }
.request-panel { margin-top: 12px; overflow: hidden; }
.request-table { margin: 18px -21px -21px; }
.request-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(110px, .8fr) 100px 100px 130px; gap: 16px; align-items: center; min-height: 50px; padding: 8px 21px; border-top: 1px solid var(--panel-line); font-size: 9px; }
.request-row.head { min-height: 34px; color: var(--muted-2); background: rgba(255,255,255,.012); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.request-id { color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.request-type { text-transform: capitalize; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-width: 67px; height: 22px; padding: 0 8px; border-radius: 7px; color: var(--mint); background: var(--mint-soft); font-size: 7px; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.status-pill.failed { color: var(--red); background: var(--red-soft); }
.status-pill.processing, .status-pill.pending, .status-pill.claimed { color: var(--amber); background: var(--amber-soft); }
.request-time { color: var(--muted-2); }

.activity-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 12px; }
.activity-feed { display: grid; }
.activity-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--panel-line); }
.activity-item:first-child { padding-top: 0; }
.activity-item:last-child { padding-bottom: 0; border: 0; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.activity-copy { min-width: 0; }
.activity-copy header { display: flex; align-items: center; gap: 8px; }
.activity-copy header strong { font-size: 10px; }
.activity-copy header span { padding: 3px 5px; border-radius: 5px; color: var(--mint); background: var(--mint-soft); font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.activity-copy p { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.activity-time { color: var(--muted-2); font-size: 8px; white-space: nowrap; }
.data-panel { position: relative; overflow: hidden; min-height: 430px; }
.data-orbit { position: relative; width: 170px; height: 170px; margin: 32px auto 20px; border: 1px solid rgba(101,242,194,.12); border-radius: 50%; }
.data-orbit::before, .data-orbit::after { content: ""; position: absolute; border: 1px solid rgba(101,242,194,.08); border-radius: inherit; }
.data-orbit::before { inset: 23px; }
.data-orbit::after { inset: 49px; background: rgba(101,242,194,.035); }
.data-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 15px var(--mint); }
.data-orbit span:first-child { top: 17px; right: 31px; }
.data-orbit span:nth-child(2) { left: 5px; top: 86px; }
.data-orbit i { position: absolute; inset: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--mint); box-shadow: 0 0 30px rgba(101,242,194,.7); }
.data-primary { position: absolute; top: 126px; left: 50%; z-index: 1; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.data-primary strong, .data-primary span { display: block; }
.data-primary strong { font-size: 23px; }
.data-primary span { margin-top: 4px; color: var(--muted-2); font-size: 7px; text-transform: uppercase; letter-spacing: .09em; }
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.data-item { padding: 11px; border: 1px solid var(--panel-line); border-radius: 9px; background: rgba(255,255,255,.014); }
.data-item span, .data-item strong { display: block; }
.data-item span { color: var(--muted-2); font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.data-item strong { margin-top: 6px; font-size: 11px; }

footer { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--panel-line); color: var(--muted-2); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 40; max-width: 340px; padding: 12px 15px; border: 1px solid var(--panel-line-strong); border-radius: 11px; color: var(--text); background: #122622; box-shadow: var(--shadow); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: none; }
.empty-state { display: grid; place-items: center; min-height: 110px; color: var(--muted-2); font-size: 10px; }

@media (max-width: 1240px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .monitor-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --sidebar: 224px; }
  .two-column.wide-left, .two-column.equal, .activity-layout { grid-template-columns: 1fr; }
  .data-panel { min-height: 410px; }
  .list-row { grid-template-columns: minmax(140px,1fr) minmax(180px,1.2fr) 80px 100px; }
  .list-row > :nth-child(2) { display: none; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-103%); transition: transform .25s ease; box-shadow: 30px 0 80px rgba(0,0,0,.45); }
  .sidebar.is-open { transform: none; }
  .main { grid-column: auto; }
  .mobile-menu { display: block; }
  .topbar { gap: 12px; padding: 11px 16px; }
  .topbar .breadcrumb { display: none; }
  .topbar h2 { margin: 0; font-size: 14px; }
  .sync-copy { display: none; }
  .content { padding: 22px 15px 34px; }
  .section { margin-bottom: 42px; }
  .hero-card { min-height: 330px; align-items: flex-start; }
  .score-wrap { position: absolute; right: 18px; bottom: 18px; padding: 0; }
  .score-ring { width: 106px; height: 106px; }
  .score-ring strong { font-size: 31px; }
  .hero-meta { max-width: calc(100% - 115px); flex-wrap: wrap; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .monitor-summary { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; }
  .section-note { display: none; }
  .chart-panel, .notice-panel, .two-column > .panel, .request-panel, .list-panel, .activity-panel, .data-panel { padding: 17px; }
  .legend, .list-legend { display: none; }
  .panel-foot-stats { grid-template-columns: 1fr 1fr; }
  .panel-foot-stats > div:last-child { grid-column: 1 / -1; }
  .proxy-viz { gap: 20px; }
  .proxy-ring { width: 100px; height: 100px; }
  .list-table, .request-table { margin-left: -17px; margin-right: -17px; margin-bottom: -17px; overflow-x: auto; }
  .list-row { min-width: 660px; padding-left: 17px; padding-right: 17px; grid-template-columns: 160px 200px 80px 110px; }
  .request-row { min-width: 650px; padding-left: 17px; padding-right: 17px; }
  .job-row { grid-template-columns: 100px 1fr 42px; }
  .job-latency { display: none; }
  .activity-item { grid-template-columns: 34px 1fr; }
  .activity-time { grid-column: 2; }
  footer { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 430px) {
  .login-panel { padding: 26px 22px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { min-height: 119px; padding: 15px; }
  .kpi-value { font-size: 22px; }
  .hero-card { padding: 25px 21px; }
  .hero-copy h1 { font-size: 31px; }
  .chart-summary { gap: 18px; }
  .proxy-viz { align-items: flex-start; }
  .proxy-metrics div { display: block; }
  .proxy-metrics strong { display: block; margin-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
