:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #182c31;
  background: #f2f6f5;
}
body { margin: 0; }
main { max-width: 52rem; padding: clamp(1rem, 4vw, 3rem); margin: 6vh auto; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 0 0 1.4rem; }
a { color: #096054; text-underline-offset: .2em; }
form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: .85rem;
  background: #fff;
  border: 1px solid #c9d7d2;
}
label { display: grid; gap: .4rem; font-weight: 600; }
input, button { box-sizing: border-box; min-height: 2.75rem; font: inherit; border-radius: .45rem; }
input { min-width: 0; width: 100%; padding: .45rem .65rem; border: 1px solid #90a6a0; }
button { padding: .45rem 1.2rem; border: 1px solid #075c51; background: #075c51; color: #fff; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid #066e9a; outline-offset: 3px; }
#status { min-height: 1.5rem; }
.table-wrap { overflow-x: auto; border: 1px solid #c9d7d2; border-radius: .65rem; }
table { width: 100%; background: #fff; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .75rem; white-space: nowrap; }
th { background: #e2eeea; }
tbody tr + tr { border-top: 1px solid #e0e8e6; }
nav { display: flex; justify-content: end; gap: .5rem; margin-top: 1rem; }
nav button { color: #075c51; background: #fff; }
@media (max-width: 36rem) {
  main { margin-top: 2vh; }
  form { grid-template-columns: 1fr; }
}
