:root {
  --bg: #f7f8fa; --surface: #fff; --text: #1b2330; --muted: #5b6575; --line: #dde2ea;
  --accent: #1f4fd8; --accent-text: #fff; --ok: #1d7a46; --error: #b42318;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11151c; --surface: #19202a; --text: #e7ebf1; --muted: #9aa4b2; --line: #2b3441;
          --accent: #7aa2ff; --accent-text: #0b1020; --ok: #5fd08f; --error: #ff8a80; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
main.signin { text-align: center; padding-top: 18vh; }
header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
header h1 { font-size: 20px; margin: 0; flex: 1; }
.who { color: var(--muted); font-size: 14px; }
h2 { font-size: 17px; margin: 28px 0 8px; }
h3 { font-size: 15px; margin: 20px 0 6px; }
section { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px 16px; margin-top: 20px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; }
form.inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
input::placeholder { color: var(--muted); font-style: italic; opacity: 0.8; }
input, select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); min-width: 0; }
button { font: inherit; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-text); cursor: pointer; }
button.quiet { background: transparent; color: var(--accent); }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.notice { padding: 8px 12px; border-radius: 6px; border: 1px solid currentColor; }
.notice.error { color: var(--error); }
.notice.ok { color: var(--ok); }
