.gai-attendee-lodging-page > .gai-manual-staff-arrange-options,
.gai-attendee-lodging-active > .gbrf-embedded-lodging,
.gai-attendee-lodging-active > .gai-picker-launch {
    display: none !important;
}

.gai-attendee-lodging {
    --lodging-border: #d7e3dd;
    --lodging-accent: #173f35;
    color: #203b34;
}

.gai-attendee-lodging .gai-lodging-heading,
.gai-attendee-lodging .gai-lodging-counts,
.gai-attendee-lodging .gai-lodging-attendee-nav,
.gai-attendee-lodging .gai-lodging-staff-banner,
.gai-attendee-lodging .gai-lodging-bed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#gbrf-precheckout-modal .gai-attendee-lodging h3,
#gbrf-precheckout-modal .gai-lodging-picker-header h3 {
    margin: 0 0 8px;
    padding: 0;
    font: 700 20px/1.3 Georgia, "Times New Roman", serif !important;
    color: #173f35;
}

#gbrf-precheckout-modal [data-gbrf-step-position] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.gai-attendee-lodging p { margin: 0; padding: 0; }
.gai-attendee-lodging .gai-lodging-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
}
.gai-attendee-lodging .gai-lodging-progress-track {
    position: relative;
    display: flex;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 10px;
}
.gai-attendee-lodging .gai-lodging-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}
.gai-attendee-lodging .gai-lodging-progress-segment {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 3px;
    background: #d7e3dd;
}
.gai-attendee-lodging .gai-lodging-progress-assigned { background: #24594e; }
.gai-attendee-lodging .gai-lodging-progress-skipped { background: #b42318; }
.gai-attendee-lodging .gai-lodging-progress-current {
    outline: 2px solid #203b34;
    outline-offset: 1px;
}
.gai-attendee-lodging .gai-lodging-progress-count {
    flex: 0 0 auto;
    color: #52675f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.gai-attendee-lodging .gai-lodging-heading { margin-bottom: 14px; flex-wrap: wrap; }
.gai-attendee-lodging .gai-lodging-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    min-width: 0;
}
#gbrf-precheckout-modal .gai-lodging-title-row h3 { margin: 0; }
#gbrf-precheckout-modal .gai-lodging-title-row button { padding: 8px 12px; font-size: 13px; }
.gai-lodging-assignment-list { display: grid; gap: 12px; list-style: none !important; margin: 0; padding: 0 !important; }
.gai-lodging-assignment-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--lodging-border);
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
}
.gai-lodging-assignment-name { display: block; margin-bottom: 6px; }
.gai-lodging-assignment-item p { margin: 0; padding: 0; }
.gai-attendee-lodging .gai-lodging-heading p { color: #52675f; }
.gai-attendee-lodging .gai-lodging-counts { flex-wrap: wrap; gap: 6px; }
.gai-attendee-lodging .gai-lodging-badge {
    display: inline-block;
    border-radius: 20px;
    padding: 5px 10px;
    background: #e8f1fa;
    color: #244e75;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.gai-attendee-lodging .gai-lodging-staff { background: #e4f2ef; color: #24594e; }
.gai-attendee-lodging .gai-lodging-pending { background: #fff0d0; color: #795310; }
.gai-attendee-lodging .gai-lodging-attendee-nav {
    position: sticky;
    top: -21px;
    z-index: 3;
    padding: 10px;
    border: 1px solid var(--lodging-border);
    border-radius: 0 0 9px 9px;
    background: #fff !important;
    isolation: isolate;
    box-shadow: 0 3px 12px rgb(25 54 43 / 6%);
}
.gai-attendee-lodging .gai-lodging-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 108px;
    font-size: 17px;
    line-height: 1;
}
.gai-attendee-lodging .gai-lodging-identity {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    min-width: 0;
}
.gai-attendee-lodging .gai-lodging-identity-name {
    color: #173f35;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}
.gai-attendee-lodging .gai-lodging-bed-type > .gai-bed-share-chooser { margin: 0 0 12px; }
.gai-attendee-lodging .gai-lodging-staff-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    padding: 4px 0;
}
.gai-attendee-lodging .gai-lodging-staff-banner label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: 100%;
    min-height: 40px;
    padding: 4px 0;
    color: #52675f;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.gai-attendee-lodging .gai-lodging-staff-banner input { width: 18px; height: 18px; accent-color: var(--lodging-accent); flex-shrink: 0; }
.gai-attendee-lodging .gai-lodging-staff-help { position: static; }
.gai-attendee-lodging .gai-lodging-staff-help-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 1px solid #cbd8d0;
    border-radius: 50%;
    color: #64766d;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}
.gai-attendee-lodging .gai-lodging-staff-help-toggle:hover {
    border-color: #8da99a;
    color: #203b34;
    background: #f2f6f3;
}
.gai-attendee-lodging .gai-lodging-staff-help-popover {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, calc(100vw - 64px));
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7e3dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgb(10 30 24 / 14%);
    color: #52675f;
    font-size: 13px;
    line-height: 1.45;
}
.gai-attendee-lodging .gai-lodging-staff-help-popover[hidden] { display: none !important; }
.gai-attendee-lodging .gai-lodging-selections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.gai-lodging-room-chooser-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gai-lodging-room-chooser-header p { margin: 0; }
.gai-lodging-room-action { margin-left: auto; font-size: 13px; font-weight: 600; }
.gai-lodging-selected-badge { color: #173f35; font-weight: 700; }
.gai-attendee-lodging .gai-lodging-selection,
.gai-attendee-lodging .gai-lodging-beds {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--lodging-border);
    border-radius: 9px;
    background: #fff;
}
#gbrf-precheckout-modal .gai-attendee-lodging .gai-lodging-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 8px;
    background: #fff;
    color: #203b34;
    font-weight: 400;
}
.gai-attendee-lodging .gai-lodging-choice-copy { display: grid; gap: 4px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
#gbrf-precheckout-modal .gai-lodging-photo-button {
    flex: 0 0 88px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
#gbrf-precheckout-modal .gai-lodging-select-button {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding: 8px;
    text-align: left;
    background: #fff;
    color: #203b34;
}
.gai-attendee-lodging .gai-lodging-choice-copy > span { color: #52675f; font-size: 12px; }
.gai-attendee-lodging .gai-lodging-thumbnail {
    display: block;
    flex: 0 0 88px;
    width: 88px;
    height: 62px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf3ee;
}
.gai-attendee-lodging .gai-lodging-placeholder { text-align: center; line-height: 62px; color: #7b9286; font-size: 30px; }
.gai-attendee-lodging .gai-lodging-arrow { font-size: 25px; margin-left: auto; }
.gai-attendee-lodging .gai-lodging-choices { display: grid; gap: 8px; margin-top: 10px; max-height: 400px; overflow-y: auto; padding: 2px; }
.gai-attendee-lodging .gai-lodging-beds { margin-top: 14px; }
.gai-attendee-lodging .gai-lodging-bed-row { padding: 12px 0; border-bottom: 1px solid #edf1ee; }
.gai-attendee-lodging .gai-lodging-bed-row > strong { flex: 1; }
.gai-attendee-lodging .gai-lodging-bed-row > span { font-size: 13px; color: #52675f; }
#gbrf-precheckout-modal .gai-attendee-lodging .gai-lodging-assign { min-width: 126px; color: #fff; border-color: #173f35; background: #173f35; }
.gai-attendee-lodging .gai-lodging-current {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: -4px 0 10px;
    font-size: 16px;
}
.gai-attendee-lodging .gai-lodging-current-label {
    color: #52675f;
    font-size: 15px;
    font-weight: 700;
}
.gai-attendee-lodging .gai-lodging-current-bed {
    color: #173f35;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}
.gai-attendee-lodging .gai-lodging-current-location {
    color: #52675f;
    font-size: 15px;
}
.gai-attendee-lodging .gai-lodging-current-sharing {
    color: #24594e;
    font-size: 15px;
    font-weight: 600;
}
.gai-lodging-picker-overlay {
    --lodging-border: #d7e3dd;
    --lodging-accent: #173f35;
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    padding: 12px 28px 12px 12px;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    background: #f8fbf8;
    color: #203b34;
}
.gai-lodging-picker-header {
    position: sticky;
    top: -12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -12px 0 0 -12px;
    padding: 12px;
    border-bottom: 1px solid var(--lodging-border);
    background: #f8fbf8;
}
#gbrf-precheckout-modal .gai-lodging-picker-header h3 {
    margin: 0;
}
#gbrf-precheckout-modal .gai-lodging-picker-header button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 12px;
}
.gai-lodging-picker-content { min-width: 0; }
#gbrf-precheckout-modal .gai-lodging-picker-content .gai-lodging-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px;
    background: #fff;
    color: #203b34;
    font-weight: 400;
    text-align: left;
}
.gai-lodging-picker-content .gai-lodging-choice-copy {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.gai-lodging-picker-content .gai-lodging-choice-copy > span {
    color: #52675f;
    font-size: 12px;
}
.gai-lodging-picker-content .gai-lodging-thumbnail {
    display: block;
    flex: 0 0 88px;
    width: 88px;
    height: 62px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf3ee;
}
.gai-lodging-picker-content .gai-lodging-placeholder {
    color: #7b9286;
    font-size: 30px;
    line-height: 62px;
    text-align: center;
}
.gai-lodging-picker-content .gai-lodging-arrow {
    margin-left: auto;
    font-size: 25px;
}
.gai-lodging-picker-content .gai-lodging-choices {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    max-height: none;
    overflow: visible;
    padding: 2px;
}
.gai-lodging-picker-content .gai-lodging-beds {
    min-width: 0;
    margin-top: 0;
    padding: 14px;
    border: 1px solid var(--lodging-border);
    border-radius: 9px;
    background: #fff;
}
.gai-lodging-picker-content .gai-lodging-bed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1ee;
}
.gai-lodging-picker-content .gai-lodging-bed-row > strong { flex: 1; }
.gai-lodging-picker-content .gai-lodging-bed-row > span { color: #52675f; font-size: 13px; }
#gbrf-precheckout-modal .gai-lodging-picker-content .gai-lodging-assign {
    min-width: 126px;
    color: #fff;
    border-color: #173f35;
    background: #173f35;
}
.gai-lodging-picker-content .gai-lodging-current {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: -4px 0 10px;
    font-size: 16px;
}
.gai-lodging-picker-content .gai-lodging-current-label { color: #52675f; font-size: 15px; font-weight: 700; }
.gai-lodging-picker-content .gai-lodging-current-bed { color: #173f35; font-size: 19px; font-weight: 700; line-height: 1.3; }
.gai-lodging-picker-content .gai-lodging-current-location { color: #52675f; font-size: 15px; }
.gai-lodging-picker-content .gai-lodging-current-sharing { color: #24594e; font-size: 15px; font-weight: 600; }
.gai-attendee-lodging [hidden] { display: none !important; }
@media (max-width: 760px) {
    .gai-attendee-lodging .gai-lodging-selections { grid-template-columns: minmax(0, 1fr); }
    .gai-attendee-lodging .gai-lodging-staff-banner { justify-content: center; }
    .gai-attendee-lodging .gai-lodging-nav-button { min-width: 88px; font-size: 15px; }
    .gai-attendee-lodging .gai-lodging-identity-name { font-size: 18px; }
    #gbrf-precheckout-modal .gai-attendee-lodging .gai-lodging-attendee-nav button { padding: 8px; }
    .gai-attendee-lodging .gai-lodging-bed-row { flex-wrap: wrap; gap: 8px; }
    .gai-attendee-lodging .gai-lodging-bed-row > strong { flex-basis: calc(100% - 110px); }
    #gbrf-precheckout-modal .gai-attendee-lodging .gai-lodging-assign { width: 100%; }
    .gai-lodging-picker-content .gai-lodging-bed-row { flex-wrap: wrap; gap: 8px; }
    .gai-lodging-picker-content .gai-lodging-bed-row > strong { flex-basis: calc(100% - 110px); }
    #gbrf-precheckout-modal .gai-lodging-picker-content .gai-lodging-assign { width: 100%; }
}
@media (max-width: 540px) {
    .gai-attendee-lodging .gai-lodging-attendee-nav { top: -17px; }
}

.gai-event-resource-selector {
    margin: 24px 0;
    font-family: inherit;
    box-sizing: border-box;
}

.gai-event-resource-selector * {
    box-sizing: border-box;
}

.gai-field-validation {
    display: block;
    flex-basis: 100%;
    color: #b91c1c;
    font-size: 13px;
}

.gai-card[role="button"]:focus-visible {
    outline: 2px solid #173f35;
    outline-offset: 3px;
}

.gai-selector-header {
    margin-bottom: 16px;
    border-bottom: 1px solid #d7e3dd;
}

.gai-selector-workflow-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d7e3dd;
}

.gai-selector-title {
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.3;
    color: #52665d;
    margin: 0 0 6px 0 !important;
}

.gai-selector-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #173f35;
    line-height: 1.3;
}

.gai-selector-step-label {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 4px;
    background: #173f35;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.gai-selector-step-instruction {
    font-size: 16px;
    font-weight: 700;
}

.gai-selector-booking-mode-wrap {
    margin-bottom: 16px;
}

.gai-selector-booking-mode-wrap label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

.gai-room-preference-wrap {
    display: none;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.gai-room-preference-title {
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
}

.gai-room-preference-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.gai-room-preference-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gai-room-preference-option:has(input:checked) {
    border-color: #173f35;
    background: #f4f8f6;
    box-shadow: 0 0 0 1px #173f35;
}

.gai-room-preference-option input {
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: #173f35;
}

.gai-room-preference-option span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gai-room-preference-option strong {
    color: #1e293b;
    font-size: 12px;
}

.gai-room-preference-option small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 540px) {
    .gai-room-preference-options {
        grid-template-columns: 1fr;
    }
}

.gai-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.gai-card {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gai-card:hover:not(.gai-card-disabled) {
    border-color: #173f35;
    box-shadow: 0 4px 12px rgba(23, 63, 53, 0.1);
}

.gai-card.gai-card-selected {
    border-color: #173f35;
    background: #f4f8f6;
    box-shadow: 0 0 0 2px #173f35;
}

.gai-card.gai-card-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.gai-card-image-wrap {
    width: 100%;
    height: 120px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gai-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gai-card-placeholder-image {
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.gai-card-placeholder-image svg {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    fill: currentColor;
}

.gai-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #173f35;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.gai-card-badge-same-building {
    background: #0284c7;
}

.gai-card-badge-overflow {
    background: #d97706;
}

.gai-card-badge-full {
    background: #b91c1c;
}

.gai-card-gallery-button {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 1;
    border: 0;
    border-radius: 14px;
    padding: 5px 9px;
    background: rgb(23 63 53 / 92%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.gai-card-gallery-button:hover,
.gai-card-gallery-button:focus-visible {
    background: #0f2e26;
    color: #fff;
}

.gai-building-gallery-dialog {
    width: min(900px, calc(100vw - 32px));
    max-width: 900px;
    max-height: calc(100vh - 32px);
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #203b34;
    margin: auto;
    overscroll-behavior: contain;
}

.gai-building-gallery-dialog::backdrop {
    background: rgb(0 0 0 / 76%);
}

.gai-building-gallery-dialog-content {
    display: grid;
    gap: 10px;
}

.gai-building-gallery-dialog-image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 110px);
    object-fit: contain;
}

.gai-building-gallery-dialog-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gai-building-gallery-dialog-controls button {
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #173f35;
    border-radius: 5px;
    background: #fff;
    color: #173f35;
    cursor: pointer;
}

.gai-building-gallery-dialog-controls button:disabled {
    opacity: .5;
    cursor: default;
}

.gai-building-gallery-dialog-caption {
    min-width: 48px;
    margin: 0;
    text-align: center;
}
@media (max-width: 760px) {
    .gai-building-gallery-dialog {
        width: 100vw;
        max-width: none;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }
    .gai-building-gallery-dialog-content {
        height: 100%;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }
    .gai-building-gallery-dialog-image {
        height: 100%;
        min-height: 0;
        max-height: none;
    }
}

.gai-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gai-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.gai-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.gai-card-beds {
    margin: 0 0 8px;
    color: #475569;
    font-size: 11px;
    line-height: 1.4;
}

.gai-card-beds-title {
    display: block;
    margin-bottom: 5px;
    color: #334155;
    font-weight: 700;
}

.gai-bed-availability-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.gai-bed-availability-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 6px;
    border: 1px solid #d7e3dd;
    border-radius: 4px;
    background: #f4f8f6;
    white-space: nowrap;
}

.gai-bed-availability-label {
    color: #475569;
}

.gai-bed-availability-count {
    color: #173f35;
    font-size: 11px;
    font-weight: 800;
}

.gai-card-amenities {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.gai-amenity-tag {
    font-size: 11px;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.gai-card-pricing {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #173f35;
}

.gai-overflow-banner {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #92400e;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gai-shared-dorm-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 12px;
    color: #166534;
    font-size: 12px;
}

.gai-bed-types-selection {
    margin-top: 14px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gai-bed-types-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.gai-assignment-progress {
    margin: 0 0 12px;
}

.gai-assignment-progress-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #d7e3dd;
    border-radius: 5px;
    background: #f4f8f6;
    color: #173f35;
    font-size: 12px;
}

.gai-assignment-progress-summary span {
    color: #64748b;
}

.gai-assignment-progress-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.gai-assignment-progress-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 4px 7px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 11px;
}

.gai-assignment-progress-item.is-assigned {
    border-color: #86b89e;
    background: #f0fdf4;
    color: #166534;
}

.gai-assignment-progress-item.is-pending {
    border-color: #f0c36d;
    background: #fffbeb;
    color: #92400e;
}

.gai-assignment-progress-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gai-selector-validation {
    display: none;
    margin-bottom: 10px;
    padding: 9px 10px;
    border-left: 3px solid #d97706;
    background: #fffbeb;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
}

.gai-bed-type-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gai-bed-type-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.gai-bed-type-option:hover {
    border-color: #173f35;
}

.gai-bed-type-option.gai-card-disabled,
.gai-bed-type-option.gai-card-disabled:hover {
    cursor: not-allowed !important;
    opacity: 0.5;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.gai-bed-type-option.gai-bed-selected {
    border-color: #173f35;
    background: #f4f8f6;
}

.gai-bed-type-name {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.gai-bed-occupancy-description {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
    font-style: italic;
}

.gai-occupancy-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.42);
}

.gai-occupancy-modal-panel {
    width: min(420px, 100%);
    padding: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.22);
}

.gai-occupancy-modal-panel h3 {
    margin: 0 0 8px;
    color: #173f35;
    font-size: 18px;
}

.gai-occupancy-modal-panel p {
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.gai-occupancy-alone-notice[hidden] {
    display: none;
}

.gai-occupancy-alone-notice {
    margin: 12px 0 0;
    color: #9f1239;
    font-size: 13px;
    line-height: 1.45;
}

.gai-occupancy-alone-trigger {
    display: inline-flex;
    cursor: not-allowed;
}

.gai-occupancy-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gai-occupancy-modal-actions button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #173f35;
    border-radius: 4px;
    background: #173f35;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gai-occupancy-modal-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    pointer-events: none;
}

.gai-occupancy-modal-actions .gai-occupancy-modal-cancel {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.gai-occupancy-modal-actions .gai-occupancy-modal-clear {
    border-color: #b91c1c;
    background: #ffffff;
    color: #b91c1c;
}

.gai-share-picker-panel {
    max-width: 480px;
}

.gai-share-attendee-list {
    display: grid;
    gap: 7px;
    margin: 0 0 16px;
}

.gai-share-attendee-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid #d7e3dd;
    border-radius: 5px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
}

.gai-share-attendee-option.is-current {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
}

.gai-share-attendee-option.is-unavailable {
    color: #64748b;
    opacity: 0.72;
}

.gai-share-attendee-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
}

.gai-share-picker-empty {
    margin: 0 0 16px;
    padding: 9px 10px;
    border: 1px solid #fde68a;
    border-radius: 5px;
    background: #fffbeb;
    color: #92400e;
    font-size: 13px;
}

.gai-attendee-bed-label-locked {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 5px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
}

.gai-attendee-bed-label-locked .gai-attendee-bed-status {
    flex: 1 1 auto;
}

.gai-shared-leave-button {
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #166534;
    border-radius: 4px;
    background: #ffffff;
    color: #166534;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.gai-shared-leave-button:hover,
.gai-shared-leave-button:focus-visible {
    background: #dcfce7;
}

.gai-bed-type-surcharge {
    font-size: 12px;
    font-weight: 600;
    color: #173f35;
}

.gai-step-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.gai-step-summary:hover {
    border-color: #94a3b8;
}

.gai-step-summary-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1e293b;
}

.gai-step-summary-title {
    font-weight: 700;
    color: #173f35;
}

.gai-step-summary-detail {
    font-size: 13px;
    color: #475569;
}

.gai-btn-change {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #173f35 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    line-height: 1.4 !important;
}

.gai-btn-change:hover {
    background: #173f35 !important;
    color: #ffffff !important;
    border-color: #173f35 !important;
}

.gai-roommate-request-wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #475569;
}

.gai-attendee-allocation {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
}

.gai-allocation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 13px;
}

.gai-allocation-current {
    color: #173f35;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.gai-allocation-summary {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
}

.gai-allocation-summary strong {
    color: #173f35;
}

.gai-attendee-allocation .gai-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.gai-attendee-allocation .gai-card-image-wrap {
    height: 72px;
}

.gai-attendee-allocation .gai-card-body {
    padding: 8px;
}

.gai-attendee-allocation .gai-card-title {
    font-size: 12px;
}

.gai-attendee-allocation .gai-card-meta {
    font-size: 11px;
    margin-bottom: 0;
}

.gai-allocation-bed-options {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.gai-allocation-bed-title {
    margin-bottom: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.gai-event-registration {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
}

.gai-lodging-picker.gai-picker-ready:not([open]),
.gai-picker-launch[hidden] {
    display: none;
}

.gai-lodging-picker {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #173f35;
    font-family: Arial, sans-serif;
}

.gai-lodging-picker[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.gai-lodging-picker::backdrop {
    background: #173f35;
}

@media (min-width: 981px) {
    .gai-lodging-picker.gai-picker-ready {
        width: min(640px, calc(100% - 64px));
        height: min(900px, calc(100vh - 64px));
        height: min(900px, calc(100dvh - 64px));
        margin: auto;
        border: 1px solid #d7e3dd;
        border-radius: 12px;
        box-shadow: 0 24px 80px rgb(0 0 0 / 30%);
    }

    .gai-lodging-picker.gai-picker-ready::backdrop {
        background: rgb(15 35 29 / 65%);
    }
}

.gai-picker-header,
.gai-picker-footer {
    padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
    background: #f4f8f6;
}

.gai-picker-header {
    padding-top: max(12px, env(safe-area-inset-top));
    border-bottom: 1px solid #d7e3dd;
}

.gai-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid #d7e3dd;
}

.gai-picker-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gai-picker-heading h2 {
    margin: 0;
    padding: 0;
    font: 700 22px/1.2 Arial, sans-serif !important;
    color: #173f35;
}

.gai-picker-close,
.gai-picker-done {
    flex-shrink: 0;
    white-space: nowrap;
}

.gai-picker-body {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px max(16px, calc((100% - 1000px) / 2));
    scroll-padding: 16px;
}

.gai-picker-header p,
.gai-picker-footer p {
    margin: 4px 0;
    padding: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.gai-picker-summary {
    overflow-wrap: anywhere;
}

.gai-picker-attendees label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.gai-picker-attendee-select {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    background: #fff;
    color: #173f35;
}

.gai-lodging-picker button,
.gai-lodging-picker select,
.gai-lodging-picker summary,
.gai-picker-open {
    min-height: 44px;
    min-width: 44px;
}

.gai-lodging-picker button,
.gai-picker-open {
    border: 1px solid #9bb8aa;
    border-radius: 6px;
    padding: 8px 12px;
    background: #fff;
    color: #173f35;
    cursor: pointer;
    font: 600 14px/1.3 Arial, sans-serif;
    overflow-wrap: anywhere;
}

.gai-lodging-picker button:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

.gai-lodging-picker .gai-picker-done,
.gai-picker-open {
    background: #173f35;
    color: #fff;
}

.gai-lodging-picker :focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.gai-picker-header .gai-selector-workflow-header {
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.gai-picker-path {
    color: #52665d;
}

.gai-picker-header .gai-selector-step-label {
    display: none;
}

.gai-lodging-picker .gai-bed-types-title,
.gai-lodging-picker .gai-room-plan-attendee-count,
.gai-lodging-picker .gai-assignment-progress {
    display: none;
}

.gai-lodging-picker .gai-card-title {
    font: 700 18px/1.3 Arial, sans-serif !important;
}

.gai-lodging-picker .gai-bed-type-assignment-actions {
    grid-template-columns: minmax(0, 1fr);
}

.gai-bed-category {
    min-width: 0;
    border-bottom: 1px solid #d7e3dd;
    padding: 12px 0;
}

.gai-bed-category-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
}

.gai-bed-category-name {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.gai-bed-category-availability {
    grid-column: 1;
    color: #52665d;
    font-size: 13px;
}

.gai-bed-category-heading .gai-bed-type-assign-button {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 44px;
    max-width: 150px;
    background: #173f35;
    color: #fff;
    justify-content: center;
}

.gai-bed-category-heading .gai-bed-type-assign-button span {
    color: inherit;
    font-size: 13px;
}

.gai-bed-category-heading .gai-bed-type-assign-button:hover:not(:disabled) {
    background: #245747;
}

.gai-bed-unit-occupants {
    margin-top: 8px;
    padding: 6px 10px;
    border-left: 3px solid #d7e3dd;
}

.gai-bed-unit-occupants small {
    color: #52665d;
}

.gai-lodging-picker .gai-bed-type-assignment-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.gai-room-manage summary {
    cursor: pointer;
    padding: 10px 4px;
}

.gai-room-bed-wizard-block > summary {
    cursor: pointer;
}

.gai-room-bed-wizard-block > .gai-room-bed-wizard-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.gai-room-bed-wizard-block[open] > .gai-room-bed-wizard-title::before {
    transform: rotate(45deg);
}

.gai-lodging-picker .gai-room-bed-wizard-title-main {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gai-lodging-picker .gai-room-bed-wizard-attendees {
    flex-basis: 100%;
}

.gai-lodging-picker .gai-room-bed-wizard-block {
    line-height: 1.4;
}

.gai-lodging-picker .gai-bed-type-assignment-board {
    margin: 0;
}

.gai-lodging-picker .gai-bed-type-assignment-empty {
    margin: 8px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
}

.gai-picker-inline[open] {
    position: static;
    height: auto;
    overflow: visible;
}

/* Keep progressive room stages scannable as the group grows. */
.gai-room-bed-wizard-block {
    padding: 10px !important;
    margin-bottom: 10px !important;
}

.gai-room-bed-wizard-block > div:first-child {
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    font-size: 13px !important;
}

.gai-room-bed-wizard-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.gai-room-bed-wizard-title-main {
    color: #173f35;
    font-weight: 700;
}

.gai-room-bed-wizard-title-main small {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.gai-room-bed-wizard-attendees {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.gai-bed-type-assignment-board {
    display: grid;
    gap: 9px;
    margin: 8px 0 10px;
}

.gai-bed-type-assignment-attendees {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 12px;
}

.gai-bed-type-assignment-board:has(.gai-bed-type-assign-button-full):not(:has(.gai-bed-type-assign-button:not(.gai-bed-type-assign-button-full))) .gai-bed-type-assignment-attendees {
    display: none;
}

.gai-bed-type-assignment-attendees-label {
    font-weight: 700;
}

.gai-bed-type-assignment-attendee {
    min-height: 26px;
    padding: 3px 8px;
    border: 1px solid #9bb8aa;
    border-radius: 5px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.gai-bed-type-assignment-attendee:hover {
    border-color: #173f35;
}

.gai-bed-type-assignment-attendee-selected,
.gai-bed-type-assignment-attendee-selected:hover {
    border-color: #173f35;
    background: #173f35;
    color: #ffffff;
}

.gai-bed-type-assignment-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 8px;
}

.gai-bed-type-assign-button {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #9bb8aa;
    border-radius: 6px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    text-align: left;
}

.gai-bed-type-assign-button:hover:not(:disabled) {
    border-color: #173f35;
    background: #f4f8f6;
}

.gai-bed-type-assign-button strong {
    color: #0f2f28;
    font-size: 22px;
    line-height: 1;
}

.gai-bed-type-assign-button span {
    color: #52665d;
    font-size: 11px;
    font-weight: 700;
}

.gai-bed-type-assign-name {
    color: #173f35 !important;
    font-size: 12px !important;
}

.gai-bed-type-assign-button:disabled,
.gai-bed-type-assign-button-full {
    border-color: #d7e3dd;
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

.gai-bed-type-assign-button:disabled strong,
.gai-bed-type-assign-button:disabled span {
    color: #64748b !important;
}

.gai-bed-type-assignment-list {
    display: grid;
    gap: 5px;
    padding-top: 2px;
}

.gai-bed-share-chooser {
    display: grid;
    gap: 9px;
    padding: 10px;
    border: 1px solid #9bb8aa;
    border-radius: 6px;
    background: #f4f8f6;
}

.gai-bed-share-chooser-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #173f35;
    font-size: 12px;
}

.gai-bed-share-chooser-close {
    width: 26px;
    height: 26px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    line-height: 1;
}

.gai-bed-share-chooser-actions {
    display: grid;
    grid-template-columns: minmax(120px, 0.4fr) minmax(180px, 1fr);
    gap: 8px;
}

.gai-bed-share-choice {
    padding: 7px 9px;
    border: 1px solid #9bb8aa;
    border-radius: 5px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.gai-bed-share-choice:hover:not(:disabled) {
    border-color: #173f35;
}

.gai-bed-share-picker {
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid #d7e3dd;
    border-radius: 5px;
    background: #ffffff;
}

.gai-bed-share-picker p {
    margin: 0;
    color: #475569;
    font-size: 12px;
}

.gai-bed-share-picker label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 12px;
}

.gai-bed-type-assignment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border-left: 3px solid #9bb8aa;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
}

.gai-bed-type-assignment-text {
    min-width: 0;
}

.gai-bed-type-assignment-remove {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8a3b2f;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
}

.gai-bed-type-assignment-remove:hover {
    color: #6f261d;
}

.gai-bed-type-assignment-empty {
    color: #64748b;
    font-style: italic;
}

.gai-purchase-assignment-note {
    display: inline-block;
    max-width: 100%;
    margin: 8px 0 8px 12px;
    color: #78350f;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.gai-purchase-assignment-note[hidden] {
    display: none;
}

form.cart .single_add_to_cart_button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gai-room-add-actions-panel {
    margin-top: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.gai-room-add-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 2px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.gai-room-add-actions-panel > .gai-room-add-actions {
    margin: 0;
    padding-top: 0;
    border-top: none;
}

.gai-add-room-action {
    padding: 6px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.gai-add-room-action:hover:not(:disabled) {
    border-color: #173f35;
    background: #f4f8f6;
}

.gai-add-room-action:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.gai-room-bed-wizard-block > .gai-attendee-bed-group {
    display: none !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px !important;
    margin: 0 0 8px !important;
    padding: 0;
}

.gai-room-bed-wizard-block > .gai-attendee-bed-group.gai-mobile-attendee-open {
    display: grid !important;
}

.gai-room-bed-wizard-block > div:not(.gai-attendee-bed-group):not(:first-child) {
    margin: 4px 0 2px !important;
    font-size: 12px !important;
}

.gai-room-bed-wizard-block .gai-bed-type-option {
    min-height: 38px;
    padding: 6px 9px;
    font-size: 12px;
}

.gai-room-bed-wizard-block .gai-bed-type-name {
    font-size: 12px;
}

.gai-room-bed-wizard-block .gai-bed-type-surcharge {
    font-size: 11px;
}

.gai-mobile-attendee-toggle {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid #9bb8aa;
    border-radius: 4px;
    background: #ffffff;
    color: #173f35;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.gai-room-bed-wizard-block > .gai-attendee-bed-label {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 5px 7px;
    border: 1px solid #d7e3dd;
    border-radius: 5px;
    background: #f8fafc;
    cursor: pointer;
}

.gai-room-bed-wizard-block > .gai-attendee-bed-label:has(+ .gai-attendee-bed-group.gai-mobile-attendee-open) {
    border-color: #173f35;
    background: #f4f8f6;
}

.gai-attendee-bed-status {
    overflow: hidden;
    color: #64748b;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gai-overflow-picker-wrap,
.gai-add-room-picker-wrap {
    margin: 8px 0 10px !important;
    padding: 9px !important;
}

.gai-overflow-picker-wrap .gai-card,
.gai-add-room-picker-wrap .gai-card {
    min-height: 0;
    flex-direction: row;
    align-items: center;
}

.gai-overflow-picker-wrap .gai-card-image-wrap,
.gai-add-room-picker-wrap .gai-card-image-wrap {
    flex: 0 0 56px;
    width: 56px;
    height: 44px;
}

.gai-overflow-picker-wrap .gai-card-body,
.gai-add-room-picker-wrap .gai-card-body {
    padding: 7px 9px;
}

.gai-overflow-picker-wrap .gai-card-title,
.gai-add-room-picker-wrap .gai-card-title {
    font-size: 12px;
    margin-bottom: 2px;
}

.gai-overflow-picker-wrap .gai-card-meta,
.gai-add-room-picker-wrap .gai-card-meta {
    font-size: 11px;
    margin-bottom: 0;
}

@media (max-width: 540px) {
    .gai-bed-share-chooser-actions {
        grid-template-columns: 1fr;
    }

    .gai-bed-type-assignment-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .gai-room-bed-wizard-block > .gai-attendee-bed-label {
        margin: 5px 0 4px !important;
        font-size: 12px !important;
    }

    .gai-attendee-bed-label-text {
        min-width: 0;
    }

    .gai-attendee-bed-status {
        overflow: hidden;
        color: #64748b;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gai-mobile-attendee-toggle {
        display: inline-block;
        flex: 0 0 auto;
        margin-left: auto;
        padding: 3px 7px;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        background: #ffffff;
        color: #173f35;
        cursor: pointer;
        font-size: 11px;
        font-weight: 600;
    }

    .gai-allocation-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .gai-allocation-current {
        text-align: left;
    }
}

.gai-accommodation-path {
    margin: 16px 0;
}

.gai-accommodation-path-options {
    display: flex;
    gap: 6px;
    margin-top: 7px;
}

.gai-accommodation-path-button {
    padding: 8px 12px;
    border: 1px solid #9bb8aa;
    border-radius: 5px;
    background: #fff;
    color: #173f35;
    cursor: pointer;
    font: inherit;
}

.gai-accommodation-path-button.is-active {
    border-color: #173f35;
    background: #173f35;
    color: #fff;
}

.gai-other-accommodation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
}

.gai-other-accommodation-option {
    display: flex;
    min-height: 92px;
    padding: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    border: 1px solid #c8d8d0;
    border-radius: 6px;
    background: #fff;
    color: #173f35;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.gai-other-accommodation-option span,
.gai-other-accommodation-option small,
.gai-other-accommodation-assignment span {
    display: block;
    color: #52665d;
    font-size: 12px;
}

.gai-other-accommodation-assignment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    align-items: center;
    margin-top: 8px;
    padding: 9px;
    border: 1px solid #d7e3dd;
    border-radius: 5px;
    background: #f7faf9;
}

.gai-other-accommodation-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(16, 33, 27, .55);
}

.gai-other-accommodation-modal[hidden] {
    display: none;
}

.gai-other-accommodation-modal-panel {
    width: min(560px, 100%);
    max-height: 85vh;
    padding: 18px;
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
}

.gai-other-accommodation-modal-panel h3 {
    margin: 0 0 10px;
    padding: 0;
    color: #173f35;
    font-size: 20px;
    line-height: 1.3;
}

.gai-other-accommodation-modal fieldset {
    display: grid;
    gap: 7px;
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #d7e3dd;
}

.gai-other-accommodation-modal label {
    display: block;
    padding: 6px;
    border: 1px solid #e2e8e5;
    border-radius: 4px;
}

.gai-other-accommodation-modal label small {
    display: block;
    margin-left: 24px;
    color: #52665d;
}

.gai-other-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.gai-other-modal-error {
    color: #b32d2e;
    font-weight: 700;
}

@media (max-width: 560px) {
    .gai-accommodation-path-options {
        flex-direction: column;
    }

    .gai-other-accommodation-assignment {
        grid-template-columns: 1fr auto;
    }

    .gai-other-accommodation-assignment > div {
        grid-column: 1 / -1;
    }
}

.gai-manual-staff-arrange-options {
    margin: 0 0 20px;
    padding: 14px;
    border: 1px solid #d7e3dd;
    border-radius: 8px;
    background: #f8faf9;
}

.gai-manual-staff-arrange-options > strong {
    display: block;
    margin-bottom: 4px;
    color: #173f35;
    font-size: 16px;
    line-height: 1.4;
}

.gai-manual-staff-arrange-options > .description {
    margin: 0;
    color: #52665d;
    font-size: 14px;
    line-height: 1.5;
}

.gai-manual-staff-arrange-attendees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 8px;
    margin-top: 12px;
}

.gai-manual-staff-arrange-attendee {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d7e3dd;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gai-manual-staff-arrange-attendee:hover,
.gai-manual-staff-arrange-attendee:has(input:checked) {
    border-color: #173f35;
    background: #f0f7f3;
}

.gai-manual-staff-arrange-attendee input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #173f35;
}

.gai-manual-staff-arrange-attendee span {
    min-width: 0;
}

.gbrf-attendee-slots-wrapper > p.description {
    margin: 0 0 4px;
    color: #52675f;
    font-size: 12px;
    line-height: 1.45;
}

.gbrf-attendee-slots-wrapper > p.description + p.description {
    margin-bottom: 10px;
    color: #718078;
    font-size: 11px;
}

.gbrf-slot-card {
    padding: 14px;
    border: 1px solid #cbdcd3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgb(25 54 43 / 5%);
}

.gbrf-slot-card > div:first-of-type {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.gbrf-slot-card > div:first-of-type > span {
    color: #173f35;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.gbrf-slot-card > div:nth-of-type(2) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gbrf-slot-card input[name^="gbrf_attendee_first["],
.gbrf-slot-card input[name^="gbrf_attendee_last["] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #8eafa0;
    border-radius: 6px;
    background: #f5faf7;
    color: #173f35;
    font-size: 17px;
    font-weight: 600;
}

.gbrf-slot-card input[name^="gbrf_attendee_phone["],
.gbrf-slot-card input[name^="gbrf_attendee_email["] {
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
}

#gbrf-slots-container > div:has(.gbrf-payment-coverage-options) > span {
    color: #66766e;
    font-size: 12px;
    line-height: 1.45;
}

.gbrf-payment-coverage-options {
    margin-top: 8px;
}

.gbrf-payment-coverage-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #b9cec4;
    border-radius: 8px;
    background: #ffffff;
    color: #173f35;
    font-weight: 600;
}

.gbrf-payment-coverage-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #173f35;
}

@media (max-width: 600px) {
    #gbrf-precheckout-modal .gbrf-attendee-slots-wrapper > p.description {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    #gbrf-precheckout-modal .gbrf-attendee-slots-wrapper > p.description + p.description {
        font-size: 14px !important;
    }

    #gbrf-precheckout-modal .gbrf-wizard-header nav[aria-label="Registration steps"] {
        display: none !important;
    }

    #gbrf-precheckout-modal [data-gbrf-step-position] {
        position: static !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: normal !important;
        border: 0 !important;
        color: #475569;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        text-align: center;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-wizard-error] {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer .gbrf-optional-footer {
        display: none !important;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-back] {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-step-position] {
        grid-column: 2;
        grid-row: 2;
        white-space: nowrap !important;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-continue] {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-back],
    #gbrf-precheckout-modal .gbrf-wizard-footer [data-gbrf-continue] {
        min-height: 44px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    #gbrf-precheckout-modal .gbrf-slot-card {
        padding: 12px;
    }

    #gbrf-precheckout-modal .gbrf-slot-card > div:nth-of-type(2) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    #gbrf-precheckout-modal .gbrf-slot-card > div:nth-of-type(2) input:not([type="hidden"]) {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px;
        padding: 10px 12px !important;
        font-size: 16px !important;
        flex: initial !important;
    }

    #gbrf-precheckout-modal #gbrf-slots-container > div:has(.gbrf-payment-coverage-options) > span {
        font-size: 14px !important;
        line-height: 1.5;
    }

    #gbrf-precheckout-modal .gbrf-payment-coverage-option {
        min-height: 48px;
        font-size: 14px !important;
    }

    #gbrf-precheckout-modal .gbrf-attendee-slots-wrapper button {
        min-height: 48px;
        font-size: 14px !important;
    }
}
