/* gui/dong01/chunk-t23w4r2r.css */
:root {
  --buncss-light: initial;
  --buncss-dark: ;
  --buncss-light: initial;
  --buncss-dark: ;
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Inter, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --bg: #f5f5f7;
  --bg-grad: radial-gradient(1200px 600px at 85% -10%, #0a84ff12, transparent 60%), radial-gradient(900px 500px at 10% 110%, #5e5ce60d, transparent 60%);
  --sidebar: #ececf0b8;
  --surface: #fff;
  --surface-2: #f9f9fb;
  --surface-sunken: #76768014;
  --elev: 0 0 0 .5px #0000000f, 0 1px 2px #0000000a, 0 4px 14px -6px #00000014;
  --elev-hover: 0 0 0 .5px #00000012, 0 2px 4px #0000000d, 0 12px 28px -10px #00000029;
  --elev-pop: 0 0 0 .5px #0000001a, 0 24px 60px -12px #00000047, 0 8px 18px -8px #00000029;
  --hairline: #3c3c4321;
  --hairline-strong: #3c3c4338;
  --text: #1d1d1f;
  --text-2: #3c3c43c7;
  --text-3: #3c3c438c;
  --text-4: #3c3c4352;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #0071e31a;
  --accent-ring: #0071e373;
  --tint-green: #34c759;
  --tint-red: #ff3b30;
  --tint-orange: #ff9500;
  --tint-blue: #007aff;
  --tint-purple: #af52de;
  --tint-teal: #30b0c7;
  --tint-gray: #8e8e93;
  --green-text: #248a3d;
  --red-text: #d70015;
  --orange-text: #c93400;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 20px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --t: .24s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --buncss-light: ;
    --buncss-dark: initial;
    --buncss-light: ;
    --buncss-dark: initial;
  }
}

*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font);
  letter-spacing: -.006em;
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-grad);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  background-attachment: fixed;
  font-size: 14px;
  line-height: 1.45;
}

#root {
  height: 100%;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -.018em;
  margin: 0;
  font-weight: 600;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--accent-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--accent-soft);
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0;
  font-size: .92em;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.dim {
  color: var(--text-3);
}

.small {
  font-size: 12px;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.spacer {
  flex: 1;
}

.row {
  display: flex;
  align-items:  center;
}

.gap-s {
  gap: 10px;
}

.center {
  justify-content: center;
}

.skip {
  position: absolute;
  z-index: 100;
  background: var(--surface);
  box-shadow: var(--elev);
  border-radius: 8px;
  padding: 8px 14px;
  top: 8px;
  left: -9999px;
}

.skip:focus {
  left: 12px;
}

.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  height: 100%;
}

.sidebar {
  position: relative;
  display: flex;
  background: var(--sidebar);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-right: .5px solid var(--hairline);
  z-index: 5;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px 16px;
}

.brand {
  display: flex;
  align-items:  center;
  gap: 11px;
  padding: 2px 8px 6px;
}

.brand svg {
  border-radius: 8px;
  box-shadow: 0 2px 8px -2px #0a84ff73;
}

.brand-name {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  font-size: 15px;
  font-weight: 650;
}

.brand-sub {
  color: var(--text-3);
  font-size: 11.5px;
}

.sidebar nav ul {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  color: var(--text);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  border-radius: 8px;
  align-items:  center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-item:hover {
  background: var(--surface-sunken);
}

.nav-icon {
  display: grid;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint, var(--accent)) 88%, white), var(--tint, var(--accent)));
  border-radius: 7px;
  place-items:  center;
  width: 24px;
  height: 24px;
  box-shadow: inset 0 0 0 .5px #00000014;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
}

.sidebar li:first-child .nav-icon {
  --tint: #0a84ff;
}

.sidebar li:nth-child(2) .nav-icon {
  --tint: #34c759;
}

.sidebar li:nth-child(3) .nav-icon {
  --tint: #af52de;
}

.sidebar li:nth-child(4) .nav-icon {
  --tint: #8e8e93;
}

.nav-item.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px #0000001a;
}

.nav-item.active .nav-icon {
  box-shadow: none;
  background: #ffffff38;
}

.nav-badge {
  background: var(--tint-red);
  color: #fff;
  display: grid;
  border-radius: 10px;
  place-items:  center;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.nav-item.active .nav-badge {
  color: var(--accent);
  background: #fff;
}

.sidebar-foot {
  display: flex;
  color: var(--text-2);
  border-top: .5px solid var(--hairline);
  align-items:  center;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  font-size: 12px;
}

.status-dot {
  background: var(--tint-gray);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.status-dot.on {
  background: var(--tint-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tint-green) 22%, transparent);
}

.status-dot.off {
  background: var(--tint-red);
}

.status-dot.warn {
  background: var(--tint-yellow);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tint-yellow) 22%, transparent);
}

.main {
  overflow-y: auto;
  overflow-x: hidden;
  outline: none;
  scroll-behavior: smooth;
}

.route {
  animation: route-in .36s var(--ease);
}

@keyframes route-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
}

.page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 44px 64px;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  flex-end;
  gap: 16px 20px;
  margin-bottom: 6px;
}

.page-head h1 {
  letter-spacing: -.028em;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.page-sub {
  color: var(--text-2);
  max-width: 560px;
  margin: 8px 0 0;
  font-size: 15px;
}

.page-actions {
  display: flex;
  justify-content: flex-end;
  align-items:  center;
  gap: 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
  margin-top: 14px;
}

.section-head h2 {
  font-size: 21px;
}

.card {
  background: var(--surface);
  border-radius: var(--r-l);
  box-shadow: var(--elev);
  position: relative;
  padding: 20px 22px;
}

.card.flush {
  overflow: hidden;
  padding: 0;
}

.pad {
  padding: 18px 20px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.card-head h3 {
  font-size: 15px;
  font-weight: 600;
}

.card-sub {
  color: var(--text-3);
  margin: 2px 0 0;
  font-size: 12.5px;
}

.hero {
  display: flex;
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--accent)) 0%, var(--surface) 55%);
  justify-content: space-between;
  align-items:  center;
  gap: 24px;
  padding: 24px 26px;
}

.hero-main {
  display: flex;
  align-items:  center;
  gap: 18px;
}

.hero-orb {
  position: relative;
  display: grid;
  background: color-mix(in srgb, var(--tint-gray) 18%, transparent);
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 48px;
  height: 48px;
}

.hero-orb span {
  background: var(--tint-gray);
  border-radius: 50%;
  width: 18px;
  height: 18px;
}

.hero-orb.live {
  background: color-mix(in srgb, var(--tint-green) 16%, transparent);
}

