.th-property-studio {
    --studio-ink: #172033;
    --studio-muted: #667085;
    --studio-line: #e3e8ef;
    --studio-soft: #f7fafb;
    --studio-teal: #007a78;
    --studio-coral: #ff625a;
    --studio-gold: #ffb020;
    --studio-blue: #2b6cb0;
    color: var(--studio-ink);
    font-size: 12px;
}

.th-studio-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 18px;
    align-items: start;
}



.th-studio-rail,
.th-studio-summary {
    position: sticky;
    top: 82px;
}

.th-studio-rail {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .05);
}

.th-studio-rail span {
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.th-studio-rail a {
    display: block;
    padding: 8px 9px;
    border-radius: 6px;
    color: #334155;
    font-weight: 750;
    text-decoration: none;
}

.th-studio-rail a:hover {
    background: #e8f5f3;
    color: var(--studio-teal);
}

.th-studio-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.th-studio-card {
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 24, 40, .055);
    padding: 16px;
}

.th-studio-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.th-studio-card-head > div > span {
    display: inline-grid;
    min-width: 28px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    background: #e8f5f3;
    color: var(--studio-teal);
    font-size: 11px;
    font-weight: 900;
}

.th-studio-card h2 {
    margin: 8px 0 4px;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
}

.th-studio-card p {
    max-width: 650px;
    margin: 0;
    color: var(--studio-muted);
    line-height: 1.5;
}

.th-studio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.th-studio-grid-tight {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-field {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
    position: relative;
}

.th-field span {
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.th-field input,
.th-field select,
.th-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: 0;
    padding: 9px 10px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.th-field textarea {
    resize: vertical;
}

.th-field input:focus,
.th-field select:focus,
.th-field textarea:focus {
    border-color: rgba(0, 122, 120, .55);
    box-shadow: 0 0 0 3px rgba(0, 122, 120, .1);
}

.th-field.is-invalid input,
.th-field.is-invalid select,
.th-field.is-invalid textarea {
    border-color: #ef5148;
    box-shadow: 0 0 0 3px rgba(239, 81, 72, .1);
}

.th-autosuggest-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .14);
}

.th-autosuggest-menu[hidden] {
    display: none;
}

.th-autosuggest-menu button {
    display: grid;
    width: 100%;
    gap: 2px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    color: #172033;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
}

.th-autosuggest-menu button:hover {
    background: #f0fbf8;
}

.th-autosuggest-menu button:last-child {
    border-bottom: 0;
}

.th-autosuggest-menu strong {
    font-size: 12px;
}

.th-autosuggest-menu small {
    color: var(--studio-muted);
    font-size: 10px;
}

.th-amenity-icon {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    place-items: center;
    border-radius: 50%;
    background: #e8f5f3;
    color: var(--studio-teal);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.th-amenity-icon::before {
    content: "\2713";
}

.th-field-wide {
    grid-column: span 2;
}

.th-field-full {
    grid-column: 1 / -1;
}

.th-studio-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--studio-line);
    border-radius: 999px;
    background: var(--studio-soft);
    padding: 7px 10px;
    color: #344054;
    font-weight: 800;
    white-space: nowrap;
}

.th-studio-switch-inline {
    justify-self: start;
    margin-top: -3px;
}

.th-studio-switch input,
.th-studio-checks input {
    accent-color: var(--studio-teal);
}

.th-studio-checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.th-studio-checks label {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    margin: 0;
    border: 1px solid var(--studio-line);
    border-radius: 7px;
    background: #fbfcfe;
    color: #344054;
    font-weight: 730;
    padding: 8px 9px;
}

.th-studio-checks-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.th-studio-checks-compact label {
    min-height: 34px;
    font-size: 11px;
}

.th-media-list {
    display: grid;
    gap: 9px;
}

.th-upload-existing {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 12px;
}

.th-upload-existing figure,
.th-upload-preview figure {
    flex: 0 0 118px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
}

.th-upload-existing img,
.th-upload-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.th-upload-preview figcaption {
    overflow: hidden;
    padding: 7px 8px;
    color: var(--studio-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-upload-dropzone {
    display: grid;
    min-height: 150px;
    place-items: center;
    gap: 6px;
    border: 1px dashed #a9b8ca;
    border-radius: 8px;
    background: #f8fbfd;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.th-room-photo-separator {
    height: 1px;
    margin: 10px 0 12px;
    background: #e4e9ef;
}

.th-upload-carousel {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #d8e0ea;
}

.th-upload-carousel[hidden] {
    display: none !important;
}

.th-upload-preview {
    display: flex;
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.th-upload-carousel-btn {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    color: var(--studio-teal);
    cursor: pointer;
}

.th-upload-dropzone.is-dragover {
    border-color: var(--studio-teal);
    background: #e8f5f3;
    box-shadow: 0 12px 32px rgba(0, 122, 120, .12);
}

.th-upload-dropzone input {
    display: none;
}

.th-upload-dropzone strong {
    font-size: 14px;
}

.th-upload-dropzone small {
    color: var(--studio-muted);
}

.th-upload-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--studio-teal);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.th-media-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr) 34px;
    gap: 9px;
    align-items: end;
    padding: 10px;
    border: 1px dashed #d7dde6;
    border-radius: 8px;
    background: #fbfcfe;
}

.th-rooms-list {
    display: grid;
    gap: 12px;
}

.th-room-card {
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    padding: 13px;
}

.th-room-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.th-room-card-head strong,
.th-room-subgrid h3 {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0;
}

.th-room-subgrid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--studio-line);
}

.th-room-subgrid h3 {
    margin-bottom: 9px;
}

.th-promotion-card {
    border-color: rgba(255, 176, 32, .42);
    background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}

.th-promotion-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.th-promotion-options label {
    display: grid;
    gap: 6px;
    min-height: 116px;
    margin: 0;
    border: 1px solid #ead9ab;
    border-radius: 8px;
    background: #fff;
    padding: 11px;
}

.th-promotion-options strong {
    font-size: 13px;
}

.th-promotion-options span {
    color: var(--studio-muted);
    line-height: 1.45;
}

.th-promotion-budget {
    max-width: 210px;
    margin-top: 12px;
}

.th-studio-actions {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 32px rgba(16, 24, 40, .055);
    padding: 10px;
}

