:root {
  color-scheme: light;
  --bg: #f6f5f9;
  --surface: #fff;
  --raised: #faf9fc;
  --ink: #292331;
  --muted: #746b7e;
  --line: #e7e2ed;
  --accent: #7950c6;
  --accent-hover: #6940b5;
  --wash: #f0eafa;
  --good: #237a5d;
  --good-bg: #eaf5ef;
  --warn: #96631a;
  --warn-bg: #fff5df;
  --bad: #b34554;
  --bad-bg: #fceef0;
  --radius: 14px;
  font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17151d;
  --surface: #211e29;
  --raised: #27232f;
  --ink: #efecf5;
  --muted: #b2a8bf;
  --line: #383140;
  --accent: #b99aee;
  --accent-hover: #cbb1f6;
  --wash: #352a48;
  --good: #87c6aa;
  --good-bg: #23372e;
  --warn: #edc07b;
  --warn-bg: #3b3022;
  --bad: #eea1ac;
  --bad-bg: #3f2832;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a, input, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1 { margin: 0; font-size: 27px; font-weight: 680; letter-spacing: -.8px; }
h2 { margin: 0; font-size: 15px; font-weight: 650; }
h3 { margin: 0 0 8px; font-size: 14px; }
p { margin: 0 0 12px; }
small, .muted, .helptext { color: var(--muted); }
small { font-size: 11px; }
.small-text { font-size: 11px; }
.subtitle { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.assistive, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; background: var(--surface); padding: 12px; z-index: 100; }

/* Shared shell and navigation. The phone drawer keeps normal links and form actions. */
.app-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 26px 16px 18px; background: var(--surface); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 21px; font-weight: 720; letter-spacing: -.7px; padding: 0 12px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 35px; border-radius: 10px; background: var(--accent); color: var(--surface); }
.brand-mark .icon { width: 23px; height: 23px; }
.brand-note { margin: 9px 12px 31px; font-size: 11px; color: var(--muted); }
.nav-label { margin: 0 12px 9px; font-size: 10px; letter-spacing: .11em; font-weight: 700; color: var(--muted); }
.main-navigation { display: grid; gap: 5px; }
.main-navigation a { display: flex; align-items: center; gap: 11px; padding: 12px; min-height: 44px; color: var(--muted); border-radius: 9px; font-weight: 550; }
.main-navigation a:hover { background: var(--raised); color: var(--ink); text-decoration: none; }
.main-navigation a[aria-current="page"] { background: var(--wash); color: var(--accent); }
.sidebar-bottom { margin-top: auto; padding: 25px 10px 0; }
.sidebar-bottom > p { border-bottom: 1px solid var(--line); padding-bottom: 17px; margin-bottom: 17px; }
.profile { display: flex; align-items: center; gap: 10px; }
.profile strong, .profile small { display: block; }
.profile strong { font-size: 12px; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--wash); color: var(--accent); font-size: 12px; font-weight: 650; }
.workspace { min-width: 0; }
.topbar { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 8px; }
.menu-button, .mobile-close { display: none; }
main { max-width: 1320px; margin: auto; padding: 29px 34px 40px; }
.page-heading, .heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 23px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; margin: 0 0 4px; }

