/* ==========================================================================
 * MSL STAY ESTIMATE — THE ENQUIRY PANEL
 * msl-estimate-widget.css · v2, 18 Sep 2026 (tree P9K) — namespaced, --msl-* tokens only.
 *
 * The enquiry form lives in a dialog: a full-screen sheet on phones, a drawer
 * from the right from 48em. The page's nav controls, the currency slot above
 * the tabs and the no-JavaScript fallback section are styled here too, since
 * this stylesheet loads on the SEO page only.
 * ========================================================================== */

/* ---------- the page ---------- */

/* Without JavaScript the form stays in this section after the tabs. */
.msl-enquiry-fallback { padding: var(--msl-space-md) var(--msl-space-sm); }
.msl-enquiry-fallback[hidden] { display: none !important; }

/* The rates page: a button under each camp's rates opens the panel with that camp ticked. */
.msl-rates-estimate { margin: var(--msl-space-sm) 0 0; }

/* The currency pill opens the accordion list on small screens. From 64em, where the
   accordions are tabs, it shares the tabs' row: flush right, centred on the tab titles,
   so the tabs keep their place. It scrolls with the page (David, 18 Sep: not pinned). */
.msl-currency-slot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.9rem;
    margin: 0 0 var(--msl-space-sm);
}
.msl-currency-slot:empty { display: none; }
.msl-currency-slot .msl-currency-toggle__disclaimer { order: -1; }
@media (min-width: 64em) {
    #msl-seo-tabs {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
    #msl-seo-tabs > .msl-currency-slot { grid-area: 1 / 2; margin: 0; }
    #msl-seo-tabs > .msl-currency-slot .msl-currency-toggle { margin: 0; } /* the converter's own bottom margin would make the row taller than the tabs */
    #msl-seo-tabs > .msl-seo-tabs__nav { grid-area: 1 / 1; }
    #msl-seo-tabs > .msl-seo-tabs__panels { grid-area: 2 / 1 / 3 / 3; }
}

/* The tab strip pins to the top while its panels scroll (from 64em, where the accordions are
   tabs). Pinned, the tabs centre so they clear the fixed logo and the nav button at the ends
   of the column; the strip takes the page ground so content does not show through. */
@media (min-width: 64em) {
    /* The tab box takes the blog's reading width, so the fixed logo no longer sits on the copy
       as it scrolls (David, 22 Sep). */
    #msl-seo-tabs { max-width: 920px; margin-inline: auto; }
    #msl-seo-tabs .msl-seo-tabs__nav {
        position: sticky;
        top: 0;
        z-index: 95; /* over the page and body::before's top fade (90), under the sidebars (100), the logo and nav button (150) and the drawer (200) */
        background: var(--msl-color-kalahari-mist-0); /* the page texture shows through until the strip pins */
        transition: background-color var(--msl-transition-duration-slow) var(--msl-transition-function),
                    padding var(--msl-transition-duration-slow) var(--msl-transition-function),
                    width var(--msl-transition-duration-slow) var(--msl-transition-function),
                    box-shadow var(--msl-transition-duration-slow) var(--msl-transition-function);
    }
    .msl-tabs-stuck { z-index: 95; } /* the isolated section, lifted over the top fade only while the strip is pinned */
    #msl-seo-tabs .msl-seo-tabs__nav.is-stuck {
        width: var(--msl-tabs-bar-w, 100%);   /* the whole tab box, over the currency slot's column */
        padding-block: 0.35rem;
        padding-inline-start: var(--msl-tabs-inset, 0px); /* centres the tabs; measured by the widget */
        background: var(--msl-color-kalahari-mist);
        box-shadow: 0 10px 22px -16px var(--msl-color-buffalo-hide-50);
    }
}

/* ---------- the currency pill: at the top of the Rates tab, and mirrored in the panel ---------- */

