:root { --bg:#f6f7f9; --card:#fff; --text:#1c2330; --muted:#667085; --line:#e3e6eb; --accent:#2f6fed; --err:#c62828; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#0f1319; --card:#171d26; --text:#e6e9ef; --muted:#93a0b4; --line:#263041; --accent:#5b8dff; --err:#ff7b7b; }
}
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 system-ui, sans-serif; }
body.center { display:flex; min-height:100vh; align-items:center; justify-content:center; padding:16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:28px; width:100%; }
.narrow { max-width:380px; }
h1 { margin:0 0 18px; font-size:22px; }
label { display:block; margin:14px 0 4px; font-size:13px; color:var(--muted); }
input { width:100%; padding:10px 12px; border-radius:8px; border:1px solid var(--line); background:var(--bg); color:var(--text); font:inherit; }
input:focus { outline:2px solid var(--accent); outline-offset:1px; }
button { font:inherit; padding:8px 14px; border-radius:8px; border:1px solid var(--line); background:var(--card); color:var(--text); cursor:pointer; }
button.primary { width:100%; margin-top:18px; background:var(--accent); border-color:var(--accent); color:var(--on-accent, #fff); }
.muted { color:var(--muted); font-size:13px; }
.error { color:var(--err); min-height:1.4em; margin:14px 0 0; }
[hidden] { display:none !important; }
.topbar { display:flex; align-items:center; gap:14px; padding:12px 20px; background:var(--topbar-bg, var(--card)); color:var(--topbar-text, var(--text)); border-bottom:1px solid var(--line); flex-wrap:wrap; }
.topbar .muted { color:var(--topbar-muted, var(--muted)); }
.brand-logo { max-height:32px; max-width:160px; object-fit:contain; }
.brand-logo.login { display:block; max-height:64px; max-width:240px; margin:0 auto 14px; }
.brand-name { margin:0 0 6px; text-align:center; font-weight:600; color:var(--muted); }
.grow { flex:1; }
.tab { border:none; background:none; padding:6px 10px; color:var(--topbar-muted, var(--muted)); }
.tab.active { color:var(--topbar-text, var(--text)); border-bottom:2px solid var(--topbar-text, var(--accent)); border-radius:0; }
.content { max-width:1100px; margin:24px auto; padding:0 16px; }
.panel { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; }
.notice { max-width:1100px; margin:12px auto 0; padding:10px 14px; border:1px solid var(--accent); border-radius:8px; }

/* ---- shared components (Phase B) ---- */
h2 { font-size:18px; margin:0 0 12px; }
h2.flush, h3.flush { margin:0; }
h3 { font-size:15px; margin:22px 0 10px; }
select, textarea { width:100%; padding:8px 10px; border-radius:8px; border:1px solid var(--line); background:var(--bg); color:var(--text); font:inherit; }
textarea { resize:vertical; }
button.small { padding:5px 10px; font-size:13px; }
button.primary.small { width:auto; margin-top:0; }
button.danger { color:var(--err); }
button.link { border:none; background:none; padding:0; color:var(--accent); font-size:13px; }
button.link.danger { color:var(--err); }
.row { display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.row-gap { display:flex; gap:8px; align-items:center; }
.row-gap select { width:auto; }
.spaced { margin-top:12px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; }
.grid .card { padding:16px; }
.card.click { cursor:pointer; }
.card.click:hover, .card.click:focus { border-color:var(--accent); outline:none; }
.snippet { margin-top:8px; }
.pill { font-size:12px; padding:2px 9px; border-radius:999px; border:1px solid var(--line); color:var(--muted); }
.pill.active { color:var(--accent); border-color:var(--accent); }
.pill.done { color:var(--ok); border-color:var(--ok); }
.pill.paused { color:var(--warn); border-color:var(--warn); }
.bar { height:8px; background:var(--line); border-radius:99px; overflow:hidden; margin:10px 0 6px; }
.fill { height:100%; background:var(--accent); }
.task { display:flex; gap:10px; align-items:center; padding:6px 0; border-bottom:1px solid var(--line); }
.task input[type=checkbox] { width:auto; }
.task span { flex:1; }
.task.done span { text-decoration:line-through; color:var(--muted); }
.tl { border-left:2px solid var(--line); margin:16px 0 0 6px; padding-left:16px; }
.tl-item { margin-bottom:14px; position:relative; }
.tl-item::before { content:""; position:absolute; left:-23px; top:6px; width:10px; height:10px; border-radius:50%; background:var(--accent); }
.tl-item.task::before, .tl-item.created::before { background:var(--ok); }
.tl-item.commit::before { background:var(--muted); }
.tl-item.status::before { background:var(--warn); }
dialog { border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--text); width:min(460px, 92vw); }
dialog::backdrop { background:rgba(0,0,0,.5); }
:root { --ok:#1a9d5c; --warn:#c77d0a; }
@media (prefers-color-scheme: dark) { :root { --ok:#3ccf85; --warn:#e0a03a; } }

/* ---- Servers tab (Phase C) ---- */
.list { display:flex; flex-direction:column; gap:10px; }
.card.monitor { padding:12px 16px; }
.row.click { cursor:pointer; }
.type-tag { text-transform:uppercase; font-size:11px; letter-spacing:.03em; }
.small-note { margin-top:6px; }
.warn-text { color:var(--warn); }
.pill.pending { color:var(--muted); }
.pill.down { color:var(--err); border-color:var(--err); }
.expand { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.expand input[readonly] { background:var(--bg); cursor:text; }
select:disabled { opacity:.6; }
.tl-item.up::before { background:var(--ok); }
.tl-item.down::before { background:var(--err); }

/* ---- Terminal tab (Phase D) ---- */
.term-card { padding:0; overflow:hidden; }
.term-output {
  margin:0; padding:14px; height:360px; overflow-y:auto; background:#0b0f14; color:#d6e2e8;
  font:13px/1.5 'SF Mono', Consolas, 'Liberation Mono', monospace; white-space:pre-wrap; word-break:break-all;
}
.term-toolbar { padding:8px 12px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg); }
.term-input {
  width:100%; border:none; border-radius:0; padding:10px 14px; background:#0b0f14; color:#d6e2e8;
  font:13px/1.4 'SF Mono', Consolas, 'Liberation Mono', monospace;
}
.term-input:focus { outline:none; }

.doc-body {
  white-space:pre-wrap; word-wrap:break-word; font:14px/1.5 inherit; background:var(--card);
  border:1px solid var(--line); border-radius:10px; padding:16px; margin-top:12px;
}
.doc-editor { font:13px/1.4 'SF Mono', Consolas, 'Liberation Mono', monospace; white-space:pre; }

/* ---- roles editor & appearance (Phase H) ---- */
.perm-grid { display:grid; grid-template-columns:minmax(120px, 1fr) 130px; gap:8px 12px; align-items:start; margin-top:10px; }
.perm-grid .scope { grid-column:1 / -1; margin:-2px 0 6px 12px; padding:8px 10px; border-left:2px solid var(--line); }
.perm-grid .scope label { display:flex; gap:8px; align-items:center; margin:2px 0; font-size:13px; color:var(--text); }
.perm-grid .scope input[type=checkbox] { width:auto; }
.subnav { display:flex; gap:6px; margin-bottom:16px; flex-wrap:wrap; }
.subnav button.active { border-color:var(--accent); color:var(--accent); }
.swatch-row { display:flex; gap:10px; align-items:center; }
.swatch-row input[type=color] { width:48px; height:34px; padding:2px; }
.swatch-row input[type=text] { width:120px; }
.preview { border:1px solid var(--line); border-radius:10px; overflow:hidden; margin-top:12px; }
.preview .bar-mock { display:flex; gap:12px; align-items:center; padding:10px 14px; background:var(--topbar-bg, var(--card)); color:var(--topbar-text, var(--text)); border-bottom:1px solid var(--line); }
.preview .body-mock { padding:14px; background:var(--bg); }
.thumb { max-height:48px; max-width:160px; object-fit:contain; background:repeating-conic-gradient(#8883 0% 25%, transparent 0% 50%) 50% / 12px 12px; border-radius:4px; }

/* ---- dashboard (Phase I) ---- */
#tab-overview.flat { background:none; border:none; padding:0; }
.dash-toolbar { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.dash-toolbar h2 { margin:0; }
.dash-toolbar p { margin:2px 0 0; }
.dash-grid { display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); grid-auto-rows:72px; gap:12px; position:relative; }
.dash-tile { grid-column:calc(var(--x) + 1) / span var(--w); grid-row:calc(var(--y) + 1) / span var(--h); position:relative;
  background:var(--card); border:1px solid var(--line); border-radius:12px; padding:12px 14px; overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.dash-tile .tile-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
.dash-tile .tile-title { font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
.dash-tile .tile-open, .widget-link { font-size:12px; }
.tile-body { flex:1; overflow:auto; min-height:0; }
.tile-body p { margin:4px 0; }
.tile-body ul.plain { list-style:none; margin:6px 0 0; padding:0; }
.tile-body ul.plain li { padding:4px 0; border-bottom:1px solid var(--line); }
.tile-body ul.plain li:last-child { border-bottom:none; }
.tile-body ul.small { font-size:13px; }
.tile-body .bar { margin-top:4px; }
.stats { display:flex; gap:16px; flex-wrap:wrap; }
.stat { display:flex; flex-direction:column; line-height:1.15; }
.stat strong { font-size:26px; }
.stat span { font-size:12px; color:var(--muted); }
.stat.ok strong { color:var(--ok); }
.stat.bad strong, .bad-text { color:var(--err); }
.stat.warn strong { color:var(--warn); }
.clock-time { font-size:34px; font-weight:600; line-height:1.1; }
.note-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.dash-tile.editing { border-style:dashed; border-color:var(--accent); }
.dash-tile .handle { cursor:grab; touch-action:none; user-select:none; border-radius:6px; padding:2px 4px; margin:-2px -4px 4px; }
.dash-tile .handle:focus-visible { outline:2px solid var(--accent); }
.dash-tile.dragging { z-index:5; opacity:.9; box-shadow:0 8px 24px rgba(0,0,0,.25); }
.dash-tile.dragging .handle { cursor:grabbing; }
.tile-actions { display:flex; gap:4px; }
button.icon { padding:0 7px; line-height:22px; border-radius:6px; font-size:13px; }
.dash-tile .grip { position:absolute; right:0; bottom:0; width:24px; height:24px; cursor:nwse-resize; touch-action:none;
  background:linear-gradient(135deg, transparent 50%, var(--accent) 50%); opacity:.7; }   /* square: the tile's own rounded corner clips it */
.dash-placeholder { display:none; grid-column:calc(var(--x) + 1) / span var(--w); grid-row:calc(var(--y) + 1) / span var(--h);
  border:2px dashed var(--accent); border-radius:12px; background:rgba(127,127,127,.12); }
.dash-placeholder.show { display:block; }
.dash-picker { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:10px; margin-bottom:12px; }
.picker-item { display:flex; justify-content:space-between; align-items:center; gap:10px; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:10px 12px; }
.picker-item p { margin:0; }
.widget-settings textarea { font-family:inherit; }
.widget-settings label.check { display:flex; gap:8px; align-items:center; }
.widget-settings label.check input { width:auto; }
@media (max-width: 720px) {
  .dash-grid { display:flex; flex-direction:column; }
  .dash-tile { min-height:calc(var(--h) * 72px); }
}

/* ---- Proxmox split view (Phase J): container list left, SSH console window right ---- */
.prox-split { display:grid; grid-template-columns:minmax(260px, 340px) minmax(0, 1fr); gap:16px; align-items:stretch; margin-top:12px; }
.prox-left { min-width:0; }
.prox-list .row-gap { flex-wrap:wrap; }
.prox-list { padding:16px; height:100%; }
.ct-rows { margin-top:12px; display:flex; flex-direction:column; gap:4px; max-height:calc(100vh - 330px); overflow:auto; }
.ct-row { display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid transparent; border-radius:8px; cursor:pointer; }
.ct-row:hover { background:var(--bg); }
.ct-row:focus-visible { outline:2px solid var(--accent); }
.ct-row.selected { border-color:var(--accent); background:var(--bg); }
.ct-row .ct-name { font-weight:600; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dot { width:10px; height:10px; border-radius:50%; flex:none; background:var(--muted); }
.dot.on { background:#1f9d55; }
.dot.off { background:var(--err); }
.prox-pane { display:flex; flex-direction:column; padding:16px; height:calc(100vh - 150px); min-height:520px; min-width:0; }
.pane-head { padding-bottom:10px; border-bottom:1px solid var(--line); margin-bottom:12px; flex-wrap:wrap; gap:8px; }
.pane-body { flex:1; display:flex; flex-direction:column; min-height:0; overflow:auto; }
.pane-body > .term-card { flex:1; display:flex; flex-direction:column; min-height:0; }
.pane-body .term-output { flex:1; height:auto; max-height:none; min-height:0; }
.pane-empty { margin:auto; text-align:center; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width: 900px) {
  .prox-split { grid-template-columns:1fr; }
  .ct-rows { max-height:260px; }
  .prox-pane { height:75vh; min-height:440px; }
}

/* ---- Phase K: invites, account page ---- */
button.linklike { border:0; background:none; color:var(--muted); cursor:pointer; padding:4px 6px; text-decoration:underline dotted; }
button.linklike:hover { color:var(--text); }
.invite { max-width:440px; }
.invite h2.step { font-size:15px; margin:22px 0 6px; }
.invite .check { display:flex; gap:8px; align-items:center; margin:16px 0 0; color:var(--text); }
.invite .check input { width:auto; }
.qr { display:block; width:200px; height:200px; margin:10px auto; border:1px solid var(--line); border-radius:8px; background:#fff; }
.secret { display:block; word-break:break-all; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:var(--bg); user-select:all; }
.codes { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:10px 0; }
.codes code { padding:6px 8px; border:1px solid var(--line); border-radius:6px; background:var(--bg); text-align:center; }
.auth-setup { text-align:left; }
#invite-link { flex:1; min-width:0; }
.invite-row .row { flex-wrap:wrap; gap:8px; }
#invites-host { margin-bottom:16px; }

/* Directory (LDAP) settings */
.field { display:flex; flex-direction:column; gap:4px; margin-top:10px; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.check { display:flex; align-items:center; gap:8px; margin-top:10px; }
.check input { width:auto; }
.map-row { flex-wrap:wrap; margin-top:8px; }
.map-row .map-group, .map-row .map-role { flex:1 1 140px; min-width:0; }
.secret { font-family:ui-monospace, monospace; }
.ok-note { color:var(--ok); }
a.button { display:inline-block; text-decoration:none; padding:6px 12px; border:1px solid var(--line); border-radius:8px; color:var(--text); }
.test-step { display:flex; gap:8px; margin-top:6px; }
.test-step.ok strong { color:var(--ok); }
.test-step.bad strong { color:var(--err); }
@media (max-width:600px) { .two-col { grid-template-columns:1fr; } }
a.button.wide { display:block; text-align:center; padding:10px 12px; margin-top:4px; }
.center-text { text-align:center; margin:12px 0 4px; }
code { overflow-wrap:anywhere; }
.field input, .field textarea, .field select { max-width:100%; box-sizing:border-box; }

.tenant-switch { width:auto; max-width:220px; margin:0 8px 0 0; }
.logo-preview { max-height:64px; max-width:240px; display:block; margin:6px 0; background:#fff; border:1px solid var(--line); padding:4px; border-radius:6px; }
.module-grid label.check { display:flex; gap:8px; align-items:center; margin:4px 0; font-weight:normal; }

/* Customers, quotes and invoices */
a.button { display:inline-block; text-decoration:none; padding:6px 12px; border:1px solid var(--line); border-radius:8px; color:inherit; background:var(--card); font:inherit; }
a.button.small { padding:4px 10px; font-size:13px; }
.row-gap.wrap { flex-wrap:wrap; }
.doc-lines { width:100%; border-collapse:collapse; margin:12px 0; }
.doc-lines th, .doc-lines td { padding:6px 8px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.doc-lines .num, .doc-lines th:not(:first-child) { text-align:right; white-space:nowrap; }
.totals { margin-left:auto; max-width:320px; }
.total-row { padding:2px 0; }
.ed-line { display:grid; grid-template-columns:minmax(120px,3fr) 70px 90px 70px 70px 36px; gap:6px; margin-bottom:6px; align-items:center; }
.ed-line input { margin:0; min-width:0; }
.rule-row { padding:6px 0; border-bottom:1px solid var(--line); }
.rule-form { margin-top:14px; }
#ed-lines .ed-line:has(.l-product), .ed-line.ed-head:has(+ #ed-lines .l-product) { grid-template-columns:minmax(120px,3fr) 70px 90px 70px 70px minmax(90px,1.5fr) 36px; }
.ed-line.ed-po { grid-template-columns:minmax(120px,3fr) 70px 90px 70px minmax(90px,1.5fr) 36px; }
.ed-line.ed-rc { grid-template-columns:minmax(120px,3fr) 70px 90px 70px 36px; }
@media (max-width:640px) { .ed-line, .ed-line.ed-po, .ed-line.ed-rc, #ed-lines .ed-line:has(.l-product) { grid-template-columns:1fr 1fr 1fr; } .ed-line { grid-template-columns:1fr 1fr 1fr; } .ed-line .l-desc { grid-column:1 / -1; } .ed-head { display:none; } }

.table-scroll { overflow-x:auto; max-width:100%; -webkit-overflow-scrolling:touch; }
.table-scroll table { min-width:100%; }


/* Phase U: assets, helpdesk, notifications */
.hd-comment { margin: .4rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.hd-internal { border-style: dashed; }
.hd-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.nt-unread { border-left: 3px solid var(--accent, #3b82f6); }
#bell { white-space: nowrap; }
#bell-count:not(:empty) { background: #dc2626; color: #fff; border-radius: 999px; padding: 0 .45rem; font-size: .75rem; }

/* ---- Phase V: left-hand menu ---- */
.shell { display:grid; grid-template-columns:250px minmax(0, 1fr); min-height:100vh; }
.sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; background:var(--topbar-bg, var(--card)); color:var(--topbar-text, var(--text)); border-right:1px solid var(--line); }
.side-brand { display:flex; align-items:center; gap:10px; padding:16px 16px 12px; border-bottom:1px solid var(--line); }
.side-brand strong { overflow-wrap:anywhere; }
.side-toggle { display:none; margin-left:auto; padding:4px 10px; }
.side-body { flex:1; display:flex; flex-direction:column; min-height:0; }
.side-nav { flex:1; overflow-y:auto; padding:8px; display:flex; flex-direction:column; gap:2px; }
.side-nav .tab { border:none; border-radius:8px; text-align:left; width:100%; background:none; padding:8px 12px; color:var(--topbar-muted, var(--muted)); }
.side-nav .tab:hover, .nav-head:hover { background:var(--bg); }
.side-nav .tab.active { color:var(--topbar-text, var(--text)); background:var(--bg); border-bottom:none; box-shadow:inset 3px 0 0 var(--accent); }
.nav-head { display:flex; justify-content:space-between; align-items:center; width:100%; border:none; background:none; text-align:left; padding:8px 12px; border-radius:8px; color:var(--topbar-text, var(--text)); font-weight:600; }
.nav-head.has-active { box-shadow:inset 3px 0 0 var(--accent); }
.nav-head .caret { transition:transform .15s; display:inline-block; }
.nav-head[aria-expanded="true"] .caret { transform:rotate(90deg); }
.nav-items { display:flex; flex-direction:column; gap:2px; margin:2px 0 6px 10px; padding-left:8px; border-left:1px solid var(--line); }
.side-foot { padding:10px 12px 14px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:8px; }
.side-foot select, .side-foot button#logout { width:100%; margin:0; }
.side-user { display:flex; justify-content:space-between; align-items:center; gap:8px; }
#who { overflow-wrap:anywhere; text-align:left; }
.main { min-width:0; }
@media (max-width: 800px) {
  .shell { grid-template-columns:1fr; grid-template-rows:auto 1fr; }
  .sidebar { position:static; height:auto; border-right:none; border-bottom:1px solid var(--line); }
  .side-toggle { display:inline-block; }
  .side-body { display:none; }
  .sidebar.open .side-body { display:flex; max-height:75vh; }
  .content { margin:16px auto; }
}
.side-title { display:flex; flex-direction:column; min-width:0; }
.side-title .muted { overflow-wrap:anywhere; }
.module-group { margin:8px 0; }
.stat.big strong { font-size:38px; }
.stat.ok strong { color:var(--ok, #2e9e5b); }

.wf-task { display:flex; align-items:center; gap:10px; margin:0; font-size:14px; color:var(--text); }
.wf-task input { width:auto; margin:0; }
.wf-add { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:8px; }
.wf-add input, .wf-add textarea { width:auto; flex:1 1 160px; min-width:0; }
.wf-add input[type=number] { flex:0 1 120px; }

/* Customer portal */
.portal-wrap { max-width: 56rem; margin: 0 auto; padding: 1rem; display: grid; gap: 1rem; }
.portal-wrap a.card { text-decoration: none; color: inherit; display: block; }
.portal-wrap a.card strong { font-size: 1.4rem; }
.portal-wrap .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.portal-wrap .table { width: 100%; border-collapse: collapse; }
.portal-wrap .table th, .portal-wrap .table td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line, #ddd); }

/* Phase Y3: top bar with the one user dropdown, indented supplier pages, small helpers */
.topbar { position:sticky; top:0; z-index:20; display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:8px 16px; background:var(--card); border-bottom:1px solid var(--line); }
.topbar .tenant-switch { margin:0; }
.user-menu { position:relative; display:flex; align-items:center; gap:6px; }
.user-btn { margin:0; }
.top-badge { background:var(--err); color:#fff; border-radius:10px; font-size:.75rem; padding:0 6px; line-height:1.4; }
.dropdown { position:absolute; right:0; top:100%; margin-top:6px; min-width:190px; background:var(--card); border:1px solid var(--line); border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,.18); padding:4px; display:flex; flex-direction:column; gap:2px; }
.dropdown[hidden] { display:none; }
.dropdown button { width:100%; margin:0; text-align:left; border:0; background:none; }
.dropdown button:hover { background:var(--bg); }
.nav-caption { margin:6px 0 0 4px; font-size:.75rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
.nav-indent { padding-left:22px; }
.us-row { cursor:pointer; }
.us-field { padding:2px 0; }
h2.inline { display:inline; margin:0 6px; }
.sp-section[hidden] { display:none; }
.subnav { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 14px; }
.subnav .active { background:var(--accent); color:#fff; border-color:var(--accent); }
@media (max-width: 800px) { .topbar { padding-left:56px; } }
