:root { --ink: #1f2933; --muted: #5f6b7a; --line: #dfe3ea; --accent: #0b57d0; --bg: #f6f8fb; --surface: #fff; --err: #c62828; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { font-family: "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif; color: var(--ink); background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.box { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px 20px; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; font-weight: 700; margin-bottom: 22px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
input { font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 87, 208, .15); }
button { font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 999px;
  padding: 11px; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.err { margin: 0; color: var(--err); font-size: 14px; }
.note { margin: 18px 0 12px; font-size: 12px; color: var(--muted); line-height: 1.6; text-align: center; }
select { display: block; margin: 0 auto; font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--muted); }
