:root { color-scheme: light dark; --fg: #1f2328; --muted: #59636e; --bg: #fff; --accent: #5b5bd6; --note: #fff8e1; }
@media (prefers-color-scheme: dark) { :root { --fg: #e6e8eb; --muted: #9aa4af; --bg: #16181c; --accent: #9b9bff; --note: #2a2618; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 1.8rem; margin-bottom: 4px; }
h2 { font-size: 1.2rem; margin-top: 2em; }
.updated, .back { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); }
.note { background: var(--note); padding: 12px 16px; border-radius: 8px; }
.home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg); text-decoration: none; }
.home img { border-radius: 7px; }
nav.back { display: flex; justify-content: space-between; align-items: center; }
.langs a, .langs strong { font-size: .9rem; }
h3 { margin-top: 1.5em; }
form.consent { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
form.consent button { font: inherit; font-weight: 600; padding: 12px 16px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
form.consent .primary { background: #2563eb; color: #fff; }
form.consent .secondary { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--muted) 50%, transparent); }
/* The parent's page (parental.py) */
form.consent label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
form.consent input[type=email], section.child input[type=email] { font: inherit; padding: 10px 12px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); background: var(--bg); color: var(--fg); }
section.child { margin-top: 24px; padding: 4px 20px 16px; border: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); border-radius: 14px; }
section.child h2 { margin-top: .8em; }
section.child h3 { font-size: 1rem; margin-bottom: 6px; }
.facts, .small { color: var(--muted); font-size: .9rem; }
label.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
label.check input { margin-top: 5px; flex: none; }
section.child button, a.button { display: inline-block; font: inherit; font-weight: 600; padding: 10px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none; }
section.child .primary, p.note + p a.button { background: #2563eb; color: #fff; }
a.button { background: transparent; color: var(--accent); border-color: var(--accent); }
section.child .secondary { background: transparent; color: #dc2626; border-color: #dc2626; }
details.danger { margin-top: 12px; }
details.danger summary { cursor: pointer; color: var(--muted); }
