@charset "UTF-8";
:root { color-scheme: light; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #596370; background: #F8FAFC; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: #1F62C9; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1F62C9; outline-offset: 5px; }
.shell { width: min(100% - 32px, 960px); margin: auto; padding: 32px 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #1F62C9; font-size: 22px; font-weight: 850; text-decoration: none; letter-spacing: -.6px; }
.brand span { color: #596370; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; }
.intro { margin-bottom: 32px; }
.intro > .eyebrow { margin-top: 36px; }
.eyebrow { color: #1F62C9; font-size: 12px; font-weight: 750; letter-spacing: 1.2px; }
h1, h2, h3 { color: #191C1E; line-height: 1.3; letter-spacing: -.7px; }
h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 18px; word-break: keep-all; }
h2, legend { font-size: 20px; font-weight: 750; }
h2 { margin: 0 0 24px; }
h3 { margin-top: 32px; font-size: 17px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { color: #191C1E; margin-bottom: 20px; padding: 0; }
.step { color: #1F62C9; font-size: 13px; vertical-align: middle; margin-right: 8px; }
.candidate-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.candidate { min-width: 0; position: relative; }
.direction { margin: 24px 0 40px; }
.direction h2 { margin-bottom: 8px; }
.direction-description { margin: 0 0 20px; font-size: 14px; }
.card { display: flex; flex-direction: column; padding: 20px 20px 58px; border: 2px solid #E2E8F0; border-radius: 16px; background: white; cursor: pointer; transition: border-color .15s, background .15s; }
.card-heading { display: flex; justify-content: space-between; align-items: center; }
.radio-mark { width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #CBD5E1; border-radius: 50%; background: white; }
.card-title { display: block; color: #191C1E; font-size: 19px; font-weight: 750; margin-top: 8px; }
.choice-input:checked + .card { border-color: #1F62C9; background: #E7EEFB; }
.choice-input:checked + .card .radio-mark { border: 6px solid #1F62C9; }
.choice-input:focus-visible + .card { outline: 3px solid #1F62C9; outline-offset: 4px; }
.tile-scroll { display: block; overflow-x: auto; margin-top: 20px; }
.tile-grid { display: grid; grid-template-columns: repeat(5, minmax(96px, 1fr)); gap: 16px 8px; }
.icon-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.icon-tile img { display: block; width: 96px; height: 96px; object-fit: contain; font-size: 12px; }
.tile-caption { font-size: 12px; text-align: center; word-break: keep-all; }
.sheet-link { position: absolute; bottom: 20px; left: 22px; font-size: 13px; border-radius: 3px; }
.description { display: block; font-size: 14px; }
.preview-title { display: block; margin: 20px 0 8px; color: #191C1E; font-size: 13px; font-weight: 700; }
.preview-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 6px; }
.preview-pair { display: flex; align-items: center; gap: 6px; }
.preview-chip { display: inline-flex; align-items: center; justify-content: center; padding: 6px; background: #E7EEFB; border-radius: 10px; }
.preview-row img { display: block; flex-shrink: 0; }
.caption, .hint, .comparison-note { font-size: 12px; }
.caption { display: block; margin-top: 6px; }
.comparison-note { margin: 16px 4px 32px; }
.panel { background: white; border: 1px solid #E2E8F0; border-radius: 16px; padding: 24px; margin-top: 24px; }
.field-label { display: block; font-size: 14px; font-weight: 700; color: #191C1E; margin: 20px 0 8px; }
.field-label span { color: #596370; font-weight: 400; }
.field-label .required { color: #1F62C9; }
input[type=text], textarea { display: block; width: 100%; border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; color: #191C1E; background: #fff; }
textarea { resize: vertical; min-height: 106px; }
[aria-invalid=true] { border-color: #B42318 !important; }
.hint { margin: 8px 0; }
.error { color: #B42318; font-size: 13px; margin: 8px 0; }
.error:empty { display: none; }
button { display: block; border: 0; border-radius: 10px; padding: 14px 24px; width: 100%; background: #1F62C9; color: white; font-weight: 700; cursor: pointer; margin-top: 24px; }
button:hover:not(:disabled) { background: #174C9F; }
button:disabled { opacity: .55; cursor: wait; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-heading h2 { margin-bottom: 8px; }
#total { color: #1F62C9; font-weight: 750; margin: 0; white-space: nowrap; }
.result-row { margin: 18px 0; }
.result-label { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.result-count { flex-shrink: 0; color: #191C1E; font-variant-numeric: tabular-nums; }
.track { height: 9px; border-radius: 9px; background: #E7EEFB; overflow: hidden; }
.bar { height: 100%; width: 0; border-radius: inherit; background: #1F62C9; transition: width .25s; }
.voters { list-style: none; padding: 0; margin: 0; }
.voters li { padding: 16px 0; border-top: 1px solid #E2E8F0; overflow-wrap: anywhere; }
.voter-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; }
.voter-heading strong { color: #191C1E; }
.voter-heading time { margin-left: auto; font-size: 12px; }
.voters p { font-size: 14px; white-space: pre-wrap; margin: 6px 0 0; }
footer { text-align: center; font-size: 12px; padding: 32px 0 8px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: #191C1E; color: white; box-shadow: 0 8px 30px #191C1E22; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; padding: 10px; z-index: 20; }
.skip-link:focus { top: 12px; }
.home { padding-top: 64px; }
.home h1 { margin-top: 40px; }
.home-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; margin-top: 32px; border: 1px solid #E2E8F0; border-radius: 16px; background: white; text-decoration: none; }
.home-card strong { display: flex; justify-content: space-between; font-size: 22px; }
.home-card > span { color: #596370; }
@media (min-width: 641px) { .shell { padding-top: 48px; } .panel { padding: 32px; } .card { padding: 24px 24px 58px; } .sheet-link { left: 26px; } }
@media (max-width: 640px) {
  .shell { width: calc(100% - 16px); }
  .card { padding: 12px 6px 54px; }
  .card-heading, .card > .description, .preview-title, .preview-row, .caption { margin-left: 6px; margin-right: 6px; }
  .tile-grid { grid-template-columns: repeat(5, minmax(64px, 1fr)); column-gap: 0; }
  .icon-tile img { width: 64px; height: 64px; }
  .tile-caption { font-size: 11px; }
  .preview-row { gap: 8px; }
  .preview-chip { padding: 3px; }
  .sheet-link { left: 14px; }
  .panel { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
