: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 { 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; }
.counter { background: #fff; border: 1px solid #e3eae6; border-radius: 22px; padding: 28px 22px 22px; box-shadow: 0 8px 28px rgba(13, 41, 33, .035); }
.eyebrow { margin: 0 0 9px; color: #6a7d76; 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 25px; color: #526660; font-size: 13px; }
.readout { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 8px; min-height: 190px; background: #f5f8f6; border: 1px solid #e9efec; border-radius: 18px; }
.readout-label { color: #61766f; font-size: 12px; margin: 0 0 6px; }
#count { font-size: clamp(58px, 15vw, 88px); line-height: 1.12; font-variant-numeric: tabular-nums; font-weight: 750; letter-spacing: -.05em; max-width: 100%; overflow-wrap: anywhere; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.action { min-height: 76px; border-radius: 16px; border: 1px solid #c8d6d0; font-size: 25px; font-weight: 750; cursor: pointer; }
.action-secondary { background: #fff; color: #244a40; }
.action-primary { background: #287363; color: white; border-color: #287363; }
.action-primary:hover:not(:disabled) { background: #205c50; }
.action-secondary:hover:not(:disabled) { background: #f0f6f3; }
button:focus-visible { outline: 3px solid #e19c24; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .45; }
.reset { display: block; margin: 14px auto 0; border: 0; border-radius: 12px; background: transparent; color: #315d52; min-height: 48px; padding: 0 20px; font-size: 14px; cursor: pointer; }
.reset:hover:not(:disabled) { background: #f1f6f3; }
.notice { border-top: 1px solid #eef2ef; margin: 14px 0 0; padding-top: 17px; text-align: center; color: #60736d; font-size: 11px; line-height: 1.65; }
footer { margin-top: auto; padding: 34px 8px 26px; text-align: center; font-size: 11px; color: #74857f; }
@media (max-width: 360px) {
 .shell { width: calc(100% - 24px); }
 .counter { padding: 23px 16px 19px; }
 .actions { gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
 button { transition: background-color .12s ease; }
}
