@font-face {
  font-family: Inter;
  src: url(/inter-cyrillic.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; color: #233832; background: #f5f5ee; font: 16px/1.5 Inter, system-ui, sans-serif; }
header { display: flex; align-items: center; gap: 10px; padding: 18px max(5vw, 20px); border-bottom: 1px solid #d5dad3; }
main { padding: clamp(24px, 7vh, 68px) 16px; }
section { margin: 0 auto; padding: clamp(20px, 4vw, 42px); background: white; border: 1px solid #d5dad3; border-radius: 16px; }
.login { max-width: 430px; }
.report { max-width: 760px; }
h1, h2 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0 0 26px; font-size: clamp(26px, 4vw, 36px); }
h2 { font-size: 22px; margin-top: 32px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
input, button { width: 100%; font: inherit; border-radius: 8px; padding: 10px 12px; }
input { display: block; margin-top: 4px; border: 1px solid #aebcb1; }
:focus-visible { outline: 3px solid #97812a; outline-offset: 2px; }
button { background: #f6d975; color: #1e302a; border: 0; font-weight: 700; cursor: pointer; }
.attempts, .hint { margin-bottom: 0; color: #526459; font-size: 14px; }
.attempts b { white-space: nowrap; margin-left: .3em; }
.error { color: #9c2c22; }
.totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.totals div { background: #f1f5ee; border-radius: 12px; padding: 16px; }
.totals strong { display: block; font-size: 32px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
td, th { text-align: right; padding: 9px 5px; border-bottom: 1px solid #dfe4dc; }
th:first-child { text-align: left; }
tbody th { font-weight: 500; }
@media (max-width: 480px) { td, th, .totals div { font-size: 13px; } }