.th-property-studio .th-light-button,
.th-property-studio .th-coral-button,
.th-property-studio .th-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    gap: 7px;
    border-radius: 7px;
    border: 1px solid var(--studio-line);
    padding: 9px 12px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.th-property-studio .th-light-button {
    background: #fff;
    color: #344054;
}

.th-property-studio .th-coral-button,
.th-property-studio .th-search-submit {
    border-color: transparent;
    background: var(--studio-coral);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 98, 90, .18);
}

.th-property-studio .th-coral-button:hover,
.th-property-studio .th-search-submit:hover {
    background: #ee4f47;
}

.th-property-studio .th-danger-button {
    border-color: #ffd2cf;
    color: #c43c35;
}

.th-studio-icon-button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #667085;
    font-weight: 900;
}

.th-studio-icon-button:hover {
    border-color: #ffd2cf;
    color: #c43c35;
}

.th-studio-summary {
    display: grid;
    gap: 10px;
    width: 100%;
}

.th-studio-summary-card {
    display: grid;
    gap: 5px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .045);
    padding: 12px;
}

.th-studio-summary-card span {
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.th-studio-summary-card strong {
    overflow: hidden;
    color: var(--studio-ink);
    font-size: 16px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.th-studio-summary-card small,
.th-studio-summary-card a {
    color: var(--studio-teal);
    font-weight: 750;
}

.th-property-studio .th-agent-alert {
    border-radius: 8px;
    padding: 11px 12px;
    font-weight: 800;
}

.th-property-studio .th-agent-alert.is-success {
    background: #e9f8ef;
    color: #0f7a3a;
}

.th-property-studio .th-agent-alert.is-error {
    background: #fff0ef;
    color: #c43c35;
}

.th-room-manager {
    display: grid;
    gap: 14px;
}

.th-room-manager .th-agent-section {
    display: grid;
    gap: 14px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .045);
    padding: 14px;
}

.th-room-manager .th-agent-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.th-room-manager .th-agent-section h2 {
    margin: 0 0 4px;
    font-size: 16px;
}

.th-room-manager .th-agent-section p {
    margin: 0;
    color: var(--studio-muted);
}

.th-room-manager .th-agent-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.th-room-manager .th-agent-form-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-room-manager .th-agent-form label {
    display: grid;
    gap: 5px;
}

.th-room-manager .th-agent-form span {
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.th-room-manager .th-agent-form input,
.th-room-manager .th-agent-form select,
.th-room-manager .th-agent-form textarea {
    width: 100%;
    min-height: 36px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    padding: 0 10px;
    font: inherit;
}

.th-room-manager .th-agent-create-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 8px;
}

.th-room-manager .th-light-button,
.th-room-manager .th-coral-button,
.th-room-manager .th-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    border-radius: 7px;
    border: 1px solid var(--studio-line);
    padding: 0 11px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.th-room-manager .th-light-button {
    background: #fff;
    color: #344054;
}

.th-room-manager .th-coral-button,
.th-room-manager .th-search-submit {
    border-color: transparent;
    background: var(--studio-coral);
    color: #fff;
}

.th-room-manager .th-agent-empty {
    grid-column: 1 / -1;
    border: 1px dashed #b8c6d8;
    border-radius: 8px;
    background: #f8fbfd;
    color: #667085;
    padding: 13px;
}

.th-room-manager .th-agent-alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 800;
}

.th-room-manager .th-agent-alert.is-success {
    background: #e9f8ef;
    color: #0f7a3a;
}

.th-room-manager .th-agent-alert.is-error {
    background: #fff0ef;
    color: #c43c35;
}

.th-small-button {
    min-height: 30px !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

.th-agent-table-wide {
    width: 100%;
}

.th-room-table-admin {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
}

.th-room-table-admin .th-agent-row {
    display: grid;
    grid-template-columns: .7fr minmax(0, 1.3fr) .8fr .8fr minmax(190px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid var(--studio-line);
}

.th-room-table-admin .th-agent-row:first-child {
    border-top: 0;
}

.th-room-table-admin .th-agent-row-head {
    background: #f7fafb;
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-room-table-admin .th-agent-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.th-room-table-admin strong {
    font-size: 13px;
}

.th-room-add-form {
    margin-top: 14px;
    align-items: end;
}

.th-room-category-row input {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    padding: 8px 9px;
}

.th-room-category-row button {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    padding: 7px 9px;
    color: #344054;
    font-weight: 800;
}

.th-room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.th-room-tile {
    display: grid;
    gap: 14px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .045);
    padding: 14px;
}

.th-room-tile span {
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.th-room-tile strong {
    display: block;
    margin: 4px 0;
    font-size: 24px;
}

.th-room-tile small {
    color: var(--studio-teal);
    font-weight: 800;
}

.th-room-tile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.th-room-tile-actions .th-light-button,
.th-room-tile-actions .th-coral-button {
    min-height: 32px;
    padding: 7px 9px;
}

.th-room-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .44);
    padding: 20px;
}

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

.th-room-modal-card {
    position: relative;
    width: min(560px, calc(100vw - 30px));
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
    padding: 18px;
}

.th-room-modal-large {
    width: min(940px, calc(100vw - 30px));
}

.th-room-modal-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.th-room-modal-card h4 {
    margin: 0 0 10px;
    font-size: 14px;
}

.th-room-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #667085;
    font-size: 18px;
    font-weight: 900;
}

.th-inline-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.th-availability-calendar {
    user-select: none;
}

.th-availability-calendar button {
    position: relative;
}

.th-availability-calendar button.is-selected {
    outline: 2px solid rgba(0, 122, 120, .45);
    outline-offset: 1px;
}

.th-availability-calendar del,
.th-availability-calendar em {
    display: block;
    font-size: 10px;
}

.th-availability-calendar del {
    color: #98a2b3;
}

.th-availability-calendar em {
    color: #c43c35;
    font-style: normal;
    font-weight: 900;
}

.th-room-info-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 1px dashed #b8c6d8;
    border-radius: 8px;
    background: #f8fbfd;
    color: #344054;
    padding: 12px;
    font-weight: 800;
}

.th-room-availability-form {
    grid-template-columns: minmax(120px, .8fr) repeat(3, minmax(130px, 1fr)) auto;
}

.th-room-availability-form .th-agent-create-actions {
    align-items: end;
}

.th-price-input-small {
    max-width: 150px;
}

.th-room-day-modal {
    width: min(520px, calc(100vw - 30px));
    overflow-x: hidden;
}

