* { box-sizing: border-box; }
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #1b302b; background: #f5f7f4; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
aside { background: #14382f; padding: 30px 18px; color: #e4f3e9; }
.brand { display: inline-block; margin: 0 12px 32px; font-size: 25px; line-height: 1.08; font-weight: 750; color: white; text-decoration: none; }
nav { display: grid; gap: 5px; }
nav a { color: inherit; border-radius: 8px; padding: 11px 12px; text-decoration: none; }
nav a:hover, nav a[aria-current] { background: #2c5347; }
main { width: 100%; max-width: 1290px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 56px); }
body > main:only-child { grid-column: 1 / -1; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: clamp(27px, 4vw, 40px); letter-spacing: -.035em; }
h2 { font-size: 20px; margin-bottom: 16px; }
h3 { font-size: 16px; }
a { color: #12604b; }
section { background: #fff; border: 1px solid #dce6df; border-radius: 15px; padding: clamp(14px, 2.5vw, 26px); margin-bottom: 18px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cards article { background: #eaf3ed; padding: 16px; border-radius: 10px; }
strong { display: block; font-size: 27px; }
small { display: block; color: #4d6258; margin-top: 4px; }
.scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid #e5ece6; vertical-align: top; }
th { font-size: 13px; white-space: nowrap; color: #435b51; background: #f0f5f1; }
.status { background: #eef4ec; border-radius: 12px; padding: 2px 8px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); align-items: end; gap: 14px; }
label { display: grid; gap: 5px; font-size: 14px; }
input, select, button, .button { font: inherit; min-height: 42px; border: 1px solid #b7c9bd; border-radius: 8px; padding: 8px 11px; min-width: 0; }
input, select { width: 100%; background: #fff; color: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #17614c; border-color: #17614c; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #124937; color: #fff; }
.secondary { background: #edf4ee; color: #173d32; border-color: #ccdacf; }
.wide { grid-column: 1 / -1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 9px; }
details { margin: 9px 0; }
details .grid { margin-top: 12px; }
summary { cursor: pointer; color: #1d604d; }
.check { display: flex; align-items: center; gap: 6px; }
.check input { width: auto; }
.import-item { border-top: 1px solid #dce6df; padding: 16px 0; }
.warning, .cards article.warning { background: #fff0e7; color: #842c15; }
.closed { background: #edf7ed; color: #205b3d; }
.upcoming { background: #fff6d8; }
.demo { font-size: 13px; color: #4d6258; }
.demo-view form[method="post"], .demo-view a[href$="/export.xlsx"] { display: none; }
.cards { margin: 12px 0; }
pre { overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
dt { font-weight: 650; }
dd { margin: 3px 0 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  body { display: block; }
  aside { padding: 13px 16px; }
  .brand { margin: 0 0 10px; font-size: 20px; }
  .brand br { display: none; }
  nav { display: flex; flex-wrap: wrap; gap: 3px; }
  nav a { padding: 7px 9px; font-size: 14px; }
  main { padding-top: 20px; }
}
