/* GAINMESH Light Control Room */
:root {
  --canvas: #edf2f4;
  --surface: #f6f8f9;
  --panel: #ffffff;
  --nav: #10191f;
  --nav-raised: #17242b;
  --text: #17232a;
  --muted: #6b7b84;
  --line: #d7e0e3;
  --line-strong: #c3d0d4;
  --accent: #087e6d;
  --accent-strong: #056557;
  --accent-soft: #e5f5f1;
  --cyan: #167aa2;
  --cyan-soft: #e7f2f7;
  --amber: #a8640d;
  --danger: #b83b3b;
  --sidebar-width: 232px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body { background: var(--surface); color: var(--text); }
.app-shell { background: var(--surface); }
.sidebar {
  width: var(--sidebar-width);
  background: #0e181e;
  border-right-color: #26343b;
}
.sidebar-head { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.sidebar-head .brand { min-width: 0; flex: 1; }
.sidebar-close, .sidebar-open, .sidebar-scrim { display: none; }
.brand-mark {
  border-color: #2a9d8b;
  background: #102723;
  color: #67d3c0;
}
.brand-copy small { color: #72838b; }
.primary-nav {
  align-content: start;
  gap: 3px;
  border-top-color: #223038;
  padding: 10px 12px 18px;
}
.nav-section {
  display: block;
  margin: 14px 12px 5px;
  color: #53656e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.primary-nav a {
  min-height: 42px;
  grid-template-columns: 28px minmax(0, 1fr) 8px;
  border-radius: 5px;
  color: #9aabb3;
  font-size: 13px;
}
.primary-nav a.active { background: #142c29; color: #79dac8; }
.primary-nav a.active::before {
  inset: 9px auto 9px 0;
  width: 3px;
  height: auto;
  border-radius: 0 2px 2px 0;
  background: #46bea8;
}
.nav-signal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43c9a8;
  box-shadow: 0 0 0 3px rgba(67, 201, 168, .1);
}
.sidebar-status { margin-inline: 16px; padding-inline: 4px; }
.sidebar-status strong { letter-spacing: 0; }

.workspace { margin-left: var(--sidebar-width); }
.workspace-topbar {
  height: 62px;
  border-bottom-color: #d9e1e4;
  background: rgba(249, 251, 251, .97);
  padding: 0 32px;
  backdrop-filter: blur(10px);
}
.topbar-leading, .topbar-actions { display: flex; align-items: center; gap: 18px; }
.workspace-context { display: grid; gap: 0; font-family: inherit; }
.workspace-context > span {
  color: #84929a;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.workspace-context > strong { color: #26343b; font-size: 13px; }
.control-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
  color: #60717a;
  font-size: 11px;
  font-weight: 700;
}
.control-status i { width: 7px; height: 7px; border-radius: 50%; background: #31af8f; box-shadow: 0 0 0 3px rgba(49, 175, 143, .12); }
.account-menu { gap: 12px; }
.page { max-width: 1640px; padding: 34px 36px 54px; }

.command-header {
  display: flex;
  min-height: 88px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.command-header h1 { font-size: 28px; }
.command-header p { max-width: 720px; }
.command-header .actions { padding-bottom: 2px; }
.eyebrow, .section-kicker { color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.posture {
  display: flex;
  min-width: 250px;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: #fff;
  padding: 10px 15px;
}
.posture > span:last-child { display: grid; }
.posture small { color: #78878f; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.posture strong { font-size: 13px; }
.posture-light { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; }
.posture-ok { border-left-color: #28a889; }
.posture-ok .posture-light { background: #28a889; box-shadow: 0 0 0 5px rgba(40, 168, 137, .11); }
.posture-attention { border-left-color: var(--amber); }
.posture-attention .posture-light { background: #d08a2d; box-shadow: 0 0 0 5px rgba(208, 138, 45, .11); }

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.dashboard-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ops-metrics > div {
  position: relative;
  display: grid;
  min-height: 102px;
  align-content: center;
  gap: 3px;
  padding: 17px 22px;
}
.ops-metrics > div + div { border-left: 1px solid var(--line); }
.ops-metrics span { color: #667780; font-size: 11px; font-weight: 750; }
.ops-metrics strong { color: #18262d; font-family: var(--mono); font-size: 24px; line-height: 1.15; }
.ops-metrics small { color: #8b989e; font-size: 10px; }
.ops-metric-primary { background: #f1f8f6; }
.ops-metric-primary::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.node-metrics, .account-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.external-resource-head,
.external-resource-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(160px, .8fr) 130px 150px minmax(170px, .8fr);
  align-items: center;
  gap: 20px;
}
.external-resource-head {
  min-height: 36px;
  border-bottom: 1px solid var(--line);
  background: #f2f5f6;
  color: #78878e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}
.external-resource-head span { padding-left: 18px; }
.external-resource-row {
  position: relative;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}
.external-resource-row:last-child { border-bottom: 0; }
.external-resource-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.external-resource-row.is-attention::before { background: var(--danger); }
.external-resource-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.external-resource-name > span:last-child { display: grid; gap: 4px; min-width: 0; }
.external-resource-name strong { overflow: hidden; color: #1d2a34; text-overflow: ellipsis; white-space: nowrap; }
.external-resource-name small,
.external-resource-value small,
.external-resource-row time,
.external-resource-error { color: #6f7c85; font-size: 10px; }
.external-resource-row > div:nth-child(2) { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.external-resource-error { max-width: 100%; overflow: hidden; color: var(--danger); text-overflow: ellipsis; white-space: nowrap; }
.external-resource-value { display: grid; gap: 2px; }
.external-resource-value strong { color: #22303a; font-family: var(--mono); font-size: 18px; }
.external-resource-row time { font-family: var(--mono); }

.control-section {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.control-section > .section-heading {
  min-height: 78px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  background: #fbfcfc;
}
.section-heading { display: flex; align-items: center; }
.section-heading-split { justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 2px 0 1px; font-size: 16px; }
.section-heading p { margin: 0; font-size: 11px; }
.section-legend { display: flex; gap: 15px; color: #71818a; font-size: 10px; }
.section-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; }
.legend-dot.ok { background: #26a886; }
.legend-dot.warn { background: #d28a28; }
.legend-dot.critical { background: #c94d4d; }
.text-action { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 11px; font-weight: 800; }
.text-action span { font-size: 18px; }

.fleet-board-head, .fleet-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.1fr) repeat(3, minmax(190px, 1fr));
}
.fleet-board-head {
  min-height: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #f2f5f6;
  color: #78878e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.fleet-board-head span { padding: 0 16px; }
.fleet-board-head span + span { border-left: 1px solid #e0e7e9; }
.fleet-row { position: relative; min-height: 156px; border-bottom: 1px solid var(--line); }
.fleet-row:last-child { border-bottom: 0; }
.fleet-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #28a889; }
.fleet-row[data-status="warn"]::before, .fleet-row[data-status="stale"]::before { background: #d08a2d; }
.fleet-row[data-status="critical"]::before, .fleet-row[data-status="monitor_error"]::before { background: #c64b4b; }
.fleet-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 6px 11px;
  padding: 18px 18px 18px 20px;
}
.fleet-identity > span:nth-child(2) { display: grid; min-width: 0; }
.fleet-identity strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fleet-identity small { color: #829098; font-size: 10px; line-height: 1.4; }
.fleet-identity .traffic-status { grid-column: 2; justify-self: start; }
.fleet-beacon { width: 9px; height: 9px; border: 2px solid #5aafa0; border-radius: 50%; background: #e7f5f2; }
.probe-readout {
  display: grid;
  align-content: center;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding: 16px;
}
.probe-readout-head { display: flex; align-items: center; justify-content: space-between; color: #718189; font-family: var(--mono); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.probe-readout-head i { width: 6px; height: 6px; border-radius: 50%; background: #2eac8b; }
.probe-readout.warn .probe-readout-head i, .probe-readout.stale .probe-readout-head i { background: #d08a2d; }
.probe-readout.critical .probe-readout-head i, .probe-readout.monitor_error .probe-readout-head i { background: #c64b4b; }
.probe-readout > strong { margin: 6px 0 1px; color: #16242b; font-family: var(--mono); font-size: 21px; line-height: 1; }
.probe-readout > strong small { color: #7d8c93; font-size: 9px; }
.probe-readout > span { overflow: hidden; color: #687981; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.probe-readout time { margin-top: 6px; color: #9aa5aa; font-family: var(--mono); font-size: 8px; }

.capacity-row {
  display: grid;
  min-height: 112px;
  grid-template-columns: minmax(240px, .9fr) minmax(300px, 1.5fr) minmax(220px, .8fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 17px 20px;
}
.capacity-row:last-child { border-bottom: 0; }
.capacity-identity, .node-row-identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
.capacity-identity > span:last-child, .node-row-identity > span:last-child { display: grid; min-width: 0; }
.capacity-identity strong, .node-row-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.capacity-identity small, .node-row-identity small { color: #819097; font-size: 10px; }
.node-monogram {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9d6d0;
  border-radius: 5px;
  background: #e8f5f2;
  color: #08715f;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
}
.capacity-meter { display: grid; gap: 7px; }
.capacity-meter > div, .node-capacity > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.capacity-meter > div span { color: #596a72; font-size: 11px; }
.capacity-meter > div strong { font-family: var(--mono); font-size: 12px; }
.capacity-meter small, .node-capacity small, .capacity-forecast small { color: #87949a; font-size: 9px; }
.meter-track { display: block; overflow: hidden; height: 7px; border-radius: 2px; background: #e6ecee; }
.meter-track i { display: block; height: 100%; border-radius: inherit; background: #168a78; }
.capacity-forecast { display: grid; justify-items: start; gap: 6px; border-left: 1px solid var(--line); padding-left: 24px; }
.capacity-forecast > strong { font-size: 11px; }

.attribution-node { padding: 20px; }
.attribution-node-separated { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.attribution-node-heading { margin-bottom: 12px; }
.attribution-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #f5f8f8;
}
.attribution-strip > div { display: grid; min-height: 88px; align-content: center; gap: 2px; padding: 13px 16px; }
.attribution-strip > div + div { border-left: 1px solid var(--line); }
.attribution-strip span { color: #6d7c84; font-size: 10px; font-weight: 700; }
.attribution-strip strong { font-family: var(--mono); font-size: 18px; }
.attribution-strip small { color: #8c989e; font-size: 9px; }
.attribution-note, .attribution-warning { margin: 12px 0; }
.data-disclosure { border-top: 1px solid var(--line); }
.data-disclosure > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: #33464e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  list-style: none;
}
.data-disclosure > summary::-webkit-details-marker { display: none; }
.data-disclosure > summary span { color: #849198; font-family: var(--mono); font-size: 9px; }
.data-disclosure[open] > summary { color: var(--accent); }
.table-scroll { overflow-x: auto; }
.activity-section .table-scroll, .source-section .table-scroll { padding: 0; }
.activity-table td, .source-table td { font-size: 11px; }

.account-control > .account-section-heading { border-bottom: 0; }
.account-control .table-toolbar { border-top: 1px solid var(--line); }
.table-toolbar { background: #f5f8f8; }
.account-search-form input { min-height: 38px; }
.team-report-head { background: #eef3f4; }
.team-report > summary { min-height: 82px; }
.team-report > summary:hover { background: #f3f8f7; }
.team-report[open] > summary { background: #eaf5f2; }

.node-board-head, .node-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(220px, .85fr) minmax(320px, 1.25fr) 100px 70px;
  align-items: center;
  gap: 22px;
}
.node-board-head {
  min-height: 36px;
  border-bottom: 1px solid var(--line);
  background: #f2f5f6;
  color: #78878e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.node-board-head span { padding-left: 18px; }
.node-row { position: relative; min-height: 126px; border-bottom: 1px solid var(--line); padding: 16px 18px; }
.node-row:last-child { border-bottom: 0; }
.node-row:hover { background: #f7faf9; }
.node-disabled { opacity: .62; }
.node-row-identity .tag { font-size: 8px; font-style: normal; }
.node-endpoint { display: grid; justify-items: start; gap: 5px; }
.node-endpoint > strong { color: var(--cyan); font-family: var(--mono); font-size: 10px; }
.node-endpoint code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node-capacity { display: grid; gap: 6px; }
.node-capacity > div > strong { font-family: var(--mono); font-size: 11px; }
.node-assignment { display: grid; justify-items: start; }
.node-assignment strong { font-family: var(--mono); font-size: 22px; }
.node-assignment small { color: #839097; font-size: 9px; }
.node-row-action { justify-self: end; }
.source-create-band { margin: 0; border-bottom: 1px solid var(--line); background: #f8fafa; padding: 16px 20px; }
.source-section .source-table { margin: 0; }
.source-refresh-form { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 280px; }
.source-refresh-form input { min-width: 210px; }
.source-refresh-form button { white-space: nowrap; }
.source-refresh-actions { display: grid; justify-items: end; gap: 8px; }
.source-replace-panel { width: 100%; color: var(--muted); font-size: 12px; }
.source-replace-panel summary { cursor: pointer; text-align: right; }
.source-replace-panel[open] { min-width: 360px; }
.source-replace-panel .source-refresh-form { margin-top: 8px; }

.flash { border-radius: 5px; }
.button, button, input, select, textarea { border-radius: 5px; }
.primary { box-shadow: 0 1px 1px rgba(3, 63, 54, .08); }

.subscription-usage-notice {
  margin-bottom: 22px;
  border: 1px solid #d7c397;
  border-left: 4px solid var(--amber);
  border-radius: 7px;
  background: #fffdf7;
}
.subscription-usage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
.subscription-usage-heading > div { min-width: 0; }
.subscription-usage-label {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
}
.subscription-usage-heading h2 { margin: 0 0 5px; font-size: 17px; }
.subscription-usage-heading p { max-width: 900px; margin: 0; color: #5f6e75; font-size: 12px; }
.subscription-usage-heading .button { flex: 0 0 auto; }
.subscription-usage-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #e6dcc3;
  padding: 0;
  list-style: none;
  counter-reset: usage-step;
}
.subscription-usage-steps li {
  position: relative;
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 3px;
  padding: 13px 18px 13px 48px;
  counter-increment: usage-step;
}
.subscription-usage-steps li + li { border-left: 1px solid #e6dcc3; }
.subscription-usage-steps li::before {
  content: counter(usage-step);
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #c9ad70;
  border-radius: 50%;
  color: #8a570d;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 850;
}
.subscription-usage-steps strong { color: #243138; font-size: 11px; }
.subscription-usage-steps span { color: #718087; font-size: 10px; line-height: 1.45; }

@media (max-width: 1220px) {
  :root { --sidebar-width: 210px; }
  .page { padding-inline: 24px; }
  .fleet-board-head, .fleet-row { grid-template-columns: 220px repeat(3, minmax(170px, 1fr)); }
  .fleet-board { overflow-x: auto; }
  .fleet-board-head, .fleet-row { min-width: 920px; }
  .node-board { overflow-x: auto; }
  .node-board-head, .node-row { min-width: 1080px; }
  .external-resource-board { overflow-x: auto; }
  .external-resource-head, .external-resource-row { min-width: 980px; }
}

@media (max-width: 760px) {
  :root { --sidebar-width: 268px; }
  html, body { background: var(--surface); }
  body.sidebar-visible { overflow: hidden; }
  .subscription-usage-heading { display: grid; gap: 14px; padding: 16px; }
  .subscription-usage-heading .button { width: 100%; }
  .subscription-usage-steps { grid-template-columns: 1fr; }
  .subscription-usage-steps li { min-height: 68px; padding: 12px 16px 12px 47px; }
  .subscription-usage-steps li + li { border-top: 1px solid #e6dcc3; border-left: 0; }
  .subscription-usage-steps li::before { left: 16px; top: 16px; }
  .sidebar {
    position: fixed;
    z-index: 40;
    width: var(--sidebar-width);
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }
  .sidebar-visible .sidebar { transform: translateX(0); }
  .sidebar-head { min-height: 68px; }
  .sidebar-close {
    position: relative;
    display: block;
    width: 36px;
    min-height: 36px;
    margin-right: 10px;
    border: 0;
    background: transparent;
  }
  .sidebar-close::before, .sidebar-close::after { content: ""; position: absolute; left: 10px; top: 17px; width: 16px; height: 1px; background: #a8b7bd; transform: rotate(45deg); }
  .sidebar-close::after { transform: rotate(-45deg); }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    visibility: hidden;
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    background: rgba(9, 17, 22, .48);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .sidebar-visible .sidebar-scrim { visibility: visible; opacity: 1; }
  .primary-nav { display: grid; overflow: visible; padding: 8px 12px 18px; }
  .primary-nav a { grid-template-columns: 28px minmax(0, 1fr) 8px; }
  .primary-nav a.active::before { inset: 9px auto 9px 0; width: 3px; height: auto; }
  .nav-index { display: inline; }
  .nav-section { display: block; }
  .sidebar-status { display: flex; }
  .workspace { margin-left: 0; }
  .workspace-topbar { height: 56px; padding: 0 14px; }
  .sidebar-open {
    position: relative;
    display: block;
    width: 36px;
    min-height: 36px;
    border: 1px solid var(--line);
    background: #fff;
  }
  .sidebar-open::before, .sidebar-open::after, .sidebar-open span { content: ""; position: absolute; left: 10px; width: 14px; height: 1px; background: #34464e; }
  .sidebar-open::before { top: 11px; }
  .sidebar-open span { top: 17px; }
  .sidebar-open::after { top: 23px; }
  .workspace-context { display: grid; }
  .workspace-context > span { display: none; }
  .control-status { display: none; }
  .account-menu > span { display: none; }
  .page { padding: 20px 14px 38px; }
  .command-header { min-height: 0; align-items: stretch; flex-direction: column; gap: 16px; margin-bottom: 18px; }
  .command-header h1 { font-size: 24px; }
  .command-header .actions { width: 100%; }
  .posture { width: 100%; min-width: 0; }
  .ops-metrics, .node-metrics, .account-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-metrics > div { min-height: 86px; padding: 13px 14px; }
  .ops-metrics > div + div { border-left: 0; }
  .ops-metrics > div:nth-child(even) { border-left: 1px solid var(--line); }
  .ops-metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ops-metrics strong { font-size: 20px; }
  .section-heading-split { align-items: flex-start; flex-direction: column; }
  .section-legend { flex-wrap: wrap; }
  .control-section > .section-heading { min-height: 0; padding: 14px; }
  .fleet-board { overflow: visible; }
  .fleet-board-head { display: none; }
  .fleet-row { display: grid; min-width: 0; grid-template-columns: 1fr; }
  .fleet-identity { min-height: 88px; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .probe-readout { min-height: 112px; border-left: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .probe-readout:last-child { border-bottom: 0; }
  .probe-readout > span { white-space: normal; }
  .capacity-row { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .capacity-forecast { border-top: 1px solid var(--line); border-left: 0; padding: 14px 0 0; }
  .attribution-node { padding: 14px; }
  .attribution-node-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .attribution-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attribution-strip > div { min-height: 78px; padding: 11px; }
  .attribution-strip > div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .attribution-strip > div:nth-child(4) { border-top: 1px solid var(--line); }
  .attribution-strip strong { font-size: 15px; }
  .node-board { overflow: visible; }
  .node-board-head { display: none; }
  .node-row { display: grid; min-width: 0; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
  .node-row-identity { grid-column: 1 / -1; }
  .node-capacity { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
  .node-row-action { align-self: end; }
  .source-create-band { padding: 14px; }
  .source-create-band button { width: 100%; }
  .source-section .table-scroll { overflow: visible; }
  .source-section .source-table { display: block; min-width: 0; }
  .source-table thead { display: none; }
  .source-table tbody { display: grid; }
  .source-table tr { display: grid; min-width: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .source-table tr:last-child { border-bottom: 0; }
  .source-table td { display: grid; min-width: 0; grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 10px; border: 0; padding: 7px 0; }
  .source-table td::before { content: attr(data-label); color: #78878e; font-family: var(--mono); font-size: 9px; font-weight: 800; text-transform: uppercase; }
  .source-table td code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .source-table .source-empty-row td { display: block; }
  .source-table .source-empty-row td::before { content: none; }
  .source-refresh-form { display: grid; width: 100%; min-width: 0; justify-content: stretch; }
  .source-refresh-form input { width: 100%; min-width: 0; }
  .source-refresh-form button { width: 100%; }
  .source-refresh-actions, .source-replace-panel, .source-replace-panel[open] { width: 100%; min-width: 0; }
  .source-replace-panel summary { text-align: left; }
  .account-control .table-toolbar { padding: 14px; }
  .account-section-heading { display: none !important; }
  .activity-section table { min-width: 860px; }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .sidebar-scrim { transition: none; }
}
