.hotel-room-analytics-root{margin-top:24px;width:100%;min-width:0;max-width:100%;box-sizing:border-box;grid-column:1/-1;color:var(--hp-text,#26322d);letter-spacing:0}
.hotel-room-analytics{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:0 0 24px}
.hotel-room-analytics-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}
.hotel-room-analytics-heading h2{margin:0;font-size:20px;line-height:1.4;font-weight:700;letter-spacing:0}
.hotel-room-analytics-heading p{margin:4px 0 0;color:var(--hp-text-soft,#68746e);font-size:13px;line-height:1.5}
.hotel-room-analytics .hp-input{min-height:36px;padding:0 11px;border:1px solid var(--hp-line,#dfe5e1);border-radius:6px;background:#fff;color:var(--hp-text,#26322d);font:inherit;font-size:13px;outline:none}
.hotel-room-analytics .hp-select{min-height:36px;padding:0 11px;border:1px solid var(--hp-line,#dfe5e1);border-radius:6px;background:#fff;color:var(--hp-text,#26322d);font:inherit;font-size:13px;outline:none}
.hotel-room-analytics .hp-input:focus,.hotel-room-analytics .hp-select:focus{border-color:var(--hp-primary,#24614d);box-shadow:0 0 0 3px rgba(36,97,77,.12)}
.hotel-room-analytics .hp-btn{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:0 14px;border:1px solid transparent;border-radius:6px;font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.hotel-room-analytics .hp-btn-primary{background:var(--hp-primary,#24614d);color:#fff}
.hotel-room-analytics .hp-btn-ghost{border-color:var(--hp-line,#dfe5e1);background:#fff;color:var(--hp-text,#26322d)}
.hotel-room-analytics-controls{display:grid;min-width:0;max-width:100%;gap:14px;margin-bottom:16px}
.hotel-room-analytics-periods{display:flex;align-items:center;max-width:100%;overflow-x:auto}
.hotel-room-analytics-period{min-width:64px;min-height:34px;padding:0 12px;border:1px solid var(--hp-line,#dfe5e1);border-right:0;border-radius:0;background:#fff;color:var(--hp-text-soft,#68746e);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}
.hotel-room-analytics-period:first-child{border-radius:6px 0 0 6px}
.hotel-room-analytics-period:last-child{border-right:1px solid var(--hp-line,#dfe5e1);border-radius:0 6px 6px 0}
.hotel-room-analytics-period:hover{color:var(--hp-primary,#24614d)}
.hotel-room-analytics-period.is-active{background:var(--hp-primary,#24614d);color:#fff}
.hotel-room-analytics-custom-dates{display:flex;align-items:end;gap:12px}
.hotel-room-analytics-custom-dates label,.hotel-room-analytics-filter-grid>label,.hotel-room-analytics-search label{display:grid;gap:6px;min-width:0;color:var(--hp-text-soft,#68746e);font-size:12px}
.hotel-room-analytics-custom-dates .hp-input{width:168px}
.hotel-room-analytics-filter-grid{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(130px,.8fr) minmax(190px,1.2fr) minmax(260px,1.6fr);gap:12px;align-items:end}
.hotel-room-analytics-filter-grid .hp-select,.hotel-room-analytics-filter-grid .hp-input{width:100%;min-width:0}
.hotel-room-analytics-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.hotel-room-analytics-summary{display:grid;width:100%;min-width:0;max-width:100%;box-sizing:border-box;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--hp-line,#dfe5e1);border-bottom:1px solid var(--hp-line,#dfe5e1);margin:4px 0 18px}
.hotel-room-analytics-summary-item{min-width:0;padding:15px 18px;border-right:1px solid var(--hp-line,#dfe5e1)}
.hotel-room-analytics-summary-item:first-child{padding-left:0}
.hotel-room-analytics-summary-item:last-child{border-right:0}
.hotel-room-analytics-summary-item span{display:block;margin-bottom:5px;color:var(--hp-text-soft,#68746e);font-size:12px;line-height:1.4}
.hotel-room-analytics-summary-item strong{display:block;font-size:20px;line-height:1.3;font-weight:700;white-space:nowrap}
.hotel-room-analytics-table-wrap{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow-x:auto;border:1px solid var(--hp-line,#dfe5e1);border-radius:6px;background:#fff}
.hotel-room-analytics-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;font-size:13px}
.hotel-room-analytics-table th,.hotel-room-analytics-table td{padding:12px 10px;border-bottom:1px solid var(--hp-line,#dfe5e1);text-align:left;vertical-align:middle}
.hotel-room-analytics-table th{height:44px;background:#f5f7f5;color:var(--hp-text-soft,#68746e);font-size:12px;font-weight:600;white-space:nowrap}
.hotel-room-analytics-table tbody tr:last-child td{border-bottom:0}
.hotel-room-analytics-table tbody tr:hover{background:#fafbfa}
.hotel-room-analytics-table th:nth-child(1){width:126px}
.hotel-room-analytics-table th:nth-child(2){width:84px}
.hotel-room-analytics-table th:nth-child(3){width:94px}
.hotel-room-analytics-table th:nth-child(n+4):nth-child(-n+9){width:92px;text-align:right}
.hotel-room-analytics-table th:nth-child(10){width:140px}
.hotel-room-analytics-table td:nth-child(n+4):nth-child(-n+9){text-align:right}
.hotel-room-analytics-room strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hotel-room-analytics-room span,.hotel-room-analytics-muted,.hotel-room-analytics-binding{display:block;margin-top:3px;color:var(--hp-text-soft,#68746e);font-size:12px}
.hotel-room-analytics-number{font-variant-numeric:tabular-nums}
.hotel-room-analytics-money{font-weight:650}
.hotel-room-analytics-date{color:var(--hp-text-soft,#68746e);font-variant-numeric:tabular-nums;white-space:nowrap}
.hotel-room-analytics-slot{font-variant-numeric:tabular-nums;font-weight:600}
.hotel-room-analytics-status{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:4px;font-size:12px;font-weight:600;white-space:nowrap}
.hotel-room-analytics-status.is-active{background:#eaf7ef;color:#16794b}
.hotel-room-analytics-status.is-inactive{background:#f2f4f2;color:#68746e}
.hotel-room-analytics-status.is-historical{background:#fff4df;color:#996400}
.hotel-room-analytics-status.is-unknown{background:#f2f4f2;color:#52605a}
.hotel-room-analytics-sort-button{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.hotel-room-analytics-sort-button.is-active{color:var(--hp-primary,#24614d)}
.hotel-room-analytics-state,.hotel-room-analytics-empty{display:flex;min-height:168px;align-items:center;justify-content:center;flex-direction:column;gap:10px;border-top:1px solid var(--hp-line,#dfe5e1);color:var(--hp-text-soft,#68746e);text-align:center}
.hotel-room-analytics-state.is-error{color:#9d3f36}
.hotel-room-analytics-empty strong{color:var(--hp-text,#26322d)}
.hotel-room-analytics-empty span{font-size:13px}
.hotel-room-analytics-validation{margin:0 0 14px;padding:9px 12px;border-left:3px solid #bf7b15;background:#fff8e8;color:#805714;font-size:13px}
@media (max-width: 1100px){.hotel-room-analytics-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-room-analytics-search{grid-column:1/-1}.hotel-room-analytics-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.hotel-room-analytics-summary-item:nth-child(3){border-right:0}.hotel-room-analytics-summary-item:nth-child(-n+3){border-bottom:1px solid var(--hp-line,#dfe5e1)}}
@media (max-width: 767px){.hotel-room-analytics-root{margin-top:18px}.hotel-room-analytics-heading h2{font-size:18px}.hotel-room-analytics-periods{width:100%}.hotel-room-analytics-period{min-width:62px;padding:0 8px}.hotel-room-analytics-filter-grid{grid-template-columns:1fr}.hotel-room-analytics-search{grid-column:auto}.hotel-room-analytics-custom-dates{display:grid;grid-template-columns:1fr}.hotel-room-analytics-custom-dates .hp-input{width:100%}.hotel-room-analytics-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-room-analytics-summary-item{padding:12px}.hotel-room-analytics-summary-item:first-child{padding-left:12px}.hotel-room-analytics-summary-item:nth-child(2n){border-right:0}.hotel-room-analytics-summary-item:nth-child(3){border-right:1px solid var(--hp-line,#dfe5e1)}.hotel-room-analytics-summary-item:nth-child(-n+4){border-bottom:1px solid var(--hp-line,#dfe5e1)}.hotel-room-analytics-summary-item strong{font-size:17px}}
