/* YaoPal account pages (verify.html, reset.html, email.html, index.html). No external assets.
   Brand: indigo #200B85 (lifted to #8A75FF in dark mode), iOS-like neutrals. See docs/BRAND.md. */
:root {
  --brand: #200B85;
  --brand-ink: #ffffff;
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6c6c72;
  --line: #d1d1d6;
  --error: #c62828;
  --ok-bg: #EEEBFB;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8A75FF;
    --brand-ink: #ffffff;
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #9a9aa1;
    --line: #38383a;
    --error: #ff6961;
    --ok-bg: #2A1F5C;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
}
main {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.brand { font-size: 22px; font-weight: 700; color: var(--brand); margin: 0 0 22px; letter-spacing: -0.01em; }
h1 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); font-size: 15px; }
form { display: grid; gap: 14px; margin-top: 8px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
button {
  font: inherit;
  font-weight: 600;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: var(--brand-ink);
  cursor: pointer;
}
button[disabled] { opacity: 0.6; cursor: default; }
.toggle { background: transparent; color: var(--brand); padding: 4px 0; justify-self: start; font-size: 14px; }
.error { color: var(--error); font-size: 15px; min-height: 1.5em; margin: 0; }
.done { background: var(--ok-bg); border-radius: 14px; padding: 14px 16px; }
[hidden] { display: none !important; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; padding: 0; accent-color: var(--brand); }
button.danger { background: var(--error); color: #ffffff; }
