:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #132b31;
  background: #f2f5f3;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.bar {
  min-height: 66px; padding: 0 max(5vw, 20px); background: #153c3d;
  color: #fff; display: flex; align-items: center; justify-content: space-between;
}
.bar strong { font-size: 1.08rem; letter-spacing: .02em; }
main { max-width: 1300px; margin: 0 auto; padding: clamp(24px, 4vw, 58px) max(4vw, 18px); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; margin: 0 0 24px; }
h2 { font-size: 1.25rem; margin: 0 0 18px; }
section { margin-bottom: 30px; }
#notice:empty { display: none; }
#notice { padding: 12px 16px; background: #e4efec; border-left: 3px solid #287464; }
.card, .totals > div, .table-wrap {
  background: white; border: 1px solid #cbd6d2; border-radius: 7px;
}
.login { max-width: 410px; padding: 24px; }
label { display: grid; gap: 7px; font-size: .91rem; font-weight: 600; }
.login form { display: grid; gap: 16px; }
input, select, button { font: inherit; }
input, select {
  background: #fff; color: inherit; border: 1px solid #81958d;
  padding: 9px 11px; border-radius: 4px; min-height: 40px; min-width: 0;
}
button {
  border: 1px solid #82968f; border-radius: 4px; background: #fff;
  color: #233d36; padding: 9px 16px; font-weight: 600; cursor: pointer;
}
button.primary { color: #fff; background: #166152; border-color: #166152; }
button:hover:enabled { filter: brightness(.94); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #2579ab; outline-offset: 2px; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 8px; }
.totals > div { padding: 14px; }
.totals dt, .subtle { color: #435d54; font-size: .9rem; }
.totals dd { margin: 6px 0 0; font-size: 1.4rem; font-weight: 650; }
.filters, .pages { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.filters label:first-child { flex: 1 1 250px; max-width: 420px; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; min-width: 720px; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid #dce4df; }
th { background: #e8efeb; }
tr:last-child td { border-bottom: 0; }
.pages { align-items: center; margin-top: 14px; }