.msl-currency-home { padding: 0 0 var(--msl-space-sm); margin-bottom: var(--msl-space-sm); }
.msl-currency-mirror { margin: 0 0 var(--msl-space-md); padding-bottom: var(--msl-space-sm); }
.msl-currency-home, .msl-currency-mirror { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.msl-currency-home .msl-currency-toggle, .msl-currency-mirror .msl-currency-toggle { margin: 0 auto 0.35rem 0 !important; justify-self: start !important; justify-content: flex-start; }
.msl-currency-home .msl-currency-toggle__disclaimer, .msl-currency-mirror .msl-currency-toggle__disclaimer { justify-self: start !important; margin-left: 0 !important; text-align: left; }
.msl-estimate .msl-currency-toggle__disclaimer { font-size: var(--msl-est-help-size); font-weight: 300; color: var(--msl-color-river-clay); }
.msl-dates__hint { margin: 0.4rem 0 0; font-size: var(--msl-est-help-size); font-weight: 300; color: var(--msl-color-twilight-soil); }

/* ---------- the page's nav controls (template part msl-header-seo) ---------- */

/* The desktop button sits in the theme's Enquire wrapper, which lines it up with the logo
   and the menu; the button sizes to its own label rather than the theme's fixed width. */
.msl-nav__enquire-desktop .msl-nav__journey {
    display: inline-block;   /* the theme's button box, so it sits on the same line as the menu */
    line-height: normal;
    width: auto !important;
    white-space: nowrap;
}

.msl-nav__mobile-footer--enquiry {
    bottom: 0 !important; /* the theme floats its bar a little off the bottom; on this page it sits flush (David, 22 Sep) */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--msl-color-kalahari-mist);
    border-top: 1px solid var(--msl-color-elephant-dust);
    padding-inline: var(--msl-space-sm);
    gap: 0.75rem;
}
.msl-nav__mobile-footer--enquiry .msl-nav__journey--primary {
    flex: 0 1 auto;
    min-height: 44px;
    padding: 0.55rem 0.9rem 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
}
.msl-nav__estimate {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    text-decoration: none;
    color: var(--msl-color-buffalo-hide);
}
.msl-nav__estimate-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--msl-color-river-clay);
}
.msl-nav__estimate-total {
    font-family: var(--msl-font-heading);
    font-weight: 200;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--msl-color-twilight-soil);
    white-space: nowrap;
}
.msl-nav__estimate-total[hidden] { display: none; }
.msl-nav__estimate:focus-visible { outline: 2px solid var(--msl-color-wild-fig); outline-offset: 2px; }

/* ---------- the dialog ---------- */

.msl-estimate {
    position: fixed;
    inset: 0;
    z-index: 200;
    font-family: var(--msl-font-body);
    color: var(--msl-color-buffalo-hide);
}
.msl-estimate[hidden] { display: none !important; }
/* The page keeps scrolling behind the drawer, so the camps can be read while the panel is open
   (David, 22 Sep); only the phone sheet, which covers the page, locks it. */
@media (max-width: 47.99em) {
    html.msl-estimate-open, html.msl-estimate-open body { overflow: hidden; }
}

/* No scrim on this page (David, 18 and 22 Sep): the page stays live beside the drawer. */
.msl-estimate { pointer-events: none; }
.msl-estimate__panel, .msl-estimate-tab { pointer-events: auto; }
.msl-estimate__scrim { display: none; }

/* The drawer's width, shared with the tab that rides its edge: a third of the screen
   from 80em, never under 520px (David, 18 Sep). */
:root { --msl-est-drawer-w: min(616px, 100vw); }
@media (min-width: 80em) {
    :root { --msl-est-drawer-w: max(572px, calc(100vw / 3 * 1.1)); } /* a tenth wider (David, 22 Sep): 8% to the form, 1% each side */
}

/* Phones: a full-screen sheet rising from the bottom. */
.msl-estimate__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--msl-color-kalahari-mist);
    transform: translateY(100%);
    transition: transform var(--msl-transition-duration-fast) var(--msl-transition-function);
}
.msl-estimate.is-open .msl-estimate__panel { transform: none; }

/* From 48em: a drawer from the right, over the page. */
@media (min-width: 48em) {
    .msl-estimate__panel {
        left: auto;
        width: var(--msl-est-drawer-w);
        border-left: 1px solid var(--msl-color-acacia-bark);
        box-shadow: -12px 0 32px -14px var(--msl-color-buffalo-hide-50);
        transform: translateX(100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .msl-estimate__panel, .msl-estimate__scrim { transition: none !important; }
}

.msl-estimate__head {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap; /* the close button stays on the title's row, down to 320px */
    align-items: center;
    gap: 0.4rem 0.75rem;
    padding: 0.6rem var(--msl-space-sm) 0.6rem;
    border-bottom: 1px solid var(--msl-color-elephant-dust);
}
/* The panel's title and its section titles swap sizes (David, 18 Sep): the title takes the
   form's section-title treatment, and the sections take the title's old one. */
.msl-estimate__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--msl-font-heading);
    font-weight: 300;
    font-size: clamp(1.25rem, 5.2vw, 1.75rem);
    line-height: 1.3;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--msl-color-buffalo-hide);
}
.msl-estimate__title:focus { outline: none; }
.msl-estimate .gform_wrapper .gsection .gsection_title,
.msl-estimate .msl-rooms .msl-rooms__title,
.msl-estimate .msl-camps .msl-camps__title {
    margin: 0;
    font-family: var(--msl-font-heading);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--msl-color-buffalo-hide);
}
.msl-estimate .gform_wrapper .gsection { padding-bottom: 0.5rem; }
.msl-estimate__close {
    appearance: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--msl-color-river-clay);
    cursor: pointer;
}
.msl-estimate__close:hover, .msl-estimate__close:focus-visible { color: var(--msl-color-wild-fig); }