.hero-orb.live span {
  background: radial-gradient(circle at 35% 30%, #7ef29a, var(--tint-green));
  box-shadow: 0 0 16px color-mix(in srgb, var(--tint-green) 70%, transparent);
}

.hero-orb.live:after {
  content: "";
  position: absolute;
  border: 1.5px solid var(--tint-green);
  animation: ripple 2.4s var(--ease) infinite;
  border-radius: 50%;
  inset: 0;
}

.hero-orb.down {
  background: color-mix(in srgb, var(--tint-red) 16%, transparent);
}

.hero-orb.down span {
  background: var(--tint-red);
}

@keyframes ripple {
  0% {
    transform: scale(.55);
    opacity: .8;
  }

  to {
    transform: scale(1.25);
    opacity: 0;
  }
}

.hero-title {
  font-family: var(--font-display);
  letter-spacing: -.022em;
  font-size: 22px;
  font-weight: 650;
}

.hero-sub {
  color: var(--text-2);
  margin-top: 3px;
}

.hero-facts {
  display: flex;
  gap: 0;
}

.fact {
  display: flex;
  border-left: .5px solid var(--hairline);
  flex-direction: column;
  gap: 3px;
  padding: 0 22px;
}

.fact-label {
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11.5px;
  font-weight: 500;
}

.fact-value {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}

.fact-value.mono {
  font-size: 14px;
}

.fact-dim {
  color: var(--text-3);
  font-weight: 500;
}

.with-action {
  display: inline-flex;
  align-items:  center;
  gap: 4px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.provider-card {
  appearance: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  transition: transform var(--t) var(--spring), box-shadow var(--t) var(--ease);
  border: 0;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 15px;
}

.provider-card:hover {
  box-shadow: var(--elev-hover);
  transform: translateY(-2px);
}

.provider-card:active {
  transform: scale(.985);
}

.provider-card-top {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.provider-card-top .pill {
  max-width: 62%;
}

.provider-card-name {
  letter-spacing: -.012em;
  font-size: 15px;
  font-weight: 600;
}

.provider-card-meta {
  color: var(--text-3);
  font-size: 12.5px;
}

.provider-card-meta b {
  color: var(--text);
  font-weight: 600;
}

.pglyph {
  display: inline-grid;
  color: #fff;
  letter-spacing: -.03em;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 70%, white) 0%, var(--tint) 60%, color-mix(in srgb, var(--tint) 80%, black) 100%);
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 28%;
  flex: none;
  place-items:  center;
  box-shadow: inset 0 0 0 .5px #0000001a, 0 1px 2px #0000001f;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 118px;
  padding: 16px 16px 12px;
}

.kpi-label {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
}

.kpi-value {
  font-family: var(--font-display);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.2;
}

.kpi-bad .kpi-value {
  color: var(--red-text);
}

.kpi-sub {
  color: var(--text-3);
  margin-top: auto;
  font-size: 12px;
}

.sparkline {
  opacity: .9;
  width: 100%;
  height: 28px;
  margin-top: auto;
}

.chart-card {
  padding-bottom: 14px;
}

.chart-head-right {
  display: flex;
  align-items:  center;
  gap: 16px;
}

.legend {
  display: flex;
  color: var(--text-2);
  gap: 12px;
  font-size: 12px;
}

.legend span {
  display: inline-flex;
  align-items:  center;
  gap: 6px;
}

.legend i {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.chart {
  position: relative;
  width: 100%;
}

.chart-svg {
  display: block;
  overflow: visible;
  cursor: crosshair;
  border-radius: 8px;
}

.chart-svg:focus-visible {
  outline-offset: 4px;
}

.chart-grid {
  stroke: var(--hairline);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.chart-axis {
  stroke: var(--hairline-strong);
  stroke-width: 1;
}

.chart-tick {
  fill: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.chart-line {
  animation: draw .9s var(--ease) both;
  stroke-dasharray: 4000;
  stroke-dashoffset: 0;
}

@keyframes draw {
  0% {
    stroke-dashoffset: 4000;
  }
}

.chart-area {
  animation: fade .9s var(--ease) both;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
}

.chart-cursor {
  stroke: var(--text-4);
  stroke-width: 1;
}

.chart-dot {
  position: absolute;
  border: 2px solid var(--surface);
  pointer-events: none;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  box-shadow: 0 1px 3px #00000040;
}

.chart-tip {
  position: absolute;
  pointer-events: none;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--elev-pop);
  z-index: 2;
  border-radius: 10px;
  min-width: 140px;
  padding: 8px 11px;
  font-size: 12px;
  top: 0;
  transform: translate(14px);
}

.chart-tip.flip {
  transform: translate(calc(-100% - 14px));
}

.chart-tip-time {
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 500;
}

.chart-tip-row {
  display: flex;
  align-items:  center;
  gap: 7px;
}

.chart-tip-row b {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  padding-left: 12px;
}

.chart-tip .dot {
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rank {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.rank-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
  margin-bottom: 6px;
}

.rank-name {
  display: flex;
  align-items:  center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
}

.rank-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.rank-dim {
  color: var(--text-3);
  font-weight: 400;
}

.rank-bad {
  color: var(--red-text);
  font-weight: 500;
}

.rank-bar {
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 3px;
  height: 6px;
}

.rank-bar span {
  display: block;
  background: var(--accent);
  transition: width .6s var(--ease);
  border-radius: 3px;
  height: 100%;
}

.footnote {
  display: flex;
  color: var(--text-3);
  align-items:  center;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 12px;
}

.footnote svg:not(:first-child) {
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background var(--t) var(--ease), transform .16s var(--ease), box-shadow var(--t) var(--ease), opacity var(--t);
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items:  center;
  gap: 7px;
  font-weight: 500;
}

.btn:active:not(:disabled) {
  transform: scale(.97);
}

.btn:disabled {
  cursor: default;
  opacity: .55;
}

.btn.is-busy {
  opacity: .85;
}

.btn-sm {
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
}

.btn-md {
  height: 34px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-lg {
  height: 42px;
  padding: 0 22px;
  font-size: 14.5px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px #0000001f, inset 0 1px #ffffff24;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 0 0 .5px var(--hairline-strong), 0 1px 2px #0000000f;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-2);
}

.btn-tinted {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-tinted:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.btn-plain {
  color: var(--accent);
  background: none;
}

.btn-plain:hover:not(:disabled) {
  background: var(--accent-soft);
}

.btn-danger {
  background: var(--tint-red);
  color: #fff;
}

.btn-danger:hover:not(:disabled) {
  filter: brightness(1.06);
}

.icon-btn {
  display: inline-grid;
  background: var(--surface-sunken);
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform .16s var(--ease);
  border: 0;
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 30px;
  height: 30px;
}

.icon-btn:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-sunken) 100%, var(--text) 6%);
}

.icon-btn:active {
  transform: scale(.92);
}

.icon-btn.subtle {
  background: none;
  width: 26px;
  height: 26px;
}

.icon-btn.subtle:hover {
  background: var(--surface-sunken);
}

.icon-btn.danger:hover {
  color: var(--red-text);
  background: color-mix(in srgb, var(--tint-red) 12%, transparent);
}

.link {
  display: inline-flex;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  align-items:  center;
  gap: 3px;
  padding: 2px 4px;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

.spinner {
  animation: .9s steps(8, end) infinite spin;
}

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

.switch {
  position: relative;
  cursor: pointer;
  background: color-mix(in srgb, var(--tint-gray) 38%, transparent);
  transition: background .26s var(--ease);
  border: 0;
  border-radius: 999px;
  flex: none;
  width: 42px;
  height: 25px;
  padding: 0;
}

.switch.on {
  background: var(--tint-green);
}

.switch:disabled {
  opacity: .5;
  cursor: default;
}

.switch-knob {
  position: absolute;
  transition: transform .3s var(--spring), width .2s var(--ease);
  background: #fff;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 5px #0000002e, 0 0 0 .5px #0000000d;
}

.switch.on .switch-knob {
  transform: translate(17px);
}

.switch:active:not(:disabled) .switch-knob {
  width: 25px;
}

.switch.on:active:not(:disabled) .switch-knob {
  transform: translate(13px);
}

.segmented {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--surface-sunken);
  isolation: isolate;
  border-radius: 9px;
  padding: 2px;
}

.segmented-thumb {
  position: absolute;
  width: calc((100% - 4px) / var(--n));
  transform: translateX(calc(100% * var(--i)));
  background: var(--surface);
  transition: transform .32s var(--spring);
  z-index: -1;
  border-radius: 7px;
  top: 2px;
  bottom: 2px;
  left: 2px;
  box-shadow: 0 0 0 .5px #0000000a, 0 3px 8px #0000001f, 0 3px 1px #0000000a;
}

.segmented button {
  cursor: pointer;
  color: var(--text-2);
  white-space: nowrap;
  transition: color var(--t) var(--ease);
  background: none;
  border: 0;
  border-radius: 7px;
  height: 28px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
}

.segmented button.active {
  color: var(--text);
  font-weight: 600;
}

.stepper {
  display: inline-flex;
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 8px;
  align-items:  center;
  height: 28px;
}

.stepper button {
  cursor: pointer;
  display: grid;
  color: var(--text-2);
  transition: background var(--t);
  background: none;
  border: 0;
  place-items:  center;
  width: 28px;
  height: 28px;
}

.stepper button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
}

.stepper button:disabled {
  opacity: .35;
  cursor: default;
}

.stepper output {
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-left: .5px solid var(--hairline);
  border-right: .5px solid var(--hairline);
  min-width: 26px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.pill {
  display: inline-flex;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  --c: var(--tint-gray);
  --ct: var(--text-2);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--ct);
  border-radius: 999px;
  align-items:  center;
  gap: 6px;
  height: 22px;
  padding: 0 9px 0 8px;
  font-size: 12px;
  font-weight: 500;
}

.pill-dot {
  background: var(--c);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.pill-green {
  --c: var(--tint-green);
  --ct: var(--green-text);
}

.pill-red {
  --c: var(--tint-red);
  --ct: var(--red-text);
}

.pill-orange {
  --c: var(--tint-orange);
  --ct: var(--orange-text);
}

.pill-blue {
  --c: var(--tint-blue);
  --ct: var(--accent);
}

.chip {
  display: inline-flex;
  background: var(--surface-sunken);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 5px;
  align-items:  center;
  height: 19px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 600;
}

.skeleton {
  display: block;
  background: linear-gradient(90deg, var(--surface-sunken) 0%, color-mix(in srgb, var(--surface-sunken) 40%, transparent) 50%, var(--surface-sunken) 100%);
  animation: 1.4s linear infinite shimmer;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

.banner {
  display: flex;
  border-radius: var(--r-m);
  align-items:  center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13px;
}

.banner-error {
  background: color-mix(in srgb, var(--tint-red) 11%, transparent);
  color: var(--red-text);
}

.banner span {
  word-break: break-word;
  flex: 1;
}

.empty {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
  gap: 6px;
  padding: 34px 20px 30px;
}

.empty-icon {
  display: grid;
  background: var(--surface-sunken);
  color: var(--text-3);
  border-radius: 16px;
  place-items:  center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}

.empty h3 {
  font-size: 15px;
}

.empty p {
  color: var(--text-3);
  max-width: 380px;
  margin: 0;
  font-size: 13px;
}

.empty-action {
  margin-top: 12px;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-head {
  display: flex;
  align-items:  center;
  gap: 10px;
  padding: 0 4px;
}

.group-head h2 {
  font-size: 17px;
}

.group-count {
  display: inline-grid;
  background: var(--surface-sunken);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  border-radius: 10px;
  place-items:  center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  font-size: 11.5px;
  font-weight: 600;
}

.inset-list {
  list-style: none;
  background: var(--surface);
  border-radius: var(--r-l);
  box-shadow: var(--elev);
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.inset-list > * + * {
  border-top: .5px solid var(--hairline);
}

.acct-empty {
  display: flex;
  color: var(--text-3);
  justify-content: space-between;
  align-items:  center;
  padding: 16px 20px;
}

.acct {
  display: flex;
  transition: opacity var(--t) var(--ease);
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
}

.acct.is-disabled .acct-top, .acct.is-disabled .quota {
  opacity: .55;
}

.acct-top {
  display: flex;
  align-items:  center;
  gap: 14px;
}

.avatar {
  display: grid;
  color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 55%, white), var(--tint));
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 .5px #00000014;
}

.acct-id {
  flex: 1;
  min-width: 0;
}

.acct-name {
  appearance: none;
  cursor: text;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 4px;
  max-width: 100%;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
}

.acct-name:hover {
  text-decoration: underline dotted var(--text-4);
  text-underline-offset: 3px;
}

.inline-input {
  outline: none;
  background: var(--surface-sunken);
  box-shadow: 0 0 0 3px var(--accent-ring);
  border: 0;
  border-radius: 6px;
  width: min(320px, 100%);
  margin-left: -6px;
  padding: 1px 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.acct-meta {
  display: flex;
  color: var(--text-2);
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12.5px;
}

.acct-status {
  flex: none;
}

.acct-note {
  display: flex;
  color: var(--red-text);
  align-items:  center;
  gap: 6px;
  padding-left: 52px;
  font-size: 12.5px;
}

.quota {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 22px;
  padding-left: 52px;
}

.quota-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 12px;
}

.quota-label {
  white-space: nowrap;
  font-weight: 500;
}

.quota-val {
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.meter {
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 3px;
  height: 6px;
}

.meter span {
  display: block;
  background: var(--c, var(--tint-green));
  transition: width .7s var(--ease);
  border-radius: 3px;
  height: 100%;
}

.meter-green {
  --c: var(--tint-green);
}

.meter-orange {
  --c: var(--tint-orange);
}

.meter-red {
  --c: var(--tint-red);
}

.acct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px;
  padding-left: 52px;
}

.acct-actions > .dim {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0;
  min-width: 0;
}

.acct-actions > .spacer {
  display: none;
}

.prio {
  display: inline-flex;
  color: var(--text-2);
  align-items:  center;
  gap: 8px;
  margin-right: 8px;
  font-size: 12.5px;
}

.share-url {
  display: flex;
  align-items:  center;
  gap: 10px;
}

.share-url .field {
  flex: 1;
  min-width: 0;
}

.share-cmds {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.share-cmds p {
  margin: 0;
}

.cmd {
  display: grid;
  gap: 6px;
}

.cmd-label {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.cmd-box {
  display: flex;
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  border-radius: 10px;
  align-items:  center;
  gap: 8px;
  padding: 8px 8px 8px 12px;
}

.cmd-box code {
  word-break: break-all;
  user-select: all;
  flex: 1;
  min-width: 0;
}

.share-name {
  font-size: 14.5px;
  font-weight: 600;
}

.acct-tag {
  background: var(--accent-soft);
  color: var(--accent);
  vertical-align: 1px;
  border-radius: 999px;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 500;
}

.expiry-chip {
  border: 1px dashed var(--text-4);
  color: var(--text-3);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-radius: 999px;
  flex: none;
  height: 26px;
  padding: 0 10px;
  font: 500 12px / 1 inherit;
}

.expiry-chip:hover {
  color: var(--text-2);
  border-color: var(--text-3);
}

.expiry-chip:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.expiry-chip.is-set {
  background: var(--accent-soft);
  color: var(--accent);
  border-style: solid;
  border-color: #0000;
}

.expiry-chip.is-soon {
  background: color-mix(in srgb, var(--orange-text) 14%, transparent);
  color: var(--orange-text);
  border-style: solid;
  border-color: #0000;
}

.expiry-picker {
  display: grid;
  gap: 12px;
}

.expiry-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.expiry-presets button {
  border: 1px solid var(--text-4);
  color: var(--text-2);
  cursor: pointer;
  background: none;
  border-radius: 999px;
  height: 30px;
  padding: 0 12px;
  font: 500 13px / 1 inherit;
}

.expiry-presets button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.expiry-presets button:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.expiry-custom input {
  max-width: 160px;
}

.expiry-warn {
  color: var(--orange-text);
}

.sync-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, var(--tint-purple)) 0%, var(--surface) 60%);
  align-items:  center;
  gap: 20px;
  padding: 24px 26px;
}

.sync-art {
  display: grid;
  color: #fff;
  background: linear-gradient(145deg, #5ac8fa, #0a84ff 50%, #5e5ce6);
  border-radius: 16px;
  place-items:  center;
  width: 60px;
  height: 60px;
  box-shadow: 0 8px 20px -8px #0a84ffb3, inset 0 1px #ffffff40;
}

.sync-text h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.sync-text p {
  color: var(--text-2);
  max-width: 520px;
  margin: 0;
}

.sync-actions {
  display: flex;
  flex-direction: column;
  align-items:  center;
  gap: 6px;
}

.sync-result {
  grid-column: 1 / -1;
  display: flex;
  border-radius: var(--r-m);
  background: color-mix(in srgb, var(--tint-green) 10%, transparent);
  color: var(--green-text);
  animation: route-in .36s var(--ease) both;
  gap: 12px;
  padding: 14px 16px;
}

.sync-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--text);
  flex: 1;
  gap: 8px 24px;
  margin: 0;
}

.sync-result dt {
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11.5px;
}

.sync-result dd {
  word-break: break-all;
  margin: 2px 0 0;
}

.harness-list {
  list-style: none;
  display: grid;
  flex: 1;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.harness-row {
  display: flex;
  color: var(--text);
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.harness-name {
  min-width: 72px;
  font-weight: 600;
}

.harness-path {
  word-break: break-all;
  flex-basis: 100%;
  font-size: 11.5px;
}

.harness-error .harness-name {
  color: var(--red-text, #c00);
}

.models .model {
  display: flex;
  transition: background var(--t) var(--ease);
  align-items:  center;
  gap: 16px;
  padding: 13px 20px;
}

.models .model:hover {
  background: var(--surface-2);
}

.model-main {
  flex: 1;
  min-width: 0;
}

.model-name {
  font-size: 14px;
  font-weight: 600;
}

.model-slug {
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.model-tags {
  display: grid;
  grid-template-columns: 72px 132px 84px;
  flex: none;
  gap: 6px;
}

.model-tags .tag {
  justify-content: flex-start;
}

.tag {
  display: inline-flex;
  background: var(--surface-sunken);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-radius: 7px;
  align-items:  center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 500;
}

.tag-off {
  color: var(--text-3);
  box-shadow: inset 0 0 0 .5px var(--hairline-strong);
  background: none;
}

.effort-dots {
  display: inline-flex;
  gap: 2px;
}

.effort-dots i {
  background: var(--text-4);
  border-radius: 2px;
  width: 4px;
  height: 10px;
}

.effort-dots i.def {
  background: var(--accent);
}

.hidden-models {
  margin-top: 4px;
}

.hidden-models summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  color: var(--text-2);
  border-radius: 8px;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px;
  padding: 8px 4px;
  font-weight: 600;
}

.hidden-models summary::-webkit-details-marker {
  display: none;
}

.disclosure {
  transition: transform var(--t) var(--ease);
}

.hidden-models[open] .disclosure {
  transform: rotate(90deg);
}

.hidden-models[open] .inset-list {
  animation: route-in .3s var(--ease) both;
  opacity: .85;
  margin-top: 8px;
}

.live {
  display: inline-flex;
  color: var(--text-2);
  align-items:  center;
  gap: 9px;
  font-size: 13px;
}

.live-dot {
  background: var(--tint-gray);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.live-dot.on {
  background: var(--tint-green);
  animation: blip .9s var(--ease);
}

@keyframes blip {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--tint-green) 60%, transparent);
  }

  to {
    box-shadow: 0 0 0 8px #0000;
  }
}

.tabbar {
  display: flex;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 260px);
}

.table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 13px;
}

.table th {
  position: sticky;
  z-index: 1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-3);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: .5px solid var(--hairline);
  white-space: nowrap;
  padding: 12px 12px 10px;
  font-size: 11.5px;
  font-weight: 500;
  top: 0;
}