.th-inline-calendar button {
    min-height: 62px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    padding: 7px;
    text-align: left;
}

.th-inline-calendar button strong,
.th-inline-calendar button span {
    display: block;
}

.th-inline-calendar button span {
    color: var(--studio-muted);
    font-size: 11px;
}

.th-inline-calendar button.is-available {
    border-color: rgba(0, 122, 120, .35);
    background: #f0fbf8;
}

.th-inline-calendar button.is-closed {
    border-color: #ffd2cf;
    background: #fff3f1;
    color: #c43c35;
}

.th-room-config-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.th-room-amenity-list {
    display: grid;
    gap: 8px;
    max-height: 255px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

.th-room-amenity-list label {
    display: grid;
    gap: 5px;
}

.th-room-amenity-list span {
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.th-room-amenity-list input {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    padding: 9px 10px;
}

.th-room-amenity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.th-room-checkline {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.th-modal-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .th-studio-shell {
        grid-template-columns: 1fr;
    }

    .th-studio-rail,
    .th-studio-summary {
        position: static;
    }

    .th-studio-rail {
        display: flex;
        overflow-x: auto;
    }

    .th-studio-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        order: -1;
    }
}

@media (max-width: 860px) {
    .th-studio-grid,
    .th-studio-grid-tight,
    .th-studio-checks,
    .th-room-grid,
    .th-room-config-grid,
    .th-upload-existing,
    .th-promotion-options,
    .th-room-subgrid,
    .th-media-row,
    .th-studio-summary {
        grid-template-columns: 1fr;
    }

    .th-field-wide,
    .th-field-full {
        grid-column: auto;
    }

    .th-studio-card-head,
    .th-studio-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .th-property-studio .th-light-button,
    .th-property-studio .th-coral-button,
    .th-property-studio .th-search-submit {
        width: 100%;
    }
}

/* Rooms module: shared agent/admin styling */
.th-room-manager {
    --studio-ink: #172033;
    --studio-muted: #667085;
    --studio-line: #e3e8ef;
    --studio-soft: #f7fafb;
    --studio-teal: #007a78;
    --studio-coral: #ff625a;
    --studio-coral-dark: #e44f48;
    --studio-danger: #b42318;
    color: var(--studio-ink);
    font-size: 12px;
}

.th-room-manager *,
.th-room-manager *::before,
.th-room-manager *::after {
    box-sizing: border-box;
}

.th-room-manager .th-agent-section {
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.th-room-manager .th-agent-section-head {
    margin: 0;
    align-items: center;
}

.th-room-manager .th-agent-section h2 {
    font-size: 16px;
    line-height: 1.2;
}

.th-room-manager .th-agent-section p {
    font-size: 12px;
}

.th-room-manager .th-agent-form {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.th-room-manager .th-agent-form label {
    grid-column: span 4;
    min-width: 0;
}

.th-room-manager .th-agent-form .th-agent-field-span {
    grid-column: 1 / -1;
}

.th-room-manager .th-room-filter-form label {
    grid-column: span 6;
}

.th-room-manager .th-room-add-form label {
    grid-column: span 3;
    max-width: 220px;
}

.th-room-manager .th-room-add-form .th-room-button {
    grid-column: span 3;
    justify-self: start;
}

.th-room-manager .th-room-availability-form .th-room-button {
    align-self: end;
}

.th-room-manager .th-agent-create-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.th-room-manager .th-agent-form span {
    font-size: 11px;
}

.th-room-manager .th-agent-form input,
.th-room-manager .th-agent-form select,
.th-room-manager .th-agent-form textarea,
.th-room-input {
    width: 100%;
    min-height: 34px;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    color: var(--studio-ink);
    padding: 0 10px;
    font: inherit;
}

.th-room-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .12);
}

.th-room-error {
    margin-top: 8px;
    color: #c43c35;
    font-size: 12px;
    font-weight: 700;
}

.th-room-manager .th-agent-form textarea {
    min-height: 78px;
    padding-top: 8px;
}

.th-room-manager .th-agent-form input[type="checkbox"],
.th-room-status-check input[type="checkbox"] {
    width: 15px;
    min-width: 15px;
    height: 15px;
    min-height: 15px;
    padding: 0;
    accent-color: var(--studio-teal);
}

.th-room-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    margin: 0 !important;
    border: 1px solid var(--studio-line, #e3e8ef);
    border-radius: 6px;
    padding: 0 10px;
    box-shadow: none !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.th-room-button-primary {
    border-color: var(--studio-coral, #ff625a);
    background: var(--studio-coral, #ff625a);
    color: #fff !important;
}

.th-room-button-primary:hover {
    border-color: var(--studio-coral-dark, #e54840);
    background: var(--studio-coral-dark, #e54840);
}

.th-room-button-secondary {
    border-color: #d8e0ea;
    background: #fff;
    color: #344054 !important;
}

.th-room-button-secondary:hover {
    border-color: var(--studio-teal, #007a78);
    color: var(--studio-teal, #007a78) !important;
}

.th-room-button-danger {
    border-color: #ffd2cf;
    background: #fff3f1;
    color: var(--studio-danger, #b42318) !important;
}

.th-btn-icon {
    display: inline-grid;
    min-width: 14px;
    place-items: center;
    font-size: 12px;
    line-height: 1;
}

.th-room-table-shell {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
}

.th-room-modern-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: auto;
}

.th-room-modern-table th,
.th-room-modern-table td {
    padding: 8px 10px;
    border-top: 1px solid var(--studio-line);
    vertical-align: middle;
    text-align: left;
}

.th-room-modern-table thead th {
    border-top: 0;
    background: #f7fafb;
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-room-modern-table tbody tr:hover {
    background: #fbfdfe;
}

.th-room-actions-head,
.th-room-modern-table td:last-child {
    text-align: right;
}

.th-room-modern-table th:nth-child(1),
.th-room-modern-table td:nth-child(1) {
    width: 105px;
}

.th-room-modern-table th:nth-child(3),
.th-room-modern-table td:nth-child(3) {
    width: 145px;
}

.th-room-modern-table th:nth-child(4),
.th-room-modern-table td:nth-child(4) {
    width: 130px;
}

.th-room-modern-table th:nth-child(5),
.th-room-modern-table td:nth-child(5) {
    width: 285px;
}

.th-room-number-badge {
    display: inline-grid;
    min-width: 34px;
    height: 26px;
    place-items: center;
    border-radius: 6px;
    background: #e8f5f3;
    color: var(--studio-teal);
    font-weight: 900;
}

.th-room-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: #eef6ff;
    color: #206bc4;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 800;
}

.th-room-pill.is-muted {
    background: #f2f4f7;
    color: #475467;
}

.th-room-row-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
}

.th-room-delete-form {
    display: flex;
    margin: 0;
    padding: 0;
}

.th-room-category-grid {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--studio-line);
    border-radius: 8px;
    background: #fff;
    scrollbar-gutter: stable;
}

.th-room-category-grid .th-agent-row {
    display: grid;
    grid-template-columns: minmax(130px, 1.05fr) minmax(110px, .85fr) 202px 170px 42px 66px 76px;
    gap: 6px;
    align-items: center;
    min-width: 0;
    padding: 9px 8px;
    border-top: 1px solid var(--studio-line);
}

.th-room-category-grid .th-agent-row > span {
    min-width: 0;
    overflow: hidden;
}

.th-room-category-capacity {
    display: grid;
    grid-template-columns: 46px 46px minmax(90px, 1fr);
    gap: 6px;
    min-width: 0;
}

.th-room-category-policies {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.th-room-category-capacity .th-room-input,
.th-room-category-policies .th-room-input {
    min-width: 0;
    width: 100%;
}

.th-room-category-grid .th-agent-row-head {
    border-top: 0;
    background: #f7fafb;
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-room-category-grid .th-agent-row-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 5px;
    overflow: visible;
}

.th-room-category-grid .th-agent-row-actions .th-room-button {
    width: 34px;
    min-width: 34px;
    padding: 0;
    font-size: 0;
}

.th-room-category-grid .th-agent-row-actions .th-room-button i {
    font-size: 12px;
}

.th-booking-action-modal[hidden] {
    display: none !important;
}

.th-booking-action-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: grid;
    place-items: center;
    padding: 18px;
}

.th-booking-action-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(3px);
}

.th-booking-action-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 38px);
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    padding: 18px;
}

.th-booking-action-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e7edf3;
}

.th-booking-action-head span {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.th-booking-action-head strong {
    font-size: 18px;
}

.th-booking-action-head button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    background: #fff;
    color: #344054;
}

.th-booking-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.th-booking-action-grid label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 12px;
    font-weight: 850;
}

.th-booking-action-grid input,
.th-booking-action-grid select,
.th-booking-action-grid textarea {
    width: 100%;
    min-height: 36px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 700;
}

.th-booking-action-grid textarea {
    min-height: 78px;
    resize: vertical;
}

.th-booking-action-span {
    grid-column: 1 / -1;
}

.th-booking-action-check {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #f8fbfd;
    padding: 7px 10px;
}

.th-booking-action-check input {
    width: 16px !important;
    min-height: 16px !important;
    height: 16px;
    margin: 0;
    padding: 0;
}

.th-booking-action-message {
    margin-top: 13px;
}

.th-booking-action-message:empty,
.th-booking-action-message[hidden] {
    display: none !important;
}

.th-booking-action-message.is-success,
.th-booking-action-message.is-error {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 850;
}

.th-booking-action-message.is-success {
    border: 1px solid #b7e4c7;
    background: #ecfdf3;
    color: #067647;
}

.th-booking-action-message.is-error {
    border: 1px solid #ffd2cf;
    background: #fff3f1;
    color: #b42318;
}

.th-booking-action-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 15px;
}