.msl-estimate__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--msl-space-sm);
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 48em) {
    .msl-estimate__head { padding: var(--msl-space-sm) calc(var(--msl-space-md) + 0.01 * var(--msl-est-drawer-w)); }
    .msl-estimate__body { padding: var(--msl-space-md) calc(var(--msl-space-md) + 0.01 * var(--msl-est-drawer-w)); }
}

/* ---------- the form inside the panel ---------- */

/* One size for every piece of help text in the panel, and nothing smaller anywhere in it:
   labels stay at the form's 14px/400; help, fine print, eyebrows and captions all take this
   (David, 22 Sep: "I don't want 12 anywhere on this page"). */
.msl-estimate { --msl-est-help-size: 0.8125rem; }
.msl-estimate .gform_wrapper .gfield_description,
.msl-estimate .gform_wrapper .gsection_description { font-size: var(--msl-est-help-size) !important; font-weight: 300; }

.msl-estimate--enhanced #field_5_16,
.msl-estimate--enhanced #field_5_11,
.msl-estimate--enhanced #field_5_30,
.msl-estimate--enhanced #field_5_18,
.msl-estimate--enhanced #field_5_17,
.msl-estimate--enhanced #field_5_19,
.msl-estimate--enhanced #field_5_27,
.msl-estimate--enhanced #field_5_23,
.msl-estimate--enhanced .gform_footer { display: none !important; }
.msl-estimate--enhanced #input_5_31 {
    position: absolute !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.msl-estimate--enhanced .msl-rooms,
.msl-estimate--enhanced .msl-camps { grid-column: 1 / -1; }
.msl-rooms[hidden], .msl-camps[hidden] { display: none !important; }

/* Steppers: − value + (the party fields and the room editor) */
.msl-stepper { display: inline-flex; align-items: center; gap: 0.5rem; }
.msl-stepper__btn {
    appearance: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--msl-color-acacia-bark);
    border-radius: 50%;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--msl-color-buffalo-hide);
    cursor: pointer;
}
.msl-stepper__btn:hover:not([disabled]), .msl-stepper__btn:focus-visible { border-color: var(--msl-color-wild-fig); color: var(--msl-color-wild-fig); }
.msl-stepper__btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.msl-stepper--field input { width: 4.5rem !important; text-align: center; }
.msl-stepper__value { min-width: 1.5rem; text-align: center; font-size: 1rem; }

/* One age picker per child, laid out across the width (David, 18 Sep: "more spacious"). */
.msl-ages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: var(--msl-space-sm);
    margin-top: 0.75rem;
}
.msl-ages:empty { display: none; }
.msl-age { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--msl-est-help-size); font-weight: 300; color: var(--msl-color-river-clay); }
.msl-age__select { min-height: 44px; width: 100%; }

/* ---------- rooms ---------- */

