:root {
  --ink: #121a20;
  --ink-2: #1b262e;
  --ink-3: #26343d;
  --ink-soft: #55636c;
  --paper: #f3efe8;
  --paper-2: #ece6dc;
  --surface: #fffdfa;
  --surface-2: #faf7f1;
  --kraft: #c98a4b;
  --kraft-2: #e3b27a;
  --kraft-3: #f4e3ca;
  --signal: #df5a32;
  --signal-soft: #fbe9e2;
  --teal: #2f7d6e;
  --teal-soft: #e3f2ee;
  --cyan: #3d8296;
  --violet: #6c5b9e;
  --ok: #2f8a63;
  --ok-soft: #e6f4ed;
  --warn: #b7791f;
  --warn-soft: #fbf1dc;
  --danger: #c0392b;
  --danger-soft: #fbe8e5;
  --info: #3d6f9e;
  --info-soft: #e7f0f8;
  --muted: #8a949a;
  --line: rgba(18, 26, 32, .09);
  --line-strong: rgba(18, 26, 32, .16);
  --shadow-sm: 0 1px 2px rgba(26, 21, 15, .04), 0 4px 14px rgba(26, 21, 15, .05);
  --shadow-md: 0 12px 34px rgba(26, 21, 15, .10), 0 2px 6px rgba(26, 21, 15, .05);
  --shadow-lg: 0 28px 80px rgba(12, 18, 22, .22), 0 6px 18px rgba(12, 18, 22, .10);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --sidebar-w: 270px;
  --topbar-h: 74px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Segoe UI", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--kraft-2); color: var(--ink); }

.icon { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.14em; fill: currentColor; flex: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(18, 26, 32, .18); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(18, 26, 32, .3); }
::-webkit-scrollbar-track { background: transparent; }

.mono, .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.text-ok { color: var(--ok); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }
.text-kraft { color: var(--kraft); }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
