:root {
  --bg: #0a1013;
  --surface: #0e1619;
  --surface-raised: #121d20;
  --surface-soft: #172427;
  --line: #26383b;
  --line-soft: #1a2a2d;
  --text: #eff4ef;
  --text-soft: #bcc9c3;
  --muted: #7f908c;
  --faint: #536561;
  --teal: #80e1c0;
  --teal-strong: #4abf98;
  --blue: #7fb9ff;
  --amber: #e8b46d;
  --coral: #ef8979;
  --mono: "DM Mono", "Cascadia Mono", Consolas, monospace;
  --sans: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sidebar-width: 232px;
  --rail-width: 292px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); font: 13px/1.45 var(--sans); letter-spacing: 0; }
button, input { font: inherit; } button { color: inherit; } svg { width: 16px; height: 16px; stroke-width: 1.75; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(660px, 1fr) var(--rail-width); min-height: 100vh; background-image: linear-gradient(rgba(128, 225, 192, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(128, 225, 192, .026) 1px, transparent 1px); background-size: 44px 44px; }
.sidebar { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; height: 100vh; padding: 25px 13px 16px; border-right: 1px solid var(--line); background: rgba(10, 16, 19, .95); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 2px 11px 26px; color: var(--text); text-decoration: none; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 24px; height: 25px; }.brand-mark span { display: block; width: 5px; background: var(--teal); }.brand-mark span:nth-child(1) { height: 12px; opacity: .48; }.brand-mark span:nth-child(2) { height: 19px; opacity: .76; }.brand-mark span:nth-child(3) { height: 25px; }
.brand-copy { display: grid; gap: 2px; }.brand-copy strong { font-size: 15px; font-weight: 800; letter-spacing: .14em; line-height: 1; }.brand-copy small { color: var(--muted); font: 8px/1.3 var(--mono); letter-spacing: .05em; white-space: nowrap; }
.workspace-switcher { display: grid; grid-template-columns: 30px minmax(0, 1fr) 22px; align-items: center; gap: 9px; min-height: 59px; margin: 0 5px 25px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 6px; background: rgba(255,255,255,.018); }
.workspace-avatar, .profile-photo, .owner b { display: grid; flex: 0 0 auto; place-items: center; color: var(--teal); background: #1a3b35; font: 500 9px var(--mono); }.workspace-avatar { width: 30px; height: 30px; border: 1px solid #386b5d; border-radius: 4px; }.workspace-copy { display: grid; min-width: 0; gap: 2px; }.workspace-copy small { color: var(--faint); font-size: 9px; }.workspace-copy strong { overflow: hidden; color: var(--text-soft); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.icon-only { display: inline-grid; flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 5px; place-items: center; background: transparent; color: var(--muted); cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; }.icon-only:hover { border-color: var(--line); background: var(--surface-soft); color: var(--text); }.icon-only:active { transform: translateY(1px); }.icon-only.subdued { width: 22px; height: 22px; color: var(--faint); }.icon-only.subdued svg { width: 13px; height: 13px; }.icon-only.small { width: 28px; height: 28px; }.icon-only.small svg { width: 15px; height: 15px; }
.main-nav { display: grid; gap: 3px; }.nav-label { margin: 0; padding: 0 11px 6px; color: var(--faint); font: 9px var(--mono); letter-spacing: .11em; text-transform: uppercase; }.nav-label-second { padding-top: 22px; }.nav-item { display: grid; grid-template-columns: 19px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; text-align: left; cursor: pointer; transition: color .18s, background .18s, border-color .18s; }.nav-item svg { width: 16px; height: 16px; }.nav-item > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.nav-item b { color: var(--faint); font: 9px var(--mono); font-weight: 400; }.nav-item:hover { color: var(--text-soft); background: rgba(255,255,255,.025); }.nav-item.active { border-color: #326152; background: #132720; color: var(--teal); }.nav-item.active b { color: var(--teal); }.alert-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(239,137,121,.11); }
.sidebar-bottom { margin-top: auto; padding: 0 5px; }.system-status { display: flex; align-items: center; gap: 7px; margin: 0 7px 14px; color: var(--faint); font: 9px var(--mono); letter-spacing: .03em; }.system-status span, .live-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(128,225,192,.08); }.profile-card { display: grid; width: 100%; grid-template-columns: 30px 1fr 16px; align-items: center; gap: 9px; padding: 8px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-soft); text-align: left; cursor: pointer; }.profile-card:hover { border-color: var(--line); background: var(--surface-raised); }.profile-photo { width: 30px; height: 30px; border-radius: 50%; background: #344952; color: #cae4eb; }.profile-card > span:nth-child(2) { display: grid; min-width: 0; gap: 1px; }.profile-card strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.profile-card small { color: var(--faint); font-size: 9px; }.profile-card > svg { width: 15px; color: var(--faint); }

.main-content { min-width: 0; }.topbar { position: sticky; top: 0; z-index: 10; display: flex; height: 70px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(10,16,19,.91); backdrop-filter: blur(16px); }.topbar-left, .topbar-actions, .crumbs, .heading-actions, .panel-tools, .metric-bottom, .table-actions { display: flex; align-items: center; }.crumbs { gap: 8px; color: var(--faint); font-size: 11px; }.crumbs svg { width: 13px; height: 13px; }.crumbs strong { color: var(--text-soft); font-size: 11px; font-weight: 600; }.topbar-actions { gap: 9px; }.global-search { display: flex; width: min(282px,24vw); height: 35px; align-items: center; gap: 8px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #0c1518; color: var(--faint); transition: border-color .18s, background .18s; }.global-search:focus-within { border-color: #467f70; background: var(--surface); }.global-search svg { width: 14px; height: 14px; }.global-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }.global-search input::placeholder { color: var(--faint); }kbd { padding: 2px 4px; border: 1px solid var(--line); border-radius: 3px; color: var(--faint); background: var(--surface-soft); font: 8px var(--mono); white-space: nowrap; }.notification-button { position: relative; }.notification-button > span { position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border: 1px solid var(--bg); border-radius: 50%; background: var(--coral); }.assistant-trigger, .button-primary { display: inline-flex; height: 35px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid #4d9d84; border-radius: 5px; background: var(--teal); color: #0a1b15; font-size: 11px; font-weight: 700; cursor: pointer; transition: filter .18s, transform .18s; }.assistant-trigger:hover, .button-primary:hover { filter: brightness(1.08); }.assistant-trigger:active, .button-primary:active { transform: translateY(1px); }.assistant-trigger svg, .button-primary svg { width: 15px; height: 15px; }.mobile-menu { display: none; }

.content-wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 34px 30px 44px; }.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }.eyebrow, .panel-kicker { display: flex; align-items: center; gap: 7px; color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; }.eyebrow { margin-bottom: 8px; color: var(--teal); }.eyebrow > span { width: 17px; height: 1px; background: var(--teal); }h1 { margin: 0; color: var(--text); font-size: 27px; font-weight: 700; line-height: 1.25; }.page-heading p { max-width: 490px; margin: 7px 0 0; color: var(--muted); font-size: 12px; }.heading-actions { gap: 8px; }.period-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: #0c1518; }.period-switch button { min-width: 42px; height: 28px; padding: 0 7px; border: 0; border-radius: 3px; background: transparent; color: var(--faint); font-size: 10px; cursor: pointer; transition: color .16s, background .16s; }.period-switch button:hover { color: var(--text-soft); }.period-switch button.active { background: var(--surface-soft); color: var(--text); }.icon-only.framed { width: 35px; height: 35px; border-color: var(--line); background: var(--surface); }.icon-only.framed svg { width: 15px; height: 15px; }

.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }.metric-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,22,25,.9); }.metric-card:hover { border-color: #3a5651; }.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.metric-top > svg { width: 16px; height: 16px; color: var(--faint); }.metric-value { margin: 13px 0 14px; color: var(--text); font: 500 clamp(18px,1.55vw,23px)/1 var(--mono); letter-spacing: -.05em; white-space: nowrap; }.metric-value em { color: var(--muted); font-size: .61em; font-style: normal; letter-spacing: 0; }.metric-bottom { min-width: 0; gap: 5px; color: var(--faint); font-size: 9px; white-space: nowrap; }.metric-bottom strong { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 600; }.metric-bottom strong svg { width: 11px; height: 11px; }.metric-bottom .positive { color: var(--teal); }.metric-bottom .warning { color: var(--amber); }.metric-bottom .neutral { color: var(--blue); }.sparkline { display: flex; height: 16px; flex: 1; min-width: 42px; align-items: end; justify-content: end; gap: 2px; margin-left: auto; }.sparkline span { width: 3px; min-height: 3px; background: var(--teal); opacity: .7; }.sparkline span:nth-child(1) { height: 20%; }.sparkline span:nth-child(2) { height: 40%; }.sparkline span:nth-child(3) { height: 32%; }.sparkline span:nth-child(4) { height: 55%; }.sparkline span:nth-child(5) { height: 48%; }.sparkline span:nth-child(6) { height: 72%; }.sparkline span:nth-child(7) { height: 100%; }.spark-blue span { background: var(--blue); }.spark-blue span:nth-child(1) { height: 70%; }.spark-blue span:nth-child(2) { height: 48%; }.spark-blue span:nth-child(3) { height: 62%; }.spark-blue span:nth-child(4) { height: 30%; }.spark-blue span:nth-child(5) { height: 52%; }.spark-blue span:nth-child(6) { height: 68%; }.spark-blue span:nth-child(7) { height: 84%; }.meter { height: 3px; flex: 1; min-width: 30px; margin-left: auto; border-radius: 2px; overflow: hidden; background: #273c37; }.meter i { display: block; height: 100%; background: var(--teal); }.meter.amber { background: #493a24; }.meter.amber i { background: var(--amber); }

.command-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(310px,.82fr); gap: 15px; margin-bottom: 15px; }.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,22,25,.93); overflow: hidden; }.panel-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 17px; border-bottom: 1px solid var(--line-soft); }.panel-kicker { color: var(--faint); font-size: 8px; }.panel-kicker.ai-kicker { color: var(--teal); }.ai-kicker svg { width: 12px; height: 12px; }h2 { margin: 4px 0 0; color: var(--text); font-size: 14px; font-weight: 650; }.panel-tools { gap: 7px; }.live-label { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font: 9px var(--mono); }.live-label i { width: 5px; height: 5px; }

