/* ==========================================================================
   FOLDED IN FROM CSS/modal.css - session 27.
   Groups.aspx no longer links modal.css; these rules sat at sheet slot 11,
   above main.css (12) and group.css (13), so they lead this file to keep
   that order. Copied verbatim and UNFILTERED - no rule was judged dead.
   That was deliberate: a live selector scan cannot see state 2 (it once
   called 82 of 90 group.css rules dead when 8 were), and this sheet holds
   selectors generated at runtime by jQuery-UI .dialog() and Bootstrap
   (.ui-dialog-titlebar-close, .btn-close) that appear in no source file.
   Session 29 DISPROVED that for Groups - both are gone, see below.

   *** NO LONGER A VERBATIM COPY - session 28 pruned this block. ***
   Do not diff it against CSS/modal.css and read the differences as loss.
   Removed from here: the hotel-listing / .arrow block (21 selectors, dead
   since sessions 21-22 deleted the markup) and 11 de-merge fossils named
   for other pages (#IndividualRegistration / #GroupRegistration /
   #ExhibitorRegistration, #loginHintInd / #loginHintRLInd, .btnProceed,
   .fullWidth, .btnContainer, .form-group input[password],
   input#CheckInIndividuals / #CheckOutIndividuals). Each was cut only when
   EVERY token in its selector was absent from all seven Groups source
   files, and each was 0-diff, reverse-tested and swept at 15 widths.
   Session 29 cut 24 more in five cuts, all from this modal.css block:
   (1) the jQuery-UI dialog chrome - .ui-dialog-titlebar-close, its
   ::before, and .ui-dialog .ui-dialog-titlebar-close. No script Groups
   loads calls .dialog(), so the dialog widget never runs here.
   (2) .btn-close - Bootstrap never injects it, it is author markup and
   Groups.aspx has none.
   (3) the alternate-modal stack - .modal-wrapper, .modal-wrapper2,
   .modal2, .modalLPMessage and their .open descendants (12 rules). The
   only source hit was javascripts/Login.js, which Groups does not load.
   (4) .LogoEtc / .LogoEtcAfter and 3 media copies (5 rules) - the token
   lives only in Individual.aspx.
   (5) the six unscoped .modal redefinitions plus .modal .form-group and
   3 media copies (9 rules). .modal is a BOOTSTRAP primitive this sheet
   was redefining unscoped - CLAUDE.md bad pattern 3. Groups' real modal
   is .modalpopup / #modalpopupp; bare .modal matched 0 elements.
   All five were 0-diff, selector-asserted, reverse-tested and swept at
   15-17 widths, and cuts 1, 3 and 5 were re-run with the validation
   modal AND the datepicker open - also 0-diff, 0 matches.
   Session 30 cut 9 more, also from this modal.css block:
   (6) the concierge widget - .triangle, .triangle div,
   .concierge_background, .concierge-wrapper, .concierge-person-details
   and its _title, _email a / _phone a, their :hover, and _img. A
   ptGroups fossil: every one of those class tokens is absent from the
   whole repo outside CSS and docs. .concierge_background parsed to ZERO
   declarations - its body is entirely commented out - and .triangle div
   carries an invalid zright property. 0-diff, selector-asserted,
   reverse-tested, and a paired 15-width sweep that measured both CSS
   states inside one iframe load.
   See docs/groups-map.md 58.2 / 58.4 for session 28's evidence,
   59.1-59.5 for session 29's, 60.1 for session 30's, and 58.7 for
   what still stands here.
   modal.css itself was NOT touched.
   Keep pruning from here - a wrong call cannot reach Individual.
   Its @import of colors.css was NOT carried - cookies.css is linked last
   and already imports it, so that copy won the cascade before this move.
   Its url() paths are ../-relative (the count 15 is stale after the
   session 28-29 cuts) and modal.css lived in this same
   CSS/ directory, so none of them rebase.
   modal.css STAYS ON DISK - Individual.aspx still links it. Edit a rule
   here and decide whether Individual needs the same edit.
   ========================================================================== */

/* ponytail: dropped @import 'typography.css' — zero rules, both @font-face bodies commented out. */


/*ckodans edits*/
/* Title block: 24px, uppercase, even 8px gaps; the h1 keeps the brand blue (--primary-color-h1), the eyebrow and date are black. 24 is deliberately NOT an --fs token (colors.css says why), so these literals are intentional; Bootstrap's .fs-4 and .fs-3 on this markup are !important, so the two overrides here must be too. */
.additional-text-1 {
    width: 100%;
    max-width: 720px;
    min-height: 90px;
    height: auto;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--fs-16, 16px);
    text-align: center;
    text-transform: uppercase;
    color: #222;
    font-weight: 300;
    box-sizing: border-box;
}

    .additional-text-1 p {
        margin: 0;
        padding: 0;
    }

.additional-text-1-h1 {
    max-width: 570px;
    background-color: transparent;
    font-size: 24px !important;
    color: var(--primary-color-h1);
    font-family: var(--font-family);
    font-style: normal;
    font-display: swap;
    margin-top: 8px;
}

.additional-text-1 span {
    font-weight: 500;
}

.additional-text-2 {
    color: var(--black);
    font-family: var(--font-family);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 24px;
}

.additional-text-3 {
    color: var(--black);
    font-family: var(--font-family);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 24px;
}

.additional-text-3 {
    font-size: 24px !important;
   /* color: var(--primary-color-h1);*/
}

.form-group-label {
    font-size: var(--fs-14, 14px);
    line-height: 14px;
    text-align: left;
    color: #222;
    font-weight: 300;
}

.form-control {
    padding: 0px;
}
    .form-control:focus {
        border-radius: 3px;
        /* Bootstrap's blue focus border and ring, in the skin colour - the ring colors.css gives buttons. Twin in individual.css. */
        border-color: var(--primary-color-40);
        box-shadow: 0 0 0 .25rem var(--primary-color-40);
    }
    .form-control::placeholder {
        font-size: var(--fs-12, 12px);
        line-height: 14px;
        text-align: left;
        font-family: var(--font-family);
        color: var(--muted);
        font-weight: 300;
    }

/* The chosen day in every jQuery-UI datepicker on this page: the base theme paints
   .ui-state-active #007fff. jQuery-UI puts that class on the day's own anchor, so the
   selector names a.ui-state-active - (0,3,1) beats the theme's (0,2,0).
   Twin in individual.css - change one, decide about the other. */
.ui-datepicker .ui-datepicker-calendar a.ui-state-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}


/*ckodans edits*/

.head {
    width: 90%;
    height: 32px;
    padding: 12px 30px;
    overflow: hidden;
    background: #e2525c;
}

.content {
    padding: 10%;
}

.blur-it {
    -webkit-filter: blur(0.1px);
    filter: blur(0.1px);
}

.button {
    background: var(--secondary-color);
    border: 1px solid var(--black);
    /*    border-radius: 1000px;*/
    box-sizing: border-box;
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600 !important;
    /*    font-weight: 700;*/
    font-size: 1.1em;
    padding: 0.5em 1.6em;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 100%;
    border: 2px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    text-transform: uppercase;
    transition: color .2s ease-in-out,border-color .2s ease-in-out,background .2s ease-in-out, box-shadow 0.25s ease;
    border-radius: 6px;
}

    .button:hover {
        background: var(--secondary-color-60);
        border: 2px solid var(--secondary-color-60);
        /* background: var(--white);*/
        color: var(--black);
        border-color: var(--secondary-color-60);
        box-shadow: none;
        outline: 0;
        box-shadow: 0 4px 13px rgba(0,0,0,0.17);
    }

#checkboxGroup, #checkboxConsentGroup {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.borderred {
    background: #fde4e4 !important;
}

#DivLPMessage {
    width: 100%;
    min-height: 300px;
    top: 0px;
    left: 0px;
    background: white;
    font-size: var(--fs-14, 14px);
    font-family: var(--font-family);
    font-weight: 400;
    font-style: normal;
    color: #333;
}

    #DivLPMessage a {
        text-align: center;
        color: #333;
        text-decoration: none;
        border-radius: 30px;
    }

        #DivLPMessage a:hover {
            text-decoration: underline;
            color: var(--white) !important;
      
        }

.DivLPMessageMain {
    width: 100%;
    min-height: 320px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.DivLPMessageMainNote {
    font-size: 30px;
    padding: 40px;
    padding-top: 30px;
    box-sizing: border-box;
    vertical-align: middle;
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-family);
}

.DivLPMessageMain div {
    width: 50%;
}

.DivLPMessageMainTitle {
    font-family: var(--font-family);
    font-weight: normal;
}

.DivLPMessageMainLeft {
    max-width: 500px;
    min-height: 200px;
    max-height: 300px;
    padding: 50px;
    padding-bottom: 0px;
    box-sizing: border-box;
    vertical-align: middle;
    color: #333;
    border-right: 1px solid var(--primary-color);
}

    .DivLPMessageMainLeft span {
        text-transform: uppercase;
        font-weight: bold;
    }

.DivLPMessageMainRight {
    max-width: 500px;
    padding: 50px;
    padding-bottom: 0px;
    box-sizing: border-box;
    vertical-align: middle;
}

.DivLPMessageInsideRL {
    color: var(--white);
    font-weight: bold;
    background: white;
}

    .DivLPMessageInsideRL a {
        /* font-weight: bold;*/
        color: var(--white) !important;
        text-decoration: none;
        font-family: var(--font-family);
        font-size: var(--fs-16, 16px);
        border: 1px solid var(--primary-color);
        background-color: var(--primary-color);
        border-radius: 30px;
    }


        .DivLPMessageInsideRL a:hover {
            text-decoration: none !important;
        }

#loginHintRL {
    margin-top: 0px;
    font-weight: 400;
    padding-bottom: 10px;
    padding-top: 10px;
}

    #loginHintRL a {
        color: var(--white);
        text-decoration: none;
        font-weight: 700;
        font-size: var(--fs-14, 14px);
    }

/* 720, the same as the Individual copy at individual.css:575 - change one, decide about the
   other. It was 1100 for a TWO-COLUMN form (Contact Information | Group Details); that
   section is gone and the form is ONE column. The old cap never bound: #MainContentFormWrapper
   is shrink-to-fit and the title and button columns hold it at 720, so 1100, 720 and none
   all rendered the same at every width swept. 720 only binds if those two ever widen. */
.form-wrapper {
    max-width: 720px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 20px 0 10px 0;
    justify-content: space-between;
}

.form-wrapper-item {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    gap: 20px;
}
.form-wrapper-section {
    background: #fff;
    border:1px solid var(--light-grey);
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--shadow-soft);
    padding: 22px 26px;
    margin-bottom: 18px;
    width: 100%;
}
.stitle {
    font-size: var(--fs-16, 16px);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .stitle svg {
        width: 16px;
        height: 16px;
    }

.col {
    flex: 1;
    min-width: 0;
}

/* ponytail: deleted a `.field` rule and its `:focus-within` that sat here — every one of their
   declarations was re-declared by the second `.field` block further down this file, same
   specificity, so the later one won all six. Their border/radius never applied either: the later
   block's `var(--field-border)` / `var(--rc-field)` are invalid at computed-value time (see below),
   which unsets the property rather than falling back to this rule. `.field` computes to
   `border: 0px none` / `border-radius: 0` with or without this block. `.field label` below is NOT
   duplicated later and is live. */

    .field label {
        display: block;
        font-size: 11px;
        color: var(--black);
        font-weight: 500;
    }

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s,border-color .15s;
}

    .consent + .consent {
        margin-top: 12px;
    }

    .consent:hover {
        background: var(--tint-soft);
        border-color: var(--tint-line);
    }

    .consent input {
        width: 20px;
        height: 20px;
        margin: 1px 0 0;
        accent-color: var(--primary-color);
        flex-shrink: 0;
        cursor: pointer;
    }

    .consent span {
        font-size: var(--fs-16, 16px);
        color: var(--black);
    }

    .consent .req {
        color: darkred;
    }

