
:root { color-scheme: dark; --bg: #0b1220; --card: #111a2e; --line: #26324a; --fg: #e5e7eb; --muted: #9aa6b8; --accent: #fb923c; --accent-ink: #1c1917; --bad: #f87171; --ok: #4ade80; }
:root[data-theme='terang'] { color-scheme: light; --bg: #f4f2ee; --card: #ffffff; --line: #ddd8cf; --fg: #1f2937; --muted: #5b6474; --accent: #c2410c; --accent-ink: #ffffff; --bad: #b91c1c; --ok: #15803d; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--fg); font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; padding: 20px; }
main { width: min(400px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; }
.brand { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.brand b { color: var(--fg); font-size: 16px; margin-right: 4px; }
h1 { font-size: 21px; margin: 0 0 10px; }
.muted { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
label small { font-weight: 400; color: var(--muted); font-size: 12px; }
input:not([type='checkbox']) { font: inherit; min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; min-height: 44px; cursor: pointer; }
label.check input { width: 18px; height: 18px; accent-color: var(--accent); }
button { font: inherit; font-weight: 700; min-height: 46px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
#msg { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--bad); }
#msg[data-tone='info'] { color: var(--muted); }
#msg[data-tone='ok'] { color: var(--ok); }