.th-booking-action-actions .th-room-button {
    min-width: 122px;
}

.th-room-assignment-dialog {
    width: min(1120px, 100%);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 38px);
    overflow: hidden;
    padding: 0;
}

.th-room-assignment-dialog .th-booking-action-head {
    flex: 0 0 auto;
    padding: 18px 18px 13px;
}

.th-room-assignment-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 0 18px 6px;
}

.th-room-assignment-dialog .th-booking-action-actions {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 14px 18px 18px;
    border-top: 1px solid #e7edf3;
    background: #fff;
}

.th-room-assignment-fixed {
    flex: 0 0 auto;
    background: #fff;
    z-index: 2;
}

.th-room-assignment-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    background: #f8fbfc;
    padding: 10px 12px;
}

.th-room-assignment-meta strong,
.th-room-assignment-meta span {
    display: block;
}

.th-room-assignment-meta span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.th-room-assignment-help {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #f8fbfd;
    color: #344054;
}

.th-room-assignment-help p {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.th-room-assignment-help div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.th-room-assignment-help span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.th-room-assignment-help .is-available {
    background: #e8f5f3;
    color: #007a78;
}

.th-room-assignment-help .is-current {
    background: #e0f2fe;
    color: #0369a1;
}

.th-room-assignment-help .is-conflict {
    background: #fff1f2;
    color: #be123c;
}

.th-room-assignment-help .is-closed {
    background: #f1f5f9;
    color: #64748b;
}

.th-room-assignment-grid {
    flex: 1 1 auto;
    min-height: 220px;
    max-height: min(58vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 10px;
    margin-top: 14px;
    padding: 0 2px 8px 0;
    scrollbar-color: #0f766e #eef4f7;
    scrollbar-width: thin;
}

.th-room-assignment-grid::-webkit-scrollbar,
.th-room-assignment-scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.th-room-assignment-grid::-webkit-scrollbar-track,
.th-room-assignment-scroll::-webkit-scrollbar-track {
    background: #eef4f7;
    border-radius: 999px;
}

.th-room-assignment-grid::-webkit-scrollbar-thumb,
.th-room-assignment-scroll::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: 999px;
}

.th-room-assignment-category {
    display: grid;
    gap: 0;
    min-width: 100%;
    border: 1px solid #e4e9ef;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.th-room-assignment-category h3 {
    margin: 0;
    padding: 10px 12px;
    background: #f8fbfd;
    font-size: 13px;
    border-bottom: 1px solid #e4e9ef;
}

.th-room-assignment-matrix {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-width: 0;
    align-items: start;
}

.th-room-assignment-left {
    position: relative;
    z-index: 3;
    background: #fff;
    border-right: 1px solid #e4e9ef;
    box-shadow: 1px 0 0 rgba(15, 23, 42, .04);
}

.th-room-assignment-left-head {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    background: #f8fbfd;
    color: #344054;
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid #edf1f5;
}

.th-room-assignment-scroll {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #0f766e #eef4f7;
    scrollbar-width: thin;
}

.th-room-assignment-row {
    display: grid;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    border-top: 1px solid #edf1f5;
}

.th-room-assignment-row.is-head {
    top: 0;
    z-index: 4;
    background: #f8fbfd;
    border-top: 0;
}

.th-room-assignment-room-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
}