.msl-rooms { margin: 0.25rem 0 0.5rem; }
.msl-rooms__lead, .msl-rooms__fine, .msl-camps__lead, .msl-camps__fine {
    margin: 0.4rem 0 0;
    font-size: var(--msl-est-help-size);
    font-weight: 300;
    line-height: 1.45;
    color: var(--msl-color-river-clay);
}
.msl-rooms__list { margin: 0.6rem 0 0; padding: 0; list-style: none; }
.msl-room {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.2rem 1rem;
    padding: 0.55rem 0;
    border-top: 1px solid var(--msl-color-elephant-dust);
    font-size: 0.85rem;
}
.msl-room:last-child { border-bottom: 1px solid var(--msl-color-elephant-dust); }
.msl-room__name { font-size: var(--msl-est-help-size); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msl-color-river-clay); }
.msl-room__who { color: var(--msl-color-buffalo-hide); }
.msl-room--edit { display: block; padding: var(--msl-space-sm) 0; }
.msl-room__fields { margin: 0; padding: 0; border: 0; display: grid; gap: 1.4rem; } /* room for the two stepper rows on a phone (David, 22 Sep) */
.msl-room__fields legend { padding: 0; margin-bottom: 0.6rem; }
.msl-room__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.msl-estimate .msl-room__row + .msl-room__row { margin-top: 1.1rem; } /* Gravity Forms renders the fieldset as a block, so the grid gap above never applies (David, 22 Sep) */
.msl-estimate .msl-room__type + .msl-room__row { margin-top: 1rem; }
.msl-room__label { font-size: 0.875rem; }
.msl-room__type { display: flex; gap: 0.5rem; margin-bottom: 0.35rem; }
.msl-room__type-btn, .msl-camp__booking-btn {
    appearance: none;
    flex: 1 1 0;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--msl-color-acacia-bark);
    background: transparent;
    font-family: var(--msl-font-body);
    font-size: var(--msl-est-help-size);
    color: var(--msl-color-buffalo-hide);
    cursor: pointer;
}
.msl-room__type-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.msl-room__type-btn.is-active, .msl-camp__booking-btn.is-active {
    border-color: var(--msl-color-wild-fig);
    background: var(--msl-color-wild-fig);
    color: var(--msl-color-kalahari-mist);
}
.msl-room__remove, .msl-rooms__switch, .msl-rooms__add {
    appearance: none;
    justify-self: start;
    min-height: 44px;
    padding: 0.4rem 0;
    border: 0;
    background: transparent;
    font-family: var(--msl-font-body);
    font-size: var(--msl-est-help-size);
    color: var(--msl-color-wild-fig);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.msl-rooms__add { display: block; }
.msl-rooms__switch { margin-right: 1.25rem; }
.msl-rooms__notice {
    margin-top: 0.5rem;
    font-size: var(--msl-est-help-size);
    font-weight: 600;
    color: var(--msl-color-twilight-soil);
    background: color-mix(in srgb, var(--msl-color-sunset-ember) 22%, var(--msl-color-kalahari-mist)); /* the warning colour as ground: ember text alone is 2.6:1 on the mist, under AA at this size */
    border-left: 3px solid var(--msl-color-sunset-ember); /* the theme's warning accent, restated: the form's reset drops it */
    padding: 0.55rem 0.8rem;
}

/* ---------- camps ---------- */

.msl-camps { display: grid; gap: 0.75rem; margin: 0.25rem 0 0.75rem; }
.msl-camp {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--msl-color-elephant-dust);
    background: var(--msl-color-kalahari-mist);
    transition: border-color var(--msl-transition-duration-fast) var(--msl-transition-function);
}
.msl-camp.is-selected { border-color: var(--msl-color-wild-fig); box-shadow: inset 3px 0 0 var(--msl-color-wild-fig); }
.msl-camp.is-unavailable .msl-camp__figure { color: var(--msl-color-acacia-bark); }
.msl-camp__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    cursor: pointer;
}
.msl-camp__check { width: 20px; height: 20px; margin: 0; accent-color: var(--msl-color-wild-fig); }
.msl-camp__name { font-size: var(--msl-est-help-size); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--msl-color-buffalo-hide); }
.msl-camp__figure {
    font-family: var(--msl-font-heading);
    font-weight: 200;
    font-size: 1.15rem;
    color: var(--msl-color-twilight-soil);
    white-space: nowrap;
    text-align: right;
}
.msl-camp__line, .msl-camp__mode, .msl-camp__reason, .msl-camp__fine, .msl-camp__promo {
    margin: 0.35rem 0 0;
    font-size: var(--msl-est-help-size);
    font-weight: 300;
    line-height: 1.45;
    color: var(--msl-color-river-clay);
}
.msl-camp__mode { color: var(--msl-color-twilight-soil); font-weight: 600; }
.msl-camp__promo { color: var(--msl-color-wild-fig); font-weight: 600; }
.msl-camps__promo { margin: 0.6rem 0 0; font-size: var(--msl-est-help-size); }
.msl-camp__booking { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
/* A refused entry in the adults or children box. */
.msl-stepper__note { margin: 0.35rem 0 0; font-size: var(--msl-est-help-size); font-weight: 600; line-height: 1.35; color: var(--msl-color-twilight-soil); }
.msl-stepper__note[hidden] { display: none; }
.msl-camp__breakdown { margin-top: 0.5rem; }
.msl-camp__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0;
    font-size: var(--msl-est-help-size);
    color: var(--msl-color-buffalo-hide);
}
.msl-camp__row span:last-child { white-space: nowrap; text-align: right; }
.msl-camp__row--promo { color: var(--msl-color-wild-fig); font-weight: 600; }
.msl-camp__more { margin-top: 0.5rem; }
.msl-camp__more-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: var(--msl-est-help-size);
    color: var(--msl-color-wild-fig);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.msl-camp__more-copy { font-size: var(--msl-est-help-size); line-height: 1.5; color: var(--msl-color-buffalo-hide); }