/* Reusable cards, controls, tables and forms. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; margin-bottom: 19px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head a { font-size: 11px; font-weight: 600; }
.card-body { min-width: 0; }
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.button:hover, button:hover { background: var(--accent-hover); text-decoration: none; }
:root[data-theme="dark"] button, :root[data-theme="dark"] .button { color: #22172e; }
.button.secondary, button.secondary { background: var(--wash); color: var(--accent); border-color: var(--line); }
.button.quiet, button.quiet { background: transparent; color: var(--muted); border-color: var(--line); }
.button.danger, button.danger { background: var(--bad); color: #fff; }
.button.small, button.small { min-height: 32px; padding: 6px 10px; font-size: 11px; }
button.icon-button { background: var(--surface); color: var(--muted); }
.sign-out { margin-top: 13px; padding-left: 0; border: 0 !important; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 3px 7px; background: var(--raised); color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.purple, .label-tag { background: var(--wash); color: var(--accent); }
.label-tag { display: inline-block; border-radius: 5px; padding: 3px 7px; font-size: 10px; }
.actions, .filters, .toolbar { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
form p { margin: 0 0 15px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; margin-bottom: 15px; }
input, select, textarea, .input { font: inherit; min-height: 39px; max-width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
textarea { width: 100%; resize: vertical; }
input[type="checkbox"] { min-height: auto; width: 16px; height: 16px; accent-color: var(--accent); }
.check { flex-direction: row; align-items: center; gap: 8px; }
.helptext { display: block; font-size: 11px; }
.danger-zone { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.danger-zone h3 { color: var(--bad); }
.errorlist { margin: 0 0 12px; padding: 10px 14px; list-style: none; border-radius: 7px; color: var(--bad); background: var(--bad-bg); font-size: 12px; }
.table-scroll, .table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { color: var(--muted); font-size: 10px; font-weight: 600; background: var(--raised); }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--raised); }
td small { display: block; margin-top: 3px; }
.pagination { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; font-size: 12px; color: var(--muted); }
.empty { padding: 25px 12px; text-align: center; color: var(--muted); font-size: 12px; }
dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 9px 12px; margin: 14px 0; font-size: 12px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--muted); font-size: 12px; }
summary:hover { color: var(--ink); }
.notice { display: flex; align-items: start; gap: 12px; background: var(--good-bg); border: 1px solid var(--line); border-radius: 11px; padding: 14px 17px; margin: 0 0 19px; font-size: 12px; }
.notice p { margin: 3px 0; }
.notice small { display: block; margin-top: 4px; }
.notice > .button { margin-left: auto; white-space: nowrap; }
.status-icon { color: var(--good); margin-top: 2px; }
.status-warning, .notice.warning { background: var(--warn-bg); }
.status-error, .notice.error, .notice.danger { background: var(--bad-bg); color: var(--bad); }
.status-neutral { background: var(--raised); }
.status-warning .status-icon { color: var(--warn); }
.status-error .status-icon { color: var(--bad); }
.status-neutral .status-icon { color: var(--muted); }
.server [data-stale="true"] { color: var(--warn); }

/* The fixed topology is a reading aid, not an editable graph. */
.stats, .tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) 1.5fr; gap: 14px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 17px 18px; min-width: 0; }
.stat-label { color: var(--muted); display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.stat > strong, .stat-number { display: block; font-size: 31px; font-weight: 650; letter-spacing: -1px; margin: 4px 0; font-variant-numeric: tabular-nums; }
.stat small { font-size: 10px; }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; margin-top: 9px; }
.rate-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.network-card { padding: 20px; }
.network { display: grid; grid-template-columns: minmax(120px,1fr) 30px minmax(160px,1.2fr) 30px minmax(160px,1.2fr) 25px 60px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(var(--line) .8px, transparent .8px) 0 0/16px 16px var(--raised); padding: 30px 20px 20px; }
.groups { display: grid; gap: 10px; }
.group { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; color: var(--ink); }
.group:hover { border-color: var(--accent); text-decoration: none; }
.group b { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.group span { font-size: 10px; color: var(--muted); }
.wire { height: 1px; background: var(--accent); position: relative; opacity: .65; }
.wire::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 5px solid var(--accent); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.server-node { align-self: center; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 9px; padding: 13px; min-width: 0; }
.server-role { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.server-role .badge { font-size: 9px; }
.node-name { display: flex; gap: 7px; align-items: center; }
.node-name .icon { width: 16px; height: 16px; color: var(--muted); }
.node-name h2 { font-size: 13px; overflow-wrap: anywhere; }
.node-address { margin: 3px 0 0 23px; font-size: 10px; overflow-wrap: anywhere; }
.meter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.meter-label { display: flex; justify-content: space-between; gap: 5px; font-size: 10px; color: var(--muted); }
.meter-label b { color: var(--ink); font-weight: 600; }
progress { display: block; width: 100%; height: 4px; margin-top: 5px; appearance: none; border: 0; background: var(--wash); border-radius: 4px; }
progress::-webkit-progress-bar { background: var(--wash); border-radius: 4px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
progress:not([value]) { opacity: .2; }
.memory-note { font-size: 9px; color: var(--muted); margin: 5px 0 0; }
.node-rates { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; padding-top: 10px; margin-top: 11px; font-size: 10px; }
.node-rates b { font-weight: 550; }
.server-details { margin-top: 10px; }
.server-details summary { font-size: 10px; }
.server-details dl { font-size: 10px; grid-template-columns: 1fr; gap: 3px; }
.server-details dd { text-align: left; margin-bottom: 5px; }
.internet-node { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.internet-node .icon { width: 34px; height: 34px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; }
.direct-route { grid-column: 3; border: 1px dashed var(--line); border-radius: 6px; margin: 18px 0 0; padding: 8px 10px; display: flex; align-items: center; gap: 8px; position: relative; background: var(--surface); }
.direct-route::before { content: ""; position: absolute; top: -19px; left: 50%; height: 18px; border-left: 1px dashed var(--muted); }
.direct-route .icon { width: 15px; height: 15px; color: var(--muted); }
.direct-route b, .direct-route small { display: block; font-size: 10px; }
.diagram-note { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; margin: 10px 0 0; }
.connection-details { margin-top: 16px; }
.connection-details dl { max-width: 690px; font-size: 11px; }
.bottom-grid, .server-grid, .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; align-items: start; }
.bottom-grid .card, .server-grid .card { margin-bottom: 0; }
.list-row { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.list-row:first-child { padding-top: 0; }
.list-row:last-child { border: 0; padding-bottom: 0; }
.list-row p { margin: 3px 0 0; font-size: 11px; }
.list-row > small { flex-shrink: 0; }
.list-row small { display: block; }

/* Access and notification pages keep their existing POST boundaries. */
.request-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.request { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--raised); }
.request .request-meta { margin: 3px 0 12px; font-size: 10px; color: var(--muted); }
.request blockquote { margin: 12px 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.request form label { font-size: 11px; }
.filters { margin-bottom: 17px; }
.filters label { margin: 0; }
.filters label:first-child { flex: 1; min-width: 180px; }
.filters input, .filters select { width: 100%; }
.activity { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.activity::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.activity.online { color: var(--good); }
.activity.online::before { background: var(--good); }
.label-list { display: grid; gap: 9px; margin-bottom: 22px; }
.label-list form { display: flex; flex-wrap: wrap; gap: 8px; }
.label-list input { flex: 1; min-width: 120px; }
.preview { white-space: pre-wrap; overflow-wrap: anywhere; padding: 15px; border-radius: 9px; background: var(--raised); margin: 16px 0; }
.event { display: flex; justify-content: space-between; align-items: start; gap: 18px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.event:last-child { border-bottom: 0; }
.event strong { display: inline; font-size: 12px; }
.event small { display: block; margin-top: 4px; }
.event p { margin: 0; }
.event > form { flex-shrink: 0; }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0 0; }
.copy-feedback { font-size: 11px; color: var(--muted); }
.key-field { font-family: ui-monospace, monospace; font-size: 12px; }
.key-field::selection { background: var(--wash); }
.login-header { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: auto; padding: 25px; }
.login { max-width: 420px; margin: 7vh auto; padding: 30px; }
.login h1 { margin-bottom: 22px; }
.login input { width: 100%; }
.login button { width: 100%; }
.signed-out main { padding-top: 0; }
.chart { height: 360px; }
.chart canvas { max-height: 280px; }
code { overflow-wrap: anywhere; }

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 190px minmax(0,1fr); }
  .sidebar { padding-inline: 10px; }
  main { padding: 24px; }
  .topbar { padding-inline: 24px; }
  .network { grid-template-columns: 115px 20px minmax(150px,1fr) 20px minmax(150px,1fr) 20px 48px; padding-inline: 14px; }
  .server-node { padding: 10px; }
  .node-rates { font-size: 9px; }
}
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: 174px minmax(0,1fr); }
  .main-navigation a { padding-inline: 9px; gap: 8px; font-size: 12px; }
  main { padding: 22px 18px; }
  .stats, .tiles { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .stat.split { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; }
  .stat.split .stat-label { min-width: 110px; }
  .stat.split .rate-row { margin: 0; flex: 1; gap: 10px; justify-content: start; }
  .network { grid-template-columns: minmax(120px,1fr) 25px minmax(170px,1.3fr); gap: 0; }
  .groups { grid-column: 1; grid-row: 1; }
  .entry-wire { grid-column: 2; grid-row: 1; }
  .hop-node { grid-column: 3; grid-row: 1; }
  .exit-wire { grid-column: 3; grid-row: 2; width: 1px; height: 25px; justify-self: center; }
  .exit-wire::after, .internet-wire::after { top: auto; bottom: -1px; right: -3px; transform: rotate(90deg); }
  .foreign-node { grid-column: 3; grid-row: 3; }
  .internet-wire { grid-column: 3; grid-row: 4; width: 1px; height: 22px; justify-self: center; }
  .internet-node { grid-column: 3; grid-row: 5; flex-direction: row; justify-content: center; }
  .direct-route { grid-column: 1; grid-row: 3; margin: 0; padding: 10px; align-self: center; flex-direction: column; text-align: center; }
  .direct-route::before { display: none; }
  .bottom-grid, .server-grid { gap: 14px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; width: 244px; left: 0; top: 0; z-index: 60; visibility: hidden; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { visibility: visible; transform: translateX(0); }
  .sidebar .main-navigation a { font-size: 14px; padding: 12px; }
  .sidebar-bottom { padding-inline: 12px; }
  .mobile-close { display: grid; position: absolute; top: 25px; right: 13px; }
  .navigation-scrim { position: fixed; inset: 0; background: #17111f66; z-index: 55; }
  .menu-button { display: grid; }
  .topbar { height: 57px; padding-inline: 16px; }
  .breadcrumb { gap: 9px; }
  .breadcrumb > span { display: none; }
  main { padding: 22px 16px 30px; }
  .page-heading, .heading { align-items: start; margin-bottom: 18px; }
  h1 { font-size: 25px; }
  .page-heading .button { padding: 8px 10px; font-size: 11px; }
  .subtitle { font-size: 11px; }
  .card { padding: 16px; margin-bottom: 16px; }
  .stats, .tiles { gap: 9px; margin-bottom: 16px; }
  .stat { padding: 12px 11px; }
  .stat > strong, .stat-number { font-size: 27px; }
  .stat small { display: block; font-size: 9px; line-height: 1.4; }
  .stat.split { gap: 8px; flex-wrap: wrap; }
  .stat.split .stat-label { width: 100%; }
  .stat.split .rate-row { margin: 0; flex-basis: 40%; justify-content: space-between; }
  .notice { padding: 12px; gap: 8px; }
  .notice > .button { font-size: 10px; padding: 4px; min-height: 30px; }
  .notice .status-icon { width: 17px; }
  .network { grid-template-columns: minmax(95px,1fr) 18px minmax(145px,1.35fr); padding: 20px 12px; }
  .server-node { padding: 10px; }
  .node-name h2 { font-size: 12px; }
  .node-address { margin-left: 0; font-size: 9px; }
  .server-role { font-size: 8px; }
  .server-role .badge { font-size: 8px; padding-inline: 4px; }
  .group { padding: 10px 8px; }
  .group b { font-size: 11px; }
  .group span { font-size: 9px; }
  .meter-grid { gap: 7px; }
  .meter-label { font-size: 9px; }
  .diagram-note { font-size: 9px; align-items: start; }
  .diagram-note span:last-child { max-width: 125px; text-align: right; }
  .connection-details dl { grid-template-columns: 1fr; gap: 3px; }
  .connection-details dd { text-align: left; margin-bottom: 6px; }
  .bottom-grid, .server-grid, .form-grid, .request-grid { grid-template-columns: 1fr; gap: 16px; }
  .filters { align-items: stretch; gap: 8px; }
  .filters label { flex: 1; min-width: 120px; }
  .filters label:first-child { min-width: 100%; }
  th, td { padding: 12px 10px; }
  .event { gap: 10px; flex-wrap: wrap; }
  .event > form { margin-left: auto; }
  .client-table thead { display: none; }
  .client-table, .client-table tbody { display: block; }
  .client-table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .client-table td { padding: 0; border: 0; }
  .client-table td:first-child { grid-column: 1; grid-row: 1; }
  .client-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .client-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .client-table td:nth-child(4) { grid-column: 2; grid-row: 2; justify-self: end; }
  .client-table td:nth-child(n+5) { grid-column: 1 / -1; font-size: 10px; color: var(--muted); }
  .client-table td[data-mobile-label]::before { content: attr(data-mobile-label) ": "; }
  .login { padding: 23px; margin-top: 4vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Dark primary buttons need dark ink; neutral and semantic controls keep their tone. */
:root[data-theme="dark"] button.secondary,
:root[data-theme="dark"] .button.secondary { color: var(--accent); }
:root[data-theme="dark"] button.quiet,
:root[data-theme="dark"] .button.quiet,
:root[data-theme="dark"] button.icon-button { color: var(--muted); }
:root[data-theme="dark"] button.danger,
:root[data-theme="dark"] .button.danger { color: #fff; }
.event > div { min-width: 0; overflow-wrap: anywhere; }
.network.unconfigured { grid-template-columns: 1fr 2fr; }
.network.unconfigured .empty { padding: 24px; }
@media (max-width: 760px) {
  .network.unconfigured { grid-template-columns: 1fr; gap: 20px; }
}
