:root {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color-scheme: dark;
  color: #eef4ff;
  background: #07090d;
  font-size: 14px;
  --bg: #07090d;
  --bg-2: #0a0d13;
  --surface: rgba(15, 18, 27, 0.96);
  --surface-2: rgba(19, 23, 35, 0.96);
  --surface-3: rgba(25, 30, 43, 0.96);
  --line: rgba(128, 145, 171, 0.18);
  --line-soft: rgba(128, 145, 171, 0.11);
  --text: #eef4ff;
  --muted: #9ea8ba;
  --muted-2: #6f7a8f;
  --accent: #63f0dd;
  --accent-2: #9a8cff;
  --accent-3: #f0c86a;
  --red: #ff7484;
  --green: #5be3b5;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #07090d 0%, #0a0d13 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(transparent 0, transparent 27px, rgba(124, 140, 165, 0.08) 27px, rgba(124, 140, 165, 0.08) 28px),
    linear-gradient(90deg, transparent 0, transparent 27px, rgba(124, 140, 165, 0.08) 27px, rgba(124, 140, 165, 0.08) 28px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(120deg, rgba(99, 240, 221, 0.06) 0%, transparent 16%, transparent 70%, rgba(154, 140, 255, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.02));
}
button, input, select, textarea { font: inherit; }
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 23, 35, 0.96);
  color: var(--text);
  padding: 8px 14px;
  transition: border-color .16s, background .16s, color .16s, transform .16s, box-shadow .16s;
}
button:hover {
  border-color: rgba(99, 240, 221, 0.45);
  background: rgba(24, 30, 43, 0.98);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
button:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
button.primary {
  background: linear-gradient(135deg, rgba(99, 240, 221, 0.98), rgba(99, 240, 221, 0.7));
  color: #031318;
  border-color: rgba(99, 240, 221, 0.9);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(99, 240, 221, 0.14);
}
button.primary:hover {
  background: linear-gradient(135deg, rgba(117, 245, 228, 1), rgba(99, 240, 221, 0.82));
  border-color: rgba(117, 245, 228, 1);
  color: #031318;
  box-shadow: 0 14px 28px rgba(99, 240, 221, 0.22);
}
button.danger {
  color: #ff9aa6;
  border-color: rgba(255, 116, 132, 0.24);
  background: rgba(255, 116, 132, 0.08);
}
button.danger:hover {
  border-color: rgba(255, 116, 132, 0.42);
  background: rgba(255, 116, 132, 0.14);
}
button.text-button {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
button.text-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #93f5e8; }
[hidden] { display: none !important; }

.shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}
aside {
  width: 258px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(12, 15, 23, 0.98), rgba(9, 11, 16, 0.96));
  border-right: 1px solid var(--line-soft);
  color: #c5d5e9;
  padding: 24px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
  backdrop-filter: blur(18px);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.02);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f2f8ff;
  font-size: 22px;
  font-weight: 750;
  margin: 0 6px 40px;
  letter-spacing: -.4px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #051018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-size: 22px;
  box-shadow: 0 12px 24px rgba(99, 240, 221, 0.18);
}
.brand small {
  display: block;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-top: 5px;
}
.nav-caption {
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 0 14px;
  margin-bottom: 12px;
}
nav { display: grid; gap: 6px; }
nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.01);
}
nav a:hover {
  color: #f1f7ff;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(99, 240, 221, 0.18);
}
nav a.active {
  color: #d8fff6;
  background: linear-gradient(135deg, rgba(99, 240, 221, 0.11), rgba(154, 140, 255, 0.1));
  border-color: rgba(99, 240, 221, 0.22);
  box-shadow: inset 3px 0 0 var(--accent);
}
.nav-icon {
  width: 22px;
  color: var(--muted-2);
  text-align: center;
  font-size: 16px;
}
nav a.active .nav-icon { color: var(--accent); }
.sidebar-foot {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding: 20px 10px 0;
  line-height: 1.85;
}
.sidebar-foot small { color: var(--muted-2); }
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(99, 240, 221, 0.08);
}
.workspace {
  margin-left: 258px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
header {
  height: 92px;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 13, 20, 0.84);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 3;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}