.msl-camp__more-copy * { max-width: 100%; }
.msl-camp__more-copy hr { display: none; }
/* The departure calendar hangs from the field's right edge: opened from the right-hand column it
   ran past the drawer and widened it (David, 22 Sep). The two never open together. */
.msl-estimate #field_5_9 .gform-datepicker-calendar { left: auto !important; right: 0 !important; }
/* The Your Stay tab's icon list, as the theme lays it out on the page (two columns from 64em,
   each icon beside its label); inside the form, Gravity Forms' reset would stack them. */
.msl-estimate .msl-camp__more-copy .msl-seo-tab__icon-group {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.65rem 1rem;
    margin-block: var(--msl-space-sm);
}
@media (min-width: 64em) {
    .msl-estimate .msl-camp__more-copy .msl-seo-tab__icon-group { grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem; }
}
.msl-estimate .msl-camp__more-copy .msl-seo-tab__icon-item {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
}
.msl-estimate .msl-camp__more-copy .msl-seo-tab__icon-item .msl-typography--value-xs { margin: 0; font-size: var(--msl-est-help-size); line-height: 1.3; }

/* ---------- the pinned estimate ---------- */

.msl-estimate__foot {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem var(--msl-space-sm);
    padding: 0.65rem var(--msl-space-sm) calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--msl-color-acacia-bark);
    background: var(--msl-color-elephant-dust-50); /* a shade off the form's ground, with the theme's shadow texture over it (David, 22 Sep) */
    box-shadow: 0 -8px 20px -14px var(--msl-color-buffalo-hide-50);
}
@media (max-width: 47.99em) {
    .msl-estimate.is-typing .msl-estimate__foot { display: none; }
}
@media (min-width: 48em) {
    .msl-estimate__foot {
        column-gap: var(--msl-space-md);
        padding: var(--msl-space-sm) calc(var(--msl-space-md) + 0.01 * var(--msl-est-drawer-w)) calc(var(--msl-space-sm) + env(safe-area-inset-bottom, 0px));
    }
}
/* The figure block is the button's height before a party exists, so the eyebrow's top and the
   prompt's bottom line up with the button's edges (David, 22 Sep). */
.msl-estimate__foot-figure { display: flex; flex-direction: column; justify-content: space-between; row-gap: 0.1rem; min-height: 44px; min-width: 0; cursor: pointer; }
.msl-estimate__total[hidden] { display: none; }
.msl-estimate__eyebrow {
    font-size: var(--msl-est-help-size);
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--msl-color-river-clay);
}
.msl-estimate.is-loading .msl-estimate__foot .msl-estimate__eyebrow::after {
    content: " · updating";
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--msl-color-acacia-bark);
}
.msl-estimate__total {
    font-family: var(--msl-font-heading);
    font-weight: 200;
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--msl-color-twilight-soil);
}
.msl-estimate__sub { font-size: var(--msl-est-help-size); font-weight: 300; line-height: 1.25; color: var(--msl-color-river-clay); }
/* The child-rate assumption, beside the figure it changes. */
.msl-estimate__assume { display: block; margin-top: 0.15rem; font-size: var(--msl-est-help-size); font-weight: 600; line-height: 1.25; color: var(--msl-color-twilight-soil); }
.msl-estimate__assume[hidden] { display: none; }
@media (max-width: 47.99em) {
    .msl-estimate__total { font-size: 1.15rem; }
}
.msl-estimate__send-btn, .msl-confirm__send {
    appearance: none;
    min-height: 44px;
    padding: 0.6rem 1.1rem 0.55rem;
    border: 1px solid var(--msl-color-buffalo-hide);
    background: var(--msl-color-buffalo-hide);
    color: var(--msl-color-kalahari-mist);
    font-family: var(--msl-font-heading);
    font-size: 0.8rem;
    font-weight: 200;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--msl-transition-duration-fast) var(--msl-transition-function);
}
.msl-estimate__send-btn:hover, .msl-estimate__send-btn:focus-visible,
.msl-confirm__send:hover, .msl-confirm__send:focus-visible {
    color: var(--msl-color-sunset-ember);
    border-color: var(--msl-color-sunset-ember);
    box-shadow: 0 -5px 10px -5px var(--msl-color-sunset-ember), 0 5px 10px -5px var(--msl-color-sunset-ember);
}
.msl-confirm__send[disabled] { opacity: 0.5; cursor: progress; }
.msl-estimate__send-btn.is-incomplete { opacity: 0.4; filter: grayscale(1); }
.msl-estimate__send-btn.is-incomplete:hover, .msl-estimate__send-btn.is-incomplete:focus-visible { color: var(--msl-color-kalahari-mist); border-color: var(--msl-color-buffalo-hide); box-shadow: none; }
.msl-estimate__missing {
    grid-column: 1 / -1;
    margin: 0;
    font-size: var(--msl-est-help-size);
    color: var(--msl-color-twilight-soil);
}
.msl-estimate__missing[hidden] { display: none; }

