/* Shared look of the server's pages: colour tokens, type and the page title row.
   Pages link this before their own <style>; the app bar has its own file (shell.css). */
:root {
  --bg: #f6f4f0; --panel: #ffffff; --ink: #1d201e; --muted: #6a706c; --line: #e6e2db;
  --accent: #2b7a69; --accent-ink: #ffffff; --accent-soft: #e2f0eb;
  --warn: #b4532a; --warn-soft: #fbeee7; --star: #d79b00;
  --radius: 14px; --shadow: 0 1px 2px rgba(30, 25, 15, .06), 0 4px 16px rgba(30, 25, 15, .06);
  --font: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141715; --panel: #1c201e; --ink: #e9ece9; --muted: #9aa29d; --line: #2c322f;
    --accent: #5fb9a5; --accent-ink: #0e1a17; --accent-soft: #21332d;
    --warn: #e08a63; --warn-soft: #3a2a22; --star: #f2c14e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.5 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The page's own title row, under the app bar: title, a short hint, page actions. */
header.page-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 20px 16px 6px; background: none; border: 0;
}header.page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
header.page-head .sub { color: var(--muted); font-size: 14px; }
header.page-head .grow { flex: 1; }
@media (max-width: 640px) { header.page-head { padding-top: 14px; } header.page-head h1 { font-size: 20px; } }