a.privacy {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.required-note {
    font-size: var(--fs-12, 12px);
    color: darkred;
    margin: 16px 0 0;
}

    .btn:hover {
        background: var(--secondary-color);
    }

@media(max-width:560px) {
    .form-wrapper .row {
        flex-direction: column;
        gap: 14px;
    }
}
.form-wrapper-item-right-div {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 668px;
    gap: 20px;
}

.col {
    flex: 1;
    min-width: 0;
}

.form-wrapper-item-input-wrapper {
    
    display: flex;
    align-items: center;
    border: 1px solid var(--light-grey);
    border-radius: 12px;
    padding: 5px;
    /*box-shadow: 0 6px 18px rgba(0,0,0,0.18);*/
}

.field {
    position: relative;
    /* ponytail: dropped `border: 1px solid var(--field-border)` and `border-radius: var(--rc-field)`.
       Neither custom property is defined anywhere in CSS/, so both declarations were invalid at
       computed-value time and unset the property — `.field` has rendered with no border and no
       radius all along. The visible border and 12px radius come from the outer
       `.form-wrapper-item-input-wrapper`. Deleting them changes nothing computed, on any page. */
    background: #fff;
    padding: 9px 12px 8px 40px;
    transition: border-color .15s,box-shadow .15s;
}

    .field:focus-within {
        /*border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74,139,163,.12);*/
        border-color: transparent;
        box-shadow: none;
    }

    .field input, .field select {
        width: 100%;
        border: none;
        outline: none;
        font-size: 15px;
        color: var(--primary-color);
        background: transparent;
        padding: 1px 0 0;
        font-family: inherit;
    }

    .field .icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary-color);
        width: 18px;
        height: 18px;
    }

    .field select {
        appearance: none;
        color: var(--muted);
        cursor: pointer;
    }


.full-width {
    width: 100%;
}

.half-width {
    width: calc( 50% - 10px);
}

/* Scoped to .form-wrapper: unscoped, this overrode Bootstrap's .row on the page
   chrome (hero cards, "Need Help", footer) that Home/Groups/Individual share —
   width:100% cancelled the negative-gutter grid. Two earlier duplicate
   `.row { display:flex; gap:16px }` blocks were deleted; this rule superseded both. */
.form-wrapper .row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.column {
    display: flex;
    /*    flex-direction: column;
*/ gap: 20px;
}

.columnind {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.max-width-100 {
    max-width: 100%;
}

.justify-space-between {
    justify-content: space-between;
}

.form-dropdown {
    outline: none;
    border: none;
    height: 23px;
    color: var(--black);
    background: var(--white);
}

/* Style the default option (placeholder) */
.form-dropdown option[value=""][disabled] {
    color: grey; /* Placeholder color */
}

/* Change color back to normal when an option is selected */
.form-dropdown:not(:placeholder-shown) {
    color: var(--secondary-color);
   
}

.form-dropdown:placeholder-shown {
    color: var(--secondary-color);
}
/*.form-dropdown:valid {
    color: var(--secondary-color);
}*/
/*    .form-dropdown option[value=""]:not(:checked) {
        display: none;
    }*/
.form-wrapper-item-input-field-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    margin-left: 5px;
}

.form-wrapper-item-input-wrapper label {
    font-size: var(--fs-14, 14px);
}

.form-wrapper-item-input-field-wrapper input[type="text"]::placeholder, .form-wrapper-item-input-field-wrapper input[type="email"]::placeholder, .form-wrapper-item-input-field-wrapper select {
    padding: 0px;
    font-size: var(--fs-14, 14px);
    font-style: normal;
    font-weight: normal;
    color: var(--muted);
    font-family: var(--font-family);
}

/* Marketing's font spec puts the typed value in the Country select at 16 while the placeholders
   stay at 14, so select is overridden out of the shared list above rather than duplicated into a
   full rule of its own. Same selector, same specificity, later in the sheet. Twin: individual.css. */
.form-wrapper-item-input-field-wrapper select {
    font-size: var(--fs-16, 16px);
    color: var(--secondary-color);
}

/* "Select Country" is the select's placeholder, so at rest it should read like every other
   field's placeholder rather than like a value somebody chose. value="-1" is the sentinel row
   the Countries query already filters out (WHERE id > 0), so :checked on it IS the empty state -
   no class to toggle and nothing for JS to keep in step. Once a country is picked this stops
   matching and the rule above takes the field back. */
.form-wrapper-item-input-field-wrapper select:has(option[value="-1"]:checked) {
    font-size: var(--fs-14, 14px);
    color: var(--muted);
}

.form-wrapper-item-input-field-wrapper input[type="email"] {
    border: none;
}

.form-wrapper-item-input-field-radio {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-items: baseline;
    padding: 0;
}

input[type='radio'] {
    accent-color: var(--primary-color);
}

input[type="text"], input[type="email"] {
    padding: 0px;
    border: none;
    outline: none;
    flex-grow: 1;
    width: 100%;
    color: var(--secondary-color);
}

.border-line {
    margin: 10px 0;
    padding: 0;
    width: 900px;
    border-bottom: 1px solid var(--secondary-color);
}

.button-wrapper {
    width: 720px;
    height: auto;
    padding: 10px 0;
    flex-direction: column;
}

        .loginHint a {
            color: var(--primary-color);
            text-decoration: underline;
            font-weight: 600;
        }

            .loginHint a:hover {
                color: var(--secondary-color);
            }

.gmp {
    text-align: center;
}

.gmp-wrapper {
    /* background-color: var(--secondary-color);
    border-radius: 7px;
    border: 1px solid var(--dark-grey);
    height: 40px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    /*color: var(--white);*/
}

    .gmp-wrapper a {
        /*color: var(--white);*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
        height: 100%;
        font-weight: 400;
        text-decoration: none;
        font-size: 1.1rem;
        /*   font-family: 'PTSerif', serif !important;*/
        font-weight: 300;
        font-style: normal;
        font-display: swap;
        border-radius: 6px;
    }

        /*.gmp-wrapper a:hover {
            background-color: white !important;
            color: #04A6E2 !important;
            border: 2px solid #04A6E2;
        }*/

    @media (max-width: 560px) {
        .form-wrapper {
            flex-direction: column;
        }

        .button-wrapper, .border-line {
            min-width: 320px;
            max-width: 500px;
            width: 100%;
        }
    }

.form-control:disabled {
    background-color: #fff;
}
/* Mobile devices (portrait and landscape) */
@media (max-width: 767px) {
    .form-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 360px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .form-wrapper-item {
        align-items: center;
    }

    .form-wrapper .row {
        flex-direction: column;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        /*align-items: flex-start;*/
    }
    .button-wrapper, .border-line {
        width: 350px;
    }

    .form-wrapper-item-input-wrapper {
        width: 350px;
    }

    input[type="text"], input[type="email"] {
        width: 95%;
    }

    /*New cookie*/
    body .termsfeed-com---nb .cc-nb-main-container {
        padding-top: 0em !important;
    }

    body .termsfeed-com---nb .cc-nb-text {
        margin-bottom: 0.5rem !important;
    }

    body .termsfeed-com---nb-simple {
        right: 0px !important;
    }

    /* ponytail: same shape as bug #29 — a fixed width with no max-width companion. The rules above
       hand these blocks hard pixel widths (.form-wrapper-item-input-wrapper 350px,
       .button-wrapper/.border-line 350px, .form-wrapper 360px) and
       :1389 gives three of them a min-width: 320px FLOOR. At a 320px viewport the client width is
       305px, so the floor alone is already wider than the page. Result: 45/25/5px of horizontal
       scroll at 320/360/400, fields bleeding past the card's white background, and a clipped
       dropdown chevron on "Most Important to You".

       One cap instead of editing five widths, because the widths are the intended sizes — they
       just needed a ceiling. max-width wins over width (even !important width), so nothing here
       needs !important of its own. min-width: 0 is what actually kills the :1389 floor.

       Groups h-scroll 45/25/5 -> 0/0/0 at 320/360/400, unchanged 0 from 480 up. Elements whose
       own content overflowed: 12 -> 2 at 320px, 7 -> 1 at 560px. modal.css is shared, so both
       other pages were swept too: Home unaffected at every width, Individual improved (8 -> 0 at
       360) and never worse. Its 30px at 320 and 68px at 768 are different culprits, still open. */
    .form-wrapper-item-input-wrapper,
    .button-wrapper, .border-line,
    .form-wrapper-section, .main-content-form-wrapper,
    .form-wrapper, .additional-text-1 {
        max-width: 100%;
        min-width: 0;
    }

    /* ponytail: fallout from the cap above, at 320px only. Once the boxes stop hanging off the
       page they are honestly narrow, and "Select preferred hotel" then runs under the native
       chevron that group.css restored with appearance: auto. The shared placeholder/select rule
       above sets padding: 0 on these selects; this rule wins on later source order at equal
       specificity. Reserves 18px for the marker and lets the text ellipsis instead of colliding.
       1 of 3 selects overflowing -> 0 at 320px; no change at 360/480/767, no h-scroll effect. */
    .form-wrapper-item-input-field-wrapper select {
        padding-right: 18px;
        text-overflow: ellipsis;
    }
}
/* Tablet devices */
@media (min-width: 768px) and (max-width: 991px) {
    .form-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .button-wrapper, .border-line {
        width: 520px;
    }

    .form-wrapper .row {
        margin-left: auto;
        margin-right: auto;
    }
}

#waitImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

/* Brand spinner, replacing loader.gif on Home and Groups. Bootstrap 5 supplies the animation
   and the geometry; this only sets the colour it draws in — .spinner-border borders are
   currentColor — and thickens the ring, which at the 100px above would otherwise be a 4px
   hairline. The rule is scoped to .spinner-border so Individual.aspx, which links this sheet
   and still appends an <img>, is not affected. */
#waitImage.spinner-border {
    color: var(--primary-color);
    --bs-spinner-border-width: 8px;
    --bs-spinner-animation-speed: 0.9s;
    /* #waitImage above centres with transform: translate(-50%, -50%), and Bootstrap's spinner
       animates that same property: @keyframes spinner-border { to { transform: rotate(360deg) } }.
       rotate(360deg) decomposes to the identity matrix, so the browser interpolates
       translate(-50%, -50%) -> none and the ring slides back toward the corner instead of
       turning, then jumps and repeats. Centring by negative margin — half of the 100px set
       above — leaves transform free for the rotation. */
    transform: none;
    margin: -50px 0 0 -50px;
}

/* ===== end of folded modal.css ===== */

/* ==========================================================================
   FOLDED IN FROM CSS/main.css — session 27.
   Groups.aspx no longer links main.css; these rules sat at sheet slot 12,
   immediately above group.css at slot 13, so they keep that order by living
   at the TOP of this file. Copied verbatim, comments and all; nothing was
   filtered, so state-2-only rules came across too.

   *** NO LONGER A VERBATIM COPY - session 28 pruned this block. ***
   Removed: the three footer rules (footer.container-fluid, the shared
   border-top pair, and the copyright margin-bottom). They were byte-for-byte
   duplicates of group.css's own copies further down this file, which sit
   LATER and therefore already won the cascade - structurally shadowed, the
   one class of dead rule with no false positives. The surviving copies carry
   the accurate 45.8 provenance comment. main.css itself was NOT touched.
   Note main.css's own copy of that comment still claims "this file is linked
   by all three pages" - false since session 27 made it Individual-only.
   Fix it when Individual is unparked. See docs/groups-map.md 58.3.
   Its @import url('colors.css') was NOT carried: colors.css still arrives
   via cookies.css, which Groups links last, and that copy already won the
   cascade before this move. Every url() here is ../-relative and main.css
   lived in this same CSS/ directory, so none of them rebase.
   main.css STAYS ON DISK — Individual.aspx still links it. Change a rule
   here and check whether Individual needs the same edit.
   ========================================================================== */

/* ponytail: dropped @import 'typography.css' — that file was two @font-face blocks with both bodies
   fully commented out (kallisto, canada-type-gibson). Zero rules, zero declarations. */

/* Inherited comment from main.css, corrected in place for its new home (session 27):
   main.css is now linked by Individual.aspx ONLY — Groups reads the copy below instead, and Home was
   unlinked in session 24 when it got CSS/home.css. home.css carries its own copy of the chrome and
   utility rules below, plus the Home-only layout that used to sit in main.css (.hero-section and its
   breakpoints, .row > #firstToggle, the two tab-pane li rules, .right-content a) — those matched zero
   elements on Groups and Individual and are in neither this file nor main.css.
   So these rules now exist in THREE places: here (Groups), main.css (Individual), home.css (Home).
   Change one, decide about the other two. */

/* ponytail: removed 11 never-applied utility classes — bg-dark-green, background-border-1-secondary,
   background-color-primary-10/40/60/100, background-color-secondary-40/60/100, bg-primary-color,
   bg-secondary-color — plus the .bg-primary-color descendant rules stranded in the media queries
   below, and a verbatim duplicate of .padding-100. None of these tokens appear anywhere in the repo
   outside CSS/. (.background-additional-services was kept here until session 38, when the state-2
   cards redesign removed its last consumer; .background-color-secondary-10 went in session 32, when
   a per-file grep showed its only consumer is Individual.aspx, which does not link this sheet.) */

.padding-100 {
    padding-left: 100px !important;
    padding-right: 100px !important;
}
.background-color-footer-100 {
    background-color: var(--footer-background-color);
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-color)!important;
}
#MainContentPage1{
    display:flex;
    align-items:center;
    justify-content:center;
}