/* ---------- still needed: one line under the estimate (David, 22 Sep) ---------- */

.msl-checklist {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    margin: 0.15rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid var(--msl-color-elephant-dust);
    font-size: var(--msl-est-help-size);
    font-weight: 300;
    color: var(--msl-color-river-clay);
}
.msl-checklist[hidden] { display: none; }
@media (max-width: 47.99em) { .msl-checklist { gap: 0.3rem 0.7rem; } } /* one line on a phone */
.msl-checklist__lead { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msl-color-river-clay); }
.msl-checklist__item {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
}
.msl-checklist__mark {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    border: 1px solid var(--msl-color-acacia-bark);
    border-radius: 50%;
    font-size: 0.75em;
    line-height: 1.2em;
    text-align: center;
    color: var(--msl-color-kalahari-mist);
}
.msl-checklist__item.is-done .msl-checklist__mark { border-color: var(--msl-color-wild-fig); background: var(--msl-color-wild-fig); }
.msl-checklist__item.is-done .msl-checklist__label { color: var(--msl-color-river-clay); text-decoration: line-through; text-decoration-color: var(--msl-color-acacia-bark); }
.msl-checklist__item.is-todo { cursor: pointer; color: var(--msl-color-buffalo-hide); }
.msl-checklist__item.is-todo .msl-checklist__label { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--msl-color-acacia-bark); }
.msl-checklist__item.is-todo:hover .msl-checklist__label, .msl-checklist__item.is-todo:focus-visible .msl-checklist__label { color: var(--msl-color-wild-fig); text-decoration-color: currentColor; }

/* ---------- a note card: the camps' lead and the estimate's exclusions ----------
   The theme's .msl-notice (3px left accent), so it reads as a note, not as a camp card. */

.msl-estimate .msl-note-card {
    padding: 0.65rem 0.9rem 0.75rem;
    border: 1px solid var(--msl-color-elephant-dust);
    border-left: 3px solid var(--msl-color-twilight-soil); /* the theme's .msl-notice--info accent, restated: the form's reset dropped it */
    border-radius: 4px;
    background: var(--msl-color-kalahari-mist);
    font-size: var(--msl-est-help-size);
}
.msl-estimate .msl-note-card > p { margin: 0; }
.msl-estimate .msl-note-card > p + p { margin-top: 0.4rem; }
.msl-estimate .msl-note-card strong { font-weight: 600; }

/* ---------- the confirmation step ---------- */

.msl-confirm {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: var(--msl-color-buffalo-hide-35);
}
.msl-confirm[hidden] { display: none; }
.msl-confirm__card {
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
    padding: var(--msl-space-sm) var(--msl-space-sm) calc(var(--msl-space-sm) + env(safe-area-inset-bottom, 0px));
    background: var(--msl-color-kalahari-mist);
    border-top: 1px solid var(--msl-color-acacia-bark);
}
@media (min-width: 48em) {
    .msl-confirm { align-items: center; padding: var(--msl-space-sm); }
    .msl-confirm__card { border: 1px solid var(--msl-color-acacia-bark); }
}
.msl-confirm__title {
    margin: 0 0 0.6rem;
    font-family: var(--msl-font-heading);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--msl-color-buffalo-hide);
}
.msl-confirm__list { margin: 0; padding: 0; list-style: none; }
.msl-confirm__list li {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-top: 1px solid var(--msl-color-elephant-dust);
    font-size: 0.875rem;
}
.msl-confirm__key { font-size: var(--msl-est-help-size); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msl-color-river-clay); padding-top: 0.15rem; }
.msl-confirm__fine { margin: 0.6rem 0 0; font-size: var(--msl-est-help-size); font-weight: 300; color: var(--msl-color-river-clay); }
.msl-confirm__actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 0.9rem; }
.msl-confirm__back {
    appearance: none;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--msl-color-acacia-bark);
    background: transparent;
    font-family: var(--msl-font-body);
    font-size: 0.8rem;
    color: var(--msl-color-buffalo-hide);
    cursor: pointer;
}

