:root {
  --canvas: #0b0b0e;
  --panel: #121217;
  --panel-raised: #17171d;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.84);
  --muted-strong: rgba(255, 255, 255, 0.96);
  --primary: #ff2742;
  --primary-light: #ff6549;
  --primary-dark: #c4001f;
  --green: #35d07f;
  --amber: #ffb648;
  --red: #ff4256;
  --gradient: linear-gradient(100deg, #ff6a2b 0%, #ff3549 36%, #ef003d 68%, #ad001f 100%);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(255, 39, 66, 0.36);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0c0c0f;
}

::-webkit-scrollbar-thumb {
  background: #2a2a31;
  border: 2px solid #0c0c0f;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a43;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

.ambient-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
}

.ambient-glow-a {
  width: 900px;
  height: 620px;
  top: -330px;
  left: -260px;
  background: radial-gradient(ellipse, rgba(255, 39, 66, 0.19) 0%, rgba(255, 39, 66, 0) 68%);
}

.ambient-glow-b {
  width: 720px;
  height: 620px;
  top: 140px;
  right: -300px;
  background: radial-gradient(circle, rgba(255, 100, 32, 0.09) 0%, rgba(255, 100, 32, 0) 68%);
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 18px clamp(20px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 14, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 39, 66, 0.16));
}

.brand-divider {
  width: 1px;
  height: 25px;
  background: var(--line-strong);
}

.brand-sub {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.connection-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(53, 208, 127, 0.18);
  border-radius: 999px;
  background: rgba(53, 208, 127, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.connection-chip.is-offline {
  border-color: rgba(255, 66, 86, 0.22);
  background: rgba(255, 66, 86, 0.07);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.08), 0 0 12px rgba(53, 208, 127, 0.55);
}

.connection-chip.is-offline .status-dot,
.service-status.is-offline .status-dot,
.endpoint-item.is-offline .status-dot,
.status-pill.is-offline .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 66, 86, 0.07), 0 0 12px rgba(255, 66, 86, 0.48);
}

.connection-chip.is-warn .status-dot,
.service-status.is-warn .status-dot,
.status-pill.is-warn .status-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 182, 72, 0.07), 0 0 12px rgba(255, 182, 72, 0.4);
}

.last-sync {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 84px;
}

.last-sync span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.last-sync strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: 180ms ease;
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.icon-button:hover {
  border-color: rgba(255, 39, 66, 0.42);
  background: rgba(255, 39, 66, 0.09);
  color: #fff;
}

.icon-button.is-spinning svg {
  animation: spin 0.75s linear infinite;
}

.auto-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}

.auto-refresh input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch {
  display: flex;
  align-items: center;
  width: 34px;
  height: 19px;
  padding: 2px;
  border-radius: 999px;
  background: #2a2a31;
  transition: 180ms ease;
}

.switch span {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease;
}

.auto-refresh input:checked + .switch {
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(255, 39, 66, 0.3);
}

.auto-refresh input:checked + .switch span {
  transform: translateX(15px);
}

.auto-refresh input:focus-visible + .switch {
  outline: 2px solid rgba(255, 70, 90, 0.8);
  outline-offset: 3px;
}

.dashboard {
  max-width: 1660px;
  margin: 0 auto;
  padding: 42px 34px 34px;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 39, 66, 0));
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 10px;
  background: linear-gradient(104deg, #ff8152 0%, #ff3a4d 42%, #f4003e 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.5rem, 4.4vw, 4.05rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.intro-copy > p {
  max-width: 560px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.intro-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.source-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012));
}

.source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 39, 66, 0.18);
  border-radius: 9px;
  background: rgba(255, 39, 66, 0.08);
  color: var(--primary-light);
}

.source-icon svg {
  width: 16px;
  height: 16px;
}

.source-badge small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-badge strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

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

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 18px 19px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 39, 66, 0.1), transparent 45%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  animation: rise 0.55s both;
}

.stat-card:nth-child(2) {
  animation-delay: 60ms;
}

.stat-card:nth-child(3) {
  animation-delay: 120ms;
}

.stat-card:nth-child(4) {
  animation-delay: 180ms;
}

.stat-card::before {
  position: absolute;
  top: 0;
  left: 18px;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, #ff7043, var(--primary));
  content: "";
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 39, 66, 0.17);
  border-radius: 9px;
  background: rgba(255, 39, 66, 0.07);
  color: #ff5564;
}

.stat-icon svg {
  width: 16px;
  height: 16px;
}