.th-room-assignment-row.is-head .th-room-assignment-room-name {
    z-index: 6;
    background: #f8fbfd;
}

.th-room-assignment-room-name span {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.th-room-assignment-room-name strong {
    font-size: 12px;
    color: #101828;
}

.th-room-assignment-room-name small {
    overflow: hidden;
    max-width: 112px;
    color: #667085;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-room-assignment-room-name button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid #d8e3ea;
    border-radius: 7px;
    background: #fff;
    color: #0f766e;
    cursor: pointer;
}

.th-room-assignment-room-name button:hover {
    border-color: #0f766e;
    background: #e8f5f3;
}

.th-room-assignment-date,
.th-room-assignment-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 132px;
    min-height: 42px;
    border-right: 1px solid #edf1f5;
    padding: 6px 7px;
    font-size: 10.5px;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
}

.th-room-assignment-date {
    background: #f8fbfd;
    color: #344054;
}

.th-room-assignment-day strong,
.th-room-assignment-day small {
    color: inherit;
    font-size: inherit;
    font-weight: 900;
}

.th-room-assignment-day small::before {
    content: "·";
    margin-right: 4px;
    opacity: .7;
}

.th-room-assignment-grid .is-available {
    background: #ecfdf3;
    color: #067647;
}

.th-room-assignment-current-days .is-available {
    background: #ecfdf3;
    color: #067647;
}

.th-room-assignment-grid .is-current {
    background: #e0f2fe;
    color: #075985;
}

.th-room-assignment-current-days .is-current {
    background: #e0f2fe;
    color: #075985;
}

.th-room-assignment-grid .is-conflict {
    background: #fee2e2;
    color: #991b1b;
}

.th-room-assignment-current-days .is-conflict {
    background: #fee2e2;
    color: #991b1b;
}

.th-room-assignment-grid .is-closed {
    background: #f2f4f7;
    color: #667085;
}

.th-room-assignment-current-days .is-closed {
    background: #f2f4f7;
    color: #667085;
}

.th-room-assignment-room-name.is-current-row {
    background: #eff6ff;
}

.th-room-assignment-room-name.is-blocked {
    opacity: .82;
}

.th-room-assignment-grid {
    overflow: auto;
    display: block;
    border: 1px solid #e4e9ef;
    border-radius: 9px;
    background: #fff;
    padding: 0;
}

.th-room-assignment-table-wrap {
    min-width: 100%;
    width: max-content;
}

.th-room-assignment-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.th-room-assignment-table th,
.th-room-assignment-table td {
    border-right: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.th-room-assignment-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
}

.th-room-assignment-table .th-room-assignment-room-col {
    position: sticky;
    left: 0;
    z-index: 10;
    width: 190px;
    min-width: 190px;
    max-width: 190px;
    overflow: hidden;
    background: #fff !important;
    background-clip: padding-box;
    text-align: left;
    vertical-align: middle;
    box-shadow: 1px 0 0 rgba(15, 23, 42, .05);
}

.th-room-assignment-table tbody .th-room-assignment-room-col::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: inherit;
}

.th-room-assignment-table thead .th-room-assignment-room-col {
    z-index: 8;
    min-height: 44px;
    padding: 10px 12px;
    background: #f8fbfd;
    color: #344054;
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-room-assignment-table .th-room-assignment-date,
.th-room-assignment-table .th-room-assignment-day {
    display: table-cell;
    width: 132px;
    min-width: 132px;
    height: 48px;
    min-height: 48px;
    padding: 7px 8px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

.th-room-assignment-table .th-room-assignment-date {
    background: #f8fbfd;
}

.th-room-assignment-table .th-room-assignment-day strong,
.th-room-assignment-table .th-room-assignment-day small {
    display: block;
    font-size: 10.5px;
    line-height: 1.25;
}

.th-room-assignment-table .th-room-assignment-day small::before {
    content: none;
}

.th-room-assignment-table .th-room-assignment-room-name {
    position: relative;
    z-index: 1;
    min-height: 48px;
    border-bottom: 0;
    background: inherit;
}

.th-room-assignment-table tr.is-current-row .th-room-assignment-room-col {
    background: #eff6ff !important;
}

.th-room-assignment-table tr.is-blocked .th-room-assignment-room-col {
    opacity: 1;
}

.th-room-assignment-move-modal[hidden] {
    display: none;
}

.th-room-assignment-move-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
}

.th-room-assignment-move-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
}

.th-room-assignment-move-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    overflow: hidden;
    border: 1px solid #d8e3ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.th-room-assignment-move-head,
.th-room-assignment-move-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e7edf3;
}

.th-room-assignment-move-actions {
    justify-content: flex-end;
    border-top: 1px solid #e7edf3;
    border-bottom: 0;
}

.th-room-assignment-move-head span {
    display: block;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-room-assignment-move-head strong {
    display: block;
    color: #101828;
    font-size: 16px;
}

.th-room-assignment-move-head > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    cursor: pointer;
}

.th-room-assignment-move-body {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.th-room-assignment-current {
    display: grid;
    gap: 8px;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    background: #f8fbfd;
    padding: 12px;
}

.th-room-assignment-current strong,
.th-room-assignment-current small,
.th-room-assignment-current p {
    margin: 0;
}

.th-room-assignment-current small {
    color: #667085;
    font-weight: 850;
}

.th-room-assignment-current p {
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.th-room-assignment-current-days {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.th-room-assignment-current-days span {
    display: inline-flex;
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 900;
}

.th-room-assignment-move-body label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 12px;
    font-weight: 850;
}

.th-room-assignment-move-body select {
    min-height: 38px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 800;
}

body.th-modal-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .th-room-category-grid .th-agent-row {
        grid-template-columns: 132px 120px 210px 180px 48px 72px 76px;
        min-width: 890px;
    }
}

@media (max-width: 640px) {
    .th-booking-action-grid {
        grid-template-columns: 1fr;
    }

    .th-booking-action-dialog {
        padding: 14px;
    }
}

.th-room-status-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-weight: 800;
}