/* ---------- Gravity Forms' theme styles every button inside its wrapper ----------
   The panel's own controls opt out here, scoped to the panel, so the form's theme
   is untouched everywhere else. */
.msl-estimate .gform_wrapper .msl-stepper__btn {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid var(--msl-color-acacia-bark) !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--msl-color-buffalo-hide) !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}
.msl-estimate .gform_wrapper .msl-stepper__btn:hover:not([disabled]),
.msl-estimate .gform_wrapper .msl-stepper__btn:focus-visible {
    border-color: var(--msl-color-wild-fig) !important;
    color: var(--msl-color-wild-fig) !important;
}
.msl-estimate .gform_wrapper .msl-room__type-btn,
.msl-estimate .gform_wrapper .msl-camp__booking-btn {
    min-height: 44px !important;
    padding: 0.4rem 0.7rem !important;
    border: 1px solid var(--msl-color-acacia-bark) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--msl-color-buffalo-hide) !important;
    font-size: var(--msl-est-help-size) !important;
    font-weight: 400 !important;
}
.msl-estimate .gform_wrapper .msl-room__type-btn.is-active,
.msl-estimate .gform_wrapper .msl-camp__booking-btn.is-active {
    border-color: var(--msl-color-wild-fig) !important;
    background: var(--msl-color-wild-fig) !important;
    color: var(--msl-color-kalahari-mist) !important;
}
.msl-estimate .gform_wrapper .msl-room__remove,
.msl-estimate .gform_wrapper .msl-rooms__switch,
.msl-estimate .gform_wrapper .msl-rooms__add {
    min-height: 44px !important;
    padding: 0.4rem 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--msl-color-wild-fig) !important;
    font-size: var(--msl-est-help-size) !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.msl-estimate .gform_wrapper .msl-stepper--field input[type="number"] { -moz-appearance: textfield !important; appearance: textfield !important; }
.msl-estimate .gform_wrapper .msl-stepper--field input[type="number"]::-webkit-inner-spin-button,
.msl-estimate .gform_wrapper .msl-stepper--field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none !important; appearance: none !important; margin: 0; display: none; }
.msl-estimate .gform_wrapper .msl-rooms__add { display: block !important; }

/* ---------- touch and type floors inside the panel (mobile audit, 18 Sep) ---------- */

/* Inputs at 16px: iPhones zoom the page when a smaller input takes focus. */
.msl-estimate .gform_wrapper input:not([type="radio"]):not([type="checkbox"]),
.msl-estimate .gform_wrapper select,
.msl-estimate .gform_wrapper textarea { font-size: max(16px, 1rem) !important; }

/* 44px rows for the form's radio and checkbox choices, and for the ages and the counts. */
.msl-estimate .gform_wrapper .gchoice { display: flex !important; align-items: center; min-height: 44px; }
.msl-estimate .gform_wrapper .gchoice label { flex: 1; align-self: stretch; display: flex !important; align-items: center; }
.msl-estimate .gform_wrapper .msl-age__select,
.msl-estimate .gform_wrapper .msl-stepper--field input { min-height: 44px !important; }

/* A form field the panel has ruled out for this party (the honeymoon question). */
.msl-estimate .gform_wrapper .msl-est-off { display: none !important; }

/* ---------- the tab at the right edge (from 80em; the 11 Sep dock's tab) ---------- */

