:root {
  --ink:#19243b;
  --muted:#7a879e;
  --brand:#3157db;
  --border:#e7ebf2;
  --bg:#f5f7fb
}
body {
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:14px
}
a {
  text-decoration:none
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:238px;
  background:#111e35;
  color:#c0c9da;
  padding:30px 20px;
  z-index:10
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  color:white;
  font-size:17px;
  font-weight:650;
  padding:0 8px
}
.brand small {
  display:block;
  font-size:9px;
  letter-spacing:2.5px;
  color:#7e92b1;
  margin-top:5px
}
.brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:38px;
  border-radius:11px;
  background:#4569ee;
  color:white;
  font-size:22px;
  font-weight:700
}
.nav-label {
  font-size:11px;
  color:#7183a0;
  margin:42px 14px 15px;
  letter-spacing:2px
}
.side-link {
  display:flex;
  gap:14px;
  color:#a8b6cd;
  padding:14px 17px;
  border-radius:9px;
  margin-bottom:7px
}
.side-link>span {
  font-size:19px;
  line-height:19px
}
.side-link:hover {
  background:#1d2d4c;
  color:white
}
.side-link.active {
  background:#2d4cb6;
  color:white
}
.sidebar-bottom {
  position:absolute;
  bottom:28px;
  left:35px;
  font-size:12px
}
.sidebar-bottom small {
  display:block;
  color:#7183a0;
  margin:10px 0 0 16px
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:#54d3ad;
  border-radius:50%;
  margin-right:7px
}
.topbar {
  height:76px;
  margin-left:238px;
  background:white;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 36px;
  font-size:12px;
  color:var(--muted)
}
.divider {
  margin:0 14px;
  color:#c5cddd
}
.account {
  display:flex;
  align-items:center;
  gap:12px;
  color:#56647d
}
.avatar {
  background:#edf1ff;
  color:var(--brand);
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:600
}
.workspace {
  margin-left:238px;
  padding:34px 36px;
  max-width:1800px;
  min-height:calc(100vh - 76px)
}
.card {
  border:1px solid var(--border);
  border-radius:13px;
  box-shadow:0 3px 12px #1b294303;
  overflow:hidden
}
.card-header {
  background:white;
  border-bottom:1px solid var(--border);
  padding:17px 21px;
  font-weight:600
}
.card-body {
  padding:23px
}
.card p {
  line-height:1.9
}
.btn {
  border-radius:7px;
  font-size:13px;
  padding:8px 16px
}
.btn-sm {
  padding:5px 11px;
  font-size:12px
}
.btn-primary {
  background:var(--brand);
  border-color:var(--brand)
}
.badge {
  font-weight:500;
  padding:6px 9px;
  border-radius:5px
}
.table {
  font-size:12px;
  --bs-table-bg:transparent
}
.table th {
  color:var(--muted);
  font-weight:500;
  background:#fafbfd;
  border-bottom:1px solid var(--border);
  padding:12px 9px
}
.table td {
  padding:13px 9px;
  vertical-align:middle;
  border-color:var(--border)
}
.form-control {
  font-size:14px;
  border-color:#dde3ed;
  border-radius:7px;
  padding:11px 13px
}
.form-control:focus {
  border-color:#7f99f8;
  box-shadow:0 0 0 3px #3157db12
}
h4 {
  font-size:23px;
  font-weight:650;
  letter-spacing:-.5px;
  margin-bottom:24px!important
}
.text-muted {
  color:var(--muted)!important
}
.log-box {
  max-height:32rem;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  background:#f7f9fd;
  border:1px solid var(--border);
  border-radius:8px;
  padding:20px;
  font-size:13px;
  line-height:1.9
}
.progress {
  height:7px;
  background:#edf0f7;
  margin-top:18px
}
.progress-bar {
  background:var(--brand)
}
code {
  color:#435579;
  font-size:12px;
  overflow-wrap:anywhere
}
footer {
  display:flex;
  justify-content:space-between;
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid var(--border);
  color:#9aa6b9;
  font-size:11px
}
.alert {
  font-size:13px;
  border-radius:9px
}
#answer {
  min-height:300px!important;
  font-size:15px;
  background:white;
  border:0;
  padding:5px;
  line-height:2.1
}
.auth-layout {
  background:radial-gradient(ellipse at 20% 0%,#e7edff,transparent 65%),#f5f7fb
}
.auth-layout .workspace {
  margin:0;
  padding:50px 20px
}
.auth-brand {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  padding-top:55px
}
.auth-brand .text-muted {
  font-size:11px
}
.auth-layout .card {
  max-width:480px;
  margin:auto;
  box-shadow:0 15px 60px #223a6c0a
}
.auth-layout .col-md-5,.auth-layout .col-md-6 {
  width:100%;
  max-width:480px
}
.auth-layout .card-body {
  padding:30px
}
.auth-layout footer {
  max-width:440px;
  margin:30px auto
}
.auth-layout .btn-primary {
  width:100%;
  margin-top:10px
}
.auth-layout .card-header {
  font-size:18px;
  padding:22px 30px
}
.table-responsive {
  overflow-x:auto
}
@media(max-width:900px) {
  .sidebar {
    width:185px;
    padding:24px 12px
  }
  .brand {
    font-size:14px;
    gap:8px
  }
  .brand small {
    letter-spacing:1px
  }
  .workspace,.topbar {
    margin-left:185px
  }
  .workspace {
    padding:24px 18px
  }
  .topbar {
    padding:0 20px
  }
  .sidebar-bottom {
    left:25px
  }
}
@media(max-width:600px) {
  .sidebar {
    position:static;
    width:auto;
    padding:16px
  }
  .brand {
    padding-bottom:12px
  }
  .nav-label,.sidebar-bottom {
    display:none
  }
  .sidebar nav {
    display:flex;
    flex-wrap:wrap
  }
  .side-link {
    margin:0;
    padding:9px;
    font-size:12px;
    gap:6px
  }
  .workspace,.topbar {
    margin-left:0
  }
  .topbar {
    height:55px
  }
  .workspace {
    padding:20px 12px
  }
  .account {
    gap:8px
  }
  .table {
    white-space:nowrap
  }
  .card-body {
    overflow:auto
  }
}
/* Company identity: preserve the supplied white wordmark on dark surfaces. */
.company-brand {
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:0 8px
}
.company-logo {
  display:block;
  width:178px;
  max-width:100%;
  height:auto;
  object-fit:contain
}
.product-caption {
  font-size:11px;
  font-weight:400;
  letter-spacing:3px;
  color:#92a5c2;
  padding-left:4px
}
.company-auth-brand {
  flex-direction:column;
  gap:16px;
  padding-top:45px
}
.auth-logo-panel {
  background:#111e35;
  border:1px solid #243551;
  border-radius:16px;
  padding:20px 30px;
  box-shadow:0 10px 35px #172d4b10
}
.auth-logo-panel img {
  display:block;
  width:244px;
  max-width:100%;
  height:auto
}
.auth-product-title {
  font-size:17px;
  font-weight:600;
  color:#304461;
  letter-spacing:2px
}
.auth-product-title span {
  font-size:11px;
  font-weight:400;
  letter-spacing:0;
  color:#7a879e;
  margin-left:8px
}
.company-auth-brand+.workspace {
  padding-top:28px
}
@media(max-width:900px) {
  .company-logo {
    width:146px
  }
  .company-brand {
    padding:0 4px
  }
}
@media(max-width:600px) {
  .company-brand {
    flex-direction:row;
    align-items:center;
    gap:16px;
    padding-bottom:14px
  }
  .company-logo {
    width:145px
  }
  .product-caption {
    font-size:10px;
    letter-spacing:1px
  }
  .auth-logo-panel img {
    width:215px
  }
  .company-auth-brand {
    padding-top:30px
  }
}
.transfer-table {
  max-height:390px;
  overflow:auto
}
.transfer-table th {
  position:sticky;
  top:0;
  z-index:1;
  background:#fafbfd
}
.nav-tabs .nav-link {
  font-size:13px
}
.form-select {
  font-size:14px;
  padding:11px 13px;
  border-color:#dde3ed;
  border-radius:7px
}
/* v0.5.1 — local, accessible dashboard components. */
:root {
  --bg:#f4f6fa;
  --ink:#202e46;
  --muted:#728099;
  --brand:#3b60e4;
  --teal:#13a894;
  --purple:#8b6ce0;
  --amber:#e7a23b;
  --border:#e5eaf2
}
.icon {
  display:inline-block;
  flex-shrink:0;
  vertical-align:-4px
}
.btn .icon {
  width:16px;
  height:16px;
  margin-right:6px;
  vertical-align:-3px
}
.btn:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid #87b6ff;
  outline-offset:3px
}
.sidebar {
  width:224px;
  padding:26px 14px 0;
  display:flex;
  flex-direction:column;
  height:100dvh;
  overflow:hidden;
  z-index:1050
}
.company-brand {
  padding:0 12px;
  gap:11px;
  flex-shrink:0
}
.company-logo {
  width:170px
}
.product-caption {
  font-size:10px;
  letter-spacing:3px
}
.nav-label {
  margin:27px 14px 12px;
  font-size:10px;
  flex-shrink:0
}
.sidebar nav {
  flex:1;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#41516c transparent;
  padding:0 2px 12px
}
.side-link {
  align-items:center;
  gap:12px;
  padding:11px 14px;
  margin-bottom:4px;
  border-radius:7px;
  font-size:13px;
  min-height:42px
}
.side-link .icon {
  width:19px;
  height:19px;
  opacity:.88
}
.side-link>span {
  font-size:13px;
  line-height:20px
}
.side-link.active {
  background:#284bba;
  box-shadow:0 3px 10px #0001
}
.side-link .badge {
  margin-left:auto;
  padding:3px 5px;
  font-size:10px
}
.sidebar-bottom {
  position:static;
  flex-shrink:0;
  margin:0 -14px;
  padding:17px 28px;
  background:#101c30;
  border-top:1px solid #ffffff0d;
  font-size:11px
}
.sidebar-bottom small {
  font-size:10px;
  margin-top:6px
}
.topbar {
  margin-left:224px;
  height:66px;
  padding:0 32px
}
.workspace {
  margin-left:224px;
  padding:28px 32px;
  max-width:2000px;
  min-width:0;
  min-height:calc(100vh - 66px)
}
.topbar .divider {
  margin:0 10px
}
.breadcrumb-current {
  color:#33415a
}
.nav-toggle {
  display:none
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
  flex-wrap:wrap
}
.page-heading h4 {
  margin:3px 0 8px!important
}
.page-heading p {
  color:var(--muted);
  font-size:13px;
  margin:0
}
.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:2px;
  color:#7d8da7;
  margin-bottom:7px
}
h4 {
  font-size:24px;
  letter-spacing:-.5px;
  font-weight:650;
  margin-bottom:20px!important
}
.scope-tag {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#6d7c94;
  padding:8px 12px;
  background:white;
  border:1px solid var(--border);
  border-radius:7px
}
.scope-tag .icon {
  width:15px;
  height:15px
}
.card {
  border-radius:12px;
  box-shadow:0 2px 6px #16244803
}
.card-header {
  padding:16px 20px;
  font-size:13px
}
.card-header .icon {
  width:18px;
  height:18px;
  color:#6f83a4;
  margin-right:5px
}
.card-body {
  padding:20px
}
.host-strip {
  display:flex;
  align-items:center;
  gap:12px;
  background:white;
  border:1px solid var(--border);
  border-radius:10px;
  padding:14px 18px;
  margin-bottom:20px
}
.host-strip strong {
  font-size:13px;
  display:block;
  overflow-wrap:anywhere
}
.host-strip div>span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px
}
.collection-time {
  margin-left:auto;
  color:var(--muted);
  font-size:10px;
  display:flex;
  align-items:center;
  gap:6px
}
.collection-time .icon {
  width:14px;
  height:14px
}
.metric-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:22px
}
.metric-card {
  border:1px solid var(--border);
  border-radius:12px;
  background:white;
  padding:18px 20px;
  min-width:0;
  box-shadow:0 2px 6px #16244803
}
.metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.metric-label {
  font-size:12px;
  color:#677891;
  font-weight:500
}
.icon-tile {
  width:36px;
  height:36px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  background:#eef2ff;
  color:var(--brand)
}
.icon-tile.teal {
  background:#e7f7f3;
  color:var(--teal)
}
.icon-tile.purple {
  background:#f2edfc;
  color:var(--purple)
}
.icon-tile.amber {
  background:#fff6e7;
  color:#cf9231
}
.metric-value {
  font-size:31px;
  font-weight:650;
  letter-spacing:-1px;
  line-height:1.4;
  margin:8px 0 4px;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums
}
.metric-value small {
  font-size:12px;
  color:#8995a9;
  font-weight:400;
  letter-spacing:0
}
.metric-detail {
  font-size:10px;
  color:var(--muted);
  line-height:1.6;
  overflow-wrap:anywhere
}
.dashboard-grid {
  display:grid;
  gap:20px
}
.resource-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.usage-grid {
  grid-template-columns:minmax(0,2fr) minmax(0,1fr)
}
.resource-panel {
  text-align:center;
  padding:18px 20px 20px;
  min-height:240px
}
.ring-wrap {
  --chart:var(--brand);
  text-align:center
}
.ring-wrap.teal {
  --chart:var(--teal)
}
.ring-wrap.purple {
  --chart:var(--purple)
}
.ring {
  width:158px;
  height:158px;
  max-width:100%
}
.ring circle {
  fill:none;
  stroke-width:9
}
.ring-track {
  stroke:#eef1f6
}
.ring-value {
  stroke:var(--chart);
  stroke-linecap:round
}
.ring-number {
  font-size:21px;
  fill:var(--ink);
  text-anchor:middle;
  font-weight:650;
  letter-spacing:-.6px
}
.ring-label {
  font-size:9px;
  fill:var(--muted);
  text-anchor:middle
}
.ring-detail {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin:0 0 14px;
  overflow-wrap:anywhere
}
.resource-key {
  border-top:1px solid #edf0f6;
  padding-top:11px;
  font-size:11px;
  text-align:left
}
.resource-key>div {
  display:flex;
  align-items:center;
  gap:5px;
  margin:7px 0;
  color:var(--muted)
}
.resource-key strong,.resource-key .status-pill {
  margin-left:auto;
  font-weight:500;
  color:var(--ink)
}
.legend-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--brand);
  margin-right:5px;
  flex-shrink:0
}
.legend-dot.teal {
  background:var(--teal)
}
.legend-dot.purple {
  background:var(--purple)
}
.legend-dot.amber {
  background:var(--amber)
}
.legend-dot.neutral {
  background:#e4e9f2
}
.status-pill {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  padding:3px 7px;
  font-size:10px;
  background:#f0f2f6;
  color:#78849a;
  white-space:nowrap
}
.status-pill.good {
  background:#e8f7f1;
  color:#138564
}
.status-pill.bad {
  background:#fff0ec;
  color:#c6644c
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap
}
.device-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}
.device-card {
  border:1px solid var(--border);
  border-radius:10px;
  padding:16px;
  background:#fcfdff;
  min-width:0
}
.device-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  font-weight:600
}
.device-title>span:first-child {
  overflow-wrap:anywhere;
  min-width:0
}
.device-title .icon {
  color:#8494b0;
  width:18px;
  height:18px;
  margin-right:4px
}
.device-value {
  font-size:24px;
  letter-spacing:-.6px;
  font-weight:600;
  margin:18px 0 12px;
  font-variant-numeric:tabular-nums
}
.device-value small {
  font-size:11px;
  font-weight:400;
  color:var(--muted);
  letter-spacing:0
}
.device-value small span {
  font-size:10px;
  margin-left:5px
}
.meter {
  display:flex;
  overflow:hidden;
  height:6px;
  background:#e9eef6;
  border-radius:5px;
  margin:12px 0
}
.meter>span {
  display:block;
  background:var(--brand);
  height:100%;
  min-width:0
}
.meter .reserved {
  background:var(--amber)
}
.device-meta {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:5px;
  font-size:10px;
  color:var(--muted);
  margin:12px 0 6px
}
.device-card>small {
  font-size:9px;
  overflow-wrap:anywhere
}
.panel-note {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin-top:18px;
  display:block
}
.panel-note .icon {
  width:14px;
  height:14px;
  margin-right:4px
}
.service-list>div {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  border-bottom:1px solid var(--border);
  padding:13px 0
}
.service-list>div .icon {
  color:#8b9ab3;
  width:18px;
  height:18px
}
.service-list .status-pill {
  margin-left:auto
}
.service-list .panel-note {
  font-size:10px
}
.data-chart {
  min-height:245px;
  max-height:380px;
  overflow-y:auto;
  scrollbar-width:thin
}
.data-chart svg {
  display:block;
  width:100%;
  min-width:0
}
.chart-legend {
  display:flex;
  gap:13px;
  font-weight:400;
  font-size:10px;
  color:var(--muted)
}
.chart-row:hover {
  fill:#f4f7fc
}
.chart-label {
  fill:#6e7e98;
  font-size:11px
}
.chart-value {
  fill:#53637c;
  font-size:11px;
  font-variant-numeric:tabular-nums
}
.empty-state {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:40px 20px;
  min-height:150px;
  color:#8b98ac;
  font-size:12px;
  text-align:center
}
.detail-panel {
  border:1px solid var(--border);
  border-radius:10px;
  background:white;
  padding:15px 18px;
  font-size:12px
}
.detail-panel summary {
  cursor:pointer;
  font-weight:500;
  color:#5a6d8a
}
.detail-panel>.card {
  margin-top:16px;
  border:0;
  box-shadow:none
}
.quota-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  max-height:400px;
  overflow:auto
}
.quota-unlimited {
  font-size:11px;
  color:var(--muted);
  padding:8px 0
}
.quota-unlimited .icon {
  width:14px;
  height:14px
}
.table {
  margin-bottom:0
}
.table th {
  font-size:11px;
  padding:13px 16px
}
.table td {
  padding:14px 16px;
  max-width:440px;
  overflow-wrap:anywhere
}
.table tbody tr:hover {
  background:#f9fbfe
}
.form-label {
  color:#62728d;
  font-size:12px
}
.form-control,.form-select {
  font-size:13px;
  padding:9px 11px
}
.btn-outline-secondary {
  border-color:#dce3ed;
  color:#5e708c;
  background:white
}
.btn-light {
  background:#f3f5f9;
  border-color:#e9edf3;
  color:#62738d
}
.alert-info {
  background:#eef4ff;
  border-color:#dae6ff;
  color:#5a739a
}
.account {
  max-width:50%
}
.account>span:not(.avatar) {
  overflow:hidden;
  text-overflow:ellipsis
}
.workspace>p.text-muted {
  font-size:12px;
  line-height:1.8
}
.workspace>h4 {
  margin-top:4px
}
.workspace>div,.dashboard-grid>* {
  min-width:0
}
.auth-layout .workspace {
  margin-left:0
}
.auth-layout .nav-toggle {
  display:none
}
footer {
  margin-top:32px
}
@media(min-width:1600px) {
  .device-card {
    padding:20px
  }
  .resource-panel {
    min-height:270px
  }
  .ring {
    width:175px;
    height:175px
  }
}
@media(max-width:1200px) {
  .device-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .metric-grid {
    gap:12px
  }
  .metric-card {
    padding:16px
  }
  .metric-value {
    font-size:27px
  }
  .workspace {
    padding:24px
  }
  .topbar {
    padding:0 24px
  }
  .quota-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .resource-grid {
    gap:14px
  }
  .resource-panel {
    padding:15px
  }
  .ring {
    width:140px;
    height:140px
  }
  .collection-time {
    max-width:210px;
    line-height:1.7
  }
}
@media(max-width:1000px) {
  .metric-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .resource-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .resource-grid>section:last-child {
    grid-column:1/-1
  }
  .resource-grid>section:last-child .resource-panel {
    display:flex;
    align-items:center;
    justify-content:space-evenly;
    gap:20px;
    min-height:190px
  }
  .resource-grid>section:last-child .resource-key {
    min-width:160px;
    border-top:0
  }
  .usage-grid {
    grid-template-columns:1fr
  }
  .host-strip {
    flex-wrap:wrap
  }
  .collection-time {
    max-width:none;
    width:100%;
    margin-left:48px
  }
  .page-heading>div.d-flex {
    flex-wrap:wrap
  }
}
@media(max-width:767px) {
  .sidebar {
    position:fixed;
    inset:0 auto 0 0;
    width:240px;
    padding:24px 14px 0;
    transform:translateX(-100%);
    transition:transform .2s ease;
    box-shadow:10px 0 40px #10203920
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .sidebar .company-brand {
    flex-direction:column;
    align-items:flex-start;
    padding:0 12px;
    gap:11px
  }
  .sidebar .company-logo {
    width:170px
  }
  .sidebar .product-caption {
    font-size:10px;
    letter-spacing:3px
  }
  .sidebar .nav-label {
    display:block;
    margin:24px 14px 12px
  }
  .sidebar nav {
    display:block
  }
  .sidebar .side-link {
    font-size:13px;
    padding:11px 14px;
    margin-bottom:4px;
    gap:12px
  }
  .sidebar .sidebar-bottom {
    display:block
  }
  .sidebar-backdrop:not([hidden]) {
    display:block;
    position:fixed;
    inset:0;
    background:#0b172c66;
    z-index:1040;
    backdrop-filter:blur(2px)
  }
  .nav-toggle {
    display:inline-flex;
    align-items:center;
    padding:7px
  }
  .nav-toggle .icon {
    margin:0;
    width:19px;
    height:19px
  }
  .workspace,.topbar {
    margin-left:0
  }
  .topbar {
    height:60px;
    padding:0 16px;
    position:sticky;
    top:0;
    z-index:100;
    background:#ffffffed;
    backdrop-filter:blur(8px)
  }
  .workspace {
    padding:22px 16px
  }
  .topbar .divider {
    margin:0 6px
  }
  .topbar>div>span {
    font-size:11px
  }
  .account {
    gap:8px;
    font-size:11px
  }
  .avatar {
    width:26px;
    height:26px
  }
  .logout-label {
    display:none
  }
  .account .btn .icon {
    margin:0
  }
  .account .btn {
    padding:6px
  }
  .metric-card {
    padding:14px
  }
  .metric-value {
    font-size:27px
  }
  .metric-top .icon-tile {
    width:30px;
    height:30px;
    border-radius:8px
  }
  .metric-label {
    font-size:11px
  }
  .metric-detail {
    font-size:10px
  }
  .metric-grid {
    gap:12px;
    margin-bottom:16px
  }
  .resource-grid {
    grid-template-columns:1fr 1fr;
    gap:12px
  }
  .resource-panel {
    padding:12px;
    min-height:215px
  }
  .ring {
    width:128px;
    height:128px
  }
  .resource-key {
    font-size:10px
  }
  .resource-key>div {
    flex-wrap:wrap
  }
  .device-grid {
    gap:12px
  }
  .device-card {
    padding:12px
  }
  .device-value {
    font-size:21px
  }
  .device-title {
    font-size:11px
  }
  .device-title .icon {
    width:15px;
    height:15px
  }
  .device-title .status-pill {
    font-size:9px;
    padding:3px 5px
  }
  .device-meta {
    font-size:9px
  }
  .page-heading {
    margin-bottom:18px;
    gap:12px
  }
  .page-heading h4 {
    font-size:23px
  }
  .page-heading p {
    font-size:11px
  }
  .eyebrow {
    font-size:9px
  }
  .host-strip {
    padding:12px;
    gap:10px
  }
  .collection-time {
    margin-left:0;
    font-size:9px
  }
  .card-body {
    overflow:visible
  }
  .table-responsive {
    overflow-x:auto
  }
  .table {
    white-space:nowrap
  }
  .table td {
    max-width:none
  }
  .quota-grid {
    grid-template-columns:1fr
  }
  .panel-heading .small {
    font-size:10px
  }
  .card-header {
    padding:14px;
    font-size:12px
  }
  .card-body {
    padding:16px
  }
  .auth-layout .card-body {
    padding:25px
  }
  .data-chart {
    min-height:200px
  }
  .sidebar-bottom {
    left:auto
  }
  .company-auth-brand {
    padding-top:35px
  }
  .log-box,pre {
    max-width:100%;
    overflow:auto
  }
  footer {
    font-size:10px
  }
  .service-list .panel-note {
    font-size:11px
  }
}
@media(prefers-reduced-motion:reduce) {
  .sidebar {
    transition:none
  }
}
.usage-log-table {
  max-height:440px;
  overflow:auto
}
.usage-log-table th {
  position:sticky;
  top:0;
  z-index:1;
  background:#fafbfd
}
/* Delivery workspace */
.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.delivery-check{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);min-width:0}
.delivery-check>div{min-width:0;flex:1}
.delivery-check strong{display:block;font-size:12px;font-weight:500}
.delivery-check small{display:block;font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.check-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#fff2e8;color:#c98237}
.check-icon.good{background:#e9f8f3;color:#189d83}
.check-icon .icon{width:16px;height:16px}
.backup-options{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.backup-options>div{flex:1;min-width:220px}
.backup-options>div strong{font-size:13px}
.maintenance-jobs{max-height:480px;overflow:auto}
.maintenance-jobs th{position:sticky;top:0;z-index:1}
@media(max-width:1100px){.check-grid{grid-template-columns:1fr}}

/* Operational trends: stable layout, continuous history, visible sampling state. */
.trend-toolbar{padding:16px 20px;display:flex;flex-direction:row;justify-content:space-between;gap:16px;align-items:center}.trend-toolbar strong{display:inline-flex;gap:8px;align-items:center}.trend-toolbar #telemetry-status{display:block;font-size:12px;color:#7b879d;margin-top:5px}.trend-actions{display:flex;gap:10px;align-items:center}.trend-actions label{white-space:nowrap;font-size:12px}.trend-actions select{width:140px}.trend-actions button{white-space:nowrap}.trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:12px}.trend-panel{min-width:0}.trend-panel .card-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.trend-panel .card-header>span{display:flex;align-items:center;gap:8px}.trend-panel select{width:auto;max-width:130px}.trend-reading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.trend-reading strong{font-size:25px;letter-spacing:-.7px;color:#1b2b49}.trend-reading>span{font-size:11px;color:#8190a5}.trend-plot{position:relative;width:100%;margin-top:14px}.trend-plot svg{width:100%;height:auto;display:block;overflow:visible}.trend-tooltip{position:absolute;bottom:12px;left:10px;right:10px;background:#14233eee;color:white;font-size:11px;padding:8px;border-radius:6px;pointer-events:none}.trend-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#62718b}.trend-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--series-color);margin-right:5px}.trend-panel .panel-note{margin:10px 0 0}.trend-status.live{color:#138767!important}.trend-status.live:before{content:'● ';color:#13a894}.trend-status.delayed{color:#bb6d12!important}@media(min-width:1700px){.trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.trend-grid{grid-template-columns:1fr}.trend-toolbar{align-items:flex-start;flex-direction:column}.trend-actions{width:100%;flex-wrap:wrap}.trend-reading strong{font-size:23px}}@media(prefers-reduced-motion:no-preference){.trend-status.live:before{animation:telemetry-pulse 2s infinite}@keyframes telemetry-pulse{50%{opacity:.35}}}

/* Visual refinement: immersive entrance, calm workspace, readable responses. */
body.login-experience{background:#090b11;color:#fff;min-height:100svh;overflow-x:hidden}
.login-experience .company-auth-brand,.login-experience main>footer{display:none}
.login-experience .workspace{max-width:none;margin:0;padding:0;min-height:100svh}
.login-experience main>.alert{position:relative;z-index:5;margin:16px 24px;max-width:680px}
.login-shell{min-height:100svh;position:relative;isolation:isolate;padding:130px clamp(28px,6vw,112px) 100px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.8fr);align-items:center;gap:6vw;overflow:hidden;background:radial-gradient(ellipse at 35% 45%,#11264055 0,transparent 55%),#090b11}
.login-masthead{position:absolute;top:36px;left:clamp(28px,6vw,112px);right:clamp(28px,6vw,112px);display:flex;justify-content:space-between;align-items:center;z-index:3}
.login-masthead img{width:205px;height:auto;object-fit:contain}
.login-edition{font-size:11px;letter-spacing:2.2px;color:#c4ccda;display:flex;gap:22px;align-items:center}
.login-edition span{letter-spacing:1px;border-left:1px solid #ffffff2e;padding-left:22px;color:#8793a8}
.login-story{z-index:2;align-self:center;padding-bottom:50px;pointer-events:none}
.login-eyebrow{font-size:10px;letter-spacing:2.5px;color:#98a8ba;display:flex;align-items:center;gap:12px;margin-bottom:30px}
.login-eyebrow span{width:7px;height:7px;border-radius:50%;background:#77f3d4;box-shadow:0 0 16px #77f3d4}
.login-story h1{font-size:clamp(54px,5.5vw,86px);font-weight:550;line-height:1.17;letter-spacing:-3px;color:#f5f9ff;margin:0 0 28px}
.title-period{color:#80edd2}.login-intro{font-size:16px;line-height:1.95;color:#9eacbf;margin-bottom:34px}
.login-capabilities{display:flex;gap:24px;flex-wrap:wrap;color:#b0bdcd;font-size:12px;letter-spacing:.3px}
.login-capabilities span{display:flex;align-items:center;gap:8px}.login-capabilities .icon{width:16px;color:#7cbebc}
.login-panel{position:relative;z-index:3;border:1px solid #ffffff18;border-radius:24px;background:linear-gradient(145deg,#1a2231de,#111722ed);backdrop-filter:blur(24px);padding:44px 38px;box-shadow:0 28px 90px #0005;max-width:450px;width:100%;justify-self:end}
.login-panel-kicker{font-size:10px;letter-spacing:2.3px;color:#71d5c4}.login-panel h2{font-size:28px;letter-spacing:1px;margin:16px 0 10px;font-weight:550;color:#f4f7ff}.login-panel-description{color:#94a3b8;font-size:13px;margin-bottom:34px}
.login-panel .form-label{color:#bfc9d9;font-size:12px;margin-bottom:10px}.login-input-wrap{position:relative;display:flex;align-items:center}.login-input-wrap>.icon{position:absolute;left:15px;width:17px;color:#74859c}
.login-panel .form-control{background:#080d1780!important;border:1px solid #ffffff15;color:#e5eefc!important;border-radius:10px;min-height:50px;padding:12px 64px 12px 43px;font-size:13px;box-shadow:none}.login-panel .form-control::placeholder{color:#697a92}
.login-panel .form-control:focus{border-color:#8be8d5;box-shadow:0 0 0 3px #71dcc618}.login-panel input:-webkit-autofill{-webkit-text-fill-color:#e5eefc;box-shadow:0 0 0 1000px #121b2a inset!important}
#password-visibility{position:absolute;right:12px;top:12px;background:none;border:0;color:#97a9c0;font-size:12px;padding:5px;min-width:36px}
.login-help{font-size:11px;line-height:1.8;color:#8899b0;margin:6px 0 26px}.login-panel .login-submit{width:100%;background:#a5f3dc;border:0;color:#102d28;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-radius:10px;font-weight:650;font-size:14px}.login-panel .login-submit:hover{background:#c0ffeb;box-shadow:0 8px 28px #73e7c61a}.login-submit span{font-size:21px;font-weight:400}
.login-panel-footer{display:flex;gap:8px;align-items:center;justify-content:center;color:#70849d;font-size:10px;margin-top:28px}.login-panel-footer .icon{width:13px}
.login-bottom{position:absolute;bottom:32px;left:clamp(28px,6vw,112px);right:clamp(28px,6vw,112px);display:flex;justify-content:space-between;color:#65758b;font-size:10px;letter-spacing:1.2px}
.login-scene{position:absolute;width:660px;height:660px;left:18%;top:35%;z-index:0;pointer-events:none;opacity:.65;transform:rotate(-18deg)}
.scene-core{position:absolute;width:310px;height:310px;border-radius:50%;left:130px;top:120px;background:radial-gradient(circle at 30% 27%,#ddfff1 0,#84dbcf 3%,#319d9f 12%,#1b405c 28%,#101c38 51%,#080b17 72%);box-shadow:-8px -6px 1px #b5ffec44,-30px -15px 75px #4ee6bf20,inset -35px -40px 50px #03040b;animation:core-breathe 12s ease-in-out infinite}
.core-inner{position:absolute;inset:14px;border-radius:50%;background:repeating-linear-gradient(15deg,transparent 0 9px,#62e5dd10 10px 11px);mask-image:linear-gradient(100deg,#000,transparent 85%)}
.scene-orbit{position:absolute;width:610px;height:220px;left:-10px;top:165px;border:1px solid #77ddd649;border-radius:50%;transform:rotate(-24deg);box-shadow:0 -5px 30px #62f9d110}.orbit-two{width:520px;height:440px;top:75px;left:35px;transform:rotate(52deg);border-color:#7187da26}
.scene-grid{position:absolute;inset:-160px;background-image:linear-gradient(#6385ad08 1px,transparent 1px),linear-gradient(90deg,#6385ad08 1px,transparent 1px);background-size:60px 60px;transform:perspective(500px) rotateX(60deg);mask-image:radial-gradient(ellipse,#000,transparent 65%)}
.scene-spark{position:absolute;width:4px;height:4px;background:#beffed;border-radius:50%;box-shadow:0 0 16px #9dffe8}.spark-one{left:60px;top:230px}.spark-two{left:480px;top:50px;opacity:.5}.spark-three{left:440px;top:410px;width:2px;height:2px}
@keyframes core-breathe{50%{filter:brightness(1.18);transform:translateY(-8px)}}
.user-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:12px;background:#e8edff;color:#3e53a7;font-weight:700;font-size:15px;overflow:hidden;border:1px solid #dfe5f2}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-avatar.large{width:72px;height:72px;border-radius:22px;font-size:28px}.profile-link{display:inline-flex}.profile-heading{display:flex;gap:18px;align-items:center;margin-bottom:20px}.profile-heading h5{margin-bottom:5px}.user-row-name{display:flex;align-items:center;gap:9px}.user-avatar-details{margin-top:-9px;margin-bottom:18px}.user-avatar-details summary{font-size:12px;color:#586e98;margin-bottom:10px}
.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:10px;max-width:840px}.avatar-option{display:flex;align-items:center;flex-direction:column;gap:6px;position:relative;cursor:pointer;font-weight:400}.avatar-option input{position:absolute;width:1px;height:1px;opacity:0}.avatar-option>span{display:flex;justify-content:center;align-items:center;padding:5px;border:2px solid transparent;border-radius:17px;background:#f6f8fc;transition:border-color .16s,transform .16s}.avatar-option img,.avatar-initial{display:flex;width:48px;height:48px;border-radius:13px;align-items:center;justify-content:center;background:#e5eaff;color:#4961bb;font-size:22px}.avatar-option small{color:#64748b;font-size:10px}.avatar-option input:checked+span{border-color:#4e6dde;background:#e9efff;box-shadow:0 0 0 3px #4e6dde12}.avatar-option input:focus-visible+span{outline:3px solid #253c8b;outline-offset:3px}.avatar-option:hover>span{transform:translateY(-2px)}
.model-identity{display:inline-flex;align-items:center;gap:12px;min-width:0;max-width:100%;text-align:left}.model-logo{width:42px;height:42px;object-fit:contain;flex:none;padding:6px;background:#fff;border-radius:13px;border:1px solid #e9edf4}.model-identity strong{display:block;font-size:14px;overflow-wrap:anywhere}.model-identity small{display:block;font-size:10px;color:#8895aa;margin-top:3px;font-weight:400}.model-path{color:#718198;font-size:11px;margin-bottom:12px}.model-path code{overflow-wrap:anywhere}
.playground{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(0,1.6fr);gap:22px;align-items:start}.playground .card{min-width:0}.chat-model-pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);padding:10px 14px;border-radius:24px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.chat-model-pill .status-dot.offline{background:#a8b2c3}.prompt-panel textarea{resize:vertical;border-radius:12px;line-height:1.9;min-height:160px;padding:16px;font-size:13px}.prompt-presets{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 22px}.prompt-presets button{font-size:10px;border:1px solid #e5eaf4;background:#f9faff;color:#5b6d8c;border-radius:20px;padding:7px 10px}.chat-controls{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-controls label{color:#7b88a0}.chat-controls select{margin-top:6px;min-width:120px}.context-note{color:#8290a5;font-size:10px;line-height:1.9;margin:22px 0 12px}.context-note .icon{width:13px;height:13px;vertical-align:-2px}.chat-status{font-size:11px;min-height:20px;color:#527466;padding-top:14px;border-top:1px solid #edf0f6;overflow-wrap:anywhere}.response-panel{overflow:hidden}.response-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.response-toolbar>span{display:flex;align-items:center;gap:8px}.response-toolbar small{font-size:10px;color:#8996a9;font-weight:400;margin-left:5px}.response-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.response-actions label{font-size:10px;font-weight:400;color:#8090a9;display:flex;align-items:center;gap:5px;margin-right:8px}.response-actions .btn{font-size:10px;padding:5px 8px}.answer-scroll{height:clamp(380px,65vh,900px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:30px 34px;background:#fff;outline-offset:-3px}.chat-answer{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-size:14px;line-height:2;color:#29384d;tab-size:4;margin:0;max-width:100%}.answer-empty{display:flex;min-height:320px;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a3afc0;gap:10px}.answer-empty[hidden]{display:none}.answer-empty>.icon{width:45px;height:45px;padding:10px;border-radius:15px;background:#f0f4fc;color:#8c9ec8}.answer-empty h5{font-size:13px;color:#6e7f97;margin:9px 0 0}.answer-empty p{font-size:11px}.response-footer{display:flex;justify-content:space-between;gap:10px;padding:13px 24px;border-top:1px solid #edf1f7;font-size:10px;color:#8d9aaf;flex-wrap:wrap}.response-notice{font-size:12px;line-height:1.8;color:#876229;background:#fff7e8;padding:14px 24px;border-bottom:1px solid #f5e6ca}.reading-mode{grid-template-columns:1fr}.reading-mode .prompt-panel{display:none}.reading-mode .answer-scroll{height:auto;max-height:none;min-height:65vh;padding:40px clamp(24px,6vw,90px)}.reading-mode .chat-answer{max-width:860px;margin:0 auto}.reading-mode .response-toolbar{position:sticky;top:0;z-index:2;background:#fff}
button:focus-visible,a:focus-visible{outline:3px solid #638ce0;outline-offset:4px}
@media(min-width:1500px){.login-scene{left:25%;top:30%}.login-story{padding-bottom:80px}}
@media(max-width:1100px){.login-shell{gap:35px;grid-template-columns:minmax(0,1fr) 360px;padding-left:40px;padding-right:40px}.login-masthead,.login-bottom{left:40px;right:40px}.login-story h1{font-size:58px}.login-panel{padding:34px 28px}.login-scene{left:5%;top:40%;opacity:.4}.playground{grid-template-columns:1fr}.reading-mode .prompt-panel{display:none}}
@media(max-width:700px){.login-shell{grid-template-columns:1fr;gap:32px;padding:115px 22px 84px;align-items:start}.login-masthead{left:24px;right:24px;top:24px}.login-masthead img{width:160px}.login-edition{font-size:8px;letter-spacing:1px}.login-edition span{display:none}.login-story{padding:0}.login-eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:18px}.login-story h1{font-size:45px;letter-spacing:-1px;margin-bottom:20px}.login-intro{font-size:12px;margin-bottom:18px}.login-capabilities{gap:18px;font-size:10px}.login-panel{justify-self:center;max-width:none;padding:30px 26px;border-radius:20px}.login-panel h2{font-size:25px}.login-panel-description{margin-bottom:25px}.login-bottom{left:24px;right:24px;font-size:8px;letter-spacing:0}.login-bottom>span:last-child{display:none}.login-scene{left:12%;top:60px;transform:scale(.8);opacity:.3}.answer-scroll{padding:22px;height:55vh;min-height:340px}.response-footer{padding:12px 18px}.avatar-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr))}.page-heading{gap:16px;flex-wrap:wrap}.response-toolbar{padding:14px 16px}.model-identity strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.scene-core{animation:none}.avatar-option>span{transition:none}}
.reading-mode .response-panel{overflow:visible}.reading-mode .response-toolbar{top:76px;border-radius:12px 12px 0 0}.chat-controls>div{display:flex;gap:8px}
.chat-current-model{display:flex;align-items:center;gap:16px;padding:22px 24px;margin-bottom:24px;background:linear-gradient(110deg,#edf3ff,#fff 75%);border:1px solid #dbe5fa;border-radius:16px;flex-wrap:wrap}.chat-current-logo{width:52px;height:52px;padding:8px;object-fit:contain;background:#fff;border:1px solid #e2e8f5;border-radius:16px;flex:none}.chat-current-info{display:flex;flex-direction:column;gap:5px;flex:1;min-width:180px;overflow-wrap:anywhere}.chat-current-label{font-size:11px;color:#7588ab}.chat-current-info strong{font-size:19px;letter-spacing:-.3px;color:#273f71}.chat-current-info small{font-size:11px;color:#7a8ba5}.chat-ready-badge{display:flex;gap:7px;align-items:center;font-size:11px;color:#16836b;background:#e8f7f1;padding:8px 12px;border-radius:20px}.answer-model-attribution{display:flex;align-items:center;gap:9px;padding:12px 24px;border-bottom:1px solid #edf1f7;font-size:11px;color:#8793a6;background:#fafcff}.answer-model-attribution[hidden]{display:none}.answer-model-attribution img{object-fit:contain;padding:2px}.answer-model-attribution strong{color:#3d5480;font-weight:600;overflow-wrap:anywhere}@media(max-width:700px){.chat-current-model{padding:17px;gap:12px}.chat-current-info{min-width:190px}.chat-current-info strong{font-size:16px}.chat-current-model>.btn{margin-left:auto}.answer-model-attribution{padding:12px 16px}}

/* Model selection remains legible on narrow consoles. */
.chat-current-info .form-select{max-width:580px;width:100%;font-size:13px;margin:4px 0;min-width:0}.chat-ready-badge[hidden]{display:none}.chat-current-info{min-width:0;flex-basis:300px}.chat-current-info small{line-height:1.6}@media(max-width:700px){.chat-current-info{flex-basis:calc(100% - 80px);min-width:0}.chat-current-info .form-select{font-size:12px}}

/* Reserve the native select chevron area, including compact w-auto owner selectors. */
.form-select{padding-right:2.5rem;background-position:right .75rem center}
.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem}
.form-select.w-auto{min-width:6.25rem}
