:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #182c24;
  --muted: #52645b;
  --green: #19543b;
  --line: #dce4db;
  --tint: #edf3e9;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { border-bottom: 1px solid var(--line); min-height: 76px; padding: 0 max(5vw, 20px); display: flex; align-items: center; justify-content: space-between; background: #ffffffb0; }
.brand { color: var(--ink); display: inline-flex; gap: 12px; align-items: center; text-decoration: none; letter-spacing: .19em; font-size: .91rem; font-weight: 800; }
.mark { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: white; background: var(--green); font-weight: 800; letter-spacing: 0; }
h1,h2,h3,p,dl { margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 6.3vw, 5.1rem); line-height: .99; letter-spacing: -.075em; }
h1 em { font-family: Georgia, serif; color: var(--green); font-weight: 400; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: 1rem; }
p { line-height: 1.55; }
dt { color: var(--muted); font-size: .86rem; }
dd { margin: 0; font-weight: 650; }
.card { padding: clamp(17px, 3vw, 34px); background: white; border: 1px solid var(--line); border-radius: 24px; min-width: 0; box-shadow: 0 14px 36px #2340300a; }
button,input,select,textarea { font: inherit; }
button,.button { cursor: pointer; border: 1px solid var(--line); color: var(--ink); background: white; border-radius: 10px; padding: .62rem .8rem; font-weight: 650; }
button:hover:not(:disabled) { background: var(--tint); }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 3px solid #367852; outline-offset: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; background: var(--green); color: white; border-color: var(--green); padding: .85rem 1.1rem; }
.button:hover:not(:disabled) { background: #103e2a; }
.arrows { display: flex; gap: 6px; }
.arrows button { min-width: 39px; padding: .2rem .5rem; font-size: 1.25rem; }
#chosen-day { margin: 20px 0 10px; text-transform: capitalize; }
.slots { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.slots button { min-height: 37px; padding: 4px; color: var(--green); background: #f7faf6; font-size: .82rem; }
.hint,#slot-status { font-size: .83rem; color: var(--muted); }
#slot-status:empty,.error:empty,#profile-message:empty { display: none; }
form label,.toolbar label { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 650; margin-bottom: 13px; min-width: 0; }
form label small { display: inline; color: var(--muted); }
input,select,textarea { background: white; border: 1px solid #a8b9ae; border-radius: 9px; padding: 9px; min-width: 0; width: 100%; color: var(--ink); font-size: 1rem; }
textarea { resize: vertical; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.text-button { border: 0; background: transparent; color: var(--green); padding-left: 0; text-align: left; }
#back { margin: 0 0 13px; }
.summary { background: var(--tint); border-radius: 10px; padding: 10px 12px; font-weight: 650; }
.error,.danger { color: #9c2823; }
#success .mark { margin-bottom: 15px; }
footer { width: min(1130px,92%); margin: auto; padding: 20px 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
footer span { padding: 0 5px; }
.admin-main { width: min(1180px,94%); margin: clamp(25px,5vw,62px) auto; }
.admin h1 { font-size: clamp(2.1rem,5vw,3.4rem); }
.login { width: min(100%,495px); margin: 0 auto; }
.stats { display: flex; gap: 10px; margin: 20px 0; }
.stats div { flex: 1; border: 1px solid var(--line); padding: 12px; border-radius: 14px; background: #fff; }
.stats span { color: var(--muted); display: block; font-size: .85rem; }
.stats strong { font-size: 1.7rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; align-items: start; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.toolbar label { margin: 0; }
.toolbar label:first-child { flex: 1 1 150px; }
.results { display: grid; gap: 7px; max-height: 505px; overflow: auto; padding: 3px; }
.record { text-align: left; display: grid; gap: 3px; overflow-wrap: anywhere; }
.record span { font-size: .8rem; color: var(--muted); }
.information dd { margin: 3px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.information a { color: var(--green); }
#cancel-area { margin-top: 10px; }
#profile-message { margin-top: 13px; }
@media (max-width: 800px) {
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .slots { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .fields { grid-template-columns: 1fr; }
}

/* Public pages */
.public { --ink: #122a20; --green: #1e573e; --line: #d9e4d8; background: #f4f6ee; }
.public .site-header {
  min-height: 72px;
  padding-inline: max(5vw, 19px);
  background: #f4f6ee;
}
.public .site-header .button { padding: .66rem .88rem; font-size: .83rem; }
.public .button { border-radius: 8px; }
.home-link { color: var(--green); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero {
  width: min(1170px, 92%);
  margin: clamp(20px,5vw,66px) auto 40px;
  padding: clamp(26px,6vw,84px);
  border-radius: 27px;
  background: radial-gradient(ellipse at 103% 5%, #38684a 0, transparent 57%), #122b20;
  color: #f5f8ec;
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  align-items: center;
  gap: clamp(25px,6vw,76px);
}
.kicker { font-size: .78rem; font-weight: 750; letter-spacing: .07em; display: flex; align-items: center; gap: 8px; }
.kicker span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero .kicker,.hero h1 em { color: #c9e7ab; }
.hero h1 { font-size: clamp(2.8rem,7.3vw,6.5rem); }
.intro-copy { color: #e0eade; max-width: 34ch; margin: 22px 0; }
.hero .button { background: #d7eeaa; border-color: #d7eeaa; color: #203b25; }
.hero .button:hover { background: #e7f6cd; }
.hero-panel { border: 1px solid #91ae96; border-radius: 18px; padding: clamp(17px,3vw,25px); background: #f5f8ef; color: var(--ink); }
.panel-time { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; gap: 8px; }
.panel-time > strong { font-size: clamp(2.2rem,5vw,4.45rem); line-height: 1; letter-spacing: -.075em; }
.panel-time > strong span { font-size: .38em; letter-spacing: 0; }
.panel-time > span { font-size: .83rem; color: var(--muted); text-align: right; }
.hero-panel ol { list-style: none; margin: 0; padding: 0; }
.hero-panel li { display: flex; gap: 11px; padding-top: 14px; }
.hero-panel li > span { color: var(--green); font-size: .74rem; font-weight: 750; margin-top: 3px; }
.hero-panel li strong { font-size: .93rem; }
.hero-panel li p { margin: 3px 0 0; font-size: .79rem; color: var(--muted); }
.reservation { width: min(850px, 92%); margin: 0 auto 48px; }
.page-heading { padding: clamp(24px,5vw,60px) 3px 15px; }
.page-heading h1 { font-size: clamp(2.5rem,6.2vw,5.4rem); }
.page-heading p { color: var(--muted); }
.page-heading .kicker { color: var(--green); }
.booking-card { border-radius: 20px; padding: clamp(15px,4vw,35px); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: clamp(16px,3vw,26px); }
.steps span { font-size: clamp(.69rem,2vw,.85rem); font-weight: 700; padding: 8px 5px; color: var(--muted); border-bottom: 2px solid var(--line); }
.steps [aria-current] { color: var(--green); border-color: var(--green); }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.calendar-heading h2 { margin: 0; }
#period { margin: 8px 0 12px; }
#period:empty,#chosen-day:empty { display: none; }
.day-strip { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: clamp(3px,1vw,9px); }
.day-choice { display: grid; justify-items: center; padding: 8px 0; min-width: 0; gap: 4px; background: #f8faf4; }
.day-choice strong { line-height: 1; font-size: 1.2rem; }
.day-choice span { font-size: clamp(.57rem,1.6vw,.72rem); text-transform: capitalize; }
.day-choice[aria-pressed=true], .day-choice[aria-pressed=true]:hover:not(:disabled) { background: var(--green); border-color: var(--green); color: white; }
.booking-card #chosen-day { margin: 19px 0 4px; }
.booking-card #slot-status { margin: 0 0 10px; }
.booking-card .slots { grid-template-columns: repeat(8,minmax(0,1fr)); }
.booking-card .slots button { min-height: 40px; background: #f6f9f3; border-color: #c2d4c2; }
.booking-card .slots button:hover { background: #e1eedc; border-color: var(--green); }
@media (max-width: 740px) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .booking-card .slots { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .day-choice { padding: 7px 0; }
  .day-choice strong { font-size: 1rem; }
  .booking-card .slots { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
