:root {
  --bg: #f5f7f9;
  --surface: #fff;
  --ink: #132d45;
  --muted: #657586;
  --line: #dce3e9;
  --teal: #0b759b;
  --teal-soft: #e7f2f6;
  --nav: #fff;
  --nav-muted: #8796a4;
  --shadow: none;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-size: 13px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #63b1cd;
  outline-offset: 3px;
}
svg.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  z-index: 20;
  background: var(--nav);
  color: #e6eef3;
  display: flex;
  flex-direction: column;
  padding: 29px 17px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  font-size: 20px;
  font-weight: 730;
  letter-spacing: 1.8px;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 31px;
  height: 33px;
  color: #3bb2dd;
}
.brand-symbol svg {
  width: 31px;
  height: 33px;
}
.brand-caption {
  font-size: 9px;
  letter-spacing: 3.9px;
  color: #79909e;
  padding: 7px 0 0 55px;
}
.workspace-switch {
  margin: 31px 3px 24px;
  padding: 11px 12px;
  border: 1px solid #293542;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  background: #1c2732;
}
.workspace-mark {
  width: 25px;
  height: 25px;
  background: #253f48;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #6fbfdc;
}
.workspace-switch .icon {
  margin-left: auto;
  width: 12px;
  color: #84939f;
}
.nav-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: #5f7284;
  padding: 0 14px;
  margin: 9px 0 10px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  color: #93a3b3;
  font-size: 12px;
  border-radius: 7px;
  transition:
    background 0.18s,
    color 0.18s;
  position: relative;
}
.nav-item:hover {
  color: #f0f6f8;
  background: #1c2b36;
}
.nav-item.active {
  background: #19323b;
  color: #72c5e3;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  left: -17px;
  top: 13px;
  bottom: 13px;
  width: 3px;
  background: #43aed5;
  border-radius: 0 3px 3px 0;
}
.nav-item .count {
  margin-left: auto;
  font-size: 10px;
  background: #25424c;
  border-radius: 4px;
  padding: 2px 5px;
}
.nav-divider {
  height: 1px;
  background: #25313d;
  margin: 22px 12px 19px;
}
.sidebar-bottom {
  margin-top: auto;
}
.local-note {
  margin: 27px 7px 20px;
  padding: 15px 13px;
  border: 1px solid #2a3945;
  border-radius: 8px;
  background: linear-gradient(130deg, #1c2c35, #17232c);
  font-size: 11px;
  line-height: 1.8;
  color: #8a9baa;
}
.local-note b {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b7cad1;
  font-weight: 550;
  margin-bottom: 5px;
}
.local-note b .icon {
  width: 14px;
  height: 14px;
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 0;
  border-top: 1px solid #283541;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 650;
  background: #354853;
  color: #d9e8ed;
}
.user strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.user small {
  display: block;
  color: #6e8596;
  font-size: 10px;
  margin-top: 4px;
}
.user > .icon {
  margin-left: auto;
  width: 15px;
  color: #718494;
}
.main-shell {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 75px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  position: sticky;
  top: 0;
  z-index: 15;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8b97a2;
  font-size: 12px;
}
.breadcrumbs .icon {
  height: 14px;
  width: 14px;
}
.breadcrumbs span:last-child {
  color: #34495a;
  font-weight: 550;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.local-badge {
  font-size: 10px;
  color: #6d7b89;
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #e4e9ed;
  padding: 6px 10px;
  border-radius: 5px;
}
.dot {
  height: 6px;
  width: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.top-doc {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #627587;
}
.top-doc .icon {
  width: 15px;
  height: 15px;
}
.top-avatar {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: #e9f0f3;
  color: #346f84;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
}
.content {
  max-width: 1640px;
  margin: 0 auto;
  padding: 31px 35px 38px;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.page-heading h1 {
  font-size: 26px;
  font-weight: 660;
  letter-spacing: -0.6px;
  margin: 0 0 9px;
}
.page-heading p {
  color: #8794a1;
  font-size: 12px;
  margin: 0;
  line-height: 1.8;
}
.heading-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-top: 15px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 6px;
  background: white;
  border: 1px solid #e0e6eb;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  min-height: 35px;
  transition:
    background 0.15s,
    transform 0.1s;
}
.btn .icon {
  width: 14px;
  height: 14px;
}
.btn:hover {
  background: #f8fafb;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 3px 6px #0b759b13;
}
.btn.primary:hover {
  background: #07678a;
}
.btn.danger {
  background: #fff5f4;
  color: #d45a52;
  border-color: #f2d4d0;
}
.btn.small {
  padding: 6px 10px;
  min-height: 29px;
  font-size: 10px;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: #70808d;
}
.icon-btn {
  padding: 7px;
  border-radius: 5px;
  color: #8a99a6;
}
.icon-btn:hover {
  color: var(--teal);
  background: #eef5f7;
}
.icon-btn .icon {
  height: 15px;
  width: 15px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 21px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 9px;
  padding: 19px 20px;
  overflow: hidden;
}
.stat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #788795;
  font-size: 11px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #eef4f6;
  color: #267b9a;
}
.stat-icon .icon {
  width: 15px;
  height: 15px;
}
.stat-card:nth-child(2) .stat-icon {
  color: #6387c9;
  background: #eff3fb;
}
.stat-card:nth-child(3) .stat-icon {
  color: #9b7ac5;
  background: #f5f0fa;
}
.stat-card:nth-child(4) .stat-icon {
  color: #c89550;
  background: #fcf6eb;
}
.stat-value {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 9px 0 12px;
  line-height: 1.2;
}
.stat-value small {
  font-size: 12px;
  color: #9ba6ae;
  font-weight: 400;
  margin-left: 5px;
  letter-spacing: 0;
}
.stat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ca8b1;
  font-size: 10px;
}
.stat-footer strong {
  font-weight: 500;
  color: #3b89a5;
}
.stat-footer .icon {
  display: inline-block;
  vertical-align: middle;
  width: 11px;
  height: 11px;
  margin-right: 3px;
}
.stat-mini {
  width: 72px;
  height: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 21px;
  margin-bottom: 21px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 9px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 23px 16px;
}
.panel-title {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1px;
}
.panel-sub {
  color: #9aa6b0;
  font-size: 10px;
  margin-top: 5px;
}
.panel-head .text-link {
  font-size: 10px;
  color: #7c8b97;
  display: flex;
  gap: 4px;
  align-items: center;
}
.text-link:hover {
  color: var(--teal);
}
.text-link .icon {
  width: 12px;
  height: 12px;
}
.segmented {
  display: inline-flex;
  border: 1px solid #e7ecef;
  background: #fafbfc;
  padding: 3px;
  border-radius: 5px;
  gap: 1px;
}
.segmented button {
  font-size: 10px;
  color: #8c99a5;
  padding: 5px 10px;
  border-radius: 3px;
}
.segmented button.active {
  background: white;
  color: #2b6377;
  box-shadow: 0 1px 4px #16304c0c;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  color: #8b99a5;
  font-size: 10px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-line {
  width: 11px;
  height: 3px;
  border-radius: 2px;
  background: #2d87a8;
}
.legend-line.secondary {
  background: #b9d1da;
}
.chart-wrap {
  padding: 15px 18px 7px;
  position: relative;
}
.chart {
  width: 100%;
  height: 226px;
  display: block;
  overflow: visible;
}
.chart text {
  font-size: 10px;
  fill: #a0acb5;
  font-family: inherit;
}
.chart line {
  stroke: #eef1f3;
  stroke-dasharray: 3 4;
}
.chart-point {
  cursor: crosshair;
}
.chart-point:hover {
  fill: #0c759b;
  stroke: white;
  stroke-width: 3;
}
.chart-caption {
  padding: 0 23px 18px;
  color: #a0abb4;
  font-size: 9px;
  display: flex;
  justify-content: space-between;
}
.model-list {
  padding: 3px 23px 20px;
}
.model-item {
  padding: 13px 0 7px;
}
.model-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}
.model-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5d6e7c;
  font-weight: 500;
}
.model-mark {
  font-size: 9px;
  border-radius: 5px;
  background: #f4f1eb;
  color: #aa8659;
  height: 23px;
  width: 23px;
  display: grid;
  place-items: center;
  font-weight: 650;
}
.model-item:nth-child(2) .model-mark {
  background: #eaf2f5;
  color: #41798e;
}
.model-item:nth-child(3) .model-mark {
  background: #eef1fb;
  color: #718ace;
}
.model-item:nth-child(4) .model-mark {
  background: #f1eef7;
  color: #8f77b5;
}
.model-count {
  font-variant-numeric: tabular-nums;
  color: #687b89;
}
.progress {
  height: 5px;
  border-radius: 10px;
  background: #f0f4f4;
  overflow: hidden;
  margin: 9px 0 0 31px;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: var(--teal);
}
.model-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin: 10px 23px 0;
  padding: 14px 0 17px;
  font-size: 10px;
  color: #8e9ca7;
}
.model-total strong {
  font-size: 13px;
  color: #536a77;
  font-weight: 600;
}
.provider-strip {
  margin-bottom: 21px;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 21px;
}
.provider-tile {
  border: 1px solid #e9edf0;
  border-radius: 7px;
  padding: 14px 14px 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.provider-tile:hover {
  border-color: #a7c9d6;
  background: #fcfdfe;
}
.provider-tile-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.provider-logo {
  height: 29px;
  width: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #f2f5f5;
  color: #5d7781;
  font-weight: 650;
  font-size: 12px;
}
.provider-logo.blue {
  background: #f0f3fb;
  color: #6581b7;
}
.provider-logo.sand {
  background: #faf3eb;
  color: #ae8862;
}
.provider-tile strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
  max-width: 140px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.provider-tile small {
  font-size: 9px;
  color: #9aa6ae;
  display: block;
  margin-top: 4px;
}
.provider-tile-head .status-dot {
  margin-left: auto;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4199b9;
  box-shadow: 0 0 0 3px #eaf4f8;
  flex: none;
}
.status-dot.degraded {
  background: #d8a65e;
  box-shadow: 0 0 0 3px #fdf5e8;
}
.status-dot.offline {
  background: #aeb9c2;
  box-shadow: 0 0 0 3px #f1f3f5;
}
.provider-tile-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: #9aa6ae;
  font-size: 9px;
}
.provider-tile-stats b {
  font-weight: 500;
  font-size: 10px;
  color: #6e8792;
}
.provider-tile-stats .tiny-bars {
  height: 13px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.tiny-bars i {
  width: 3px;
  background: #a6cbd8;
  border-radius: 1px;
}
.tiny-bars i:nth-child(3n) {
  background: #63a5bd;
}
.tiny-bars.gray i {
  background: #dce2e7;
}
.table-scroll {
  overflow-x: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  font-size: 10px;
  color: #8d9aa5;
  font-weight: 500;
  background: #fafbfc;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  font-size: 11px;
  color: #6e8190;
  padding: 15px 22px;
  border-bottom: 1px solid #f0f3f5;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fcfefe;
}
.data-table .main-text {
  color: #385266;
  font-weight: 500;
}
.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px !important;
  letter-spacing: -0.2px;
}
.badge {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 9px;
  background: #edf5f8;
  color: #4388a1;
  line-height: 1;
}
.badge.warn {
  background: #fcf5e9;
  color: #bd9659;
}
.badge.error {
  background: #fff0ee;
  color: #c76e64;
}
.badge.neutral {
  background: #f1f4f7;
  color: #8b9aa8;
}
.badge.blue {
  background: #edf3fc;
  color: #6489c3;
}
.badge.purple {
  background: #f3effa;
  color: #9578bf;
}
.badge .dot {
  width: 4px;
  height: 4px;
  background: currentColor;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.row-actions .text-link {
  font-size: 10px;
  color: #0c759b;
}
.table-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #9ba6af;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pagination button {
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 25px;
  min-width: 25px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.pagination button.active {
  background: #eef5f7;
  border-color: #d4e4ea;
  color: #286b84;
}
.pagination .icon {
  height: 12px;
  width: 12px;
}
.footer-note {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a2acb5;
}
.footer-note span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.footer-note .icon {
  width: 11px;
  height: 11px;
}
.toolbar {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e9ed;
  border-radius: 6px;
  background: white;
  padding: 9px 11px;
  min-width: 225px;
}
.input-wrap .icon {
  height: 15px;
  width: 15px;
  color: #a0acb4;
}
.input-wrap input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 11px;
  background: none;
  color: #4a6070;
}
.input-wrap input::placeholder {
  color: #aab3ba;
}
select.filter {
  font-size: 11px;
  border: 1px solid #e3e9ed;
  border-radius: 6px;
  background: #fff;
  padding: 9px 29px 9px 10px;
  color: #718492;
  outline: none;
  max-width: 220px;
}
.toolbar-spacer {
  flex: 1;
}
.toolbar-summary {
  font-size: 10px;
  color: #99a6b0;
}
.empty {
  padding: 60px 20px;
  text-align: center;
  color: #a2aeb6;
  font-size: 12px;
}
.empty .icon {
  margin: 0 auto 14px;
  width: 29px;
  height: 29px;
  color: #b4c1c6;
}
.empty h3 {
  font-size: 13px;
  color: #6b828e;
  font-weight: 550;
  margin: 0 0 8px;
}
.empty p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.callout {
  border-radius: 7px;
  border: 1px solid #dce7eb;
  background: #f1f7f9;
  padding: 13px 16px;
  color: #607a84;
  line-height: 1.8;
  font-size: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.callout .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.callout.warn {
  background: #fffaf0;
  border-color: #f1e6d1;
  color: #a48d68;
}
.callout p {
  margin: 0;
}
.callout b {
  font-weight: 600;
}
.summary-strip {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 18px 23px;
  margin-bottom: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.summary-strip .summary-item {
  border-right: 1px solid var(--line);
  padding-right: 27px;
  min-width: 150px;
}
.summary-strip .summary-item:last-child {
  border: 0;
}
.summary-item small {
  display: block;
  font-size: 10px;
  color: #91a0aa;
  margin-bottom: 7px;
}
.summary-item strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.tag-list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.tag {
  font-size: 9px;
  color: #8293a1;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f3f5f7;
}
.sub-text {
  display: block;
  font-size: 9px;
  color: #a1aeb7;
  margin-top: 5px;
}
.switch {
  display: inline-flex;
  align-items: center;
  width: 29px;
  height: 16px;
  border-radius: 10px;
  background: #dbe2e7;
  padding: 2px;
  transition: background 0.2s;
  vertical-align: middle;
}
.switch.on {
  background: #2383a6;
}
.switch:before {
  content: "";
  height: 12px;
  width: 12px;
  display: block;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0001;
  transition: transform 0.2s;
}
.switch.on:before {
  transform: translateX(13px);
}
.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-bottom: 21px;
}
.balance-card {
  background: linear-gradient(110deg, #16323c, #244b59);
  color: #fff;
  overflow: hidden;
  padding: 28px;
  border: 0;
  position: relative;
}
.balance-card:after {
  content: "";
  width: 160px;
  height: 160px;
  border: 30px solid #ffffff06;
  border-radius: 50%;
  position: absolute;
  right: -30px;
  top: -70px;
}
.balance-card .balance-label {
  color: #b7cad1;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.balance-card .balance-value {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 16px 0 21px;
}
.balance-card .balance-foot {
  font-size: 10px;
  color: #9eb7c0;
  display: flex;
  justify-content: space-between;
}
.redeem-body {
  padding: 0 23px 23px;
}
.redeem-body p {
  font-size: 11px;
  color: #9ba5ae;
  line-height: 1.8;
  margin: 0 0 17px;
}
.redeem-form {
  display: flex;
  gap: 9px;
}
.field-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e7eb;
  border-radius: 6px;
  color: #496171;
  font-size: 12px;
  outline: none;
  min-width: 0;
  background: #fff;
  transition: border-color 0.2s;
}
.field-control:focus {
  border-color: #76b1c7;
  box-shadow: 0 0 0 3px #0b759b0a;
}
.field-control::placeholder {
  color: #a9b3bb;
}
textarea.field-control {
  line-height: 1.7;
  resize: vertical;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 21px;
}
.form-body {
  padding: 3px 23px 24px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #59717f;
  margin-bottom: 8px;
}
.field label em {
  font-style: normal;
  color: #c4766c;
}
.field .help {
  font-size: 10px;
  color: #9ba9b2;
  line-height: 1.6;
  margin-top: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.settings-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #8294a1;
}
.settings-entry strong {
  font-weight: 500;
  color: #546970;
  word-break: break-all;
  text-align: right;
  line-height: 1.7;
}
.settings-entry:last-child {
  border: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 19px 23px;
  border-top: 1px solid var(--line);
}
.playground {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 21px;
  min-height: 570px;
}
.playground-config .form-body {
  padding-top: 10px;
}
.playground-chat {
  display: flex;
  flex-direction: column;
}
.chat-output {
  padding: 24px;
  min-height: 325px;
  flex: 1;
  overflow: auto;
  max-height: 550px;
}
.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 285px;
  text-align: center;
  color: #9aa9b3;
}
.chat-empty .orb {
  height: 56px;
  width: 56px;
  border: 1px solid #cce0e7;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #2e7d9a;
  background: #f0f7fa;
  margin-bottom: 17px;
}
.chat-empty .orb .icon {
  height: 26px;
  width: 26px;
}
.chat-empty h3 {
  color: #516f7e;
  font-size: 15px;
  font-weight: 550;
  margin: 0 0 9px;
}
.chat-empty p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}
.chat-message {
  margin: 0 0 22px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.chat-message .chat-avatar {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #edf3f5;
  color: #3a7d96;
  flex: none;
  font-size: 11px;
}
.chat-message.user-message .chat-avatar {
  background: #eef1f6;
  color: #6b82a0;
}
.chat-message .message-text {
  font-size: 12px;
  line-height: 1.9;
  color: #6d818c;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message .message-name {
  font-size: 10px;
  font-weight: 600;
  color: #3e6170;
  margin-bottom: 5px;
}
.chat-compose {
  padding: 18px 22px 21px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.chat-compose textarea {
  min-height: 70px;
}
.chat-meta {
  font-size: 10px;
  padding: 12px 23px 0;
  color: #8b9ba1;
  min-height: 20px;
}
.initial-loading {
  display: grid;
  place-items: center;
  height: 100vh;
  color: #6b858e;
  font-size: 13px;
}
.loading {
  padding: 85px 25px;
  text-align: center;
  color: #91a1a7;
  font-size: 12px;
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #deeaee;
  border-top-color: #2383a6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 9px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  padding: 0;
  border: 1px solid #e3e9eb;
  border-radius: 12px;
  max-width: 560px;
  width: calc(100% - 40px);
  box-shadow: 0 22px 100px #10283a30;
  color: var(--ink);
  max-height: 88vh;
  overflow: auto;
}
dialog::backdrop {
  background: #10223464;
  backdrop-filter: blur(3px);
}
dialog.wide {
  max-width: 820px;
}
.modal-head {
  padding: 23px 25px 19px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
  font-weight: 650;
}
.modal-head p {
  font-size: 11px;
  margin: 0;
  color: #9aa8b1;
  line-height: 1.6;
}
.modal-body {
  padding: 23px 25px 7px;
}
.modal-body .callout {
  margin-top: 0;
}
.modal-footer {
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  background: #fcfdfd;
}
.secret-box {
  padding: 15px 13px;
  background: #f0f5f7;
  border: 1px solid #cde1e8;
  border-radius: 6px;
  font-family: monospace;
  font-size: 11px;
  color: #366d81;
  overflow-wrap: anywhere;
  margin: 18px 0;
  line-height: 1.9;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.detail-item small {
  color: #9aaab4;
  display: block;
  font-size: 10px;
  margin-bottom: 8px;
}
.detail-item strong {
  font-size: 11px;
  color: #537180;
  font-weight: 500;
}
.code-label {
  color: #7c919e;
  font-size: 10px;
  margin: 18px 0 9px;
}
.code-block {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.8;
  background: #15222e;
  color: #b7c8ce;
  border-radius: 7px;
  padding: 17px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 18px;
  max-height: 330px;
}
.docs-base {
  font-size: 12px;
  color: #45606a;
}
.docs-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #57787f;
  margin: 22px 0 10px;
}
.docs-section p {
  font-size: 11px;
  color: #8e9ea9;
  line-height: 1.8;
}
.modal-error {
  font-size: 11px;
  color: #c46e64;
  padding-bottom: 16px;
  line-height: 1.8;
}
.mobile-toggle {
  display: none;
}
#toasts {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 370px;
}
.toast {
  background: #182f38;
  color: #d6e8ee;
  padding: 13px 18px;
  font-size: 11px;
  border-radius: 7px;
  box-shadow: 0 8px 25px #102c3420;
  animation: toast-in 0.2s ease;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.7;
}
.toast .icon {
  width: 15px;
  height: 15px;
}
.toast.error {
  background: #9f514b;
  color: #fff2ed;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.check-cell {
  padding-right: 0 !important;
  width: 35px;
}
.check-cell input {
  accent-color: var(--teal);
}
.total-row {
  color: #8c9ba1;
  font-size: 10px;
  padding: 0 23px 19px;
}
.route-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d93a1;
  font-size: 10px;
}
.route-status .dot {
  width: 5px;
  height: 5px;
}
.status-label {
  font-size: 10px;
  color: #6b8a95;
}
.spin-icon {
  animation: spin 0.9s linear infinite;
}
.model-filter-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}
.model-filter-tabs button {
  font-size: 11px;
  color: #8c9ba5;
  padding: 17px 0;
  position: relative;
}
.model-filter-tabs button.active {
  color: #15779b;
  font-weight: 600;
}
.model-filter-tabs button.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #197da1;
}
.rebuild-note {
  line-height: 1.9;
  color: #8598a4;
  font-size: 11px;
}
.rebuild-note ul {
  padding-left: 17px;
}
.danger-text {
  color: #c76f62 !important;
}
.token-line {
  display: flex;
  gap: 7px;
  align-items: center;
}
.model-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.model-name .model-mark {
  flex: none;
}
.scroll-indicator {
  display: none;
}
@media (min-width: 1600px) {
  .content {
    padding: 38px 45px;
  }
  .topbar {
    padding: 0 45px;
  }
  .kpis {
    gap: 22px;
  }
  .stat-card {
    padding: 23px 25px;
  }
  .stat-value {
    font-size: 33px;
  }
  .chart {
    height: 250px;
  }
  .provider-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .provider-tile {
    padding: 17px;
  }
  .data-table td {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    width: 200px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
    padding: 0 8px;
  }
  .brand-caption {
    padding-left: 48px;
    font-size: 8px;
    letter-spacing: 3px;
  }
  .topbar {
    padding: 0 24px;
  }
  .content {
    padding: 27px 24px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .two-col {
    grid-template-columns: minmax(0, 1.7fr) minmax(255px, 1fr);
    gap: 17px;
  }
  .panel-head {
    padding-left: 19px;
    padding-right: 19px;
  }
  .provider-grid {
    padding-left: 18px;
    padding-right: 18px;
    gap: 9px;
  }
  .provider-tile {
    padding: 11px;
  }
  .provider-tile strong {
    max-width: 100px;
    font-size: 10px;
  }
  .data-table th,
  .data-table td {
    padding-left: 17px;
    padding-right: 17px;
  }
  .model-list {
    padding-left: 19px;
    padding-right: 19px;
  }
  .model-total {
    margin-left: 19px;
    margin-right: 19px;
  }
  .playground {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .settings-grid {
    gap: 17px;
  }
}
@media (max-width: 1000px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .model-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }
  .model-total {
    margin-top: 0;
  }
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart {
    height: 240px;
  }
  .top-actions {
    gap: 12px;
  }
  .top-doc span {
    display: none;
  }
  .billing-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .heading-actions {
    padding-top: 6px;
  }
  .playground {
    grid-template-columns: 1fr;
  }
  .playground-config .form-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .playground-config .callout {
    grid-column: 1/-1;
  }
  .playground-config .field {
    margin-bottom: 8px;
  }
  .summary-strip {
    gap: 15px;
  }
  .summary-strip .summary-item {
    min-width: 0;
    padding-right: 20px;
  }
  .summary-item strong {
    font-size: 18px;
  }
}
@media (max-width: 720px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 224px;
    z-index: 40;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 15px 0 80px #132c3645;
  }
  .main-shell {
    display: block;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .mobile-toggle {
    display: block;
    margin-right: 9px;
    color: #708897;
    padding: 0;
  }
  .breadcrumbs {
    gap: 8px;
    font-size: 11px;
  }
  .breadcrumbs .crumb-home {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .local-badge {
    font-size: 8px;
    padding: 5px 7px;
    gap: 4px;
  }
  .top-avatar {
    display: none;
  }
  .content {
    padding: 25px 16px;
  }
  .page-heading {
    margin-bottom: 21px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions {
    padding-top: 2px;
  }
  .btn {
    padding: 9px 11px;
    font-size: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .kpis {
    gap: 10px;
    margin-bottom: 15px;
  }
  .stat-card {
    padding: 15px 13px;
  }
  .stat-title {
    font-size: 10px;
  }
  .stat-icon {
    height: 25px;
    width: 25px;
  }
  .stat-value {
    font-size: 25px;
    margin: 10px 0 12px;
  }
  .stat-value small {
    font-size: 10px;
    margin-left: 3px;
  }
  .stat-footer {
    font-size: 8px;
  }
  .stat-mini {
    width: 54px;
  }
  .two-col {
    gap: 15px;
    margin-bottom: 15px;
  }
  .panel-head {
    padding: 17px 16px 14px;
  }
  .panel-title {
    font-size: 12px;
  }
  .panel-sub {
    font-size: 9px;
  }
  .chart-wrap {
    padding-left: 4px;
    padding-right: 9px;
  }
  .chart-legend {
    padding-left: 17px;
  }
  .chart {
    height: 200px;
  }
  .chart-caption {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 8px;
  }
  .segmented button {
    padding: 4px 7px;
    font-size: 9px;
  }
  .model-list {
    padding-left: 16px;
    padding-right: 16px;
    gap: 0 19px;
  }
  .model-label {
    font-size: 9px;
    gap: 5px;
  }
  .model-count {
    font-size: 9px;
  }
  .model-mark {
    height: 20px;
    width: 20px;
    font-size: 8px;
  }
  .progress {
    margin-left: 25px;
  }
  .model-total {
    margin-left: 16px;
    margin-right: 16px;
  }
  .provider-grid {
    padding: 0 14px 15px;
    gap: 8px;
  }
  .provider-tile {
    padding: 10px;
  }
  .provider-tile-head {
    gap: 7px;
  }
  .provider-logo {
    height: 25px;
    width: 25px;
    font-size: 10px;
  }
  .provider-tile strong {
    max-width: 94px;
    font-size: 10px;
  }
  .provider-tile small {
    font-size: 8px;
  }
  .provider-tile-stats {
    font-size: 8px;
    margin-top: 12px;
  }
  .provider-tile-stats b {
    font-size: 9px;
  }
  .provider-tile-stats .tiny-bars {
    display: none;
  }
  .data-table th,
  .data-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .table-footer {
    padding: 13px 15px;
    font-size: 9px;
  }
  .toolbar {
    padding: 14px 15px;
    gap: 8px;
  }
  .input-wrap {
    min-width: 0;
    flex: 1;
  }
  .toolbar .input-wrap {
    min-width: 100%;
  }
  .toolbar-spacer {
    display: none;
  }
  .toolbar-summary {
    margin-left: auto;
    font-size: 9px;
  }
  select.filter {
    font-size: 10px;
    padding: 8px 20px 8px 9px;
    max-width: 145px;
  }
  .footer-note {
    font-size: 8px;
    margin-top: 21px;
  }
  .footer-note > span:last-child {
    display: none;
  }
  .summary-strip {
    padding: 17px 15px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .summary-strip .summary-item {
    flex: 1;
    min-width: 90px;
    padding-right: 13px;
  }
  .summary-item small {
    font-size: 9px;
  }
  .summary-item strong {
    font-size: 19px;
  }
  .callout {
    font-size: 10px;
    padding: 12px;
    gap: 8px;
  }
  .balance-card {
    padding: 25px;
  }
  .billing-grid {
    gap: 15px;
  }
  .redeem-form {
    flex-wrap: wrap;
  }
  .redeem-form .field-control {
    flex: 1;
    min-width: 180px;
  }
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    gap: 11px;
  }
  .modal-body {
    padding: 20px 19px 6px;
  }
  .modal-head {
    padding: 21px 19px 17px;
  }
  .modal-footer {
    padding: 16px 19px;
  }
  .playground {
    gap: 15px;
  }
  .playground-config .form-body {
    padding: 0 16px 16px;
    gap: 0 12px;
  }
  .chat-output {
    padding: 19px;
  }
  .chat-compose {
    padding: 15px;
  }
  .chat-compose .btn {
    padding: 10px;
  }
  .chat-empty h3 {
    font-size: 14px;
  }
  .chat-empty p {
    font-size: 10px;
  }
  .form-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .settings-entry {
    font-size: 10px;
  }
  .model-filter-tabs {
    gap: 20px;
  }
  .model-filter-tabs button {
    font-size: 10px;
  }
  .scroll-indicator {
    display: block;
    color: #a9b4bc;
    font-size: 9px;
    padding: 8px 15px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Keep operational values comfortably readable on desktop. */
.data-table td {
  font-size: 12px;
}
.data-table th {
  font-size: 11px;
}
.panel-sub {
  font-size: 11px;
}
.panel-title {
  font-size: 14px;
}
.provider-tile strong {
  font-size: 12px;
}
.provider-tile small {
  font-size: 10px;
}
.model-info {
  font-size: 11px;
}
.stat-title {
  font-size: 12px;
}
.stat-footer {
  font-size: 10px;
}
.sub-text {
  font-size: 10px;
}
.provider-tile-stats {
  font-size: 10px;
}
.model-label {
  font-size: 11px;
}
.footer-note {
  font-size: 10px;
}
.chart-caption {
  font-size: 10px;
}
.badge {
  font-size: 10px;
}
.nav-item {
  font-size: 13px;
}
.btn {
  font-size: 12px;
}
.page-heading p {
  font-size: 13px;
}
.rebuild-note {
  font-size: 12px;
}
.field label {
  font-size: 12px;
}
.callout {
  font-size: 12px;
}
.tiny-bars {
  display: none !important;
}
@media (max-width: 720px) {
  .data-table td {
    font-size: 11px;
  }
  .data-table th {
    font-size: 10px;
  }
  .panel-sub {
    font-size: 10px;
  }
  .panel-title {
    font-size: 13px;
  }
  .provider-tile strong {
    font-size: 10px;
  }
  .provider-tile small {
    font-size: 9px;
  }
  .provider-tile-stats {
    font-size: 9px;
  }
  .model-label {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .callout {
    font-size: 11px;
  }
  .btn {
    font-size: 11px;
  }
  .chart-caption {
    font-size: 9px;
  }
}
.mono {
  font-size: 11px !important;
}
.stat-value .badge {
  font-size: 10px;
}
.provider-tile-stats {
  gap: 8px;
}
.provider-tile-stats b {
  font-size: 11px;
}
@media (max-width: 720px) {
  .mono {
    font-size: 10px !important;
  }
  .provider-tile-stats b {
    font-size: 10px;
  }
}

/* Account lifecycle and OAuth connections */
.account-summary {
  margin-bottom: 21px;
}
.oauth-profile-panel {
  margin-bottom: 21px;
}
.oauth-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 11px;
  padding: 0 22px 22px;
}
.oauth-profiles .empty {
  grid-column: 1/-1;
  padding: 28px 12px;
}
.oauth-profile-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  min-width: 0;
  background: #fff;
}
.oauth-profile-card:hover {
  background: #fbfdfe;
  border-color: #b1cfda;
}
.profile-icon {
  color: #247b9b;
  background: #ecf4f7;
  border-radius: 7px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
}
.profile-card-info {
  min-width: 0;
  flex: 1;
}
.profile-card-info b {
  display: block;
  font-size: 12px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-card-info small {
  display: block;
  color: #8c9ca6;
  font-size: 10px;
  margin-top: 5px;
}
.oauth-profile-card > .icon {
  width: 13px;
  height: 13px;
  color: #9caab2;
}
.account-checkboxes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 32px;
  color: #68818d;
  font-size: 11px;
}
.account-checkboxes input,
.account-table input {
  accent-color: var(--teal);
}
.account-table .row-actions {
  gap: 9px;
}
.account-table .tag {
  display: inline-flex;
  margin: 2px 0;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-table .sub-text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-import-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 9px 0 23px;
}
.account-import-summary span {
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #8e9fa8;
  font-size: 11px;
}
.account-import-summary b {
  color: #23708c;
  font-size: 24px;
  font-weight: 600;
  display: block;
  margin-bottom: 7px;
}
.account-import-errors {
  padding: 5px 14px 14px;
  margin-bottom: 15px;
  border: 1px solid #efdbd1;
  border-radius: 7px;
  background: #fffaf6;
  color: #a2745c;
  font-size: 11px;
  line-height: 1.8;
}
.oauth-flow-steps {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
}
.oauth-flow-steps span {
  flex: 1;
  padding: 10px 8px;
  font-size: 11px;
  color: #9aa9b2;
  background: #f5f7f8;
  text-align: center;
  border-radius: 6px;
}
.oauth-flow-steps span.done {
  color: #6893a2;
  background: #f0f6f8;
}
.oauth-flow-steps span.active {
  color: #166c8b;
  background: #e4f0f5;
  font-weight: 550;
}
.oauth-authorize-link {
  margin: 2px 0 17px;
}
.oauth-manual {
  border-top: 1px solid var(--line);
  margin: 22px 0 17px;
  padding-top: 17px;
}
.oauth-manual summary {
  font-size: 11px;
  color: #6d8791;
  cursor: pointer;
}
.oauth-manual form {
  margin-top: 18px;
}
.oauth-manual .field {
  margin-bottom: 13px;
}
.account-profile-help {
  color: #8298a1;
  font-size: 11px;
  line-height: 1.8;
}
@media (max-width: 1000px) {
  .oauth-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oauth-profile-card {
    flex-wrap: wrap;
  }
  .oauth-profile-card > .badge {
    margin-left: 41px;
  }
  .account-summary .summary-item {
    min-width: 100px;
  }
}
@media (max-width: 720px) {
  .oauth-profiles {
    grid-template-columns: 1fr;
    padding: 0 16px 17px;
  }
  .oauth-profile-card {
    flex-wrap: nowrap;
  }
  .oauth-profile-card > .badge {
    margin-left: 0;
  }
  .account-summary {
    gap: 17px;
  }
  .account-import-summary {
    gap: 7px;
  }
  .account-import-summary span {
    padding: 10px 8px;
    font-size: 10px;
  }
  .account-import-summary b {
    font-size: 21px;
  }
  .oauth-flow-steps {
    gap: 5px;
  }
  .oauth-flow-steps span {
    font-size: 10px;
    padding: 10px 4px;
  }
  .account-table .row-actions {
    gap: 7px;
  }
  .account-table .sub-text {
    max-width: 170px;
  }
}
.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #2d424b transparent;
}
/* Managed account instances */
.deployment-summary .summary-item {
  min-width: 150px;
}
.deployment-table .sub-text {
  max-width: 230px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.deployment-table .row-actions {
  gap: 10px;
}
.deployment-row-link {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}
.deployment-detail-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7b929b;
  font-size: 11px;
  margin-bottom: 24px;
}
.deployment-events {
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}
.deployment-events li {
  display: grid;
  grid-template-columns: 10px 78px minmax(0, 1fr);
  gap: 11px;
  position: relative;
  padding: 12px 0;
  color: #718996;
  font-size: 11px;
  line-height: 1.8;
  border-bottom: 1px solid #eef2f3;
}
.deployment-events li:last-child {
  border-bottom: 0;
}
.deployment-events time {
  font-family: monospace;
  font-size: 10px;
  color: #9aa9b1;
  padding-top: 1px;
}
.deployment-events .event-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75abbf;
  margin-top: 7px;
}
.deployment-events li.error .event-dot {
  background: #d2897b;
}
.deployment-events li b {
  font-weight: 550;
  display: block;
  color: #566d76;
  font-size: 10px;
  margin-bottom: 3px;
}
.deployment-events li.error b {
  color: #ba7a67;
}
.deployment-target-list {
  display: grid;
  gap: 11px;
  margin-bottom: 20px;
}
.deployment-target-card {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4eaec;
  border-radius: 7px;
}
.deployment-target-card:hover {
  background: #fbfdfe;
  border-color: #b3cdd6;
}
.deployment-target-card b {
  display: block;
  color: #4d6d70;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 6px;
}
.deployment-target-card small {
  display: block;
  color: #93a4ad;
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.deployment-target-card > .badge {
  margin-left: auto;
  flex: none;
}
.deployment-target-card > .icon {
  width: 14px;
  color: #96a9a5;
  flex: none;
}
.auto-deploy-section {
  margin: 23px 0 18px;
  padding: 17px 16px 14px;
  border: 1px solid #dce7eb;
  background: #f7fafb;
  border-radius: 7px;
}
.auto-deploy-label {
  font-size: 12px;
  font-weight: 550;
  color: #4e707c;
  display: flex;
  align-items: center;
  gap: 7px;
}
.auto-deploy-label input,
.auto-deploy-section input[type="checkbox"] {
  accent-color: var(--teal);
}
.auto-deploy-section > .help {
  font-size: 10px;
  color: #8a9ba1;
  line-height: 1.7;
  margin: 7px 0 0 22px;
}
.deployment-fieldset {
  border: 0;
  padding: 18px 0 0;
  margin: 0;
  min-width: 0;
}
.deployment-fieldset:disabled {
  display: none;
}
.deployment-fieldset .field:last-child {
  margin-bottom: 13px;
}
.deployment-fieldset > .account-checkboxes {
  font-size: 11px;
  color: #6f868e;
  display: flex;
  align-items: center;
  gap: 7px;
}
.deployment-import-notice {
  margin-top: 16px;
}
.deployment-import-notice a {
  display: block;
  margin-top: 6px;
}
html:has(#modal[open]) {
  overflow: hidden;
}
dialog#modal {
  overflow: hidden;
}
#modal-content, #modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
#modal-content {
  max-height: calc(100dvh - 34px);
}
#modal .modal-head, #modal .modal-footer {
  flex-shrink: 0;
}
#modal :is(#modal-content, #modal-form) > .modal-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
#modal-form > .modal-error {
  max-height: 20dvh;
  overflow: auto;
  padding: 6px 18px;
  flex-shrink: 0;
}
#modal-form > .modal-error:empty {
  padding: 0;
}
#modal .modal-footer {
  flex-wrap: wrap;
}
@media (max-width: 400px) {
  #modal .modal-head, #modal .modal-footer {
    padding: 12px 16px;
  }
  #modal .modal-head .icon-btn {
    flex-shrink: 0;
  }
  #modal .modal-body {
    padding-inline: 16px;
  }
  #modal .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .deployment-summary .summary-item {
    min-width: 105px;
  }
  .deployment-table .sub-text {
    max-width: 170px;
  }
  .deployment-events li {
    grid-template-columns: 8px 64px minmax(0, 1fr);
    gap: 8px;
    font-size: 10px;
  }
  .deployment-events time {
    font-size: 9px;
  }
  .auto-deploy-section {
    padding: 15px 12px 10px;
  }
  .auto-deploy-label {
    font-size: 11px;
  }
  .deployment-target-card {
    flex-wrap: wrap;
    gap: 9px;
    padding: 14px;
  }
  .deployment-target-card > .badge {
    margin-left: 40px;
  }
}

