:root { --brand: #fa8c00; --ink: #2b1a12; --muted: #6b5b52; --bg: #fdf7f0; --card: #ffffff; --line: #ead9c8; --err: #a1261b; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5ece4; --muted: #c2b3a8; --bg: #1c1410; --card: #271c16; --line: #3d2d24; --err: #ff8a7a; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.brand { margin: 0 0 12px; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
h1 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 12px; }
.access { margin: 0 0 12px; padding-left: 20px; color: var(--muted); }
.note, .small { color: var(--muted); font-size: .875rem; }
.error { color: var(--err); font-weight: 600; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
.row { display: flex; gap: 8px; }
input, select { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; width: 100%; }
select { width: auto; }
button { margin-top: 16px; width: 100%; padding: 12px; border: 0; border-radius: 10px; background: var(--brand); color: #1c1410; font: inherit; font-weight: 700; cursor: pointer; }
a { color: var(--brand); }
.legal { margin-top: 20px; }

button:disabled, button[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Connected assistants page (/account) */
.choice { border: 0; padding: 0; margin: 12px 0 0; }
.choice legend { font-weight: 600; margin-bottom: 6px; }
.choice label { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: 4px 0; }
.choice input { width: auto; }
.assistants { list-style: none; padding: 0; margin: 12px 0; }
.assistants li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.assistants li .small { display: block; }
.assistants form button { margin: 0; width: auto; padding: 8px 12px; }
button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
button.link { background: transparent; color: var(--brand); font-weight: 400; text-decoration: underline; padding: 4px; }