h1 {
  font-size: 26px;
  margin: 7px 0 0;
  letter-spacing: -.5px;
  color: var(--text);
}
h2 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text);
}
h3 {
  font-size: 15px;
  margin: 0;
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions #sync {
  font-size: 11px;
  color: var(--muted);
}
.admin-name {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
}
main {
  padding: 28px 40px 28px;
  max-width: 1800px;
  margin: 0 auto;
}
footer {
  color: var(--muted-2);
  font-size: 10px;
  padding: 10px 40px 24px;
}
.muted { color: var(--muted); }
.hint {
  color: #8894a8;
  font-size: 12px;
  line-height: 1.75;
}
.error {
  color: var(--red);
  white-space: pre-wrap;
  min-height: 16px;
}
.notice {
  padding: 14px 16px;
  background: rgba(58, 43, 18, 0.34);
  border: 1px solid rgba(240, 200, 106, 0.22);
  color: #f2c774;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
  box-shadow: inset 3px 0 0 var(--accent-3);
}
.notice.info {
  background: rgba(13, 29, 40, 0.52);
  border-color: rgba(99, 240, 221, 0.2);
  color: #b9f1ec;
  box-shadow: inset 3px 0 0 var(--accent);
}
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.98), rgba(12, 15, 23, 0.98));
  border: 1px solid rgba(124, 140, 165, 0.16);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 240, 221, 0.62), rgba(154, 140, 255, 0.6), transparent);
}
.dashboard-hero-copy { max-width: 760px; }
.dashboard-hero-copy h2 {
  font-size: 24px;
  margin: 8px 0 10px;
}
.dashboard-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.dashboard-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 420px;
  align-items: stretch;
}
.dashboard-hero-metrics > div {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.dashboard-hero-metrics span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.dashboard-hero-metrics strong {
  font-size: 20px;
  letter-spacing: -.4px;
  color: var(--text);
}
.dashboard-hero-metrics small {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  gap: 16px;
}
.section-top > div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.section-top p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat, .panel {
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.96), rgba(12, 15, 22, 0.96));
  border: 1px solid rgba(124, 140, 165, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.stat {
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  min-height: 132px;
}
.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  opacity: .5;
}
.stat:nth-child(2)::after { background: var(--accent-2); }
.stat:nth-child(3)::after { background: var(--green); }
.stat:nth-child(4)::after { background: var(--accent-3); }
.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .5px;
}
.stat-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.8px;
  margin: 12px 0 6px;
  color: var(--text);
}
.stat small {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.6;
}
.stat-value.accent { color: var(--accent); }
.grid2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.panel {
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 240, 221, 0.55), rgba(154, 140, 255, 0.55), transparent);
  opacity: .55;
}
.grid2 > .panel { margin-bottom: 0; }
.flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px 0 2px;
}
.flow-step {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px 10px 12px;
  text-align: center;
  font-size: 12px;
  color: #dbe7f7;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-step b {
  display: block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.flow-step small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.5;
}
.flow-arrow {
  color: rgba(99, 240, 221, 0.45);
  font-size: 18px;
  display: flex;
  align-items: center;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: #b9c6d8;
}
.status-row:last-child { border: 0; }
.status-row b { color: #f2f7ff; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #95a8c2;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge.good {
  color: var(--green);
  background: rgba(91, 227, 181, 0.1);
}
.badge.good::before { box-shadow: 0 0 8px currentColor; }
.badge.warn {
  color: var(--accent-3);
  background: rgba(240, 200, 106, 0.12);
}
.badge.bad {
  color: var(--red);
  background: rgba(255, 116, 132, 0.12);
}
.badge.blue {
  color: var(--accent-2);
  background: rgba(154, 140, 255, 0.12);
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  color: #8090a8;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: #c0cee0;
  line-height: 1.5;
}
tbody tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.01); }
tr:hover td { background: rgba(99, 240, 221, 0.03); }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 600; font-size: 13px; color: #f2f7ff; }
td small {
  display: block;
  margin-top: 4px;
  color: #8090a8;
  font-size: 10px;
}
td button {
  padding: 5px 9px;
  font-size: 11px;
  margin: 2px;
}
.mono, code { font-family: Consolas, monospace; }
.clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.empty {
  text-align: center;
  color: var(--muted-2);
  padding: 52px 24px;
  line-height: 2;
}
.empty b {
  color: #a7b8cc;
  font-weight: 500;
  display: block;
}
.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.node { padding: 18px; margin: 0; }
.node-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.node-hardware {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  margin-bottom: 12px;
}
.node-hardware strong { color: #f2f7ff; }
.node-hardware small {
  display: block;
  color: var(--muted-2);
  margin-top: 7px;
}
.node-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.node-actions button { font-size: 12px; }
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tabs button {
  border-radius: 999px;
  padding: 7px 12px;
}
.tabs button.selected {
  color: #031318;
  border-color: rgba(99, 240, 221, 0.7);
  background: linear-gradient(135deg, rgba(99, 240, 221, 0.98), rgba(99, 240, 221, 0.76));
  box-shadow: 0 10px 24px rgba(99, 240, 221, 0.12);
  font-weight: 700;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #95a4ba;
  margin-bottom: 18px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(9, 12, 19, 0.96);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
input::placeholder, textarea::placeholder { color: #5d6a7f; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(99, 240, 221, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 240, 221, 0.12);
}
input[type=checkbox] {
  width: 16px;
  height: 16px;
  box-shadow: none;
  accent-color: var(--accent);
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}
textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.wide { width: 100%; }
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.prose {
  line-height: 1.9;
  color: #afbbcc;
}
.prose code {
  background: rgba(24, 43, 67, 0.9);
  color: #c8d8ef;
  padding: 2px 5px;
  border-radius: 4px;
}
.secret {
  font-family: Consolas, monospace;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid rgba(99, 240, 221, 0.2);
  color: #bffcf2;
  word-break: break-all;
  padding: 15px;
  border-radius: 8px;
  line-height: 1.7;
  user-select: all;
}
.loading {
  padding: 60px;
  color: var(--muted);
  text-align: center;
}
dialog {
  border: 1px solid rgba(124, 140, 165, 0.2);
  border-radius: 10px;
  width: min(680px, 92vw);
  padding: 24px;
  color: var(--text);
  background: rgba(13, 17, 26, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  max-height: 90vh;
}
dialog::backdrop {
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-head h2 { margin: 0; }
.modal-head button {
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #8f9eb4;
  padding: 0 7px;
}
.modal-head button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}
.modal-body { overflow: auto; }
.detail-text {
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid var(--line-soft);
  white-space: pre-wrap;
  padding: 15px;
  border-radius: 8px;
  max-height: 180px;
  overflow: auto;
  line-height: 1.7;
  color: #cadbed;
}
audio { width: 100%; margin: 15px 0; }
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 13, 20, 0.96);
  color: var(--text);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.42);
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 10;
  max-width: 85vw;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(99, 240, 221, 0.22);
}
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 90px;
  background: linear-gradient(180deg, #07090d 0%, #0a0d13 100%);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(transparent 0, transparent 31px, rgba(124, 140, 165, 0.08) 31px, rgba(124, 140, 165, 0.08) 32px),
    linear-gradient(90deg, transparent 0, transparent 31px, rgba(124, 140, 165, 0.08) 31px, rgba(124, 140, 165, 0.08) 32px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000 0%, #000 75%, transparent 100%);
}
.login-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 240, 221, 0.05), transparent 32%, transparent 68%, rgba(154, 140, 255, 0.04));
}
.login-brand, .login-card { position: relative; z-index: 1; }
.login-brand { width: 430px; }
.login-brand h1 {
  font-size: 44px;
  line-height: 1.22;
  margin: 26px 0 16px;
  letter-spacing: -1.2px;
}
.login-brand p {
  color: var(--muted);
  line-height: 1.7;
}
.login-line {
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: 44px;
  letter-spacing: .3px;
}
.login-card {
  width: 392px;
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.98), rgba(11, 14, 21, 0.98));
  border: 1px solid rgba(124, 140, 165, 0.16);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 240, 221, 0.55), transparent);
}
.login-card h2 {
  font-size: 22px;
  margin: 15px 0;
}
.login-card > p {
  font-size: 12px;
  margin-bottom: 28px;
}
.login-card .hint {
  margin-top: 22px;
  margin-bottom: 0;
}
.pricing-rate {
  font-size: 40px;
  color: var(--accent);
  font-weight: 650;
  margin: 25px 0;
}
.pricing-rate span {
  font-size: 12px;
  color: #889db4;
  font-weight: 400;
}
.result-line {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.api-list {
  display: grid;
  gap: 10px;
}
.api-list > div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.api-list b {
  display: inline-block;
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--accent);
  width: 48px;
}

