/* =============================================================
   DSH Console — modern dashboard theme
   Palette: neutral dark + indigo accent, Linear/Vercel-ish.
   ============================================================= */

/* ---------- design tokens ---------- */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Code",
    "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --bg:        #0a0a0e;
  --surface:   #121218;
  --surface-2: #17171f;
  --surface-3: #1e1e29;
  --border:    rgba(255, 255, 255, .07);
  --border-2:  rgba(255, 255, 255, .12);
  --border-3:  rgba(255, 255, 255, .18);

  --text:   #edeef3;
  --text-2: #a3a4b0;
  --text-3: #6c6d7c;

  --accent:     #6366f1;
  --accent-2:   #7c83f7;
  --accent-dim: rgba(99, 102, 241, .14);
  --success:    #10b981;
  --success-lt: #34d399;
  --warning:    #f59e0b;
  --danger:     #f43f5e;
  --danger-lt:  #fb7185;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow:    0 4px 18px rgba(0, 0, 0, .38);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .55);

  --header-h: 60px;
  --page-w: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 420px at 50% -12%, rgba(99, 102, 241, .10), transparent 72%),
    radial-gradient(600px 300px at 100% 0%, rgba(124, 58, 237, .06), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(99, 102, 241, .32); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* thin scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.14);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.24); background-clip: content-box; }

a { color: var(--accent-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: #a5abff; }

/* ---------- app shell ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 14, .74);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border-bottom: 1px solid var(--border);
}

.app-header__inner {
  max-width: var(--page-w);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #6366f1, #8b5cf6 60%, #a855f7);
  box-shadow: 0 2px 10px rgba(99, 102, 241, .4), inset 0 1px 0 rgba(255,255,255,.22);
}

.app-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
  color: var(--text-2);
}
.user-chip__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #6366f1, #8b5cf6);
}

.app-main {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 32px 24px 88px;
}

/* ---------- page heading ---------- */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.page-head h1 {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -.02em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-head .sub {
  margin-top: 3px;
  color: var(--text-3);
  font-size: 13px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--text-3);
}
.breadcrumb a {
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a:hover { color: var(--text-2); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 16px; }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card__title {
  font-size: 13px;
  font-weight: 620;
  letter-spacing: .01em;
  color: var(--text-2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease,
              color .15s ease, box-shadow .15s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; opacity: .9; }

.btn--sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn--primary:hover { background: var(--accent-2); color: #fff; }

.btn--success {
  background: var(--success);
  color: #03150e;
  box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--success:hover { background: var(--success-lt); color: #03150e; }

.btn--ghost {
  background: var(--surface-2);
  border-color: var(--border-2);
  color: var(--text-2);
}
.btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-3);
  color: var(--text);
}

.btn--danger {
  background: rgba(244, 63, 94, .1);
  border-color: rgba(244, 63, 94, .26);
  color: var(--danger-lt);
}
.btn--danger:hover {
  background: rgba(244, 63, 94, .18);
  border-color: rgba(244, 63, 94, .42);
  color: #fecdd3;
}

.btn[disabled], .btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__label { display: inline; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 23px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: .015em;
  white-space: nowrap;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.badge--online {
  color: var(--success-lt);
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .22);
}
.badge--online .badge__dot {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .16);
  animation: dsh-pulse 2.4s ease-in-out infinite;
}

.badge--starting, .badge--pending, .badge--dispatched {
  color: #fbbf24;
  background: rgba(245, 158, 11, .1);
  border-color: rgba(245, 158, 11, .22);
}
.badge--starting .badge__dot { animation: dsh-pulse 1.4s ease-in-out infinite; }

.badge--stopped, .badge--error, .badge--failed {
  color: var(--danger-lt);
  background: rgba(244, 63, 94, .1);
  border-color: rgba(244, 63, 94, .22);
}

.badge--done, .badge--ok {
  color: var(--success-lt);
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .22);
}

.badge--offline, .badge--unknown {
  color: var(--text-3);
  background: rgba(255, 255, 255, .05);
  border-color: var(--border);
}

@keyframes dsh-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ---------- stat row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.stat__value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat--online .stat__value { color: var(--success-lt); }
.stat--offline .stat__value { color: var(--text-2); }
.stat--total .stat__value { color: var(--text); }

/* ---------- node grid ---------- */
.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.node-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  overflow: hidden;
}
.node-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background-color .18s ease;
}
.node-card:hover {
  border-color: var(--border-3);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.node-card.is-online::before { background: var(--success); }
.node-card.is-stopped::before { background: var(--danger); }
.node-card.is-starting::before { background: var(--warning); }

.node-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.node-card__name {
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.node-card__name a { color: var(--text); }
.node-card__name a:hover { color: var(--accent-2); }
.node-card__id {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
}

.node-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  font-size: 12.5px;
}
.node-meta dt {
  color: var(--text-3);
  white-space: nowrap;
}
.node-meta dd {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.node-meta dd.plain { font-family: var(--font-sans); font-size: 12.5px; }

.node-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.node-card__actions .spacer { flex: 1; }

/* ---------- info list ---------- */
.info-list { display: flex; flex-direction: column; }
.info-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row__label { color: var(--text-3); font-size: 12.5px; }
.info-row__value { color: var(--text-2); word-break: break-word; }
.info-row__value.mono { font-family: var(--font-mono); font-size: 12px; }
.info-row__value.strong { color: var(--text); font-weight: 550; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-2);
}
.field__hint { font-size: 12px; color: var(--text-3); }

.input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--border-3); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.input-row .field { flex: 1; min-width: 0; }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-sm);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  padding: 9px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--border-2);
  white-space: nowrap;
}
.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .12s ease; }
.table tbody tr:hover { background: rgba(255, 255, 255, .022); }
.table .mono { font-family: var(--font-mono); font-size: 12px; }
.table .dim { color: var(--text-3); }
.table .num { font-variant-numeric: tabular-nums; color: var(--text-3); }

