@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f3efed;
  --ink: #202522;
  --jade: #43816f;
  --jade-dark: #2e6554;
  --muted: #636963;
  --line: #cdcfc6;
  --surface: #fbf9f8;
  --error: #9c3429;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 4px;
}
p, h1, h2, h3 { margin-top: 0; }
main:focus { outline: none; }
.site-header, main, footer { width: min(100%, 940px); margin-inline: auto; padding-inline: 48px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { color: var(--jade-dark); font-size: 25px; letter-spacing: -2px; }
.brand-name { font-size: 32px; font-weight: 750; letter-spacing: -1.8px; line-height: 1; }
.brand-location { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; margin-top: 7px; }
main { flex: 1; padding-top: 58px; padding-bottom: 68px; }
.page-heading { max-width: 670px; }
.practice-tag { display: inline-block; border: 1px solid var(--jade); color: var(--jade-dark); padding: 5px 10px; border-radius: 3px; font-size: 12px; font-weight: 650; margin-bottom: 18px; }
h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 650; line-height: 1.1; letter-spacing: -1.8px; margin-bottom: 18px; }
h2 { font-size: 26px; font-weight: 600; letter-spacing: -.6px; line-height: 1.25; margin-bottom: 12px; }
.intro, .section-intro { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 650px; margin-bottom: 28px; }
.login-panel { max-width: 590px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 35px; }
.login-form { max-width: 460px; }
.field { min-width: 0; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); border: 1px solid #979f94; border-radius: 4px; background: var(--surface); }
.field select { padding-right: 32px; }
.field textarea { display: block; min-height: 104px; resize: vertical; line-height: 1.5; }
.field-help { font-size: 12px; line-height: 1.55; color: var(--muted); margin-block: 8px 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.party-field { max-width: 180px; }
.optional { font-weight: 400; color: var(--muted); }
.schedule-help { max-width: 680px; margin-block: 20px 24px; }
.notes-field { margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; border-radius: 4px; font-weight: 600; font-size: 15px; border: 1px solid var(--jade-dark); text-decoration: none; }
.primary { background: var(--jade-dark); color: white; }
.primary:hover { background: #244e42; }
.login-form .button { margin-top: 24px; }
.text-button, .text-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 8px 4px; white-space: nowrap; font-size: 14px; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.account-row p { font-size: 14px; margin: 0; line-height: 1.6; overflow-wrap: anywhere; min-width: 0; }
.booking-panel { max-width: 740px; }
.requests-panel { margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 0; }
.refresh-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; padding: 9px 13px; text-decoration: none; text-align: center; }
.refresh-link:hover { border-color: var(--jade-dark); }
.requests-panel .section-intro { margin-bottom: 0; }
.reservation { border-bottom: 1px solid var(--line); padding-block: 28px; }
.reservation-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.reservation h3 { font-size: 23px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 9px; overflow-wrap: anywhere; min-width: 0; }
.status { padding: 5px 9px; font-size: 12px; line-height: 1.5; border-radius: 3px; flex-shrink: 0; }
.status.pending { color: #735824; background: #eee6d3; }
.status.confirmed { color: var(--jade-dark); background: #e2e9e2; }
.status.declined { color: var(--error); background: #f5e5df; }
.reservation-details { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 18px; margin: 18px 0; }
.reservation-details div { min-width: 0; }
.reservation-details dt { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.reservation-details dd { font-size: 17px; font-weight: 550; margin: 0; overflow-wrap: anywhere; }
.contact, .notes { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; margin-bottom: 9px; }
.notes { white-space: pre-wrap; }
.field-label { color: var(--muted); font-size: 13px; font-weight: 400; margin-right: 8px; }
.reference { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; margin: 14px 0 0; }
.notice { font-size: 14px; line-height: 1.6; padding: 13px 16px; background: #e2e9e2; border-left: 3px solid var(--jade-dark); max-width: 740px; margin: 0 0 24px; overflow-wrap: anywhere; }
.notice.error { color: var(--error); background: #f5e5df; border-color: var(--error); }
.empty-state { font-size: 16px; line-height: 1.6; padding: 26px 0; color: var(--muted); margin: 0; max-width: 620px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 28px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.skip-link { position: absolute; left: 20px; top: -100px; background: var(--ink); color: white; padding: 12px; z-index: 5; }
.skip-link:focus { top: 12px; }

@media (max-width: 640px) {
  .site-header, main, footer { padding-inline: 22px; }
  .site-header { padding-top: 24px; gap: 12px; }
  .brand-mark { font-size: 21px; }
  .brand-name { font-size: 27px; }
  .brand { gap: 9px; }
  main { padding-top: 42px; padding-bottom: 45px; }
  h1 { letter-spacing: -1px; }
  h2 { font-size: 23px; }
  .field-grid { grid-template-columns: 1fr; gap: 22px; }
  .party-field { max-width: none; }
  .intro, .section-intro { font-size: 15px; }
  .account-row { align-items: flex-start; gap: 12px; }
  .account-row p { padding-top: 10px; }
  .section-heading { align-items: flex-start; }
  .refresh-link { flex-shrink: 0; }
  .reservation-top { flex-direction: column; gap: 0; }
  .reservation h3 { font-size: 21px; }
  .reservation-details { gap: 12px; }
  .reservation-details dd { font-size: 15px; }
  .requests-panel { margin-top: 42px; padding-top: 26px; }
  footer { flex-direction: column; gap: 5px; }
}