.th-room-manager .th-agent-alert,
.th-room-manager .alert {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 800;
}

.th-room-manager .th-agent-alert.is-error,
.th-room-manager .alert-danger,
.th-room-manager .th-js-validation {
    border: 1px solid #ffd2cf;
    background: #fff3f1;
    color: var(--studio-danger);
}

.th-room-manager .th-agent-alert.is-success,
.th-room-manager .alert-success {
    border: 1px solid #b7e4c7;
    background: #e9f8ef;
    color: #067647;
}

.th-room-manager .th-js-validation {
    grid-column: 1 / -1;
    margin: 0;
}

.th-room-manager .th-room-availability-form {
    display: grid;
    grid-template-columns: minmax(76px, .55fr) minmax(158px, 1.1fr) minmax(158px, 1.1fr) minmax(110px, .75fr) minmax(210px, 1fr);
    gap: 10px;
    align-items: end;
}

.th-room-manager .th-room-availability-form label {
    grid-column: auto;
    min-width: 0;
    max-width: none;
}

.th-room-manager .th-room-availability-form .th-room-date-field {
    min-width: 0;
}

.th-room-manager .th-room-availability-form label:first-of-type {
    grid-column: auto;
}

.th-room-manager .th-room-availability-form .th-price-label {
    grid-column: auto;
    max-width: none;
}

.th-room-manager .th-room-availability-form .th-agent-create-actions {
    grid-column: auto;
    align-self: end;
    justify-content: stretch;
    min-width: 0;
    width: 100%;
}

.th-price-input-small {
    max-width: none;
}

.th-native-select-hidden {
    display: none !important;
}

.th-searchable-select {
    position: relative;
    width: 100%;
}

.th-searchable-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    background: #fff;
    color: #182433;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.th-searchable-select-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-searchable-select-toggle i {
    color: #667085;
    font-size: 12px;
}

.th-searchable-select.is-open .th-searchable-select-toggle {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

.th-searchable-select-menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border: 1px solid #d8e3ea;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, .16);
    padding: 7px;
}

.th-searchable-select-menu[hidden] {
    display: none;
}

.th-searchable-select-search {
    width: 100%;
    min-height: 34px;
    border: 1px solid #d8e3ea;
    border-radius: 7px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.th-searchable-select-list {
    display: grid;
    gap: 3px;
    max-height: 228px;
    overflow-y: auto;
}

.th-searchable-select-list button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 32px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #344054;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.th-searchable-select-list button:hover,
.th-searchable-select-list button.is-active {
    background: #e8f5f3;
    color: #0f766e;
}

.th-searchable-select-empty {
    padding: 10px;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.th-room-info-wide {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    border: 1px dashed #b8c6d8;
    border-radius: 8px;
    background: #f8fbfd;
    color: #344054;
    padding: 10px 12px;
}

.th-info-dot {
    display: inline-grid;
    width: 22px;
    height: 22px;
    min-width: 22px;
    place-items: center;
    border-radius: 50%;
    background: #e8f5f3;
    color: var(--studio-teal);
    font-weight: 900;
    line-height: 1;
}

.th-room-checkline {
    display: inline-flex !important;
    grid-column: 1 / -1;
    align-items: center;
    gap: 8px;
    min-height: 34px;
}

.th-room-checkline span {
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.th-room-day-modal .th-agent-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.th-room-day-modal .th-agent-form label {
    grid-column: span 1;
}

.th-room-day-modal .th-price-input-small {
    max-width: 150px;
}

.th-inline-calendar {
    gap: 6px;
}

.th-inline-calendar button {
    min-height: 60px;
    border-radius: 7px;
    padding: 7px;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}

.th-inline-calendar button:hover {
    border-color: var(--studio-teal);
    transform: translateY(-1px);
}

.th-availability-calendar button.is-selected {
    outline: 0;
    border-color: #005f5d;
    background: #007a78;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 122, 120, .22), 0 10px 22px rgba(0, 122, 120, .18);
}

.th-availability-calendar button.is-selected span,
.th-availability-calendar button.is-selected del,
.th-availability-calendar button.is-selected em {
    color: #fff;
}

.th-room-date-field {
    position: relative;
}

.th-date-picker-popover {
    position: absolute;
    z-index: 2100;
    width: 258px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .18);
    padding: 10px;
}

.th-room-manager .th-room-availability-form .th-room-button {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 1100px) {
    .th-room-manager .th-room-availability-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-room-manager .th-room-availability-form .th-agent-create-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }
}

@media (max-width: 540px) {
    .th-room-manager .th-room-availability-form {
        grid-template-columns: 1fr;
    }
}

.th-date-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.th-date-picker-head strong {
    color: var(--studio-ink);
    font-size: 12px;
}

.th-date-picker-head button,
.th-date-picker-grid button {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.th-date-picker-head button {
    width: 28px;
    height: 28px;
}

.th-date-picker-weekdays,
.th-date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.th-date-picker-weekdays span {
    color: var(--studio-muted);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.th-date-picker-grid button,
.th-date-picker-grid span {
    min-height: 28px;
}

.th-date-picker-grid button {
    padding: 0;
    font-size: 11px;
}

.th-date-picker-grid button:hover,
.th-date-picker-grid button.is-selected {
    border-color: var(--studio-teal);
    background: #e8f5f3;
    color: var(--studio-teal);
}

.th-date-picker-grid button.is-today {
    border-color: var(--studio-coral);
}

@media (max-width: 900px) {
    .th-room-manager .th-agent-form,
    .th-room-manager .th-room-availability-form,
    .th-room-day-modal .th-agent-form {
        grid-template-columns: 1fr;
    }

    .th-room-manager .th-agent-form label,
    .th-room-manager .th-room-filter-form label,
    .th-room-manager .th-room-add-form label,
    .th-room-manager .th-room-availability-form label,
    .th-room-manager .th-room-availability-form .th-price-label,
    .th-room-manager .th-room-availability-form .th-agent-create-actions,
    .th-room-day-modal .th-agent-form label {
        grid-column: 1 / -1;
        max-width: none;
    }

    .th-room-modern-table,
    .th-room-modern-table thead,
    .th-room-modern-table tbody,
    .th-room-modern-table tr,
    .th-room-modern-table th,
    .th-room-modern-table td {
        display: block;
        min-width: 0;
    }

    .th-room-modern-table thead {
        display: none;
    }

    .th-room-modern-table tr {
        padding: 8px 10px;
        border-top: 1px solid var(--studio-line);
    }

    .th-room-modern-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border-top: 0;
        padding: 6px 0;
        text-align: right;
    }

    .th-room-modern-table td::before {
        content: attr(data-label);
        color: var(--studio-muted);
        font-weight: 900;
        text-align: left;
        text-transform: uppercase;
    }

    .th-room-row-actions {
        justify-content: flex-end;
    }
}

.th-room-planner {
    --studio-ink: #172033;
    --studio-muted: #667085;
    --studio-line: #e3e8ef;
    --studio-soft: #f7fafb;
    --studio-teal: #007a78;
    --studio-coral: #ff625a;
    --studio-coral-dark: #e54840;
    --studio-danger: #b42318;
    display: grid;
    gap: 14px;
}

.th-planner-toolbar,
.th-planner-card,
.th-planner-summary article {
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.th-planner-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
}

.th-planner-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(150px, .7fr) minmax(120px, .5fr) auto;
    gap: 10px;
    align-items: end;
    flex: 1;
}

.th-planner-filters label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #344054;
    font-size: 12px;
    font-weight: 850;
}

