/* Monthly report controls and detail tables, scoped to owner reporting. */
.owner-month-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.owner-recent-months button.owner-month-row{width:100%;text-align:left;color:inherit;background:#fff;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.owner-recent-months button.owner-month-row:hover{background:#faf9ff;border-color:#cfc8f7}
.owner-recent-months button.owner-month-row:focus-visible{outline:3px solid #bcb1f5;outline-offset:2px}
.owner-month-row .month-row-action{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap;margin-left:16px;color:#7d7399;font-size:11px;font-weight:600}
.owner-month-row .month-row-action i{font-style:normal;font-size:22px;line-height:1}
.month-report-page .head{align-items:flex-start}
.month-report-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:18px 22px}
.month-report-switcher{display:flex;align-items:center;gap:12px;min-width:0}
.month-report-select-label{display:flex;align-items:center;gap:10px;color:#777d87;font-size:12px;white-space:nowrap}
.month-report-select-label select{min-height:40px;max-width:220px;padding:8px 34px 8px 12px;border:1px solid #e5e4ec;border-radius:10px;background:#fff;color:#27232e;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.month-report-select-label select:focus-visible{outline:3px solid #d6cef6;outline-offset:2px}
.month-report-switcher button:disabled{opacity:.38;cursor:default}
.month-report-period{color:#84818b;font-size:12px;text-align:right}
.month-report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.month-report-page .month-report-kpis .kpi{min-width:0}
.month-report-page .month-report-kpis strong{overflow-wrap:anywhere}
.month-report-note{margin:14px 0;padding:12px 16px;border:1px solid #eae6f5;border-radius:12px;background:#f8f6fd;color:#756986;font-size:12px;line-height:1.75}
.month-report-section{margin-top:16px}
.month-report-page .cardhead{gap:12px;flex-wrap:wrap}
.month-report-page .cardhead>span{font-size:11px;color:#8a8690}
.month-report-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #ecebf0;border-radius:12px}
.month-report-table{width:100%;min-width:640px;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.month-report-table th,.month-report-table td{padding:14px 16px;text-align:right;border-bottom:1px solid #efedf2;white-space:nowrap}
.month-report-table th:first-child,.month-report-table td:first-child{text-align:left}
.month-report-table thead th{background:#f8f7fa;color:#827b8b;font-size:11px;font-weight:600}
.month-report-table tbody th{font-weight:600;color:#38313f}
.month-report-table tbody tr:hover{background:#faf9fd}
.month-report-table tbody th small{margin-left:9px;color:#9c95a4;font-weight:400}
.month-report-table td:last-child{font-weight:700;color:#302638}
.month-report-table tfoot th,.month-report-table tfoot td{border-bottom:0;background:#f7f5fb;font-weight:700}
.month-report-unallocated th,.month-report-unallocated td{color:#8c7795!important}
.month-report-footnote{margin:16px 4px 0;font-size:11px;color:#96919d;line-height:1.8}
.month-report-cost-kpis{margin-bottom:18px}
.month-report-cost-kpis .kpi{border:1px solid #eeeaf4;background:#fbfafc;box-shadow:none}
.month-report-profit{color:#337d69}
.month-report-profit.is-loss{color:#b55363}
.month-report-cost-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px}
.month-report-cost-breakdown{margin:0;font-variant-numeric:tabular-nums}
.month-report-cost-breakdown>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid #efedf2}
.month-report-cost-breakdown dt{font-size:13px;color:#433a4b}
.month-report-cost-breakdown dt small{display:block;margin-top:4px;font-size:10px;line-height:1.6;color:#918a99}
.month-report-cost-breakdown dd{margin:0;flex:none;font-size:14px;font-weight:650;color:#3c3146}
.month-report-cost-breakdown .month-report-cost-total{padding:15px 0;border-bottom:0;font-weight:700}
.month-report-cost-basis{padding:2px 0;color:#89818f;font-size:11px;line-height:1.85}
.month-report-cost-basis p{margin:0 0 15px}
.month-report-cost-basis b{display:block;margin-bottom:4px;color:#64576f;font-size:12px;font-weight:600}
.month-report-room-costs{margin-top:16px;border-top:1px solid #eeebf2;padding-top:16px}
.month-report-room-costs summary{padding:4px 0;font-size:12px;color:#756289;cursor:pointer}
.month-report-room-costs summary span{margin-left:8px;color:#a09aa7}
.month-report-room-costs summary:focus-visible{outline:3px solid #d6cef6;outline-offset:3px;border-radius:4px}
.month-report-room-costs[open] summary{margin-bottom:14px}
.month-report-room-cost-table{min-width:480px}
@media(max-width:700px){
 .month-report-page .head{flex-direction:column;align-items:stretch;gap:12px}
 .owner-month-heading-actions{gap:7px}
 .owner-month-heading-actions>span{display:none}
 .owner-month-row .month-row-action{margin-left:4px;gap:2px}
 .owner-month-row .month-row-action span{display:none}
 .owner-month-row .owner-month-revenue{font-size:14px}
 .month-report-controls{align-items:stretch;flex-direction:column;gap:12px;padding:16px}
 .month-report-switcher{justify-content:space-between;gap:7px}
 .month-report-switcher>.btn{padding:10px 9px;white-space:nowrap;font-size:11px;min-height:40px}
 .month-report-select-label{flex:1;justify-content:center;font-size:0;gap:0}
 .month-report-select-label select{width:100%;max-width:210px;min-width:0;padding:8px;font-size:12px}
 .month-report-period{text-align:left;font-size:11px}
 .month-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .month-report-page .month-report-kpis .kpi{padding:16px 12px;min-height:108px}
 .month-report-page .month-report-kpis strong{font-size:25px;letter-spacing:-.7px}
 .month-report-page .month-report-kpis .hint{font-size:10px;line-height:1.6}
 .month-report-page .head .actions{gap:7px;flex-wrap:wrap}
 .month-report-page .head h1{font-size:27px}
 .month-report-table th,.month-report-table td{padding:12px 14px}
 .month-report-cost-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .month-report-cost-kpis .kpi:last-child{grid-column:1/-1;min-height:auto}
 .month-report-cost-basis{padding-top:15px;border-top:1px solid #eeebf2}
}