/* Xinghe console — the substation's square editorial system, in navy and cyan. */
:root {
  --brand: #123b5d;
  --brand-strong: #0c2d49;
  --accent: #168aa0;
  --teal: #168aa0;
  --teal-soft: #eaf5f8;
  --nav-muted: #637486;
  --shadow: none;
  --radius: 0;
}
body::before {
  content: "";
  height: 4px;
  position: fixed;
  inset: 0 0 auto;
  background: var(--brand);
  z-index: 100;
  pointer-events: none;
}
.app-shell {
  grid-template-columns: 228px minmax(0, 1fr);
  padding-top: 4px;
}
.sidebar {
  inset: 4px auto 0 0;
  width: 228px;
  padding: 25px 16px 17px;
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
  scrollbar-color: #cdd8e1 transparent;
}
.brand {
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.6px;
  gap: 11px;
  padding: 0 10px;
  min-height: 34px;
}
.brand-symbol {
  color: var(--brand);
  height: 30px;
  width: 30px;
}
.brand-symbol svg {
  width: 30px;
  height: 30px;
}
.brand-caption {
  padding: 5px 0 0 51px;
  color: #718292;
  letter-spacing: 2.6px;
  font-size: 9px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-copy strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 730;
}
.brand-copy small {
  color: #6c7f90;
  font-size: 9px;
  letter-spacing: 2.1px;
  font-weight: 500;
}
.workspace-switch {
  margin: 27px 1px 22px;
  padding: 11px 10px;
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: 0;
  color: #42596d;
  font-size: 12px;
}
.workspace-mark {
  color: #fff;
  background: var(--brand);
  border-radius: 0;
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.workspace-switch .icon {
  color: #708394;
}
.nav-label {
  color: #8995a0;
  font-size: 10px;
  letter-spacing: 1.1px;
  padding: 0 12px;
  margin: 9px 0 10px;
}
.nav {
  gap: 3px;
}
.nav-item {
  padding: 11px 12px;
  border-radius: 0;
  color: #5f7182;
  font-size: 13px;
  gap: 11px;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
}
.nav-item:hover {
  background: #f4f7f9;
  color: var(--brand);
}
.nav-item.active {
  background: #edf3f8;
  color: var(--brand);
  font-weight: 600;
}
.nav-item.active::before {
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--accent);
  border-radius: 0;
}
.nav-item .count {
  color: var(--brand);
  background: #e3edf4;
  border-radius: 0;
  font-size: 9px;
}
.nav-divider {
  background: var(--line);
  margin: 20px 11px 17px;
}
.local-note {
  margin: 24px 1px 18px;
  padding: 13px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: #748595;
  background: #f8fafb;
  line-height: 1.75;
}
.local-note b {
  color: var(--brand);
  font-size: 11px;
}
.user {
  border-color: var(--line);
  padding: 15px 8px 0;
}
.user strong {
  color: #3a5165;
  font-size: 11px;
}
.user small {
  color: #83919d;
}
.avatar,
.top-avatar {
  background: #edf3f7;
  color: var(--brand);
  border-radius: 2px;
}
.topbar {
  height: 68px;
  padding: 0 34px;
  top: 4px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  color: #81909e;
  font-size: 12px;
  gap: 11px;
}
.breadcrumbs span:last-child {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  gap: 20px;
}
.top-doc {
  color: #586f82;
  font-size: 12px;
}
.local-badge {
  border-radius: 0;
  color: #6f8191;
  border-color: var(--line);
  padding: 6px 9px;
}
.content {
  max-width: 1500px;
  padding: 32px 34px 36px;
}
.page-heading {
  align-items: flex-end;
  margin-bottom: 25px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin-bottom: 10px;
}
.page-heading h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.9px;
  margin-bottom: 10px;
  color: var(--ink);
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.heading-actions {
  padding-top: 0;
  gap: 8px;
  padding-bottom: 2px;
}
.btn,
.icon-btn,
.field-control,
.input-wrap,
select.filter,
.segmented,
.segmented button,
.pagination button,
.tag,
.badge,
.model-filter-tabs button,
button,
input,
select,
textarea {
  border-radius: 0;
}
.btn {
  min-height: 37px;
  font-size: 12px;
  font-weight: 500;
  border-color: #d6e0e7;
  color: #3f566b;
  box-shadow: none;
}
.btn:hover {
  background: #f2f6f9;
  border-color: #b4c8d8;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: none;
}
.btn.primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
.btn.ghost {
  color: #687c8e;
}
.btn.small {
  min-height: 30px;
  font-size: 11px;
}
.icon-btn {
  color: #7b8c9b;
}
.icon-btn:hover {
  background: #eaf4f8;
  color: var(--accent);
}
button:focus-visible,
a:focus-visible {
  outline-color: #68b9cd;
}
.kpis {
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 23px;
  background: #fff;
}
.stat-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 23px 21px 20px;
  box-shadow: none;
}
.stat-card:last-child {
  border-right: 0;
}
.stat-title {
  color: #718294;
  font-size: 12px;
}
.stat-value {
  font-size: 31px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -1px;
  margin: 12px 0 15px;
}
.stat-value small {
  font-size: 11px;
  color: #91a0ae;
}
.stat-icon,
.stat-card:nth-child(2) .stat-icon,
.stat-card:nth-child(3) .stat-icon,
.stat-card:nth-child(4) .stat-icon {
  border-radius: 0;
  background: #f0f5f8;
  color: #52758c;
  width: 27px;
  height: 27px;
}
.stat-footer {
  color: #7e8d99;
}
.stat-footer strong {
  color: var(--accent);
}
.stat-mini {
  opacity: 0.85;
}
.panel,
.stat-card,
.provider-tile,
.summary-strip,
.oauth-profile-card,
.deployment-target-card,
.auto-deploy-section,
.account-import-summary span,
.account-import-errors,
.chat-empty .orb,
.secret-box {
  border-radius: 0;
  box-shadow: none;
}
.panel {
  border-color: var(--line);
}
.panel-head {
  padding: 20px 23px 17px;
}
.panel-title {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.15px;
  font-weight: 650;
}
.panel-sub {
  color: #83929f;
  font-size: 11px;
}
.panel-head .text-link {
  color: #6c8294;
  font-size: 11px;
}
.two-col {
  gap: 22px;
  margin-bottom: 23px;
}
.chart-legend {
  color: #7a8d9d;
}
.legend-line {
  background: var(--accent);
  border-radius: 0;
}
.legend-line.secondary {
  background: #bfd9e5;
}
.chart-point:hover {
  fill: var(--accent);
}
.chart-caption {
  color: #8d9ba7;
}
.segmented {
  background: #f6f8fa;
  padding: 2px;
  border-color: var(--line);
}
.segmented button {
  font-size: 11px;
  color: #7890a3;
}
.segmented button.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 0 0 1px var(--line);
}
.model-list {
  padding-top: 6px;
}
.model-label {
  color: #526b7e;
  font-size: 11px;
}
.model-mark {
  border-radius: 0;
}
.model-count {
  color: #6a8091;
}
.progress,
.progress i {
  border-radius: 0;
}
.progress {
  height: 4px;
  background: #eff3f6;
}
.progress i {
  background: var(--accent);
}
.model-total {
  color: #80909e;
}
.model-total strong {
  color: var(--ink);
}
.provider-grid {
  gap: 10px;
}
.provider-tile {
  border-color: var(--line);
  padding: 15px;
}
.provider-tile:hover {
  background: #f8fbfd;
  border-color: #aec5d7;
}
.provider-tile strong {
  color: #29465e;
  font-size: 12px;
}
.provider-tile small {
  color: #8294a3;
  font-size: 10px;
}
.provider-logo {
  border-radius: 0;
  background: #edf4f7;
  color: #39768e;
}
.provider-tile-stats {
  color: #8696a4;
}
.provider-tile-stats b {
  color: #526d81;
}
.status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px #edf7fa;
}
.data-table th {
  background: #f6f8fa;
  border-color: var(--line);
  color: #768897;
  font-size: 11px;
  font-weight: 500;
  padding-top: 12px;
  padding-bottom: 12px;
}
.data-table td {
  color: #64798c;
  font-size: 12px;
  border-bottom-color: #e9eef2;
  padding-top: 17px;
  padding-bottom: 17px;
}
.data-table .main-text {
  color: #24425b;
  font-weight: 500;
}
.data-table tbody tr:hover {
  background: #f8fbfd;
}
.row-actions .text-link {
  color: var(--accent);
}
.text-link:hover {
  color: var(--accent);
}
.sub-text {
  color: #8b9aa7;
  font-size: 10px;
  line-height: 1.7;
}
.tag {
  color: #71889a;
  background: #f1f5f8;
  padding: 5px 7px;
}
.badge {
  background: #eaf5f8;
  color: #2a8197;
  padding: 5px 7px;
  font-size: 10px;
}
.badge.neutral {
  background: #f0f3f6;
  color: #7b8e9c;
}
.badge.blue {
  background: #ebf2fa;
  color: #527cab;
}
.badge.warn {
  background: #fff5e8;
  color: #a57a3b;
}
.badge.error {
  background: #fcefee;
  color: #bb655b;
}
.badge.purple {
  background: #f2eff9;
  color: #8a72af;
}
.table-footer {
  color: #8696a4;
  padding-top: 15px;
  padding-bottom: 15px;
}
.pagination button {
  color: #6b8294;
}
.pagination button.active {
  background: #eff4f8;
  color: var(--brand);
  border-color: #c4d4df;
}
.toolbar {
  padding-top: 17px;
  padding-bottom: 17px;
}
.input-wrap,
select.filter,
.field-control {
  border-color: #d6e0e7;
  min-height: 36px;
}
.input-wrap input {
  color: #415e74;
  font-size: 12px;
}
.input-wrap input::placeholder,
.field-control::placeholder {
  color: #9aa8b3;
}
select.filter {
  color: #5a7185;
  font-size: 12px;
}
.field-control {
  color: #344f65;
  font-size: 12px;
}
.field-control:focus {
  border-color: #66a6c1;
  box-shadow: 0 0 0 2px #168aa00d;
}
.field label {
  color: #4d6578;
  font-size: 12px;
  font-weight: 500;
}
.field .help,
.help {
  color: #8596a4;
  font-size: 11px;
  line-height: 1.75;
}
.toolbar-summary {
  color: #8696a4;
  font-size: 11px;
}
.summary-strip {
  padding: 21px 23px;
  gap: 25px;
}
.summary-item small {
  color: #7d8f9e;
  font-size: 11px;
}
.summary-item strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
}
.callout {
  background: #eff7fa;
  border-color: #d7e7ee;
  color: #5f8295;
  border-radius: 0;
  font-size: 12px;
}
.callout b {
  color: #3b637b;
  font-weight: 600;
}
.callout.warn {
  background: #fff9ef;
  color: #a28a63;
  border-color: #eee2c9;
}
.callout.warn b {
  color: #8e734b;
}
.empty {
  color: #8fa0ad;
  padding: 65px 20px;
}
.empty .icon {
  color: #afc3d0;
}
.empty h3 {
  color: #587489;
  font-weight: 550;
}
.empty p {
  color: #8b9ca9;
}
.switch {
  border-radius: 10px;
  background: #d6e0e7;
}
.switch.on {
  background: var(--accent);
}
.switch::before {
  border-radius: 50%;
}
.balance-card {
  background: var(--brand);
}
.balance-card::after {
  display: none;
}
.balance-card .balance-label {
  color: #b5cbdc;
}
.balance-card .balance-foot {
  color: #a6c1d5;
}
.balance-card .balance-value {
  font-size: 40px;
}
.redeem-body p {
  color: #8193a2;
  font-size: 12px;
}
.settings-entry {
  color: #7d909f;
  font-size: 12px;
}
.settings-entry strong {
  color: #335a73;
}
.chat-empty .orb {
  background: #f1f7fa;
  border-color: #d0e2ec;
  color: var(--accent);
}
.chat-empty h3 {
  color: #44677e;
}
.chat-message .chat-avatar {
  background: #eaf4f8;
  color: var(--accent);
  border-radius: 0;
}
.chat-message .message-text {
  color: #536e82;
  font-size: 13px;
}
.chat-message .message-name {
  color: #305670;
}
.chat-meta {
  color: #819bab;
}
.code-block {
  background: #102c43;
  color: #c6dce7;
  border-radius: 0;
}
.docs-base {
  color: var(--accent);
}
.docs-section h3 {
  color: #416c83;
}
.docs-section p {
  color: #7d929f;
}
.secret-box {
  background: #eef7fa;
  border-color: #cee3ec;
  color: #287d94;
}
.footer-note {
  padding-top: 18px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #8d9da9;
}
.footer-note .icon {
  color: #87a4b7;
}
.initial-loading,
.loading {
  color: #7891a2;
}
.spinner {
  border-color: #deebf1;
  border-top-color: var(--accent);
}
dialog {
  border-radius: 2px;
  border-color: #d7e2e9;
  box-shadow: 0 20px 90px #0c2d4938;
  max-height: 90vh;
}
dialog::backdrop {
  background: #122c4552;
  backdrop-filter: blur(2px);
}
.modal-head {
  padding-top: 24px;
  padding-bottom: 20px;
  border-color: var(--line);
}
.modal-head h2 {
  color: var(--ink);
  font-weight: 650;
  font-size: 18px;
}
.modal-head p {
  color: #8296a5;
  font-size: 12px;
}
.modal-footer {
  background: #f8fafb;
  border-color: var(--line);
}
.detail-item small {
  color: #7e94a4;
  font-size: 11px;
}
.detail-item strong {
  color: #365a74;
  font-size: 12px;
  font-weight: 500;
}
.code-label {
  color: #7892a4;
  font-size: 11px;
}
.toast {
  border-radius: 0;
  color: #3e657b;
  border-color: #d5e5ed;
}
.toast .icon {
  color: var(--accent);
}
.oauth-profile-card:hover,
.deployment-target-card:hover {
  background: #f5fafc;
  border-color: #b8d0df;
}
.profile-icon {
  border-radius: 0;
  background: #ebf5f9;
  color: var(--accent);
}
.profile-card-info b {
  color: #36556d;
}
.profile-card-info small {
  color: #8a9eac;
}
.account-checkboxes {
  color: #678396;
}
.account-import-summary b {
  color: var(--accent);
}
.account-import-summary span {
  color: #8299a9;
}
.oauth-flow-steps span {
  border-radius: 0;
  color: #8ca0af;
  background: #f3f6f8;
}
.oauth-flow-steps span.done {
  background: #f0f7fa;
  color: #729bac;
}
.oauth-flow-steps span.active {
  background: #e9f4f9;
  color: var(--accent);
}
.oauth-manual summary {
  color: #617f93;
}
.account-profile-help {
  color: #7894a5;
}
.deployment-detail-status {
  color: #7891a3;
}
.deployment-events li {
  color: #6f899b;
  border-color: #e6edf2;
}
.deployment-events time {
  color: #94a6b3;
}
.deployment-events .event-dot {
  background: #70adc2;
}
.deployment-events li b {
  color: #4a7b92;
}
.deployment-target-card {
  border-color: var(--line);
}
.deployment-target-card b {
  color: #365c76;
}
.deployment-target-card small {
  color: #849caa;
  font-size: 11px;
}
.auto-deploy-section {
  border-color: #d6e5ed;
  background: #f3f9fc;
}
.auto-deploy-label {
  color: #3c708a;
}
.auto-deploy-section > .help,
.deployment-fieldset > .account-checkboxes {
  color: #7c9bac;
}
.quickstart {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 23px;
  background: #fff;
}
.quickstart-copy {
  padding: 25px;
  border-right: 1px solid var(--line);
}
.quickstart-copy h2 {
  color: var(--brand);
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.quickstart-copy p {
  color: #7d93a3;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 17px;
}
.quickstart-code {
  padding: 24px;
  min-width: 0;
  background: #f8fafb;
}
.quickstart-code pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #486b83;
  font:
    11px/1.9 "SFMono-Regular",
    Consolas,
    monospace;
  margin: 0;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .sidebar {
    width: 208px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    font-size: 20px;
    gap: 9px;
    padding-left: 7px;
  }
  .brand-copy strong {
    font-size: 19px;
  }
  .brand-copy small {
    letter-spacing: 1.5px;
    font-size: 8px;
  }
  .brand-caption {
    padding-left: 45px;
    letter-spacing: 2px;
  }
  .content {
    padding: 27px 25px 31px;
  }
  .topbar {
    padding-left: 25px;
    padding-right: 25px;
  }
  .stat-card {
    padding: 20px 17px;
  }
  .stat-value {
    font-size: 28px;
  }
}
@media (max-width: 1000px) {
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .kpis .stat-card:nth-child(2) {
    border-right: 0;
  }
  .kpis .stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .quickstart {
    grid-template-columns: 1fr;
  }
  .quickstart-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 720px) {
  .app-shell {
    display: block;
    padding-top: 4px;
  }
  .sidebar {
    width: 240px;
    inset: 4px auto 0 0;
    padding: 23px 16px 18px;
    z-index: 40;
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 40px #123b5d1a;
  }
  .topbar {
    height: 61px;
    padding: 0 17px;
  }
  .top-actions {
    gap: 12px;
  }
  .top-doc {
    font-size: 11px;
  }
  .local-badge {
    font-size: 9px;
    padding: 5px 7px;
  }
  .breadcrumbs {
    font-size: 12px;
    gap: 7px;
  }
  .mobile-toggle {
    color: var(--brand);
  }
  .content {
    padding: 24px 17px 28px;
  }
  .page-heading {
    margin-bottom: 20px;
    padding-bottom: 20px;
    gap: 13px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .heading-actions {
    padding-top: 0;
    padding-bottom: 0;
    gap: 7px;
    flex-wrap: wrap;
  }
  .btn {
    min-height: 35px;
    font-size: 11px;
    padding: 8px 11px;
  }
  .kpis {
    gap: 0;
    margin-bottom: 18px;
  }
  .stat-card {
    padding: 18px 14px;
  }
  .stat-title {
    font-size: 11px;
  }
  .stat-value {
    font-size: 27px;
    margin: 12px 0;
  }
  .stat-icon {
    display: none;
  }
  .stat-footer {
    font-size: 9px;
  }
  .panel-head {
    padding: 18px 16px 15px;
  }
  .panel-title {
    font-size: 13px;
  }
  .panel-sub {
    font-size: 10px;
  }
  .data-table th {
    font-size: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .data-table td {
    font-size: 11px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .summary-strip {
    gap: 18px 0;
    padding: 19px 15px;
  }
  .summary-strip .summary-item {
    flex: 1 1 50%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 0;
  }
  .summary-strip .summary-item:nth-child(even) {
    border-right: 0;
    padding-left: 15px;
  }
  .summary-item strong {
    font-size: 23px;
  }
  .summary-item small {
    font-size: 10px;
  }
  .callout {
    padding: 12px;
    font-size: 11px;
  }
  .toolbar {
    padding: 14px 15px;
  }
  .toolbar-summary {
    font-size: 10px;
  }
  select.filter,
  .input-wrap input {
    font-size: 11px;
  }
  .table-footer {
    padding: 14px 15px;
    font-size: 10px;
    gap: 12px;
  }
  .form-row {
    gap: 12px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .modal-head p {
    font-size: 11px;
  }
  .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .modal-footer {
    padding: 16px 18px;
  }
  dialog {
    width: calc(100% - 24px);
    max-height: 91vh;
  }
  .detail-grid {
    gap: 17px 13px;
  }
  .detail-item small {
    font-size: 10px;
  }
  .detail-item strong {
    font-size: 11px;
  }
  .footer-note {
    font-size: 9px;
  }
  .quickstart {
    margin-bottom: 18px;
  }
  .quickstart-copy,
  .quickstart-code {
    padding: 20px;
  }
  .quickstart-copy h2 {
    font-size: 19px;
  }
}

/* Brand and console navigation. */
.brand-mark {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 5px;
  background: var(--brand);
}
.brand-mark i {
  display: block;
  background: #fff;
}
.brand-mark i:last-child {
  background: #6bc3d3;
}
.brand-name {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.brand-name > span {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 1.05;
  font-weight: 700;
}
.brand-name small {
  display: block;
  color: #718392;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 2px;
  font-weight: 500;
}
.sidebar-home {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #6d8293;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 11px;
  margin: 0 1px 20px;
  font-size: 12px;
}
.sidebar-home:hover {
  color: var(--brand);
  background: #f5f8fa;
}
.sidebar-home .icon {
  width: 15px;
  height: 15px;
}
.sidebar-links {
  flex: 0 0 auto;
}
.console-topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 28px;
}
.console-topnav a,
.console-topnav button {
  color: #667d8f;
  font-size: 12px;
  line-height: 1.5;
}
.console-topnav a:hover,
.console-topnav button:hover {
  color: var(--brand);
}
.console-topnav .active {
  color: var(--brand);
  font-weight: 600;
}
.preview-label {
  font-size: 10px;
  font-weight: 500;
  color: #8c794f;
  border: 1px solid #e9dfc6;
  padding: 5px 8px;
  background: #fffbf3;
}
.sidebar-close {
  display: none;
}
.sidebar-backdrop {
  display: none;
}
@media (max-width: 1080px) {
  .console-topnav {
    gap: 16px;
    margin-left: 12px;
  }
}
@media (max-width: 720px) {
  .sidebar-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 25px;
    right: 10px;
    padding: 7px;
    color: #688399;
  }
  .sidebar-close .icon {
    width: 16px;
    height: 16px;
  }
  .sidebar .brand {
    padding-right: 20px;
  }
  .sidebar-backdrop.visible {
    display: block;
    position: fixed;
    inset: 4px 0 0;
    z-index: 35;
    background: #12355050;
    backdrop-filter: blur(1px);
  }
  .console-topnav {
    display: none;
  }
  .preview-label {
    font-size: 9px;
    padding: 5px 6px;
  }
}
.workspace-sub {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #8ca0af;
}
.sidebar-brand-row {
  position: relative;
}
@media (max-width: 720px) {
  .sidebar-close {
    top: 0;
    right: -3px;
  }
}

/* Keep the closed mobile drawer out of keyboard and accessibility navigation. */
@media (max-width: 720px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
}

/* Account pool workbench: operational status stays ahead of traffic analytics. */
.pool-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 2px 0 25px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.pool-heading .eyebrow {
  margin-bottom: 11px;
  font-size: 10px;
  letter-spacing: 1.7px;
}
.pool-heading h1 {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.9px;
}
.pool-heading p {
  margin: 0;
  color: #718596;
  font-size: 13px;
  line-height: 1.8;
}
.pool-heading .heading-actions {
  align-self: flex-end;
  padding-bottom: 2px;
}
.pool-status-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #718a9b;
  font-size: 11px;
  line-height: 1.8;
  padding: 12px 15px;
  margin: -1px 0 23px;
  border: 1px solid #d7e5ed;
  background: #f1f7fa;
}
.pool-status-note .icon {
  color: #568ca6;
  width: 15px;
  height: 15px;
}
.pool-status-note b,
.pool-status-note strong {
  color: #3f667e;
  font-weight: 550;
}
.pool-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(295px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.pool-workbench > .panel {
  min-width: 0;
}
.pool-workbench .panel-head {
  padding: 20px 22px 17px;
  border-bottom: 1px solid var(--line);
}
.pool-workbench .panel-title {
  font-size: 14px;
  font-weight: 650;
}
.pool-workbench .panel-sub {
  margin-top: 6px;
  line-height: 1.7;
}
.pool-workbench .panel-head .badge {
  margin-left: 8px;
}
.pool-empty {
  min-height: 254px;
  padding: 32px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pool-empty > .icon,
.pool-empty-icon {
  width: 41px;
  height: 41px;
  padding: 10px;
  color: #7ca2ba;
  background: #f0f5f8;
  border: 1px solid #e0e9ef;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
}
.pool-empty-icon .icon {
  width: 21px;
  height: 21px;
}
.pool-empty h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.15px;
  color: #3d5d75;
}
.pool-empty p {
  max-width: 370px;
  margin: 0;
  color: #8298a8;
  font-size: 12px;
  line-height: 1.8;
}
.pool-empty .heading-actions,
.pool-empty .pool-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  padding: 0;
}
.pool-empty > .btn {
  margin-top: 19px;
}
.pool-account-list {
  padding: 0 22px;
}
.pool-account-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pool-account-row:last-child {
  border-bottom: 0;
}
.pool-account-row .profile-icon {
  width: 31px;
  height: 31px;
}
.pool-account-row > span {
  min-width: 0;
  flex: 1;
}
.pool-account-row strong {
  display: block;
  color: #38586f;
  font-size: 12px;
  font-weight: 550;
}
.pool-account-row small {
  display: block;
  margin-top: 5px;
  color: #8b9eac;
  font-size: 10px;
}
.pool-account-row .badge {
  flex: none;
  margin-left: auto;
}
.pool-runtime {
  display: flex;
  flex-direction: column;
}
.pool-runtime-body {
  padding: 21px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pool-runtime-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #355770;
  font-size: 14px;
  font-weight: 550;
}
.pool-runtime-state .status-dot {
  width: 7px;
  height: 7px;
}
.pool-runtime-state .status-dot.offline {
  background: #9aaeba;
  box-shadow: 0 0 0 3px #f0f4f7;
}
.pool-runtime-state .icon {
  width: 17px;
  height: 17px;
  color: #7998ac;
}
.pool-runtime-body > p,
.pool-runtime .runtime-note {
  font-size: 12px;
  line-height: 1.8;
  color: #8197a7;
  margin: 0 0 18px;
}
.pool-runtime-details,
.pool-runtime-limits,
.pool-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 21px;
  gap: 0;
  background: #f8fafb;
  border: 1px solid #e0e8ee;
}
.pool-runtime-details > div,
.pool-runtime-limits > div,
.pool-limits > div {
  min-width: 0;
  padding: 13px 11px;
  border-right: 1px solid #e0e8ee;
}
.pool-runtime-details > div:last-child,
.pool-runtime-limits > div:last-child,
.pool-limits > div:last-child {
  border-right: 0;
}
.pool-runtime-details dt,
.pool-runtime-limits small,
.pool-limits small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #8a9eac;
  margin: 0 0 7px;
}
.pool-runtime-details dd,
.pool-runtime-limits strong,
.pool-limits strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #3d6179;
  margin: 0;
}
.pool-runtime-details dd small,
.pool-runtime-limits strong small,
.pool-limits strong small {
  display: inline;
  color: #8ba0af;
  font-size: 10px;
  font-weight: 400;
}
.pool-runtime-body > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.pool-runtime .pool-runtime-link {
  margin-top: auto;
  font-size: 11px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pool-runtime-link .icon {
  width: 13px;
  height: 13px;
}
.pool-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 28px;
}
.pool-shortcut {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  color: var(--brand);
}
.pool-shortcut:hover {
  border-color: #a9c3d5;
  background: #f8fbfd;
}
.pool-shortcut > .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  color: #4f819f;
  background: #eff5f8;
  flex: none;
}
.pool-shortcut > span {
  min-width: 0;
  flex: 1;
}
.pool-shortcut strong {
  display: block;
  color: #365971;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 6px;
}
.pool-shortcut small,
.pool-shortcut p {
  display: block;
  color: #8b9eac;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}
.pool-shortcut .shortcut-arrow,
.pool-shortcut > .icon:last-child {
  width: 14px;
  height: 14px;
  padding: 0;
  background: none;
  color: #8faab9;
  flex: none;
}
.pool-section-label {
  margin: 29px 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: #486a81;
  font-size: 13px;
  font-weight: 600;
}
.pool-section-label small,
.pool-section-label p {
  color: #8c9eaa;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1120px) {
  .pool-workbench {
    grid-template-columns: minmax(0, 1.25fr) minmax(265px, 1fr);
    gap: 18px;
  }
  .pool-shortcuts {
    gap: 10px;
  }
  .pool-shortcut {
    padding: 17px 14px;
    gap: 10px;
  }
}
@media (max-width: 1000px) {
  .pool-workbench {
    grid-template-columns: 1fr;
  }
  .pool-runtime-body {
    min-height: 235px;
  }
  .pool-runtime-details,
  .pool-runtime-limits,
  .pool-limits {
    max-width: 440px;
  }
  .pool-shortcuts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pool-shortcut {
    padding: 17px 20px;
  }
}
@media (max-width: 720px) {
  .pool-heading {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 21px;
  }
  .pool-heading h1 {
    font-size: 28px;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
  }
  .pool-heading p {
    font-size: 12px;
  }
  .pool-heading .heading-actions {
    margin-top: 17px;
    gap: 8px;
  }
  .pool-status-note {
    font-size: 10px;
    gap: 7px;
    padding: 12px;
    margin-bottom: 19px;
  }
  .pool-workbench {
    gap: 17px;
    margin-bottom: 18px;
  }
  .pool-workbench .panel-head {
    padding: 17px 17px 15px;
  }
  .pool-empty {
    min-height: 240px;
    padding: 29px 18px;
  }
  .pool-empty h3 {
    font-size: 14px;
  }
  .pool-empty p {
    font-size: 11px;
  }
  .pool-empty .heading-actions,
  .pool-empty .pool-empty-actions {
    gap: 7px;
    margin-top: 18px;
  }
  .pool-runtime-body {
    padding: 19px 17px 21px;
    min-height: 235px;
  }
  .pool-runtime-state {
    font-size: 13px;
  }
  .pool-runtime-body > p,
  .pool-runtime .runtime-note {
    font-size: 11px;
  }
  .pool-runtime-details > div,
  .pool-runtime-limits > div,
  .pool-limits > div {
    padding: 13px 10px;
  }
  .pool-runtime-details dd,
  .pool-runtime-limits strong,
  .pool-limits strong {
    font-size: 15px;
  }
  .pool-shortcuts {
    margin-bottom: 22px;
  }
  .pool-shortcut {
    padding: 16px 17px;
  }
  .pool-shortcut strong {
    font-size: 12px;
  }
  .pool-shortcut small {
    font-size: 10px;
  }
  .pool-section-label {
    margin-top: 24px;
    padding-top: 21px;
    font-size: 12px;
    align-items: flex-start;
  }
  .pool-section-label small,
  .pool-section-label p {
    font-size: 10px;
    text-align: right;
    max-width: 155px;
  }
}

/* Pool console reference: warm paper, serif typography and softly bounded panels. */
:root {
  --bg: #faf9f5;
  --surface: #fff;
  --ink: #303a39;
  --muted: #7b8783;
  --line: #e4e7e1;
  --radius: 10px;
  font-family:
    "Songti SC", SongtiSC, "Source Han Serif SC", "Noto Serif SC", STSong,
    SimSun, serif;
}
body {
  background: var(--bg);
}
.app-shell {
  grid-template-columns: 250px minmax(0, 1fr);
}
.sidebar {
  width: 250px;
  padding: 28px 20px 20px;
  border-right-color: #e5e7e2;
}
.brand-name > span {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 0;
}
.brand-name small,
.workspace-sub,
.nav-label,
.eyebrow,
.pool-heading .eyebrow,
.mono,
.code-block,
.code-label,
.deployment-events time {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
.brand-mark {
  border-radius: 6px;
  padding: 6px;
  gap: 2px;
}
.brand-mark i {
  border-radius: 1px;
}
.workspace-switch {
  border-radius: 9px;
  background: #f7f8f5;
  border-color: #e4e8e2;
}
.workspace-mark {
  border-radius: 6px;
}
.nav-item {
  border-radius: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #77847e;
}
.nav-item:hover {
  background: #f5f7f4;
  color: var(--brand);
}
.nav-item.active {
  border-radius: 8px;
  background: #edf3f5;
  color: var(--brand);
  font-weight: 600;
}
.nav-item.active::before {
  left: 0;
  top: 10px;
  bottom: 10px;
  border-radius: 2px;
}
.nav-item .count {
  border-radius: 5px;
}
.local-note {
  border-radius: 9px;
  background: #f7f8f5;
  color: #8b9790;
  border-color: #e4e8e1;
}
.local-note b {
  color: #617a7d;
}
.avatar,
.top-avatar {
  border-radius: 50%;
}
.topbar {
  background: #fff;
  border-color: var(--line);
}
.local-badge {
  border-radius: 6px;
  color: #7d8c85;
}
.content {
  padding-top: 31px;
}
.page-heading h1,
.pool-heading h1 {
  font-family:
    "Songti SC", SongtiSC, "Source Han Serif SC", "Noto Serif SC", STSong,
    SimSun, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.page-heading p,
.pool-heading p {
  font-size: 13px;
  color: #8c9690;
}
.page-heading {
  border-bottom-color: #e5e8e2;
}
.btn,
button,
input,
select,
textarea {
  border-radius: 8px;
}
.btn {
  min-height: 36px;
  border-radius: 10px;
  border-color: #e1e6e1;
  color: #617972;
}
.btn.primary {
  color: #fff;
  border-color: var(--brand);
}
.btn:hover {
  background: #f6f8f5;
  border-color: #c9d9d7;
}
.btn.primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
.btn.danger {
  color: #bd766a;
}
.btn.small {
  min-height: 30px;
  border-radius: 7px;
}
.icon-btn {
  border-radius: 6px;
}
.kpis {
  gap: 16px;
  border: 0;
  background: transparent;
}
.kpis .stat-card:nth-child(n) {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px 20px;
  background: #fff;
}
.stat-icon,
.stat-card:nth-child(2) .stat-icon,
.stat-card:nth-child(3) .stat-icon,
.stat-card:nth-child(4) .stat-icon {
  border-radius: 7px;
}
.stat-value {
  font-family:
    "Songti SC", SongtiSC, "Source Han Serif SC", "Noto Serif SC", STSong,
    SimSun, serif;
  font-weight: 600;
}
.panel,
.stat-card,
.provider-tile,
.summary-strip,
.oauth-profile-card,
.deployment-target-card,
.auto-deploy-section,
.account-import-summary span,
.account-import-errors,
.chat-empty .orb,
.secret-box {
  border-radius: 10px;
}
.panel {
  border-color: #e5e8e2;
}
.panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #526a62;
}
.panel-sub {
  color: #9aa59e;
}
.pool-workbench .panel-title {
  color: #536c64;
  font-weight: 600;
}
.table-scroll {
  border-radius: 0 0 10px 10px;
}
.data-table th {
  background: #f8faf7;
  border-color: #e7ebe4;
  color: #87968c;
}
.data-table td {
  color: #7b9182;
  border-color: #ecf0e9;
}
.data-table .main-text {
  color: #607d6c;
}
.data-table tbody tr:hover {
  background: #fafcf8;
}
.sub-text {
  color: #a3b1a5;
}
.tag {
  border-radius: 6px;
  background: #f4f6f2;
  color: #8b9b8b;
}
.badge {
  border-radius: 6px;
}
.provider-logo,
.model-mark,
.profile-icon {
  border-radius: 7px;
}
.provider-tile:hover {
  background: #fbfdf9;
  border-color: #c7d9cf;
}
.input-wrap,
select.filter,
.field-control {
  border-radius: 8px;
  border-color: #e0e7de;
}
.input-wrap input {
  border-radius: 0;
}
.field-control {
  color: #657e6b;
}
.field label {
  color: #7a927f;
}
.field .help,
.help {
  color: #9daa9e;
}
.segmented {
  border-radius: 7px;
  background: #f7f9f5;
  border-color: #e5ebe1;
}
.segmented button {
  border-radius: 5px;
}
.segmented button.active {
  box-shadow: none;
  border-radius: 5px;
  background: #fff;
}
.progress,
.progress i {
  border-radius: 8px;
}
.pagination button {
  border-radius: 5px;
}
.callout {
  border-radius: 9px;
}
.summary-item strong {
  font-weight: 600;
}
.balance-card {
  border-radius: 10px;
}
.code-block {
  border-radius: 8px;
}
.switch {
  border-radius: 10px;
}
.switch::before {
  border-radius: 50%;
}
.chat-message .chat-avatar {
  border-radius: 7px;
}
.oauth-flow-steps span {
  border-radius: 7px;
}
.pool-status-note {
  border-radius: 9px;
  color: #7c9691;
}
.pool-empty > .icon,
.pool-empty-icon {
  border-radius: 10px;
}
.pool-empty h3 {
  color: #6d8878;
  font-size: 16px;
  font-weight: 600;
}
.pool-empty p {
  color: #9aac9c;
}
.pool-runtime-details,
.pool-runtime-limits,
.pool-limits {
  border-radius: 8px;
  background: #f8faf6;
  border-color: #e5ebe1;
}
.pool-runtime-details > div,
.pool-runtime-limits > div,
.pool-limits > div {
  border-color: #e5ebe1;
}
.pool-runtime-details dt,
.pool-runtime-limits small,
.pool-limits small {
  color: #9aac9a;
}
.pool-runtime-details dd,
.pool-runtime-limits strong,
.pool-limits strong {
  color: #68846f;
}
.pool-shortcut {
  border-radius: 9px;
  border-color: #e5e9e1;
}
.pool-shortcut:hover {
  background: #fbfdf9;
  border-color: #c7d8cf;
}
.pool-shortcut > .icon {
  border-radius: 7px;
}
.pool-shortcut strong {
  color: #698571;
}
.pool-shortcut small,
.pool-shortcut p {
  color: #9db09d;
}
.pool-section-label {
  border-top-color: #e5e9e1;
  color: #6e8d76;
}
.pool-section-label small,
.pool-section-label p {
  color: #9eb39d;
}
.preview-label {
  border-radius: 6px;
}
.footer-note {
  border-color: #e5e9e1;
  color: #a4b5a1;
}
dialog {
  border-radius: 12px;
  border-color: #e0e8dc;
}
.modal-head h2 {
  font-weight: 600;
}
.modal-footer {
  background: #fbfcf9;
  border-color: #e7ece2;
}
.modal-head {
  border-color: #e7ece2;
}
.toast {
  border-radius: 9px;
}
@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .sidebar {
    width: 224px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 720px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 248px;
    padding: 25px 18px 20px;
  }
  .page-heading h1,
  .pool-heading h1 {
    font-size: 28px;
  }
  .kpis {
    gap: 11px;
  }
  .kpis .stat-card:nth-child(n) {
    padding: 17px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
  }
  .pool-shortcut {
    border-radius: 9px;
  }
  .pool-status-note {
    font-size: 10px;
  }
}

/* Match the account workbench's actual data/status markup. */
.pool-runtime .panel-head > .icon {
  width: 17px;
  height: 17px;
  color: #7995a7;
}
.pool-runtime-state strong {
  color: #395d75;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.pool-runtime-state .dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px #eef5f8;
}
body[data-ui-preview="true"] .pool-runtime-state .dot {
  background: #98aab6;
  box-shadow: 0 0 0 3px #f0f4f6;
}
.pool-runtime-body > p {
  color: #8295a2;
}
.pool-runtime-limits {
  background: #f7fafb;
  border-color: #e1e8ec;
}
.pool-runtime-limits > div {
  padding: 14px 11px 12px;
  border-color: #e1e8ec;
}
.pool-runtime-limits strong {
  color: #456c84;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 8px;
}
.pool-runtime-limits strong > small {
  display: inline;
  color: #8ca2b1;
  font-size: 10px;
  font-weight: 400;
  margin: 0;
}
.pool-runtime-limits > div > span {
  display: block;
  color: #879cab;
  font-size: 10px;
  line-height: 1.5;
}
.pool-runtime-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e7ecef;
}
.pool-runtime-summary > span {
  color: #8a9eac;
  font-size: 11px;
}
.pool-runtime-summary > b {
  color: #52758b;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 11px;
  font-weight: 550;
  padding: 4px 7px;
  background: #f0f5f8;
  border-radius: 5px;
}
.pool-empty-note {
  display: block;
  color: #98aab5;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 16px;
}
.pool-empty h3 {
  color: #58758a;
}
.pool-empty p {
  color: #8ca0ad;
}
.pool-shortcut > div {
  min-width: 0;
  flex: 1;
}
.pool-shortcut > div > strong {
  color: #4c6c83;
}
.pool-shortcut > div > span {
  display: block;
  color: #8fa3af;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}
.pool-shortcut {
  border-color: #e1e7e9;
}
.pool-shortcut:hover {
  background: #f8fbfd;
  border-color: #c1d4df;
}
.pool-workbench .panel-title {
  color: #46677e;
}
.pool-section-label {
  color: #4c6f85;
}
@media (max-width: 720px) {
  .pool-runtime-limits strong {
    font-size: 19px;
  }
  .pool-runtime-limits strong > small {
    font-size: 9px;
  }
  .pool-shortcut > div > span {
    font-size: 10px;
  }
  .pool-empty-note {
    font-size: 9px;
    margin-top: 14px;
  }
}
