@import url('/static/fonts.css');
/* Midnight: neutral graphite surfaces, blue actions, semantic status colors. */
:root {
  color-scheme: dark;
  --bg: #0e1014;
  --surface: #15181f;
  --surface-raised: #1b1f28;
  --nav: #12151b;
  --ink: #edf0f7;
  --muted: #9aa4b6;
  --subtle: #8592a8;
  --line: #2a303b;
  --blue: #85b5ff;
  --green: #72dfb3;
  --red: #ffa0ad;
  --amber: #efc07f;
  --radius: 16px;
  --shadow: 0 8px 30px #00000018;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-color: #414b5d var(--bg);
}
body {
  margin: 0;
  font-family:
    Inter,
    'Segoe UI Variable',
    'Segoe UI',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: var(--blue);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
.hidden {
  display: none !important;
}
.muted,
.small {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.35px;
  color: var(--subtle);
  margin-bottom: 9px;
}
.icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  border: 1px solid var(--blue);
  background: var(--surface);
  padding: 12px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.primary,
.secondary,
.danger,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.primary {
  background: var(--blue);
  color: #10213b;
  border: 1px solid var(--blue);
  box-shadow: 0 2px 8px #0002;
}
.primary:hover {
  background: #a4c8ff;
  border-color: #a4c8ff;
  box-shadow: 0 4px 16px #85b5ff18;
}
.secondary,
.icon-button {
  background: #ffffff04;
  color: #c6d0df;
  border: 1px solid #343c49;
}
.secondary:hover,
.icon-button:hover {
  background: #242c39;
  border-color: #53637b;
  color: #fff;
}
.danger {
  background: #ffa0ad0b;
  color: var(--red);
  border: 1px solid #ffa0ad30;
}
.danger:hover {
  background: #ffa0ad17;
}
.icon-button {
  width: 40px;
  padding: 8px;
}
.link-button {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  min-height: 36px;
  padding: 8px 0;
}
.link-button:hover {
  color: #c7ddff;
}
.buttons,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  padding: 28px 16px 18px;
  background: var(--nav);
  border-right: 1px solid #242a35;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  margin: 0 10px 48px;
}
.brand-symbol {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}
.brand-symbol rect {
  fill: #85b5ff;
}
.brand-symbol path {
  fill: none;
  stroke: #13284a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.2px;
}
.brand-name span {
  font-size: 18px;
  font-weight: 450;
  color: #b9c4d5;
  letter-spacing: -0.8px;
}
.nav-label,
.service-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--subtle);
  margin: 0 12px 13px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  margin: 4px 0;
  font-size: 12px;
  text-align: left;
  color: #a8b2c2;
  border: 1px solid transparent;
  border-radius: 9px;
  position: relative;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav:hover {
  background: #ffffff06;
  color: #edf1f8;
}
.nav.active {
  background: #85b5ff0e;
  border-color: #85b5ff1a;
  color: #c2d9ff;
}
.nav.active:before {
  content: '';
  position: absolute;
  left: -17px;
  top: 13px;
  bottom: 13px;
  width: 3px;
  background: var(--blue);
  border-radius: 0 4px 4px 0;
}
.nav.active .icon {
  color: var(--blue);
}
.nav-count {
  margin-left: auto;
  border: 1px solid #ffffff0c;
  background: #ffffff06;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  color: #b7c6dd;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.sidebar-bottom #worker {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  margin: 0 0 16px;
  font-size: 10px;
  line-height: 1.85;
  color: #c6d0df;
  background: #ffffff02;
}
.sidebar-bottom .service-label {
  margin-left: 2px;
  margin-bottom: 9px;
}
.sidebar-bottom #worker .muted {
  color: var(--subtle);
  font-size: 9px;
}
.sidebar-version {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  padding-top: 16px;
  margin: 16px 10px 0;
  font-size: 10px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 7px;
  flex-shrink: 0;
}
.dot.red {
  background: var(--red);
}
main {
  margin-left: 230px;
  padding: 0 36px 22px;
  min-height: 100vh;
  max-width: 1920px;
}
.workspace-bar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  font-size: 11px;
  color: #c5cedd;
}
.workspace-dot {
  display: inline-block;
  height: 7px;
  width: 7px;
  background: var(--blue);
  border-radius: 2px;
  margin-right: 8px;
}
.breadcrumb {
  color: var(--subtle);
  margin-left: 8px;
}
.workspace-private {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.workspace-private .icon {
  width: 13px;
  height: 13px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.view-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.sync-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-size: 10px;
  margin-bottom: 24px;
}
.status-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #72dfb305;
  border: 1px solid #72dfb320;
  border-radius: 11px;
  padding: 15px 18px;
  margin-bottom: 20px;
}
.status-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #72dfb314;
  color: var(--green);
  border: 1px solid #72dfb325;
  border-radius: 9px;
  flex-shrink: 0;
}
.status-icon .icon {
  width: 16px;
  height: 16px;
}
.status-banner h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #beedd9;
  margin-bottom: 3px;
}
.status-banner p {
  font-size: 11px;
  color: #99afaa;
  line-height: 1.55;
}
.status-banner .link-button,
.status-banner .secondary {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
}
.status-banner .link-button .icon {
  width: 13px;
  height: 13px;
}
.status-banner.warning {
  background: #efc07f06;
  border-color: #efc07f30;
}
.status-banner.warning .status-icon {
  background: #efc07f12;
  border-color: #efc07f30;
  color: var(--amber);
}
.status-banner.warning h2 {
  color: var(--amber);
}
.status-banner.warning p {
  color: #c4b296;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  min-width: 0;
  padding: 20px 21px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}