@media (max-width: 1100px) {
  aside { width: 212px; padding: 22px 13px; }
  .workspace { margin-left: 212px; }
  main { padding: 24px; }
  footer { padding-left: 24px; padding-right: 24px; }
  header { padding-left: 24px; padding-right: 24px; }
  .grid2 { grid-template-columns: 1fr; }
  .stats { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 126px; }
  .dashboard-hero { flex-direction: column; }
  .dashboard-hero-metrics {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step { font-size: 11px; }
  .header-actions #sync { display: none; }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: 100%;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .shell { display: block; }
  .brand { margin-bottom: 18px; }
  .nav-caption, .sidebar-foot { display: none; }
  nav { display: flex; overflow: auto; }
  nav a { white-space: nowrap; padding: 10px 11px; }
  .nav-icon { display: none; }
  .workspace { margin-left: 0; }
  header { height: 88px; padding: 18px; }
  h1 { font-size: 21px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dashboard-hero-metrics { grid-template-columns: 1fr 1fr; }
  main { padding: 18px; }
  footer { padding: 8px 18px 20px; }
  .header-actions { gap: 4px; }
  .admin-name { display: none; }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-top > div:last-child { width: 100%; }
  .section-top > div:last-child > button { width: 100%; }
  .login-brand { display: none; }
  .login-wrap { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .flow { flex-wrap: wrap; }
  .flow-step { min-width: 60px; }
  .flow-arrow { display: none; }
  .login-card { width: 100%; }
}