.th-planner-filters select,
.th-planner-filters input {
    width: 100%;
    min-height: 36px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #101828;
    padding: 6px 9px;
    font-size: 13px;
    font-weight: 750;
}

.th-planner-filters > button,
.th-planner-nav a,
.th-planner-nav button,
.th-planner-booking-list button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    border: 0;
    border-radius: 7px;
    background: #007a78;
    color: #fff;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.th-planner-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.th-planner-nav a {
    border: 1px solid #d8e0ea;
    background: #f8fbfd;
    color: #344054;
}

.th-planner-nav button {
    background: #ff5a52;
    color: #fff;
}

.th-planner-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.th-planner-summary article {
    display: grid;
    gap: 3px;
    padding: 12px;
}

.th-planner-summary span {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-planner-summary strong {
    color: #101828;
    font-size: 22px;
    line-height: 1;
}

.th-planner-card {
    overflow: hidden;
}

.th-planner-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid #e5eaf0;
}

.th-planner-card-head h2 {
    margin: 0;
    color: #101828;
    font-size: 16px;
}

.th-planner-card-head p {
    margin: 3px 0 0;
    color: #667085;
    font-size: 12px;
    font-weight: 750;
}

.th-planner-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.th-planner-legend span {
    min-height: 24px;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 900;
}

.th-planner-scroll-controls {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
}

.th-planner-scroll-controls select,
.th-planner-scroll-controls button {
    min-height: 30px;
    border-radius: 7px;
    border: 1px solid #d8e0ea;
    background: #fff;
    color: #344054;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.th-planner-scroll-controls button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.th-planner-scroll-controls button:hover {
    border-color: #007a78;
    color: #007a78;
}

.th-planner-grid-wrap {
    overflow: auto;
    max-height: 68vh;
}