/* ---------- notices & tags ---------- */
.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  line-height: 1.6;
}
.notice svg { margin-top: 2px; flex: none; }
.notice--warn {
  color: #fbbf24;
  background: rgba(245, 158, 11, .07);
  border: 1px solid rgba(245, 158, 11, .24);
}
.notice--warn b { color: #fde68a; font-weight: 620; }
.notice .mono { color: #fde68a; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: .02em;
  white-space: nowrap;
}
.tag--manual { color: var(--accent-2); background: var(--accent-dim); border-color: rgba(99, 102, 241, .26); }
.tag--auto { color: var(--text-3); background: rgba(255, 255, 255, .05); border-color: var(--border); }

.field__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
  font-size: 11.5px;
  color: #fbbf24;
}
.card-hint svg { flex: none; }

/* ---------- action bar ---------- */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.action-bar form { display: inline-flex; }

/* ---------- flashes ---------- */
.flashes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 13px;
  animation: dsh-slide-in .28s ease both;
}
.flash svg { margin-top: 1px; flex: none; }
.flash--ok {
  color: var(--success-lt);
  background: rgba(16, 185, 129, .07);
  border-color: rgba(16, 185, 129, .24);
}
.flash--error {
  color: var(--danger-lt);
  background: rgba(244, 63, 94, .07);
  border-color: rgba(244, 63, 94, .24);
}
.flash.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }

@keyframes dsh-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- empty state ---------- */
.empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-lg);
}
.empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: var(--accent-dim);
  border: 1px solid rgba(99, 102, 241, .28);
}
.empty__title { font-size: 15px; font-weight: 620; margin-bottom: 6px; }
.empty__text { color: var(--text-3); font-size: 13px; }
.empty .code-block {
  display: inline-block;
  margin: 18px auto 0;
  text-align: left;
  max-width: 100%;
}

/* ---------- code ---------- */
.code-block {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 12px 15px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--success-lt);
  white-space: pre;
}
.code-block .cmt { color: var(--text-3); }

kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--border-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

/* ---------- auth ---------- */
body.is-auth .app-main {
  min-height: 100vh;
  max-width: none;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
body.is-auth .flashes { width: 100%; max-width: 400px; }

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-lg);
  animation: dsh-rise .4s cubic-bezier(.21,.9,.35,1) both;
}
.auth-card__logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #6366f1, #8b5cf6 60%, #a855f7);
  box-shadow: 0 8px 28px rgba(99, 102, 241, .38), inset 0 1px 0 rgba(255,255,255,.25);
}
.auth-card__title {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -.02em;
  text-align: center;
}
.auth-card__sub {
  margin: 6px 0 26px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.auth-card .field + .field { margin-top: 14px; }
.auth-card .btn { margin-top: 22px; }
.auth-card__foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

@keyframes dsh-rise {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to   { opacity: 1; transform: none; }
}

/* ---------- detail layout ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.empty-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 0;
  color: var(--text-3);
  font-size: 13px;
}
.empty-inline__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.detail-grid .card + .card { margin-top: 0; }

/* ---------- danger zone ---------- */
.card--danger { border-color: rgba(244, 63, 94, .22); }
.card--danger .card__title { color: var(--danger-lt); }
.danger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.danger-row p { font-size: 12.5px; color: var(--text-3); }

/* ---------- refresh hint ---------- */
.refresh-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
}
.refresh-hint__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .14);
  animation: dsh-pulse 2.4s ease-in-out infinite;
}

/* ---------- utilities ---------- */
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); font-size: 12px; }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- footer ---------- */
.app-foot {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 24px 40px;
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .app-header__inner { padding: 0 16px; }
  .app-main { padding: 22px 16px 70px; }
  .app-foot { padding: 0 16px 32px; }
  .brand__name { display: none; }
  .user-chip__name { display: none; }
  .node-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px 12px; }
  .stat__value { font-size: 20px; }
  .stat__label { font-size: 11px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .info-row { grid-template-columns: 76px 1fr; }
  .auth-card { padding: 26px 22px 24px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