.table td {
  border-bottom: .5px solid var(--hairline);
  vertical-align: middle;
  padding: 10px 12px;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background .16s;
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.table th:first-child, .table td:first-child {
  padding-left: 20px;
}

.table th:last-child, .table td:last-child {
  padding-right: 20px;
}

.table .num {
  text-align: right;
  white-space: nowrap;
}

.cell-model {
  display: flex;
  align-items:  center;
  gap: 8px;
  max-width: 280px;
}

.cell-time {
  white-space: nowrap;
}

.cell-acct {
  max-width: 170px;
}

.log-toolbar {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 12px;
}

.log {
  font-family: var(--mono);
  background: var(--surface-sunken);
  border-radius: var(--r-m);
  overflow: auto;
  min-height: 240px;
  max-height: calc(100vh - 330px);
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.6;
}

.log-line {
  display: grid;
  grid-template-columns: 70px 52px 1fr;
  gap: 10px;
  padding: 1px 16px;
}

.log-line:hover {
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.log-ts {
  color: var(--text-3);
}

.log-lv {
  color: var(--text-3);
  font-weight: 600;
}

.lv-warn .log-lv {
  color: var(--orange-text);
}

.lv-error .log-lv, .lv-error .log-msg {
  color: var(--red-text);
}

.log-msg {
  white-space: pre-wrap;
  word-break: break-word;
}

.sheet-layer {
  position: fixed;
  z-index: 50;
  display: grid;
  place-items:  center;
  padding: 24px;
  inset: 0;
}

.sheet-scrim {
  position: absolute;
  -webkit-backdrop-filter: blur(2px) saturate(120%);
  backdrop-filter: blur(2px) saturate(120%);
  opacity: 0;
  transition: opacity .24s var(--ease);
  background: #0000003d;
  inset: 0;
}

.sheet {
  position: relative;
  display: flex;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border-radius: var(--r-xl);
  box-shadow: var(--elev-pop);
  opacity: 0;
  transition: opacity .24s var(--ease), transform .32s var(--spring);
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 48px);
  transform: translateY(14px)scale(.97);
}

.sheet-layer.shown .sheet-scrim {
  opacity: 1;
}

.sheet-layer.shown .sheet {
  opacity: 1;
  transform: none;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: 16px;
  padding: 22px 22px 6px 26px;
}

.sheet-head h2 {
  font-size: 19px;
}

.sheet-sub {
  color: var(--text-2);
  margin: 4px 0 0;
  font-size: 13px;
}

.sheet-body {
  overflow-y: auto;
  padding: 14px 26px 24px;
}

.sheet-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
}

.sheet-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.sheet-actions .btn {
  width: 100%;
}

.picker {
  display: grid;
  gap: 8px;
}

.picker-item {
  appearance: none;
  display: flex;
  border-radius: var(--r-m);
  background: var(--surface-sunken);
  cursor: pointer;
  text-align: left;
  transition: background var(--t) var(--ease), transform .16s var(--ease);
  border: 0;
  align-items:  center;
  gap: 14px;
  padding: 12px 14px;
}

.picker-item:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-sunken));
}

.picker-item:active {
  transform: scale(.99);
}

.picker-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.picker-text b {
  font-weight: 600;
}

.picker-text span {
  color: var(--text-3);
  font-size: 12.5px;
}

.picker-chev {
  color: var(--text-4);
}

.steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: s;
  display: flex;
  color: var(--text-2);
  align-items:  flex-start;
  gap: 12px;
}

.steps li:before {
  content: counter(s);
  display: grid;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 600;
}

.setting-row {
  display: flex;
  border-radius: var(--r-m);
  background: var(--surface-sunken);
  cursor: pointer;
  justify-content: space-between;
  align-items:  center;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
}

.setting-row > span {
  display: flex;
  flex-direction: column;
}

.setting-row b {
  font-weight: 500;
}

.flow .banner {
  margin-top: 14px;
}

.flow-state {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
  gap: 14px;
  padding: 6px 0 4px;
}

.flow-lead {
  color: var(--text-2);
  max-width: 380px;
  margin: 0;
}

.flow-icon.ok {
  color: var(--tint-green);
  animation: pop .42s var(--spring) both;
}

@keyframes pop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }
}

.waiting {
  display: inline-flex;
  color: var(--text-2);
  align-items:  center;
  gap: 9px;
  font-size: 13px;
}

.device-code {
  display: flex;
  font-family: var(--mono);
  gap: 6px;
  font-size: 26px;
  font-weight: 600;
}

.device-code span {
  display: grid;
  background: var(--surface-sunken);
  border-radius: 10px;
  place-items:  center;
  min-width: 34px;
  height: 46px;
}

.device-code span.sep {
  color: var(--text-4);
  background: none;
  min-width: 12px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.field input {
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  outline: none;
  transition: box-shadow var(--t) var(--ease), background var(--t);
  border: 0;
  border-radius: 10px;
  height: 38px;
  padding: 0 12px;
}

.field input:focus {
  background: var(--surface);
  box-shadow: 0 0 0 3.5px var(--accent-ring), inset 0 0 0 .5px var(--accent);
}

.field input::placeholder {
  color: var(--text-4);
}

.confirm {
  display: flex;
  align-items:  flex-start;
  gap: 14px;
}

.confirm p, .confirm-text {
  color: var(--text-2);
  margin: 0;
}

.confirm b {
  color: var(--text);
}

.toasts {
  position: fixed;
  z-index: 60;
  display: flex;
  pointer-events: none;
  flex-direction: column;
  gap: 10px;
  width: min(360px, 100vw - 40px);
  bottom: 20px;
  right: 20px;
}

.toast {
  pointer-events: auto;
  display: flex;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: var(--elev-pop);
  animation: toast-in .42s var(--spring) both;
  border-radius: 14px;
  align-items:  flex-start;
  gap: 11px;
  padding: 12px 10px 12px 14px;
}

.toast.leaving {
  animation: toast-out .24s var(--ease) both;
}

@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translateY(16px)scale(.96);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translate(24px);
  }
}

.toast-icon {
  flex: none;
  margin-top: 1px;
}

.toast-success .toast-icon {
  color: var(--tint-green);
}

.toast-error .toast-icon {
  color: var(--tint-red);
}

.toast-info .toast-icon {
  color: var(--accent);
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 13.5px;
  font-weight: 600;
}

.toast-detail {
  color: var(--text-2);
  word-break: break-word;
  margin-top: 2px;
  font-size: 12.5px;
}

@media (width <= 1180px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    flex-direction: column;
    align-items:  flex-start;
  }

  .fact:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (width <= 1040px) {
  .shell {
    grid-template-columns: 68px 1fr;
  }

  .sidebar {
    align-items:  center;
    padding: 18px 10px 14px;
  }

  .brand {
    padding: 2px 0 6px;
  }

  .brand-text, .nav-label {
    display: none;
  }

  .nav-item {
    position: relative;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 0;
  }

  .nav-badge {
    position: absolute;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    top: 1px;
    right: 1px;
  }

  .sidebar-foot {
    justify-content: center;
    width: 100%;
    padding: 10px 0 2px;
  }

  .page {
    padding: 32px 28px 56px;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .sync-card {
    grid-template-columns: auto 1fr;
  }

  .sync-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }

  .model-tags {
    grid-template-columns: 72px 132px;
  }

  .cell-model {
    max-width: 210px;
  }

  .cell-model .chip {
    display: none;
  }

  .cell-acct {
    max-width: 120px;
  }

  .table td, .table th {
    padding-left: 9px;
    padding-right: 9px;
  }

  .model-tags .tag:last-child {
    display: none;
  }
}

@media (width <= 760px) {
  .shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: .5px solid var(--hairline);
    flex-direction: row;
    align-items:  center;
    padding: 10px 12px;
  }

  .brand-sub, .sidebar-foot {
    display: none;
  }

  .sidebar nav ul {
    grid-auto-flow: column;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-head {
    flex-direction: column;
    align-items:  flex-start;
  }

  .share-url {
    flex-direction: column;
    align-items: stretch;
  }
}

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

:root {
  --tint-yellow: #fc0;
  --k-overload: var(--tint-orange);
  --k-rate: var(--tint-yellow);
  --k-network: var(--tint-red);
  --k-model: var(--tint-purple);
  --k-auth: var(--tint-blue);
  --k-cancel: var(--tint-gray);
  --k-other: var(--tint-teal);
}

.page.wide {
  max-width: 1320px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
}

.link-btn {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  font-weight: 500;
}

.link-btn:hover {
  text-decoration: underline;
}

.bad {
  color: var(--red-text);
}

.warn-text {
  color: var(--orange-text);
}

.select select, .range-custom input {
  background-color: var(--surface-sunken);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  outline: none;
  border: 0;
  border-radius: 9px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.select select:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.range-custom input:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.search {
  display: inline-flex;
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  color: var(--text-3);
  border-radius: 9px;
  align-items:  center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
}

.search:focus-within {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.search input {
  outline: none;
  color: var(--text);
  background: none;
  border: 0;
  min-width: 150px;
  height: 100%;
}

.search.grow {
  flex: 1;
  min-width: 260px;
}

.search.grow input {
  flex: 1;
}

.chip-btn {
  display: inline-flex;
  background: var(--surface-sunken);
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  border: 0;
  border-radius: 999px;
  align-items:  center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 500;
}

.chip-btn:hover {
  background: color-mix(in srgb, var(--surface-sunken) 70%, var(--accent-soft));
}

.chip-btn span {
  opacity: .65;
  font-variant-numeric: tabular-nums;
}

.chip-btn.on {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.chip-btn:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.th-sort:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.link-btn:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.segmented-mini button:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 2px;
}

.pillset {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 14px;
}

.filter-chip {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  align-items:  center;
  gap: 4px;
  max-width: 320px;
  height: 28px;
  padding: 0 4px 0 12px;
  font-size: 12.5px;
}

.filter-chip button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 15px;
  line-height: 1;
}

.filter-chip button:hover {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px 14px;
  margin-top: -8px;
}

.filter-note {
  color: var(--text-3);
  margin-left: auto;
  font-size: 12.5px;
}

.filters {
  display: grid;
  gap: 10px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px 12px;
}

.range-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items:  center;
  gap: 10px;
}

.range-custom {
  display: flex;
  flex-wrap: wrap;
  align-items:  flex-end;
  gap: 8px 12px;
}

.range-custom label {
  display: grid;
  color: var(--text-3);
  gap: 4px;
  font-size: 12px;
}

.range-err {
  color: var(--red-text);
  flex-basis: 100%;
  font-size: 12.5px;
}

.kpi-grid.kpi-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-label {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
}

.kpi-warn .kpi-value {
  color: var(--orange-text);
}

.kpi .sparkline {
  margin-top: 4px;
}

.kpi-sub {
  margin-top: auto;
  padding-top: 4px;
}

.delta {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--surface-sunken);
  color: var(--text-3);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
}

.delta-good {
  color: var(--green-text);
  background: color-mix(in srgb, var(--tint-green) 15%, transparent);
}

.delta-bad {
  color: var(--red-text);
  background: color-mix(in srgb, var(--tint-red) 14%, transparent);
}

.delta-neutral {
  color: var(--text-2);
}

.stack-bar {
  display: flex;
  overflow: hidden;
  background: var(--surface-sunken);
  border-radius: 6px;
  gap: 2px;
  height: 12px;
}

.stack-bar span {
  min-width: 3px;
  height: 100%;
}

.stack-legend {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 16px;
  margin: 14px 0 0;
  padding: 0;
}

.stack-legend li {
  display: flex;
  align-items:  center;
  gap: 8px;
  font-size: 12.5px;
}

.stack-legend i {
  border-radius: 50%;
  flex: none;
  width: 9px;
  height: 9px;
}