.stat-label {
  color: #ff5564;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.stat-value {
  margin-top: 16px;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-value span {
  margin-left: 5px;
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.stat-bar {
  overflow: hidden;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.stat-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a4c, #ff2742 62%, #c4001f);
  box-shadow: 0 0 14px rgba(255, 39, 66, 0.45);
  transition: width 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-note {
  overflow: hidden;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-section {
  margin-top: 38px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

h2 {
  margin-top: 7px;
  color: var(--primary);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.section-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 3px;
}

.mini-chip {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-endpoint {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
}

.node-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.node-row {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--panel);
  box-shadow: 0 24px 70px -52px rgba(0, 0, 0, 0.95);
  animation: rise 0.5s both;
}

.node-row.is-primary {
  border-color: rgba(255, 39, 66, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 39, 66, 0.035),
    0 30px 90px -58px rgba(255, 39, 66, 0.6);
}

.node-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 39, 66, 0.75), transparent);
  content: "";
  opacity: 0.65;
}

.node-row.is-unreachable::before {
  background: linear-gradient(180deg, transparent, rgba(255, 66, 86, 0.75), transparent);
  opacity: 0.9;
}

.node-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.node-identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 39, 66, 0.075), transparent 48%),
    #111116;
}

.node-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.node-kicker {
  color: #ff5d63;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.node-role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.node-name {
  overflow: hidden;
  margin-top: 11px;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-endpoint {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-endpoint svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: rgba(255, 90, 95, 0.72);
}

.node-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.node-meta-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.node-meta-value {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-network {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
}

.node-network span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.node-network svg {
  width: 10px;
  height: 10px;
  color: rgba(255, 86, 94, 0.8);
}

.node-network .upload svg {
  color: rgba(255, 129, 72, 0.9);
}

.node-power-meta {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
}

.node-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(53, 208, 127, 0.17);
  border-radius: 999px;
  background: rgba(53, 208, 127, 0.055);
  color: rgba(255, 255, 255, 0.75);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-pill .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.06), 0 0 8px rgba(53, 208, 127, 0.45);
}

.status-pill.is-offline {
  border-color: rgba(255, 66, 86, 0.2);
  background: rgba(255, 66, 86, 0.06);
}

.status-pill.is-stopped {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.status-pill.is-stopped .status-dot {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.035);
}

.status-pill.is-warn {
  border-color: rgba(255, 182, 72, 0.2);
  background: rgba(255, 182, 72, 0.06);
}

.metric-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 204px;
  padding: 18px 19px 16px;
  background:
    radial-gradient(circle at 105% 0%, rgba(255, 39, 66, 0.07), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.031), rgba(255, 255, 255, 0.009));
  transition: background 180ms ease;
}

