/* Heapdesk themes: dark (default), e-paper, classic Mac and terminal. Every colour is a CSS
   variable so pages and dashboards inherit the active <html data-theme>. No external fonts or CDNs. */
:root {
  --bg: #0b1117; --bg2: #101820; --panel: #131d27; --panel2: #182432; --line: #243243;
  --text: #d8e1ea; --muted: #8597a8; --accent: #3fd0a4; --accent2: #5aa9ff; --warn: #f0b44c; --bad: #ff6b6b;
  --c1: #3fd0a4; --c2: #5aa9ff; --c3: #f0b44c; --c4: #ff8f5a; --c5: #b18cff;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --r: 8px;
  --on-accent: #062018; --accent-hover: #57dfb6; --hover-line: #3a5068; --focus: #1f6f5a;
  --well: #070b10; --chart-bg: #0a1016; --tooltip-bg: #0b1117ee; --cursor: #ffffff44;
  --info-bg: #12303a; --info-line: #1f5566; --info-text: var(--text);
  --err-bg: #3a1719; --err-line: #6b2a2e; --err-text: #ffd6d6; --danger-text: #ffb3b3;
  --warn-bg: #2b2412; --warn-line: #6b5520; --warn-text: #ffe7b5;
  --dot-off: #4a5a6a; --glow: #3fd0a433; --shadow: 0 20px 60px #0008; --lead: #b9c7d4;
  --head-font: var(--sans);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, .mono { font-family: var(--mono); font-size: 13px; }
code { background: var(--panel2); padding: 1px 5px; border-radius: 4px; }
h1, h2 { font-family: var(--head-font); }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.01em; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 18px 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 32px; }
[hidden] { display: none !important; }

.topbar { display: flex; align-items: center; gap: 22px; padding: 10px 24px; background: var(--bg2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar nav { display: flex; gap: 18px; align-items: center; flex: 1; }
.topbar nav a { color: var(--text); }
.topbar .right { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--mono); font-size: 17px; }
.brand b { color: var(--accent); }
.brand:hover { text-decoration: none; }
.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
button.link:hover { color: var(--text); }

main.app, main.site { max-width: 1240px; margin: 0 auto; padding: 24px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); padding: 18px 24px; font-size: 13px; text-align: center; }

.banner { padding: 9px 24px; font-size: 14px; border-bottom: 1px solid var(--line); }
.banner-locked { background: var(--err-bg); color: var(--err-text); }
.banner-trial { background: var(--warn-bg); color: var(--warn-text); }
.flash { background: var(--info-bg); color: var(--info-text); border: 1px solid var(--info-line); padding: 10px 14px; border-radius: var(--r); margin: 0 0 16px; }
.flash-error { background: var(--err-bg); border-color: var(--err-line); color: var(--err-text); }

