:root {
    --ink: #193632;
    --muted: #50635d;
    --paper: #f7f5ef;
    --surface: #fffefa;
    --line: #d8ded6;
    --green: #245e4c;
    --dark-green: #173d34;
    --coral: #a63e31;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-link-color-rgb: 36, 94, 76;
    --bs-link-hover-color-rgb: 23, 61, 52;
}

[hidden] { display: none !important; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #a63e31; outline-offset: 3px; }
.btn { min-height: 2.625rem; font-weight: 650; border-radius: .55rem; }
.btn-primary {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--dark-green);
    --bs-btn-hover-border-color: var(--dark-green);
    --bs-btn-active-bg: var(--dark-green);
    --bs-btn-active-border-color: var(--dark-green);
    --bs-btn-disabled-bg: var(--green);
    --bs-btn-disabled-border-color: var(--green);
}
.btn-outline-secondary {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: #91a39a;
    --bs-btn-hover-bg: #e1eae2;
    --bs-btn-hover-color: var(--ink);
    --bs-btn-hover-border-color: var(--green);
    --bs-btn-active-bg: #d8e6db;
    --bs-btn-active-color: var(--ink);
}
.site-wrap { max-width: 76rem; margin-inline: auto; padding-inline: clamp(.75rem, 3vw, 2.25rem); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner, .site-nav, .site-brand { display: flex; align-items: center; }
.site-header-inner { justify-content: space-between; min-height: 4.5rem; gap: .75rem; }
.site-brand { flex: 0 0 auto; gap: .65rem; color: var(--ink); text-decoration: none; font: 700 1.225rem/1 Georgia, serif; }
.site-brand small { display: block; font: 600 .72rem/1.4 var(--bs-font-sans-serif); }
.site-brand img { object-fit: contain; height: 2.4rem; width: auto; }
.site-nav { justify-content: end; gap: clamp(.5rem, 2vw, 1.4rem); flex-wrap: wrap; }
.site-nav > a { font-size: .9rem; font-weight: 650; }
.skip-link { position: absolute; z-index: 1040; background: #fff; padding: .5rem 1rem; }
.embedded-notice { padding: .75rem 1rem; margin-top: 1rem; background: #e3ece5; border-radius: .6rem; font-size: .9rem; }
.booking-hero {
    display: grid; grid-template-columns: .94fr 1.06fr; margin-block: 1.5rem 2.5rem;
    min-height: 20rem; border-radius: 1.25rem; overflow: hidden; background: var(--dark-green); color: #fffefa;
}
.hero-text { padding: clamp(1.6rem, 4vw, 3.25rem); }
.hero-text h1 { margin: .85rem 0; font: 500 clamp(2.4rem, 6.2vw, 4.8rem)/.97 Georgia, serif; letter-spacing: -.05em; }
.hero-text p { margin: 0 0 1.35rem; max-width: 29ch; color: #e6ede6; line-height: 1.55; }
.edshed-logo { display: block; width: 7.1rem; height: auto; }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 52%; }
.hero-action { --bs-btn-color: var(--dark-green); --bs-btn-bg: #f3dbbe; --bs-btn-border-color: #f3dbbe; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--dark-green); }
.hero-action span { padding-inline-start: .4rem; }
.booking-section { scroll-margin-top: 1rem; }
.section-heading h2, .contact-banner h2, .room-card h3, .modal-title { font-family: Georgia, serif; letter-spacing: -.02em; }
.section-heading h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: .3rem; }
.section-heading p { color: var(--muted); margin-bottom: 1.15rem; }
.schedule-toolbar { display: flex; align-items: end; gap: .7rem 1.1rem; flex-wrap: wrap; padding: .9rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.schedule-range { margin: 0 auto .45rem 0; font-size: 1.16rem; font-weight: 700; }
.schedule-nav { display: flex; flex-wrap: wrap; gap: .35rem; }
.schedule-jump label { display: block; font-size: .78rem; font-weight: 650; margin-bottom: .15rem; }
.schedule-jump .form-control { min-width: 0; }
.availability-legend { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; list-style: none; padding: 0; margin: .9rem 0; font-size: .85rem; font-weight: 650; }
.availability-legend li { display: flex; align-items: center; gap: .35rem; }
.state-dot { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: .3rem; }
.state-today { border: 2px solid currentColor; }
.state-available { background: #e5f1e8; color: #22563c; }
.state-enquire { background: #f7ead6; color: #735015; }
.state-unavailable { background: #f0f1ec; color: #505d52; }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.room-card { min-width: 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--surface); }
.room-photo { display: block; width: 100%; height: clamp(7rem, 14vw, 11.5rem); object-fit: cover; }
.room-card-body { padding: clamp(.5rem, 1.3vw, .95rem); }
.room-card h3 { margin: 0 0 .6rem; font-size: 1.7rem; }
.room-floor { color: var(--coral); margin: 0 0 .15rem; font-size: .78rem; font-weight: 700; }
.room-calendar { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: .16rem; }
.room-calendar th { color: var(--muted); text-align: center; padding: .18rem 0; font-size: .71rem; }
.room-calendar td { padding: 0; text-align: center; }
.calendar-day {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem;
    width: 100%; min-height: 3.15rem; min-width: 0; padding: .15rem 0; border-radius: .42rem; border: 1px solid transparent;
}
button.calendar-day:hover { border-color: currentColor; }
.calendar-day[aria-current] { border: 2px solid currentColor; }
.calendar-day[aria-current] .calendar-date { text-decoration: underline; text-underline-offset: .16rem; }
.calendar-date { font-size: .84rem; font-weight: 750; }
.calendar-state { font-size: .64rem; line-height: 1; font-weight: 600; }
.calendar-state b { font-size: .78rem; }
.contact-banner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-block: 2rem; padding: 1.35rem; border-radius: 1rem; background: #e8eee5; }
.contact-banner h2 { font-size: 1.45rem; }
.contact-banner p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; }
.site-footer { padding-block: 1rem 1.5rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.modal { --bs-modal-bg: var(--surface); --bs-modal-border-radius: 1rem; }
.modal-title { font-size: 1.45rem; }
.modal-subtitle, .enquiry-selection { color: var(--muted); font-weight: 650; }
.modal-body, .terms-copy { overflow-wrap: anywhere; }
.form-label { font-weight: 650; font-size: .9rem; }
.form-control, .form-select { background-color: #fff; min-height: 2.6rem; }
.booking-fields { margin: 0 0 1.2rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.booking-fields > legend, .booking-fields > summary, .terms-copy h2 { font-size: 1.12rem; font-weight: 700; }
summary { cursor: pointer; }
.catering-options { margin-block: .8rem; }
.catering-options legend { font-size: .95rem; }
.catering-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .2rem; }
.booking-estimate { padding: .8rem 1rem; background: #e8eee5; border-radius: .55rem; }
.booking-estimate dl > div { display: flex; gap: 1rem; justify-content: space-between; }
.booking-estimate dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.account-card { max-width: 32rem; margin: 2rem auto; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; }

@media (max-width: 57.99rem) {
    .room-grid { grid-template-columns: minmax(0, 1fr); }
    .room-photo { height: clamp(8rem, 27vw, 12rem); }
}
@media (max-width: 36rem) {
    .booking-hero { grid-template-columns: minmax(0, 1fr); margin-block: .9rem 1.6rem; }
    .hero-photo { height: 10rem; }
    .schedule-range { width: 100%; margin-bottom: 0; }
    .schedule-jump { max-width: 100%; }
    .calendar-state b { font-size: .84rem; }
}
@media (max-width: 27rem), (min-width: 58rem) and (max-width: 65rem) {
    .calendar-state span { display: none; }
}

.edshed-embedded {
    --bs-body-bg: #fff;
    display: flow-root;
}
.embed-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem .8rem;
    padding-block: .55rem;
    border-bottom: 1px solid var(--line);
    font-size: .875rem;
    font-weight: 650;
}
.embed-nav-actions { display: flex; flex-wrap: wrap; gap: .35rem .85rem; }
.edshed-embedded .booking-section { padding-top: .75rem; }
.edshed-embedded .section-heading h1 { font: 500 clamp(1.45rem, 3.4vw, 2rem) Georgia, serif; margin-bottom: .3rem; }
.edshed-embedded .section-heading p { margin-bottom: .7rem; }
.edshed-embedded .room-photo { display: none; }
.edshed-embedded .contact-banner {
    margin-block: .85rem;
    padding: .75rem 0 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.edshed-embedded .account-card { margin-block: .8rem; }
.edshed-embedded .modal {
    inset: var(--edshed-modal-top, 0px) 0 auto;
    height: var(--edshed-modal-height, 100dvh);
    overflow: hidden;
}

@media (max-width: 28rem) {
    .embed-nav { align-items: start; flex-direction: column; }
}

.booking-estimate dl > div[hidden] { display: none; }
.terms-copy { overflow-wrap: break-word; }
.terms-copy h3 { font-size: 1.18rem; margin-top: 1.25rem; }
.terms-copy h4 { font-size: 1rem; margin-top: .75rem; }
.terms-copy li + li { margin-top: .45rem; }
.terms-copy mark { background: #f7ead6; color: inherit; }
.terms-page { max-width: 52rem; }
#message_form { white-space: pre-line; }
