@font-face {
  font-family: "Mona Sans";
  src: url("/assets/MonaSans.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font: 15px/1.5 "Mona Sans", system-ui, sans-serif;
  color: #192a23;
  background: #f5f6f2;
  --ink: #192a23;
  --muted: #52645b;
  --line: #d9dfd7;
  --green: #08673c;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, select, input { color: var(--ink); }
button, select, input { border: 1px solid #b8c4ba; border-radius: 7px; background: white; padding: 8px 12px; }
button:disabled { opacity: .45; cursor: default; }
button:not(:disabled):hover, select:hover { background-color: #edf3ed; }
:focus-visible { outline: 3px solid #16885d; outline-offset: 3px; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 1; padding: 8px; background: white; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mast { border-bottom: 1px solid var(--line); background: #fff; }
.mast-inner, main { max-width: 1328px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px); }
.mast-inner { min-height: 68px; display: flex; align-items: center; gap: 13px; }
.logo { object-fit: contain; }
.brand { font-size: 19px; font-weight: 720; letter-spacing: -.055em; }
.mast-label { color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.quiet { margin-left: auto; font-size: 13px; padding: 7px 12px; }
main { padding-bottom: 50px; }
.notice { padding: 12px 16px; margin: 20px 0; background: #eaf2e9; border-left: 3px solid var(--green); }
.notice:empty { display: none; }
.notice.error { background: #fff0e9; border-color: #ae482b; }
.notice button { margin-left: 12px; padding: 3px 8px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 49px); line-height: 1.08; letter-spacing: -.06em; font-weight: 670; }
h2 { font-size: 21px; letter-spacing: -.045em; font-weight: 670; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 44px 0 24px; }
.page-heading p, .range { color: var(--muted); font-size: 13px; }
.page-heading p { margin-top: 10px; }
.range { display: grid; gap: 4px; }
.views { display: flex; gap: 5px; margin-bottom: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.views button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; padding: 11px 16px; color: var(--muted); font-weight: 600; }
.views button[aria-current] { border-color: var(--green); color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.metric, .panel { background: white; border: 1px solid var(--line); border-radius: 12px; }
.metric { min-height: 116px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.metric span { font-size: 13px; color: var(--muted); }
.metric strong { font-size: clamp(22px, 2.3vw, 35px); font-weight: 610; letter-spacing: -.055em; font-variant-numeric: tabular-nums; word-break: break-word; }
.metric:last-child { background: #183d30; border-color: #183d30; color: white; }
.metric:last-child span { color: #d7e7d8; }
.panel { padding: clamp(16px, 2.5vw, 28px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head select { font-size: 13px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
th, td { padding: 11px 13px; text-align: left; border-bottom: 1px solid #e6eae4; }
th { background: #f4f6f1; color: var(--muted); font-size: 12px; font-weight: 650; }
td:first-child { font-weight: 560; }
td.num, th.num { text-align: right; }
.empty { color: var(--muted); padding: 32px 0; text-align: center; }
.chart { display: block; width: 100%; height: clamp(165px, 22vw, 236px); color: var(--green); }
.chart-grid { stroke: var(--line); }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.chart-scale { font-size: 12px; color: var(--muted); }
details { margin-top: 20px; }
summary { width: fit-content; color: var(--green); cursor: pointer; font-size: 13px; font-weight: 600; }
details .table-scroll { margin-top: 10px; max-height: 350px; }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 18px; }
.pager span { color: var(--muted); margin-right: auto; font-size: 13px; }
.pager button { font-size: 13px; }
.login { max-width: 420px; margin: 12vh auto 20px; display: grid; gap: 12px; padding: 28px; }
.login h1 { font-size: 34px; margin-bottom: 12px; }
.login input, .login button { width: 100%; }
button.primary { color: white; background: var(--green); border-color: var(--green); font-weight: 600; }
button.primary:not(:disabled):hover { background: #064e2e; }
@media (max-width: 760px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 92px; }
  .metric:last-child { grid-column: 1 / -1; min-height: 74px; flex-direction: row; align-items: center; }
  .page-heading { align-items: start; flex-wrap: wrap; margin-top: 28px; }
  .views button { flex: 1 0 auto; padding-inline: 6px; font-size: 14px; }
}
@media (max-width: 420px) {
  .mast-label { font-size: 12px; padding-left: 9px; }
  .mast-inner { gap: 8px; }
  .search, .search input { width: 100%; }
}

.context { color: var(--muted); margin: -3px 0 18px; max-width: 88ch; font-size: 14px; }
td .touch { margin: 0; }
.touch dl { display: grid; grid-template-columns: auto auto; gap: 3px 10px; margin: 8px 0 0; font-size: 12px; }
.touch dt { color: var(--muted); }
.touch dd { margin: 0; font-weight: 500; }
@media (max-width: 560px) {
  .views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
}