.th-planner-grid {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.th-planner-grid th,
.th-planner-grid td {
    min-width: 92px;
    max-width: 120px;
    border-right: 1px solid #e5eaf0;
    border-bottom: 1px solid #e5eaf0;
    padding: 7px;
    vertical-align: middle;
}

.th-planner-grid thead th {
    top: 0;
    z-index: 2;
    background: #f8fbfd;
    color: #dd615a;
    text-align: center;
}

.th-planner-grid thead strong,
.th-planner-grid thead span,
.th-planner-grid td strong,
.th-planner-grid td span,
.th-planner-room-cell strong,
.th-planner-room-cell span {
    display: block;
}

.th-planner-grid thead strong {
    font-size: 14px;
}

.th-planner-grid thead span {
    color: #667085;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-planner-room-head,
.th-planner-room-cell {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 170px !important;
    max-width: 190px !important;
    background: #fff;
    text-align: left !important;
}

.th-planner-room-head {
    z-index: 4;
    background: #f8fbfd !important;
}

.th-planner-room-cell strong {
    color: #101828;
    font-size: 13px;
    font-weight: 600;
    padding-left: 8px;
}

.th-planner-room-cell span {
    margin-top: 2px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.th-planner-category-row th {
    border-bottom: 2px solid #d0d8e4;
    background: #f0f4f9;
}

.th-planner-category-head {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 170px !important;
    max-width: 190px !important;
    background: #f0f4f9 !important;
    color: #101828;
    font-size: 13px;
    font-weight: 950;
    text-align: left !important;
    padding: 9px 14px !important;
}

.th-planner-category-date {
    background: #f0f4f9 !important;
    border-bottom: 2px solid #d0d8e4 !important;
    padding: 0 !important;
    min-width: 92px;
    max-width: 120px;
}

.th-planner-grid td {
    text-align: center;
    user-select: none;
}

.th-planner-room-head.disp-title {
    padding-left: 15px;
    font-size: 15px;
    font-weight: 900;
}

.th-planner-grid td[data-editable="1"] {
    cursor: pointer;
}

.th-planner-grid td[data-editable="1"]:hover {
    box-shadow: inset 0 0 0 2px rgba(0, 122, 120, .28);
}

.th-planner-grid td.is-selected {
    box-shadow: inset 0 0 0 2px #ff5a52, 0 0 0 2px rgba(255, 90, 82, .15);
    filter: saturate(1.08);
    background: #ff5a52;
    color: #fff;
}

.th-planner-grid td strong {
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-planner-grid td span {
    margin-top: 2px;
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    opacity: .86;
}

.th-planner-grid .is-available,
.th-planner-legend .is-available {
    background: #e8f5f3;
    color: #007a78;
}

.th-planner-grid .is-booked,
.th-planner-legend .is-booked {
    background: #ffe8e4;
    color: #b42318;
}

.th-planner-grid .is-pending {
    background: #fff7df;
    color: #92400e;
}

.th-planner-grid .is-advance {
    background: #ff5a52;
    color: #f7fafb;
}

.th-planner-grid .is-completed {
    background: #eef2ff;
    color: #4338ca;
}

.th-planner-grid .is-closed,
.th-planner-legend .is-closed {
    background: #f1f5f9;
    color: #64748b;
}

.th-planner-grid .is-unconfigured,
.th-planner-legend .is-unconfigured {
    background: #fff;
    color: #98a2b3;
}

.th-planner-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.th-planner-booking-list {
    display: grid;
    gap: 0;
}

.th-planner-booking-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid #e5eaf0;
}

.th-planner-booking-list article:last-child {
    border-bottom: 0;
}

.th-planner-booking-list strong,
.th-planner-booking-list span,
.th-planner-booking-list small {
    display: block;
}

.th-planner-booking-list strong {
    color: #101828;
    font-size: 13px;
}

.th-planner-booking-list span {
    margin-top: 2px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.th-planner-booking-list small {
    margin-top: 2px;
    color: #667085;
    font-size: 11px;
    font-weight: 750;
}

.th-planner-empty {
    padding: 18px;
    color: #667085;
    text-align: center;
    font-weight: 800;
}

.th-planner-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(420px, calc(100vw - 32px));
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
    color: #344054;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 850;
}

.th-planner-toast.is-success {
    border-color: #b7e2d9;
    color: #007a78;
}

.th-planner-toast.is-error {
    border-color: #ffc9c3;
    color: #b42318;
}

.th-planner-toast.is-info {
    border-color: #bfd8ff;
    color: #175cd3;
}

.th-planner-edit-modal .th-room-modal-card {
    max-width: 560px;
}

.th-room-period-modal {
    max-width: 760px !important;
}

.th-planner-period-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.th-planner-period-form .th-room-checkline,
.th-planner-period-form .th-booking-action-message,
.th-planner-period-form .th-agent-create-actions {
    grid-column: 1 / -1;
}

.th-planner-search-select {
    display: block;
    min-width: 0;
}

.th-planner-search-select .th-searchable-select-toggle {
    min-height: 36px;
    border-color: #d8e0ea;
    background: #fff;
    color: #101828;
    box-shadow: none;
}

.th-planner-search-select .th-searchable-select-search {
    min-height: 34px;
    border-radius: 7px;
    border-color: #d8e0ea;
    background: #fff;
    margin-bottom: 7px;
}

.th-room-planner .th-agent-form {
    display: grid;
    gap: 12px;
}

.th-room-planner .th-agent-form label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.th-room-planner .th-agent-form label > span,
.th-room-planner .th-room-checkline span {
    color: #344054;
    font-size: 12px;
    font-weight: 850;
}

.th-room-planner .th-agent-form input:not([type="checkbox"]),
.th-room-planner .th-agent-form select,
.th-room-planner .th-agent-form textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #fff;
    color: #101828;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 750;
    outline: none;
    box-shadow: none;
}

.th-room-planner .th-agent-form textarea {
    min-height: 84px;
    resize: vertical;
}

.th-room-planner .th-agent-form input:focus,
.th-room-planner .th-agent-form select:focus,
.th-room-planner .th-agent-form textarea:focus,
.th-planner-filters input:focus,
.th-planner-filters select:focus {
    border-color: #007a78;
    box-shadow: 0 0 0 3px rgba(0, 122, 120, .1);
}

.th-room-planner .th-room-checkline {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    min-height: auto;
    border: 1px solid #e5eaf0;
    border-radius: 7px;
    background: #f8fbfd;
    padding: 10px;
}

.th-room-planner .th-room-checkline input[type="checkbox"] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #007a78;
}

.th-room-planner .th-agent-create-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.th-room-planner .th-price-input-small {
    max-width: 180px;
}

.th-room-reservation-modal {
    width: min(1120px, calc(100vw - 32px)) !important;
    max-width: none !important;
    overflow: hidden;
}

.th-planner-reservation-form {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(320px, 1fr) minmax(300px, .95fr);
    gap: 14px;
    align-items: stretch;
    max-height: min(72vh, 720px);
    overflow: hidden;
}

.th-planner-reservation-step {
    display: grid;
    gap: 12px;
    align-content: start;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fbfdff;
    padding: 12px;
    min-width: 0;
    overflow: auto;
}

.th-planner-reservation-step > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.th-planner-reservation-step > div:first-child > span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #007a78;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.th-planner-reservation-step > div:first-child > strong {
    color: #101828;
    font-size: 14px;
}

.th-planner-reservation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.th-planner-wide {
    grid-column: 1 / -1;
}

.th-planner-reservation-rooms {
    display: grid;
    gap: 10px;
}

.th-planner-reservation-rooms section {
    display: grid;
    gap: 7px;
}

.th-planner-reservation-rooms h4 {
    margin: 0;
    color: #101828;
    font-size: 13px;
}

.th-planner-room-option {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    padding: 9px 10px;
    cursor: pointer;
}

.th-planner-room-option:hover {
    border-color: #a9d7d3;
    background: #f5fbfa;
}

.th-planner-room-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007a78;
}

.th-planner-room-option span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.th-planner-room-option strong {
    overflow: hidden;
    color: #101828;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-planner-room-option small {
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.th-planner-room-option em {
    color: #007a78;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.th-planner-rate-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #bfd8ff;
    border-radius: 8px;
    background: #eff6ff;
    color: #175cd3;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 800;
}

.th-planner-reservation-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #b7e2d9;
    border-radius: 8px;
    background: #f2fbf9;
    color: #007a78;
    padding: 11px 12px;
}

.th-planner-reservation-form > .th-booking-action-message,
.th-planner-reservation-form > .th-agent-create-actions {
    grid-column: 2 / 4;
}

.th-planner-reservation-form > .th-agent-create-actions {
    align-self: end;
}

.th-planner-reservation-total span {
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.th-planner-reservation-total strong {
    font-size: 18px;
    font-weight: 950;
}

.th-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 1px dashed #d8e0ea;
    border-radius: 8px;
    background: #fbfdff;
    color: #667085;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .th-planner-filters,
    .th-planner-summary,
    .th-planner-split {
        grid-template-columns: 1fr;
    }

    .th-planner-card-head {
        display: grid;
    }

    .th-planner-legend {
        justify-content: flex-start;
    }

    .th-planner-period-form {
        grid-template-columns: 1fr;
    }

    .th-room-reservation-modal {
        width: min(760px, calc(100vw - 24px)) !important;
        overflow: auto;
    }

    .th-planner-reservation-form {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    .th-planner-reservation-grid {
        grid-template-columns: 1fr;
    }

    .th-planner-reservation-form > .th-booking-action-message,
    .th-planner-reservation-form > .th-agent-create-actions {
        grid-column: 1 / -1;
    }
}