.btn { display: inline-block; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font: 600 14px var(--sans); cursor: pointer; }
.btn:hover { border-color: var(--hover-line); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { color: var(--danger-text); border-color: var(--err-line); }
.btn-danger:hover { background: var(--err-bg); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: wait; }
.pill { display: inline-block; border: 1px solid var(--line); padding: 1px 9px; border-radius: 99px; font-size: 12px; color: var(--muted); }
.pill-trial { border-color: var(--warn-line); color: var(--warn); }
.pill-locked { border-color: var(--err-line); color: var(--bad); }

input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font: 14px var(--sans); min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); border-color: var(--accent); }
input[type=file] { color: var(--muted); font-size: 13px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.row input[type=text] { flex: 1 1 140px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 0 0 18px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.card.empty { text-align: center; padding: 34px; }
.narrow { max-width: 460px; margin: 40px auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cols > .card { min-width: 0; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]:hover { color: var(--text); }
.table-wrap { overflow-x: auto; }
td.num { font-family: var(--mono); text-align: right; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dot-off); vertical-align: middle; }
.dot.on { background: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; }
pre.code { background: var(--well); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; overflow-x: auto; white-space: pre; margin: 8px 0 14px; }
code.secret { color: var(--warn); }
code.copy { cursor: copy; }
code.copied { outline: 1px solid var(--accent); }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0 0 18px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; }
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.stat .value { font: 600 22px var(--mono); }
.stat .sub { color: var(--muted); font-size: 12px; min-height: 1em; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { background: transparent; color: var(--muted); border: 0; border-right: 1px solid var(--line); padding: 5px 11px; font: 13px var(--mono); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button.active { background: var(--panel2); color: var(--accent); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.charts figure { margin: 0; min-width: 0; }
.charts figcaption { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } }
canvas { width: 100%; display: block; background: var(--chart-bg); border: 1px solid var(--line); border-radius: 6px; }
.legend i { display: inline-block; width: 10px; height: 3px; margin: 0 4px 2px 8px; vertical-align: middle; }
.c1 { background: var(--c1); } .c2 { background: var(--c2); } .c3 { background: var(--c3); } .c4 { background: var(--c4); } .c5 { background: var(--c5); }

.tasks .bar, .mock-table .bar { width: 34%; }
.bar i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.bar i.warn { background: var(--warn); }
.bar i.bad { background: var(--bad); }
.w38 { width: 38%; } .w72 { width: 72%; } .w91 { width: 91%; }
.crashes { list-style: none; padding: 0; margin: 0; }
.crashes li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.console-out { background: var(--well); border: 1px solid var(--line); border-radius: 6px; height: 260px; overflow-y: auto; padding: 10px; font: 13px/1.45 var(--mono); white-space: pre-wrap; margin-bottom: 10px; }
.console-out .in { color: var(--accent); }
.console-out .err { color: var(--bad); }
.console-out .meta { color: var(--muted); }
.status { min-height: 1.3em; color: var(--muted); margin: 6px 0 0; }
.status.err { color: var(--bad); }
.status.ok { color: var(--accent); }
.progress { height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0; }
.progress .bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.nvs-table input { width: 100%; }
details.menu { position: relative; }
details.menu summary { list-style: none; }
details.menu summary::-webkit-details-marker { display: none; }
.menu-body { position: absolute; right: 0; top: 36px; background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; width: 320px; z-index: 4; }
.menu-body form { margin: 0 0 8px; }
details summary { cursor: pointer; color: var(--muted); }

/* landing */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -.02em; }
.eyebrow { font: 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.lead { font-size: 18px; color: var(--lead); }
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.mock-row { margin-bottom: 10px; }
.mock-chart { width: 100%; height: 110px; background: var(--chart-bg); border-radius: 6px; }
.mock-chart polyline { fill: none; stroke: var(--c1); stroke-width: 2; }
.mock-chart polyline.b { stroke: var(--c4); stroke-width: 1.5; }
.mock-table td { font: 13px var(--mono); }
.features, .how, .pricing, .faq { padding: 36px 0; border-top: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 16px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3, .grid4 { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; } }
.feature, .plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.feature h3, .plan h3 { margin-top: 0; }
.plan.current { border-color: var(--accent); }
.price { font: 600 30px var(--mono); margin: 8px 0 0; }
.price span { font-size: 14px; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 12px 0 16px; }
.steps li { margin-bottom: 10px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { color: var(--text); font-weight: 600; }
.cta { text-align: center; padding: 40px 0; }
.auth h1 { font-size: 22px; }
/* alerts, team, API, usage */
.stack.wide { max-width: none; }
.row label { flex: 0 1 auto; }
.row label.grow { flex: 1 1 320px; }
.mt-s { margin-top: 14px; }
.usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.meter { height: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--accent); }
.meter i.full { background: var(--warn); }
.w0{width:0}.w10{width:10%}.w20{width:20%}.w30{width:30%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w70{width:70%}.w80{width:80%}.w90{width:90%}.w100{width:100%}

/* theme picker, layout editor, widgets, dashboards */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.themepick select { padding: 3px 6px; font-size: 12px; }
.footer .themepick { margin-left: 12px; }
.head-actions { display: flex; gap: 8px; align-items: flex-start; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 18px; }
.widgets > .widget { grid-column: 1 / -1; margin: 0; min-width: 0; }
.widgets > .widget.w-half { grid-column: auto; }
@media (max-width: 900px) { .widgets { grid-template-columns: 1fr; } .widgets > .widget.w-half { grid-column: 1 / -1; } }
.layout-list { list-style: none; padding: 0; margin: 8px 0 12px; }
.layout-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.layout-list label { color: var(--text); font-size: 14px; }
.layout-list .move { display: flex; gap: 4px; }
.layout-list .move .btn { padding: 1px 7px; }
.menu-wide { width: 380px; max-height: 70vh; overflow-y: auto; }
.menu-body label { margin-bottom: 8px; }
fieldset.picks { border: 1px solid var(--line); border-radius: 6px; margin: 0 0 12px; padding: 8px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
fieldset.picks legend { color: var(--muted); font-size: 12px; padding: 0 4px; }
fieldset.picks label { color: var(--text); margin: 0; }
.dash-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0 0 18px; }
.dash-link { display: block; color: var(--text); margin: 0; }
.dash-link:hover { text-decoration: none; border-color: var(--accent); }
.dash-link h2 { margin: 0 0 4px; }
.glance { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.glance-card { margin: 0; }
.glance-card h2 { font-size: 16px; margin: 0 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glance-card h2 a { color: var(--text); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.tile { background: var(--panel2); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 6px; padding: 6px 9px; min-width: 0; }
.tile dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.tile dd { margin: 0; font: 600 16px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile.ok { border-left-color: var(--accent); }
.tile.warn { border-left-color: var(--warn); }
.tile.warn dd { color: var(--warn); }
.tile.bad { border-left-color: var(--bad); }
.tile.bad dd { color: var(--bad); }

/* ---- E-paper: cream paper, near-black ink, almost no colour, faint grain, no motion ---- */
:root[data-theme="epaper"] {
  --bg: #f3efe4; --bg2: #ebe6d8; --panel: #f8f5ec; --panel2: #eee9dc; --line: #c9c2b0;
  --text: #1d1c19; --muted: #6a665c; --accent: #2a2925; --accent2: #1d1c19; --warn: #8a6a1f; --bad: #8c2f24;
  --c1: #1d1c19; --c2: #6f7b86; --c3: #a3895a; --c4: #8c2f24; --c5: #7a6f9b;
  --on-accent: #f8f5ec; --accent-hover: #45433d; --hover-line: #8e8776; --focus: #6a665c;
  --well: #efeadd; --chart-bg: #f8f5ec; --tooltip-bg: #f8f5eef0; --cursor: #1d1c1955;
  --info-bg: #ebe6d8; --info-line: #b5ad98; --info-text: #1d1c19;
  --err-bg: #f1e2dc; --err-line: #c49c92; --err-text: #6e2219; --danger-text: #8c2f24;
  --warn-bg: #efe6cf; --warn-line: #c4ad79; --warn-text: #5c4615;
  --dot-off: #b9b2a1; --glow: transparent; --shadow: none; --lead: #3d3b35;
  --head-font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --r: 3px;
}
:root[data-theme="epaper"] body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="epaper"] a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
:root[data-theme="epaper"] .topbar nav a, :root[data-theme="epaper"] .brand { text-decoration: none; }
:root[data-theme="epaper"] * { transition: none !important; }
:root[data-theme="epaper"] .seg button.active { background: var(--text); color: var(--bg); }

/* ---- Classic Mac (System 7 / Platinum): grey desktop, white windows, black chrome, striped title bars ---- */
:root[data-theme="classic"] {
  --bg: #c9c9c9; --bg2: #ffffff; --panel: #ffffff; --panel2: #eeeeee; --line: #000000;
  --text: #000000; --muted: #555555; --accent: #3a5fcd; --accent2: #0000cc; --warn: #9a6400; --bad: #c00000;
  --c1: #000000; --c2: #3a5fcd; --c3: #c07a00; --c4: #c00000; --c5: #7a3fbf;
  --on-accent: #ffffff; --accent-hover: #2d4ca8; --hover-line: #000000; --focus: #3a5fcd;
  --well: #ffffff; --chart-bg: #ffffff; --tooltip-bg: #ffffffee; --cursor: #00000066;
  --info-bg: #ffffcc; --info-line: #000000; --info-text: #000000;
  --err-bg: #ffe0e0; --err-line: #000000; --err-text: #800000; --danger-text: #c00000;
  --warn-bg: #ffffcc; --warn-line: #000000; --warn-text: #000000;
  --dot-off: #9a9a9a; --glow: transparent; --shadow: 2px 2px 0 #000; --lead: #222222;
  --sans: "Chicago", "ChicagoFLF", "Charcoal", "Geneva", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Monaco", "Andale Mono", "Courier New", monospace;
  --head-font: var(--sans);
  --r: 0;
}
:root[data-theme="classic"] body { background-image: repeating-conic-gradient(#bdbdbd 0 25%, #c9c9c9 0 50%); background-size: 4px 4px; }
:root[data-theme="classic"] .topbar { border-bottom: 1px solid #000; }
:root[data-theme="classic"] .card, :root[data-theme="classic"] .stat, :root[data-theme="classic"] .feature,
:root[data-theme="classic"] .plan, :root[data-theme="classic"] .menu-body { box-shadow: 2px 2px 0 #000; }
:root[data-theme="classic"] .card > h2:first-child {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin: -18px -20px 14px; padding: 3px 8px; border-bottom: 1px solid #000; font-size: 14px;
}
:root[data-theme="classic"] .card > h2:first-child::before, :root[data-theme="classic"] .card > h2:first-child::after {
  content: ""; flex: 1; height: 11px; background: repeating-linear-gradient(#000 0 1px, transparent 1px 2px);
}
:root[data-theme="classic"] .card-head { margin: -18px -20px 14px; padding: 4px 12px; border-bottom: 1px solid #000; }
:root[data-theme="classic"] .card.empty > h2:first-child { margin-top: -34px; margin-left: -34px; margin-right: -34px; }
:root[data-theme="classic"] .btn { border-radius: 6px; background: #fff; border: 1px solid #000; box-shadow: none; }
:root[data-theme="classic"] .btn:active { background: #000; color: #fff; }
:root[data-theme="classic"] .btn-primary { background: #fff; color: #000; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000; }
:root[data-theme="classic"] .btn-primary:hover { background: #eee; }
:root[data-theme="classic"] .seg button.active { background: #000; color: #fff; }
:root[data-theme="classic"] .tile { background: #fff; }
:root[data-theme="classic"] th, :root[data-theme="classic"] td, :root[data-theme="classic"] .crashes li,
:root[data-theme="classic"] .layout-list li { border-bottom-color: #bdbdbd; }

/* ---- Terminal: phosphor green on black, amber links, monospace everywhere, faint scanlines ---- */
:root[data-theme="nerd"] {
  --bg: #050805; --bg2: #081008; --panel: #0a120a; --panel2: #0f1a0f; --line: #1d3a1d;
  --text: #b8f5b0; --muted: #5f9a5a; --accent: #39ff6a; --accent2: #ffb000; --warn: #ffb000; --bad: #ff5f56;
  --c1: #39ff6a; --c2: #ffb000; --c3: #4fd6e8; --c4: #ff5f56; --c5: #d77bff;
  --on-accent: #031203; --accent-hover: #7dff9c; --hover-line: #39ff6a; --focus: #39ff6a;
  --well: #020502; --chart-bg: #030703; --tooltip-bg: #050805ee; --cursor: #39ff6a55;
  --info-bg: #0b1f0b; --info-line: #1d5a1d; --info-text: var(--text);
  --err-bg: #2a0d0b; --err-line: #6b2420; --err-text: #ffb3ad; --danger-text: #ff8a82;
  --warn-bg: #251a03; --warn-line: #6b4a00; --warn-text: #ffd27a;
  --dot-off: #2b4a2b; --glow: #39ff6a33; --shadow: 0 0 30px #39ff6a14; --lead: #8fd889;
  --sans: var(--mono); --head-font: var(--mono);
  --r: 2px;
}
:root[data-theme="nerd"] body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(transparent 0 2px, #00000026 2px 3px);
}
:root[data-theme="nerd"] h1, :root[data-theme="nerd"] .stat .value, :root[data-theme="nerd"] .brand { text-shadow: 0 0 6px #39ff6a55; }
:root[data-theme="nerd"] h1::before { content: "$ "; color: var(--muted); }
@media (prefers-reduced-motion: reduce), print { :root[data-theme="nerd"] body::after { display: none; } }
