/* mirrors frontend/lib/ui/theme/app_theme.dart */
:root {
  --surface: #ffffff;
  --background: #f4f4f5; /* surfaceContainer */
  --on-surface: #09090b;
  --on-surface-variant: #52525b;
  --outline-variant: #e4e4e7;
  --secondary: #4f46e5;
  --secondary-container: #e0e7ff;
  --on-secondary-container: #312e81;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #18181b;
    --background: #09090b;
    --on-surface: #fafafa;
    --on-surface-variant: #a1a1aa;
    --outline-variant: #27272a;
    --secondary: #818cf8;
    --secondary-container: #312e81;
    --on-secondary-container: #e0e7ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--on-surface);
  font: 14px/1.43 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header {
  background: var(--surface);
  border-radius: 0 0 12px 12px;
  padding: 16px 16px 24px;
}
header a { color: var(--on-surface-variant); font-size: 12px; text-decoration: none; }
h1 { margin: 4px 0 0; font-size: 28px; font-weight: 600; line-height: 1.29; }
header p { margin: 0; color: var(--on-surface-variant); font-size: 12px; }
header, main { max-width: 640px; margin-left: auto; margin-right: auto; }
main { padding: 24px 16px 48px; }
section { margin-bottom: 24px; }
h2 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.card { background: var(--surface); border-radius: 12px; padding: 16px; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.notice { background: var(--secondary-container); color: var(--on-secondary-container); }
ul { padding-left: 20px; }
a { color: var(--secondary); }
.rows a {
  display: flex; justify-content: space-between;
  color: inherit; text-decoration: none; padding: 8px 0;
}
.rows a + a { border-top: 1px solid var(--outline-variant); }