.topology-overview { display: grid; grid-template-columns: minmax(0,1fr) 124px; min-height: 238px; }.topology-map { position: relative; min-width: 0; overflow: hidden; background: #0b1417; }.topology-grid { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(128,225,192,.14) 1px, transparent 1.2px); background-size: 16px 16px; opacity: .46; }.topology-map::after { position: absolute; inset: 0; content: ""; pointer-events: none; border: 14px solid rgba(9,15,18,.25); }.route-path { position: absolute; z-index: 1; height: 1px; transform-origin: left center; background: repeating-linear-gradient(90deg, rgba(128,225,192,.65) 0 4px, transparent 4px 8px); opacity: .75; }.path-one { top: 37%; left: 18%; width: 30%; transform: rotate(0deg); }.path-two { top: 37%; left: 49%; width: 24%; transform: rotate(-35deg); }.path-three { top: 39%; left: 49%; width: 27%; transform: rotate(3deg); }.path-four { top: 41%; left: 49%; width: 24%; transform: rotate(37deg); }.topology-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; }.topology-node > div { display: grid; gap: 1px; }.topology-node strong { color: #dbeae3; font-size: 9px; font-weight: 600; }.topology-node small { color: var(--muted); font: 8px var(--mono); white-space: nowrap; }.node-icon { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border: 1px solid #3c7565; border-radius: 4px; background: #17342c; color: var(--teal); }.node-icon svg { width: 11px; height: 11px; }.client-node { top: 30%; left: 8%; }.gateway-node { top: 30%; left: 38%; }.route-node { top: 30%; left: 58%; }.upstream-node { left: 75%; }.upstream-openai { top: 14%; }.upstream-anthropic { top: 40%; }.upstream-qwen { top: 67%; }.upstream-openai .node-icon { border-color: #3b637d; background: #152c39; color: var(--blue); }.upstream-anthropic .node-icon { border-color: #725938; background: #302617; color: var(--amber); }.upstream-qwen .node-icon { border-color: #376b5c; background: #17362e; color: var(--teal); }.traffic-pulse { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(128,225,192,.12); animation: route-pulse 2.5s ease-in-out infinite; }.pulse-one { top: 36%; left: 30%; }.pulse-two { top: 29%; left: 68%; background: var(--blue); animation-delay: .7s; }.pulse-three { top: 42%; left: 68%; background: var(--amber); animation-delay: 1.1s; }.topology-label { position: absolute; z-index: 3; bottom: 14px; left: 15px; display: flex; align-items: center; gap: 6px; color: var(--faint); font: 8px var(--mono); }.topology-label strong { color: var(--teal); font-size: 10px; }@keyframes route-pulse { 0%,100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.2); opacity: 1; } }
.topology-legend { display: grid; align-content: center; gap: 16px; padding: 0 15px; border-left: 1px solid var(--line-soft); background: rgba(255,255,255,.012); }.topology-legend > div { display: grid; grid-template-columns: 7px 1fr; align-items: center; column-gap: 6px; row-gap: 2px; color: var(--muted); font-size: 9px; }.topology-legend strong { grid-column: 2; color: var(--text-soft); font: 11px var(--mono); }.legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }.legend-dot.healthy { background: var(--teal); }.legend-dot.monitor { background: var(--amber); }.legend-dot.risk { background: var(--coral); }.flow-section { padding: 14px 17px 17px; border-top: 1px solid var(--line-soft); }.flow-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: var(--text-soft); font-size: 10px; font-weight: 600; }.flow-heading small { color: var(--faint); font: 9px var(--mono); }.request-flow { display: grid; grid-template-columns: auto minmax(16px,1fr) auto minmax(16px,1fr) auto minmax(16px,1fr) auto; align-items: start; }.flow-step { display: grid; justify-items: center; gap: 4px; color: var(--faint); text-align: center; }.flow-step > span { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #101a1c; }.flow-step > span svg { width: 12px; height: 12px; }.flow-step strong { font-size: 9px; font-weight: 500; white-space: nowrap; }.flow-step small { font: 8px var(--mono); }.flow-step.complete { color: var(--teal); }.flow-step.complete > span { border-color: #3b7766; background: #18372e; }.flow-step.transit { color: var(--blue); }.flow-step.transit > span { border-color: #3f6c87; background: #193340; }.flow-link { height: 1px; margin-top: 13px; background: var(--line); }.flow-link.done { background: #4b8c79; }.flow-link.active { background: linear-gradient(90deg,#4d86a8 50%,var(--line) 50%); }

.intelligence-panel { display: flex; flex-direction: column; }.ai-summary { display: flex; align-items: center; gap: 11px; margin: 15px 16px 9px; padding: 12px; border: 1px solid #285448; border-radius: 6px; background: #11231f; }.nexa-orb { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; border: 1px solid #4e997f; border-radius: 6px; color: var(--teal); background: #1c3a31; }.nexa-orb svg { width: 14px; height: 14px; }.ai-summary p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.55; }.ai-summary strong { color: var(--teal); font-weight: 600; }.ai-summary em { color: var(--amber); font-style: normal; font-weight: 600; }.insight-list { display: grid; }.insight-item { display: grid; grid-template-columns: 19px minmax(0,1fr); gap: 8px; padding: 11px 17px; border-top: 1px solid var(--line-soft); }.insight-index { padding-top: 1px; color: var(--faint); font: 9px var(--mono); }.insight-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.insight-title strong { overflow: hidden; color: var(--text-soft); font-size: 10px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }.insight-title span { flex: 0 0 auto; padding: 2px 4px; border-radius: 2px; font-size: 8px; }.high .insight-title span { color: var(--coral); background: rgba(239,137,121,.09); }.medium .insight-title span { color: var(--amber); background: rgba(232,180,109,.09); }.low .insight-title span { color: var(--teal); background: rgba(128,225,192,.08); }.insight-item p { margin: 5px 0 6px; color: var(--muted); font-size: 9px; line-height: 1.55; }.text-action { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: 9px; cursor: pointer; }.text-action:hover { color: #b5f3db; }.text-action svg { width: 11px; height: 11px; }.view-all-insights { display: flex; width: calc(100% - 32px); min-height: 31px; align-items: center; justify-content: center; gap: 5px; margin: auto 16px 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }.view-all-insights:hover { border-color: #426c60; color: var(--teal); }.view-all-insights svg { width: 12px; height: 12px; }

.lower-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.82fr); gap: 15px; }.count-badge { display: inline-grid; width: 19px; height: 19px; margin-left: 3px; border: 1px solid #5d4139; border-radius: 50%; place-items: center; color: var(--coral); background: #2a1b19; font: 9px var(--mono); vertical-align: 1px; }.table-header { min-height: 71px; }.table-actions { gap: 11px; }.filter-button { display: inline-flex; height: 28px; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--muted); font-size: 9px; cursor: pointer; }.filter-button:hover, .filter-button.active { border-color: #426c60; color: var(--teal); }.filter-button svg { width: 12px; height: 12px; }.all-incidents { font-size: 9px; }.table-wrap { position: relative; min-height: 245px; overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th { height: 31px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); color: var(--faint); font-size: 9px; font-weight: 500; text-align: left; white-space: nowrap; }th:first-child, td:first-child { padding-left: 17px; }th:last-child, td:last-child { padding-right: 17px; text-align: right; }td { padding: 10px 12px; border-bottom: 1px solid rgba(38,56,59,.65); color: var(--muted); font-size: 9px; white-space: nowrap; }tbody tr { transition: background .16s; }tbody tr:hover { background: rgba(255,255,255,.02); }tbody tr:last-child td { border-bottom: 0; }td small { display: block; margin-top: 3px; color: var(--faint); font-size: 8px; }.issue-cell { display: flex; align-items: center; gap: 8px; }.issue-icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 4px; }.issue-icon svg { width: 12px; height: 12px; }.issue-icon.coral { border-color: #67413a; color: var(--coral); background: #261a18; }.issue-icon.amber { border-color: #675235; color: var(--amber); background: #272016; }.issue-icon.blue { border-color: #3d596e; color: var(--blue); background: #15222a; }.issue-cell strong { display: block; color: var(--text-soft); font-size: 10px; font-weight: 600; }.scope-value { color: var(--text-soft); font: 10px var(--mono); }.risk-pill { display: inline-block; padding: 3px 5px; border-radius: 3px; font: 8px var(--mono); }.high-risk { color: var(--coral); background: rgba(239,137,121,.1); }.mid-risk { color: var(--amber); background: rgba(232,180,109,.1); }.owner { display: inline-flex; align-items: center; gap: 5px; color: var(--text-soft); font-size: 9px; }.owner b { width: 17px; height: 17px; border-radius: 50%; color: #d6e7df; background: #344750; font-size: 8px; }.row-action { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: 9px; cursor: pointer; }.row-action:hover { color: #c0f9e2; }.row-action svg { width: 11px; height: 11px; }.empty-search { position: absolute; inset: 31px 0 0; display: none; align-content: center; justify-items: center; gap: 5px; background: var(--surface); color: var(--muted); }.empty-search.show { display: grid; }.empty-search svg { width: 20px; height: 20px; color: var(--faint); }.empty-search strong { color: var(--text-soft); font-size: 11px; }.empty-search span { font-size: 9px; }

.health-panel { display: flex; flex-direction: column; }.health-chart { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 14px; padding: 16px 17px; }.donut-chart { display: grid; width: 96px; height: 96px; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) 0 69%, var(--amber) 69% 92%, var(--coral) 92% 100%); }.donut-inner { display: grid; width: 72px; height: 72px; place-items: center; align-content: center; border-radius: 50%; background: var(--surface); }.donut-inner strong { color: var(--text); font: 500 18px/1 var(--mono); letter-spacing: -.05em; }.donut-inner small { margin-top: 2px; color: var(--faint); font-size: 8px; }.health-legend { display: grid; gap: 9px; }.health-legend > div { display: flex; align-items: center; gap: 7px; }.health-legend p { display: flex; width: 100%; justify-content: space-between; margin: 0; color: var(--muted); font-size: 9px; }.health-legend strong { color: var(--text-soft); font: 10px var(--mono); }.channel-list { display: grid; gap: 12px; padding: 13px 17px 15px; border-top: 1px solid var(--line-soft); }.channel-item { display: grid; grid-template-columns: minmax(85px,1fr) 72px 34px; align-items: center; gap: 8px; }.channel-item > div:first-child { display: grid; min-width: 0; gap: 2px; }.channel-item strong { color: var(--text-soft); font: 9px var(--mono); }.channel-item span { overflow: hidden; color: var(--faint); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }.channel-bar { height: 4px; border-radius: 2px; overflow: hidden; background: #49352d; }.channel-bar i { display: block; height: 100%; background: var(--amber); }.channel-bar.good { background: #25463c; }.channel-bar.good i { background: var(--teal); }.channel-item em { color: var(--muted); font: 9px var(--mono); font-style: normal; text-align: right; }.inventory-link { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 5px; margin: auto 17px 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--teal); font-size: 9px; cursor: pointer; }.inventory-link:hover { border-color: #477a6b; background: #12211d; }.inventory-link svg { width: 12px; height: 12px; }

.right-rail { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 19px 14px 16px; border-left: 1px solid var(--line); background: rgba(11,18,20,.96); backdrop-filter: blur(16px); }.rail-top { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 17px; border-bottom: 1px solid var(--line-soft); }.rail-title { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font: 10px var(--mono); letter-spacing: .06em; }.rail-title svg { width: 15px; height: 15px; color: var(--teal); }.nexa-intro { display: flex; align-items: center; gap: 8px; padding: 15px 3px; color: var(--muted); font-size: 9px; }.nexa-intro strong { color: var(--teal); font-family: var(--mono); }.nexa-symbol { display: flex; width: 20px; height: 20px; align-items: center; justify-content: center; gap: 2px; border: 1px solid #396b5d; border-radius: 4px; background: #16332a; }.nexa-symbol span { display: block; width: 2px; background: var(--teal); }.nexa-symbol span:nth-child(1) { height: 7px; }.nexa-symbol span:nth-child(2) { height: 12px; }.nexa-symbol span:nth-child(3) { height: 9px; }.priority-header { display: flex; justify-content: space-between; padding: 3px; color: var(--text-soft); font-size: 11px; font-weight: 600; }.priority-header small { color: var(--faint); font-size: 8px; font-weight: 400; }.priority-list { display: grid; gap: 9px; margin-top: 9px; }.priority-card { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }.priority-card.critical { border-color: #5e4039; background: #181617; }.priority-card.soft { background: #101d1b; }.priority-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--coral); font: 8px var(--mono); }.priority-tag > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.priority-tag.amber-tag { color: var(--amber); }.priority-tag.teal-tag { color: var(--teal); }.priority-card h3 { margin: 8px 0 5px; color: var(--text-soft); font-size: 11px; font-weight: 650; }.priority-card p { min-height: 30px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }.priority-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }.priority-footer > span { display: inline-flex; min-width: 0; align-items: center; gap: 4px; color: var(--faint); font-size: 8px; white-space: nowrap; }.priority-footer > span svg { width: 10px; height: 10px; }.resolve-button { min-width: 53px; height: 24px; padding: 0 7px; border: 1px solid #386d5d; border-radius: 3px; background: #1d3f34; color: var(--teal); font-size: 8px; cursor: pointer; }.critical .resolve-button { border-color: #79534a; background: #3b2926; color: #f0a397; }.resolve-button:hover { filter: brightness(1.14); }.ask-nexa { display: flex; min-height: 37px; align-items: center; gap: 7px; margin-top: auto; padding: 0 10px; border: 1px solid #31594e; border-radius: 5px; background: #142922; color: var(--teal); cursor: pointer; }.ask-nexa:hover { background: #19362d; }.ask-nexa svg { width: 14px; height: 14px; }.ask-nexa span { font-size: 10px; font-weight: 600; }.ask-nexa kbd { margin-left: auto; background: transparent; }

.notification-popover { position: fixed; z-index: 50; top: 60px; right: calc(var(--rail-width) + 32px); width: 250px; padding: 12px; border: 1px solid #3b514b; border-radius: 7px; background: #101a1c; box-shadow: 0 18px 44px rgba(0,0,0,.35); }.notification-popover > div { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--text-soft); font-size: 11px; }.notification-popover button { display: grid; width: 20px; height: 20px; padding: 0; border: 0; place-items: center; background: transparent; color: var(--muted); cursor: pointer; }.notification-popover button svg { width: 14px; height: 14px; }.notification-popover article { display: grid; grid-template-columns: 6px 1fr; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--line-soft); }.notification-popover p { display: grid; gap: 3px; margin: 0; }.notification-popover strong { color: var(--text-soft); font-size: 10px; font-weight: 600; }.notification-popover small { color: var(--faint); font-size: 8px; }.notice-dot { width: 5px; height: 5px; margin-top: 4px; border-radius: 50%; }.coral-dot { background: var(--coral); }.teal-dot { background: var(--teal); }.amber-dot { background: var(--amber); }.assistant-dialog { position: fixed; z-index: 50; right: calc(var(--rail-width) + 26px); bottom: 20px; width: min(350px,calc(100vw - 42px)); padding: 14px; border: 1px solid #427264; border-radius: 8px; background: #101a18; box-shadow: 0 24px 60px rgba(0,0,0,.45); }.dialog-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }.dialog-top > span { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 11px; font-weight: 650; }.dialog-top > span svg { width: 14px; height: 14px; }.dialog-message { display: flex; align-items: start; gap: 8px; padding: 15px 0; }.nexa-avatar { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; border-radius: 4px; background: #285544; color: var(--teal); font: 10px var(--mono); }.dialog-message p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.65; }.suggestion-row { display: flex; flex-wrap: wrap; gap: 5px; }.suggestion-row button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-soft); color: var(--muted); font-size: 9px; cursor: pointer; }.suggestion-row button:hover { border-color: #4a796d; color: var(--teal); }.dialog-input { display: flex; height: 36px; align-items: center; gap: 7px; margin-top: 13px; padding: 0 4px 0 9px; border: 1px solid var(--line); border-radius: 4px; background: #0c1214; }.dialog-input:focus-within { border-color: #4b806f; }.dialog-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }.dialog-input input::placeholder { color: var(--faint); }.dialog-input button { display: grid; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 3px; place-items: center; background: var(--teal); color: #0c1b16; cursor: pointer; }.dialog-input svg { width: 14px; height: 14px; }.toast { position: fixed; z-index: 80; left: 50%; bottom: 22px; display: none; transform: translateX(-50%); padding: 10px 14px; border: 1px solid #4c8976; border-radius: 5px; background: #15271f; color: var(--teal); box-shadow: 0 12px 28px rgba(0,0,0,.3); font-size: 10px; }.toast.show { display: block; animation: toast-in .22s ease-out; }@keyframes toast-in { from { opacity: 0; transform: translate(-50%,7px); } to { opacity: 1; transform: translate(-50%,0); } }

@media (max-width: 1350px) { :root { --rail-width: 256px; --sidebar-width: 212px; }.content-wrap { padding-inline: 22px; }.topbar { padding-inline: 22px; }.metric-card { padding: 13px; }.metric-bottom > span { display: none; }.topology-overview { grid-template-columns: minmax(0,1fr) 105px; }.topology-legend { padding-inline: 11px; }.topology-node small { display: none; }.health-chart { grid-template-columns: 89px 1fr; gap: 9px; }.donut-chart { width: 82px; height: 82px; }.donut-inner { width: 61px; height: 61px; }.donut-inner strong { font-size: 16px; } }
@media (max-width: 1120px) { .app-shell { grid-template-columns: 202px minmax(0,1fr); }.right-rail { display: none; }.notification-popover, .assistant-dialog { right: 22px; }.metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.metric-bottom > span { display: inline; }.command-grid, .lower-grid { grid-template-columns: minmax(0,1fr); }.health-panel { min-height: 300px; }.channel-list { grid-template-columns: repeat(3,1fr); }.channel-item { grid-template-columns: 1fr; gap: 5px; }.channel-item em { text-align: left; }.health-chart { grid-template-columns: 105px 1fr; }.donut-chart { width: 96px; height: 96px; }.donut-inner { width: 72px; height: 72px; }.donut-inner strong { font-size: 18px; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 236px; max-width: 88vw; transform: translateX(-102%); transition: transform .24s ease; box-shadow: 18px 0 45px rgba(0,0,0,.38); }.sidebar.open { transform: translateX(0); }.mobile-menu { display: inline-grid; }.topbar { height: 58px; padding: 0 14px; }.topbar-actions { gap: 4px; }.global-search { width: 34px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }.global-search:focus-within { width: 190px; padding: 0 8px; border-color: var(--line); background: var(--surface); }.global-search input, .global-search kbd { display: none; }.global-search:focus-within input { display: block; }.content-wrap { padding: 24px 14px 32px; }.page-heading { display: block; margin-bottom: 22px; }h1 { font-size: 23px; }.page-heading p { font-size: 11px; }.heading-actions { margin-top: 16px; }.button-primary { margin-left: auto; }.metric-grid { gap: 9px; margin-bottom: 11px; }.metric-card { padding: 12px; }.metric-value { margin: 11px 0 10px; font-size: 17px; }.metric-bottom > span, .sparkline, .meter { display: none; }.command-grid, .lower-grid { gap: 11px; margin-bottom: 11px; }.topology-overview { grid-template-columns: minmax(0,1fr); min-height: 227px; }.topology-legend { display: flex; min-height: 40px; align-items: center; justify-content: space-around; gap: 4px; padding: 6px 10px; border-top: 1px solid var(--line-soft); border-left: 0; }.topology-legend > div { grid-template-columns: 7px auto; }.topology-legend strong { grid-column: auto; margin-left: 2px; }.topology-map { min-height: 190px; }.topology-node small { display: block; font-size: 7px; }.client-node { left: 5%; }.gateway-node { left: 30%; }.route-node { left: 54%; }.upstream-node { left: 72%; }.topology-node > div { transform: scale(.9); transform-origin: left center; }.flow-section { padding-inline: 10px; overflow-x: auto; }.flow-heading { padding-inline: 7px; }.request-flow { min-width: 438px; padding-inline: 7px; }.intelligence-panel .panel-header { min-height: 64px; }.ai-summary { margin-inline: 12px; }.insight-item { padding-inline: 12px; }.view-all-insights { width: calc(100% - 24px); margin-inline: 12px; }.table-header { min-width: 610px; }.table-wrap { min-height: 243px; }.table-wrap table { min-width: 670px; }.health-chart { grid-template-columns: 105px 1fr; }.channel-list { grid-template-columns: 1fr; }.channel-item { grid-template-columns: minmax(110px,1fr) 92px 34px; }.channel-item em { text-align: right; }.notification-popover { top: 52px; right: 12px; }.assistant-dialog { right: 12px; bottom: 12px; }.toast { max-width: calc(100vw - 24px); text-align: center; } }
@media (max-width: 430px) { .crumbs span, .crumbs svg { display: none; }.crumbs strong { font-size: 10px; }.topbar-actions { margin-left: auto; }.page-heading p { max-width: 315px; }.period-switch button { min-width: 38px; }.button-primary { width: 35px; padding: 0; font-size: 0; }.button-primary svg { margin: 0; }.metric-top { font-size: 9px; }.metric-value { font-size: 15px; }.metric-bottom { font-size: 8px; }.metric-bottom strong { font-size: 8px; }.client-node { left: 3%; }.gateway-node { left: 26%; }.route-node { left: 49%; }.upstream-node { left: 71%; }.topology-node > div { transform: scale(.82); }.health-chart { grid-template-columns: 92px 1fr; }.donut-chart { width: 83px; height: 83px; }.donut-inner { width: 62px; height: 62px; }.donut-inner strong { font-size: 16px; } }