.stack-legend b {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.stack-blocks {
  display: grid;
  gap: 20px;
}

.heat {
  display: grid;
  color: var(--text-3);
  gap: 3px;
  font-size: 11px;
}

.heat-hours, .heat-row {
  display: grid;
  grid-template-columns: 26px repeat(24, minmax(0, 1fr));
  align-items:  center;
  gap: 3px;
}

.heat-hours span {
  text-align: center;
  font-size: 10px;
}

.heat-dow {
  font-size: 10.5px;
}

.heat-cell {
  display: block;
  aspect-ratio: 1.15;
  background: color-mix(in srgb, var(--accent) calc(var(--v) * 100%), var(--surface-sunken));
  border-radius: 4px;
  min-height: 14px;
}

.heat-scale {
  display: flex;
  justify-content: flex-end;
  align-items:  center;
  gap: 8px;
  margin-top: 4px;
}

.heat-scale i {
  background: linear-gradient(90deg, var(--surface-sunken), var(--accent));
  border-radius: 4px;
  width: 90px;
  height: 8px;
}

.ladders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ladder-title {
  color: var(--text-3);
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
}

.ladder {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.ladder li {
  display: grid;
  grid-template-columns: 30px 1fr 74px;
  align-items:  center;
  gap: 10px;
  font-size: 13px;
}

.ladder-label {
  color: var(--text-3);
  font-size: 12px;
}

.ladder-track {
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 4px;
  height: 8px;
}

.ladder-track span {
  display: block;
  background: var(--accent);
  transition: width .6s var(--ease);
  border-radius: 4px;
  height: 100%;
}

.ladder b {
  text-align: right;
  font-weight: 600;
}

.qmeter {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.qmeter-head, .qmeter-foot {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  font-size: 12.5px;
}

.qmeter-foot {
  min-height: 22px;
  font-size: 11.5px;
}

.qmeter-track {
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 3px;
  height: 6px;
}

.qmeter-track > span {
  display: block;
  background: var(--tint-green);
  transition: width .6s var(--ease);
  border-radius: 3px;
  height: 100%;
}

.qmeter-track > .qmeter-orange {
  background: var(--tint-orange);
}

.qmeter-track > .qmeter-red {
  background: var(--tint-red);
}

.health {
  list-style: none;
  margin: 0;
  padding: 0;
}

.health li {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-top: .5px solid var(--hairline);
  gap: 16px;
  padding: 12px 0;
}

.health li:first-child {
  border-top: 0;
  padding-top: 0;
}

.health-id {
  display: flex;
  align-items:  center;
  gap: 10px;
  min-width: 0;
}

.health-name {
  display: grid;
  min-width: 0;
  font-weight: 550;
}

.health-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.health-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.health-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 22px;
}

.quota-mini {
  display: grid;
  gap: 4px;
  min-width: 96px;
}

.quota-mini.stale {
  opacity: .55;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.mini-stats > div {
  display: grid;
  background: var(--surface-sunken);
  border-radius: 12px;
  gap: 2px;
  padding: 10px 12px;
}

.mini-stats b {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 650;
}

.mini-stats span {
  color: var(--text-3);
  font-size: 12px;
}

.mini-stats .warn b {
  color: var(--orange-text);
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 12px;
  padding: 14px 18px;
}

.table-toolbar .search {
  flex: 1;
  max-width: 380px;
}

.table-toolbar > :last-child {
  margin-left: auto;
}

.th-sort {
  display: inline-flex;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  align-items:  center;
  gap: 4px;
  padding: 0;
}

.th-sort:hover {
  color: var(--text);
}

.th-sort span {
  display: inline-block;
  width: 10px;
}

th[aria-sort="ascending"], th[aria-sort="descending"] {
  color: var(--text);
}

.table.people {
  min-width: 1120px;
}

.table.people td {
  vertical-align: top;
}

.table.people tbody tr, .table tbody tr.clickable {
  cursor: pointer;
}

.table tbody tr[tabindex]:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: -2px;
}

.table tbody tr.selected {
  background: var(--accent-soft);
}

.cell-user {
  min-width: 230px;
  max-width: 300px;
}

.user-name {
  display: flex;
  align-items:  center;
  gap: 6px;
  min-width: 0;
  font-weight: 550;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 4px;
  margin-top: 5px;
}

.tag-row .pill {
  height: 19px;
  padding: 0 7px 0 6px;
  font-size: 11px;
}

.spark-cell {
  width: 72px;
  margin-left: auto;
}

.spark-cell .sparkline {
  height: 18px;
  margin-top: 3px;
}

.mini-bar {
  background: var(--surface-sunken);
  overflow: hidden;
  border-radius: 2px;
  width: 64px;
  height: 3px;
  margin: 5px 0 0 auto;
}

.mini-bar span {
  display: block;
  background: var(--tint-green);
  height: 100%;
}

.cell-model-name {
  max-width: 170px;
  margin-bottom: 3px;
  font-size: 12px;
}

.cell-quota {
  min-width: 110px;
}

.table-more {
  display: flex;
  justify-content: center;
  padding: 14px;
}

.table-wrap.short {
  max-height: 340px;
}

.events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.events li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 90px;
  border-top: .5px solid var(--hairline);
  align-items:  center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
}

.events li:first-child {
  border-top: 0;
  padding-top: 0;
}

.events-who {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail {
  display: grid;
  gap: 14px;
}

.detail-status {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px 12px;
}

.detail-links {
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.detail-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-kpi {
  display: grid;
  background: var(--surface-sunken);
  border-radius: 12px;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
}

.detail-kpi span {
  color: var(--text-3);
  font-size: 11.5px;
}

.detail-kpi b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 650;
}

.detail-kpi small {
  color: var(--text-3);
  font-size: 11.5px;
}

.card.inset {
  box-shadow: inset 0 0 0 .5px var(--hairline);
  background: var(--surface-2);
}

.card.inset .card-head h3 {
  font-size: 14px;
}

.sub-block {
  margin-top: 16px;
}

.clients {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 12.5px;
}

.drawer-loading {
  display: grid;
  gap: 14px;
}

.segmented-mini {
  display: inline-flex;
  background: var(--surface-sunken);
  border-radius: 8px;
  padding: 2px;
}

.segmented-mini button {
  color: var(--text-2);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
}

.segmented-mini button.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--elev);
}

.summary-strip {
  display: flex;
  color: var(--text-2);
  flex-wrap: wrap;
  gap: 4px 22px;
  padding: 0 4px;
  font-size: 12.5px;
}

.summary-strip b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.summary-strip .bad b {
  color: var(--red-text);
}

td.slow {
  color: var(--orange-text);
  font-weight: 600;
}

.req-status {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
  margin-bottom: 8px;
}

.kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
}

.kv > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  border-bottom: .5px solid var(--hairline);
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
}

.kv dt {
  color: var(--text-3);
}

