.billing-document{background:#fff;border:1px solid #dfe7e9;border-radius:10px;padding:30px;color:#172e39;overflow-wrap:anywhere}.billing-document h1{font-size:25px;margin:4px 0 10px}.billing-document h2{font-size:16px;margin:0 0 12px}.billing-document p{margin:0 0 14px}.document-heading{display:flex;justify-content:space-between;gap:30px;border-bottom:2px solid #087c70;padding-bottom:18px;margin-bottom:22px}.document-heading>div{flex:1}.document-heading>div:last-child{text-align:right}.document-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:20px}.document-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;margin:14px 0 26px}.document-table th,.document-table td{white-space:normal;border-bottom:1px solid #dfe7e9;padding:10px 7px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.document-table th{background:#f3f6f7;font-weight:600;color:#334d58}.document-table small{display:block;font-size:11px;color:#627581;margin-top:4px}.document-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.document-totals{margin:0 0 22px}.document-totals>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;border-bottom:1px solid #dfe7e9}.document-totals dd{margin:0;text-align:right}.document-footnote{font-size:11px;color:#627581;margin-top:26px}.document-alert{padding:12px;border:1px solid #627581;font-weight:600}.letter-text{white-space:pre-wrap}.print-page{font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#eef2f3;margin:0;color:#172e39}.print-page main{max-width:1050px;margin:24px auto;padding:0 20px}.print-page .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1px}.print-toolbar{max-width:1050px;margin:24px auto;display:flex;align-items:center;gap:20px;padding:0 20px}.print-toolbar button{background:#087c70;color:white;border:0;border-radius:6px;padding:12px 18px;font:inherit;cursor:pointer}.print-toolbar a{color:#087c70}.print-toolbar span{font-size:12px}.statement-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.statement-summary>div{border:1px solid #dfe7e9;padding:14px}.statement-summary strong{display:block;font-size:18px}.statement-summary span{font-size:12px;color:#627581}@media(max-width:700px){.document-columns{grid-template-columns:1fr}.document-heading{flex-direction:column}.document-heading>div:last-child{text-align:left}.billing-document{padding:16px}.statement-summary{grid-template-columns:1fr 1fr}.print-toolbar{flex-wrap:wrap}.document-table{font-size:11px}.document-table th,.document-table td{padding:7px 4px}}
@page{size:A4 portrait;margin:14mm 12mm}@media print{html,body.print-page{background:white;font-size:10pt}.print-toolbar,.no-print{display:none!important}.print-page main{max-width:none;margin:0;padding:0}.billing-document{border:0;border-radius:0;padding:0}.document-heading{display:flex;flex-direction:row}.document-heading>div:last-child{text-align:right}.document-columns{grid-template-columns:1fr 1fr}.statement-summary{grid-template-columns:repeat(4,1fr)}.document-table{font-size:8.5pt;overflow:visible}.document-table th,.document-table td{padding:6pt 4pt}.document-table small,.document-footnote{font-size:8pt}thead{display:table-header-group}tfoot{display:table-row-group}tr{break-inside:avoid}h1,h2{break-after:avoid}.document-heading,.document-columns,.document-totals,.statement-summary{break-inside:avoid}a{color:inherit;text-decoration:none}.numeric{white-space:nowrap!important}}

/* Printable guest folio shares transaction rows with the reservation view. */
.guest-folio-table{table-layout:auto}.guest-folio-table thead th:first-child{width:15%}.guest-folio-table thead th:nth-child(2){width:33%}.guest-folio-table th.folio-transaction-number{width:16%}.guest-folio-table thead th:nth-child(4),.guest-folio-table thead th:nth-child(5){width:11%}.guest-folio-table thead th:last-child{width:14%}.guest-folio-table .folio-transaction-number{white-space:normal;overflow-wrap:anywhere}.guest-folio-table .numeric{white-space:nowrap;overflow-wrap:normal}.guest-folio-table .folio-detail{white-space:pre-line}.guest-folio-table tfoot th,.guest-folio-table tfoot td{border-top:2px solid #627581;background:#edf6f3;font-weight:600}.guest-folio-table tfoot small{font-weight:400}.guest-folio-table .folio-company-activity{background:#fafcfc}.guest-folio-table .folio-credit{color:#087c70}.folio-print-note{font-size:12px}.guest-folio-table .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media print{.guest-folio-table{margin-bottom:16pt}.folio-print-note{font-size:8pt}.guest-folio-table th{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Property manager report; summary prints portrait, transaction detail landscape. */
.report-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}.report-filters>div{min-width:180px}.report-filters label{display:block;margin-bottom:8px}.report-filters input,.report-filters select{width:100%}.report-filters>a{padding-bottom:12px}.report-caption,.report-basis{font-size:12px;color:#526975}.report-basis{border-top:1px solid #dfe7e9;padding-top:16px;margin-top:24px}.report-basis p{margin:0 0 10px}.manager-summary th:first-child{width:49%}.manager-summary td{width:17%}.manager-summary tbody th{font-weight:400}.manager-summary .report-section th{background:#e7f2ef;color:#176958;font-size:14px;font-weight:700;padding-top:14px}.manager-summary .report-total th,.manager-summary .report-total td,.manager-transactions tfoot{font-weight:700;border-top:1px solid #627581;background:#f4f8f7}.manager-report .numeric{white-space:nowrap;overflow-wrap:normal}.manager-summary a{display:block;color:#087c70;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.manager-transactions{table-layout:auto}.manager-transactions th:first-child{width:13%}.manager-transactions th:nth-child(2){width:16%}.manager-transactions th:nth-child(3){min-width:180px}.manager-transactions small{line-height:1.45}.report-table-scroll{overflow-x:auto}.report-pagination{align-items:center;margin:16px 0}.manager-report h2{margin-bottom:10px}
@media(max-width:700px){.report-filters>div{flex:1;min-width:150px}.report-filters select{max-width:100%}.manager-summary th:first-child{width:43%}.manager-summary .numeric{font-size:11px}.manager-all-transactions{min-width:850px}}
@page manager-details{size:A4 landscape;margin:12mm}
@media print{.manager-details-print{page:manager-details}.report-table-scroll{overflow:visible}.manager-transactions{width:100%;font-size:8pt}.manager-transactions small{font-size:7.5pt}.manager-transactions th:nth-child(3){min-width:0}.report-basis,.report-caption{font-size:8pt}.manager-summary .report-section th{font-size:10pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}.manager-summary th,.manager-summary td{padding:4pt}.manager-summary .report-section{break-after:avoid}.report-pagination{display:none}.manager-all-transactions{min-width:0}}

.page-heading .actions,.report-pagination{display:flex;gap:10px;flex-wrap:wrap}

.revenue-postings{table-layout:auto}.revenue-postings th:first-child{width:15%}.revenue-postings th:nth-child(2){width:20%}.revenue-postings th:nth-child(3){width:29%}.revenue-postings th:nth-child(4){width:12%}.revenue-postings th:nth-child(5){width:24%}.revenue-postings tfoot{font-weight:700;border-top:1px solid #627581}.panel.report-table-scroll{padding:20px;margin-top:24px}.form-panel .field input[type=checkbox]{width:auto;margin-right:8px}.form-panel textarea{width:100%;font:inherit;padding:10px;border:1px solid #cad6da;border-radius:6px;box-sizing:border-box}
.folio-bill-to{overflow-wrap:anywhere}.folio-billing-address{white-space:pre-line;overflow-wrap:anywhere}

/* Room operations history */
.room-activity-table { width: 100%; table-layout: fixed; }
.panel .room-activity-table { min-width: 720px; }
.room-activity-table th:nth-child(1) { width: 17%; }
.room-activity-table th:nth-child(2) { width: 25%; }
.room-activity-table th:nth-child(4) { width: 16%; }
.room-activity-table th, .room-activity-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.activity-change { margin-bottom: .4rem; overflow-wrap: anywhere; }
.activity-note { margin: .4rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.room-activity-document .document-table { font-size: 10pt; }
.room-activity-document .document-table th:nth-child(1) { width: 17%; }
.room-activity-document .document-table th:nth-child(2) { width: 22%; }
.room-activity-document .document-table th:nth-child(4) { width: 14%; }
.room-activity-document .small { font-size: 9pt; }
.room-activity-document .muted { color: #52616b; }
.room-cleaning-form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .7rem; }
.room-activity-filters { flex-wrap: wrap; }
.housekeeping-condition-form { flex-wrap: wrap; }
.housekeeping-condition-form input[name="Notes"] { min-width: 10rem; flex: 1; }