/* The footer row is full-bleed and holds its .container-fluid *inside* itself rather than sitting in
   one, so nothing supplies the padding that normally absorbs Bootstrap's negative gutters. The markup
   carries .ms-0, which zeroes the left gutter only — the right one was left dangling at -12px, making
   the row 12px wider than the viewport and putting a horizontal scrollbar on every page.
   It was masked until session 10: modal.css's unscoped .row set an explicit width: 100%, which pinned
   the box regardless of the negative margin. Scoping that rule to .form-wrapper .row (§24.5) let the
   width go back to auto, and auto width + a negative right margin = parent + 12px.
   Scoped to the footer's own row so form rows, which are width: 100% and rely on their gutters, are
   untouched. */
footer > .row {
    margin-right: 0;
}

footer p a {
    color: var(--white);
    text-decoration: none;
}

    footer p a:hover {
        text-decoration: underline;
    }

@media (max-width: 560px) {
    .padding-100 {
        padding-left: 30px!important;
        padding-right: 30px!important;
    }
}

/* ===== end of folded main.css — group.css's own rules follow ===== */

/* ponytail: moved from CSS/GenericPlanningToolsGroups.css, which Groups.aspx linked at sheet
   index 0 - ahead of everything else, including the Bootstrap CDN. Nothing else in the repo
   linked that file, so Groups no longer requests it; the file is left on disk as an orphan.
   The <link> carried no media attribute, so no @media wrapper here.

   Position matters twice over. This block sits ABOVE the AdditionalServicesInfo block below,
   which came from sheet index 1 - the original order between the two sheets is preserved. And
   it must stay above the second .page-wrapper rule further down this file, which sets
   overflow-y: hidden and has always won by order; appended at the end instead, the
   overflow-y: scroll here would newly beat it.

   One rule did not come across: .Banner { height: 38px !important }. Nothing on Groups.aspx
   carries that class - not in the markup in either state, not added by javascripts/groups.js
   or Groups.aspx.cs. Dead, so dropped instead of moved. With it out, swapping this block for
   the sheet measured 0 diffs over 552 elements in state 1, and 0 over an .Okvir > .Wrap
   subtree built in place to stand in for state 2.

   The first four rules were themselves rescued in an earlier pass from GenericPlanningTools.css
   - the only 4 of its 137 that Groups matched. That file is unchanged and still used by
   Individual.aspx. */

/* ponytail: .Body { margin: 0; padding: 0 } deleted — Bootstrap's reboot already zeroes the body
   margin and padding is 0 by default. Removing it changed nothing on 552 elements in state 1 or
   over the whole state-2 page. */

/* ponytail: this rule shipped 11 declarations and 8 of them did nothing. Groups.aspx carried
   style="position: unset" on the one element that uses it, which killed `position: fixed`; with the
   element static, `top`, `left` and `z-index` have nothing to act on. `overflow-y: scroll` loses to
   this file's own .page-wrapper further down, which sets hidden. `width: 100%` and `height: 100%`
   compute identically without the rule (block-level div). `background-size: cover` has no
   background-image to size. The three left are the ones that were measurably doing work.
   The inline position: unset went with them — it only existed to defuse position: fixed, and
   removing either one alone breaks the page (inline alone measured 248 diffs). */
.page-wrapper {
    background-color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.Okvir {
    position: abtsolute; /* ponytail: typo in the original, invalid -> no effect. Left as-is to keep behaviour identical. */
    z-index: 100000;
    width: 100%;
    height: auto;
    background: var(--white);
    margin-left: auto;
    margin-right: auto;
    background-color: #f4f4f4;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

/* ponytail: .Wrap { width: 100%; height: auto; margin-left/right: auto } deleted — every one of
   those four is already the default for a block-level div. Measured inert over the whole state-2
   page, alone and together with the other three shadowed rules. */

/* ---- Groups-specific overrides, original content of GenericPlanningToolsGroups.css ---- */

.Okvir {

    background-color: var(--white);
    box-shadow: none;
}

/* ---- end of the block moved from GenericPlanningToolsGroups.css ---- */

.page-wrapper {
    overflow-y:hidden;
}
#MainContentFormWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ponytail: deleted .button-wrapper-half (5 rules, here + 4 breakpoint copies) and .gmpThankYouPage
   (3 rules). Neither token appears in any .aspx/.js/.cs repo-wide, and group.css is linked by
   Groups.aspx alone. The DivLPMessage* rules around them look equally dead in a live scan but are
   state-2 markup — do not cut those. */
/* ponytail: two colour rules deleted here — .DivLPMessageMainRightPhone { color: var(--black)
   !important } and .DivLPMessageMainRight a { color: var(--white) !important }. Every element they
   matched also matches the more specific rule below, which is likewise !important and therefore
   always won; the one anchor that is not a phone link is the .btn-primary portal button, which
   takes its colour from .btn-primary. Removing both changed nothing over the whole state-2 page. */
/*contact email and phone*/
    .DivLPMessageMainRight a.DivLPMessageMainRightPhone {
        color: var(--secondary-color) !important;
    }
/*    portal link*/
.DivLPMessageInsideRL a {
    color: var(--white);
    padding: 14px 24px 14px 24px;
}
  .DivLPMessageInsideRL a:hover {
        color: var(--white) ;
}

.DivLPMessageInsideRL {
    width: 100% !important;
}

@media (min-width: 992px) {

    /* ponytail: deleted .DivLPMessageInsideRL a with font-size: 15px here. Both anchors it can
       match sit inside #DivLPMessage, so #DivLPMessage .DivLPMessageInsideRL a (1,1,1) beat it
       everywhere with 14px. Measured 14px at 9 widths 320-1440, cut and uncut, 0 diffs. */

    .DivLPMessageInsideRL {
        font-size: 15px;
    }

    .margin-top-30 {
        margin-top: 30px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .DivLPMessageMainNote {
        padding-bottom: 10px;
    }

    .DivLPMessageMain {
        flex-direction: column;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        min-height: 500px;
        align-items: center;
    }

        .DivLPMessageMain div {
            width: 100%;
            align-items: center;
            text-align: center;
            padding: 0px;
            padding-top: 20px;
        }

    .DivLPMessageMainLeft, .DivLPMessageMainRight {
        width: 100%;
        border-right: none;
        min-height: 320px;
        max-width: 570px;
    }

    .DivLPMessageInsideRL {
        width: 100%;
        font-size: var(--fs-12, 12px);
    }

}

@media (min-width: 577px) and (max-width: 765px) {
    .DivLPMessageMainNote {
        padding-bottom: 10px;
    }

    .DivLPMessageMain {
        flex-direction: column;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        min-height: 500px;
        align-items: center;
    }

        .DivLPMessageMain div {
            width: 100%;
            align-items: center;
            text-align: center;
            padding: 0px;
            padding-top: 20px;
        }

    .DivLPMessageMainLeft, .DivLPMessageMainRight {
        width: 100%;
        border-right: none;
        min-height: 320px;
        max-width: 570px;
    }

    .DivLPMessageInsideRL {
        width: 100%;
        font-size: var(--fs-12, 12px);
    }

}

@media (max-width: 576px) {
    #MainContentPage {
        padding: 0px;
    }

    #additionalservicesnew {
        padding: 0px;
    }

    .DivLPMessageMainNote {
        padding-bottom: 10px;
    }

    .DivLPMessageMain {
        flex-direction: column;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        min-height: 500px;
        align-items: center;
    }

        .DivLPMessageMain div {
            width: 100%;
            align-items: center;
            text-align: center;
            padding: 0px;
            padding-top: 20px;
        }

    .DivLPMessageMainLeft, .DivLPMessageMainRight {
        width: 100%;
        border-right: none;
        min-height: 320px;
        max-width: 570px;
    }

    .DivLPMessageInsideRL {
        width: 100%;
        font-size: var(--fs-12, 12px);
    }

}

/* Submit and Login are the same control in two colours, so they get the same box. The Login link
   picks up .gmp-wrapper a from modal.css, which sets flex-direction: column — that dropped the
   ::after ">" onto a line of its own and made the button 10px taller than Submit — and width: 50%
   of a 720px wrapper, against Submit's 50% of a 900px one. modal.css is shared with Home and
   Individual, so the correction lives here, in the sheet only Groups.aspx links.
   Height is left to padding + line-height rather than pinned, so the two stay matched if the type
   size ever changes.
   Both take .btnProceed's footprint (modal.css:1008) — full width of the 720px form column — but
   their type tokens are Home's, not Individual's: 6px radius, 14px, 1.4px letter-spacing, matching
   the .btn rules every other button on Home and Groups already uses. A form submit that spans its
   column is a different control from an inline CTA, so the width stays; only the surface detail is
   shared, which is what makes the two pages read as one system. Individual.aspx was brought to the
   same three values in .btnProceed (modal.css:1003), so all three pages now agree; these values are
   duplicated rather than shared because the Groups buttons are not .btnProceed — they are
   .btn-primary/.btn-secondary reached by id. Change one, change the other.
   .btn-primary and .btn-secondary still supply the two colours and the ::after arrow, so only the
   box is set here.
   Height is still left to padding + line-height rather than pinned, so the two stay matched to each
   other if the type size ever changes again. The 14px type makes them 53px rather than 55px. */
/* #loginHintRL a in modal.css is an id selector, so a class-only rule here loses to its 14px. */
#btnGroup,
#loginHintRL a.btn-secondary {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 16px;
    border-radius: var(--button-radius, 6px);
    border: 1px solid transparent;
    font-size: var(--fs-16, 16px);
    letter-spacing: 1.4px;
    margin-right: 0;
}

/* Login is the OUTLINE button: white, --secondary-color text and border, --primary-color on hover
   (AAN ticket AAN27-31). #btnGroup keeps the filled pair from colors.css .btn-primary. Both carry
   a 1px border - transparent on #btnGroup - so the two stay the same height. No hover shadow on
   Login (business request): this cancels colors.css .btn-secondary:hover's; #btnGroup keeps its. */
#loginHintRL a.btn-secondary {
    color: var(--secondary-color);
    background-color: var(--white);
    border-color: var(--secondary-color);
}
    #loginHintRL a.btn-secondary:hover {
        color: var(--primary-color);
        background-color: var(--white);
        border-color: var(--primary-color);
        box-shadow: none;
    }

/* .border-line carries a literal width: 900px (modal.css:1270), left from the old 900px button
   column. The stack is 720px since the card layout, so the divider overhangs the buttons by 180px.
   Its three breakpoint rules (modal.css:1389/1478/1559) already re-set it next to .button-wrapper,
   so only the desktop base rule is stale — and width: auto is what all four were reaching for:
   #loginHintRL is an unpadded block inside #divGMP.button-wrapper, so the line tracks the button
   width at every size on its own. This is an id selector, so it also wins inside those media
   queries; that is intended, the literals there are the same stale-number problem. */
#loginHintRL .border-line {
    width: auto;
}

/* The loader is position: absolute (modal.css:1571) and nothing on its way up the tree is
   positioned, so its containing block is the initial one: top: 50% resolves against the viewport
   height but is measured from the top of the DOCUMENT, pinning the spinner near the top of the page
   no matter where the visitor is. Submit sits far down a long form, so the spinner appeared
   somewhere up the page instead of over the button that was just pressed.
   Fixed positioning is what an overlay spinner wanted in the first place — it centres on the
   viewport at any scroll offset. Scoped to .spinner-border, which only Groups appends;
   Individual.aspx links this sheet's base rule and still appends an <img>. */
#waitImage.spinner-border {
    position: fixed;
    /* Submit hides #MainContentPage1 (javascripts/groups.js), collapsing the page to the header
       plus the sticky footer, so a viewport-centred spinner sat on the footer rather than over
       the content. Measured clearance from the footer at 768 / 900 / 1000 / 1271 / 1440 with
       top: 50% was -171 / -159 / -109 / 27 / 111 - it overlapped outright below a 1000px
       viewport. 33% still overlapped at 768 and 900. 25% clears at every height measured:
       21 / 66 / 141 / 344 / 471. The other two spinners (a rejected submit, the hotel-listing
       PDF) render on an uncollapsed page, where this only reads as an upper-middle loader. */
    top: 25%;
}