.stat p {
  color: #b3bccb;
  font-size: 11px;
  margin: 0;
}
.stat-heading .icon {
  width: 27px;
  height: 27px;
  padding: 5px;
  border: 1px solid #85b5ff20;
  color: var(--blue);
  background: #85b5ff07;
  border-radius: 7px;
}
.stat-journal .stat-heading .icon {
  color: var(--amber);
  border-color: #efc07f20;
  background: #efc07f07;
}
.stat-nodes .stat-heading .icon {
  color: var(--green);
  border-color: #72dfb320;
  background: #72dfb307;
}
.stat-backup .stat-heading .icon {
  color: #b9c5d9;
  border-color: #b9c5d920;
  background: #b9c5d907;
}
.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.stat > span {
  display: block;
  color: var(--subtle);
  font-size: 10px;
  margin-top: 12px;
}
.metric-large {
  font-size: 26px !important;
  letter-spacing: -0.8px !important;
  padding: 5px 0;
}
.good {
  color: var(--green);
}
.bad {
  color: var(--red);
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 20px;
}
.overview-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  font-size: 13px;
}
.panel-head p.small {
  color: var(--subtle);
  font-size: 10px;
  margin-top: 6px;
}
.panel-head .muted {
  font-size: 11px;
}
.panel-body {
  padding: 20px 22px;
}
.fleet-row {
  padding: 21px 22px 20px;
  border-bottom: 1px solid var(--line);
}
.fleet-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flag-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #343c49;
  background: #242a34;
  border-radius: 11px;
  font-size: 21px;
  flex-shrink: 0;
}
.fleet-name {
  flex: 1;
  min-width: 0;
}
.fleet-name h3 {
  font-size: 13px;
  margin-bottom: 4px;
}
.fleet-name .small {
  font-size: 10px;
  color: var(--subtle);
}
.endpoint {
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.fleet-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 16px 0 11px;
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.fleet-meta > span:last-child {
  color: var(--subtle);
}
.fleet-meta .dot {
  width: 5px;
  height: 5px;
}
.check-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 21px;
}
.check-strip span {
  flex: 1;
  height: 21px;
  min-width: 0;
  background: #65ba99;
  border-radius: 3px;
  transition: background 0.18s;
}
.check-strip span.failed {
  background: #e8909c;
}
.check-strip span.stale {
  background: #626d7f;
}
.check-strip span.empty-check {
  background: #292f3a;
}
.check-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--subtle);
  font-size: 9px;
  margin-top: 7px;
}
.panel-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 10px;
  color: var(--subtle);
}
.panel-foot .icon {
  width: 13px;
  height: 13px;
}
.panel-foot .link-button {
  margin-left: auto;
}
.count-chip {
  background: #72dfb310;
  color: var(--green);
  border: 1px solid #72dfb321;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
}
.count-chip.attention {
  color: var(--amber);
  background: #efc07f10;
  border-color: #efc07f30;
}
.attention-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-row strong {
  font-size: 12px;
  font-weight: 600;
}
.attention-row .small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.empty-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}
.empty-inline strong {
  display: block;
  color: #c7d0df;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 6px;
}
.empty-inline p {
  font-size: 11px;
  color: var(--subtle);
}
.empty-inline .link-button {
  margin-top: 8px;
  font-size: 10px;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #374151;
  background: #ffffff03;
  color: #a4b2c8;
  border-radius: 11px;
  margin-bottom: 13px;
}
.empty-symbol.good {
  color: var(--green);
  border-color: #72dfb32b;
  background: #72dfb308;
}
.context-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 2px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 14px;
}
.context-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  margin: 0;
}
.toolbar select {
  width: 162px;
  margin: 0;
}
.count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.table-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  font-size: 10px;
  color: #9ca8ba;
  font-weight: 500;
  background: #ffffff02;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
}
.data-table td {
  font-size: 12px;
  padding: 18px;
  border-bottom: 1px solid #292f39;
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr {
  transition: background 0.15s;
}
.data-table tbody tr:hover {
  background: #85b5ff03;
}
.name-button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 0;
  max-width: 250px;
}
.name-button strong {
  display: block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 600;
}
.name-button .small {
  display: block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  margin-top: 5px;
  color: var(--subtle);
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #85b5ff26;
  background: #85b5ff0a;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  flex-shrink: 0;
}
.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 220px;
}
.country-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #354050;
  background: #ffffff02;
  border-radius: 6px;
  font-size: 10px;
  color: #c0cada;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
}
.pagination .buttons {
  margin: 0;
  align-items: center;
}
.pagination .secondary {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 11px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill:before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.pill.active,
.pill.ready {
  color: var(--green);
  background: #72dfb308;
  border-color: #72dfb324;
}
.pill.error,
.pill.expired {
  color: var(--red);
  background: #ffa0ad09;
  border-color: #ffa0ad24;
}
.pill.pending,
.pill.installing,
.pill.paused {
  color: var(--amber);
  background: #efc07f09;
  border-color: #efc07f24;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 18px;
}
.node-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
  box-shadow: var(--shadow);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  min-width: 0;
}
.card-head h3 {
  margin-bottom: 5px;
}
.card-head > div {
  min-width: 0;
}
.card-head .pill {
  margin-left: auto;
}
.node-card .avatar {
  font-size: 23px;
  width: 40px;
  height: 40px;
  border-color: #354050;
  background: #242a34;
}
.card-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin: 13px 0;
}
.card-line b {
  color: #d0d9e7;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.node-card p {
  font-size: 11px;
  margin-top: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.node-card .buttons {
  margin-top: 20px;
}
.node-card .buttons button {
  padding: 9px 11px;
  font-size: 11px;
}
.node-health {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.meter {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  background: #29313e;
  overflow: hidden;
  margin: 8px 0 17px;
}
.meter::-webkit-progress-bar {
  background: #29313e;
}
.meter::-webkit-progress-value {
  background: #85b5ff;
}
.meter::-moz-progress-bar {
  background: #85b5ff;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 26px 0 16px;
}
.notice {
  background: #85b5ff0a;
  color: #bdcff0;
  padding: 14px 17px;
  border: 1px solid #85b5ff24;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.notice.warn {
  background: #efc07f08;
  color: #e1c49b;
  border-color: #efc07f25;
}
.notice p {
  margin-top: 8px;
}
.empty {
  grid-column: 1/-1;
  background: var(--surface);
  border: 1px dashed #414c5e;
  border-radius: var(--radius);
  padding: 46px 24px;
  text-align: center;
}
.empty h3 {
  margin-bottom: 10px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.empty .quick-actions {
  justify-content: center;
}
.error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.7;
}
.help {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 950px;
}
.help h3 {
  margin: 24px 0 10px;
}
.help h3:first-child {
  margin-top: 0;
}
.help p,
.help li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}
.help a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.help ol {
  padding-left: 20px;
}
.backup-card {
  max-width: none;
  margin-top: 24px;
}
.backup-card p {
  margin: 12px 0;
}
.backup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  counter-reset: step;
  margin: 25px 0;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.backup-step:before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-size: 23px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 13px;
  font-variant-numeric: tabular-nums;
}
.backup-step h3 {
  margin-bottom: 7px;
}
.backup-step p {
  font-size: 12px;
  color: var(--muted);
}
.journal-table td:last-child {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 500px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
  font-size: 10px;
}
label {
  display: block;
  color: #b5c0d2;
  font-size: 12px;
  font-weight: 500;
  margin-top: 19px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #626d80;
  border-radius: 9px;
  padding: 11px 12px;
  margin-top: 8px;
  background: #10141b;
  color: var(--ink);
  min-height: 41px;
  outline: none;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #8592a8;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #85b5ff12;
}
textarea {
  min-height: 88px;
  resize: vertical;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff02;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 9px;
  min-height: 44px;
}
.checkbox input {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--blue);
  box-shadow: none;
}
.checkbox:has(input:checked) {
  border-color: #85b5ff45;
  background: #85b5ff06;
}
dialog {
  border: 1px solid #414c60;
  border-radius: 18px;
  padding: 32px;
  background: #191d26;
  color: var(--ink);
  width: 530px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  box-shadow: 0 30px 120px #000a;
}
dialog::backdrop {
  background: #070a10b5;
  backdrop-filter: blur(5px);
}
dialog h2 {
  padding-right: 28px;
  margin-bottom: 11px;
  font-size: 22px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
dialog form .buttons {
  margin-top: 24px;
}
.close {
  display: grid;
  place-items: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #3c4658;
  border-radius: 9px;
  font-size: 23px;
  color: #b0bfd4;
  line-height: 1;
}
.close:hover {
  background: #2e3747;
  color: #fff;
}
.qr {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  margin: 18px auto;
}
.shade {
  position: fixed;
  inset: 0;
  background: #070a10b5;
  backdrop-filter: blur(3px);
  z-index: 20;
}
.detail {
  position: fixed;
  z-index: 25;
  inset: 12px 12px 12px auto;
  width: 620px;
  max-width: calc(100vw - 24px);
  border: 1px solid #3b4659;
  border-radius: 18px;
  background: #171b24;
  padding: 35px 28px;
  overflow: auto;
  box-shadow: -10px 0 80px #0006;
}
.detail h2 {
  overflow-wrap: anywhere;
}
.detail .card-head {
  margin-top: 20px;
  margin-bottom: 23px;
}
.detail .card-head .avatar {
  width: 46px;
  height: 46px;
  font-size: 18px;
  border-radius: 13px;
}
.detail-info {
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
}
.detail-info > .buttons {
  margin-top: 23px;
}
.device {
  margin-top: 18px;
  padding: 21px;
  border: 1px solid #354050;
  border-radius: 13px;
  background: #ffffff02;
}
.device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.profile {
  padding-top: 18px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
}
.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 550;
}
.profile .small {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.75;
}
.profile .buttons {
  margin-top: 13px;
}
.profile .buttons a,
.profile .buttons button {
  font-size: 11px;
  padding: 9px 11px;
}
.history {
  border-left: 1px solid #3a475c;
  padding-left: 18px;
  margin: 18px 0;
}
.history > div {
  position: relative;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.75;
}
.history > div:before {
  content: '';
  position: absolute;
  left: -22px;
  top: 7px;
  width: 7px;
  height: 7px;
  border: 1px solid #3a475c;
  background: #171b24;
  border-radius: 50%;
}
.history p {
  font-size: 11px;
  color: var(--muted);
}
.export-summary {
  background: #85b5ff06;
  border: 1px solid #85b5ff2c;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  font-size: 12px;
}
.export-summary strong {
  font-weight: 550;
  color: #c5dbff;
}
.export-summary p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.export-summary .buttons {
  margin: 12px 0 0;
}
.delivery-option {
  border-top: 1px solid var(--line);
  padding: 19px 0;
  margin-top: 17px;
}
.delivery-option h3 {
  margin-bottom: 9px;
}
.delivery-option .buttons {
  margin-top: 12px;
}
.delivery-option .notice {
  margin-top: 17px;
  margin-bottom: 0;
  font-size: 11px;
}
.delivery-country {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.delivery-country strong {
  font-size: 12px;
  font-weight: 550;
}
.delivery-country .buttons {
  margin: 0;
}
.delivery-country .buttons a,
.delivery-country .buttons button {
  min-height: 36px;
  font-size: 11px;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-intro {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
  background: #12161e;
  border-right: 1px solid var(--line);
}
.login-intro:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -170px;
  top: calc(50% - 150px);
  border: 1px solid #85b5ff15;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #85b5ff03,
    0 0 0 90px #85b5ff02;
  pointer-events: none;
}
.login-intro .brand {
  position: absolute;
  top: 44px;
  left: 52px;
  margin: 0;
}
.login-intro h1 {
  font-size: 47px;
  line-height: 1.18;
  letter-spacing: -1.7px;
  margin: 10px 0 25px;
  position: relative;
}
.login-intro p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  position: relative;
}
.login-intro .eyebrow {
  color: var(--blue);
  margin-top: 70px;
}
.login-intro .small {
  color: var(--subtle);
  margin-top: 65px;
  font-size: 11px;
}
.login-card {
  align-self: center;
  justify-self: center;
  width: 350px;
  max-width: calc(100% - 48px);
  padding: 40px 0;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #85b5ff32;
  color: var(--blue);
  background: #85b5ff0b;
  border-radius: 13px;
  margin-bottom: 26px;
}
.brandmark .icon {
  width: 23px;
  height: 23px;
}
.login-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.login-card .muted {
  font-size: 12px;
}
.login-card form {
  margin: 30px 0 22px;
}
.login-card form button {
  width: 100%;
  margin-top: 25px;
}
.login-card .small {
  font-size: 10px;
}
#toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 14px 20px;
  border: 1px solid #53617a;
  border-radius: 11px;
  background: #252e3d;
  color: var(--ink);
  box-shadow: 0 6px 30px #0006;
  max-width: 90vw;
  font-size: 12px;
}
#toast.show {
  display: block;
}
.flag-svg {
  display: inline-block;
  width: 24px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: 0 0 0 1px #ffffff15;
  flex-shrink: 0;
}
.country-tag .flag-svg {
  width: 16px;
  height: 12px;
  border-radius: 2px;
}
.profile-top .flag-svg {
  margin-right: 5px;
}
.drawer-open {
  overflow: hidden;
}
@media (min-width: 1400px) {
  main {
    padding: 0 42px 26px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 641px) and (max-width: 1050px) {
  .sidebar {
    width: 76px;
    padding: 26px 13px 18px;
    align-items: center;
  }
  .sidebar .brand {
    margin: 0 0 35px;
  }
  .sidebar .brand-name,
  .nav-label,
  .service-label,
  .sidebar-version {
    display: none;
  }
  .sidebar nav {
    width: 100%;
  }
  .sidebar .nav {
    justify-content: center;
    min-height: 46px;
    padding: 12px;
    margin: 5px 0;
  }
  .sidebar .nav > span:nth-child(2) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .sidebar .nav-count {
    display: none;
  }
  .sidebar .nav.active:before {
    left: -14px;
  }
  .sidebar-bottom {
    width: 100%;
  }
  .sidebar-bottom #worker {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  main {
    margin-left: 76px;
    padding: 0 25px 22px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat strong {
    font-size: 30px;
  }
  .metric-large {
    font-size: 21px !important;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .overview-side {
    grid-template-columns: 1fr 1fr;
  }
  .toolbar select {
    width: 150px;
  }
}
@media (min-width: 1051px) and (max-width: 1240px) {
  .sidebar {
    width: 208px;
    padding-right: 14px;
    padding-left: 14px;
  }
  main {
    margin-left: 208px;
    padding-right: 28px;
    padding-left: 28px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat strong {
    font-size: 31px;
  }
  .metric-large {
    font-size: 22px !important;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .overview-side {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) and (min-width: 641px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-side {
    grid-template-columns: 1fr;
  }
  .workspace-private {
    font-size: 10px;
  }
}
@media (max-width: 640px) {
  .sidebar {
    position: relative;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
    padding: 18px 16px 12px;
  }
  .brand {
    margin: 0 0 17px;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .brand-name {
    font-size: 24px;
  }
  .brand-name span {
    font-size: 17px;
  }
  .nav-label,
  .service-label,
  .sidebar-version {
    display: none;
  }
  nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    scrollbar-width: none;
    padding-bottom: 3px;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  .nav {
    width: auto;
    min-height: 42px;
    flex-shrink: 0;
    padding: 10px 12px;
    margin: 0;
    gap: 8px;
    font-size: 11px;
  }
  .nav.active:before {
    display: none;
  }
  .nav-count {
    display: none;
  }
  .nav .icon {
    width: 16px;
    height: 16px;
  }
  .sidebar-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 13px;
    margin-top: 11px;
    border-top: 1px solid var(--line);
  }
  .sidebar-bottom #worker {
    flex: 1;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 9px;
  }
  .sidebar-bottom .nav {
    font-size: 10px;
    min-height: 40px;
    padding: 8px 5px;
  }
  .sidebar-bottom .nav .icon {
    width: 14px;
    height: 14px;
  }
  main {
    margin-left: 0;
    padding: 0 16px 22px;
  }
  .workspace-bar {
    height: 49px;
    margin-bottom: 24px;
    font-size: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .workspace-private {
    font-size: 9px;
  }
  header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 28px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .view-description {
    font-size: 11px;
    max-width: 215px;
    line-height: 1.65;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .primary {
    font-size: 10px;
    padding: 10px;
    max-width: 120px;
    white-space: normal;
    min-height: 40px;
  }
  .header-actions .icon-button {
    width: 35px;
    min-height: 40px;
  }
  .sync-line {
    font-size: 9px;
    margin-bottom: 19px;
    gap: 8px;
  }
  .status-banner {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 11px;
    padding: 15px;
    margin-bottom: 17px;
    align-items: start;
  }
  .status-banner h2 {
    font-size: 12px;
  }
  .status-banner p {
    font-size: 10px;
  }
  .status-banner > div:nth-child(2) {
    min-width: 0;
  }
  .status-banner .link-button,
  .status-banner .secondary {
    grid-column: 2;
    margin: 0;
    justify-self: start;
    min-height: 32px;
    font-size: 10px;
    padding: 3px 0;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 17px 16px;
    border-radius: 13px;
  }
  .stat p {
    font-size: 11px;
  }
  .stat-heading {
    margin-bottom: 14px;
    gap: 5px;
  }
  .stat-heading .icon {
    width: 23px;
    height: 23px;
    padding: 4px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat > span {
    font-size: 10px;
    margin-top: 10px;
  }
  .metric-large {
    font-size: 22px !important;
    padding: 4px 0;
  }
  .overview-columns,
  .overview-side {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-head h3 {
    font-size: 12px;
  }
  .panel-head p.small {
    font-size: 9px;
  }
  .panel-head .link-button {
    font-size: 10px;
  }
  .fleet-row {
    padding: 19px 17px;
  }
  .fleet-top {
    gap: 10px;
    flex-wrap: wrap;
  }
  .fleet-name h3 {
    font-size: 12px;
  }
  .fleet-top .pill {
    font-size: 9px;
    padding: 4px 6px;
  }
  .fleet-meta {
    font-size: 10px;
    margin: 14px 0 10px;
  }
  .flag-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .check-strip {
    gap: 3px;
    height: 19px;
  }
  .check-strip span {
    height: 19px;
  }
  .check-caption {
    font-size: 8px;
  }
  .panel-foot {
    padding: 10px 17px;
    font-size: 9px;
  }
  .panel-foot .link-button {
    font-size: 10px;
  }
  .empty-inline {
    padding: 25px 20px;
  }
  .context-note {
    font-size: 10px;
    margin-top: 12px;
  }
  .toolbar {
    gap: 8px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .toolbar input {
    min-width: 100%;
    max-width: none;
  }
  .toolbar select {
    flex: 1;
    min-width: 120px;
  }
  .data-table {
    white-space: normal;
  }
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
  }
  .data-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 19px 17px;
    border-bottom: 1px solid var(--line);
  }
  .data-table tbody tr:last-child {
    border-bottom: 0;
  }
  .data-table td {
    padding: 0;
    border: 0;
    font-size: 11px;
    min-width: 0;
  }
  .data-table td:first-child {
    grid-column: 1/-1;
  }
  .data-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    color: var(--subtle);
    font-size: 9px;
    margin-bottom: 6px;
  }
  .name-button {
    max-width: 100%;
  }
  .name-button strong {
    max-width: 240px;
  }
  .data-table td:last-child {
    justify-self: end;
  }
  .country-tags {
    max-width: none;
  }
  .country-tag {
    font-size: 9px;
  }
  .pagination {
    padding: 14px;
    font-size: 10px;
    gap: 10px;
  }
  .pagination .buttons {
    gap: 6px;
  }
  .grid,
  .row {
    grid-template-columns: 1fr;
  }
  .node-card {
    padding: 21px;
  }
  .node-card .buttons button {
    min-height: 40px;
  }
  .help {
    padding: 22px;
  }
  .help p {
    font-size: 12px;
  }
  .backup-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .backup-step:before {
    font-size: 18px;
    margin-bottom: 9px;
  }
  .journal-table tr {
    display: block;
  }
  .journal-table td {
    margin-bottom: 10px;
    max-width: none !important;
  }
  .journal-table td:last-child {
    margin-bottom: 0;
  }
  .detail {
    inset: 6px;
    width: auto;
    max-width: none;
    border-radius: 15px;
    padding: 32px 18px;
  }
  .detail h2 {
    font-size: 21px;
  }
  .detail .card-head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .detail .card-head .avatar {
    width: 38px;
    height: 38px;
  }
  .detail .card-head .pill {
    margin-left: 0;
  }
  .device {
    padding: 17px;
  }
  .profile-top {
    font-size: 11px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .profile-top .pill {
    font-size: 9px;
  }
  .section-title h3 {
    font-size: 13px;
  }
  .section-title .link-button {
    font-size: 11px;
  }
  dialog {
    padding: 29px 22px;
    max-width: calc(100vw - 24px);
  }
  dialog h2 {
    font-size: 21px;
  }
  .delivery-country {
    align-items: flex-start;
  }
  .notice {
    font-size: 11px;
  }
  .delivery-option .buttons {
    gap: 7px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-intro {
    display: none;
  }
  .login-card {
    width: 360px;
    max-width: calc(100% - 48px);
  }
  footer {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
  }
}
@media (max-width: 360px) {
  header {
    flex-wrap: wrap;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .fleet-top .pill {
    margin-left: 44px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.tariff-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tariff-card h2 {
  margin: 22px 0 12px;
  overflow-wrap: anywhere;
}
.tariff-card p {
  min-height: 42px;
  margin: 15px 0 20px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tariff-heading,
.payment-entry-head,
.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tariff-price {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.country-choice {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.country-choice legend {
  color: var(--muted);
  font-size: 12px;
  padding: 0 6px;
}
.payment-section {
  margin: 30px 0;
}
.payment-total {
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.payment-total strong {
  color: var(--ink);
  font-size: 19px;
}
.payment-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.payment-entry-head strong {
  font-size: 16px;
}
.payment-entry-head span {
  color: var(--muted);
  font-size: 12px;
}
.payment-entry p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 5px;
}
.payment-list > p {
  margin: 16px 0;
}
.payment-section > button {
  margin-top: 15px;
}
.billing-summary,
.payment-preview {
  margin: 12px 0;
  line-height: 1.6;
}
.payment-preview {
  color: var(--green);
}
.creation-payment {
  padding: 4px 0 12px;
}
@media (max-width: 1100px) {
  .tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tariff-card {
    padding: 20px;
  }
}

/* Restrained motion inspired by Animata; all statuses use actual API results. */
.sidebar nav {
  position: relative;
  isolation: isolate;
}
#nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
  border: 1px solid #85b5ff26;
  border-radius: 9px;
  background: #85b5ff0e;
  opacity: 0;
}
.indicator-ready #nav-indicator {
  opacity: 1;
  transition:
    transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1),
    width 220ms,
    height 220ms;
}
.sidebar .indicator-ready .nav.active {
  background: transparent;
  border-color: transparent;
}
.sidebar .indicator-ready .nav.active:before {
  display: none;
}
button[data-state] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button[data-state] .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
button[data-state='pending'],
button[data-state='queued'] {
  opacity: 1;
  cursor: wait;
}
button[data-state='success'] {
  background: #1c4737;
  color: #a1efce;
  border-color: #3c876b;
  opacity: 1;
}
button[data-state='error'] {
  background: #42232c;
  color: #ffc2ca;
  border-color: #b67582;
}
.button-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  flex-shrink: 0;
  animation: button-spin 700ms linear infinite;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.connection-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff02;
}
.proof-latency {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.proof-latency strong {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.proof-latency small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.proof-latency .small {
  font-size: 10px;
}
.proof-tests {
  display: flex;
  gap: 17px;
}
.proof-test {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
}
.proof-test .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}
.proof-test small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.proof-test.passed .icon {
  color: var(--green);
}
.proof-test.failed .icon {
  color: var(--red);
}
.proof-test.unconfirmed {
  color: var(--muted);
}
.fleet-row.verified .flag-badge {
  border-color: #72dfb344;
}
.skeleton-view {
  pointer-events: none;
}
.skeleton-bar,
.skeleton-number,
.skeleton-avatar {
  display: block;
  border-radius: 5px;
  background: #252b36;
  animation: skeleton-breathe 1600ms ease-in-out infinite;
}
.skeleton-bar {
  width: 65%;
  height: 12px;
  margin: 10px 0;
}
.skeleton-bar + .skeleton-bar {
  width: 44%;
  height: 9px;
}
.skeleton-number {
  width: 85px;
  height: 34px;
  margin: 16px 0;
}
.skeleton-list {
  padding: 8px 20px;
}
.skeleton-banner-copy {
  flex: 1;
}
.skeleton-country {
  padding: 8px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.skeleton-country .skeleton-row {
  border: 0;
  padding-bottom: 8px;
}
.skeleton-proof {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 8px 0 16px;
}
.skeleton-proof > div {
  flex: 1;
}
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.skeleton-row:last-child {
  border-bottom: 0;
}
.skeleton-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
}
.skeleton-row > div {
  flex: 1;
}
.detail-loading-body {
  min-height: 320px;
}
dialog[open] {
  animation: modal-arrive 180ms ease-out;
}
dialog[open]::backdrop {
  animation: shade-arrive 180ms ease-out;
}
.detail:not(.hidden) {
  animation: drawer-arrive 200ms ease-out;
}
.shade:not(.hidden) {
  animation: shade-arrive 200ms ease-out;
}
@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes skeleton-breathe {
  50% {
    opacity: 0.45;
  }
}
@keyframes modal-arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes drawer-arrive {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes shade-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 640px) {
  .connection-proof {
    gap: 10px;
    padding: 12px;
  }
  .proof-tests {
    gap: 12px;
  }
  .proof-latency strong {
    font-size: 21px;
  }
  .proof-test small {
    max-width: 78px;
  }
  .skeleton-view .overview-columns {
    display: block;
  }
  .skeleton-list {
    padding: 5px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #nav-indicator,
  .indicator-ready #nav-indicator {
    transition: none;
  }
  .button-spinner,
  .skeleton-bar,
  .skeleton-number,
  .skeleton-avatar,
  dialog[open],
  dialog[open]::backdrop,
  .detail:not(.hidden),
  .shade:not(.hidden) {
    animation: none;
  }
}
