#stats-country,#history-days,#dated-country {
  display:block; width:100%; min-height:46px; box-sizing:border-box;
  padding:10px 12px; border:1px solid #344155; border-radius:10px;
  background:#1e293b; color:#e2e8f0; font:inherit; color-scheme:dark;
}
#stats-country:focus-visible,#history-days:focus-visible,#dated-country:focus-visible {outline:2px solid #22c55e;outline-offset:2px;}
#history-form {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}
#history-form label {margin:0;}
#history-form input,#history-submit {width:100%;box-sizing:border-box;min-height:46px;margin:0;}
#history-submit {background:#22c55e;color:#052e16;font-weight:700;}
#history-results .stats-grid,#stats-content .stats-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;}
#history-results .stats-tile,#stats-content .stats-tile {min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;overflow-wrap:anywhere;}