/* ---- State 2 (post-submit) card chrome ----------------------------------------------------
   State 1's card primitive is .form-wrapper-section (modal.css:897). State 2 rendered in two
   other visual languages: the info cards took Bootstrap's border and radius plus a shadow and
   padding from AdditionalServicesInfo.css, and the thank-you panel had no chrome at all. These
   two rules bring both to state 1's four tokens.

   The values are duplicated here rather than shared with .form-wrapper-section deliberately:
   Groups and Individual are being separated, and modal.css was linked by both when this was written,
   so harmonising through it would have re-coupled the two pages. Session 27 folded modal.css into
   this file and unlinked it from Groups, so .form-wrapper-section now exists twice: in the folded
   modal.css block above (Groups' copy) and in individual.css (Individual's, modal.css folded). If these four tokens
   change, change them in BOTH.

   Tokens are set explicitly rather than inherited from --bs-card-*: Groups loads Bootstrap 5.3.3
   and Individual loads 5.3.0-alpha3, so the two pages cannot be assumed to agree. */

/* Individual.aspx also has a #DivLPMessage, but with zero .DivLPMessageMain children — an empty
   leftover from when the two pages were one. Chrome on it there would draw a bordered empty box,
   so this could never have gone in modal.css whatever the sharing decision. */
#DivLPMessage {
    border: 1px solid var(--light-grey);
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--shadow-soft);
    padding: 22px 26px;
}

/* The three rules below replace 11 repeated inline style attributes in Groups.aspx (§45.8 tier 1).
   They live here rather than in modal.css because none of the three selectors has a single element
   on Individual.aspx, and group.css is loaded after modal.css — which is what lets the plain class
   below beat modal.css:692's .DivLPMessageMainTitle { font-weight: normal } on order alone.
   Moving a declaration out of a style attribute lowers its specificity from inline to 0,1,0, so each
   of the three was A/B'd on its own in state 2 (insert the rule in the CSSOM, strip the attributes,
   re-snapshot): 0 diffs over 288 elements each, and 0 with all three applied together. */
.DivLPMessageMainTitle {
    text-transform: uppercase;
    font-weight: bold;
}

/* The five external code-of-practice / privacy links in the compliance cards. The attribute also
   carried cursor: pointer and text-decoration: underline; both are the UA and Bootstrap-reboot
   defaults for a[href] and were dropped after a separate A/B read 0 diffs with them gone. */
.inline-doc-link {
    color: #000;
    font-weight: bold;
}

/* §45.8 tier 2 — the six one-off inline style attributes that already had a hook. Each was A/B'd on
   its own; the selectors below are narrower than the plan assumed, because three of them had a
   neighbour that would have been caught by the obvious selector:
     - p.nav-link, not .nav-link: two <a> in the same <ul> carry the identical class pair.
     - :not(.gmp): the sibling #divGMP is also .button-wrapper.column, and the plain selector moved
       it and two of its children (6 diffs) by giving it align-items: center.
     - footer > div.container-fluid: the "Need Help" block is a .container-fluid too, but a
       grandchild, so the child combinator is enough to separate them.
   The <p> below only renders in state 2 (its <li> is #PlanningLinkWelcome, Visible=false otherwise);
   it was verified by building the real subtree under the real <ul> rather than paying for a submit. */
p.nav-link.text-secondary {
    margin-bottom: 0;
    color: var(--primary-color);
}

.button-wrapper.column:not(.gmp) {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

/* Footer headings are white: Bootstrap paints h2 and h5 from --bs-heading-color, which :root sets to the primary blue, so re-point the variable on the footer rather than colouring four elements by hand. */
footer.container-fluid {
    --bs-heading-color: var(--bs-heading-color-light);
    padding-left: 0;
    padding-right: 0;
}

/* Identical declaration on the contact strip and the copyright line, so one rule serves both. */
footer > div.container-fluid,
footer > p.background-color-footer-100 {
    border-top: 1px solid hsla(0, 0%, 100%, .2);
}

/* The same attribute also carried font-size: 14px, which was DEAD and is deleted rather than moved:
   Bootstrap's .fs-6 is `font-size: 1rem !important`, and a stylesheet !important beats a normal
   inline declaration, so the line computed 16px and always had. Dropping it alone: 0 diffs. */
footer > p.background-color-footer-100 {
    margin-bottom: 0;
}

/* The two buttons inside the thank-you panel were pills: modal.css sets border-radius: 30px on them
   twice, at #DivLPMessage a (:640) and at .DivLPMessageInsideRL a (:748), and both beat
   .btn-primary's 6px — the first on specificity, the second on order. They also came out at 16px
   with no letter-spacing, against 14px/1.4px everywhere else.
   These are the same three surface tokens session 11 used to bring Home, Groups and Individual into
   one system (see the #btnGroup rule above): 6px radius, 14px, 1.4px letter-spacing. Footprint is
   deliberately left alone — group.css already gives these 14px 24px padding, and a panel CTA is a
   different control from a form submit.
   The selector needs an id plus a class to beat #DivLPMessage a. It also outranked a font-size:
   15px in the min-width: 992px block below, now deleted as dead - see the note there. */
#DivLPMessage .DivLPMessageInsideRL a {
    border-radius: var(--button-radius, 6px);
    font-size: var(--fs-14, 14px);
    letter-spacing: 1.4px;
}

/* The two columns are 50% each (modal.css:688) but also capped at max-width: 500px (:705, :722),
   so in the 1220px of card interior they used 1000px and .DivLPMessageMain's justify-content:
   center split the remaining 220px into two empty margins. The text read as a narrow strip with a
   wide gutter either side, and the divider sat 110px left of where the eye expects it.
   The cap is what is stale here, not the 50%: it dates from a fixed-width layout, and the card now
   supplies the outer bound itself. Lifting it lets each column take its true half. */
#DivLPMessage .DivLPMessageMainLeft,
#DivLPMessage .DivLPMessageMainRight {
    max-width: none;
}

/* Session 7's hover-bounce, one sheet over. These buttons rest on the 1px border of
   .DivLPMessageInsideRL a (modal.css:748), but their hover border comes from .button:hover
   (modal.css:514) at 2px — a class-pair selector, so it outranks the class+type rule that set the
   resting width, while .button's own matching 2px base loses to it. The button therefore grew
   345.8x51 -> 347.8x53 on hover, and .button's transition lists border-COLOR only, so the 2px
   snapped rather than eased.
   Pinning the hover width to the resting width is the whole fix; the colour still transitions. The
   hover shadow needs nothing — colors.css's .btn:hover already wins there, so these match the
   0 2px 4px every other button on Home and Groups uses. */
#DivLPMessage .DivLPMessageInsideRL a:hover {
    border-width: 1px;
}

/* ponytail: .borderred (modal.css:636) is background-only and groups.js puts it on the <input>,
   which sits inside .field's 40px left padding — so a flagged field painted a 242x23 pink band
   floating inside a 311x66 rounded box instead of colouring the field. Paint the wrapper instead:
   it already carries the 1px border and the 12px radius, so the fill lands on the right shape.
   The second rule is required, not decorative — .field's own `background: #fff` sits on top of the
   wrapper and would hide the fill completely. (§21 recorded this as a one-liner; it is two.)
   Groups-only on purpose: Individual has the identical defect and is parked. */
.form-wrapper-item-input-wrapper:has(.borderred) {
    background: #fde4e4;
}

    .form-wrapper-item-input-wrapper:has(.borderred) .field {
        background: transparent;
    }

/* ponytail: modal.css:1113 sets `appearance: none` on field selects, which strips the dropdown
   marker — the Country select gave no sign it opens a list. `auto` restores the native chevron;
   no caret artwork, no background-image, no padding to reserve. Overridden here rather than
   deleted at source because modal.css is shared with the parked Individual.aspx. */
.field select {
    appearance: auto;
}

/* ponytail: moved verbatim from CSS/modalpopup.css, which Groups linked as
   <link href="CSS/modalpopup.css" media="screen">. Groups now carries its own copy and no longer
   depends on that shared sheet; Individual.aspx still links the original file, untouched.
   The @media screen wrapper reproduces the link's media attribute exactly - without it these rules
   would newly apply to print. This is the validation modal raised by ShowModalPopUp in groups.js
   (#ModaplPopUp, sic). No longer byte-identical to the source: the dead first `border: 1px solid
   #888` on .modalpopup-content was deleted; the second border always overrode it. */
@media screen {
    /* The Modal (background) */
    .modalpopup {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }

    /* ponytail: max-width cap added below. box-sizing is border-box, so width: 400px is the outer
       box, and under a 432px viewport the modal ran past the overlay - 95px of it at 320, with the
       close X landing at x=388, off-screen and unreachable. .modalpopup's own overflow:auto absorbed the
       spill, so document h-scroll stayed 0 and the standing assertion never saw it. A cap, not a
       smaller width: max-width outranks width. Individual carried the same defect in its own copy
       and CSS/modalpopup.css was given this identical fix - measured there, not assumed. */
    /* Modal Content */
    .modalpopup-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        width: 400px;
        max-width: calc(100% - 32px);
        border: 2px solid #fde4e4;
        text-align: left;
    }

    /* The Close Button */
    .modalpopup-close {
        color: #aaaaaa;
        float: right;
        font-size: var(--fs-28, 28px);
        font-weight: bold;
        margin-top: -25px;
        margin-right: -10px;
    }

        .modalpopup-close:hover,
        .modalpopup-close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
}

/* ---- "Before You Book" cards (state 2) ---------------------------------------
   Replaces .cards-container's fixed grid and the three overhanging
   .firstcardtoggle panels. Source: 12-cards-inline.html (marketing, 2026-09).

   The palette is scoped to .byb-section, but since the skin its brand tokens
   read colors.css: --byb-teal is var(--primary-color), --byb-line
   var(--tint-mid), so a re-skin repaints these cards with everything else.
   Only the three status colours (green, amber, red) stay literal - the skin
   maps no status colours. Every rule below reads a var and never a literal.
   See docs/superpowers/plans/2026-09-02-before-you-book-cards.md, D7.

   HARMONIZED, NOT SHARED. An identical copy of this block lives in
   CSS/individual.css, styling the same cards on Individual's logged-in panel.
   Groups and Individual deliberately share no local sheet, so the duplicate is
   by design - change one, decide about the other. Both sites carry this note.
   Exception: .byb-subgrid, .byb-sub*, .byb-sic style sub-cards only Groups
   renders, so they live here alone - no Individual markup carries them.

   Session 127: no longer true of the text colours. The user asked for the two
   headings to match the hotel card name and the body copy to be black, so
   .byb-head h2, .byb-card h4, .byb-head p, .byb-desc, .byb-d-body p and
   .byb-venue-addr read --primary-color / --black / --muted from colors.css.
   They are meant to move WITH the hotel cards, not with this block's palette.

   Font is deliberately NOT set: the mockup's Segoe UI stack is replaced by the
   site's font (--font-family), inherited from body. See D8. */
.byb-section {
    --byb-teal: var(--primary-color);
    --byb-teal-dark: var(--primary-dark);
    --byb-green: #34b46a;
    --byb-amber: #b9791f;
    --byb-red: #c0563f;
    --byb-ink: var(--ink);
    --byb-muted: var(--muted);
    --byb-line: var(--tint-mid);
    --byb-radius: 14px;
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 24px;
    color: var(--byb-ink);
}

.byb-templates {
    display: none;
}

.byb-head {
    text-align: center;
    margin-bottom: 26px;
}

    .byb-head h2 {
        font-size: var(--fs-18, 18px);
        color: var(--primary-color);
        font-weight: bold;
        margin: 0 0 6px;
    }

    .byb-head p {
        font-size: var(--fs-14, 14px);
        color: var(--black);
        margin: 0;
    }

/* The point of the redesign: a flex row that collapses to a column, with no
   fixed column widths anywhere. The old .cards-container pinned
   grid-template-columns: repeat(3, 260px) and never overrode it, so the cards
   overflowed their wrapper at every width below 992 and overflow-hidden on
   Groups.aspx hid the damage. */
.byb-grid {
    display: flex;
    gap: 22px;
    align-items: stretch;
}

.byb-card {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--byb-line);
    border-radius: var(--byb-radius);
    box-shadow: 0 4px 18px var(--shadow-soft);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

    .byb-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px var(--shadow-hover);
    }

    .byb-card.active {
        border-color: var(--byb-teal);
        box-shadow: 0 10px 26px var(--primary-glow);
    }

    .byb-card h4 {
        color: var(--primary-color);
        font-weight: bold;
        font-size: var(--fs-18, 18px);
        margin: 0 0 8px;
    }

.byb-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--tint-soft);
    color: var(--byb-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: background .15s;
}

    .byb-ic svg {
        width: 26px;
        height: 26px;
    }

.byb-card.active .byb-ic {
    background: var(--byb-teal);
    color: #fff;
}

.byb-desc {
    font-size: var(--fs-14, 14px);
    color: var(--black);
    margin: 0 0 20px;
    flex: 1;
}

