:root{--ink:#193b2f;--cream:#f7f5ed;--gold:#d6b65d;--muted:#54675d;--line:#d5dfd2;--light:#ecf0e7}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:1rem/1.6 system-ui,Arial,sans-serif}
header,footer{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1rem max(5%,calc((100% - 1150px) / 2));background:#fffdf7}
header{border-bottom:1px solid var(--line)}footer{border-top:1px solid var(--line);margin-top:3rem;align-items:flex-start}
.brand img{display:block;width:125px;height:auto}nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.25rem 1.15rem}nav a{display:inline-flex;align-items:center;min-height:40px}
a{color:inherit;text-underline-offset:.17em}a:hover{text-decoration-thickness:2px}.skip{position:absolute;top:-5rem;padding:1rem;background:white;z-index:2}.skip:focus{top:0}
.container{width:min(1150px, calc(100% - 2.5rem));margin:2.4rem auto}.hero{position:relative;min-height:min(680px,75vh);display:grid;align-items:center;background:#193b2f;color:white;isolation:isolate}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero:after{content:"";background:linear-gradient(90deg,#091e13df,#09201636);position:absolute;inset:0;z-index:-1}
.hero-content{width:min(1100px, calc(100% - 2.5rem));margin:auto;padding:3.5rem 0}.hero-content h1{max-width:12ch;font-size:clamp(3rem,8vw,6.4rem)}
.hero .button{background:var(--gold);color:#15291f;border-color:var(--gold)}.hero .secondary{background:#193b2f;color:white;border-color:white}.hero p{font-size:1.1rem}
h1,h2,h3{font:400 3rem/1.12 Georgia,serif;margin:0 0 .7em}h1{font-size:clamp(2.35rem,5vw,4.15rem)}h2{font-size:clamp(1.65rem,3vw,2.5rem)}h3{font-size:1.45rem}p{margin:.55rem 0 1rem}small{font-size:.875rem}
.story,.two,.fields,.filters,.rates,.slots{display:grid;gap:1rem}.story{grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1rem,5vw,4rem);margin-block:3.5rem}.story img{width:100%;aspect-ratio:3/2;object-fit:cover}
.two,.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.four,.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.rates,.slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel,.rates>div,.slot{min-width:0;background:#fffefa;border:1px solid var(--line);padding:clamp(.9rem,2.5vw,1.5rem);margin-bottom:1rem}
.rates dt{font-weight:600}.rates dd{margin:.35rem 0 0;font:2.2rem Georgia,serif}.rates dd small{font:1rem system-ui,sans-serif}
.round-rate-table{width:100%;max-width:42rem;border-collapse:collapse;margin:0 0 1.25rem;background:#fffefa}
.round-rate-table caption{text-align:left;font-weight:600;padding:.35rem 0}
.round-rate-table :is(th,td){padding:.5rem clamp(.4rem,2vw,.9rem);border:1px solid var(--line);text-align:left}
.round-rate-table thead{background:var(--light)}.round-rate-table td{font-variant-numeric:tabular-nums}
.panel p:last-child{margin-bottom:0}.notice{padding:.8rem 1rem;background:#f3ebd0;border:1px solid #dbca98}.error{background:#f6e3dd;border-color:#c89381;color:#542c20}.rules li{margin-bottom:.65rem}
form{margin:.35rem 0 1rem}button,.button{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .95rem;background:var(--ink);border:1px solid var(--ink);color:#fff;font:600 1rem/1.35 system-ui,sans-serif;text-decoration:none;cursor:pointer}
.header .header-booking{justify-content:center;white-space:nowrap;background:var(--gold);border-color:var(--gold);color:var(--ink)}
.header .header-booking:hover{background:#e6ca7a;border-color:#e6ca7a}
.staff-brand{display:flex;align-items:center;gap:clamp(.55rem,2vw,1.25rem)}
.staff-brand .admin-home{background:#772a2b;border-color:#772a2b;color:#fff;white-space:nowrap;justify-content:center}
.staff-brand .admin-home:hover{background:#602022;border-color:#602022}
@media(max-width:630px){.staff-header{flex-wrap:wrap;align-items:center}.staff-header nav{justify-content:flex-start}}
.secondary{background:#fffefa;color:var(--ink)}button:disabled,fieldset:disabled{opacity:.65;cursor:default}.actions,.inline{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.inline{align-items:end;margin-bottom:1rem}.actions form{margin:0}
label{display:block;font-weight:600;margin-bottom:.65rem}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-height:44px;display:block;border:1px solid #9dac9e;padding:.45rem .55rem;margin-top:.3rem;background:#fff;color:var(--ink);font:inherit}
textarea{min-height:88px}fieldset{border:0;padding:0;min-width:0;margin:0 0 1rem}legend{font-weight:600;margin:0 0 .35rem}.check{display:flex;gap:.55rem;align-items:baseline;min-height:44px}.check input{width:20px;height:20px;flex:0 0 auto}
.choices{display:flex;flex-wrap:wrap;gap:.3rem}.choices label{position:relative;margin:0}.choices input{position:absolute;opacity:0}.choices span{display:inline-flex;align-items:center;padding:.35rem .55rem;min-height:44px;border:1px solid #a4b3a4;background:white;cursor:pointer;font-size:.9rem}.choices input:checked+span{background:var(--ink);color:white}.choices input:focus-visible+span,:focus-visible{outline:3px solid #94752d;outline-offset:2px}
.filters{align-items:end}.filters>button{justify-self:start}.filters fieldset{margin:0}.slot{text-decoration:none;display:grid;gap:.25rem;margin:0}.slot strong{font:1.5rem Georgia,serif}.slot small{color:var(--muted)}.slot:hover{border-color:var(--ink);background:var(--light)}
.booking-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem}
.booking-date{display:flex;flex-direction:column;align-items:flex-start;gap:.22rem;min-height:68px;min-width:0;padding:.55rem .65rem;background:#fffefa;border-color:#a4b3a4;color:var(--ink);text-align:left}
.booking-date span{font-size:.875rem;font-weight:500}.booking-date time{white-space:nowrap}.booking-date small{font-size:.75rem;line-height:1.25;font-weight:500}
.booking-date:hover:enabled{border-color:var(--ink);background:var(--light)}.booking-date[aria-pressed=true],.booking-date[aria-pressed=true]:hover{border-color:var(--ink);background:var(--ink);color:white}
.booking-date:disabled{opacity:1;background:#f2f0e8;border-color:var(--line);color:var(--muted)}
.booking-date[data-status=empty]{background:#ebedeb;border-color:#d2d7d3;color:#526057}
.booking-date[data-status=closed]{background:#eeeae0;border-color:#d2c9b5;color:#584d35}
.booking-shell{width:min(1400px,calc(100% - 2.5rem));margin-block:1.45rem}
.booking-intro h1{font-size:clamp(2rem,4vw,3.25rem);margin:0 0 .25em}.booking-intro p{margin:.25rem 0 .85rem}
.booking-layout{display:grid;gap:.85rem;margin:0}
.booking-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;min-width:0;padding:.8rem;background:#fffefa;border:1px solid var(--line)}
.booking-filters fieldset{margin:0}.booking-filters legend,.booking-date-bar legend{font-size:.875rem}
.booking-filters fieldset:first-child{grid-column:1/-1}
.booking-filters fieldset:first-child .choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.booking-filters .choices{flex-wrap:nowrap}
.booking-filters .choices span{justify-content:center;width:100%;padding-inline:.45rem}
.booking-filters>button{grid-column:1/-1;justify-content:center}
.booking-results{min-width:0}.booking-date-bar{position:sticky;top:0;z-index:2;padding:.3rem 0 .65rem;background:var(--cream)}
.booking-date-bar fieldset{margin:0}.booking-date-bar .booking-date{min-height:54px;padding:.35rem .5rem;gap:.08rem}
.booking-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .85rem;margin:.25rem 0 .65rem}
.booking-summary h2{font-size:clamp(1.35rem,2.5vw,1.8rem);margin:0}.booking-summary p,.booking-date-note{font-size:.875rem;color:var(--muted);margin:0}
.booking-date-note{margin:-.25rem 0 .65rem}
.booking-results .slots{grid-template-columns:repeat(auto-fill,minmax(min(100%,9rem),1fr));gap:.4rem}
.booking-results .slot{padding:.47rem .55rem;gap:.15rem;min-height:54px;scroll-margin-block-start:12rem}
.booking-results .slot strong{font-size:1.16rem;line-height:1.15}
.slot-detail{display:flex;flex-wrap:wrap;gap:0 .4rem;font-size:.75rem;line-height:1.25;color:var(--muted)}
.slot-detail span+span::before{content:"·";margin-right:.35rem}
.slot-detail .short-round{color:#67501d;font-weight:650}
.reservation-review{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:1rem;margin:1rem 0}
.review-options,.review-summary{margin:0}
.review-options>p{font-size:.9rem;color:var(--muted);margin-top:.3rem}
.review-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.review-choices fieldset{margin:0}
.review-choices fieldset:first-child{grid-column:1/-1}
.review-choices fieldset:first-child .choices{display:grid;grid-template-columns:repeat(4,minmax(0,3.25rem))}
.review-choices .choices span{justify-content:center;width:100%}
.review-summary{display:flex;flex-direction:column;background:var(--light);border-color:#c4d2c3}
.review-summary h2{font:650 1.05rem/1.35 system-ui,sans-serif;margin:0 0 .75rem}
.review-time{display:flex;flex-wrap:wrap;align-items:baseline;gap:.55rem;margin:0}
.review-time time{font:400 clamp(2.45rem,5vw,3.65rem)/1 Georgia,serif}
.review-time span,.review-summary dt,.review-check-in{color:var(--muted);font-size:.875rem}
.review-date{margin:.45rem 0 .95rem}
.review-summary-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:0;border-top:1px solid #c4d2c3;padding-top:.75rem}
.review-summary dd{margin:0;font-weight:650}
.review-check-in{margin:.85rem 0 1rem}
.review-summary .actions{margin-top:auto}
#confirm-reservation[hidden]{display:none}
#nine-hole-confirmation .actions{margin-bottom:0}
@media(max-width:700px){.reservation-review{grid-template-columns:1fr}.review-choices{gap:.75rem .45rem}}
.iq-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);align-items:center;gap:clamp(1rem,4vw,3.5rem);margin-bottom:1.5rem}
.iq-intro h1{margin-bottom:.35em}.iq-intro img{width:100%;height:clamp(14rem,22vw,18rem);object-fit:cover}
.iq-nines{align-items:start}.iq-nine h2,.iq-hole-layout h2,.iq-photos h2{font-size:clamp(1.35rem,3vw,1.95rem)}
.iq-hole-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.iq-hole-grid a{display:grid;border:1px solid var(--line);padding:.55rem .65rem;text-decoration:none;background:var(--cream)}
.iq-hole-grid a:hover{border-color:var(--ink);background:var(--light)}
.iq-hole-grid span,.iq-handicap{color:var(--muted);font-size:.875rem}
.iq-hole-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1rem}
.iq-flyover{background:var(--light)}
.iq-flyover iframe{display:block;width:100%;min-height:200px;aspect-ratio:16/9;border:0;background:var(--ink)}
.iq-yardages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:1rem 0}
.iq-yardages div{padding:.35rem .55rem;border-bottom:1px solid var(--line)}
.iq-yardages dt{color:var(--muted);font-size:.875rem}.iq-yardages dd{margin:0;font-weight:650}
.iq-photos figure{margin:0}.iq-photos img{display:block;width:100%;height:auto}.iq-photos figcaption{color:var(--muted);padding:.35rem 0}
.iq-pagination{justify-content:flex-start;margin-top:.6rem}
@media(max-width:700px){.iq-intro,.iq-hole-layout{grid-template-columns:1fr}.iq-intro img{height:12rem}}
@media(min-width:860px){
  .booking-layout{grid-template-columns:clamp(12rem,18vw,14rem) minmax(0,1fr);gap:clamp(1rem,2vw,1.5rem);align-items:start}
  .booking-filters{position:sticky;top:.5rem;grid-template-columns:1fr;gap:.85rem;padding:1rem}
  .booking-results .slots{grid-template-columns:repeat(auto-fill,minmax(min(100%,11rem),1fr))}
}
@media(max-width:859px) and (min-height:680px){
  .booking-filters-measured .booking-filters{position:sticky;top:0;z-index:3}
  .booking-filters-measured .booking-date-bar{top:var(--booking-filters-height)}
  .booking-filters-measured .slot{scroll-margin-block-start:calc(var(--booking-filters-height) + 10rem)}
}
@media(max-width:630px){
  .container.booking-shell{width:calc(100% - 1.5rem);margin-block:1.15rem}
  .booking-filters{gap:.65rem .45rem;padding:.65rem}
  .booking-filters .choices span{padding-inline:.3rem;font-size:.82rem}
  .booking-date-bar .booking-date{padding:.3rem .4rem}
}
.staff-desk{width:min(1360px,calc(100% - 2.5rem));margin-block:1.75rem}
.staff-desk-heading h1{font-size:clamp(2.25rem,4vw,3.05rem);margin-bottom:.8rem}
.desk-panel{background:#fffefa;border:1px solid #cfdbc4;padding:clamp(.85rem,2.2vw,1.45rem);margin-bottom:1rem}
.desk-panel h2,.staff-desk-details{font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:.65rem}
.desk-arrivals{background:#edf0e6}.desk-arrivals>p{margin-bottom:0;color:var(--muted)}
.staff-checkins{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}
.staff-checkin{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:.75rem .85rem;border:1px solid #bfccb4;border-top:3px solid var(--ink);background:#fffefa;overflow-wrap:anywhere}
.staff-checkin-date,.staff-checkin p{margin:.1rem 0;color:var(--muted);font-size:.875rem;line-height:1.35}
.staff-checkin-time{margin-block:.14rem .2rem;font:1.5rem/1.15 Georgia,serif;white-space:nowrap}
.staff-checkin-name{font-weight:700;line-height:1.3}
.staff-checkin form,.staff-checkin>.button{margin:auto 0 0;padding-top:.55rem}
.staff-checkin form{width:100%}
.staff-checkin .button,.staff-checkin button{justify-content:center;width:100%;min-height:40px;padding:.4rem .5rem;font-size:.875rem;text-align:center}
.staff-checkin>.button{margin-top:.55rem}
.staff-checkin .attendance-buttons{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;margin-top:.35rem}
.staff-checkin .attendance-buttons :is(a,button){white-space:nowrap;padding-inline:.22rem}
.staff-overdue li{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .55rem}
.staff-overdue .attendance-buttons .button{font-size:.875rem;padding:.32rem .55rem;min-height:40px}
.staff-overdue{margin-top:.7rem;padding:.5rem .65rem;border:1px solid #dbca98;background:#f3ebd0}
.staff-overdue ul{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin:.25rem 0 0;padding:0;list-style:none}
.staff-checkin-overdue:not([hidden]){display:flex;flex-wrap:wrap;gap:.15rem .5rem;width:fit-content;margin-top:.22rem;padding:.15rem .35rem;background:#f9e9c7;color:#53370a;font-size:.875rem}
.staff-checkin-overdue a{color:inherit;font-weight:700}
.staff-checkin:has(>.staff-checkin-overdue:not([hidden])){border-top-color:#9c6320}
.staff-desk-actions{margin-bottom:1rem}.staff-desk .two{gap:.75rem}
.staff-desk .entry:target,.staff-desk details:target{border-color:#7a925f}
.staff-schedule-controls,.staff-sheet-caption{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:flex-end;gap:.65rem 1rem}
.staff-view-switch{justify-content:flex-start;gap:.35rem}
.staff-schedule-controls .inline,.staff-schedule-controls label{margin:0}
.staff-schedule-controls label{font-size:.875rem}
.staff-view-switch [aria-current=true]{background:var(--ink);color:#fff}
.staff-sheet-caption{margin-top:1rem}.staff-sheet-caption h3{margin:0;font-size:clamp(1.25rem,2.3vw,1.6rem)}
.staff-sheet-caption p{margin:.15rem 0 0;color:var(--muted);font-size:.875rem}
.staff-date-nav .button{padding:.4rem .65rem;font-size:.875rem}
.staff-sheet-key{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.7rem 0;padding:0}
.staff-sheet-key li{padding:.12rem .5rem;border:1px solid #cfdbc4;font-size:.875rem;font-weight:600}
.staff-sheet-scroll{max-height:38rem;overflow:auto;overscroll-behavior:contain;border:1px solid #cfdbc4;background:#fffefa}
.staff-sheet{table-layout:fixed;border-collapse:separate;border-spacing:0}
.staff-sheet-week{min-width:980px}.staff-sheet-weekend{min-width:520px}
.staff-sheet th,.staff-sheet td{border-right:1px solid #cfdbc4;border-bottom-color:#cfdbc4;padding:.39rem .55rem;text-align:left;vertical-align:middle;line-height:1.35}
.staff-sheet thead th{position:sticky;top:0;z-index:2;background:var(--ink);color:#fff;font-size:.95rem}
.staff-sheet thead small{display:block;color:#dbebdc;font-size:.875rem;font-weight:400;line-height:1.25}
.staff-sheet tr th:first-child{width:6rem;position:sticky;left:0;white-space:nowrap}
.staff-sheet thead th:first-child{z-index:3}.staff-sheet tbody th{z-index:1;background:#f0f2e9;font-size:.9rem}
.staff-sheet td small{display:block;color:var(--muted);font-size:.875rem;line-height:1.3}
.staff-sheet td a{font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
.staff-slot-open{background:#f4f8ef}.staff-slot-reserved,.staff-slot-partial{background:#dce8d1}
.staff-slot-blocked{background:#efe1bc}.staff-slot-closed{background:#f5f3ec}
.staff-slot-reservation{display:block;padding-block:.1rem}.staff-slot-book{display:flex;flex-direction:column;justify-content:center;min-height:44px;text-decoration:none}
.staff-slot-release{display:block;margin-top:.15rem}.staff-sheet td:target{box-shadow:inset 0 0 0 2px #94752d}
.event-management{display:grid;align-items:start;gap:.75rem;margin-bottom:1.15rem}
.event-management>details{margin:0}.event-delete{background:#fffefa;border:1px solid #c89381;padding:.65rem .85rem}
.event-delete button{color:#782e24;border-color:#975047}.events-index #archived-events{margin-block:1rem}
.event-preview-table{min-width:37rem}.event-times{display:block}
#reservation-editor,#follow-up-dialog,#checkin-worksheet{width:min(44rem,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 1.5rem);overflow:auto}
#checkin-worksheet .fields{row-gap:.2rem}.checkin-count{margin-bottom:.85rem}.checkin-count span{font-size:.875rem;color:var(--muted)}
.checkin-count .missing-player{background:#772a2b;border-color:#772a2b;color:#fff}
.checkin-count .missing-player:hover:not(:disabled){background:#602022;border-color:#602022}
.checkin-rate{display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .55rem;margin-bottom:.65rem}
.checkin-rate strong{flex-basis:100%}.checkin-rate output{font-size:1.2rem;font-weight:700;font-variant-numeric:tabular-nums}
.checkin-rate :is(a,small){font-size:.875rem}.checkin-rate small{color:var(--muted)}
.checkin-carts,.checkin-payers{border-top:1px solid var(--line);padding:.55rem 0;margin-bottom:.55rem}
.checkin-carts label[hidden]{display:none}
.payer-presets,.payer-choices{display:flex;flex-wrap:wrap;gap:.35rem}
.payer-presets{margin:0 0 .55rem}.payer-choices{margin-top:.2rem}
.payer-presets button,.payer-choices button{padding-inline:.65rem;font-size:.875rem}
.payer-presets button[aria-pressed=true],.payer-choices button[aria-pressed=true]{background:var(--ink);color:#fff}
.payer-presets[hidden],.checkin-payer [data-payer-select][hidden]{display:none}
.checkin-payer{display:grid;align-items:end;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .65rem;border-bottom:1px solid var(--line);padding:.4rem 0;margin-bottom:.25rem}
.checkin-payer[hidden]{display:none}.checkin-payer output{text-align:right;align-self:center;font-weight:700}
.checkin-payer details{grid-column:1/-1;margin:0}.checkin-payer details summary{font-size:.9rem;min-height:32px}
.cart-history-table{min-width:48rem}.cart-history-table th,.cart-history-table td{padding:.55rem .7rem}
.course-closures{scroll-margin-top:1rem}.course-closures fieldset>p{margin-top:0;color:var(--muted)}
.holiday-closures,.manual-closures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.45rem .8rem}
.holiday-closures label{align-items:flex-start;background:var(--cream);border:1px solid var(--line);padding:.55rem;margin:0}
.holiday-closures small{display:block;color:var(--muted);font-weight:400;line-height:1.3}.holiday-closures input{margin:.2rem 0 0}
.player-round-history{border-bottom:1px solid var(--line);padding:.6rem 0}.player-round-history:last-child{border:0}
.player-round-history h3{font-size:1.15rem;margin:0}.player-round-history p{margin:.2rem 0}
#follow-up-dialog .fields{row-gap:.3rem}
.reservation-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.reservation-dialog-heading h2{margin:0;font-size:clamp(1.65rem,4vw,2.15rem);overflow-wrap:anywhere}
.reservation-dialog-summary{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1.25rem;padding:.75rem;background:var(--light);border:1px solid var(--line)}
.reservation-dialog-summary strong{font-size:1.07rem}.reservation-dialog-summary p{margin:.2rem 0;font-size:.9rem;line-height:1.4}
.reservation-contact{margin:.65rem 0 .9rem}.reservation-edit{padding-top:.65rem;border-top:1px solid var(--line)}
.reservation-attendance{margin:.65rem 0 .8rem}.reservation-attendance .status{margin:.35rem 0 0}
.attendance-options{display:grid;gap:.35rem}.attendance-option{border:1px solid var(--line);padding:.2rem .65rem;background:#fffefa}
[data-action-tone="positive"]{--action-fill:#206a41;--action-hover:#155333;--action-text:#fff;--action-border:#206a41}
[data-action-tone="restriction"]{--action-fill:#f8dcde;--action-hover:#f2cace;--action-text:#77252b;--action-border:#b86d73}
[data-action-tone="caution"]{--action-fill:#f7e8bd;--action-hover:#f2dda0;--action-text:#664411;--action-border:#a27a2d}
[data-action-tone="danger"]{--action-fill:#cc1e30;--action-hover:#aa1425;--action-text:#fff;--action-border:#b71727}
:is(button,.button)[data-action-tone]{background:var(--action-fill);color:var(--action-text);border-color:var(--action-border)}
:is(button,.button)[data-action-tone]:hover:not(:disabled){background:var(--action-hover)}
.attendance-option[data-action-tone]{border-left:4px solid var(--action-border)}
.attendance-option[data-action-tone] input{accent-color:var(--action-border)}
.attendance-option[data-action-tone]:has(input:checked){background:#f7f4ed}
.attendance-option .check{align-items:center;margin:0}.attendance-option p{margin:0 0 .45rem 1.7rem}
.attendance-duration{display:none;margin-left:1.7rem}.attendance-option:has(input:checked) .attendance-duration{display:block}
#phone-booking-reminder{grid-column:1 / -1;margin:0}#phone-booking-reminder>a{font-weight:700}
#phone-booking-reminder>strong{display:block;margin-top:.45rem}#phone-booking-reminder ul{margin:.2rem 0 0;padding-inline-start:1.25rem}
#phone-reservation input[data-booking-alert=active]{background:#f8e1e0;border-color:#9a403b}
#phone-reservation input[data-booking-alert=recent]{background:#f8efd9;border-color:#ac8544}
.reservation-edit fieldset{margin-bottom:.35rem}.reservation-edit .fields{row-gap:.2rem}
.reservation-cancel{border-top:1px solid var(--line);padding-top:.5rem;margin-top:.75rem}
.reservation-cancel summary{color:#782e24}.reservation-cancel p{margin-bottom:.4rem}
.staff-slot-book:hover small,.staff-slot-book:focus-visible small{text-decoration:underline}
.staff-slot-open:hover{background:#e5eedb}.staff-slot-partial:hover{background:#d4e3c8}
.staff-entry-restricted,.staff-sheet .staff-entry-restricted,.staff-sheet-key li.staff-entry-restricted{background:#f8e1e0;border-color:#d4a29f}
.staff-sheet .staff-entry-arrived,.staff-sheet-key li.staff-entry-arrived{background:#e6e8e7;border-color:#c8ceca}
.staff-checkin.staff-entry-restricted{border-top-color:#9a403b}
.staff-reserved-group{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .45rem}
.staff-reserved-group:is(.staff-entry-restricted,.staff-entry-arrived){padding:.1rem .3rem;margin-inline:-.3rem;width:fit-content;max-width:calc(100% + .6rem)}
.staff-sheet .staff-arrival-tag{display:inline-block;color:#34443c;font-weight:700}
.staff-restriction-tag,.staff-sheet td .staff-restriction-tag{display:inline-block;color:#762e29;font-weight:700;font-size:.875rem;line-height:1.35}
.staff-sheet-day .staff-slot-book{flex-direction:row;align-items:center;justify-content:space-between;gap:.65rem}
.staff-sheet-day .staff-slot-book small{color:var(--ink);font-weight:650;text-decoration:underline}
@media(max-width:980px){.staff-checkins{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:630px){
  .container.staff-desk{width:calc(100% - 1.5rem);margin-block:1.1rem}.staff-checkins{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
  .staff-checkin{padding:.55rem .6rem}.staff-checkin-time{font-size:1.3rem}.staff-desk-actions .button{font-size:.875rem}
  .staff-sheet tr th:first-child{width:5rem}.staff-sheet th,.staff-sheet td{padding-inline:.45rem}.staff-sheet-scroll{max-height:32rem}
}
.player,.entry{display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between}.status{font-size:.9rem;color:var(--muted)}.policies{align-items:end}.checkout{margin-top:1rem}
#phone-reservation input[name="name"][readonly]{background:var(--light)}

.owner-console{width:min(1420px,calc(100% - 3rem))}
.owner-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
.owner-heading h1{margin:0}.owner-eyebrow{margin:0 0 .25rem;font-weight:700;color:var(--muted)}
.owner-status{margin:0;padding:.55rem .7rem;background:#e7eee4;border:1px solid #bccdb8}
.owner-status:not([data-site-mode=live]){background:#f8e1e0;border-color:#d4a29f}
.owner-jump{display:flex;flex-wrap:wrap;gap:.55rem 1.2rem;margin-bottom:1.1rem;font-weight:700}
.owner-panel{padding:clamp(1rem,2.4vw,1.75rem);margin-bottom:1rem;background:#fffefa;border:1px solid #ced8c4;scroll-margin-top:1rem}
.owner-panel h2{margin:0 0 .65rem}.owner-metrics{margin-block:1rem .7rem}
.owner-metrics div{border-top:2px solid #0f2d5b}
.owner-metrics dd{color:#0f2d5b;font-variant-numeric:tabular-nums}
.owner-details{margin-top:1rem}.owner-details summary{font-weight:700;cursor:pointer}
.owner-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.75rem;align-items:end;margin-block:1rem}
.owner-form label{display:grid;gap:.25rem}.owner-form button{justify-content:center}
.owner-controls form .check{align-self:center}
@media(max-width:630px){.owner-console{width:calc(100% - 1.5rem)}.owner-jump{gap:.35rem .85rem}}
summary{cursor:pointer;min-height:36px;font-weight:650}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}td,th{text-align:left;padding:.45rem;border-bottom:1px solid var(--line)}.powered{display:inline-block;background:#fff;padding:.4rem;margin-top:.55rem}
code{font-size:1.2rem;overflow-wrap:anywhere}
dialog{max-width:min(540px,calc(100% - 1.5rem));padding:clamp(1rem,4vw,2rem);border:1px solid var(--line);background:#fffefa;color:var(--ink)}dialog::backdrop{background:#15291fb0}
.course-details section{margin-block:3.5rem}.course-details .eyebrow{font-size:.875rem;font-weight:650;letter-spacing:.09em}
.scorecard-scroll{max-width:100%;overflow:auto;margin:1rem 0;background:#fffefa}.scorecard-scroll caption{text-align:left;padding:.65rem 0}
.course-scorecard{border-collapse:separate;border-spacing:0;--score-grid:#bdcbbd}
.course-scorecard td,.course-scorecard th{text-align:right;border-right:1px solid var(--score-grid);border-bottom-color:var(--score-grid)}
.course-scorecard thead th{border-top:1px solid var(--score-grid)}
.course-scorecard th:first-child{position:sticky;left:0;z-index:1;border-left:1px solid var(--score-grid);text-align:left;white-space:nowrap;background:#fffefa}
.course-scorecard .score-total{background:var(--light);font-weight:650}
.course-scorecard thead a{display:block}
.course-scorecard .tee-blue{--tee-swatch:#247dad}.course-scorecard .tee-white{--tee-swatch:#fff}
.course-scorecard .tee-gold{--tee-swatch:#c7a046}.course-scorecard .tee-red{--tee-swatch:#b73736}
.course-scorecard :is(.tee-blue,.tee-white,.tee-gold,.tee-red) th::before{content:"";display:inline-block;width:.75rem;height:.75rem;margin-right:.45rem;border:1px solid #697568;background:var(--tee-swatch);vertical-align:-.03em}
.course-scorecard .tee-rating{display:block;padding-inline-start:1.2rem;color:var(--muted);font-size:.75rem;font-weight:500}.course-scorecard .tee-par{background:var(--light);font-weight:650}
.gallery-stage figure{margin:0}.gallery-stage figure img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain;background:#193b2f}.gallery-stage figcaption{padding:.55rem 0}.gallery-controls,.gallery-thumbs{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin-bottom:.55rem}.gallery-thumbs button{padding:.18rem;background:#fffefa}.gallery-thumbs button[aria-pressed=true]{border:2px solid var(--ink)}.gallery-thumbs img{width:56px;height:42px;object-fit:cover}
@media(max-width:850px){.filters,.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:630px){header{align-items:flex-start;gap:.75rem}.brand img{width:88px}header nav{font-size:.9rem;gap:0 .7rem}.container{width:calc(100% - 1.5rem);margin:1.7rem auto}.two,.story,.rates{grid-template-columns:1fr}.story{margin-block:2rem}.slots{grid-template-columns:repeat(2,minmax(0,1fr))}footer{flex-direction:column}.fields{gap:.6rem}}
@media(max-width:670px){.booking-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.booking-date{padding:.45rem .35rem}.booking-date time{font-size:.9rem}}
@media(max-width:375px){.filters{grid-template-columns:1fr}.fields>*{min-width:0}}

/* Public navigation, Golf IQ and restored booking controls */
html{scroll-padding-top:calc(var(--public-header-height,0px) + .5rem)}
.public-header{position:sticky;top:0;z-index:10}
.public-mobile-actions{display:none}
.public-notices{margin-block:.85rem}
.container>.public-notices{width:100%}
.course-alert{padding:.7rem 1rem;margin:.4rem 0;border:1px solid #9bb3a1;background:#eef5eb}
.course-alert.important{background:#f7ebcc;border-color:#c0a457}
.course-alert p{margin:0;white-space:pre-line}
.booking-date-bar{top:var(--public-header-height,0px)}
.booking-filters fieldset:last-of-type{grid-column:1/-1}
.booking-filters fieldset:last-of-type .choices{flex-wrap:wrap}
.booking-filters .booking-reset{grid-column:1/-1;text-align:center;font-size:.9rem}
.slot-price{display:block;color:var(--muted);font-size:.78rem;font-weight:600;line-height:1.18;margin-top:.2rem}
.iq-inline{padding:clamp(1.3rem,4vw,3.25rem) 0;background:#193b2f;color:#fffdf7}
.iq-inline>.container{margin-block:0}
.iq-inline h2{margin-bottom:.5em}
.iq-inline-selector{display:grid;grid-template-columns:repeat(18,minmax(0,1fr));gap:.35rem;margin-bottom:1rem}
.iq-inline-selector a{display:grid;place-items:center;text-decoration:none;min-width:0;min-height:44px;border:1px solid #a8bdab;color:#fffdf7;font-weight:700}
.iq-inline-selector a:hover{background:#2c513f}
.iq-inline-selector a[aria-current=true]{background:var(--gold);color:#162d21;border-color:var(--gold)}
.iq-inline-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:1.25rem;align-items:stretch}
.iq-inline-flyover{min-width:0;aspect-ratio:16/9;min-height:130px;display:grid;place-items:center;background:#10291f;border:1px solid #698675;text-align:center}
.iq-inline-flyover iframe{width:100%;height:100%;border:0}
.iq-inline-flyover p{padding:.7rem;margin:0;color:#d2e2d4}
.iq-inline-overview{background:#214637;border:1px solid #698675;padding:1.05rem;align-self:stretch}
.iq-inline-overview .button{margin-bottom:.6rem}
.iq-inline-actions[hidden],label[data-available-starts][hidden],label[hidden]:has(select[data-quick-choice]){display:none}
.visit-section details{border-top:1px solid var(--line)}
.quick-choice{margin:0 0 .65rem;display:flex;flex-wrap:wrap;gap:.25rem}
.quick-choice button{padding-inline:.45rem;font-size:.875rem}
.quick-choice button[aria-pressed=true]{background:var(--ink);color:white}
.staff-tee-options{min-width:0}

/* Staff timing, carts, and analytics */
.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));gap:.6rem;margin:1rem 0 1.7rem}
.report-metrics div{background:#fffefa;border:1px solid var(--line);border-top:3px solid var(--ink);padding:.6rem .85rem}
.report-metrics dt{font-size:.875rem;color:var(--muted)}
.report-metrics dd{margin:.1rem 0;font-size:1.38rem;font-weight:700;font-variant-numeric:tabular-nums}
.report-scroll{overflow:auto;margin:0 0 1rem}
.report-table{width:100%;border-collapse:collapse;background:#fffefa}
.report-table caption{text-align:left;font-weight:700;font-size:1.05rem;padding:.45rem 0}
.report-table :is(th,td){border:1px solid var(--line);padding:.45rem .6rem;vertical-align:top;white-space:nowrap;text-align:left}
.report-table thead{background:#e6ede1}
.report-table tbody tr:nth-child(even){background:#f3f6ef}
.report-table td{font-variant-numeric:tabular-nums}
.report-table form{margin:0}
.cart-return{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;align-items:end}
.cart-return h2{margin-bottom:.25rem}
@media(min-width:860px){.booking-filters{top:calc(var(--public-header-height,0px) + .5rem)}}
@media(max-width:940px){
  .public-header[data-nav-ready]{align-items:center;padding:.45rem max(3%,calc((100% - 1150px)/2))}
  .public-header[data-nav-ready] .brand img{width:75px}
  .public-header[data-nav-ready] .public-mobile-actions{display:flex;gap:.35rem;align-items:center}
  .public-header[data-nav-ready] nav{display:none;position:absolute;inset:100% 0 auto;background:#fffdf7;border-bottom:1px solid var(--line);max-height:calc(100dvh - var(--public-header-height,0px));overflow:auto;padding:.55rem 5%;justify-content:flex-start}
  .public-header[data-nav-ready]:has(.public-nav-toggle[aria-expanded=true]) nav{display:grid}
  .public-header[data-nav-ready] nav .header-booking{display:none}
  .iq-inline-selector{grid-template-columns:repeat(9,minmax(0,1fr))}
}
@media(max-width:859px) and (min-height:680px){
  .booking-filters-measured .booking-filters{top:var(--public-header-height,0px)}
  .booking-filters-measured .booking-date-bar{top:calc(var(--public-header-height,0px) + var(--booking-filters-height))}
  .booking-filters-measured .slot{scroll-margin-block-start:calc(var(--booking-filters-height) + 10rem)}
}
@media(max-width:610px){
  .iq-inline-layout,.cart-return{grid-template-columns:1fr}
  .public-mobile-actions .button,.public-mobile-actions button{padding-inline:.55rem;font-size:.875rem}
  .booking-filters .booking-reset{font-size:.8rem}
}
@media print{
  body:has(.event-flyer){background:white;color: #172720}
  body:has(.event-flyer) :is(header,footer,.public-notices,.skip,.event-flyer .actions){display:none}
  body:has(.event-flyer) main{width:100%;margin:0}
  .event-flyer{border:0;padding:0}
}

/* Staff rain checks */
button.rain-button,.button.rain-button{background:#215a8d;border-color:#215a8d;color:#fff}
button.rain-button:hover:enabled,.button.rain-button:hover{background:#174574;border-color:#174574}
button.rain-button[aria-pressed=true]{background:#e7f2fb;color:#21466b}
#rain-check-dialog{width:min(44rem,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 1.5rem);overflow:auto}
.rain-hole-choice .choices label{min-width:6.15rem}
.rain-hole-choice .choices span{width:100%;justify-content:center}
.rain-hole-choice input:disabled+span{opacity:.5;cursor:default}
.rain-recipients{display:grid;gap:.45rem}
.rain-recipients > p{margin:0}
.rain-recipient-scroll{overflow:auto;padding:0 .25rem .25rem;margin:0 -.25rem}
.rain-recipient-table{width:100%;min-width:19.5rem;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:.875rem;line-height:1.3}
.rain-recipient-table :is(th,td){padding:.15rem .25rem}
.rain-recipient-table thead th{padding-bottom:.3rem;vertical-align:bottom}
.rain-recipient-table th:first-child{text-align:center;width:3.9rem}
.rain-recipient-table th:nth-child(3){width:30%}
.rain-recipient-table th:nth-child(4){width:22%}
.rain-recipient-table input:not([type=checkbox]){margin:0;min-height:40px;font-size:1rem}
.rain-lead-check{display:flex;align-items:center;gap:.35rem;margin:0;min-height:40px;overflow-wrap:anywhere}
.rain-lead-check input{width:18px;height:18px;flex:0 0 auto;margin:0;accent-color:var(--ink)}
.rain-lead-phone{white-space:nowrap}
@media(max-width:460px){
  .rain-recipient-table th:first-child{width:2.55rem}
  .rain-recipient-table th:nth-child(3){width:32%}
  .rain-recipient-table input:not([type=checkbox]){padding-inline:.35rem}
}
.rain-history{margin-top:1rem}
.rain-history-row,.rain-golfer{border-top:1px solid var(--line);padding:.55rem 0}
.rain-history-row p{margin:.15rem 0 .2rem}
.rain-history-row details{margin-top:.15rem}
.redemption-fields{border-top:1px solid var(--line);padding:.5rem 0}
.redemption-fields[hidden],.rain-golfer[hidden],.rain-choice[hidden]{display:none}
.rain-golfer strong{display:block}
.rain-golfer .status{margin:.2rem 0 .4rem}
.rain-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.35rem .65rem}
.rain-choice label{margin-bottom:0}
.rain-choice .status:empty{display:none}
.rain-choice .status{grid-column:1/-1}
.rain-applied{color:#174574;margin:.15rem 0}
.rain-downtime-form .fields{align-items:end}
@media(max-width:540px){.rain-choice{grid-template-columns:1fr}.rain-choice button{justify-self:start}}

/* Compact staff player directory */
.player-directory-toolbar{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:.7rem 1.15rem;margin-bottom:1.25rem}
.player-directory-toolbar h1{margin:0;font-size:clamp(2.3rem,4.6vw,4rem)}
.player-add.button{justify-content:center;min-height:49px;padding-inline:1.1rem;background:#772a2b;border-color:#772a2b;color:#fff;font-size:1.025rem;white-space:nowrap}
.player-add.button:hover{background:#602022;border-color:#602022}
.player-directory-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;margin:0;width:100%;max-width:38rem}
.player-directory-search:has(a){grid-template-columns:minmax(0,1fr) auto auto}
.player-directory-search input[type=search]{margin-top:0}
.player-directory-search a{min-height:44px;display:inline-flex;align-items:center}
.player-directory-table{width:100%;border:1px solid var(--line);border-collapse:collapse;background:#fffefa}
.player-directory-table :is(th,td){text-align:left;padding:.32rem .75rem;border-bottom:1px solid var(--line);vertical-align:middle}
.player-directory-table thead{background:var(--light)}
.player-directory-table tbody tr:hover{background:#eef4ea}
.player-directory-table tbody th{font-weight:650;overflow-wrap:anywhere}
.player-directory-table tbody th a{min-height:32px;display:inline;line-height:1.8}
.player-directory-table .player-phone{width:29%;white-space:nowrap;font-variant-numeric:tabular-nums}
.player-directory-table td.status{width:32%}
.player-directory-footer{display:flex;flex-wrap:wrap;gap:.25rem 1rem;justify-content:space-between;align-items:center}
.player-directory-footer nav{align-items:center;gap:.7rem}
#add-player-dialog{width:min(37rem,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 1.5rem);overflow:auto}
@media(max-width:680px){
  .player-directory-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:.65rem}
  .player-directory-search{grid-column:1/-1;max-width:none}
  .player-directory-table :is(th,td){padding:.33rem .38rem;font-size:.875rem}
  .player-directory-table td.status{font-size:.8rem}
}

/* Match heights across the check-in selectors */
#checkin-worksheet{--selector-height:44px}
#checkin-worksheet .worksheet-fields>.fields{align-items:start}
#checkin-worksheet .quick-choice{align-items:start;align-content:start;flex-wrap:nowrap;min-width:0}
#checkin-worksheet .quick-choice[data-choice-name=players]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#checkin-worksheet .quick-choice[data-choice-name=players] button{font-size:.8125rem;padding-inline:.15rem;white-space:nowrap}
#checkin-worksheet :is(.quick-choice,.payer-choices,.payer-presets) button{
  min-height:var(--selector-height);
  height:var(--selector-height);
  justify-content:center;
  min-width:0;
}
@media(max-width:620px){
  #checkin-worksheet .quick-choice[data-choice-name=players]{grid-column:1/-1}
}
@media(max-width:360px){
  #checkin-worksheet .quick-choice[data-choice-name=players] button{font-size:.75rem}
}
