:root {
    --ink: #17202a; --muted: #5f6b78; --line: #dfe3e8; --brand: #1d4ed8; --surface: #ffffff; --bg: #f6f7f9; --danger: #b42318;
    color-scheme: light dark;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root { --ink: #e8ecf1; --muted: #9aa5b1; --line: #2c3540; --brand: #7da2f7; --surface: #161b22; --bg: #0d1117; --danger: #f97066; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
.boot { padding: 16px; }
.content { padding: 16px 16px 88px; max-width: 640px; margin: 0 auto; }
h1 { font-size: 22px; margin: 0 0 16px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 24px 0 8px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.list li a, .list li.row { display: grid; gap: 2px; padding: 12px 14px; color: inherit; text-decoration: none; min-height: 48px; }
.list small { color: var(--muted); }
.cancelled strong, .cancelled span { text-decoration: line-through; }
.tabs { position: fixed; inset: auto 0 0 0; display: flex; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { flex: 1; text-align: center; padding: 14px 4px; color: var(--muted); text-decoration: none; font-size: 14px; }
.tabs a.active { color: var(--brand); font-weight: 600; }
form { display: grid; gap: 8px; }
label { font-size: 14px; color: var(--muted); }
input { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; width: 100%; }
button, .button { font: inherit; display: inline-block; text-align: center; text-decoration: none; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; min-height: 44px; }
button[disabled] { opacity: .6; }
.quiet { background: transparent; color: var(--muted); }
.actions { display: grid; gap: 8px; margin-top: 24px; }
.error { color: var(--danger); }
.back { display: inline-block; margin-bottom: 12px; color: var(--brand); text-decoration: none; }
dt { font-size: 12px; color: var(--muted); margin-top: 12px; }
dd { margin: 2px 0 0; }
