:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183832;
  background: #f5f5ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 40px, 600px); margin: 10vh auto 48px; }
header { display: flex; justify-content: space-between; align-items: center; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; }
.version { background: #e4eae1; border-radius: 20px; padding: 6px 12px; font-size: 12px; }
h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.04em; margin: 48px 0 12px; }
.intro, .hint, footer { color: #5e7067; }
.intro { margin-bottom: 32px; line-height: 1.7; }
.counter { background: #fff; border: 1px solid #dce2d7; border-radius: 20px; padding: 28px; }
.account { background: #fff; border: 1px solid #dce2d7; border-radius: 20px; padding: 28px; margin-bottom: 20px; }
.environment { font-size: 13px; color: #526d5b; margin: -16px 0 22px; }
label { display: block; font-size: 13px; margin: 20px 0 8px; }
input { min-width: 0; width: 100%; border: 1px solid #b8c8bb; border-radius: 10px; padding: 13px 12px; font: inherit; }
.login-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.status { font-size: 14px; line-height: 1.7; color: #42634d; margin: 20px 0 0; min-height: 24px; overflow-wrap: anywhere; }
.error { color: #a12c25; }
.cloud-actions { margin-top: 16px; }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
h2 { font-size: 16px; font-weight: 500; margin: 0; }
output { display: block; font-size: 80px; font-weight: 600; line-height: 1.3; margin: 16px 0 24px; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
button { font: inherit; font-weight: 600; padding: 13px 24px; border-radius: 10px; border: 1px solid #225a48; background: #225a48; color: #fff; cursor: pointer; min-height: 48px; }
button:hover { background: #174333; }
button.secondary { background: #fff; color: #225a48; border-color: #c6d4c8; }
button.secondary:hover { background: #f0f4ee; }
button:focus-visible { outline: 3px solid #c87931; outline-offset: 4px; }
.hint { font-size: 13px; line-height: 1.8; margin: 24px 0 0; }
footer { margin-top: 28px; font-size: 12px; letter-spacing: 0.03em; }
@media (max-width: 420px) { main { margin-top: 40px; } .counter, .account { padding: 22px; } button { padding-inline: 18px; } }