.metric-cell:hover {
  background:
    radial-gradient(circle at 105% 0%, rgba(255, 39, 66, 0.11), transparent 44%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.metric-label {
  color: #ff5965;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metric-tag {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-body {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
  margin: 12px 0 9px;
}

.gauge-box {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

.gauge-box canvas {
  width: 100% !important;
  height: 100% !important;
}

.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 1px;
  pointer-events: none;
}

.gauge-value {
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 88px;
}

.gauge-unit {
  margin-left: 1px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 500;
  line-height: 88px;
}

.spark-box {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 58px;
  flex: 1 1 auto;
}

.spark-box canvas {
  width: 100% !important;
  height: 100% !important;
}

.metric-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.metric-primary {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-secondary {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  line-height: 1.4;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-cell.is-stale .gauge-box,
.metric-cell.is-stale .spark-box,
.metric-cell.is-stale .metric-foot {
  opacity: 0.38;
}

.btn-gradient,
.btn-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background-image: var(--gradient);
  background-size: 150% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow:
    0 9px 24px -13px rgba(255, 39, 66, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-position 240ms ease,
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.btn-gradient::after,
.btn-action::after {
  position: absolute;
  top: -80%;
  left: -35%;
  width: 30%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  transform: rotate(18deg);
  transition: left 460ms ease;
}

.btn-gradient:hover::after,
.btn-action:hover::after {
  left: 120%;
}

.btn-gradient:hover,
.btn-action:hover:not(:disabled) {
  background-position: 100% 50%;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-gradient:active,
.btn-action:active:not(:disabled) {
  transform: translateY(0);
}

.btn-action {
  min-height: 29px;
  padding: 6px 10px;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.btn-action svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.btn-action:disabled {
  border-color: rgba(255, 255, 255, 0.055);
  background-image: none;
  background-color: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.btn-action.is-pending {
  background-image: var(--gradient);
  color: #fff;
  cursor: wait;
}

.btn-action.is-pending svg {
  animation: spin 0.9s linear infinite;
}

.drive-section {
  margin-top: 38px;
}

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

.drive-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 39, 66, 0.085), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.039), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  animation: rise 0.5s both;
}

.drive-card:nth-child(2) {
  animation-delay: 50ms;
}

.drive-card:nth-child(3) {
  animation-delay: 100ms;
}

.drive-card:nth-child(4) {
  animation-delay: 150ms;
}

.drive-card::before {
  position: absolute;
  top: 0;
  left: 18px;
  width: 39px;
  height: 1px;
  background: linear-gradient(90deg, #ff7740, var(--primary));
  content: "";
}

.drive-card.is-offline {
  border-color: rgba(255, 66, 86, 0.2);
}

.drive-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.drive-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 39, 66, 0.17);
  border-radius: 9px;
  background: rgba(255, 39, 66, 0.07);
  color: #ff5a63;
}

.drive-icon svg {
  width: 17px;
  height: 17px;
}

.drive-titles {
  min-width: 0;
  flex: 1 1 auto;
}

.drive-kicker {
  overflow: hidden;
  color: #ff5a63;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.drive-model {
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-badge {
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
  font-family: "JetBrains Mono", monospace;
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.drive-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-temp {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-status .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.05), 0 0 8px rgba(53, 208, 127, 0.4);
}

.drive-status.is-offline .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 66, 86, 0.06), 0 0 8px rgba(255, 66, 86, 0.4);
}

.drive-status.is-warn .status-dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 182, 72, 0.06), 0 0 8px rgba(255, 182, 72, 0.35);
}

.drive-capacity {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 15px;
}

.drive-capacity strong {
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.drive-capacity span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.drive-meter {
  overflow: hidden;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.drive-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8344, #ff2742 64%, #c4001f);
  box-shadow: 0 0 14px rgba(255, 39, 66, 0.42);
  transition: width 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drive-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 13px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.drive-stats > div {
  min-width: 0;
  padding: 9px;
  background: rgba(15, 15, 20, 0.9);
}

.drive-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.drive-stats strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
}

.drive-foot span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-foot span:last-child {
  text-align: right;
}

.drive-skeleton {
  min-height: 236px;
}

.drive-skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

.monitoring-panel {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 39, 66, 0.085), transparent 36%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.monitoring-panel::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, #ff7440, var(--primary));
  content: "";
}

.monitoring-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.monitoring-tag {
  padding: 5px 9px;
  border: 1px solid rgba(53, 208, 127, 0.15);
  border-radius: 999px;
  background: rgba(53, 208, 127, 0.055);
  color: rgba(255, 255, 255, 0.82);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.monitoring-tag.is-offline {
  border-color: rgba(255, 66, 86, 0.18);
  background: rgba(255, 66, 86, 0.055);
}

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

.service-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 17px;
  background: rgba(9, 9, 12, 0.38);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 39, 66, 0.19);
  border-radius: 10px;
  background: rgba(255, 39, 66, 0.07);
  color: #ff5b63;
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-kicker {
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-head h3 {
  margin-top: 3px;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(53, 208, 127, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-status .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.05), 0 0 8px rgba(53, 208, 127, 0.4);
}

.service-status.is-offline {
  border-color: rgba(255, 66, 86, 0.17);
}

.service-endpoint {
  overflow: hidden;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.service-stats > div {
  min-width: 0;
  padding: 10px 9px;
  background: #111116;
}

.service-stats span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-stats strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
}

.endpoint-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.endpoint-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.endpoint-item .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.04), 0 0 7px rgba(53, 208, 127, 0.35);
}

.endpoint-item span:nth-child(2) {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-item code {
  overflow: hidden;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.8);
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 18px 2px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.84);
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-divider {
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(370px, calc(100vw - 28px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--primary);
  border-radius: 13px;
  background: rgba(20, 20, 25, 0.96);
  box-shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  animation: toastIn 0.28s ease both;
}

.toast.is-leaving {
  animation: toastOut 0.22s ease both;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(255, 39, 66, 0.09);
  color: #ff5b63;
}

.toast-icon svg {
  width: 14px;
  height: 14px;
}

.toast.success {
  border-left-color: var(--green);
}

.toast.success .toast-icon {
  background: rgba(53, 208, 127, 0.08);
  color: var(--green);
}

.toast.error {
  border-left-color: var(--red);
}

.toast.warning {
  border-left-color: var(--amber);
}

.toast.warning .toast-icon {
  background: rgba(255, 182, 72, 0.08);
  color: var(--amber);
}

.toast-title {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.toast-message {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-layer[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(9px);
}

.modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 39, 66, 0.11), transparent 44%),
    linear-gradient(155deg, #18181e, #101014);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.95);
  animation: modalIn 0.24s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 39, 66, 0.19);
  border-radius: 12px;
  background: rgba(255, 39, 66, 0.08);
  color: #ff5361;
}

