/* Palette, reset and page shell.
   Kept separate from style.css because it is the site-wide theme rather than
   this app's UI: jorb.moe also links it from /chats (the dufs file browser,
   whose assets live outside this repo) so both pages share one definition of
   the colours, typography and header/panel chrome. */

:root {
  --fg: #111;
  --bg: #fff;
  --muted: #5c5c5c;
  --hover: #fafafa;
  color-scheme: light dark;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: var(--fg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #fff;
    --bg: #111;
    --muted: #aaa;
    --hover: #1a1a1a;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  text-decoration-thickness: 0.1rem;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

a { color: var(--fg); }

img { max-width: 100%; height: auto; }

header {
  padding: 32px 24px 0;
}

header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 2em;
  line-height: 1.1;
}

header h1 img { display: block; }

header .subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

main {
  padding: 24px;
}

.panel {
  border: 0.1rem solid var(--fg);
  padding: 16px;
}
