/* Same glass surfaces, spacing, typography and controls as Checkbot. */
* {
  box-sizing:border-box
}
html,body {
  margin:0
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px
}
body {
  background:var(--bg);
  color:var(--ink);
  font:15px/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  min-height:100dvh;
  position:relative
}
body::before {
  content:"";
  position:fixed;
  inset:-10%;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(38% 46% at 10% 4%,rgba(108,158,255,.40),transparent 72%),radial-gradient(42% 50% at 92% 0%,rgba(255,168,128,.34),transparent 72%),radial-gradient(46% 56% at 86% 96%,rgba(96,222,196,.30),transparent 72%),radial-gradient(40% 50% at 4% 98%,rgba(190,150,255,.30),transparent 72%),var(--bg);
  filter:saturate(1.05)
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.45;
  cursor:wait
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible {
  outline:3px solid var(--prog);
  outline-offset:3px
}
input:focus-visible {
  outline:none;
  border-color:var(--prog)!important;
  box-shadow:0 0 0 3px var(--prog-bg)
}
[hidden] {
  display:none!important
}
h1,h2,p {
  margin:0
}
h1,h2 {
  letter-spacing:-.02em
}
h2 {
  font-size:17px;
  font-weight:650
}
.muted {
  color:var(--mut)
}
.tiny {
  font-size:12px
}
.ui-icon {
  display:block;
  flex:none;
  width:20px;
  height:20px
}
.eyebrow {
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--mut);
  font-weight:600
}
.glass {
  background:var(--glass-bg);
  -webkit-backdrop-filter:var(--blur);
  backdrop-filter:var(--blur);
  border:1px solid var(--glass-bd);
  box-shadow:inset 0 1px 0 var(--rim),inset 0 -1px 0 var(--rim-lo),var(--glass-sh);
  border-radius:var(--r)
}
.button,.small-button,.icon-button,.nav-item {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  border-radius:12px;
  color:var(--ink);
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  font-weight:550;
  font-size:13.5px;
  padding:9px 14px;
  white-space:nowrap;
  transition:background .12s,transform .12s
}
.button:hover,.small-button:hover,.icon-button:hover {
  background:var(--surface)
}
.button:active,.small-button:active,.icon-button:active {
  transform:translateY(.5px)
}
.button.primary {
  background:linear-gradient(180deg,#3a7bef,#2f6fe0);
  border-color:#2f6fe0;
  color:#fff;
  box-shadow:0 5px 14px rgba(47,111,224,.24)
}
.button.primary:hover {
  background:linear-gradient(180deg,#508bf6,#3679ee)
}
.button.danger {
  background:var(--action);
  color:var(--surface);
  border-color:var(--action)
}
.button .ui-icon {
  width:18px;
  height:18px
}
.small-button {
  font-size:12.5px;
  padding:6px 11px;
  min-height:34px;
  border-radius:10px
}
.icon-button {
  width:38px;
  height:38px;
  padding:7px;
  font-size:22px
}
.text-button {
  border:0;
  background:none;
  color:inherit;
  font:inherit;
  padding:0;
  text-align:left;
  cursor:pointer
}
.text-button:hover {
  text-decoration:underline
}
.node-dot,.small-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--done);
  flex:none
}
.node-dot.blue {
  background:var(--prog)
}
.small-dot {
  width:6px;
  height:6px;
  margin-right:4px
}
/* Compact glass gate, matching Checkbot's sign-in surface. */
.login-page {
  display:grid;
  place-items:center;
  padding:32px 20px;
  min-height:100dvh
}
.login-shell {
  width:min(100%,380px);
  padding:30px 28px 23px;
  text-align:center
}
.login-mark {
  margin:0 auto 12px;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:var(--prog-bg);
  color:var(--prog)
}
.login-mark>.ui-icon {
  width:30px;
  height:30px
}
.login-shell h1 {
  font-size:23px;
  font-weight:650;
  letter-spacing:-.02em
}
.login-subtitle {
  font-size:13px;
  color:var(--mut);
  margin-top:5px
}
.login-form {
  text-align:left;
  margin-top:23px
}
.login-form label,.form-label {
  display:block;
  font-size:12px;
  color:var(--mut);
  font-weight:550;
  margin:16px 0 7px
}
.login-form input:not([type=hidden]),.form-input {
  width:100%;
  display:block;
  min-height:46px;
  padding:11px 14px;
  border:1px solid var(--surface-bd);
  border-radius:12px;
  background:var(--surface-2);
  color:var(--ink);
  font-size:15px;
  outline:none
}
.login-form input::placeholder,.form-input::placeholder {
  color:var(--faint)
}
input:-webkit-autofill {
  -webkit-text-fill-color:var(--ink);
  box-shadow:0 0 0 1000px var(--surface-2) inset
}
.login-submit {
  width:100%;
  min-height:46px;
  margin-top:22px;
  font-size:15px
}
.login-submit .ui-icon {
  margin-left:auto
}
.login-security {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:11px;
  color:var(--mut);
  margin-top:18px
}
.login-security .ui-icon {
  width:13px;
  height:13px
}
.login-route {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding-top:19px;
  margin-top:22px;
  border-top:1px solid var(--surface-bd);
  font-size:12px;
  color:var(--mut)
}
.login-route>span,.route-card>span {
  display:flex;
  align-items:center;
  gap:7px
}
.login-route>.ui-icon {
  width:24px;
  height:16px;
  color:var(--faint)
}
.form-error {
  color:var(--action);
  background:var(--action-bg);
  border:1px solid var(--action-rim);
  padding:11px 13px;
  border-radius:12px;
  margin-top:18px;
  font-size:13px;
  text-align:left
}
/* Floating header and centered workspace, as in the reference. */
.workspace {
  width:100%;
  max-width:1600px;
  margin:0 auto;
  padding:18px clamp(14px,3vw,40px) 45px;
  padding-left:max(env(safe-area-inset-left),clamp(14px,3vw,40px));
  padding-right:max(env(safe-area-inset-right),clamp(14px,3vw,40px))
}
.topbar {
  position:sticky;
  top:10px;
  z-index:10;
  padding:13px 16px;
  margin-bottom:25px;
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex:none
}
.brand-mark {
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:var(--prog);
  background:var(--prog-bg)
}
.brand-mark>.ui-icon {
  width:24px;
  height:24px
}
.brand strong {
  font-size:18px;
  font-weight:650;
  letter-spacing:-.01em;
  display:block
}
.brand small {
  font-size:12px;
  color:var(--mut);
  display:block
}
.main-nav {
  display:flex;
  gap:3px;
  padding:3px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  margin-left:12px
}
.nav-item {
  background:transparent;
  border-color:transparent;
  color:var(--mut);
  font-size:13px;
  min-height:34px;
  padding:6px 11px;
  border-radius:9px
}
.nav-item .ui-icon {
  width:16px;
  height:16px
}
.nav-item.selected {
  color:var(--ink);
  background:var(--surface);
  border-color:var(--surface-bd);
  box-shadow:0 1px 3px rgba(20,28,52,.08)
}
.nav-item:hover {
  color:var(--ink)
}
.nav-count {
  font-size:10px;
  font-variant-numeric:tabular-nums;
  line-height:1;
  background:var(--prog-bg);
  color:var(--prog);
  padding:4px 5px;
  border-radius:5px
}
.topbar-meta {
  display:flex;
  flex-direction:column;
  margin-left:auto;
  gap:1px;
  padding:7px 13px;
  border-radius:999px;
  background:var(--surface-2);
  border:1px solid var(--surface-bd)
}
.live-indicator {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  white-space:nowrap
}
.live-indicator i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--done);
  box-shadow:0 0 0 3px var(--done-bg);
  flex:none
}
.live-indicator.warning {
  color:var(--action)
}
.live-indicator.warning i {
  background:var(--action);
  box-shadow:0 0 0 3px var(--action-bg)
}
.current-date {
  font-size:10px;
  color:var(--mut);
  padding-left:15px
}
.account-row {
  display:flex;
  align-items:center;
  gap:9px
}
.account-row form {
  display:flex
}
.account-name {
  font-size:12px;
  color:var(--mut)
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px
}
.page-heading h1 {
  font-size:29px;
  font-weight:680
}
.page-heading p {
  font-size:13px;
  color:var(--mut);
  margin-top:3px
}
.heading-actions {
  display:flex;
  align-items:center;
  gap:14px
}
.route-card {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  color:var(--mut);
  padding:10px 13px;
  border-radius:12px;
  border:1px solid var(--glass-bd);
  background:var(--glass-bg)
}
.route-card>.ui-icon {
  width:18px;
  height:18px;
  color:var(--faint)
}
.system-warning {
  padding:14px 16px;
  color:var(--action);
  background:var(--action-bg);
  border:1px solid var(--action-rim);
  border-radius:14px;
  margin-bottom:18px;
  font-size:13px
}
/* Metrics and network chart. */
.metric-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px
}
.metric-card {
  padding:16px 18px
}
.metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:var(--mut);
  font-size:12.5px
}
.metric-icon {
  color:var(--faint)
}
.metric-icon>.ui-icon {
  width:18px;
  height:18px
}
.metric-number {
  display:block;
  font-size:30px;
  font-weight:680;
  line-height:1.25;
  letter-spacing:-.02em;
  margin:8px 0 4px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums
}
.metric-note {
  font-size:11.5px;
  color:var(--mut);
  line-height:1.5
}
.metric-card.tinted .metric-number,.metric-card.tinted .metric-icon {
  color:var(--done)
}
.analytics-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:18px;
  margin-bottom:20px
}
.panel {
  border-radius:var(--r);
  overflow:hidden
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:20px 22px 0
}
.panel-heading h2 {
  font-size:16px
}
.panel-heading p {
  color:var(--mut);
  font-size:12px;
  margin-top:4px
}
.period-picker,.filter-tabs {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  flex:none
}
.period-picker button,.filter-tabs button {
  font:inherit;
  font-size:12px;
  min-height:32px;
  padding:5px 11px;
  border-radius:9px;
  border:1px solid transparent;
  color:var(--mut);
  background:transparent;
  white-space:nowrap
}
.period-picker button.selected,.filter-tabs button.selected {
  color:var(--ink);
  background:var(--surface);
  border-color:var(--surface-bd);
  box-shadow:0 1px 3px rgba(20,28,52,.08)
}
.period-picker button:hover,.filter-tabs button:hover {
  color:var(--ink)
}
.chart-legend {
  display:flex;
  align-items:center;
  gap:22px;
  padding:22px 22px 4px;
  font-size:12px;
  color:var(--mut);
  flex-wrap:wrap
}
.chart-legend>span {
  display:flex;
  align-items:center;
  gap:7px
}
.chart-legend strong {
  font-weight:600;
  color:var(--ink);
  font-variant-numeric:tabular-nums
}
.legend-dot {
  width:7px;
  height:7px;
  border-radius:3px;
  flex:none
}
.legend-dot.download {
  background:var(--prog)
}
.legend-dot.upload {
  background:var(--done)
}
.chart-container {
  height:245px;
  padding:14px 18px 16px;
  position:relative
}
.chart-container svg {
  height:100%;
  width:100%;
  overflow:visible
}
.chart-text {
  font-family:inherit;
  font-size:11px;
  fill:var(--mut)
}
.chart-grid {
  stroke:var(--surface-bd);
  stroke-width:1;
  stroke-dasharray:3 3
}
.chart-download-line,.chart-upload-line {
  fill:none;
  stroke:var(--prog);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round
}
.chart-upload-line {
  stroke:var(--done);
  stroke-width:1.75
}
.chart-download-area {
  fill:var(--prog);
  opacity:.09
}
.loading-placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  color:var(--mut);
  font-size:13px
}
.connection-panel {
  padding-bottom:17px
}
.connection-symbol {
  color:var(--prog);
  background:var(--prog-bg);
  border-radius:10px;
  padding:7px
}
.connection-symbol>.ui-icon {
  width:20px;
  height:20px
}
.connection-stop {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding:0 22px
}
.stop-marker {
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex:none;
  font-weight:650;
  font-size:11px;
  color:var(--done);
  background:var(--done-bg);
  border-radius:11px
}
.stop-marker.exit {
  color:var(--prog);
  background:var(--prog-bg)
}
.connection-stop strong {
  display:block;
  font-size:13px;
  font-weight:600
}
.connection-stop small {
  display:block;
  font-size:11px;
  color:var(--mut);
  margin-top:2px;
  white-space:nowrap
}
.status-mini {
  width:6px;
  height:6px;
  border-radius:50%;
  font-size:0;
  background:var(--done);
  margin-left:auto;
  flex:none
}
.status-mini.offline {
  background:var(--action)
}
.connection-track {
  height:25px;
  margin:3px 0 -17px 39px;
  border-left:1px dashed var(--surface-bd);
  padding-left:28px;
  display:flex;
  align-items:center
}
.connection-track span {
  font-size:10px;
  color:var(--mut)
}
.speed-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-top:1px solid var(--surface-bd);
  padding:16px 22px 0;
  margin-top:22px
}
.speed-row small {
  display:block;
  color:var(--mut);
  font-size:11px;
  margin-bottom:4px
}
.speed-row strong {
  font-size:13px;
  font-weight:600;
  font-variant-numeric:tabular-nums
}
.connection-panel>.tiny {
  font-size:10.5px;
  padding:13px 22px 0;
  line-height:1.6
}
/* Dense neutral table, with the reference's segmented filters. */
.users-panel {
  background:var(--surface);
  border:1px solid var(--surface-bd);
  box-shadow:0 4px 20px rgba(20,28,52,.05)
}
.users-heading {
  padding-bottom:20px;
  align-items:center
}
.heading-count {
  display:inline-block;
  font-size:11px;
  font-weight:550;
  color:var(--mut);
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  border-radius:7px;
  padding:2px 6px;
  margin-left:5px;
  vertical-align:middle
}
.user-tools {
  display:flex;
  align-items:center;
  gap:12px
}
.search-box {
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  border-radius:11px;
  padding:8px 11px;
  min-height:40px;
  width:220px
}
.search-box>.ui-icon {
  color:var(--faint);
  width:17px;
  height:17px
}
.search-box input {
  font:inherit;
  font-size:13px;
  background:transparent;
  border:0;
  outline:none;
  width:100%;
  min-width:0;
  padding:0;
  color:var(--ink)
}
.search-box:focus-within {
  border-color:var(--prog);
  box-shadow:0 0 0 3px var(--prog-bg)
}
.search-box input:focus-visible {
  box-shadow:none
}
.search-box input::placeholder {
  color:var(--mut)
}
.table-wrap {
  overflow-x:auto
}
table {
  border-collapse:collapse;
  text-align:left;
  width:100%
}
th,td {
  padding:14px 16px;
  vertical-align:middle;
  font-size:13px;
  white-space:nowrap
}
th {
  font-size:12px;
  letter-spacing:.01em;
  font-weight:550;
  color:var(--mut);
  background:var(--surface-2);
  border-top:1px solid var(--surface-bd);
  border-bottom:1px solid var(--surface-bd)
}
th:first-child,td:first-child {
  padding-left:22px
}
th:last-child,td:last-child {
  padding-right:22px
}
td {
  border-bottom:1px solid var(--surface-bd)
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:var(--surface-2)
}
.user-identity {
  display:flex;
  align-items:center;
  gap:10px
}
.avatar {
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  border-radius:11px;
  font-size:13px;
  font-weight:600;
  background:var(--prog-bg);
  color:var(--prog)
}
.user-avatar.color-1 {
  background:var(--done-bg);
  color:var(--done)
}
.user-avatar.color-2 {
  background:var(--action-bg);
  color:var(--action)
}
.user-name {
  font-size:13px;
  font-weight:600;
  display:block;
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis
}
.user-address {
  display:block;
  color:var(--mut);
  font-size:11px;
  margin-top:2px
}
.status-badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  font-weight:550;
  border-radius:8px;
  padding:4px 8px;
  background:var(--surface-2);
  color:var(--mut)
}
.status-badge:before {
  content:"";
  width:5px;
  height:5px;
  background:var(--faint);
  border-radius:50%
}
.status-badge.online {
  background:var(--done-bg);
  color:var(--done)
}
.status-badge.online:before {
  background:var(--done)
}
.status-badge.disabled {
  background:var(--action-bg);
  color:var(--action)
}
.status-badge.disabled:before {
  background:var(--action)
}
.number-cell {
  font-variant-numeric:tabular-nums;
  font-weight:500
}
.user-last-seen {
  font-size:12px;
  color:var(--mut)
}
.actions-head {
  text-align:right
}
.row-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px
}
.profile-button {
  color:var(--prog);
  font-size:12px;
  min-height:34px
}
.more-button {
  min-height:34px;
  height:34px;
  width:34px;
  font-size:20px
}
.table-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:13px 22px;
  font-size:11px;
  color:var(--mut);
  border-top:1px solid var(--surface-bd);
  background:var(--surface-2)
}
.empty-state {
  padding:38px!important;
  text-align:center;
  white-space:normal;
  color:var(--mut)
}
/* History and every state of user/key management. */
.activity-section {
  margin-top:24px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px
}
.section-heading h2 {
  font-size:14px
}
.section-heading>span {
  font-size:12px;
  color:var(--mut)
}
.activity-list {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.activity-item {
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid var(--glass-bd);
  background:var(--glass-bg);
  border-radius:var(--r-sm);
  padding:14px;
  min-width:0
}
.activity-symbol {
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  flex:none;
  background:var(--prog-bg);
  color:var(--prog);
  border-radius:8px;
  font-size:14px
}
.activity-item strong {
  display:block;
  font-size:11.5px;
  font-weight:550;
  overflow-wrap:anywhere
}
.activity-item small {
  display:block;
  color:var(--mut);
  font-size:10.5px;
  margin-top:4px
}
.page-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:25px;
  padding:16px 2px 0;
  border-top:1px solid var(--surface-bd);
  font-size:11px;
  color:var(--mut)
}
.footer-dot {
  padding:0 5px
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  max-width:calc(100vw - 32px);
  border-radius:14px;
  padding:13px 18px;
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--surface-bd);
  box-shadow:var(--glass-sh);
  font-size:13px;
  z-index:40
}
.toast.error {
  color:var(--action);
  border-color:var(--action-rim)
}
.modal {
  width:min(480px,calc(100vw - 28px));
  padding:25px;
  border:1px solid var(--surface-bd);
  border-radius:var(--r);
  background:var(--surface);
  color:var(--ink);
  max-height:calc(100dvh - 40px);
  overflow:auto;
  box-shadow:var(--glass-sh)
}
.modal::backdrop {
  background:rgba(10,14,24,.42);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px)
}
.modal-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:17px
}
.modal-heading h2 {
  font-size:19px
}
.modal-copy {
  color:var(--mut);
  font-size:13px;
  line-height:1.7;
  margin-bottom:15px
}
.modal-buttons {
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:22px
}
.qr-wrapper {
  padding:14px;
  background:#fff;
  color:#1c1e24;
  border:1px solid #e7e9ee;
  border-radius:14px;
  text-align:center;
  max-width:310px;
  margin:19px auto
}
.qr-wrapper img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1
}
.qr-description {
  text-align:center;
  color:var(--mut);
  font-size:13px;
  margin-bottom:13px
}
.key-meta {
  font-size:11px;
  color:var(--mut);
  text-align:center;
  overflow-wrap:anywhere
}
.modal-action-list {
  display:grid;
  gap:8px
}
.modal-action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px;
  min-height:46px;
  background:var(--surface-2);
  color:var(--ink);
  border:1px solid var(--surface-bd);
  border-radius:12px;
  text-align:left;
  font-size:13px
}
.modal-action:hover {
  background:var(--prog-bg);
  border-color:var(--prog)
}
.modal-action.danger-text,.modal-error {
  color:var(--action)
}
.modal-error {
  font-size:12px;
  line-height:1.6;
  margin-top:13px
}
.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:17px 0
}
.detail-tile {
  background:var(--surface-2);
  border:1px solid var(--surface-bd);
  border-radius:var(--r-sm);
  padding:14px
}
.detail-tile small {
  display:block;
  font-size:11px;
  color:var(--mut);
  margin-bottom:5px
}
.detail-tile strong {
  font-size:18px;
  font-weight:600;
  font-variant-numeric:tabular-nums
}
.detail-caption,.input-hint {
  font-size:11px;
  color:var(--mut);
  line-height:1.6;
  margin-top:10px
}
.form-block {
  margin-top:18px
}
.danger-copy {
  background:var(--action-bg);
  border:1px solid var(--action-rim);
  color:var(--action);
  padding:14px;
  border-radius:12px;
  font-size:12px;
  line-height:1.8;
  margin-top:13px
}
@media(prefers-color-scheme:dark) {
  body::before {
    background:radial-gradient(40% 48% at 10% 2%,rgba(58,98,200,.34),transparent 72%),radial-gradient(44% 52% at 94% 0%,rgba(190,96,60,.26),transparent 72%),radial-gradient(48% 58% at 88% 98%,rgba(34,150,128,.26),transparent 72%),radial-gradient(42% 52% at 2% 98%,rgba(120,78,190,.26),transparent 72%),var(--bg)
  }
  .button.danger {
    color:#14161c
  }
  .chart-download-area {
    opacity:.12
  }
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  :root {
    --glass-bg:var(--surface)
  }
  .glass {
    background:var(--surface)
  }
}
@media(prefers-reduced-transparency:reduce) {
  .glass,.route-card,.activity-item {
    background:var(--surface);
    -webkit-backdrop-filter:none;
    backdrop-filter:none
  }
  body::before {
    filter:saturate(.4) brightness(1.02)
  }
}
@media(max-width:1200px) {
  .main-nav {
    margin-left:0
  }
  .topbar {
    gap:12px
  }
  .nav-item {
    padding:6px 9px
  }
  .account-name {
    display:none
  }
  .analytics-grid {
    grid-template-columns:minmax(0,1fr) 290px
  }
  .metric-card {
    padding:15px
  }
  .panel-heading {
    flex-wrap:wrap
  }
  .users-heading {
    gap:16px
  }
  .user-tools {
    width:100%;
    justify-content:space-between
  }
  .activity-list {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:980px) {
  .topbar-meta {
    margin-left:auto
  }
  .main-nav {
    order:4;
    width:100%
  }
  .main-nav .nav-item {
    flex:1
  }
  .account-name {
    display:inline
  }
  .metric-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .route-card {
    display:none
  }
  .analytics-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .connection-panel {
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:19px 22px;
    column-gap:25px
  }
  .connection-panel .panel-heading {
    grid-column:1/-1;
    padding:0
  }
  .connection-stop {
    padding:0;
    margin-top:17px
  }
  .connection-track {
    display:none
  }
  .speed-row {
    padding:14px 0 0;
    grid-column:1/-1;
    margin-top:19px
  }
  .connection-panel>.tiny {
    padding:10px 0 0;
    grid-column:1/-1
  }
  .connection-panel .connection-symbol {
    display:none
  }
}
@media(max-width:760px) {
  html {
    scroll-padding-top:160px
  }
  .workspace {
    padding-top:12px;
    padding-bottom:25px
  }
  .topbar {
    top:max(8px,env(safe-area-inset-top));
    padding:11px 12px;
    gap:11px;
    margin-bottom:22px;
    border-radius:20px
  }
  .brand small {
    font-size:11px
  }
  .brand strong {
    font-size:17px
  }
  .brand-mark {
    width:32px;
    height:32px
  }
  .brand-mark>.ui-icon {
    width:21px;
    height:21px
  }
  .topbar-meta {
    padding:6px 10px
  }
  .live-indicator {
    font-size:11px
  }
  .current-date,.account-name {
    display:none
  }
  .account-row .icon-button {
    width:33px;
    height:33px;
    min-height:33px;
    padding:7px
  }
  .account-row .ui-icon {
    width:17px;
    height:17px
  }
  .main-nav {
    gap:2px
  }
  .nav-item {
    font-size:12px;
    padding:6px 8px;
    gap:5px
  }
  .nav-item>.ui-icon {
    width:15px;
    height:15px
  }
  .nav-count {
    font-size:9px
  }
  .page-heading {
    flex-wrap:wrap;
    margin-bottom:18px;
    gap:14px
  }
  .page-heading h1 {
    font-size:25px
  }
  .page-heading p {
    font-size:12px
  }
  .heading-actions {
    width:100%
  }
  .heading-actions>.button {
    width:100%;
    min-height:42px
  }
  .metric-grid {
    gap:10px
  }
  .metric-card {
    padding:15px 13px;
    border-radius:19px
  }
  .metric-top {
    font-size:11.5px;
    align-items:flex-start;
    min-height:20px;
    gap:5px
  }
  .metric-icon>.ui-icon {
    width:16px;
    height:16px
  }
  .metric-number {
    font-size:26px;
    margin-top:6px
  }
  .metric-note {
    font-size:10.5px
  }
  .analytics-grid {
    gap:15px;
    margin-bottom:18px
  }
  .panel-heading {
    padding:18px 17px 0;
    gap:12px
  }
  .panel-heading p {
    font-size:11px
  }
  .period-picker button {
    font-size:11px;
    min-height:32px;
    padding:5px 12px
  }
  .chart-legend {
    padding:18px 17px 4px;
    font-size:11px;
    gap:16px
  }
  .chart-container {
    height:220px;
    padding:12px 14px 14px
  }
  .connection-panel {
    padding:18px 17px;
    column-gap:15px
  }
  .connection-stop {
    gap:8px
  }
  .connection-stop strong {
    font-size:12px
  }
  .connection-stop small {
    font-size:10px;
    white-space:normal;
    overflow-wrap:anywhere
  }
  .stop-marker {
    width:30px;
    height:30px;
    border-radius:9px;
    font-size:10px
  }
  .speed-row {
    margin-top:17px
  }
  .users-heading {
    padding-bottom:17px;
    gap:15px
  }
  .user-tools {
    flex-wrap:wrap;
    gap:10px
  }
  .filter-tabs {
    flex:1
  }
  .filter-tabs button {
    flex:1;
    font-size:12px;
    padding:5px 9px
  }
  .search-box {
    width:100%;
    font-size:13px
  }
  .table-wrap {
    padding:0 12px;
    overflow:visible
  }
  .table-wrap table,.table-wrap tbody {
    display:block;
    width:100%
  }
  .table-wrap thead {
    display:none
  }
  .table-wrap tbody tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    position:relative;
    background:var(--surface);
    border:1px solid var(--surface-bd);
    border-radius:var(--r-sm);
    padding:14px;
    margin-bottom:10px
  }
  .table-wrap tbody tr:hover {
    background:var(--surface)
  }
  .table-wrap td {
    border:0;
    padding:9px 0;
    white-space:normal;
    min-width:0
  }
  .table-wrap td:first-child {
    grid-column:1/-1;
    padding:0 85px 11px 0
  }
  .table-wrap td:nth-child(2) {
    position:absolute;
    top:17px;
    right:13px;
    padding:0
  }
  .table-wrap td:nth-child(5) {
    grid-column:1/-1
  }
  .table-wrap td:last-child {
    grid-column:1/-1;
    padding:12px 0 0;
    border-top:1px solid var(--surface-bd);
    margin-top:3px
  }
  .table-wrap td[data-label]:before {
    content:attr(data-label);
    display:block;
    font-size:10px;
    color:var(--mut);
    margin-bottom:4px
  }
  .user-name {
    max-width:100%;
    font-size:13px;
    white-space:normal;
    overflow-wrap:anywhere
  }
  .user-address {
    font-size:10.5px
  }
  .user-avatar {
    width:30px;
    height:30px;
    border-radius:9px
  }
  .user-identity {
    gap:8px
  }
  .row-actions {
    justify-content:flex-start;
    gap:9px
  }
  .profile-button {
    min-height:36px
  }
  .more-button {
    min-height:36px;
    width:36px;
    height:36px
  }
  .table-footer {
    padding:12px 17px;
    flex-wrap:wrap;
    gap:4px;
    font-size:10px
  }
  .table-wrap .empty-state {
    grid-column:1/-1;
    padding:20px!important
  }
  .activity-list {
    grid-template-columns:1fr
  }
  .activity-item {
    padding:12px 14px
  }
  .activity-section {
    margin-top:21px
  }
  .section-heading>span {
    font-size:11px
  }
  .page-footer {
    font-size:10px;
    flex-wrap:wrap;
    gap:5px
  }
  .modal {
    padding:22px
  }
  .modal-buttons {
    flex-wrap:wrap
  }
  .modal-buttons>.button {
    flex:1
  }
  .modal .chart-container {
    height:200px;
    padding-left:8px;
    padding-right:8px
  }
  .login-page {
    padding:25px 18px
  }
  .login-shell {
    padding:27px 24px 21px
  }
}
@media(max-width:380px) {
  .brand small {
    display:none
  }
  .topbar {
    gap:8px
  }
  .brand-mark {
    display:none
  }
  .live-indicator {
    font-size:10px
  }
  .nav-item>.ui-icon {
    display:none
  }
  .metric-number {
    font-size:24px
  }
  .metric-top {
    font-size:11px
  }
  .metric-note {
    font-size:10px
  }
  .connection-panel {
    grid-template-columns:1fr
  }
  .connection-panel .panel-heading,.connection-panel .speed-row,.connection-panel>.tiny {
    grid-column:1
  }
  .table-wrap td:first-child {
    padding-right:74px
  }
  .status-badge {
    font-size:10px;
    padding:4px 6px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important
  }
}