.kv dd {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.req-error {
  margin-top: 16px;
}

.req-error-head {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 6px;
}

.req-error pre {
  overflow: auto;
  background: var(--surface-sunken);
  font-family: var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 10px;
  max-height: 260px;
  margin: 0;
  padding: 12px;
  font-size: 12px;
  line-height: 1.55;
}

@media (width <= 1180px) {
  .kpi-grid.kpi-8, .detail-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-note {
    margin-left: 0;
  }
}

@media (width <= 760px) {
  .page.wide {
    padding: 22px 16px 48px;
  }

  .ladders, .kv {
    grid-template-columns: 1fr;
  }

  .health li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .events li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .range-picker {
    justify-content: flex-start;
  }

  .search.grow {
    flex-basis: 100%;
    min-width: 0;
  }

  .hero-facts {
    flex-wrap: wrap;
    gap: 12px 0;
    width: 100%;
  }

  .hero-facts .fact {
    border-left: 0;
    flex: 140px;
    min-width: 0;
    padding-left: 0;
  }

  .fact-value {
    overflow-wrap: anywhere;
  }
}

.two-col > *, .kpi-grid > * {
  min-width: 0;
}

@media (width <= 760px) {
  .hero-facts .fact:has(.with-action) {
    flex-basis: 100%;
  }

  .fact-value.mono {
    word-break: break-all;
  }

  .card-head {
    flex-wrap: wrap;
  }

  .chart-head-right {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .chart {
    overflow: hidden;
    min-width: 0;
  }
}

:root {
  --buncss-light: initial;
  --buncss-dark: ;
  --buncss-light: initial;
  --buncss-dark: ;
  color-scheme: light;
  --bg: #f5f8f7;
  --bg-grad: none;
  --sidebar: #fff;
  --surface: #fff;
  --surface-2: #f7faf9;
  --surface-sunken: #eef3f1;
  --text: #19332e;
  --text-2: #51655f;
  --text-3: #647870;
  --text-4: #94a59e;
  --accent: #087f68;
  --accent-hover: #066853;
  --accent-soft: #e4f5ed;
  --accent-ring: #73c5ae;
  --hairline: #e3ebe6;
  --hairline-strong: #cddbd4;
  --elev: 0 2px 5px #1d4b3310;
  --elev-hover: 0 8px 24px #1d4b3314;
  --elev-pop: 0 24px 64px #19332e28;
  --tint-green: #16996d;
  --tint-teal: #2199a2;
  --tint-blue: #427ad4;
  --tint-purple: #8970c6;
  --tint-orange: #d08928;
  --tint-red: #d6545f;
  --tint-yellow: #d5ac3c;
  --green-text: #137b56;
  --red-text: #b62f40;
  --orange-text: #986011;
  --r-m: 12px;
  --r-l: 18px;
  --r-xl: 22px;
}

body {
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.6;
}

h1, h2, h3 {
  letter-spacing: -.035em;
}

.card {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 2px 8px #19332e04;
}

.card h3 {
  font-size: 16px;
  font-weight: 650;
}

.card-sub {
  font-size: 12px;
  line-height: 1.7;
}

.page-head h1 {
  font-size: 32px;
  font-weight: 700;
}

.page-sub {
  color: var(--text-2);
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.65;
}

.section-head h2 {
  font-size: 21px;
  font-weight: 650;
}

.group, .model-group, .table-wrap {
  border: 1px solid var(--hairline);
  box-shadow: none;
}

.empty {
  padding: 40px 24px;
}

.empty-title {
  font-size: 17px;
}

.shell {
  grid-template-columns: 238px minmax(0, 1fr);
}

.sidebar {
  backdrop-filter: none;
  border-right: 1px solid var(--hairline);
  gap: 26px;
  padding: 32px 20px 22px;
}

.brand {
  gap: 12px;
  padding: 0 4px 16px;
}

.brand-mark {
  display: grid;
  color: #fff;
  background: linear-gradient(145deg, #19ac83, #087a67);
  border-radius: 14px;
  flex-shrink: 0;
  place-items:  center;
  width: 42px;
  height: 42px;
  box-shadow: 0 5px 12px #087a6720;
}

.brand-name {
  letter-spacing: -.06em;
  font-size: 25px;
  font-weight: 750;
}

.brand-dot {
  color: var(--accent);
}

.brand-sub {
  color: var(--text-3);
  margin-top: 2px;
  font-size: 11px;
}

.nav-caption {
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: -16px;
  padding-left: 12px;
  font-size: 10px;
  font-weight: 650;
}

.sidebar nav ul {
  display: grid;
  gap: 7px;
}

.nav-item {
  color: var(--text-2);
  border-radius: 11px;
  gap: 12px;
  min-height: 47px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 550;
}

.nav-item.active {
  background: var(--accent-soft);
  color: #086e57;
  box-shadow: none;
  font-weight: 650;
}

.nav-item .nav-icon {
  box-shadow: none;
  color: inherit;
  background: none;
  width: 22px;
  height: 24px;
}

.sidebar-help {
  display: flex;
  color: var(--text);
  background: #f1f8f4;
  border: 1px solid #e2eee6;
  border-radius: 16px;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
  padding: 18px;
}

.sidebar-help > span {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.7;
}

.sidebar-help .sidebar-help-link {
  color: var(--accent);
  font-weight: 650;
}

.sidebar-foot {
  gap: 9px;
  margin-top: 0;
  padding: 18px 2px 0;
  font-size: 10px;
}

.main {
  padding: 0;
}

.workspace-bar {
  display: flex;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-2);
  background: #fff;
  justify-content: space-between;
  align-items:  center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 36px;
  font-size: 12px;
}

.breadcrumb-slash {
  color: #bdcdc4;
  margin: 0 10px;
}

.workspace-badge {
  letter-spacing: .08em;
  color: #5a7867;
  font-size: 9px;
  font-weight: 650;
}

.workspace-tools {
  display: flex;
  justify-content: flex-end;
  align-items:  center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  border: 1px solid var(--hairline);
  color: var(--text-2);
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 9px;
  justify-content: center;
  align-items:  center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  transition: background .16s, border-color .16s, color .16s;
  font-size: 11px;
  font-weight: 600;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-ring);
  background: var(--accent-soft);
}

.theme-toggle svg {
  color: var(--accent);
}

.page, .page.wide {
  max-width: 1420px;
  margin: 0 auto;
  padding: 28px 36px 40px;
}

.connection-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  background: linear-gradient(110deg, #e8f5ec, #eef9f5 58%, #e7f3f1);
  border: 1px solid #d3e9db;
  border-radius: 22px;
  align-items:  center;
  gap: 28px;
  margin-bottom: 20px;
  padding: 28px;
}

.eyebrow {
  color: #4e7462;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 650;
}

.connection-heading {
  display: flex;
  align-items:  center;
  gap: 16px;
  margin: 18px 0;
}

.connection-heading h2 {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
}

.connection-heading p {
  color: #527265;
  margin: 7px 0 0;
  font-size: 13px;
}

.connection-symbol {
  display: grid;
  color: #fff;
  background: #829a8e;
  border-radius: 17px;
  flex-shrink: 0;
  place-items:  center;
  width: 54px;
  height: 54px;
}

.connection-symbol.online {
  background: linear-gradient(145deg, #22ad81, #097961);
  box-shadow: 0 8px 20px #087f681c;
}

.connection-symbol.warn {
  background: linear-gradient(145deg, #d5ac3c, #a87e14);
  box-shadow: 0 8px 20px #a87e141c;
}

.connection-meta {
  display: flex;
  color: #507464;
  flex-wrap: wrap;
  align-items:  center;
  gap: 16px;
  font-size: 12px;
}

.connection-status {
  display: inline-flex;
  background: #ffffff90;
  border: 1px solid #c5e1d0;
  border-radius: 20px;
  align-items:  center;
  gap: 8px;
  padding: 3px 10px;
  font-weight: 600;
}

.endpoint-panel {
  display: flex;
  background: #ffffffd9;
  border: 1px solid #dcebe2;
  border-radius: 16px;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.endpoint-label {
  display: flex;
  color: var(--text-2);
  justify-content: space-between;
  align-items:  center;
  font-size: 12px;
}

.endpoint-value {
  font-family: var(--mono);
  overflow-wrap: anywhere;
  color: #1a4c3c;
  user-select: all;
  font-size: 16px;
  font-weight: 600;
}

.endpoint-guide {
  text-align: center;
  font-size: 12px;
  font-weight: 550;
}

.connection-offline {
  background: #fff5ed;
  border-color: #eed9c7;
}

.traffic-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.traffic-stat {
  padding: 14px 16px;
}

.traffic-stat-value {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 650;
}

.traffic-stat-label {
  color: var(--text-3);
  margin-top: 2px;
  font-size: 12px;
}

.traffic-stat-hint {
  color: var(--text-3);
  opacity: .8;
}

.traffic-sec-title {
  color: var(--text-3);
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.traffic-harnesses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nowrap {
  white-space: nowrap;
}

.upstream-mode {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.ann-card {
  margin-bottom: 12px;
}

.ann-unread {
  border-left: 3px solid var(--accent, #4f7cff);
}

.ann-head {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
}

.ann-title {
  flex: 1;
  min-width: 120px;
}

.ann-body {
  white-space: pre-wrap;
  margin: 8px 0 0;
  line-height: 1.55;
}

.ann-img {
  display: block;
  border-radius: 8px;
  max-width: 100%;
  max-height: 320px;
  margin-top: 10px;
}

.live-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 2px;
}

.live-idle {
  color: var(--text-3, #8a8f98);
  margin: 0;
  font-size: 13px;
}

.live-req {
  border: 1px solid var(--hairline, #80808040);
  border-radius: 10px;
  padding: 10px 12px;
}

.live-req-top {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.live-model {
  font-size: 13px;
  font-weight: 600;
}

.live-age {
  color: var(--text-3, #8a8f98);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-size: 12px;
}

.live-detail {
  color: var(--text-2, #5f6570);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 0;
  font-size: 12.5px;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.setup-card {
  margin: 0;
  padding: 19px 22px;
}

.setup-top {
  display: flex;
  align-items:  center;
  gap: 9px;
  margin-bottom: 14px;
}

.setup-top .pill {
  margin-left: auto;
}

.setup-icon {
  display: inline-grid;
  color: #188064;
  background: #edf7f0;
  border-radius: 10px;
  flex-shrink: 0;
  place-items:  center;
  width: 32px;
  height: 32px;
}

.setup-icon-blue {
  color: #4b79b0;
  background: #edf3fb;
}

.setup-label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 550;
}

.setup-content {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
}

.setup-content p {
  color: var(--text-3);
  margin: 4px 0 0;
  font-size: 12px;
}

.setup-license-meta {
  display: grid;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 11px;
  gap: 8px;
  margin-top: 13px;
  padding: 10px 12px;
  font-size: 12px;
}

.setup-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  center;
  gap: 10px;
}

.setup-meta-label {
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 550;
}

.setup-meta-code {
  color: var(--text);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  background: var(--surface);
  border: 1px solid var(--hairline);
  word-break: break-all;
  user-select: all;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
}

.setup-meta-key-box {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items:  center;
  gap: 8px;
  max-width: 100%;
}

.setup-copy-key-btn {
  flex-shrink: 0;
}

.setup-meta-expiry {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items:  center;
  gap: 8px;
}

.setup-meta-date {
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

.setup-footer {
  display: flex;
  border-top: 1px solid var(--hairline);
  color: var(--text-2);
  justify-content: space-between;
  align-items:  center;
  margin-top: 15px;
  padding-top: 12px;
  font-size: 12px;
}

.activation-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.activation-form-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.activation-form-heading label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 650;
}

.activation-form-heading span {
  color: var(--text-3);
  font-size: 11px;
}

.activation-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.activation-form-row input {
  flex: 1;
  min-width: 190px;
}

.setup-support {
  display: flex;
  border-top: 1px dashed var(--hairline);
  align-items:  center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 11px;
}

.setup-support-label {
  color: var(--text-3);
  margin-right: auto;
  font-size: 11px;
  font-weight: 600;
}

.insights {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  margin-top: 18px;
  padding: 0 22px;
}

.insights > summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items:  center;
  gap: 12px;
  min-height: 78px;
}

.insights > summary::-webkit-details-marker {
  display: none;
}

.insights > summary > svg {
  margin-left: auto;
  transition: transform .18s;
}

.insights[open] > summary > svg {
  transform: rotate(90deg);
}

.insights-heading {
  display: grid;
  gap: 2px;
}

.insights-heading > span {
  color: var(--text-3);
  font-size: 12px;
}

.insights-body, .connection-details .provider-grid {
  padding: 0 0 20px;
}

.dashboard-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dashboard-metric {
  min-height: 167px;
  margin: 0;
  padding: 21px;
}

.dashboard-metric .kpi-value {
  letter-spacing: -.045em;
  margin-top: 12px;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.2;
}

.dashboard-metric .kpi-label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 550;
}

.metric-hint {
  color: var(--text-3);
  margin: 6px 0 0;
  font-size: 10px;
}

.usage-heading {
  align-items:  center;
  margin-bottom: 16px;
}

.usage-filters {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 14px;
  margin-bottom: 18px;
}

.usage-filters .filter-note {
  margin-left: auto;
}

.dashboard-chart {
  padding: 24px;
}

.dashboard-legend {
  margin: 6px 0 16px;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 16px 0 24px;
}

.detail-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-metrics span {
  color: var(--text-3);
  font-size: 12px;
}

.detail-metrics strong {
  font-size: 23px;
  font-weight: 650;
}

.btn {
  box-shadow: none;
  white-space: nowrap;
  border-radius: 10px;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  border: 1px solid var(--hairline-strong);
  background: #fff;
}

.btn-tinted {
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm {
  min-height: 35px;
  font-size: 12px;
}

.inline-input, .select select {
  border-radius: 9px;
  min-height: 39px;
  font-size: 13px;
}

.pill {
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 550;
}

.banner {
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 13px;
}

.link-btn {
  font-size: 12px;
  font-weight: 600;
}

.footnote {
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.7;
}

button, a.btn, summary {
  touch-action: manipulation;
}

:root[data-theme="dark"] {
  --buncss-light: ;
  --buncss-dark: initial;
  --buncss-light: ;
  --buncss-dark: initial;
  color-scheme: dark;
  --bg: #101815;
  --bg-grad: radial-gradient(900px 520px at 82% -8%, #1a493b66, transparent 65%);
  --sidebar: #15211c;
  --surface: #18241f;
  --surface-2: #1d2d26;
  --surface-sunken: #22342c;
  --text: #e5f2eb;
  --text-2: #b7c9bf;
  --text-3: #8fa79a;
  --text-4: #667d70;
  --accent: #3acaa2;
  --accent-hover: #65dbb8;
  --accent-soft: #173e33;
  --accent-ring: #5fdbb8;
  --hairline: #2b4338;
  --hairline-strong: #456354;
  --elev: 0 3px 12px #0000003d;
  --elev-hover: 0 10px 30px #00000052;
  --elev-pop: 0 24px 64px #0006;
  --tint-green: #5ed7a7;
  --tint-teal: #5bc6ce;
  --tint-blue: #78a8ee;
  --tint-purple: #b49ae7;
  --tint-orange: #f0b25d;
  --tint-red: #f07b85;
  --tint-yellow: #e8ca6a;
  --green-text: #76dbad;
  --red-text: #ff9ba2;
  --orange-text: #f4bd71;
}

:root[data-theme="dark"] .workspace-bar {
  background: var(--surface);
}

:root[data-theme="dark"] .workspace-badge {
  color: var(--text-3);
}

:root[data-theme="dark"] .sidebar-help {
  background: #17332a;
  border-color: #2d5444;
}

:root[data-theme="dark"] .nav-item.active {
  color: #c6f7e3;
}

:root[data-theme="dark"] .connection-card {
  background: linear-gradient(110deg, #15382c, #183b32 58%, #173238);
  border-color: #2c5a4b;
}

:root[data-theme="dark"] .eyebrow {
  color: #91c8b1;
}

:root[data-theme="dark"] .connection-heading p, :root[data-theme="dark"] .connection-meta {
  color: #a1c4b2;
}

:root[data-theme="dark"] .connection-status {
  background: #173c30cc;
  border-color: #3f725f;
}

:root[data-theme="dark"] .endpoint-panel {
  background: #15241fdd;
  border-color: #36594d;
}

:root[data-theme="dark"] .endpoint-value {
  color: #b9f0d5;
}

:root[data-theme="dark"] .connection-offline {
  background: #3a2920;
  border-color: #704c36;
}

:root[data-theme="dark"] .setup-icon {
  color: #7ad9b0;
  background: #1a3d30;
}

:root[data-theme="dark"] .setup-icon-blue {
  color: #9abcf1;
  background: #253753;
}

:root[data-theme="dark"] .btn-secondary {
  background: var(--surface-2);
}

:root[data-theme="dark"] .theme-toggle {
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--hairline-strong);
}

:root[data-theme="dark"] .theme-toggle:hover {
  color: var(--text);
  background: var(--accent-soft);
}

:root[data-theme="dark"] .theme-toggle svg {
  color: var(--accent);
}

@media (width <= 1100px) {
  .shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .sidebar {
    padding: 26px 13px 18px;
  }

  .brand-text, .nav-caption, .sidebar-help, .sidebar .nav-label {
    display: none;
  }

  .brand {
    padding: 0 6px 15px;
  }

  .nav-item {
    justify-content: center;
    padding: 13px;
  }

  .sidebar-foot {
    justify-content: center;
    margin-top: auto;
  }

  .page, .page.wide {
    padding: 26px;
  }
}

@media (width <= 760px) {
  .shell {
    display: block;
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    position: sticky;
    border-bottom: 1px solid var(--hairline);
    z-index: 30;
    flex-direction: row;
    align-items:  center;
    gap: 12px;
    padding: 10px 14px;
    top: 0;
  }

  .brand {
    padding: 0;
  }

  .brand-mark {
    border-radius: 11px;
    width: 34px;
    height: 34px;
  }

  .sidebar nav {
    flex: 1;
  }

  .sidebar nav ul {
    display: flex;
    justify-content: space-between;
    gap: 3px;
  }

  .nav-item {
    flex-direction: column;
    gap: 3px;
    padding: 7px 10px;
  }

  .sidebar .nav-label {
    display: inline;
    font-size: 10px;
  }

  .sidebar-foot, .workspace-badge {
    display: none;
  }

  .workspace-tools {
    gap: 0;
  }

  .theme-toggle {
    border-radius: 10px;
    width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .theme-toggle span {
    display: none;
  }

  .main {
    overflow: visible;
  }

  .workspace-bar {
    min-height: 44px;
    padding: 10px 18px;
  }

  .page, .page.wide {
    padding: 22px 16px;
  }

  .page-head {
    flex-wrap: wrap;
    gap: 14px;
  }

  .page-head h1 {
    font-size: 28px;
  }

  .connection-card, .setup-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .connection-card {
    gap: 20px;
    padding: 22px;
  }

  .connection-heading h2 {
    font-size: 22px;
  }

  .dashboard-metrics, .detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-metric, .dashboard-chart {
    padding: 16px;
  }

  .usage-heading, .dashboard-chart .card-head {
    flex-direction: column;
    align-items:  flex-start;
    gap: 14px;
  }

  .usage-filters .filter-note {
    display: none;
  }

  .activation-form-heading {
    flex-direction: column;
    align-items:  flex-start;
    gap: 2px;
  }

  .activation-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .activation-form-row input {
    width: 100%;
    min-width: 0;
  }

  .insights {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* gui/dong01/accounts-page-b333f82e813e.css */
.local-accounts {
  --acct-off: var(--bento-cell-off, color-mix(in srgb, var(--text) 10%, transparent));
  --acct-radius: var(--bento-tile-radius, 18px);
}

.local-accounts .acct-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.local-accounts .acct-loading {
  display: grid;
  gap: 14px;
}

.local-accounts .sum-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 20px;
}

.local-accounts .sum-head {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
}

.local-accounts .sum-label {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 550;
}

.local-accounts .sum-hint, .local-accounts .sum-note {
  color: var(--text-3);
  font-size: 12px;
}

.local-accounts .sum-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.local-accounts .sum-big, .local-accounts .sum-avg {
  letter-spacing: -.03em;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.1;
}

.local-accounts .sum-big {
  color: var(--tint-green);
}

.local-accounts .sum-short .sum-avg {
  color: var(--tint-teal);
}

.local-accounts .sum-weekly .sum-avg {
  color: var(--bento-purple-text, var(--tint-purple));
}

.local-accounts .sum-caption {
  color: var(--text-2);
  font-size: 14px;
}

.local-accounts .sum-dots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14px, 1fr));
  gap: 6px;
}

.local-accounts .sum-dots > span {
  aspect-ratio: 1;
  border-radius: 4px;
}

.local-accounts .sum-legend {
  display: flex;
  color: var(--text-2);
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
}

.local-accounts .sum-legend i {
  display: inline-block;
  border-radius: 2px;
  width: 8px;
  height: 8px;
  margin-right: 6px;
}

.local-accounts .sum-legend b {
  color: var(--text);
  font-weight: 600;
}

.local-accounts .state-ready {
  background: var(--tint-green);
}

.local-accounts .state-cooldown {
  background: var(--tint-orange);
}

.local-accounts .state-reauth {
  background: var(--tint-red);
}

.local-accounts .state-disabled {
  background: #48484a;
}

.local-accounts .acct-hist {
  display: grid;
  row-gap: 0;
  height: 84px;
}

.local-accounts .hcol {
  display: grid;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
}

.local-accounts .hcol > span {
  background: var(--acct-off);
  border-radius: 2px;
}

.local-accounts .hcol > span.on {
  background: var(--c);
}

.local-accounts .tone-green, .quota-strip .tone-green {
  --c: var(--tint-green);
}

.local-accounts .tone-orange, .quota-strip .tone-orange {
  --c: var(--tint-orange);
}

.local-accounts .tone-red, .quota-strip .tone-red {
  --c: var(--tint-red);
}

.quota-strip .tone-none {
  --c: var(--text-3);
}

.local-accounts .acct-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px 14px;
}

.local-accounts .acct-search {
  flex: 260px;
  min-width: 0;
  max-width: 560px;
}

.local-accounts .acct-search input {
  min-width: 0;
}

.local-accounts .acct-search input::-webkit-search-cancel-button {
  display: none;
}

.local-accounts .acct-search .icon-btn {
  width: 22px;
  height: 22px;
}

.local-accounts .acct-no-match {
  color: var(--text-2);
  padding: 18px 20px;
  font-size: 13px;
}

.local-accounts .group {
  box-shadow: none;
  background: none;
  border: 0;
  gap: 12px;
}

.local-accounts .group-head h2 {
  letter-spacing: -.02em;
  font-size: 18px;
  font-weight: 650;
}

.local-accounts .acct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.local-accounts .acct {
  border-radius: var(--acct-radius);
  background: var(--surface);
  box-shadow: var(--elev);
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.local-accounts .acct-top {
  align-items:  flex-start;
  gap: 12px;
}

.local-accounts .avatar {
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 16%, transparent);
  font-size: 15px;
  font-weight: 650;
}

.local-accounts .acct-name {
  display: block;
  cursor: default;
  font-size: 13.5px;
  font-weight: 600;
}

.local-accounts .acct-name:hover {
  text-decoration: none;
}

.local-accounts .acct-meta {
  gap: 4px 8px;
  margin-top: 4px;
  font-size: 12px;
}

.local-accounts .acct-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.local-accounts .acct-meta .prio {
  color: var(--text-3);
  gap: 6px;
  margin-right: 0;
  font-size: 12px;
}

.local-accounts .acct-meta .stepper {
  border-radius: 7px;
  height: 24px;
}

.local-accounts .acct-meta .stepper button {
  width: 24px;
  height: 24px;
}

.local-accounts .acct-meta .stepper output {
  min-width: 28px;
  font-size: 12px;
  line-height: 24px;
}

.local-accounts .quota {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}

.local-accounts .quota-row {
  gap: 10px;
  margin-bottom: 7px;
  font-size: 12.5px;
}

.local-accounts .quota-label {
  font-weight: 600;
}

.local-accounts .quota-val {
  white-space: normal;
}

.local-accounts .quota-val .dim {
  white-space: nowrap;
}

.local-accounts .meter, .quota-strip .meter {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  overflow: visible;
  background: none;
  border-radius: 0;
  gap: 3px;
  height: auto;
}

.local-accounts .meter .cell, .quota-strip .meter .cell {
  display: block;
  background: var(--acct-off);
  border-radius: 2px;
  height: 7px;
  transition: none;
}

.local-accounts .meter .cell.on, .quota-strip .meter .cell.on {
  background: var(--c);
}

.local-accounts .acct-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
}

.local-accounts .acct-updated {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-resets {
  display: inline-flex;
  color: var(--bento-accent-text, var(--accent));
  white-space: nowrap;
  cursor: help;
  align-items:  center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 550;
}

.local-accounts .acct-actions {
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 12px 0 0;
}

.local-accounts .acct-actions-main {
  display: flex;
  flex-wrap: wrap;
  flex: auto;
  gap: 8px;
  min-width: 0;
}

.local-accounts .acct-actions-end {
  display: flex;
  align-items:  center;
  gap: 8px;
  margin-left: auto;
}

.local-switch {
  display: inline-flex;
  flex: none;
}

.local-accounts .page-head {
  flex-wrap: wrap;
}

.local-accounts .page-actions {
  flex-wrap: wrap;
  min-width: 0;
}

.local-accounts .acct-status {
  display: flex;
  flex-direction: column;
  align-items:  flex-end;
  gap: 6px;
}

.local-accounts .acct-rename {
  color: inherit;
  font: inherit;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: text;
  background: none;
  border: 0;
  max-width: 100%;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
}

.local-accounts .acct-rename:hover {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.local-accounts .acct-rename:focus-visible {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.local-accounts .acct-name-input {
  border: 1px solid var(--accent);
  background: var(--surface-2, var(--surface));
  color: var(--text);
  font: inherit;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0 6px;
  font-size: 13.5px;
  font-weight: 600;
}

.local-accounts .acct-meta .chip.chip-credits {
  color: var(--tint-teal);
  background: color-mix(in srgb, var(--tint-teal) 15%, transparent);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.acct-redeem {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.acct-redeem p {
  margin: 0;
}

.acct-redeem-usage {
  display: grid;
  color: var(--text-2);
  gap: 2px;
  margin: 0;
  padding-left: 18px;
}

.redeem-warning {
  display: flex;
  color: var(--tint-orange);
  background: color-mix(in srgb, var(--tint-orange) 12%, transparent);
  border-radius: 10px;
  align-items:  flex-start;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.acct-login .device-code span {
  letter-spacing: .08em;
  padding: 0 14px;
}

.acct-login-wait {
  display: inline-flex;
  align-items:  center;
  gap: 6px;
  margin: 0;
}

.local-accounts .acct-empty {
  border-radius: var(--bento-inner-radius, 14px);
  background: var(--surface);
  box-shadow: var(--elev);
  padding: 14px 18px;
  font-size: 13px;
}

:root.bento .dashboard-page > .quota-compact {
  grid-column: span 4;
  grid-row: span 2;
  order: 3;
}

.cell-model:has(.requested-tier) {
  flex-wrap: wrap;
  min-width: 150px;
}

.cell-model .chip.requested-tier {
  display: inline-flex;
  white-space: nowrap;
  text-transform: none;
  flex-shrink: 0;
}

.cell-model .model-tier {
  display: inline-flex;
  align-items:  center;
  gap: 4px;
  min-width: 0;
  max-width: calc(100% - 26px);
}

.cell-model .requested-tier-icon {
  display: inline-flex;
  color: #ffd60a;
  flex-shrink: 0;
}

.cell-model .requested-tier-icon[data-tier="ultrafast"] {
  color: #ffb340;
}

.req-detail .model-reasoning {
  display: inline-flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px;
}

.cell-model .chip.reasoning-effort[data-effort], .req-detail .chip.reasoning-effort[data-effort] {
  display: inline-flex;
  white-space: nowrap;
  text-transform: none;
  color: var(--reasoning-color, var(--text-2));
  background: color-mix(in srgb, var(--reasoning-color, var(--text-2)) 12%, transparent);
  flex-shrink: 0;
}

.chip.reasoning-effort[data-effort="low"] {
  --reasoning-color: #6bda93;
}

.chip.reasoning-effort[data-effort="medium"] {
  --reasoning-color: #70b7ff;
}

.chip.reasoning-effort[data-effort="high"] {
  --reasoning-color: #cf9aff;
}

.chip.reasoning-effort[data-effort="xhigh"] {
  --reasoning-color: #ffbd70;
}

.chip.reasoning-effort[data-effort="max"] {
  --reasoning-color: #ff8faa;
}

.chip.reasoning-effort[data-effort="ultra"] {
  --reasoning-color: #ffe276;
}

.quota-strip {
  --acct-off: var(--bento-cell-off, color-mix(in srgb, var(--text) 10%, transparent));
  display: grid;
  border-radius: var(--bento-tile-radius, 18px);
  background: var(--surface);
  box-shadow: var(--elev);
  gap: 10px;
  padding: 16px 20px;
}

.quota-strip.is-muted {
  color: var(--text-3);
  padding: 12px 20px;
  font-size: 12.5px;
}

.quota-strip .qs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.quota-strip .qs-title {
  font-size: 13.5px;
  font-weight: 650;
}

.quota-strip .qs-ready {
  color: var(--text-2);
  font-size: 12.5px;
}

.quota-strip .qs-link {
  color: var(--bento-accent-text, var(--accent));
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 550;
}

.quota-strip .qs-row {
  display: grid;
  grid-template-columns: 56px 48px minmax(140px, 1fr) auto;
  align-items:  center;
  gap: 4px 12px;
}

.quota-strip .qs-label {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.quota-strip .qs-avg {
  color: var(--c);
  letter-spacing: -.02em;
  font-size: 18px;
  font-weight: 650;
}

.quota-strip .qs-meta {
  color: var(--text-3);
  white-space: nowrap;
  font-size: 12px;
}

.quota-strip.quota-compact {
  align-content:  center;
  gap: 10px;
  padding: 18px 20px;
}

.quota-compact .qs-head {
  gap: 4px 8px;
}

.quota-compact .qs-ready {
  margin-left: auto;
  font-size: 11.5px;
}

.quota-compact .qs-link {
  margin-left: 0;
  font-size: 18px;
  line-height: 1;
}

.quota-compact .qs-scope, .quota-compact .qs-meta {
  font-size: 11px;
}

.quota-compact .qs-row {
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
}

.quota-compact .qs-avg {
  font-size: 19px;
}

.quota-compact .meter, .quota-compact .qs-meta {
  grid-column: 1 / -1;
}

.quota-compact .qs-meta {
  white-space: normal;
}

@media (width <= 1180px) {
  .local-accounts .acct-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .quota-strip .qs-row {
    grid-template-columns: 56px 48px minmax(0, 1fr);
  }

  .quota-strip .qs-meta {
    grid-column: 3;
    white-space: normal;
  }

  :root.bento .dashboard-page > .quota-compact {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .quota-compact .qs-head, .quota-compact .qs-scope, .quota-compact .qs-warning {
    grid-column: 1 / -1;
  }

  .quota-compact .qs-row {
    grid-template-columns: 1fr auto;
  }

  .quota-compact .qs-meta {
    grid-column: 1 / -1;
  }
}

@media (width <= 760px) {
  .quota-strip {
    padding: 14px 16px;
  }

  .quota-strip .qs-row {
    grid-template-columns: 48px 44px minmax(0, 1fr);
  }

  .quota-strip .qs-meta {
    grid-column: 1 / -1;
  }

  :root.bento .dashboard-page > .quota-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .quota-compact .qs-row {
    grid-template-columns: 1fr auto;
  }
}

/* gui/dong01/bento-theme-92d48c93867f.css */
:root.bento {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --bg: #141416;
  --bg-grad: none;
  --sidebar: #18181b;
  --surface: #1e1e21;
  --surface-2: #26262a;
  --surface-sunken: #ffffff0f;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #8e8e93;
  --text-4: #8e8e93;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --accent-soft: #0a84ff26;
  --accent-ring: #0a84ff8c;
  --hairline: #ffffff12;
  --hairline-strong: #ffffff21;
  --elev: inset 0 0 0 1px #ffffff0f, inset 0 1px 0 #ffffff0a, 0 14px 34px -18px #000000b3;
  --elev-hover: inset 0 0 0 1px #ffffff17, inset 0 1px 0 #ffffff0d, 0 18px 40px -18px #000c;
  --elev-pop: 0 0 0 1px #ffffff14, 0 30px 70px -20px #000000d9;
  --tint-green: #30d158;
  --tint-red: #ff453a;
  --tint-orange: #ff9f0a;
  --tint-blue: #0a84ff;
  --tint-purple: #bf5af2;
  --tint-teal: #64d2ff;
  --tint-yellow: #ffd60a;
  --tint-gray: #8e8e93;
  --green-text: #30d158;
  --red-text: #ff6961;
  --orange-text: #ff9f0a;
  --r-s: 7px;
  --r-m: 9px;
  --r-l: 14px;
  --r-xl: 22px;
  --bento-accent-text: #409cff;
  --bento-purple-text: #da8fff;
  --bento-primary: #0071e3;
  --bento-control-on: #3a3a3e;
  --bento-cell-off: #ffffff14;
  --bento-tile-radius: 22px;
  --bento-inner-radius: 14px;
  --buncss-light:  !important;
  --buncss-dark: initial !important;
  color-scheme: dark !important;
}

:root.bento body {
  background: var(--bg);
  letter-spacing: -.01em;
}

:root.bento .theme-toggle:not(.lang-toggle) {
  display: none;
}

:root.bento a {
  color: var(--bento-accent-text);
}

:root.bento .shell {
  grid-template-columns: 212px minmax(0, 1fr);
}

:root.bento .sidebar {
  background: var(--sidebar);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-right: 1px solid #ffffff0f;
  gap: 22px;
  padding: 22px 14px 18px;
}

:root.bento .brand {
  gap: 10px;
  padding: 0 8px;
}

:root.bento .brand-mark {
  background: linear-gradient(145deg, #0a84ff, #5e5ce6);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  box-shadow: inset 0 1px #ffffff40, 0 6px 14px -6px #0a84ff99;
}

:root.bento .brand-mark > svg {
  display: none;
}

:root.bento .brand-mark:before {
  content: "";
  background: radial-gradient(circle, #fff 1.7px, #0000 2.2px) 0 0 / 6px 6px;
  width: 18px;
  height: 18px;
}

:root.bento .brand-name {
  letter-spacing: -.02em;
  font-size: 15px;
  font-weight: 650;
}

:root.bento .brand-dot {
  color: var(--bento-accent-text);
}

:root.bento .brand-sub {
  color: var(--text-3);
  margin-top: 0;
  font-size: 11px;
}

:root.bento .nav-caption {
  color: var(--text-3);
  letter-spacing: .06em;
  margin-bottom: -14px;
  padding-left: 10px;
  font-size: 10.5px;
}

:root.bento .sidebar nav ul {
  gap: 2px;
}

:root.bento .nav-item {
  color: var(--text-2);
  border-radius: 9px;
  gap: 10px;
  height: 34px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13.5px;
  font-weight: 500;
}

:root.bento .nav-item:hover {
  color: var(--text);
  background: #ffffff0d;
}

:root.bento .nav-item.active {
  color: var(--text);
  box-shadow: none;
  background: #ffffff17;
  font-weight: 600;
}

:root.bento .nav-item .nav-icon {
  color: inherit;
  box-shadow: none;
  background: none;
  width: 20px;
  height: 20px;
}

:root.bento .nav-item.active .nav-icon {
  color: var(--bento-accent-text);
}

:root.bento .sidebar-help {
  background: var(--surface);
  border-radius: var(--bento-inner-radius);
  box-shadow: var(--elev);
  color: var(--text);
  border: 0;
}

:root.bento .sidebar-foot {
  color: var(--text-3);
  border-top: 0;
  padding: 0 10px;
  font-size: 12px;
}

:root.bento .workspace-bar {
  color: var(--text-3);
  background: none;
  border-bottom: 1px solid #ffffff0f;
  min-height: 52px;
  padding: 0 32px;
  font-size: 12.5px;
}

:root.bento .workspace-badge {
  color: var(--text-3);
  letter-spacing: .06em;
  font-size: 10.5px;
}

:root.bento .theme-toggle {
  color: var(--text);
  background: #ffffff14;
  border: 0;
  border-radius: 8px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

:root.bento .theme-toggle:hover {
  color: var(--text);
  background: #ffffff1f;
}

:root.bento .theme-toggle svg {
  color: var(--text-2);
}

:root.bento .page, :root.bento .page.wide {
  gap: 18px;
  max-width: 1240px;
  padding: 28px 32px 48px;
}

:root.bento .main {
  scrollbar-gutter: stable;
}

:root.bento .page-head {
  margin-bottom: 4px;
}

:root.bento .page-head h1 {
  letter-spacing: -.025em;
  font-size: 28px;
  font-weight: 650;
}

:root.bento .page-sub {
  color: var(--text-2);
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}

:root.bento .section-head h2 {
  letter-spacing: -.02em;
  font-size: 20px;
  font-weight: 650;
}

:root.bento .card, :root.bento .insights {
  background: var(--surface);
  border-radius: var(--bento-tile-radius);
  box-shadow: var(--elev);
  border: 0;
}

:root.bento .card.inset {
  background: var(--surface-2);
  border-radius: var(--bento-inner-radius);
  box-shadow: inset 0 0 0 1px #ffffff0d;
}

:root.bento .card h3 {
  letter-spacing: -.015em;
  font-size: 16px;
  font-weight: 650;
}

:root.bento .card-sub, :root.bento .metric-hint {
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.5;
}

:root.bento .btn {
  border-radius: var(--r-m);
  gap: 7px;
  min-height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 590;
}

:root.bento .btn-sm {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

:root.bento .btn-lg {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

:root.bento .btn-primary {
  background: var(--bento-primary);
  color: #fff;
  box-shadow: none;
}

:root.bento .btn-primary:hover:not(:disabled) {
  background: #0077ed;
}

:root.bento .btn-secondary {
  color: var(--text);
  background: #ffffff14;
  border: 0;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

:root.bento .btn-secondary:hover:not(:disabled) {
  background: #ffffff1f;
}

:root.bento .btn-tinted {
  background: var(--accent-soft);
  color: var(--bento-accent-text);
}

:root.bento .btn-plain, :root.bento .link-btn, :root.bento .filter-chip {
  color: var(--bento-accent-text);
}

:root.bento .btn-plain:hover:not(:disabled) {
  background: #0a84ff1f;
}

:root.bento .btn-danger {
  color: #fff;
  background: #d70015;
}

:root.bento .icon-btn {
  color: var(--text-2);
  background: #ffffff12;
}

:root.bento .icon-btn:hover {
  color: var(--text);
  background: #ffffff1f;
}

:root.bento .icon-btn.danger:hover {
  color: var(--red-text);
  background: #ff453a24;
}

:root.bento .icon-btn.subtle {
  background: none;
}

:root.bento .icon-btn.subtle:hover {
  background: #ffffff12;
}

:root.bento .btn-tinted:hover:not(:disabled) {
  background: #0a84ff3d;
}

:root.bento .pill {
  height: 22px;
  padding: 0 9px;
  font-size: 11.5px;
  font-weight: 600;
}

:root.bento .pill-blue {
  --ct: var(--bento-accent-text);
}

:root.bento .delta {
  padding: 2px 8px;
  font-size: 11px;
}

:root.bento .segmented, :root.bento .segmented-mini {
  background: #ffffff0f;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #ffffff0d;
}

:root.bento .segmented-thumb {
  background: var(--bento-control-on);
  box-shadow: 0 1px 2px #0006, inset 0 0 0 .5px #ffffff14;
}

:root.bento .segmented button {
  height: 26px;
  padding: 0 12px;
}

:root.bento .segmented-mini button.active {
  background: var(--bento-control-on);
  box-shadow: 0 1px 2px #0006;
}

:root.bento .legend {
  color: var(--text-2);
  font-size: 12.5px;
}

:root.bento .legend i {
  border-radius: 2px;
}

:root.bento .dashboard-page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

:root.bento .dashboard-page > * {
  grid-column: 1 / -1;
  order: 0;
  min-width: 0;
  margin: 0;
}

:root.bento .dashboard-page .connection-card, :root.bento .dashboard-page .setup-grid, :root.bento .dashboard-page .overview-usage, :root.bento .dashboard-page .dashboard-metrics {
  display: contents;
}

:root.bento .overview-usage > * {
  grid-column: 1 / -1;
  order: 20;
  min-width: 0;
  margin: 0;
}

:root.bento .dashboard-page .connection-copy {
  grid-column: span 4;
  grid-row: span 2;
  order: 1;
}

:root.bento .dashboard-page .endpoint-panel {
  grid-column: span 4;
  grid-row: span 2;
  order: 2;
}

:root.bento .dashboard-page .setup-card {
  grid-column: span 4;
  order: 3;
  margin: 0;
}

:root.bento .dashboard-page .usage-heading {
  grid-column: span 7;
  order: 10;
  align-self:  end;
  margin: 18px 0 0;
}

:root.bento .dashboard-page .usage-filters {
  grid-column: span 5;
  order: 11;
  justify-content: flex-end;
  align-self:  end;
  margin: 0;
}

:root.bento .dashboard-page .dashboard-metric {
  grid-column: span 3;
  order: 12;
  margin: 0;
}

:root.bento .dashboard-page .dashboard-chart {
  grid-column: 1 / -1;
  order: 13;
  margin: 0;
}

:root.bento .dashboard-page .setup-card.live-card {
  grid-column: 1 / -1;
  order: 14;
}

:root.bento .dashboard-page > .setup-card:not(.live-card) {
  grid-column: 1 / -1;
  order: 4;
}

:root.bento .dashboard-page .insights {
  grid-column: 1 / -1;
  order: 15;
  margin: 0;
}

:root.bento .dashboard-page .overview-usage > .banner {
  order: 12;
}

:root.bento .usage-filters .filter-note {
  color: var(--text-3);
  margin-left: 0;
}

:root.bento .connection-copy, :root.bento .endpoint-panel {
  background: var(--surface);
  border-radius: var(--bento-tile-radius);
  box-shadow: var(--elev);
  border: 0;
  padding: 24px;
}

:root.bento .connection-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

:root.bento .connection-copy > * {
  position: relative;
  z-index: 1;
}

:root.bento .connection-copy:after {
  content: "";
  position: absolute;
  -webkit-mask-image: radial-gradient(closest-side at 72% 28%, #000, #0000);
  mask-image: radial-gradient(closest-side at 72% 28%, #000, #0000);
  pointer-events: none;
  background: radial-gradient(circle, #30d15880 1.3px, #0000 1.9px) 0 0 / 12px 12px;
  width: 330px;
  height: 260px;
  top: -6px;
  right: -6px;
}

:root.bento .eyebrow {
  color: var(--text-3);
  letter-spacing: .06em;
  font-size: 11px;
}

:root.bento .connection-heading {
  margin: 0;
}

:root.bento .connection-heading h2 {
  letter-spacing: -.025em;
  font-size: 25px;
}

:root.bento .connection-heading p, :root.bento .connection-meta {
  color: var(--text-2);
}

:root.bento .connection-symbol {
  background: #48484a;
  border-radius: 15px;
  width: 52px;
  height: 52px;
}

:root.bento .connection-symbol.online {
  background: linear-gradient(150deg, #34c759, #1f9e48);
  box-shadow: 0 10px 22px -10px #30d15899, inset 0 1px #ffffff40;
}

:root.bento .connection-symbol.warn {
  background: linear-gradient(150deg, #ffb340, #c77700);
  box-shadow: 0 10px 22px -10px #ff9f0a99, inset 0 1px #ffffff40;
}

:root.bento .connection-status {
  color: var(--text);
  background: #ffffff12;
  border: 0;
}

:root.bento .connection-offline > .connection-copy {
  box-shadow: inset 0 0 0 1px #ff9f0a59, var(--elev);
}

:root.bento .connection-offline > .connection-copy:after {
  background-image: radial-gradient(circle, #ff9f0a80 1.3px, #0000 1.9px);
}

:root.bento .connection-offline > .endpoint-panel {
  box-shadow: inset 0 0 0 1px #ff9f0a40, var(--elev);
}

:root.bento .endpoint-panel {
  gap: 12px;
}

:root.bento .endpoint-label {
  color: var(--text-2);
  font-size: 12.5px;
}

:root.bento .endpoint-value {
  display: block;
  background: var(--bg);
  color: #64d2ff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

:root.bento .upstream-mode {
  background: #ffffff0f;
  border-radius: 9px;
  align-self:  flex-start;
  gap: 0;
  margin: 0;
  padding: 2px;
  box-shadow: inset 0 0 0 1px #ffffff0d;
}

:root.bento .upstream-mode .btn {
  border-radius: 7px;
  height: 26px;
  min-height: 26px;
  padding: 0 14px;
  font-size: 12.5px;
}

:root.bento .upstream-mode .btn-primary {
  background: var(--bento-control-on);
  color: var(--text);
  box-shadow: 0 1px 2px #0006, inset 0 0 0 .5px #ffffff14;
}

:root.bento .upstream-mode .btn-plain {
  color: var(--text-2);
  background: none;
}

:root.bento .setup-card {
  padding: 20px;
}

:root.bento .setup-top {
  gap: 10px;
  margin-bottom: 12px;
}

:root.bento .setup-label {
  color: var(--text-2);
  font-size: 12.5px;
}

:root.bento .setup-icon {
  color: var(--bento-accent-text);
  background: #0a84ff26;
  border-radius: 9px;
  width: 30px;
  height: 30px;
}

:root.bento .setup-grid > .setup-card:first-child .setup-icon {
  color: var(--bento-purple-text);
  background: #bf5af229;
}

:root.bento .setup-card.live-card .setup-icon {
  color: #ffd60a;
  background: #ffd60a21;
}

:root.bento .insights .setup-icon {
  color: #64d2ff;
  background: #64d2ff21;
}

:root.bento .setup-content p {
  color: var(--text-3);
  font-size: 12.5px;
}

:root.bento .setup-footer, :root.bento .setup-support {
  border-top-color: #ffffff0f;
}

:root.bento .setup-content, :root.bento .setup-support {
  flex-wrap: wrap;
}

:root.bento .setup-support {
  gap: 2px 6px;
}

:root.bento .setup-support-label {
  margin-right: 4px;
}

:root.bento .setup-card.live-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

:root.bento .live-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #ffffff2e transparent;
  counter-reset: live-green live-orange live-red live-gray;
  align-content:  start;
  gap: 6px 12px;
  max-height: 380px;
  margin-right: -6px;
  padding: 0 6px 0 0;
}

:root.bento .live-body > .live-idle {
  grid-column: 1 / -1;
}

:root.bento .live-body:has( > .live-req:nth-of-type(4)) {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 32px), #0000);
  mask-image: linear-gradient(#000 calc(100% - 32px), #0000);
  padding-bottom: 28px;
}

:root.bento .live-req {
  display: flex;
  background: var(--surface-2);
  border: 0;
  border-radius: 10px;
  align-items:  center;
  gap: 10px;
  min-width: 0;
  padding: 7px 12px;
  box-shadow: inset 0 0 0 1px #ffffff0d;
}

:root.bento .live-req-top {
  display: contents;
}

:root.bento .live-req .pill {
  flex: none;
  order: 1;
}

:root.bento .live-model {
  flex: none;
  order: 2;
  font-size: 12.5px;
}

:root.bento .live-detail {
  overflow: hidden;
  color: var(--text-3);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: auto;
  order: 3;
  min-width: 0;
  margin: 0;
  font-size: 12px;
}

:root.bento .live-age {
  flex: none;
  order: 4;
  margin-left: 0;
}

:root.bento .live-req:has(.pill-green) {
  counter-increment: live-green;
}

:root.bento .live-req:has(.pill-orange) {
  counter-increment: live-orange;
  order: -1;
}

:root.bento .live-req:has(.pill-red) {
  counter-increment: live-red;
  order: -2;
}

:root.bento .live-req:has(.pill-gray) {
  counter-increment: live-gray;
}

:root.bento .live-body:has( > .live-req):after {
  content: counter(live-green) " đang viết · " counter(live-orange) " chậm · " counter(live-red) " có vẻ kẹt · " counter(live-gray) " đang xử lý";
  position: sticky;
  z-index: 1;
  grid-column: 1 / -1;
  background: var(--surface);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  order: -10;
  padding: 0 0 6px;
  font-size: 12px;
  top: 0;
}

:root.bento[lang="en"] .live-body:has( > .live-req):after {
  content: counter(live-green) " streaming · " counter(live-orange) " slow · " counter(live-red) " may be stalled · " counter(live-gray) " processing";
}

:root.bento .live-idle {
  color: var(--text-3);
}

:root.bento .dashboard-metric {
  min-height: 0;
  padding: 18px 18px 16px;
}

:root.bento .dashboard-metric .kpi-label {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 550;
}

:root.bento .dashboard-metric .kpi-value {
  letter-spacing: -.03em;
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.15;
}

:root.bento .dashboard-metric .metric-hint {
  margin: 2px 0 0;
  font-size: 12px;
}

:root.bento .sparkline {
  opacity: 1;
  overflow: visible;
  height: 34px;
  margin-top: 10px;
}

:root.bento .sparkline path {
  stroke-dasharray: 0 6;
  stroke-width: 3.2;
  stroke-linecap: round;
}

:root.bento .dashboard-metric:first-child {
  --bento-kpi: #0a84ff;
}

:root.bento .dashboard-metric:nth-child(2) {
  --bento-kpi: #bf5af2;
}

:root.bento .dashboard-metric:nth-child(3) {
  --bento-kpi: #64d2ff;
}

:root.bento .dashboard-metric:nth-child(4) {
  --bento-kpi: #ff9f0a;
}

:root.bento .dashboard-metric:not(.kpi-bad):not(.kpi-warn) .kpi-value {
  color: var(--bento-kpi);
}

:root.bento .dashboard-metric .sparkline path {
  stroke: var(--bento-kpi);
}

:root.bento .dashboard-chart {
  padding: 22px;
}

:root.bento .chart-area {
  fill: url("#bento-dots-blue") #0a84ff2e;
  mask: url("#bento-fade");
}

:root.bento .chart-area[fill="url(#fill-errors)"] {
  fill: url("#bento-dots-red") #ff453a2e;
}

:root.bento .chart-area[fill="url(#fill-output)"] {
  fill: url("#bento-dots-purple") #bf5af22e;
}

:root.bento .chart-area[fill="url(#fill-rate)"] {
  fill: url("#bento-dots-orange") #ff9f0a2e;
}

:root.bento .chart-grid {
  stroke: #ffffff12;
}

:root.bento .chart-axis {
  stroke: #ffffff24;
}

:root.bento .chart-tick {
  fill: var(--text-3);
}

:root.bento .insights {
  padding: 0 20px;
}

:root.bento .insights > summary {
  min-height: 72px;
}

:root.bento .insights-heading > span {
  color: var(--text-3);
}

:root.bento .detail-kpi {
  background: var(--surface-2);
  border-radius: var(--bento-inner-radius);
}

:root.bento .footnote {
  color: var(--text-3);
  font-size: 12px;
}

:root.bento .filters {
  gap: 10px;
}

:root.bento .pillset {
  background: #ffffff0f;
  border-radius: 9px;
  gap: 0;
  padding: 2px;
  box-shadow: inset 0 0 0 1px #ffffff0d;
}

:root.bento .pillset .chip-btn {
  color: var(--text-2);
  box-shadow: none;
  background: none;
  border-radius: 7px;
  height: 26px;
  padding: 0 12px;
}

:root.bento .pillset .chip-btn:hover {
  background: #ffffff0d;
}

:root.bento .pillset .chip-btn.on {
  background: var(--bento-control-on);
  color: var(--text);
  box-shadow: 0 1px 2px #0006, inset 0 0 0 .5px #ffffff14;
}

:root.bento .chip-btn.on {
  color: var(--bento-accent-text);
}

:root.bento .select select, :root.bento .range-custom input, :root.bento .search {
  color: var(--text-3);
  background-color: #ffffff0f;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

:root.bento .select select {
  color: var(--text);
}

:root.bento .search input::placeholder {
  color: var(--text-3);
}

:root.bento .search:focus-within {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

:root.bento .select select:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

:root.bento .range-custom input:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-ring);
}

:root.bento .summary-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

:root.bento .summary-strip > * {
  display: flex;
  background: var(--surface);
  box-shadow: var(--elev);
  color: var(--text-2);
  border-radius: 18px;
  flex-wrap: wrap;
  align-content:  center;
  align-items: baseline;
  column-gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  font-size: 12.5px;
}

:root.bento .summary-strip b {
  color: var(--text);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 650;
}

:root.bento .summary-strip .bad, :root.bento .summary-strip .bad b {
  color: var(--red-text);
}

:root.bento .table th {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text-3);
  letter-spacing: .06em;
  font-size: 11px;
  font-weight: 600;
}

:root.bento .table td {
  border-bottom-color: #ffffff0b;
}

:root.bento .table tbody tr:hover {
  background: #ffffff08;
}

:root.bento .table th[aria-sort="ascending"], :root.bento .table th[aria-sort="descending"] {
  color: var(--text);
}

:root.bento .chip {
  color: var(--text-2);
  background: #ffffff12;
}

:root.bento .sheet-scrim {
  background: #00000080;
}

:root.bento .sheet {
  box-shadow: var(--elev-pop);
  border-radius: var(--bento-tile-radius);
  background: #1c1c1f;
}

:root.bento .sheet-sub {
  color: var(--text-2);
}

:root.bento .toast {
  border-radius: var(--bento-inner-radius);
  box-shadow: var(--elev-pop);
  background: #2c2c2ef0;
}

:root.bento .toast-detail {
  color: var(--text-2);
}

:root.bento .ann-card {
  margin-bottom: 0;
}

@media (width <= 1180px) {
  :root.bento .dashboard-page .connection-copy, :root.bento .dashboard-page .endpoint-panel {
    grid-column: span 6;
    grid-row: auto;
  }

  :root.bento .dashboard-page .setup-card {
    grid-column: span 6;
  }

  :root.bento .dashboard-page .setup-card.live-card, :root.bento .dashboard-page .dashboard-chart, :root.bento .dashboard-page .usage-heading, :root.bento .dashboard-page .usage-filters {
    grid-column: 1 / -1;
  }

  :root.bento .dashboard-page .usage-filters {
    justify-content: flex-start;
  }

  :root.bento .dashboard-page .dashboard-metric {
    grid-column: span 6;
  }

  :root.bento .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 1100px) {
  :root.bento .shell {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  :root.bento .sidebar {
    padding: 22px 10px 16px;
  }

  :root.bento .brand, :root.bento .nav-item {
    justify-content: center;
    padding: 0;
  }

  :root.bento .page, :root.bento .page.wide {
    padding: 24px;
  }

  :root.bento .workspace-bar {
    padding: 0 24px;
  }
}

@media (width <= 760px) {
  :root.bento .sidebar {
    gap: 10px;
    padding: 8px 12px;
  }

  :root.bento .sidebar nav ul {
    gap: 3px;
  }

  :root.bento .nav-item {
    gap: 3px;
    height: auto;
    min-height: 44px;
    padding: 6px 8px;
  }

  :root.bento .page, :root.bento .page.wide {
    padding: 20px 16px 40px;
  }

  :root.bento .workspace-bar {
    min-height: 44px;
    padding: 8px 16px;
  }

  :root.bento .theme-toggle {
    justify-content: center;
    width: 36px;
    min-height: 36px;
    padding: 0;
  }

  :root.bento .page-head h1 {
    font-size: 26px;
  }

  :root.bento .dashboard-page .connection-copy, :root.bento .dashboard-page .endpoint-panel, :root.bento .dashboard-page .setup-card {
    grid-column: 1 / -1;
  }

  :root.bento .connection-copy:after {
    width: 220px;
    height: 180px;
  }

  :root.bento .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root.bento .live-body {
    grid-template-columns: minmax(0, 1fr);
  }

  :root.bento .live-req {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  :root.bento .live-detail {
    white-space: normal;
    flex-basis: 100%;
    order: 5;
  }

  :root.bento .live-age {
    margin-left: auto;
  }
}
