:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #f7f9f8;
  color: #172b27;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, select { font: inherit; -webkit-tap-highlight-color: transparent; }
.shell { width: min(100% - 32px, 440px); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.brand { display: flex; gap: 10px; align-items: center; padding: 28px 4px 24px; font-size: 13px; font-weight: 750; letter-spacing: .12em; }
.brand-mark { color: #287363; font-size: 29px; line-height: 1; }
.cleaning { background: #fff; border: 1px solid #e3eae6; border-radius: 22px; padding: 28px 22px 22px; box-shadow: 0 8px 28px rgb(13 41 33 / 3.5%); }
.eyebrow { margin: 0 0 9px; color: #526660; font-weight: 700; font-size: 11px; letter-spacing: .15em; }
h1 { margin: 0; font-size: clamp(22px, 5.4vw, 28px); font-weight: 750; letter-spacing: -.015em; line-height: 1.35; }
.intro { margin: 9px 0 24px; color: #526660; font-size: 13px; }
.readout { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px 16px; min-height: 154px; border: 1px solid #e9efec; border-radius: 18px; background: #f5f8f6; }
.readout-label { margin: 0 0 14px; color: #526660; font-size: 12px; }
#position { margin-left: 8px; font-variant-numeric: tabular-nums; }
.candidate { margin: 0; font-size: 23px; font-weight: 750; line-height: 1.6; overflow-wrap: anywhere; }
button { cursor: pointer; touch-action: manipulation; }
.primary { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 62px; margin-top: 18px; padding: 12px; border: 1px solid #287363; border-radius: 16px; background: #287363; color: #fff; font-weight: 750; font-size: 17px; }
.chooser { margin-top: 21px; }
label { display: block; margin-bottom: 8px; color: #526660; font-size: 12px; }
select { display: block; width: 100%; min-height: 52px; padding: 10px; border: 1px solid #c8d6d0; border-radius: 12px; background: #fff; color: #244a40; font-size: 14px; }
.utilities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.utilities button { min-height: 48px; padding: 8px 4px; border: 0; border-radius: 12px; color: #315d52; background: transparent; font-size: 13px; }
button:focus-visible, select:focus-visible { outline: 3px solid #b3710a; outline-offset: 3px; }
button:disabled, select:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) {
  .primary:hover:not(:disabled) { background: #205c50; }
  .utilities button:hover:not(:disabled) { background: #f1f6f3; }
}
.notice { border-top: 1px solid #eef2ef; margin: 14px 0 0; padding-top: 16px; text-align: center; color: #526660; font-size: 11px; line-height: 1.8; }
.fallback { color: #526660; font-size: 13px; }
footer { margin-top: auto; padding: 30px 8px 25px; text-align: center; font-size: 11px; color: #526660; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .cleaning { padding: 23px 16px 19px; }
  .readout { padding-inline: 12px; }
  .candidate { font-size: 21px; }
  .notice { font-size: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background-color .12s ease; }
}
