:root {
  color-scheme: light;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-muted: #eef2f0;
  --ink: #18313d;
  --muted: #6a7d87;
  --line: #dce5e9;
  --accent: #087f8c;
  --accent-hover: #056571;
  --warning: #a35418;
  --danger: #a33a32;
  --info: #246a9b;
  --radius: 12px;
  --shadow: 0 4px 22px rgba(23, 49, 61, 0.035);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button,
.button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover {
  border-color: var(--accent);
}

button.primary,
.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

button.primary:hover,
.button.primary:hover {
  background: var(--accent-hover);
}

button.danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, var(--line));
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

input,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px;
  background: var(--surface);
  color: var(--ink);
}

input:focus,
select:focus,
button:focus-visible,
.button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 1px;
}

.app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

body[data-page="admin"] .app {
  grid-template-columns: 160px minmax(0, 1fr);
}

body[data-page="admin"] .sidebar {
  padding-right: 8px;
  padding-left: 8px;
}

body[data-page="admin"] .main {
  padding-right: 20px;
  padding-left: 20px;
}

body[data-page="admin"] .page-header,
body[data-page="admin"] .content {
  max-width: none;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: #18231e;
  color: #f4f8f6;
}

.brand {
  display: block;
  padding: 8px 10px 20px;
  color: #fff;
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.nav-list a {
  min-height: 40px;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #cbd8d1;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a.active {
  background: #2b3c34;
  color: #fff;
}

.nav-meta {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  border-top: 1px solid #34463d;
  padding: 14px 10px 0;
  color: #aebdb5;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.main {
  min-width: 0;
  padding: 24px clamp(18px, 4vw, 48px) 48px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 22px;
  max-width: 1280px;
}

.page-header h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.page-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.header-actions,
.toolbar,
.pager,
.segmented {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.content {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.band-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.band-header h2 {
  margin: 0;
  font-size: 15px;
}

.band-body {
  padding: 16px;
}

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

.stat {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat strong {
  display: block;
  margin-top: 9px;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

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

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

.setting-field {
  display: grid;
  gap: 7px;
}

.setting-field > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.setting-field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.muted-copy {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.login-panel {
  width: min(440px, 100%);
}

.login-panel h1 {
  margin: 0;
  font-size: 20px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.settings-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quick-link {
  min-height: 112px;
  padding: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.quick-link:hover {
  background: #f8fbf9;
}

.quick-link strong,
.quick-link span {
  display: block;
}

.quick-link span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

tbody tr:hover {
  background: #f7faf8;
}

.mono {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.status.running,
.status.queued,
.status.cancel_requested {
  background: #e6f0f8;
  color: var(--info);
}

.status.success {
  background: #e3f2eb;
  color: var(--accent);
}

.status.error,
.status.canceled {
  background: #f7e8e6;
  color: var(--danger);
}

.empty,
.loading,
.notice {
  padding: 30px 16px;
  color: var(--muted);
  text-align: center;
}

.notice.error {
  color: var(--danger);
}

.pager {
  justify-content: flex-end;
  padding: 12px 16px;
}

.pager span {
  color: var(--muted);
  font-size: 12px;
}

.segmented button.active {
  border-color: var(--accent);
  background: var(--surface-muted);
  color: var(--accent);
}

.hidden {
  display: none !important;
}

.identity {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0;
}

.identity dt {
  color: var(--muted);
}

.identity dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* v6 portal shell: quiet surfaces, clear hierarchy and shared account controls. */
[hidden] { display: none !important; }
a { color: var(--accent); }
button, .button, input, select, textarea { transition: border-color .16s, background .16s, box-shadow .16s; }
button, .button { font-size: 13px; font-weight: 600; min-height: 38px; border-radius: 8px; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px; background: var(--surface); color: var(--ink); font: inherit; resize: vertical; }
input, select { min-height: 42px; border-radius: 8px; }
button.primary, .button.primary { box-shadow: 0 3px 9px #087f8c15; }
.app { grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { padding: 28px 16px; background: #102b38; border: 0; }
.brand { display: flex; align-items: center; gap: 2px; padding: 5px 12px 34px; font-size: 26px; letter-spacing: -.05em; }
.brand small { margin-left: 11px; color: #91b0bd; font-size: 9px; letter-spacing: .14em; font-weight: 600; }
.brand-dot { color: #48c7bf; }
.nav-caption { display: block; margin: 0 12px 11px; color: #7594a2; font-size: 10px; letter-spacing: .1em; }
.nav-list { gap: 6px; }
.nav-list a { min-height: 43px; padding: 12px 14px; color: #a9bfca; font-size: 13px; border-radius: 8px; }
.nav-list a.active { color: #fff; background: #1d4857; box-shadow: inset 3px 0 0 #57c9bf; }
.nav-list a:hover { color: #fff; background: #1a3d4c; }
.nav-meta { border-color: #2b4855; color: #a8c0cc; display: grid; gap: 7px; }
.nav-meta strong { color: #eef8fa; font-size: 13px; }
.nav-meta span { font-size: 11px; }
.nav-meta button { padding: 0; margin-top: 9px; width: fit-content; min-height: 24px; border: 0; background: none; color: #a8c0cc; font-size: 11px; }
.main { padding-top: 38px; }
.page-header { margin-bottom: 30px; }
.page-header h1 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; font-weight: 750; }
.page-header p { margin-top: 9px; font-size: 13px; line-height: 1.7; }
.eyebrow { display: block; margin-bottom: 11px; color: var(--accent); font-size: 10px; letter-spacing: .16em; font-weight: 700; }
.content { gap: 22px; }
.stats { gap: 16px; }
.stat { padding: 22px; min-height: 120px; box-shadow: var(--shadow); }
.stat span { font-size: 12px; }
.stat strong { margin-top: 15px; font-size: 30px; letter-spacing: -.03em; }
.band { overflow: hidden; }
.band-header { min-height: 64px; padding: 16px 22px; }
.band-body { padding: 22px; }
.band-header h2 { font-size: 15px; font-weight: 700; }
.quick-grid { gap: 0; background: var(--surface); }
.quick-link { padding: 25px 22px; border-right: 1px solid var(--line); }
.quick-link:last-child { border: 0; }
.quick-link:hover, tbody tr:hover { background: color-mix(in srgb, var(--accent) 3%, var(--surface)); }
.quick-link strong { font-size: 14px; }
.quick-link span { font-size: 12px; line-height: 1.8; }
th { background: var(--surface-muted); padding: 14px 20px; letter-spacing: .02em; }
td { padding: 15px 20px; line-height: 1.6; }
tbody tr:last-child td { border-bottom: 0; }
.status { gap: 5px; padding: 4px 9px; font-size: 10px; }
.status.running::before, .status.success::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.notice { padding: 13px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; text-align: left; font-size: 13px; }
.notice.error, .form-error { color: var(--danger); border-color: #e6bdb7; background: #fff5f3; }
.form-error { padding: 12px; border-radius: 8px; font-size: 13px; }
.theme-toggle { font-size: 21px; background: none; border-color: var(--line); }
.control-tabs { display: flex; gap: 25px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.control-tabs button { border: 0; border-radius: 0; padding: 4px 0 16px; margin-bottom: -1px; background: none; color: var(--muted); }
.control-tabs button.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 0 22px; }
.section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.node-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.node-card { border: 1px solid var(--line); border-radius: 13px; padding: 24px; background: var(--surface); box-shadow: var(--shadow); }
.node-card.is-online { border-top: 3px solid #56b9ad; padding-top: 22px; }
.node-card-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.node-card-heading > div { min-width: 0; flex: 1; }
.node-card h3 { margin: 0 0 5px; font-size: 15px; }
.node-icon { display: inline-grid; flex-shrink: 0; place-items: center; width: 43px; height: 43px; border-radius: 11px; background: #e7f4f3; color: #138c8a; font-size: 23px; }
.node-address { display: block; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.recommended-tag { padding: 4px 7px; color: #087f76; background: #e9f6ef; border-radius: 5px; font-size: 10px; white-space: nowrap; }
.node-state { display: flex; align-items: center; gap: 6px; margin: 21px 0 17px; color: var(--muted); font-size: 11px; }
.connection-dot { height: 6px; width: 6px; border-radius: 50%; background: #a6afb6; }
.connection-dot.online { background: #2cab8a; box-shadow: 0 0 0 3px #2cab8a12; }
.node-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.node-metrics span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 9px; }
.node-metrics strong { font-size: 23px; font-weight: 650; font-variant-numeric: tabular-nums; }
.node-metrics small { color: var(--muted); font-size: 12px; font-weight: 400; }
.node-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; }
.node-actions .toolbar { gap: 5px; }
.node-actions button { min-height: 30px; font-size: 11px; padding: 5px 8px; }
.node-error { font-size: 11px; color: var(--danger); overflow-wrap: anywhere; }
.empty-state { grid-column: 1 / -1; padding: 52px 25px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); }
.empty-state h3 { font-size: 16px; margin: 18px 0 8px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 23px; }
.control-filter { display: flex; gap: 10px; margin-bottom: 16px; }
.control-filter input { flex: 1; }
.control-filter select { width: 160px; }
.protected-tag { display: inline-block; margin-left: 6px; font-size: 10px; color: var(--muted); }
.editor-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 100px #102b3833; color: var(--ink); background: var(--surface); }
.editor-dialog.wide { width: min(760px, calc(100vw - 32px)); }
.editor-dialog::backdrop { background: #0d263759; backdrop-filter: blur(3px); }
.editor-dialog header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 23px 26px; }
.editor-dialog header .eyebrow { margin-bottom: 7px; }
.editor-dialog h2 { margin: 0; font-size: 21px; }
.editor-dialog header button { font-size: 22px; background: none; border: 0; min-width: 33px; }
.dialog-fields { display: grid; gap: 18px; padding: 26px; }
.editor-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 26px; border-top: 1px solid var(--line); }
.check-field { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.check-field input { width: 16px; min-height: 16px; accent-color: var(--accent); }
.record-json, .audit-detail { max-width: 100%; max-height: 50vh; overflow: auto; white-space: pre-wrap; word-break: break-word; border-radius: 8px; padding: 16px; background: var(--surface-muted); font-size: 11px; }
.audit-detail { max-width: 360px; }
.password-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.auth-story { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 100vh; padding: 45px clamp(35px, 6vw, 100px); background: #102f3c; color: #f2f9fb; }
.auth-brand { display: flex; align-items: center; color: #fff; text-decoration: none; font-size: 31px; font-weight: 750; letter-spacing: -.05em; }
.auth-brand small { margin-left: 18px; font-size: 11px; letter-spacing: .16em; color: #a9c5cf; }
.auth-intro { position: relative; z-index: 1; margin: auto 0; padding: 60px 0 120px; }
.auth-intro .eyebrow { color: #69cfc2; font-size: 10px; }
.auth-intro h1 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.55; letter-spacing: .01em; font-weight: 600; margin: 22px 0; }
.auth-intro p { color: #a6c0cc; line-height: 2; font-size: 14px; }
.auth-tags { display: flex; gap: 10px; margin-top: 33px; }
.auth-tags span { padding: 7px 12px; border: 1px solid #315363; border-radius: 6px; color: #bdd6de; font-size: 10px; letter-spacing: .04em; }
.auth-story footer { display: flex; justify-content: space-between; color: #6e98a9; font-size: 9px; letter-spacing: .13em; }
.auth-molecule { position: absolute; right: -120px; bottom: 95px; width: 430px; height: 430px; border: 1px solid #3d859526; border-radius: 50%; transform: rotate(-28deg); }
.auth-molecule::before, .auth-molecule::after { position: absolute; inset: 65px; border: 1px solid #51c7bf24; border-radius: 50%; content: ""; }
.auth-molecule::after { inset: 130px; }
.auth-molecule i { position: absolute; left: 65px; right: 65px; top: 65px; height: 1px; background: #51c7bf1c; transform: rotate(30deg); }
.auth-molecule i:nth-child(2) { top: 110px; }.auth-molecule i:nth-child(3) { top: 155px; }.auth-molecule i:nth-child(4) { top: 200px; }.auth-molecule i:nth-child(5) { top: 245px; }.auth-molecule i:nth-child(6) { top: 290px; }.auth-molecule i:nth-child(7) { top: 335px; }.auth-molecule i:nth-child(8) { top: 380px; }
.auth-form-side { position: relative; display: grid; place-items: center; padding: 60px 35px; background: var(--surface); }
.auth-form-side > .theme-toggle { position: absolute; top: 30px; right: 35px; border: 0; }
.auth-card { width: min(355px, 100%); }
.auth-card h2 { font-size: 29px; margin: 0 0 12px; font-weight: 700; letter-spacing: -.03em; }
.auth-card .login-form { margin-top: 36px; gap: 23px; }
.auth-card input { min-height: 48px; }
.auth-card .login-form > button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-top: 6px; padding: 12px 17px; }
.auth-help { margin-top: 28px; color: var(--muted); font-size: 11px; line-height: 1.8; }
:root[data-portal-theme="dark"] { color-scheme: dark; --bg: #101e28; --surface: #182b36; --surface-muted: #203642; --ink: #dceaf0; --muted: #96adb9; --line: #2b4350; --accent: #5ac5bd; --accent-hover: #40aaa6; --danger: #ed9e93; --shadow: none; }
:root[data-portal-theme="dark"] .sidebar { background: #0d202c; }
:root[data-portal-theme="dark"] .node-icon { background: #1f4146; color: #74d9cc; }
:root[data-portal-theme="dark"] .recommended-tag { background: #1f443f; color: #83d7be; }
:root[data-portal-theme="dark"] .notice.error, :root[data-portal-theme="dark"] .form-error { background: #3c2a30; border-color: #604049; }
:root[data-portal-theme="dark"] .status.success { background: #234b44; color: #8edcc4; }
:root[data-portal-theme="dark"] .status.running, :root[data-portal-theme="dark"] .status.queued { background: #253f52; color: #a0cde7; }
:root[data-portal-theme="dark"] .status.error, :root[data-portal-theme="dark"] .status.canceled { background: #4b3238; color: #edafa5; }
@media (min-width: 1700px) { .node-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .node-grid { grid-template-columns: 1fr; }.node-card { max-width: 100%; }.password-form { grid-template-columns: 1fr; }.auth-story { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 900px) { .app { display: block; }.sidebar { height: auto; position: static; padding: 15px 20px; }.brand { padding: 0 0 13px; font-size: 21px; }.nav-caption, .nav-meta { display: none; }.nav-list { display: flex; overflow-x: auto; gap: 5px; }.nav-list a { flex-shrink: 0; min-height: 36px; padding: 9px 12px; font-size: 12px; }.nav-list a.active { box-shadow: inset 0 -2px #57c9bf; }.main { padding-top: 26px; }.stats { grid-template-columns: repeat(2, 1fr); }.stat { padding: 17px; min-height: 100px; }.section-heading { align-items: flex-start; }.node-actions { flex-wrap: wrap; }.auth-layout { grid-template-columns: 1fr; }.auth-story { display: none; }.auth-form-side { min-height: 100vh; }.control-tabs { gap: 21px; overflow: auto; }.control-tabs button { flex-shrink: 0; font-size: 12px; } }
@media (max-width: 560px) { .main { padding-left: 16px; padding-right: 16px; }.node-card { padding: 18px; }.node-card.is-online { padding-top: 16px; }.section-heading { flex-direction: column; gap: 14px; }.control-filter { flex-wrap: wrap; }.control-filter input { flex-basis: 100%; }.control-filter select { flex: 1; }.quick-grid { grid-template-columns: 1fr; }.quick-link { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }.editor-dialog header, .dialog-fields, .editor-dialog footer { padding: 20px; }.identity { gap: 7px; } }

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="admin"] .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding: 10px 12px;
    overflow: hidden;
  }

  body[data-page="admin"] .sidebar {
    padding: 10px 12px;
  }

  .brand {
    padding: 6px 8px 10px;
  }

  .nav-list {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .nav-list a {
    white-space: nowrap;
  }

  .nav-meta {
    display: none;
  }

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

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

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

@media (max-width: 600px) {
  .main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px 36px;
  }

  body[data-page="admin"] .main {
    padding: 18px 12px 36px;
  }

  .content,
  .band,
  .band-body,
  .settings-grid,
  .setting-field {
    min-width: 0;
    max-width: 100%;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats,
  .filters,
  .settings-grid {
    grid-template-columns: 1fr;
  }

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

  .identity dd {
    margin-bottom: 8px;
  }
}
.home-node-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.home-node { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; }
.home-node > div { flex: 1; }
.home-node strong { display: block; font-size: 12px; margin-bottom: 5px; }
.home-node > div > span { display: block; color: var(--muted); font-size: 10px; }
