/* Codexia: temporary upcoming charges, grouped across companies. */
.billing-summary-shell{min-width:0;color:#183b52}
.billing-summary-shell .p-button{min-height:44px;white-space:normal;line-height:1.5;text-align:center;font-size:16px}
.billing-summary-notice{padding:14px 16px;border:1px solid #c9dbed;border-radius:10px;background:#f0f6ff;color:#345875;font-size:16px;line-height:1.8;margin:0 0 22px}
.billing-summary-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:20px}
.billing-summary-filters label,.billing-summary-search label{font-size:16px;color:#294c69;line-height:1.6;font-weight:700;min-width:0}
.billing-summary-filters select{width:100%;min-width:0;min-height:46px;font-size:16px;color:#214662;background:#fff;border:1px solid #bed0e6;border-radius:9px;padding:11px 12px;text-overflow:ellipsis}
.billing-summary-search{display:grid;gap:8px;margin-bottom:20px}.billing-summary-search input[type="search"]{max-width:none;min-height:46px;font-size:16px;background:#fff;border-color:#bed0e6}
.billing-summary-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 0 11px}
.billing-summary-select-all{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;font-size:16px;color:#2d5270;font-weight:600;line-height:1.5;margin:0}
.billing-summary-select-all input[type="checkbox"],.billing-summary-invoice-check input[type="checkbox"]{width:20px;height:20px;flex:none;margin:0;accent-color:#315ae3}
#billing-summary-visible-count{font-size:16px;color:#476783;line-height:1.6}
.billing-summary-list{border:1px solid #cadaed;border-radius:10px;overflow:hidden;min-width:0}
.billing-summary-invoice-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:16px;line-height:1.5;color:#244963}
.billing-summary-invoice-table th{background:#eff5ff;color:#355a7b;font-size:16px;line-height:1.5;font-weight:700;text-align:left;padding:12px 10px}
.billing-summary-invoice-table td{padding:13px 10px;border-top:1px solid #dce7f4;vertical-align:middle;overflow-wrap:anywhere}
.billing-summary-invoice-table td strong{display:block;color:#193f5c;font-size:16px;font-weight:800;line-height:1.5}
.billing-summary-invoice-table .billing-summary-check-col{width:48px;padding-left:0;padding-right:0}
.billing-summary-invoice-check{display:flex;flex-direction:row;align-items:center;justify-content:center;width:44px;min-height:44px;cursor:pointer;margin:0}
.billing-summary-invoice-table .billing-summary-state-col{width:115px}
.billing-summary-invoice-table .billing-summary-money-col{width:110px;text-align:right;font-size:16px;font-weight:700;color:#173d59}
.billing-summary-row-concept{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#43617c;font-size:16px;line-height:1.6;margin-top:4px}
.billing-summary-row-date{display:block;font-size:16px;line-height:1.6;color:#4d6b84;margin-top:4px}
.billing-summary-state{display:inline-flex;padding:4px 8px;background:#f1f5fb;border:1px solid #cedaeb;border-radius:6px;font-size:16px;font-weight:600;color:#3c5f7f;line-height:1.5}
.billing-summary-state-paid{background:#e8f7ef;color:#256a4e;border-color:#bfe2cf}.billing-summary-state-overdue{background:#fff1eb;color:#945139;border-color:#edcbbb}
.billing-summary-mobile-status{display:none}.billing-summary-empty{padding:27px 19px;text-align:center;color:#4b6882;font-size:16px;line-height:1.8;margin:0}
.billing-summary-limit{font-size:16px;line-height:1.8;color:#4a6983;margin:14px 0 18px}
.billing-summary-selection-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;background:#f0f7fa;border:1px solid #c8dfe8;border-radius:10px;font-size:16px;line-height:1.6;color:#335c71}
.billing-summary-selection-total strong{font-size:22px;color:#17445c;font-weight:800;white-space:nowrap}
.billing-summary-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}
.billing-summary-footer>span{font-size:16px;line-height:1.7;color:#4b6680;max-width:260px}
.billing-summary-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);padding:0!important;border:0!important;white-space:nowrap}
.billing-summary-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;font-size:16px;color:#4b6b85;line-height:1.6}
.billing-summary-language{font-size:16px;font-weight:800;letter-spacing:.05em;color:#345ba7}
.billing-summary-document-preview{min-width:0;max-width:100%;border:1px solid #cbdced;border-radius:12px;padding:25px 23px;background:#fff;box-shadow:0 6px 25px #1e476507;overflow:hidden}
.billing-summary-message{margin-top:27px;padding-top:25px;border-top:1px solid #d4e1ef}
.billing-summary-message>label{display:flex;gap:5px;color:#254f6a;font-size:18px;line-height:1.5;margin-bottom:12px}
.billing-summary-message>label>span{font-size:16px;color:#4a6983;font-weight:500}
.billing-summary-message textarea{min-height:240px;font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.85;color:#234b65;background:#f9fcff;border:1px solid #bfd2e7;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.billing-summary-message-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:13px}.billing-summary-message-actions>span{font-size:16px;line-height:1.7;color:#476784;flex:1;min-width:180px}
.billing-summary-preview-actions{justify-content:space-between;gap:12px}
/* Standalone English document: also loaded directly in the print window. */
.billing-summary-document{font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.75;color:#243e51;background:#fff;overflow-wrap:anywhere}
.billing-summary-document *{box-sizing:border-box}.billing-summary-document h1,.billing-summary-document h2,.billing-summary-document h3{font-family:Space,Arial,sans-serif;line-height:1.25;color:#123b55;letter-spacing:-.035em}
.billing-summary-document h1{font-size:30px;margin:0 0 13px}.billing-summary-document h2{font-size:23px;margin:26px 0 13px}.billing-summary-document h3{font-size:19px;margin:19px 0 10px}
.billing-summary-document p{font-size:16px;line-height:1.8;color:#365a71;margin:9px 0 13px}.billing-summary-document small{font-size:14px;line-height:1.6;color:#4c6a80}.billing-summary-document strong{font-weight:750;color:#193f57}
.billing-summary-document header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;padding-bottom:21px;margin-bottom:23px;border-bottom:2px solid #315ba5}
.billing-summary-document .billing-summary-brand{font-size:27px;font-weight:800;letter-spacing:-1px;color:#193d64}
.billing-summary-document section{margin:21px 0}.billing-summary-document dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 25px;margin:16px 0}
.billing-summary-document dl>div{min-width:0}.billing-summary-document dt{font-size:14px;line-height:1.6;color:#4b6a81;margin:0 0 3px}.billing-summary-document dd{font-size:16px;line-height:1.8;color:#254b62;margin:0;font-weight:650;white-space:pre-line;overflow-wrap:anywhere}
.billing-summary-document table{border-collapse:collapse;width:100%;font-family:inherit;font-size:14px;line-height:1.65;margin:16px 0 20px;text-align:left;table-layout:auto}
.billing-summary-document th{font-size:14px;line-height:1.6;padding:11px 9px;border-block:1px solid #d2dfec;color:#2f5373;background:#eef4fb;font-weight:750;vertical-align:top;text-align:left}
.billing-summary-document td{font-size:14px;line-height:1.7;padding:12px 9px;border-bottom:1px solid #dce6f0;color:#2b4c64;vertical-align:top;overflow-wrap:anywhere}
.billing-summary-document th:first-child,.billing-summary-document td:first-child{padding-left:9px}.billing-summary-document th:last-child,.billing-summary-document td:last-child{text-align:right}
.billing-summary-document td strong{font-size:14px}.billing-summary-document tfoot td{border-top:2px solid #b9cfe3;font-weight:750;color:#1d4865;background:#f5f9fd}
.billing-summary-document .billing-summary-totals{margin:23px 0 0 auto;max-width:330px;padding:16px 18px;border:1px solid #cbddec;background:#f5f9fc;border-radius:9px;break-inside:avoid}
.billing-summary-document .billing-summary-totals>div{display:flex;justify-content:space-between;gap:18px;align-items:baseline;font-size:16px;line-height:1.8;padding:4px 0}
.billing-summary-document .billing-summary-totals>div:last-child{border-top:1px solid #c5d8e7;padding-top:11px;margin-top:8px;font-size:19px;color:#193f59;font-weight:800}
.billing-summary-document .billing-summary-notice{background:#f1f6fc;border:1px solid #ccdeee;border-radius:8px;padding:13px 15px;font-size:14px;line-height:1.8;color:#345b78;margin:20px 0}
.billing-summary-document footer{border-top:1px solid #ccddeb;margin-top:27px;padding-top:16px;font-size:14px;line-height:1.8;color:#4a6a80}
.billing-summary-document .billing-summary-doc-header{align-items:flex-start}.billing-summary-document .billing-summary-doc-header>div:last-child{text-align:right;font-size:14px;line-height:1.75;color:#4c6b80}.billing-summary-document .billing-summary-doc-header>div:last-child>span,.billing-summary-document .billing-summary-doc-header>div:last-child>strong{display:block}.billing-summary-document .billing-summary-wordmark{display:block;font-family:Space,Arial,sans-serif;font-size:30px;font-weight:800;letter-spacing:-1px;color:#204877}.billing-summary-document .billing-summary-doc-header p{margin:6px 0 0}.billing-summary-document .billing-summary-bill-to{padding:0 0 19px;border-bottom:1px solid #d5e2ed;margin-bottom:21px}.billing-summary-document .billing-summary-bill-to>span{font-size:14px;letter-spacing:.04em;color:#52718a;font-weight:700}.billing-summary-document .billing-summary-bill-to h3{margin:8px 0 5px;font-size:23px}.billing-summary-document .billing-summary-bill-to p{margin:4px 0;font-size:16px}.billing-summary-document .billing-summary-invoice-block{padding-top:18px;margin-top:23px;border-top:1px solid #cddfed}.billing-summary-document .billing-summary-invoice-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.billing-summary-document .billing-summary-invoice-heading h4{font-family:Space,Arial,sans-serif;font-size:21px;line-height:1.4;letter-spacing:-.025em;color:#1c4662;margin:0}.billing-summary-document .billing-summary-doc-status{display:inline-flex;background:#fff6df;border:1px solid #e8d5a0;color:#886518;border-radius:5px;padding:3px 8px;font-size:14px;line-height:1.5;letter-spacing:.015em}.billing-summary-document .billing-summary-doc-status.is-paid{background:#edf8f0;border-color:#badcc7;color:#276a49}.billing-summary-document .billing-summary-invoice-block>p{font-size:14px;line-height:1.8;margin:10px 0 13px}.billing-summary-document .billing-summary-doc-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.billing-summary-document .billing-summary-doc-table{display:table;min-width:440px;margin-top:0;table-layout:fixed}.billing-summary-document .billing-summary-doc-table th:first-child{width:48%;min-width:0}.billing-summary-document .billing-summary-doc-table th:nth-child(2){width:10%;text-align:center}.billing-summary-document .billing-summary-doc-table th:nth-child(3),.billing-summary-document .billing-summary-doc-table th:nth-child(4){width:21%;text-align:right}.billing-summary-document .billing-summary-doc-table td:nth-child(2){text-align:center}.billing-summary-document .billing-summary-doc-table td:nth-child(3),.billing-summary-document .billing-summary-doc-table td:nth-child(4){text-align:right;white-space:nowrap}.billing-summary-document .billing-summary-invoice-amounts{max-width:330px;margin:0 0 0 auto}.billing-summary-document .billing-summary-amount{display:flex;justify-content:space-between;align-items:baseline;gap:20px;font-size:14px;line-height:1.75;padding:4px 0}.billing-summary-document .billing-summary-amount>strong{white-space:nowrap}.billing-summary-document .billing-summary-amount.is-total{border-top:1px solid #c6d8e7;padding-top:10px;margin-top:5px;font-size:16px}.billing-summary-document .billing-summary-doc-footer{padding-top:23px;margin-top:29px}.billing-summary-document .billing-summary-doc-totals{background:#f0f6fc;border:1px solid #bed5e8;border-radius:9px;padding:17px 19px;max-width:350px;margin-left:auto;margin-bottom:21px;break-inside:avoid}.billing-summary-document .billing-summary-doc-totals .billing-summary-amount{font-size:16px}.billing-summary-document .billing-summary-amount.is-balance{border-top:1px solid #b8cfe3;margin-top:7px;padding-top:12px;font-size:19px;font-weight:800;color:#184563}.billing-summary-document .billing-summary-doc-footer>p{font-size:14px;line-height:1.8}
.billing-summary-print{margin:0;padding:30px;background:#fff;color:#243e51}.billing-summary-print>.billing-summary-document{width:100%;max-width:190mm;margin:auto}
@media(max-width:600px){.billing-summary-filters{grid-template-columns:1fr;gap:15px}.billing-summary-list-heading{gap:2px 12px}.billing-summary-invoice-table .billing-summary-state-col{display:none}.billing-summary-mobile-status{display:block;font-size:16px;line-height:1.6;color:#365f84;margin-top:5px}.billing-summary-invoice-table .billing-summary-check-col{width:44px;padding-left:0}.billing-summary-invoice-table .billing-summary-money-col{width:96px;padding-right:9px}.billing-summary-invoice-table td,.billing-summary-invoice-table th{padding:12px 7px}.billing-summary-invoice-check{width:44px;min-height:44px}.billing-summary-row-date{display:none}.billing-summary-selection-total{padding:15px;flex-wrap:wrap;gap:5px 12px}.billing-summary-selection-total strong{font-size:22px}.billing-summary-footer{align-items:stretch;flex-direction:column;gap:14px}.billing-summary-footer>span{max-width:none}.billing-summary-footer .p-button{width:100%}.billing-summary-document-preview{padding:20px 16px;border-radius:10px}.billing-summary-document h1{font-size:26px}.billing-summary-document h2{font-size:21px}.billing-summary-document header{gap:13px;padding-bottom:17px;margin-bottom:18px}.billing-summary-document dl{grid-template-columns:1fr;gap:12px}.billing-summary-document table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.billing-summary-document table thead,.billing-summary-document table tbody,.billing-summary-document table tfoot{min-width:480px}.billing-summary-document th,.billing-summary-document td{min-width:85px}.billing-summary-document th:first-child,.billing-summary-document td:first-child{min-width:140px}.billing-summary-document .billing-summary-totals{max-width:none;padding:14px}.billing-summary-message{margin-top:22px;padding-top:22px}.billing-summary-message>label{font-size:18px}.billing-summary-message textarea{padding:13px;min-height:260px}.billing-summary-message-actions{align-items:stretch;flex-direction:column;gap:12px}.billing-summary-message-actions .p-button{width:100%}.billing-summary-message-actions>span{min-width:0}.billing-summary-preview-actions{display:grid;grid-template-columns:1fr}.billing-summary-preview-heading{gap:7px}.billing-summary-language{font-size:16px}}
@media(max-width:360px){.billing-summary-invoice-table .billing-summary-check-col{width:44px;padding-left:0}.billing-summary-invoice-table .billing-summary-money-col{width:82px;padding-left:3px;padding-right:7px}.billing-summary-invoice-table th,.billing-summary-invoice-table td{padding-top:11px;padding-bottom:11px}.billing-summary-invoice-check{width:44px}.billing-summary-document-preview{padding:17px 12px}.billing-summary-selection-total{padding:13px}.billing-summary-select-all{gap:8px;font-size:16px}.billing-summary-document .billing-summary-totals>div{gap:12px}}
@media(max-width:600px){.billing-summary-document .billing-summary-doc-header>div:last-child{text-align:left}.billing-summary-document .billing-summary-invoice-heading{gap:10px}.billing-summary-document .billing-summary-invoice-heading h4{font-size:20px}.billing-summary-document .billing-summary-doc-table-wrap{border-radius:6px}.billing-summary-document .billing-summary-doc-table{display:table}.billing-summary-document .billing-summary-invoice-amounts{max-width:none}.billing-summary-document .billing-summary-doc-totals{max-width:none;padding:14px}.billing-summary-document .billing-summary-amount{gap:12px}.billing-summary-document .billing-summary-amount.is-balance{font-size:17px;flex-wrap:wrap;gap:3px 12px}.billing-summary-document .billing-summary-bill-to h3{font-size:21px}}
@page{size:A4;margin:14mm}
@media print{.billing-summary-print{padding:0;margin:0;background:#fff}.billing-summary-print>.billing-summary-document{max-width:none;width:100%;font-size:11pt;color:#172f40}.billing-summary-document h1{font-size:23pt}.billing-summary-document h2{font-size:16pt;break-after:avoid}.billing-summary-document h3{font-size:13pt;break-after:avoid}.billing-summary-document p,.billing-summary-document dd{font-size:10pt}.billing-summary-document small,.billing-summary-document dt,.billing-summary-document footer{font-size:9pt}.billing-summary-document header{break-inside:avoid}.billing-summary-document table{display:table!important;overflow:visible!important;table-layout:auto;width:100%;font-size:9pt}.billing-summary-document thead{display:table-header-group}.billing-summary-document tfoot{display:table-row-group}.billing-summary-document tr{break-inside:avoid}.billing-summary-document th,.billing-summary-document td,.billing-summary-document td strong{font-size:9pt;min-width:0!important;padding:8px 7px}.billing-summary-document th:first-child,.billing-summary-document td:first-child{min-width:0!important}.billing-summary-document .billing-summary-totals{max-width:85mm;margin-left:auto;break-inside:avoid}.billing-summary-document .billing-summary-totals>div{font-size:10pt}.billing-summary-document .billing-summary-totals>div:last-child{font-size:13pt}.billing-summary-document .billing-summary-notice{font-size:9pt;break-inside:avoid}.billing-summary-document a{color:inherit;text-decoration:none}}
@media print{.billing-summary-document .billing-summary-doc-header>div:last-child{text-align:right;font-size:9pt}.billing-summary-document .billing-summary-wordmark{font-size:24pt}.billing-summary-document .billing-summary-bill-to>span,.billing-summary-document .billing-summary-bill-to p,.billing-summary-document .billing-summary-invoice-block>p,.billing-summary-document .billing-summary-doc-status,.billing-summary-document .billing-summary-doc-footer>p{font-size:9pt}.billing-summary-document .billing-summary-bill-to h3{font-size:15pt}.billing-summary-document .billing-summary-invoice-heading{break-after:avoid}.billing-summary-document .billing-summary-invoice-heading h4{font-size:13pt}.billing-summary-document .billing-summary-doc-table-wrap{overflow:visible}.billing-summary-document .billing-summary-doc-table{min-width:0;table-layout:fixed}.billing-summary-document .billing-summary-doc-table th,.billing-summary-document .billing-summary-doc-table td{font-size:9pt}.billing-summary-document .billing-summary-invoice-amounts{max-width:80mm;break-inside:avoid}.billing-summary-document .billing-summary-amount,.billing-summary-document .billing-summary-doc-totals .billing-summary-amount{font-size:10pt}.billing-summary-document .billing-summary-amount.is-total{font-size:11pt}.billing-summary-document .billing-summary-doc-totals{max-width:90mm;break-inside:avoid}.billing-summary-document .billing-summary-amount.is-balance{font-size:12pt;flex-wrap:nowrap}}

/* Multi-company upcoming invoice builder. */
.billing-summary-filters input,.billing-summary-edit-fields input{width:100%;min-width:0;max-width:100%;min-height:46px;font:inherit;font-size:16px;color:#214662;background:#fff;border:1px solid #bed0e6;border-radius:9px;padding:10px 11px}
.billing-summary-filters label{display:flex;flex-direction:column;gap:6px}
.billing-summary-company-group+.billing-summary-company-group{border-top:2px solid #bacfe7}
.billing-summary-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#eaf2ff}
.billing-summary-group-heading>span{white-space:nowrap;font-size:15px;color:#345777}
.billing-summary-group-heading .billing-summary-select-all{min-width:0;overflow-wrap:anywhere}
.billing-summary-edit{margin-top:10px;font-size:16px;color:#2d567a}
.billing-summary-edit summary,.billing-summary-manual summary,.billing-summary-warnings summary{cursor:pointer;min-height:44px;line-height:1.6;padding:9px 0;font-weight:700}
.billing-summary-edit-fields{display:grid;gap:12px;margin:10px 0 5px;min-width:0}
.billing-summary-edit-fields label{min-width:0;font-size:16px;display:grid;gap:5px}
.billing-summary-edit p{font-size:15px;line-height:1.6;color:#3f5f79}
.billing-summary-manual{padding:10px 14px;margin:20px 0;border:1px solid #bed2e7;border-radius:10px;background:#f7faff}
.billing-summary-manual .billing-summary-filters{margin-top:15px}
.billing-summary-warnings{padding:10px 14px;margin-bottom:16px;background:#fff6e8;border:1px solid #e5c589;border-radius:10px}
.billing-summary-warnings li{font-size:16px;line-height:1.7;margin:8px 0}
.billing-summary-document .billing-summary-company{border:1px solid #ccdbeb;border-radius:10px;padding:16px;margin:22px 0}
.billing-summary-document .billing-summary-company>h3{margin:0 0 14px;font-size:22px}
.billing-summary-document .billing-summary-invoice-block{border-top:0;padding-top:0;margin-top:12px}
.billing-summary-document .billing-summary-amount.is-balance{border-top:0;margin-top:0;padding-top:0}
@media(max-width:600px){
 .billing-summary-group-heading{flex-wrap:wrap;gap:0 10px}
 .billing-summary-group-heading>span{padding-left:30px}
 .billing-summary-invoice-table .billing-summary-money-col{width:88px;font-size:16px}
 .billing-summary-invoice-table .billing-summary-check-col{width:34px}
 .billing-summary-invoice-check{width:32px}
 .billing-summary-document-preview{padding:16px 12px}
 .billing-summary-document .billing-summary-company{padding:12px 9px}
 .billing-summary-document .billing-summary-doc-table{min-width:0;font-size:14px}
 .billing-summary-document .billing-summary-doc-table th,.billing-summary-document .billing-summary-doc-table td{padding:9px 4px}
 .billing-summary-document .billing-summary-doc-table th:first-child{width:44%}
 .billing-summary-document .billing-summary-doc-table th:nth-child(2){width:10%}
 .billing-summary-document .billing-summary-doc-table th:nth-child(3),.billing-summary-document .billing-summary-doc-table th:nth-child(4){width:23%}
 .billing-summary-document .billing-summary-doc-table td:nth-child(3),.billing-summary-document .billing-summary-doc-table td:nth-child(4){white-space:normal;overflow-wrap:anywhere}
 .billing-summary-footer,.billing-summary-preview-actions{align-items:stretch;flex-direction:column}
 .billing-summary-selection-total{flex-wrap:wrap}
 .billing-summary-message>label{flex-wrap:wrap}
}


.p-billing-settings{min-width:0;margin:0;padding:18px;border:1px solid #bfd1e6;border-radius:12px;background:#f6f9ff}.p-billing-settings legend{font-size:18px;font-weight:800;color:#173d59;padding:0 7px}.p-billing-settings .p-small{margin-top:14px}.p-billing-settings:disabled{opacity:.7}
