/* Shared by the per-app support, privacy and terms pages (strictalarm/, sounds/, pomodoro/). */
:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1c1f2a;
  --muted: #5d6475;
  --line: #e3e6ee;
  --accent: #2c3e50;
  --link: #1a73e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121317;
    --card: #1c1e24;
    --text: #e6e7eb;
    --muted: #a3a8b6;
    --line: #2c2f38;
    --accent: #e6e7eb;
    --link: #8ab4f8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
header a.brand { color: var(--accent); font-weight: 700; text-decoration: none; letter-spacing: .02em; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 14px; }
header nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main .wrap { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
h2 { font-size: 19px; margin: 32px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--link); }
code { overflow-wrap: anywhere; }   /* a long address in the text must not widen a phone screen */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding-top: 18px; padding-bottom: 28px; }
footer a { color: var(--muted); }
@media (max-width: 520px) {
  h1 { font-size: 24px; }
  header nav a { margin-left: 10px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td:first-child { font-weight: 600; }
}
