:root {
  color-scheme: light;
  --ink: #23372d;
  --muted: #72796d;
  --line: #e0e4d8;
  --green: #38634b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f8f2;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
.page { max-width: 1280px; margin: auto; padding: 28px 40px 24px; }
.header, .brand, .week-heading, .week-nav, .day-heading, .slot-time { display: flex; align-items: center; }
.header, .week-heading { justify-content: space-between; gap: 20px; }
.brand { gap: 10px; font-size: 22px; font-weight: 750; text-decoration: none; }
.brand svg { color: var(--green); }
.add-link { font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.intro { padding: 64px 0 42px; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.05em; line-height: 1.1; font-weight: 650; margin: 0 0 20px; }
.intro > p:not(.eyebrow) { margin: 0 0 18px; font-size: 17px; color: var(--muted); }
.timezone { font-size: 12px; color: var(--muted); }
h2 { font-size: 23px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
h3 { margin: 0; font-size: 21px; font-weight: 600; }
.schedule { border: 1px solid var(--line); border-radius: 20px; background: #fffefa; overflow: hidden; }
.week-heading { padding: 26px; border-bottom: 1px solid var(--line); }
.week-nav { gap: 8px; }
.week-nav a { text-decoration: none; display: grid; place-items: center; min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; }
.week-nav .today-link { padding: 0 12px; font-size: 12px; }
.calendar-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { min-height: 130px; padding: 16px 10px; border-right: 1px solid var(--line); }
.day { border-bottom: 1px solid var(--line); }
.day:nth-child(7n) { border-right: 0; }
.day-heading a { text-decoration: none; }
.outside-month { background: #f7f8f2; color: var(--muted); }
.outside-month .slot, .outside-month .empty-day { display: none; }
.weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.weekdays span { padding: 12px 14px; font-size: 11px; color: var(--muted); }
.mobile-only { display: none; }
.day-heading { gap: 8px; margin: 0 4px 12px; }
.day-heading > .mobile-only { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.day-heading strong { font-size: 20px; font-weight: 550; }
.today-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: auto; }
.is-today { background: #f5f8ef; }
.slot { display: block; border: 1px solid #dce4d7; border-radius: 10px; background: #f0f4e9; padding: 12px 9px; margin-bottom: 10px; cursor: pointer; }
.slot:hover { border-color: var(--green); }
.slot:has(input:checked) { border-color: var(--green); outline: 1px solid var(--green); background: #e6efdf; }
.slot-time { gap: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.slot input { accent-color: var(--green); width: 14px; height: 14px; margin: 0; flex-shrink: 0; }
.duration { display: block; font-size: 10px; color: var(--muted); margin: 7px 0 18px; }
.participant-count { display: block; font-size: 10px; font-weight: 650; margin-bottom: 7px; }
.participants { display: grid; gap: 6px; font-size: 11px; overflow-wrap: anywhere; line-height: 1.45; }
.muted, .empty-day { color: var(--muted); }
.empty-day { font-size: 11px; margin: 0 4px; }
.is-past { background: #f5f5f0; color: var(--muted); cursor: default; }
.signup { background: #f3f4ec; border-top: 1px solid var(--line); padding: 26px; }
.signup-heading { margin-bottom: 20px; }
.signup-heading p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.form-row { display: flex; align-items: flex-start; gap: 14px; }
.field { flex: 1; min-width: 0; }
.field > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d8dfd1; border-radius: 9px; background: #fffefa; color: var(--ink); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--green); border-radius: 9px; background: var(--green); color: white; min-height: 46px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; }
.signup .button { margin-top: 23px; }
.button:hover { background: #294d39; }
.privacy { font-size: 11px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.new-session { display: grid; grid-template-columns: 1fr 1.8fr; gap: 40px; padding: 40px 4px; }
.new-session-heading > p:last-child { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.secondary { margin-top: 16px; color: var(--green); background: transparent; }
.secondary:hover { background: #e6efdf; }
.notice { background: #e6efdf; border: 1px solid #c8d8ba; border-radius: 10px; padding: 16px; font-size: 14px; }
.submission-error { background: #fcf0ec; border-color: #ecc8bc; color: #9b3c28; }
button:disabled { opacity: .6; cursor: wait; }
.errorlist { color: #9b3c28; list-style: none; margin: 10px 0; padding: 0; font-size: 13px; line-height: 1.5; }
.calendar-fieldset > .errorlist { padding: 0 26px; }
footer { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 12px; }
:focus-visible { outline: 3px solid #af8b54; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.signup .manage-button { margin-top: 14px; }
.own-bookings { padding: 30px 0; border-bottom: 1px solid var(--line); }
.own-bookings-list { display: grid; gap: 12px; margin-top: 20px; }
.own-booking { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; }
.own-booking h3 { font-size: 16px; }
.own-booking p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.own-booking .button { margin: 0; }
@media (max-width: 1050px) {
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
  .calendar-grid { grid-template-columns: 1fr; }
  .day { display: none; border-right: 0; min-height: 0; padding: 16px; }
  .day.is-in-week { display: block; }
  .outside-month .slot { display: block; }
  .outside-month .empty-day { display: block; }
  .slot-time { font-size: 15px; }
  .duration, .participant-count, .participants { font-size: 12px; }
  .form-row { flex-wrap: wrap; }
  .signup .button { gap: 12px; padding: 10px 14px; }
  .new-session { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .page { padding: 20px 16px; }
  .brand { font-size: 19px; }
  .add-link { font-size: 12px; }
  .intro { padding: 42px 0 28px; }
  .intro > p:not(.eyebrow) { font-size: 15px; line-height: 1.6; }
  .week-heading { padding: 20px 16px; flex-wrap: wrap; }
  h2 { font-size: 20px; }
  .week-nav { width: 100%; justify-content: space-between; }
  .calendar-grid { grid-template-columns: 1fr; overflow: visible; }
  .day { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 16px; }
  .day-heading { margin-bottom: 12px; }
  .slot-time { font-size: 15px; }
  .duration, .participant-count, .participants { font-size: 12px; }
  .duration { margin-bottom: 12px; }
  .signup { padding: 20px 16px; }
  .form-row { flex-direction: column; }
  .field { width: 100%; }
  .signup .button { margin-top: 0; width: 100%; }
  .new-session { padding-top: 30px; }
  .own-booking { align-items: flex-start; flex-direction: column; }
}
