:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif; color: #172d3c; background: #edf1f4; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; padding: 30px 16px; }
.card { max-width: 560px; margin: 0 auto; padding: 28px 32px; background: #fff; border: 1px solid #bac5ce; border-top: 5px solid #244c68; border-radius: 9px; box-shadow: 0 8px 28px #1830440d; }
.eyebrow { margin: 0 0 8px; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: #456074; }
h1 { font-size: 21px; margin: 0 0 18px; line-height: 1.5; }
p { line-height: 1.8; }
.intro { margin: 0 0 20px; }
label { display: block; font-weight: 700; margin: 18px 0 7px; }
input:not([type="hidden"]):not([type="checkbox"]) { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #6a8193; border-radius: 4px; background: #fff; color: #172d3c; font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #d68b22; outline-offset: 3px; }
button, .button { display: inline-block; padding: 11px 15px; border: 1px solid #355a74; border-radius: 4px; font: inherit; font-weight: 700; background: #fff; color: #203e54; cursor: pointer; text-decoration: none; }
.primary { background: #244c68; color: #fff; border-color: #244c68; }
form > .primary { width: 100%; margin: 14px 0 4px; }
button:hover, .button:hover { filter: brightness(.94); }
button:disabled { opacity: .6; cursor: default; }
a { color: #174e79; text-underline-offset: 3px; }
.help { color: #3d5364; font-size: 12px; margin: 8px 0; }
.notice { background: #edf5f7; border: 1px solid #7999a9; border-left: 4px solid #365f78; padding: 12px 14px; border-radius: 4px; }
.error { background: #fff3f0; color: #852b19; border-color: #b66c56; }
.candidate { padding: 14px; background: #f3f6f8; border: 1px solid #b0bfcb; border-radius: 5px; }
.candidate label { margin-top: 0; font-size: 13px; }
#password-candidate { font-family: ui-monospace, Consolas, monospace; font-size: 18px; letter-spacing: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.actions button { font-size: 12px; padding: 8px 10px; }
#candidate-status { font-size: 12px; margin: 6px 0 0; }
.checkbox { display: flex; align-items: center; gap: 7px; font-weight: 400; }
.checkbox input { width: 17px; height: 17px; }
.support { border-top: 1px solid #c5cfd7; margin-top: 24px; padding-top: 14px; color: #3d5364; font-size: 12px; }
.back { margin-bottom: 0; }
.hidden { display: none !important; }
@media (max-width: 480px) { body { padding: 16px 10px; } .card { padding: 23px 18px; } h1 { font-size: 19px; } }
