.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.equipment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d8dee6;
    border-radius: 10px;
    background: #fbfcfd;
    font-weight: 500;
}

.equipment-option input,
.toggle-inline input {
    width: auto;
}

.rooms-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.rooms-toolbar-title {
    margin-bottom: 6px;
}

.rooms-toolbar-description {
    margin: 0;
}

.rooms-toolbar-controls {
    text-align: right;
}

.rooms-count {
    font-weight: 700;
}

.toggle-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.room-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.room-card {
    padding: 16px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #fff;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.room-card[data-kind="virtual"] {
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.room-card.is-incompatible {
    border-color: #d6dbe3;
    background: #f5f6f8;
    opacity: 0.45;
}

.room-card.hidden-by-filter {
    display: none;
}

.room-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.room-meta {
    text-align: right;
}

.room-badges {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge.virtual {
    border-color: #c4d5ff;
    background: #eef4ff;
    color: #25459c;
}

.badge.compatible {
    border-color: #9fd4b1;
    background: #e8f7ee;
    color: #126131;
}

.badge.incompatible {
    border-color: #ebb0ab;
    background: #feeceb;
    color: #932018;
}

.room-equipment-title {
    margin: 10px 0 8px;
}

.room-reason {
    min-height: 1.2em;
    margin-top: 10px;
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .room-meta,
    .rooms-toolbar-controls {
        text-align: left;
    }
}

.app-request-title {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.15;
}

.debug-strip {
    display: flex;
    justify-content: space-between;
    gap: 8px 18px;
    flex-wrap: wrap;
    margin-top: -6px;
    padding: 6px 9px;
    border: 1px dashed #d8dde5;
    border-radius: 7px;
    background: #fafbfc;
    color: #7a8491;
    font-size: 0.72rem;
    line-height: 1.25;
}

.lounge-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #d8dee6;
    border-radius: 10px;
    background: #fbfcfd;
    font-weight: 500;
}

.lounge-option input {
    width: auto;
    margin-top: 3px;
    flex: 0 0 auto;
}

.lounge-option span {
    display: grid;
    gap: 2px;
}

.lounge-option small {
    color: #667085;
    font-weight: 400;
}

.request-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.request-heading .app-request-title {
    margin-bottom: 0;
}

.my-reservations-button {
    flex: 0 0 auto;
}

@media (max-width: 700px) {
    .request-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .my-reservations-button {
        text-align: center;
    }
}
