@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(vendor/dm-sans-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(vendor/dm-sans.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  --ink: #192e2a; --muted: #536963; --forest: #155443; --line: #dbe4df;
  --paper: #fff; background: #f5f7f4; color: var(--ink);
}
* {box-sizing: border-box}
body {margin: 0; min-height: 100vh}
button, input, select {font: inherit}
button {cursor: pointer; color: inherit}
button:disabled {opacity: .55; cursor: wait}
a {color: inherit}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {outline: 3px solid #548cce; outline-offset: 2px}
button, a, input, select {-webkit-tap-highlight-color: transparent}
h1, h2, h3, p {margin: 0}
[hidden], .icons {display: none !important}
.icon {width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round}
.container {width: min(1376px, 93%); margin-inline: auto}
.masthead {background: var(--paper); border-bottom: 1px solid var(--line)}
.nav {min-height: 66px; display: flex; align-items: center; gap: 16px}
.club, .help, .location, .hero-meta, .primary, .calendar-mark, .period, .controls, .legend, .legend span, .calendar-tip, .notice {display: flex; align-items: center}
.club {gap: 10px; text-decoration: none; font-size: 1.1rem; font-weight: 800; letter-spacing: -.045em}
.club-mark {display: grid; place-items: center; background: #174b3e; color: #d7f98e; width: 38px; height: 38px; border-radius: 10px}
.club-mark svg {width: 28px; height: 28px; stroke-width: 1.45; transform: rotate(-8deg)}
.nav-divider {height: 17px; width: 1px; background: #d3ded7}
.system-name, .help {font-size: .88rem; color: var(--muted)}
.help {gap: 6px; background: transparent; border: 0; padding: 10px 0 10px 10px; margin-left: auto; font-weight: 650}
.help:hover {color: var(--forest); text-decoration: underline}
.hero {position: relative; isolation: isolate; overflow: hidden; border-radius: 17px; margin: 25px 0 26px; background: #133f34; color: #fff}
.hero-text {padding: 23px 32px 25px; position: relative; pointer-events: none}
.location {gap: 6px; font-size: .79rem; font-weight: 650; color: #d4ecc9}
.location .icon {color: #c8ed89; width: 15px; height: 15px}
h1 {font-size: clamp(2.1rem, 3.4vw, 3.35rem); font-weight: 680; letter-spacing: -.06em; line-height: 1.14; margin: 5px 0 13px}
.hero-meta {gap: 7px; color: #ebf2e9; font-size: .87rem}
.hero-meta .icon {width: 16px; height: 16px; color: #c3debc}
.turf {position: absolute; inset: 0 0 0 42%; z-index: -1; overflow: hidden; background: repeating-linear-gradient(108deg,#286750 0 52px,#317255 53px 106px)}
.turf:after {content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#133f34 0%,rgba(19,63,52,.67) 19%,transparent 68%)}
.pitch {position: absolute; width: clamp(300px,33vw,530px); aspect-ratio: 1.7; top: 48%; right: 6%; transform: translateY(-50%) rotate(-14deg) skewX(-4deg); border: 2px solid currentColor; color: rgba(211,240,185,.54); border-radius: 2px}
.pitch i {position: absolute; display: block}
.halfway {left: 50%; height: 100%; border-left: 2px solid}
.center-circle {width: 20%; aspect-ratio: 1; border: 2px solid; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%)}
.center-circle:after {content: ""; border: 2px solid; border-radius: 50%; position: absolute; left: 50%; top: 50%}
.box, .six {top: 50%; transform: translateY(-50%); height: 64%; width: 16%; border: 2px solid}
.six {height: 30%; width: 6%}
.left {left: 0; border-left: 0}
.right {right: 0; border-right: 0}
.section-top, .toolbar, .dialog-head, .dialog-actions {display: flex; align-items: center; justify-content: space-between; gap: 12px}
.section-top {margin-bottom: 16px}
h2 {font-size: 1.55rem; line-height: 1.24; letter-spacing: -.045em}
.instruction, .dialog-intro {color: var(--muted); font-size: .92rem; margin-top: 4px}
.primary, .secondary {border: 1px solid transparent; border-radius: 8px; padding: 10px 15px; min-height: 42px; font-size: .91rem; font-weight: 660; justify-content: center; gap: 7px}
.primary {background: var(--forest); color: white}
.primary:hover {background: #0e4033}
.secondary {background: white; border-color: var(--line)}
.secondary:hover, .icon-btn:hover, .navigation button:hover {background: #f1f5ef}
.calendar-card {background: white; border: 1px solid #d4dfd8; border-radius: 13px; overflow: hidden; box-shadow: 0 4px 18px #16362808}
.toolbar {padding: 15px 21px}
.period {gap: 11px}
.calendar-mark {width: 40px; height: 40px; border-radius: 9px; background: #edf3e9; color: var(--forest); justify-content: center}
.calendar-mark .icon {width: 21px; height: 21px}
.period h3 {font-size: 1.13rem; letter-spacing: -.035em; line-height: 1.3}
.period p {color: var(--muted); font-size: .8rem; margin-top: 2px}
.controls {gap: 15px}
.navigation, .switch {display: flex; align-items: stretch; border-radius: 7px}
.navigation {border: 1px solid var(--line); overflow: hidden}
.navigation button, .switch button, .icon-btn {display: grid; place-items: center; background: transparent; border: 0; font-size: .87rem; font-weight: 600}
.navigation button {min-width: 33px; min-height: 34px; padding-inline: 8px}
.navigation button+button {border-left: 1px solid var(--line)}
.navigation .icon {width: 16px}
.navigation button:focus-visible {outline-offset: -3px}
.switch {background: #eef2ee; padding: 3px; gap: 2px}
.switch button {padding: 5px 13px; border-radius: 5px; color: var(--muted)}
.switch [aria-pressed="true"] {background: white; color: var(--forest); box-shadow: 0 1px 4px #17372b29}
.legend {gap: 18px; flex-wrap: wrap; padding: 9px 21px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted)}
.legend span {gap: 6px}
.legend i {width: 10px; height: 10px; border-radius: 3px; border: 1px solid}
.legend .free {border-color: #97aaa0; background: white}
.legend .approved {border-color: #76a595; background: #b7ddcb}
.legend .pending {border-color: #c99c53; background: #f9dca5}
.timezone {margin-left: auto}
.timezone svg {width: 14px; height: 14px}
#calendar {--fc-border-color: #dee6e0; --fc-today-bg-color: #f4f9ee; --fc-highlight-color: #afcfb7aa; --fc-now-indicator-color: #ce563d}
.fc .fc-scrollgrid {border-width: 1px 0 0}
.fc .fc-scrollgrid-section > td:last-child, .fc .fc-scrollgrid-section > th:last-child {border-right: 0}
.fc .fc-scrollgrid-section:last-child > td {border-bottom: 0}
.fc .fc-col-header-cell {background: #f6f8f5; font-weight: 600}
.fc .fc-col-header-cell.fc-day-today {background: #e7f2de}
.fc .fc-col-header-cell-cushion {padding: 9px 0; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem}
.weekday {color: #4d645c; font-weight: 550}
.date-num {font-weight: 720; min-width: 25px; padding: 2px; line-height: 1.25; border-radius: 5px}
.fc-day-today .date-num {background: #245e46; color: #fff}
.fc .fc-timegrid-slot {height: 1rem}
.fc .fc-timegrid-slot-label {line-height: 1}
.fc .fc-timegrid-slot-minor {border-top-style: dashed; border-top-color: #e7ede8}
.fc .fc-timegrid-axis, .fc .fc-timegrid-slot-label {background: #fbfcfa}
.fc .fc-timegrid-slot-label-cushion {font-size: .78rem; font-variant-numeric: tabular-nums; color: #52675e; padding-inline: 10px}
.fc .fc-timegrid-col-events {margin: 0 3px}
.fc .fc-timegrid-event {border: 0; border-left: 3px solid #558f76; border-radius: 5px; background: #d9ecdf; box-shadow: none}
.fc .fc-timegrid-event.pending {border-left-color: #bb8a38; background: #f9eaca}
.fc .fc-event-main {color: #254f3d; padding: 3px 5px; line-height: 1.17; overflow: hidden}
.fc .pending .fc-event-main {color: #694d22}
.event-time, .event-label {display: block; overflow: hidden; text-overflow: ellipsis}
.event-time {font-size: .76rem; font-weight: 580; font-variant-numeric: tabular-nums; white-space: nowrap}
.event-label {font-size: .84rem; font-weight: 700; margin-top: 2px}
.calendar-tip {gap: 7px; align-items: flex-start; margin: 12px 3px 28px; font-size: .83rem; color: var(--muted)}
.calendar-tip svg {width: 15px; height: 15px; margin-top: 2px}
.notice {gap: 7px; padding: 11px 14px; background: #e0efdb; border: 1px solid #b0d2a7; border-radius: 8px; margin-bottom: 12px; font-size: .92rem}
.notice.error, .form-error {color: #8d341e; background: #fcf1ec; border-color: #e9c3b5}
.notice button {border: 0; background: transparent; text-decoration: underline; font-weight: 650}
dialog {width: min(470px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--line); border-radius: 16px; padding: 23px; color: var(--ink); box-shadow: 0 16px 70px #102b2740; overscroll-behavior: contain}
dialog::backdrop {background: #09292275}
.dialog-head {margin-bottom: 12px}
.icon-btn {width: 34px; height: 34px; border-radius: 6px}
fieldset {border: 0; border-top: 1px solid var(--line); padding: 11px 0 0; margin: 19px 0 0; min-width: 0}
legend {font-size: .95rem; font-weight: 720; padding: 0 9px 0 0}
.form-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px}
.wide {grid-column: 1/-1}
label {display: grid; gap: 4px; font-size: .87rem; color: #385047; font-weight: 550}
input, select {width: 100%; height: 39px; min-width: 0; border: 1px solid #bdcec2; background-color: #fff; color: var(--ink); border-radius: 6px; padding: 6px 9px; font-size: 1rem}
select {appearance: none; background-image: linear-gradient(45deg,transparent 50%,#516a5d 50%),linear-gradient(135deg,#516a5d 50%,transparent 50%); background-position: calc(100% - 15px) 51%,calc(100% - 10px) 51%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px}
.dialog-actions {justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 15px}
.form-error, .rule-note {border-radius: 6px; padding: 10px; margin-top: 14px; font-size: .9rem}
.help-steps {padding-left: 1.4rem; line-height: 1.5}
.help-steps li {padding: 5px 0 5px 3px}
.rule-note {background: #eef4e9; color: #38533e}
.admin-link, .back-link {text-decoration: none}
.admin-link {color: var(--forest); font-size: .87rem; font-weight: 650; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px}
.admin-link:hover {background: #edf3e9}
.admin-main {padding-block: 30px}
.admin-main h1 {font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 7px}
.admin-main .notice {margin: 16px 0 0}
.login-card {max-width: 440px; margin: clamp(24px, 8vh, 80px) auto; padding: clamp(20px, 4vw, 32px)}
.login-card h1 {font-size: 1.9rem; margin: 0 0 22px}
.login-card form {display: grid; gap: 16px}
.login-card input {height: 43px}
.login-card .notice {margin: 0}
.setup-note {background: #eef4e9; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: .9rem}
.setup-note p {margin: 5px 0 8px}
.setup-note code {overflow-wrap: anywhere}
.admin-heading, .admin-heading form {display: flex; flex-wrap: wrap; align-items: center; gap: 10px}
.admin-heading {justify-content: space-between; margin-bottom: 6px}
.admin-heading form {color: var(--muted); font-size: .9rem; overflow-wrap: anywhere}
.review-card {margin-top: 21px}
.review-tabs {display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line)}
.review-tabs a {color: var(--muted); text-decoration: none; padding: 8px 12px; font-size: .94rem; border-radius: 6px}
.review-tabs a[aria-current] {background: #e4efe6; color: var(--forest); font-weight: 700}
.review-tabs a:hover {text-decoration: underline}
.requests {width: 100%; border-collapse: collapse; text-align: left}
.requests th {padding: 10px 20px; background: #f6f8f5; color: var(--muted); font-size: .85rem; font-weight: 600}
.requests td {padding: 14px 20px; border-top: 1px solid var(--line); overflow-wrap: anywhere}
.requests td span {display: block; color: var(--muted); margin-top: 3px; font-size: .88rem}
.contact-cell a {color: var(--forest)}
.review-actions {display: flex; flex-wrap: wrap; gap: 8px}
.review-actions button {min-height: 36px; padding: 6px 10px}
.empty-queue {padding: 32px 20px; color: var(--muted)}
.mail-entry {padding: 14px 20px; border-bottom: 1px solid var(--line)}
.mail-entry summary {cursor: pointer}
.mail-text {margin: 1rem 0; white-space: pre-line}
@media (max-width: 780px) {
  .requests thead {position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden}
  .requests, .requests tbody {display: block}
  .requests tr {display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line)}
  .requests tr:last-child {border-bottom: 0}
  .requests td {padding: 0; border: 0; min-width: 0}
  .requests .contact-cell, .requests td:has(.review-actions) {grid-column: 1/-1}
}
@media (max-width: 780px) {
  .container {width: 95%}
  .hero-text {padding: 20px}
  .fc .fc-col-header-cell-cushion {flex-direction: column; gap: 1px; padding: 4px 0}
  .fc .fc-event-main {padding: 2px 3px}
  .toolbar {padding: 12px}
  .controls {gap: 8px}
}
@media (max-width: 610px) {
  .container {width: calc(100% - 24px)}
  .nav {min-height: 56px; gap: 6px}
  .nav-divider, .system-name {display: none}
  .club {font-size: .95rem; gap: 7px}
  .club-mark {width: 30px; height: 30px; border-radius: 7px}
  .club-mark svg {width: 22px; height: 22px}
  .help {font-size: .8rem}
  #help span {display: none}
  .admin-link {font-size: .8rem; padding: 7px}
  .review-tabs {gap: 2px; padding: 8px}
  .review-tabs a {padding-inline: 8px}
  .hero {margin: 14px 0 18px; border-radius: 11px}
  .turf {inset-inline-start: 32%; opacity: .65}
  .pitch {right: -150px}
  .hero-text {padding: 17px}
  h1 {font-size: 2.15rem; margin: 5px 0 11px}
  .hero-meta {font-size: .79rem}
  h2 {font-size: 1.2rem}
  .section-top {flex-wrap: wrap; margin-bottom: 12px; gap: 10px}
  .instruction {font-size: .86rem}
  .section-top .primary {min-height: 37px; padding: 7px 11px}
  .toolbar {align-items: flex-start; flex-direction: column; gap: 10px}
  .period h3 {font-size: 1.02rem}
  .calendar-mark {width: 34px; height: 34px}
  .controls {width: 100%; justify-content: space-between}
  .legend {padding: 8px 10px; gap: 9px; font-size: .75rem}
  .legend .timezone {display: none}
  .fc .fc-timegrid-slot-label-cushion {font-size: .72rem; padding-inline: 3px}
  .fc .fc-col-header-cell-cushion {font-size: .8rem}
  .fc .fc-timegrid-col-events {margin: 0 1px}
  .fc-timeGridWeek-view .event-label, .fc-timeGridWeek-view .event-end {display: none}
  .fc-timeGridWeek-view .event-time {font-size: .7rem}
  .fc .fc-timegrid-event {border-left-width: 2px}
  dialog {padding: 17px}
}
