:root {
  color-scheme: light;
  font-family: "Inter", system-ui, sans-serif;
  color: #142537;
  background: #f3f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1240px, 100% - 2rem); margin-inline: auto; }
.top { background: #142537; color: #fff; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.brand { color: inherit; font-weight: 730; text-decoration: none; letter-spacing: .035em; }
.brand span { color: #a9e1d0; margin-left: .6rem; }
.heading { margin: 2.2rem 0 1.3rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0 0 .4rem; letter-spacing: -.045em; }
.heading p { color: #486078; margin: 0; }
.panel { background: #fff; border: 1px solid #d7e1e8; border-radius: .75rem; margin-bottom: 2rem; }
.filters { padding: 1rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; }
.filters label { display: grid; gap: .35rem; font-size: .85rem; }
.filters label:first-child { flex: 1 1 16rem; }
.filters a { align-self: center; }
input, select, button {
  font: inherit; min-height: 40px; border-radius: .4rem;
  border: 1px solid #aabccb; padding: .45rem .7rem; background: white; color: #142537;
}
button { cursor: pointer; background: #125b4c; border-color: #125b4c; color: white; font-weight: 650; }
button.secondary { background: transparent; border-color: #97aec0; }
a { color: #125b4c; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
th, td { padding: .75rem 1rem; border-top: 1px solid #dce5eb; white-space: nowrap; }
th { background: #edf3f5; font-size: .83rem; }
.status { display: inline-block; border-radius: .3rem; padding: .1rem .4rem; background: #edf2f6; }
.status.active { background: #d8f2e8; color: #124d40; }
.status.ended { background: #fae9e3; color: #753821; }
.pagination { padding: .85rem 1rem; display: flex; justify-content: space-between; border-top: 1px solid #dce5eb; }
.pagination a { margin-left: .9rem; }
.login { margin: 10vh auto 1rem; max-width: 400px; padding: 1.4rem; }
.login label { display: block; margin-bottom: .35rem; }
.login input:not([type=hidden]) { width: 100%; }
.errorlist { color: #8b2c1f; }
