/* Shared theme tokens. Feature stylesheets use these variables, never raw colours. */
:root {
  --abyss: #050d18;
  --deep: #0a1a2e;
  --mid: #12304f;
  --shallow: #1d5b8c;
  --foam: #e6f1fa;
  --muted: #8aa5bf;
  --accent: #3fd0c9;      /* teal: your dives */
  --wish: #f6b94a;        /* amber: wishlist */
  --danger: #ff6b6b;
  --extreme: #d36bff;     /* violet: dive outlook level 4 */
  --paper: #f7f1e3;       /* logbook page */
  --ink: #1f2a36;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --topbar-h: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--abyss); color: var(--foam); font-family: var(--font); }
a { color: var(--accent); }
.topbar { height: var(--topbar-h); display: flex; align-items: center; gap: 24px; padding: 0 16px;
  background: linear-gradient(90deg, var(--deep), var(--mid)); border-bottom: 1px solid #ffffff14; }
.topbar .brand { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--foam); text-decoration: none; }
.topbar nav { display: flex; gap: 16px; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--foam); }
.topbar .account { margin-left: auto; color: var(--muted); text-decoration: none; }
.topbar .account:hover { color: var(--foam); }
main { height: calc(100% - var(--topbar-h)); }