.msl-estimate-tab { display: none; }
@media (min-width: 80em) {
    .msl-estimate-tab {
        appearance: none;
        position: fixed;
        top: 50%;
        right: 0;
        z-index: 110; /* over the fixed sidebars (100), under the logo and the nav button (150) */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        min-width: 38px;
        min-height: 44px;
        padding: 1rem 0.55rem;
        font-family: var(--msl-font-body);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--msl-color-buffalo-hide);
        background: var(--msl-color-kalahari-mist);
        border: 1px solid var(--msl-color-acacia-bark);
        border-right: 0;
        border-radius: 10px 0 0 10px;
        box-shadow: -6px 0 18px -10px var(--msl-color-buffalo-hide-35);
        cursor: pointer;
        transform: translateY(-50%);
        /* Over the scrim at once when the panel opens; back under the nav layer only once
           it has slid home. */
        transition: transform var(--msl-transition-duration-fast) var(--msl-transition-function),
                    background var(--msl-transition-duration-fast) var(--msl-transition-function),
                    color var(--msl-transition-duration-fast) var(--msl-transition-function),
                    z-index 0s linear var(--msl-transition-duration-fast);
    }
    html.msl-estimate-open .msl-estimate-tab {
        z-index: 201;
        transform: translate(calc(-1 * var(--msl-est-drawer-w)), -50%);
        transition-delay: 0s;
    }
    .msl-estimate-tab__label { writing-mode: vertical-rl; text-orientation: mixed; }
    .msl-estimate-tab__chev {
        width: 9px;
        height: 9px;
        border-left: 1.5px solid currentColor;
        border-top: 1.5px solid currentColor;
        transform: rotate(-45deg) translateX(2px); /* points left: the panel comes from here */
        transition: transform var(--msl-transition-duration-fast) var(--msl-transition-function);
    }
    html.msl-estimate-open .msl-estimate-tab__chev { transform: rotate(135deg) translateX(2px); }
    .msl-estimate-tab:hover { color: var(--msl-color-wild-fig); }
    .msl-estimate-tab:focus-visible { outline: 2px solid var(--msl-color-wild-fig); outline-offset: -2px; }
    /* With an estimate on it, the tab takes the primary button's colours and hover. */
    .msl-estimate-tab.has-figure {
        background: var(--msl-color-buffalo-hide);
        color: var(--msl-color-kalahari-mist);
        border-color: var(--msl-color-buffalo-hide);
    }
    .msl-estimate-tab.has-figure:hover,
    .msl-estimate-tab.has-figure:focus-visible {
        color: var(--msl-color-sunset-ember);
        border-color: var(--msl-color-sunset-ember);
        box-shadow: 0 0 0 0.5px var(--msl-color-sunset-ember), 0 -5px 10px -5px var(--msl-color-sunset-ember), 0 5px 10px -5px var(--msl-color-sunset-ember);
    }
}
@media (prefers-reduced-motion: reduce) {
    .msl-estimate-tab, .msl-estimate-tab__chev { transition: none !important; }
}

/* ---------- /enquire/: the estimate inside the page's own form (form 1, 23 Oct) ----------
   No panel. The form keeps its place on the page inside a wrapper with the panel's classes, so
   the pieces above style it as they do in the panel; only what a panel gives them is restated. */

.msl-estimate.msl-estimate--inline {
    position: relative;
    inset: auto;
    z-index: auto;
    pointer-events: auto;
}
.msl-estimate--inline .msl-est-replaced { display: none !important; } /* the camp choice, the booking question and "Number of Rooms": set by the cards and the rooms */
.msl-estimate .gform_wrapper .msl-est-visually-hidden { /* the children's-ages box: the pickers write it, Gravity Forms sends it */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.msl-estimate--inline .msl-camps__title { margin-bottom: 0.25rem; }
/* The bar ends the form below 80em, where the theme's own phone bar holds the bottom of the screen;
   from 80em it stays at the bottom of the screen while the form is in view (proposal, spec of 23 Oct). */
.msl-estimate--inline .msl-estimate__foot {
    margin-top: var(--msl-space-md);
    /* The panel's ground, half elephant dust over the mist, mixed solid: here the page scrolls behind the bar. */
    background-color: color-mix(in srgb, var(--msl-color-elephant-dust) 50%, var(--msl-color-kalahari-mist));
}
@media (min-width: 80em) {
    .msl-estimate--inline .msl-estimate__foot {
        position: sticky;
        bottom: 0;
        z-index: 5;
        padding-inline: var(--msl-space-md);
    }
    html:has(.msl-estimate--inline) { scroll-padding-bottom: 10rem; } /* a field brought into view (tabbing, the still-needed row) clears the pinned bar */
}
.msl-estimate--inline .msl-confirm { position: fixed; z-index: 210; } /* over the page and its fixed bars, as over the panel */
@media (min-width: 48em) {
    .msl-estimate--inline .msl-confirm__card { max-width: var(--msl-est-drawer-w); } /* the panel's width, not the page's */
}