.byb-learn {
    border: none;
    background: none;
    color: var(--byb-teal);
    font-weight: 700;
    font-size: var(--fs-14, 14px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

    .byb-learn:hover {
        text-decoration: underline;
    }

    .byb-learn svg {
        width: 15px;
        height: 15px;
        transition: transform .2s;
    }

.byb-card.active .byb-learn svg {
    transform: rotate(90deg);
}

/* 0fr -> 1fr on grid-template-rows animates height without a fixed pixel value.
   .byb-detail-clip's overflow:hidden is what makes that read as a reveal - it
   clips a height animation, not a width, which is the opposite of the defect
   this redesign removes. */
.byb-detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
    margin-top: 0;
}

    .byb-detail.open {
        grid-template-rows: 1fr;
        margin-top: 20px;
    }

.byb-detail-clip {
    overflow: hidden;
}

.byb-detail-inner {
    background: #fff;
    border: 1px solid var(--byb-line);
    border-radius: var(--byb-radius);
    box-shadow: 0 4px 18px var(--shadow-soft);
}

.byb-d-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--byb-line);
}

    .byb-d-head .byb-ic {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin: 0;
        flex-shrink: 0;
    }

        .byb-d-head .byb-ic svg {
            width: 20px;
            height: 20px;
        }

    .byb-d-head h3 {
        margin: 0;
        font-size: var(--fs-18, 18px);
        color: var(--byb-teal-dark);
        flex: 1;
    }
    /* Venue panel only: wraps the h3 and the address so the head can stack
       them. It takes the flex: 1 above, which is inert on the h3 once the h3
       is no longer a direct child of the flex row. The dates and compliance
       panels have no wrapper and still get it from the h3 rule. */
    .byb-d-headtext {
        flex: 1;
    }


.byb-close {
    background: var(--tint-soft);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: var(--fs-18, 18px);
    color: var(--byb-muted);
    cursor: pointer;
    line-height: 1;
}

    .byb-close:hover {
        background: var(--tint-mid);
        color: var(--byb-ink);
    }

.byb-d-body {
    padding: 22px 24px;
}

    .byb-d-body p {
        font-size: var(--fs-14, 14px);
        color: var(--black);
        line-height: 1.65;
        margin: 0 0 12px;
    }

/* Venue panel: photo left, text right, the hotel card's image box (.bk-h-image,
   265 x 192). Was a full-width 180px band on top, which cropped the photo to a
   strip (user, session 287). Below 768 it stacks as the hotel cards do, but the
   photo keeps its own shape (height auto) so it never bands again. The text sits
   on the photo's vertical centre (user, session 287); its 12px bottom margin is
   cut or the centring reads 6px high. */
.byb-d-body:has(> .byb-venue-img) {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .byb-d-body:has(> .byb-venue-img) p {
        margin: 0;
    }

.byb-venue-img {
    width: 265px;
    height: 192px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .byb-d-body:has(> .byb-venue-img) {
        flex-direction: column;
        align-items: stretch;
    }

    .byb-venue-img {
        width: 100%;
        height: auto;
    }
}

/* Lives in .byb-d-head now, stacked under the h3 by .byb-d-headtext. It was
   under the image, where .byb-d-body p at (0,1,1) beat a bare .byb-venue-addr
   and its colour never rendered at all - hence the scope. Measured, session 127.
   Reads --muted, the same token as the hotel card address .bk-h-location. */
.byb-d-head .byb-venue-addr {
    font-size: var(--fs-14, 14px);
    color: var(--muted);
    margin: 2px 0 0;
}

.byb-tl {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .byb-tl li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 12px 0;
        border-bottom: 1px solid var(--tint-soft);
    }

        .byb-tl li:last-child {
            border-bottom: none;
        }

.byb-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--byb-green);
    margin-top: 4px;
    flex-shrink: 0;
}

    .byb-dot.warn {
        background: var(--byb-amber);
    }

    .byb-dot.red {
        background: var(--byb-red);
    }

.byb-date {
    font-weight: 700;
    color: var(--byb-teal-dark);
    font-size: var(--fs-13-5, 13.5px);
}

.byb-text {
    font-size: var(--fs-13-5, 13.5px);
    color: var(--ink);
}

.byb-intro {
    background: var(--tint-soft);
    border: 1px solid var(--tint-line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: center;
    font-size: var(--fs-13-5, 13.5px);
    color: var(--ink);
}

    .byb-intro a {
        color: var(--byb-teal-dark);
        font-weight: 600;
    }

.byb-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.byb-sub {
    display: flex;
    gap: 13px;
}

    .byb-sub h5 {
        margin: 0 0 4px;
        font-size: var(--fs-14, 14px);
        color: var(--byb-teal-dark);
    }

    .byb-sub p {
        margin: 0;
        font-size: var(--fs-12-5, 12.5px);
        color: var(--muted);
        line-height: 1.55;
    }

        .byb-sub p a {
            color: var(--byb-teal);
            font-weight: 600;
            text-decoration: underline;
        }

/* Replaces the mockup's style="grid-column:1 / -1", keeping Groups.aspx's inline-style
   count closed. */
.byb-sub-wide {
    grid-column: 1 / -1;
}

.byb-sic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--tint-line);
    color: var(--byb-teal);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .byb-sic svg {
        width: 20px;
        height: 20px;
    }

@media (max-width: 820px) {
    .byb-grid {
        flex-direction: column;
    }

    .byb-subgrid {
        grid-template-columns: 1fr;
    }
}

/* ---- Group hotel booking flow (state 2, inside #Okvir) ----------------------
   Ported from CSS/individual.css in session 80, phase 2 of
   docs/superpowers/plans/2026-09-13-groups-hotel-booking.md.

   HARMONIZED, NOT SHARED. The same three families live in CSS/individual.css -
   the room cards, the .bk-h-* hotel card, and .booking-timeline. Groups must be
   deployable with no Individual file, so the rules are duplicated on purpose.
   Change one side and decide about the other. Re-locate the originals by
   string: .room-options, .bk-h-card, .booking-timeline.

   Five deliberate departures from a verbatim copy, none of them design changes:

   1. .booking-timeline now runs the other way: session 144 rebuilt Individual's
      as ONE block in this sheet's circles-on-a-rail shape - same circle, rail,
      label and done / current / upcoming colours - with static stages and a
      Back to Hotels entry where this one has step buttons. Its banner in
      CSS/individual.css names the departures. Change one, decide about the other.
   2. Retired with item 1 - the hardcoded navy it described is gone from both.
   3. The room-card radio rules are NOT ported. The group room step is two
      quantity inputs with a per-hotel minimum, so a radio selector could
      never match here and would be a rule that never applies.
      Same reason: .room-card:focus-within was DELETED here and is still LIVE in
      CSS/individual.css. On Individual the radio makes the whole card the
      selection target, so a card-wide focus outline is correct there. Here the
      card holds only a quantity input and BOTH cards can carry rooms at once,
      so that outline claimed a selection neither card has. Deliberate
      divergence - do not restore it.
   4. The breakfast chip on Individual takes its weight and letter-spacing from
      a bare .bf rule that sits beside .chip.bf. Both are merged into .chip.bf
      here rather than adding a two-character global class to a Groups sheet.
   5. .room-card carries flex-wrap at every width here; Individual wraps it only
      below 1100. The group card puts its availability calendar on its own
      full-width line below the header row instead of inside the right-hand
      column, and the wrap is what lets it drop there. Individual keeps its table
      nested in that column at 1100 and above, dissolves the column from 577 to
      1099 to reach this shape, and moves the whole column to a full-width row on
      phones - a live divergence; the availability banner has the other half.

   Not ported: .bk-h-map and .bk-h-details, unreferenced by the card builder;
   .bk-h-select input, .badges and .bk-flag, which belong to UI the group flow
   does not have. The combine-mode map split WAS in this list and is no longer:
   the group flow has a List / Map / Both control now, and that family is ported
   at the end of this sheet.

   Session 125: the user asked for every non-blue string in the group listing at 16px, so
   .bk-h-location, .bk-h-distance, .chip and .bk-h-availability went from 14 / 14 / 14 / 13.5
   to 16, .bk-h-price-label is black 16px, and .bk-h-next-btn is 16px uppercase (15 since Gotham - see its rule).
   .bk-h-price-label.small was deleted - its only element was the All taxes included line,
   removed from the card builder in javascripts/groupshotels.js. The hotel name and the price
   keep the brand blue and their own sizes. Individual diverged then and was brought to the
   same six values later, so the two listings match again - change one, decide about the other.
   --------------------------------------------------------------------------- */

/* ---- Room type cards (Window_G2) ---- */
.room-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

.room-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 5px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .room-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }

/* ---- Hotel list (Window_G1) ---- */
#mapHotelListGroup {
    width: 100%;
    padding: 0 12px;
    overflow-y: visible !important;
}

.bk-h-card {
    display: flex;
    width: 100%;
    max-width: 1200px;
    border: 1px solid var(--border-box);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    font-family: var(--font-family) !important;
    margin: 12px 0;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .bk-h-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }

/* LEFT IMAGE */
.bk-h-image {
    width: 265px;
    height: 192px;
    overflow: hidden;
    flex-shrink: 0;
}

    .bk-h-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.bk-h-card:hover .bk-h-image img {
    transform: scale(1.06);
}

/* MIDDLE CONTENT */
.bk-h-middle {
    flex: 1;
    padding: 18px 20px;
}

/* The heading colour, not the brand: matches the room step's hotel name (an h2), by
   request. CSS/individual.css carries the same - change one, decide about the other. */
.bk-h-title {
    color: var(--primary-color-h1);
    font-size: var(--fs-18, 18px);
    font-weight: bold;
    margin-bottom: 6px;
}

.bk-h-location {
    font-size: var(--fs-16, 16px);
    color: var(--muted);
    margin-bottom: 2px;
}

.bk-h-distance {
    color: var(--muted);
    font-size: var(--fs-16, 16px);
    margin-bottom: 0 0 12px;
}

