.room-picker {
    min-inline-size: 0;
    color: #091f5b;
}

.room-picker [hidden] {
    display: none;
}

.room-picker__legend {
    font-weight: 700;
    margin-bottom: .25rem;
}

.room-picker__legend span,
.room-picker .room-picker__status,
.room-picker__add > .help {
    color: #526075;
    font-size: .8rem;
    font-weight: 400;
}

.room-picker__add > .help {
    margin: 0 0 .5rem;
}

.room-picker__add-row,
.room-picker__row,
.room-picker__stepper {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.room-picker__add-row {
    align-items: stretch;
}

.room-picker__select,
.room-picker__add-button,
.room-picker__stepper {
    border: 1px solid #c5cfdb;
    border-radius: .375rem;
    background: #fff;
    color: inherit;
}

.room-picker__select,
.room-picker__add-button,
.room-picker__stepper button {
    font: inherit;
    min-height: 44px;
}

.room-picker__select {
    min-width: 0;
    padding: 0 .625rem;
}

.room-picker__add-row .room-picker__select {
    flex: 1;
}

.room-picker__add-button {
    padding: 0 .75rem;
    white-space: nowrap;
    font-weight: 700;
    color: #fff;
    background: #091f5b;
    border-color: #091f5b;
    cursor: pointer;
}

.room-picker__add-button:disabled {
    background: #e5eaf1;
    border-color: #d6dfea;
    color: #526075;
    cursor: default;
}

.room-picker__room {
    margin-top: .5rem;
    padding: .5rem .625rem .5rem .75rem;
    background: #fff;
    border: 1px solid #d6dfea;
    border-radius: .375rem;
}

.room-picker__row {
    justify-content: space-between;
}

.room-picker__name {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.room-picker__stepper {
    flex: none;
    gap: 0;
}

.room-picker__stepper button {
    display: grid;
    place-items: center;
    width: 44px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: .375rem;
    cursor: pointer;
}

.room-picker__stepper button:disabled,
.room-picker__stepper button[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
}

.room-picker__stepper button:hover:not(:disabled):not([aria-disabled="true"]) {
    background: #eef2f8;
}

.room-picker :is(select, button):focus-visible {
    outline: 2px solid #091f5b;
    outline-offset: 2px;
}

.room-picker__stepper svg {
    width: 1rem;
    height: 1rem;
}

.room-picker__stepper [data-room-count] {
    min-width: 1.25rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.room-picker .help.room-picker__status {
    margin: 0;
}

.room-picker__status [data-room-status]:not(:empty) {
    display: block;
    margin-top: .4rem;
}

.room-picker__announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
