/* The account service's own look: neutral, calm, accessible. A client theme sets --accent and --on-accent only. */
:root {
  color-scheme: light dark;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #23262a;
  --muted: #5c6168;
  --line: #d7d9dc;
  --accent: #3f4f5f;
  --on-accent: #ffffff;
  --problem: #a3362b;
  --focus: #2b5d8a;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17191b; --surface: #212427; --ink: #eceeef; --muted: #a8adb3; --line: #3a3e43; --problem: #f0937f; --focus: #9cc3e6; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5; }
.frame { max-width: 30rem; margin: 0 auto; padding: 2rem 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-weight: 650; font-size: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
.lead, .muted, .note, .divider { color: var(--muted); }
.note { text-align: center; font-size: .9rem; margin-top: 1rem; }
.divider { text-align: center; margin: 1rem 0; font-size: .9rem; }
.stack { display: flex; flex-direction: column; gap: .9rem; }
.inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin: .5rem 0; }
label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .95rem; }
input { font: inherit; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.button { font: inherit; font-weight: 600; min-height: 44px; padding: .55rem 1.1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.button.quiet { border-color: transparent; background: transparent; color: var(--accent); }
.button.danger { color: var(--problem); border-color: var(--problem); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.error { color: var(--problem); margin: 0; font-weight: 600; }
.notice { border-left: 4px solid var(--accent); padding: .5rem .9rem; background: var(--bg); border-radius: 6px; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); padding: .35rem 0; }
.codes { columns: 2; font-family: ui-monospace, monospace; }
.links { margin-top: 1rem; }
a { color: var(--accent); }
@media (prefers-color-scheme: dark) { a, .button.quiet { color: var(--focus); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