.bk-h-room {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chip {
    font-size: var(--fs-16, 16px);
    padding: 5px 11px;
    border-radius: 20px;
    background: var(--tint-soft);
    color: var(--muted);
    font-weight: 500;
    line-height: 1;
}

    .chip.bf {
        background: #e6f6ec;
        color: darkgreen;
        font-weight: 700;
        letter-spacing: .2px;
    }

/* RIGHT SIDE */
.bk-h-right {
    width: 180px;
    padding: 14px;
    border-left: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* The availability line sits under the chips (groupshotels.js) and renders empty when the hotel is
   available. Harmonized with CSS/individual.css - change one, decide about the other. */
.bk-h-availability {
    font-size: var(--fs-16, 16px);
    font-weight: bold;
    color: #d4111e;
    margin-top: 8px;
}

    .bk-h-availability:empty {
        display: none;
    }

.bk-h-price-label {
    font-size: var(--fs-16, 16px);
    color: var(--black);
}

.bk-h-price-value {
    font-size: var(--fs-28, 28px);
    font-weight: bold;
    color: var(--primary-color);
}

.bk-h-next-wrapper {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.bk-h-next-btn {
    /* 15px with 10px 8px, not 16px with 10px 14px. Since Gotham (skin phase 2) "SELECT HOTEL >"
       measures 139.9px at 16px against the 151px .bk-h-right leaves it, and wrapped at every
       padding down to 8; at 15px it measures 131.1 and fits at 8 only, about 4px spare - the
       user's pick over 14px text or a wider column. Also reaches the button in .g-pin-card,
       which restates only margin-top; #GetPdfList keeps 16 in its own scoped rule. */
    padding: 10px 8px;
    border-radius: var(--button-radius, 6px);
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    transition: background .2s ease, transform .2s ease;
}

    .bk-h-next-btn:disabled {
        background: #bdc3c7;
        cursor: not-allowed;
        transform: none;
    }

/* ---- Progress timeline: Hotel, Rooms, Summary, Request ---- */
.booking-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    width: 100%;
}

    /* Circles on a rail, the shape in docs/request/group-thank-you.html: a bordered glyph with
       the label beneath it, the four joined by a 1px line. The li is the flex cell and carries
       the rail segment; the button inside it is stripped to a transparent, padding-less column,
       so the circle and its label stay ONE keyboard-reachable control rather than two. */
    .booking-timeline .step {
        flex: 1;
        position: relative;
    }

        /* The connector belongs to the step on its RIGHT, so the first step has none and no
           segment can overshoot either end of the row. The cells are equal width and the row
           gap is 0, so the previous circle centre sits exactly one cell-width to the left:
           -50% + 25px starts the line 6px clear of it, 50% + 25px stops it 6px clear of this
           one. 19px is the circle radius, so the line meets both centres. ANY gap on
           .booking-timeline breaks this arithmetic - that is why it is 0 at every width. */
        .booking-timeline .step + .step::before {
            content: "";
            position: absolute;
            top: 19px;
            left: calc(-50% + 25px);
            right: calc(50% + 25px);
            height: 1px;
            background: var(--light-grey);
        }

        /* A button inherits neither font-family nor font-size from its container, so both are
           restated here - the same reason the chip this replaced declared them. */
        .booking-timeline .step-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 0;
            border: 0;
            background: none;
            font-family: inherit;
            cursor: pointer;
        }

            .booking-timeline .step-btn .circle {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 38px;
                height: 38px;
                border: 1.5px solid var(--light-grey);
                border-radius: 50%;
                background: var(--white);
                color: var(--light-grey);
                font-size: var(--fs-14, 14px);
                font-weight: 700;
                transition: border-color .2s ease, background .2s ease, color .2s ease;
            }

            /* 16px uppercase, the size every other string in this flow took in 159-165. The
               reference draws its label at 12.5 mixed-case; only the SHAPE is ported here, not
               its type scale. */
            .booking-timeline .step-btn strong {
                font-size: var(--fs-16, 16px);
                font-weight: 700;
                letter-spacing: 1.4px;
                text-transform: uppercase;
                color: var(--light-grey);
                transition: color .2s ease;
            }

        /* Done is the OUTLINE circle, current is the FILLED one, so past and present read
           differently instead of both being solid. The tick that replaces the digit on a done
           step is written by ShowGroupWindow - no pseudo-element is involved, and show(1) puts
           the digits back. */
        .booking-timeline .step.completed .circle {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .booking-timeline .step.active .circle {
            border-color: var(--primary-color);
            background: var(--primary-color);
            color: var(--white);
        }

        .booking-timeline .step.completed strong,
        .booking-timeline .step.active strong {
            color: var(--black);
        }

            /* Every step is clickable, a locked one included - it answers with the line under
               the timeline rather than doing nothing - so hover is not conditional on state.
               It fills the circle whatever state it was in, because a done circle is outlined
               and an active one is already solid: recolouring only the border and the glyph
               would put dark text on the teal fill of the current step. --secondary-color is
               the same hover the flow buttons use. :not(:disabled) is what keeps this off
               Window_G4, where all four are inert. */
            .booking-timeline .step-btn:not(:disabled):hover .circle,
            .booking-timeline .step-btn:not(:disabled):focus-visible .circle {
                border-color: var(--secondary-color);
                background: var(--secondary-color);
                color: var(--white);
            }

            .booking-timeline .step-btn:not(:disabled):hover strong,
            .booking-timeline .step-btn:not(:disabled):focus-visible strong {
                color: var(--secondary-color);
            }

        /* Window_G4 disables all four: the request is already emailed and the only intended exit
           is the full GET on its own button. */
        .booking-timeline .step-btn:disabled {
            cursor: default;
        }

        /* The leftmost entry is the flow back control, not a stage the visitor has
           passed through, so it carries no connector line. Its button is stripped to
           plain text and inherits the surrounding step styling; it stays a real
           button so it is reachable by keyboard. */
        .booking-timeline .step.back::after {
            display: none;
        }

        .booking-timeline .step.back .back-step {
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
            color: var(--dark-grey);
            cursor: pointer;
            display: block;
            width: 100%;
            text-align: inherit;
        }

            .booking-timeline .step.back .back-step:hover,
            .booking-timeline .step.back .back-step:focus-visible {
                color: var(--primary-color);
            }

                .booking-timeline .step.back .back-step:hover .circle,
                .booking-timeline .step.back .back-step:focus-visible .circle {
                    border-color: var(--primary-color);
                }

        .booking-timeline .step.back svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
        }

/* MOBILE */
@media (max-width: 768px) {
    .booking-timeline {
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

        .booking-timeline::-webkit-scrollbar {
            display: none;
        }

        /* 144 was the chip era, where the label carried 14px of side padding and a border.
           The circles-on-a-rail step has neither: the widest label, SUMMARY, measures 88.7px
           at 16px uppercase with 1.4 letter-spacing and the circle is 38, so 104 clears both
           with ~7px either side. Measured by comparing each label rect against the cell own
           content box, NOT by scrollWidth - this row is overflow-x auto, so document h-scroll
           reads 0 whatever spills and scrollWidth false-negatived the same defect in 165.
           Re-measure this number if the labels change. */
        .booking-timeline .step {
            min-width: 104px;
        }
}

/* PHONE - four 104px cells are 416px against a 281-375px row, so the scroll above always hid
   one whole step. Here the row fits instead: circles only, and the current step keeps its
   label. The others are visually hidden, not removed, so each button keeps its name.
   The 8px side padding is for REQUEST on Window_G4: 80px in a 66px end cell, and
   #MainContentPage2 is overflow hidden flush with the row, so without it the T was clipped.
   HARMONIZED with CSS/individual.css's block, which has no padding - no overflow box sits
   flush with that row - and also labels its Back step. Change one, decide about the other. */
@media (max-width: 576px) {
    .booking-timeline {
        overflow-x: visible;
        padding-left: 8px;
        padding-right: 8px;
    }

        .booking-timeline .step {
            min-width: 0;
        }

            .booking-timeline .step:not(.active) strong {
                position: absolute;
                width: 1px;
                height: 1px;
                overflow: hidden;
                clip: rect(0 0 0 0);
                white-space: nowrap;
            }
}

/* Narrow screens, phase 3. The card is a fixed 265px image that does not shrink plus a
   180px rail, so below 768px it is wider than the viewport. .bk-h-card is overflow hidden,
   which means the spill never reaches the document and h-scroll still measures 0 while the
   Select Hotel button sits outside the card and cannot be clicked - measured at 320, 360,
   480, 576 and 640. Stacking is the fix, per the max-width-companion rule. The same three
   rules in CSS/individual.css carry the identical fix - change one, decide about the other. */
@media (max-width: 767px) {
    .bk-h-card {
        flex-direction: column;
    }

    .bk-h-image {
        width: 100%;
        height: 170px;
    }

    .bk-h-right {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #e6e6e6;
    }
}

/* ---- Room type cards, phase 4 (Window_G2) ------------------------------------
   The card frame - .room-options and .room-card - came over in phase 2. These
   are the card internals it left behind, plus the controls the group flow adds.

   Harmonized, not shared, same as the rest of this block. .person-icon, .price
   and the two .card-content rules have counterparts in CSS/individual.css -
   change one side and decide about the other; re-locate them by string.

   .room-qty, .room-advisory, .room-total, .g-nav and .bk-h-back-btn have NO
   counterpart there and are not expected to grow one: the group step asks for
   two quantities with a per-hotel minimum where Individual asks for one radio,
   so these belong to the quantity model, not to the port. */
.person-icon {
    width: 18px;
    height: 18px;
    stroke: #555;
    fill: none;
    stroke-width: 2;
    margin-right: 6px;
}

.person-icon-double {
    margin-left: -14px;
}

/* 18px bold is .bk-h-title exactly: the room name now matches the hotel name on the
   listing step, by request. The CSS/individual.css twin reads the same 18 bold since it
   was ported - change one, decide about the other. */
.card-content h3 {
    margin: 0;
    font-size: var(--fs-18, 18px);
    font-weight: bold;
}

.card-content p {
    margin: 0.25rem 0 0;
    color: var(--primary-color);
}

.card-content-last-child {
    margin-left: auto;
    text-align: right;
}

.price {
    margin: 0;
    font-weight: 600;
    font-size: var(--fs-28, 28px);
    color: var(--primary-color);
}

.room-qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 6px;
}

    .room-qty input {
        width: 80px;
        text-align: center;
    }

    /* Black by request - the label inherits the site navy otherwise, and the size it
       already carries is the listing's non-blue one. */
    .room-qty label {
        color: var(--black);
    }

/* Advisory, never a blocker - a count above the block currently held is still a
   request, so it is worded and coloured as a note rather than as an error.
   Scoped under .card-content because the bare .card-content p above is (0,1,1)
   and would otherwise win the colour. */
.card-content .room-advisory {
    color: #a35b00;
    font-size: 13px;
}

.room-total {
    margin-top: 16px;
    font-weight: 600;
}

/* The room step's two lines of prose. Static since session 128: it replaced the running
   "N of 5 rooms at <hotel>" gate message when the per-hotel minimum dropped from five to
   one, so nothing writes it any more. Scoped to the id because .room-total is also worn by
   #GroupRequestMessage on Window_G3, a failure notice that keeps its own colour. Black at
   the listing's non-blue size, by request. Line two quotes MIN_GROUP_ROOMS - change both. */
#GroupRoomTotal {
    color: var(--black);
    font-size: var(--fs-16, 16px);
}

.g-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* below ~480 the two solid buttons stack; .g-nav > :last-child's auto margin still pins the lone one right */
    gap: 12px;
    margin-top: 16px;
}

.bk-h-back-btn {
    padding: 10px 18px;
    border-radius: var(--button-radius, 6px);
    font-size: var(--fs-14, 14px);
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: transparent;
}

/* Hidden here rather than with an inline style attribute: Groups.aspx is held at 1 inline
   style= in source and 1 served, a closed count. ShowGroupWindow() in groupshotels.js writes
   the inline display that overrides this, which is what jQuery show()/hide() do anyway. */
#Window_G2, #Window_G3, #Window_G4 {
    display: none;
}

/* ---- Split-blocks summary, phase 5.5 (Window_G3) -----------------------------
   Every hotel is a BLOCK with its own room counts and its own subtotal, and the
   counts add up across the request - so a row is a small card stacked top to
   bottom, not the single centred line the ranked model needed. .chip is no
   longer used here: there is no rank to label.

   NO PRICE is shown on this step. A row reads rooms x room type x nights and its
   room nights, and the Subtotal and the Request Summary card count ROOM NIGHTS
   from the stay dates on Window_G1. Rates appear on the listing and room step only.

   The two footer buttons are the .bk-h-back-btn / .bk-h-next-btn pair Window_G2
   uses, restyled at the end of this section to match Individual's summary pair.
   That pair is NOT part of the port below and was deliberately left alone.

   HARMONIZED with the .summary-box family in CSS/individual.css (re-locate by
   string), which is the visual language the marketing request asked for: a small
   uppercase primary-colour section label over a rule, then label/value rows with
   a muted label and a primary-colour bold value. The numbers are taken from
   there, not invented - label 16px / ls 1.1 / 700, card 14px radius,
   20px padding, 1px --light-grey. The label's rule is var(--tint-mid), as
   Individual's .lbl is - both were the literal #eaf1f3 before the skin.
   Change one, decide about the other.

   FOUR DEPARTURES from that port, all deliberate:
   1. The card is NOT capped at Individual's sidebar width. W3 fills its box the
      way G1 and G2 do; the request drew a 640px cap, which would have widened the
      step-to-step width jump that is already an open item.
   2. The section label carries an index ("Hotel 1 of 3") that Individual's
      single-hotel summary has no use for. It is a plain inline span, NOT a flex
      row pushing it to the far end: this card is 1164 wide, where a spread label
      reads as two unrelated things.
   3. The row label is a bare TEXT NODE, not a .k span - the value keeps the only
      <span>, so the muted colour is inherited and the builder's existing template
      did not have to change. Individual uses .kv > .k/.v because its rows are
      hand-written markup.
   4. THE TYPE SCALE was changed here by instruction, and Individual followed. Rows,
      the note box and Edit/Remove read 16px; the hotel name and Subtotal read 18px
      bold, the size .bk-h-title and .card-content h3 carry on W2. The hotel name
      takes the heading colour like .bk-h-title, by request; Subtotal keeps the primary. Individual .summary-box rows now read 16 and its hotel name 18 bold as
      well (an inline style in its page script); its row label is black, not muted. */
.g-summary-row {
    padding: 20px;
    border: 1px solid var(--light-grey);
    border-radius: 14px;
    margin-bottom: 18px;
}

/* Section label over a rule, ported from .summary-box .lbl. The index follows it
   inline and reads muted, so the label itself still leads. */
.g-summary-label {
    font-size: var(--fs-16, 16px);
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tint-mid);
}

    .g-summary-idx {
        color: var(--muted);
        font-weight: 600;
        letter-spacing: normal;
        text-transform: none;
    }

.g-summary-hotel {
    font-size: var(--fs-18, 18px);
    font-weight: 700;
    color: var(--primary-color-h1);
    margin-bottom: 10px;
}

/* Label/value rows, ported from .summary-box .kv. The label is the bare text
   node and inherits --muted; the value is the only span and takes the primary
   colour, so no .k/.v pair is needed in the template. */
.g-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--fs-16, 16px);
    color: var(--muted);
    padding: 4px 0;
}

    .g-summary-line span {
        color: var(--primary-color);
        font-weight: 600;
        text-align: right;
    }