.modal-icon svg {
  width: 22px;
  height: 22px;
}

.modal-kicker {
  color: var(--primary-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-card h2 {
  margin-top: 6px;
  color: #ff4350;
  font-size: 25px;
}

.modal-card > p:last-of-type {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.modal-confirm-field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.modal-confirm-field[hidden] {
  display: none;
}

.modal-confirm-field strong {
  color: #ff5361;
  font-family: inherit;
}

.modal-confirm-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 13px;
}

.modal-confirm-field input:focus {
  outline: none;
  border-color: rgba(255, 39, 66, 0.5);
}


.modal-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}

.modal-cancel {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 160ms ease;
}

.modal-cancel:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-confirm {
  padding: 9px 17px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.skeleton-row {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--panel);
}

.skeleton-grid {
  display: grid;
  grid-template-columns: 290px repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.skeleton-cell {
  position: relative;
  overflow: hidden;
  min-height: 204px;
  background: #121217;
}

.skeleton-cell::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

.skeleton-cell.short {
  min-height: 150px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(12px) scale(0.98);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 720px) and (max-width: 1199px) {
  .node-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .node-identity {
    grid-column: 1 / -1;
  }

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

  .skeleton-grid .skeleton-cell:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .node-grid {
    grid-template-columns: 298px repeat(3, minmax(0, 1fr));
  }

  .node-row.is-primary .node-grid {
    grid-template-columns: 322px repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard {
    padding: 30px 20px 28px;
  }

  .page-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .monitoring-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand-logo {
    width: 128px;
  }

  .brand-sub,
  .brand-divider,
  .last-sync {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .connection-chip {
    padding: 7px 10px;
  }

  .auto-refresh-label {
    display: none;
  }

  .dashboard {
    padding: 25px 14px 24px;
  }

  .page-intro {
    margin-bottom: 22px;
  }

  .intro-copy > p {
    font-size: 12px;
  }

  .intro-badges {
    width: 100%;
  }

  .source-badge {
    flex: 1 1 145px;
    min-width: 0;
  }

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

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 27px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-meta {
    padding-bottom: 0;
  }

  .metric-cell {
    min-height: 188px;
    padding: 17px;
  }

  .gauge-box {
    width: 82px;
    height: 82px;
  }

  .gauge-value,
  .gauge-unit {
    line-height: 82px;
  }

  .monitoring-panel {
    padding: 19px;
  }

  .monitoring-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .endpoint-strip {
    grid-template-columns: 1fr;
  }

  .drive-grid {
    grid-template-columns: 1fr;
  }

  .toast-stack {
    right: 14px;
    bottom: 14px;
  }

  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .skeleton-grid .skeleton-cell:first-child {
    grid-column: auto;
  }
}


.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.login-shell {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  animation: rise 0.55s both;
}

.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.login-logo {
  display: block;
  width: 195px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 39, 66, 0.2));
}

.login-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 39, 66, 0.13), transparent 43%),
    linear-gradient(155deg, #18181e, #101014);
  box-shadow: 0 40px 120px -34px rgba(0, 0, 0, 0.95);
}

.login-card::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, #ff8042, var(--primary));
  content: "";
}

.login-title {
  margin-top: 10px;
  font-size: clamp(2rem, 8vw, 2.7rem);
}

.login-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 25px;
}

.login-field {
  display: block;
}

.login-field > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  transition: 170ms ease;
}

.login-field input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.login-field input:focus {
  border-color: rgba(255, 39, 66, 0.62);
  background: rgba(255, 39, 66, 0.045);
  box-shadow: 0 0 0 3px rgba(255, 39, 66, 0.08);
}

.login-error {
  padding: 9px 11px;
  border: 1px solid rgba(255, 66, 86, 0.22);
  border-radius: 9px;
  background: rgba(255, 66, 86, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  line-height: 1.45;
}

.login-submit {
  width: 100%;
  height: 44px;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.login-submit svg {
  width: 14px;
  height: 14px;
}

.login-submit.is-loading {
  cursor: wait;
  opacity: 0.72;
}

.login-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.login-foot .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.05), 0 0 8px rgba(53, 208, 127, 0.4);
}

@media (max-width: 520px) {
  .login-card {
    padding: 24px 20px;
  }

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



