:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #25312c;
  background: #f7f6f2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.page-content { padding: 42px 0 80px; }
.site-header { background: #26342e; color: white; }
.demo-banner { border-bottom: 1px solid #ead8ad; background: #fff4d9; color: #4b3d27; }
.demo-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.demo-banner-inner strong { display: block; margin-bottom: 2px; font-size: 13px; }
.demo-banner-inner span { display: block; font-size: 12px; line-height: 1.45; }
.demo-banner-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.demo-banner-actions a, .demo-banner-actions button { border: 0; padding: 0; background: transparent; color: #634319; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; color: #4b5a4e; font-size: 12px; line-height: 1.5; cursor: pointer; }
.demo-check input { width: 17px; height: 17px; margin: 0; accent-color: #a6573d; flex: none; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.brand-light { font-weight: 500; color: #cad8ce; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #b66c50; font: italic 24px Georgia, serif; }
.header-nav { display: flex; align-items: center; gap: 5px; overflow: auto; }
.header-nav a { padding: 9px 13px; border-radius: 10px; color: #dce7df; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-nav a:hover, .header-nav a[aria-current=page] { background: #405249; color: white; }
.eyebrow { margin: 0 0 10px; color: #a65e43; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-title { margin: 0 0 10px; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.055em; }
.page-intro { max-width: 660px; margin: 0; color: #68766c; line-height: 1.65; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.section-title { margin: 0 0 18px; font-size: 20px; letter-spacing: -.035em; }
.section-subtitle { margin: -10px 0 20px; color: #68766c; font-size: 14px; line-height: 1.6; }
.muted { color: #68766c; }
.small { font-size: 13px; }
.strong { font-weight: 800; }
.card { background: white; border: 1px solid #e6e8e1; border-radius: 18px; box-shadow: 0 10px 34px #28392f08; }
.card-pad { padding: 26px; }
.stack { display: grid; gap: 20px; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field-label { color: #37463d; font-size: 13px; font-weight: 800; }
.field-hint { color: #79877c; font-size: 12px; }
.input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #d8ddd5; border-radius: 10px; outline: none; background: white; color: #27362d; }
.input:focus { border-color: #a65e43; box-shadow: 0 0 0 3px #b66c5028; }
.input::placeholder { color: #9da9a0; }
.input-narrow { max-width: 210px; }
.input-readonly { background: #f8f9f5; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; background: #a6573d; color: white; text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: #8c432d; transform: translateY(-1px); }
.btn:focus-visible, .tab:focus-visible, .calendar-day:focus-visible { outline: 3px solid #bd8d72; outline-offset: 2px; }
.btn-secondary { border-color: #d8ddd5; background: white; color: #34443a; }
.btn-secondary:hover { background: #f3f5f0; }
.btn-dark { background: #34473b; }
.btn-dark:hover { background: #26392e; }
.btn-danger { border-color: #efcfca; background: white; color: #a53d36; }
.btn-danger:hover { background: #fff0ee; }
.btn-small { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.btn-icon { min-width: 42px; padding-inline: 12px; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.alert { margin-bottom: 18px; padding: 13px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.alert-success { background: #e7f2e9; color: #2d6045; }
.alert-error { background: #fcece9; color: #9d3d32; }
.note { padding: 14px 16px; border-radius: 12px; background: #f4f2ea; color: #5f6b60; font-size: 13px; line-height: 1.6; }
.note strong { color: #27372c; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 100px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.status-pending { background: #fff2db; color: #92621a; }
.status-confirmed { background: #e5f4e9; color: #28714b; }
.status-rejected, .status-cancelled { background: #f1f1ee; color: #68746c; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.booking-date, .booking-times { grid-column: 1; }
.booking-details { grid-column: 2; grid-row: 1 / span 2; }
.step-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.step-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #e8efe9; color: #476b54; font-size: 13px; font-weight: 800; }
.date-form { display: flex; align-items: end; gap: 10px; }
.date-form .field { width: 220px; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.slot-option { position: relative; display: block; }
.slot-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot-option span { display: grid; place-items: center; min-height: 44px; border: 1px solid #dfe4dc; border-radius: 10px; background: white; color: #34423b; font-size: 13px; font-weight: 800; transition: .15s; }
.slot-option:hover span { border-color: #bd8d72; background: #fdf8f4; }
.slot-option input:checked + span { border-color: #a6573d; background: #a6573d; color: white; }
.slot-option input:focus-visible + span { outline: 3px solid #bd8d72; outline-offset: 2px; }
.empty-state { padding: 30px; border: 1px dashed #d4d9d0; border-radius: 14px; color: #68756d; text-align: center; }
.submit-area { margin-top: 22px; padding-top: 20px; border-top: 1px solid #edf0eb; }
.submit-area .btn { width: 100%; }
.booking-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.meta-item { min-width: 150px; padding: 13px 16px; border: 1px solid #e5e8e1; border-radius: 12px; background: white; }
.meta-label { display: block; margin-bottom: 4px; color: #77847a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.meta-value { font-size: 16px; font-weight: 800; }
.status-hero { padding: 25px; border: 1px solid #e8e7e1; border-radius: 18px; background: white; }
.status-hero h2 { margin: 10px 0 5px; font-size: 22px; }
.status-hero p { margin: 0; color: #66736b; line-height: 1.65; }
.link-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid #eceee9; }
.link-box .input { font-size: 13px; }
.auth-card { max-width: 440px; margin: 70px auto; }
.auth-card .card-pad { padding: 32px; }

.admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.metric { padding: 18px 20px; border: 1px solid #e8e7e1; border-radius: 16px; background: white; }
.metric-value { font-size: 27px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.metric-label { margin-top: 7px; color: #758078; font-size: 12px; font-weight: 700; }
.metric-warm .metric-value { color: #a6573d; }
.calendar-panel { padding: 24px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calendar-heading { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.calendar-nav { display: flex; align-items: center; gap: 8px; }
.tabs { display: inline-flex; gap: 3px; padding: 4px; border-radius: 11px; background: #f1f2ed; }
.tab { padding: 9px 13px; border-radius: 8px; color: #68746b; text-decoration: none; font-size: 12px; font-weight: 800; }
.tab.active { background: white; color: #26352d; box-shadow: 0 2px 7px #26352d12; }
.calendar-weekdays, .month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { margin-top: 22px; border-bottom: 1px solid #e8ebe5; }
.calendar-weekdays span { padding: 9px 7px; color: #8a968a; text-align: center; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 800; }
.month-grid { border-left: 1px solid #edf0eb; }
.calendar-day { display: block; min-height: 117px; padding: 9px; overflow: hidden; border-right: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; background: white; text-decoration: none; }
.calendar-day:hover { background: #fbfaf7; }
.calendar-day.outside { background: #f9faf7; color: #aab1a7; }
.calendar-day.today { background: #faf7f0; }
.calendar-day-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.day-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; }
.calendar-day.today .day-number { background: #a6573d; color: white; }
.day-count { color: #8a948b; font-size: 10px; }
.calendar-event { display: block; margin-bottom: 4px; padding: 5px 7px; overflow: hidden; border-radius: 6px; background: #edf5ef; color: #35624b; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; }
.calendar-event.pending { background: #fff2db; color: #8d661d; }
.calendar-more { color: #728076; font-size: 10px; font-weight: 800; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.week-day { min-height: 280px; padding: 14px 10px; border: 1px solid #e8ebe5; border-radius: 12px; background: white; }
.week-day.today { border-color: #b96f55; background: #fffaf6; }
.week-day-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; text-decoration: none; }
.week-day-name { color: #7a857b; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.week-day-date { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.week-entry { display: block; margin: 6px 0; padding: 8px; border-radius: 8px; background: #edf5ef; color: #355f49; text-decoration: none; font-size: 11px; line-height: 1.35; }
.week-entry.pending { background: #fff2db; color: #85601e; }
.week-entry strong { display: block; font-size: 12px; }
.week-empty { color: #a0aaa0; font-size: 11px; }
.agenda-list { display: grid; gap: 11px; margin-top: 20px; }
.appointment { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 19px 20px; border: 1px solid #e8eae5; border-radius: 13px; background: white; }
.appointment-time { font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.appointment-time small { display: block; color: #8b968b; font-size: 11px; letter-spacing: 0; }
.appointment-name { margin-bottom: 5px; font-size: 15px; font-weight: 800; }
.appointment-meta { color: #748076; font-size: 12px; }
.appointment-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.appointment-actions { display: flex; grid-column: 2 / -1; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #f0f1ed; }
.appointment-actions form { margin: 0; }
.attention-list { display: grid; gap: 10px; }
.attention-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border: 1px solid #e8eae5; border-radius: 12px; background: white; font-size: 13px; }
.attention-item strong { font-weight: 800; }
.attention-item small { display: block; margin-top: 3px; color: #79867a; }
.admin-book { margin-top: 28px; }
.admin-book-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 12px; }
.settings-section { margin-top: 22px; }
.hours-row { display: grid; grid-template-columns: 115px 1fr 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0eb; }
.hours-row:first-child { border-top: 0; }
.day-label { font-size: 13px; font-weight: 800; }
.exception-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf0eb; }
.exception-row:last-child { border: 0; }
.inline-form { display: inline; }
.divider { margin: 24px 0; border: 0; border-top: 1px solid #edf0eb; }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-date, .booking-times, .booking-details { grid-column: 1; grid-row: auto; }
  .week-grid { grid-template-columns: repeat(7, minmax(145px, 1fr)); overflow-x: auto; }
  .admin-book-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-grid, .calendar-weekdays { min-width: 700px; }
  .calendar-scroll { overflow-x: auto; }
  .calendar-panel { padding: 18px; }
}
@media (max-width: 600px) {
  .demo-banner-inner { align-items: flex-start; flex-direction: column; }
  .demo-banner-actions { flex-wrap: wrap; }
  .shell { width: calc(100% - 28px); }
  .page-content { padding: 28px 0 60px; }
  .header-inner { min-height: 68px; }
  .header-inner { flex-wrap: wrap; gap: 2px; padding: 10px 0; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-nav { width: 100%; }
  .header-nav a { padding: 8px 9px; font-size: 12px; }
  .page-head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
  .page-head-actions { width: 100%; }
  .grid-two, .grid-three { grid-template-columns: 1fr; }
  .card-pad { padding: 20px; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .date-form .field { flex: 1; width: auto; }
  .date-form .btn { min-width: 120px; }
  .admin-summary { gap: 7px; }
  .metric { padding: 13px 10px; }
  .metric-value { font-size: 22px; }
  .metric-label { font-size: 10px; }
  .calendar-toolbar { align-items: flex-start; }
  .calendar-heading { font-size: 20px; }
  .tabs { width: 100%; justify-content: space-between; }
  .tabs .tab { flex: 1; text-align: center; }
  .appointment { grid-template-columns: 75px 1fr; gap: 10px; padding: 16px; }
  .appointment-time { font-size: 16px; }
  .appointment-status { grid-column: 2; grid-row: 2; align-items: flex-start; }
  .appointment-actions { grid-column: 1 / -1; }
  .admin-book-form { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 70px 1fr 1fr; gap: 7px; }
  .hours-row .input { padding: 8px 5px; font-size: 12px; }
}