.g-summary-sub {
    font-size: var(--fs-18, 18px);
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    border-top: 1px solid var(--light-grey);
    margin-top: 10px;
    padding-top: 12px;
}

.g-summary-actions {
    display: flex;
    gap: 16px;
    margin-top: 14px;
}

/* Text buttons, not boxes: Edit and Remove are row-level actions and must not
   compete with Send Request in the footer. */
.g-summary-edit, .g-summary-remove {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: var(--fs-16, 16px);
    text-decoration: underline;
    cursor: pointer;
}

.g-summary-edit {
    color: var(--primary-color);
}

.g-summary-remove {
    color: #a35b00;
}

/* ---- Request notes (Window_G3) -------------------------------------------
   One box per hotel block and one for the request as a whole. Both wear the same
   two classes: the per-hotel one is built by RenderGroupSummary inside a
   .g-summary-row, the general one is static markup in Groups.aspx sitting under
   the total card, so the only thing that differs is where they sit. The label
   deliberately does NOT reuse .g-summary-label: a second uppercase bar with a rule
   under Subtotal reads as a new section rather than as a field. */
.g-summary-notebox {
    margin-top: 14px;
}

.g-summary-notelabel {
    display: block;
    font-size: var(--fs-16, 16px);
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}

/* resize: vertical rather than the browser default of both - a horizontal drag
   pushes the textarea past .g-summary-row's padding, and the row has no overflow
   box to catch it. font-family: inherit is not optional either: a textarea does
   not inherit the page font on its own and would render in the UA monospace. */
.g-summary-note {
    width: 100%;
    min-height: 68px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    font-family: inherit;
    font-size: var(--fs-16, 16px);
    color: var(--black);
    background: #ffffff;
}

    /* The value every other placeholder on this page carries since section 155. */
    .g-summary-note::placeholder {
        color: var(--muted);
    }

/* maxlength stops typing dead at 500 with nothing on screen to say why, which reads as a
   broken keyboard rather than as a limit. Sits under the box at the label's own colour so it
   is chrome, not content. Written by UpdateGroupNoteCount in javascripts/groupshotels.js,
   which reads the limit off the textarea's maxlength - the number lives in the markup only. */
.g-summary-notecount {
    margin-top: 4px;
    text-align: right;
    font-size: var(--fs-16, 16px);
    color: var(--muted);
}

/* Window_G2 and Window_G3 footer pairs, harmonized with Individual's
   #btBackToHotels / #btnCheckOut - measured live there as 17px / 600 / ls 1.4 /
   uppercase / white on --primary-color / no border / 40px tall. Both buttons
   are solid; the outline left button was the last difference. Written as
   declarations, NOT by adding .btn-primary: that class carries an :after
   whose content is a > , which renders on a real button element, and both
   labels already carry a literal > - it would read SEND REQUEST > >.
   SCOPED PER WINDOW on purpose rather than written bare: the same two classes
   are also the cards' Select Hotel button and #GetPdfList, both on Window_G1,
   which are 16px and uppercase since session 125. Window_G2 joined the rule so its
   Back to hotels / Continue pair reads as the same control as W3's
   Add another hotel / Send Request.
   min-height rather than height - below 768 the labels wrap to two or three
   lines and a fixed 40 clipped them by 37px. At 320 W2's pair now stands 89px
   tall on three wrapped lines, exactly as W3's already did.
   THE :disabled RESTATEMENT BELOW IS LOAD-BEARING. #Window_G2 .bk-h-next-btn
   is (1,1,0) and .bk-h-next-btn:disabled is (0,2,0), so the id rule wins and
   W2's Continue - which ships disabled until a room quantity is entered - lost
   its grey. Measured #bdc3c7 before, #2b7da6 with the rule and no restatement,
   #bdc3c7 again with it. W3's Send is left alone: it is only ever disabled for
   the ~5s of the send, where the relabel is the signal. */
#Window_G2 .bk-h-back-btn,
#Window_G2 .bk-h-next-btn,
#Window_G3 .bk-h-back-btn,
#Window_G3 .bk-h-next-btn {
    min-height: 40px;
    padding: 6px 18px;
    border: none;
    color: #fff;
    background-color: var(--primary-color);
    font-size: var(--fs-16, 16px);   /* 17 until session 128; the Individual twin joined at 16 in 147 */
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

    #Window_G2 .bk-h-next-btn:disabled {
        background-color: #bdc3c7;
    }

/* The pair as a main and a second action (AAN ticket AAN27-31): the main one (Continue, Send) stays
   FILLED; the other (Back, Add Another Hotel) is the OUTLINE button Login uses - white,
   --secondary-color text and border, --primary-color on hover. */
#Window_G2 .bk-h-back-btn,
#Window_G3 .bk-h-back-btn {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: var(--white);
}
    #Window_G2 .bk-h-back-btn:hover,
    #Window_G3 .bk-h-back-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
/* Every filled .bk-h-next-btn darkens to --secondary-color on hover, like .btn-primary. The
   id-scoped copies are needed: #Window_G2, G3 and G4 .bk-h-next-btn outrank the bare rule. */
.bk-h-next-btn:hover:not(:disabled),
#Window_G2 .bk-h-next-btn:hover:not(:disabled),
#Window_G3 .bk-h-next-btn:hover:not(:disabled),
#Window_G4 .bk-h-next-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ---- Thank-you card, Window_G4 ---------------------------------------------
   The marketing request in docs/request/group-thank-you.html: a check badge, an
   eyebrow, the heading, the lead, then one structured row per piece of
   information, and an exit button this window did not have.

   NOT a port - it was the SOURCE. Unlike the .g-summary-* block above, which
   lifted Individual's .summary-box family, nothing of this shape existed
   anywhere in the repo when this was written: Individual's own #Window_4 was
   four plain sentences plus #btnBackToHomeScreen. So these values are the
   request's own, re-expressed in this site's tokens - and they have since gone
   the other way, to the .ind-thanks-* block in CSS/individual.css that drives
   #Window_4 there. Change one, decide about the other. That block's banner
   lists the four departures its own cascade forced on it; nothing here moved.

   THE PALETTE IS NOT THE REQUEST'S. Its :root defines --ink and --teal, two of
   the six undefined custom properties already open in this repo - a request
   document handing back our own bug as a palette, the second time running.
   Every colour below is defined in CSS/colors.css:
     --teal-600 #1f8aa6 -> --primary-color      --teal-100 #e7f3f6 -> --primary-color-10
     --ink      #182634 -> unmapped since the title went blue     --line     #e2e8ed -> --light-grey
   --light-grey rather than --border-box because .g-summary-row above already
   chose it: one border language across the flow.

   Sizes are on the font scale. The title renders at 18 - the size .bk-h-title and
   .card-content h3 carry on the listing - because the user asked it to match the
   hotel name, colour included. individual.css's twin now matches, so --fs-23 has no use.

   The button is the .bk-h-next-btn the flow already uses, restated to the same
   16/600/1.4/uppercase the #Window_G3 pair carries above, because that pair is
   scoped to #Window_G3 and does not reach here. Full width: it is the only
   control on the window, so there is nothing for it to sit beside - and .g-nav's
   below-480 overflow cannot reach a single button. */
.g-thanks {
    max-width: 540px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--light-grey);
    border-radius: 18px;
    box-shadow: 0 4px 18px var(--shadow-soft);
    padding: 44px 40px 40px;
    text-align: center;
}

.g-thanks-title {
    font-size: var(--fs-18, 18px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.g-thanks-lead {
    font-size: var(--fs-16, 16px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.6;
    margin: 0 0 28px;
}

.g-thanks-list {
    text-align: left;
    border-top: 1px solid var(--light-grey);
    margin-bottom: 28px;
}

.g-thanks-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--light-grey);
}

/* color, not stroke: the svgs paint with stroke="currentColor", so the tint
   is one declaration on the holder. The check badge that shared this was cut:
   the step rail already shows the tick. */
.g-thanks-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-color-10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

    .g-thanks-row b {
        display: block;
        font-size: var(--fs-16, 16px);
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 2px;
    }

    .g-thanks-row span {
        font-size: var(--fs-16, 16px);
        color: var(--black);
        line-height: 1.55;
    }

    /* The Need help row's email and phones: the site blue, not Bootstrap's link blue. */
    .g-thanks-row a {
        color: var(--primary-color);
    }

/* The Need help row's contact lines, one per line with an icon. Harmonized with
   individual.css #Window_4 .c-line - change one, decide about the other. */
#Window_G4 .c-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-16, 16px);
    margin: 6px 0 0;
    word-break: break-word;
}

    #Window_G4 .c-line svg {
        width: 15px;
        height: 15px;
        color: var(--primary-color);
        flex-shrink: 0;
    }

    #Window_G4 .c-line a {
        text-decoration: underline;
    }

#Window_G4 .bk-h-next-btn {
    width: 100%;
    min-height: 40px;
    padding: 6px 18px;
    border: none;
    font-size: var(--fs-16, 16px);
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* The request drew no narrow state. 44/40 of padding inside a 320 viewport
   leaves the text ~200px, so the chrome shrinks before the content does. */
@media (max-width: 480px) {
    .g-thanks {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }
}

/* ---- Room-step hotel detail, Window_G2 - phase 5.5 item 3 -------------------
   Ported from the .w2-* family in CSS/individual.css, where the same block
   styles Individual's Window_2_up. Re-locate it by string: .w2-wrapper.
   Harmonized, not shared - change one, decide about the other.

   This side is deliberately a SUBSET, and the differences are not design
   changes:

   1. The two img rules are not carried. Both photos are background-image
      divs; the img tags those rules target are commented out in the
      individual markup, so they have never applied on either page.
   2. The main photo's lightblue placeholder background is not carried.
   3. The individual copy wraps each photo in a layout div and puts the photo
      in a second div inside it. Here the layout div IS the photo, so the
      gallery is four elements rather than seven.
   4. The side column's two boxes are flex 1 over a 165px floor rather than a
      fixed 165px, so exterior plus map fill the main photo's height instead
      of stopping 35px short of it. The floor is what keeps them visible once
      the gallery stacks.
   5. flex-direction carries no !important here. Nothing in this sheet or in
      Bootstrap sets a row direction on these selectors.
   6. The narrow-width block is new. The individual copy keeps two 50% columns
      at every width, which leaves a 150px-wide map on a phone.
   ---------------------------------------------------------------------------- */
.w2-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 20px 0;
    width: 100%;
}

.w2-header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .w2-header h2 {
        font-size: var(--fs-28, 28px);
    }

.w2-address {
    margin-top: 4px;
    font-size: var(--fs-16, 16px);
    color: #555;
}

.w2-gallery {
    display: flex;
    gap: 20px;
}

.w2-gallery-main {
    width: 50%;
    min-height: 385px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.w2-gallery-side {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .w2-gallery-side > div {
        flex: 1;
        min-height: 165px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.w2-gallery-map {
    background: #eaeaea;
    overflow: hidden;
}

@media (max-width: 767px) {
    .w2-gallery {
        flex-direction: column;
    }

    .w2-gallery-main,
    .w2-gallery-side {
        width: 100%;
    }
}

/* ---- Availability calendar under the Window_G2 room cards --------------------
   Phase 5.5 item 4. Harmonized with CSS/individual.css, NOT shared - re-locate
   the originals there by string on .avail-table-horizontal. Change one side and
   decide about the other.

   Four departures from the individual copy, none of them a design change:

   1. .availability-table is a full-width flex item AND a scroll box. It sits
      as a direct child of .room-card, not inside .card-content-last-child, and
      a flex-basis of 100 percent drops the calendar onto its own line across
      the whole card. Before this it inherited the right-hand column width and
      left the larger part of the card empty. The scroller stays because one
      column per date is still wider than the card at narrow viewports. The
      individual copy keeps its table nested in the column and gives this div
      only the scroller at 1100 and above; from 577 to 1099 display contents on
      the column gives it this shape, and at 576 and below it wraps that whole
      column full width.
   2. .status is scoped to the table. The individual copy declares it bare, at
      document level, where it reaches anything on the page carrying the class.
   3. min-width of zero sits on .availability-table AND on
      #Window_G2 .card-content-last-child. A flex item will not shrink below
      its own content, so without it the CARD scrolls 158px at 320 instead of
      the table, while the page-level overflow check reads 0 throughout.
      CLAUDE.md pattern 1 in its flexbox form. The table needs its own copy now
      that it is a flex item in its own right rather than column content.
      Individual needed the pair after all - its cards stacking is not enough,
      because its .room-card is a flex row too. Both declarations are now in
      CSS/individual.css; the measured numbers are in the banner there.
   4. #Window_G2 .card-content-last-child is a wrapping flex row, so the price
      and the Rooms input sit side by side on one header line instead of
      stacked. Without it the full-width calendar makes the card TALLER, not
      shorter - measured on a reconstruction at a container width of 1272, the
      room-options block went from 409 to 441. With it, 404. The wrap is what
      keeps that free: laid out side by side the header needs about 415px, so
      below roughly 480 it would overflow the card, and wrapping drops it back
      to the stacked shape exactly where there is no room. Measured 0 card
      overflow at container widths of 320, 360, 480 and 768. Individual keeps
      the stacked column, so this is the second half of the divergence noted at
      the room-card banner.
   ---------------------------------------------------------------------------- */

.availability-table {
    flex-basis: 100%;
    min-width: 0;
    overflow-x: auto;
}

#Window_G2 .card-content-last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
    min-width: 0;
}

.avail-table-horizontal {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: var(--fs-14, 14px);
    color: var(--black);
}

    .avail-table-horizontal th,
    .avail-table-horizontal td {
        border: 1px solid #ddd;
        padding: 6px 4px;
        text-align: center;
        white-space: nowrap;
    }

    .avail-table-horizontal th {
        background: #f5f5f5;
        font-weight: 600;
    }

    .avail-table-horizontal .status {
        font-size: var(--fs-18, 18px);
    }

/* ---- .g-nav: pin the right-hand button, however many buttons are showing ----------------

   #btnGroupAddHotel hides at three hotels - re-locate it by string in groupshotels.js - and
   .g-nav's justify-content of space-between then parks the lone Send Request button on the
   LEFT edge. margin-left auto on the last child pins it right whether one button or two are
   showing, and leaves the two-button case exactly where it was.

   Measured against this sheet on the live page: with the Add button hidden, the gap from the
   Send button to the right edge goes 460px to 0, and the two-button rows do not move.

   This is NOT the two-declaration form the map offered - a justify-content of flex-end on
   .g-nav. That one also reaches Window_G2, which has no Add button to carry the companion
   margin, and it drags that window's Back to hotels button 335px to the right. */
.g-nav > :last-child {
    margin-left: auto;
}

/* ---- Hotel-listing view control: List / Map / Both (Window_G1) --------------------------

   Ported from CSS/individual.css - re-locate the originals by string: .hotel-view-bar,
   .view-option, #hotelMapWrapper, .combine-mode. HARMONIZED, NOT SHARED, like the block
   above: Groups must deploy with no Individual file. Change one side and decide about the
   other; CSS/individual.css carries the matching pointer back to here.

   The §110 banner above used to say the combine-mode map split was not ported because it
   belonged to UI the group flow did not have. The group flow has that UI now, and the
   sentence has been corrected to match.

   Five departures from a verbatim copy:

   1. The sort half IS ported - .hotel-view-left, .filter-label and .filter-select come across
      with it, so this is Individual's whole bar. Its .filter-select.selected rule carries
      three !important flags there and none here: that selector is (0,2,0) against
      .filter-select's (0,1,0) and nothing in Bootstrap targets either, so the flags win
      nothing. Measured on the live page with the class applied.
   2. Both stacks to one column below 768. Individual holds a hard 50/50 at every width; at
      360px that is two ~170px columns, the same shape as the room-card overflow that the
      availability block above exists to absorb. The straight 50/50 is a one-line change here
      if it is ever wanted.
   3. No !important anywhere. Individual flags .combine-mode's display and the 50% widths.
      Neither flag is needed: .combine-mode #mapHotelListGroup is (1,1,0) against the plain
      id rule's (1,0,0), and ChangeGroupView() clears the inline display with '' rather than
      leaving one behind for the class to fight. group.css holds at 19 real flags.
   4. .g-pin-card has no twin on Individual - that page's InfoWindow is a raw HTML string with
      an unclosed anchor. The button inside it is .bk-h-next-btn, already ported above.
   5. .filter-label and .filter-select are 16px here and 14px on Individual. Part of the
      session-125 pass that put every non-blue string in the group listing at 16px - the
      .bk-h-* banner earlier in this sheet carries the rest of it.
   --------------------------------------------------------------------------------------- */

.hotel-view-bar {
    display: flex;
    width: auto;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--light-grey);
    border-radius: 12px;
}

.hotel-view-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: var(--fs-16, 16px);
    font-weight: 600;
    color: #374151;
}

.filter-select {
    padding: 6px 10px;
    border: 1px solid var(--border-box);
    border-radius: 7px;
    font-size: var(--fs-16, 16px);
    background: white;
}

    .filter-select.selected {
        border: 1px solid var(--primary-color);
        outline: none;
        box-shadow: none;
    }

/* #GetPdfList sits in .hotel-view-left and has to match .filter-select's 33px; its own
   padding 10px plus line-height 21px makes it 43. Scoped on purpose - bare .bk-h-next-btn
   is also W2 Continue, W3 Send Request and the cards' Select Hotel. */
.hotel-view-bar .bk-h-next-btn {
    height: 33px;
    padding: 0 18px;
    font-size: var(--fs-16, 16px);   /* the bare rule went to 15 for the cards' button */
}

.hotel-view-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.view-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-16, 16px);
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

    .view-option input[type="radio"] {
        transform: scale(1.2);
        cursor: pointer;
    }

/* ONE box owns this step's width, and everything inside simply fills it. Before this the bar,
   the card list and the map each carried their own inset AND their own cap, so they drifted
   apart as the container grew: .bk-h-card stops at 1200 while the bar kept stretching, which
   left the cards short on the right by however much the container exceeded 1224 - 425px on a
   1649-wide container, and nothing at all at 1218, which is why a narrow probe could not see
   it. The cap and the 12px gutter live here now, once. 1224 is .bk-h-card's own 1200 plus the
   two gutters, so at a wide container the card's max-width is exactly the content width and
   is inert; below 1224 the box shrinks with the container and keeps the gutter.
   #mapHotelListGroup's own padding is switched off inside this step rather than edited at its
   source, which is the §110 port harmonized with #mapHotelList on Individual. Measured: bar,
   card and map land on the same two edges in List, Map and Both at 320 through 2560. */
/* #Window_G2 and #Window_G3 share this box so the three step cards are one width - they ran
   the container's full width before, 36px wider a side at 1718. User's call. */
#groupHotelListStep, #Window_G2, #Window_G3 {
    width: 100%;
    max-width: 1224px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
}

#groupHotelMapWrapper {
    width: 100%;
}

    #groupHotelListStep #mapHotelListGroup {
        padding: 0;
    }

/* Hidden here rather than with an inline style attribute, the same reason #Window_G2 above is:
   Groups.aspx is held at 3 inline style= in source. ChangeGroupView() in groupshotels.js
   writes the inline display that overrides this. No max-width: the wrapper's padding above is
   what sets this step's side edges, and a cap here on top of it would inset the map twice. */
#groupHotelMapAll {
    display: none;
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    overflow: hidden;
}

.combine-mode {
    display: flex;
    gap: 10px;
}

    .combine-mode #mapHotelListGroup,
    .combine-mode #groupHotelMapAll {
        width: 50%;
    }

    .combine-mode #mapHotelListGroup .bk-h-card .bk-h-image {
        width: 20%;
        height: auto;
    }

    /* Both view: price and button centred as a pair, not parted top and bottom (by request).
       16 plus the price block's own 12 renders 28 - the List view's 54 still read as parted.
       CSS/individual.css carries the same - change one, decide about the other. */
    .combine-mode .bk-h-right {
        justify-content: center;
        gap: 16px;
    }

/* The pin InfoWindow's card. Google paints the bubble; this is only its contents. */
.g-pin-card {
    font-family: var(--font-family);
    font-size: var(--fs-14, 14px);
    line-height: 1.5;
    min-width: 180px;
}

    .g-pin-card .bk-h-next-btn {
        margin-top: 8px;
    }

@media (max-width: 768px) {
    .hotel-view-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    /* Column layout here puts Sort, the select and the Download Hotel Listing button on one
       full-width row - 160px too wide at 320. Wrapping drops the button to its own line.
       Groups only: individual.css .hotel-view-left has no button inside it. */
    .hotel-view-left {
        flex-wrap: wrap;
    }

    .hotel-view-right {
        justify-content: space-between;
    }

    /* No Both on phones, by request. CSS/individual.css hides its Both the same way -
       change one, decide about the other. */
    .view-option:has(#radioGroupViewBoth) {
        display: none;
    }

    .combine-mode {
        flex-direction: column;
    }

        .combine-mode #mapHotelListGroup,
        .combine-mode #groupHotelMapAll {
            width: 100%;
        }
}

/* Below 400px #GetPdfList - DOWNLOAD HOTEL LISTING, 241px on one line - is wider than
   .hotel-view-left: cut off at 320, over the bar border at 375. An input button takes
   white-space: pre from the browser, so its label never wraps; normal lets it take two
   lines inside the bar. Groups only: individual.css .hotel-view-left has no button. */
@media (max-width: 400px) {
    .hotel-view-bar .bk-h-next-btn {
        white-space: normal;
        height: auto;
        min-height: 33px;
        max-width: 100%;
        padding: 6px 18px;
    }
}
/* ---- Read-only date strip, Window_G1 and Window_G2 --------------------------------------
   .grayed-out is ported from CSS/individual.css, where it sits beside .bk-h-next-btn:disabled
   and marks that page own disabled Check In / Check Out pair on Window_2. Harmonized, not
   shared - change one, decide about the other.
   .g-dates replaces the Bootstrap .row that the Individual markup uses. A row outside
   .form-wrapper is out of reach of the scoped .form-wrapper .row rule, and Bootstrap own .row
   leaves the two fields flush and adds negative side gutters, so this rule carries the layout.
   flex-wrap is what lets the pair stack: the max-width 767px block above hands
   .form-wrapper-item-input-wrapper a hard 350px, which two of cannot sit side by side. */
.grayed-out {
    border: 1px solid var(--light-grey);
}

    /* The gray of the read-only W2 pair comes from the disabled attribute, exactly as
       the Groups.aspx comment above G1Dates says - NOT from .grayed-out, which W1's
       EDITABLE pair carries too and which contributes only the border. That gray had
       never arrived: .field input's colour and .form-control:disabled's white fill
       both beat the UA's own disabled styling, so the W2 pair measured pixel-identical
       to the editable W1 pair. Only the DATE VALUE greys - the Check In / Check Out
       label and the calendar icon keep their normal colours by instruction, so neither
       is in these selectors and neither needs :has to reach it. The wrapper still needs
       :has, because the cursor belongs to the box, not to the input. The box itself
       stays white - just the date greys, so the old f1f1f1 fill went too.
       Verified on a probe carrying BOTH pairs with .grayed-out on all four wrappers:
       W2's input moves, W2's label and icon do not, and W1 moves on nothing.
       Harmonized with CSS/individual.css, which carries the same pair for its Window_2
       read-only dates - change one, decide about the other. */
    .form-wrapper-item-input-wrapper:has(input:disabled) {
        cursor: not-allowed;
    }

    .field input:disabled {
        color: var(--muted);
        background: transparent;
        cursor: not-allowed;
    }

.g-dates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* ---- Step lead paragraph, Window_G3 ----------------------------------------------------
   The one line of prose under the W3 step title. It rendered with margin 0 at the full
   1272px container width, so it overhung the card it introduces by 36px a side and sat
   flush against its top edge. It now starts on that card's left content edge and clears
   30px below it. The 27px is .form-wrapper-section 26px padding plus its 1px border - if
   either changes, so does it.
   Session 125 deleted W1's title and lead and took the #Window_G1 > .fs-6 rule with them;
   session 128 deleted W2's rates line and #Window_G2 .fs-6 the same way, so W3 is the only
   lead left. Nothing on CSS/individual.css matches this - it has no lead line at all. */
#Window_G3 > .fs-6 {
    margin: 0 0 30px;
    padding: 0 27px;
    box-sizing: border-box;
}

/* ---- Sticky footer ---------------------------------------------------------------------
   Harmonized with the last two rules of CSS/individual.css - change one, decide about the
   other. That sheet's note said Groups is always taller than the viewport; the group
   request flow made that false. javascripts/groups.js hides #MainContentPage1 the moment
   Submit is clicked, collapsing the document from ~2689px to ~956px for the length of the
   AJAX call, and every ShowGroupWindow switch shrinks it too. Above a 956px viewport the
   footer landed mid-screen with the rest of the window blank below it.
   Measured ON/OFF at 768 / 900 / 1000 / 1271 / 1440: blank space below the footer goes to 0
   at every height, and in the tall state the footer's rect is unchanged - the only diff on
   the whole resting page is this rule's own position and top, at scroll 0 and scrolled.
   Do not substitute the body-flex idiom - see individual.css for why it is barred there. */
body {
    min-height: 100vh;
}

body > footer {
    position: sticky;
    top: 100vh;
}
