.period-month-fields,.period-range-fields{display:flex;align-items:flex-end;gap:14px;flex:2;min-width:min(100%,320px)}.period-month-fields>label,.period-range-fields>label{min-width:140px;flex:1}.period-month-fields[hidden],.period-range-fields[hidden]{display:none}.guide-filter-form>label:first-child,.guide-area-field{min-width:150px;flex:1}.guide-area-field .area-picker{width:100%}.guide-area-field .area-picker>summary{height:41px;box-sizing:border-box;padding-top:11px;padding-bottom:11px}.guide-filter-form .difference-filter{display:flex;align-items:center;gap:9px;min-width:max-content;height:41px;padding:0 5px;cursor:pointer}.guide-filter-form .difference-filter input{width:16px;height:16px;margin:0;accent-color:#176b8b}.guide-filter-form .difference-filter span{font-size:12px;color:#47566a}.guide-result-heading{margin-top:28px}.guide-report-table{min-width:1550px}.guide-report-table th,.guide-report-table td{white-space:nowrap;padding:11px 12px}.guide-report-table th{position:sticky;top:0;z-index:1}.guide-report-table td.currency{text-align:right;font-variant-numeric:tabular-nums}.guide-report-table td.guide-area-name{max-width:230px;overflow:hidden;text-overflow:ellipsis}.guide-report-table td.difference-value{font-weight:700;color:#a83d45}.guide-empty{text-align:center;padding:28px;color:var(--muted)}.guide-report-heading{align-items:flex-start}@media(max-width:760px){.period-month-fields,.period-range-fields{flex-basis:100%;flex-wrap:wrap}.period-month-fields>label,.period-range-fields>label{min-width:calc(50% - 8px)}.guide-filter-form .difference-filter{align-self:flex-start}.guide-result-heading{align-items:flex-start;gap:8px;flex-direction:column}}@media(max-width:520px){.period-month-fields>label,.period-range-fields>label{min-width:100%}}

/* executive.css hides overflow on all tables; this report needs horizontal navigation. */
.guide-table-wrap{max-width:100%;overflow-x:scroll;overflow-y:hidden;scrollbar-width:auto;scrollbar-color:#77899a #e6edf1;scrollbar-gutter:stable;overscroll-behavior-x:contain}
.guide-table-wrap::-webkit-scrollbar{height:14px}
.guide-table-wrap::-webkit-scrollbar-track{background:#e6edf1;border-radius:8px}
.guide-table-wrap::-webkit-scrollbar-thumb{background:#77899a;border:3px solid #e6edf1;border-radius:8px}
.guide-table-wrap::-webkit-scrollbar-thumb:hover{background:#52677d}
.guide-report-heading{justify-content:space-between;gap:20px}.guide-export{white-space:nowrap;margin-top:4px}.guide-cartera-panel{margin:22px 0 26px;padding:18px 20px;background:#f8fafb;border:1px solid var(--line);border-radius:12px}.guide-cartera-panel .section-heading{margin:0 0 13px;align-items:center}.guide-cartera-panel .section-heading h2{margin:0}.guide-cartera-total{font:700 22px Manrope,sans-serif;color:var(--navy);font-variant-numeric:tabular-nums}.guide-cartera-wrap{max-height:300px;overflow:auto}.guide-cartera-table{min-width:520px}.guide-cartera-table th:last-child,.guide-cartera-table td:last-child{text-align:right;white-space:nowrap}.guide-cartera-table tfoot td{background:#edf3f8;border-top:2px solid #d8e2eb;font-weight:700}.guide-report-table tfoot td{background:#edf3f8;border-top:2px solid #d8e2eb;font-weight:700;white-space:nowrap}.guide-doc-count{border:0;background:none;color:var(--link,#176b8b);font-size:13px;font-weight:700;text-decoration:underline;cursor:pointer;padding:3px 6px}.guide-doc-dialog{width:min(900px,calc(100vw - 36px));max-height:80vh;padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 70px rgba(10,27,45,.35);color:var(--text)}.guide-doc-dialog::backdrop{background:rgba(9,24,40,.42);backdrop-filter:blur(2px)}.guide-doc-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 12px;border-bottom:1px solid var(--line)}.guide-doc-dialog-head h2{margin:0}.guide-doc-close{border:0;background:#eef2f5;border-radius:50%;width:34px;height:34px;font-size:23px;line-height:1;cursor:pointer;color:var(--navy)}.guide-doc-dialog>.muted{padding:0 22px}.guide-doc-table-wrap{max-height:52vh;overflow:auto;margin:0 20px 20px}.guide-doc-table-wrap table{min-width:620px}.guide-doc-table-wrap td:nth-child(4),.guide-doc-table-wrap th:nth-child(4){text-align:right;white-space:nowrap}@media(max-width:760px){.guide-report-heading{align-items:flex-start}.guide-export{font-size:11px;padding:9px 10px}.guide-cartera-panel{padding:14px}.guide-cartera-total{font-size:18px}}@media(max-width:520px){.guide-report-heading{flex-direction:column}.guide-export{margin-top:0}}
.guide-cartera-area-summary,.guide-cartera-client-summary{margin-top:16px}.guide-cartera-area-summary h3,.guide-cartera-client-summary h3{margin:0 0 8px;font-size:14px;color:var(--navy)}.guide-cartera-open{border:0;background:transparent;color:var(--link,#176b8b);font:inherit;text-decoration:underline;text-align:left;cursor:pointer;padding:3px 0}.guide-cartera-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.guide-cartera-dialog{width:min(1450px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 70px rgba(10,27,45,.35);color:var(--text)}.guide-cartera-dialog::backdrop{background:rgba(9,24,40,.48);backdrop-filter:blur(2px)}.guide-cartera-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 20px 10px}.guide-cartera-actions .muted{margin:0}.guide-cartera-actions .button{white-space:nowrap}.guide-cartera-detail-wrap{max-height:68vh;max-width:100%;overflow:auto;margin:0 18px 18px;overscroll-behavior:contain}.guide-cartera-detail-wrap table{min-width:2450px}.guide-cartera-detail-wrap thead th{position:sticky;top:0;z-index:2;background:#edf1ee;white-space:nowrap}.guide-cartera-detail-wrap td{white-space:nowrap}.guide-cartera-detail-wrap td.currency,.guide-cartera-detail-wrap tfoot td.currency{text-align:right;font-variant-numeric:tabular-nums}.guide-cartera-detail-wrap tfoot td{position:sticky;bottom:0;z-index:1;background:#e7eef3;border-top:2px solid #ccd8e2;font-weight:700}.guide-cartera-detail-wrap th:nth-child(n+17),.guide-cartera-detail-wrap td:nth-child(n+17){text-align:right}.guide-cartera-export[hidden]{display:none}@media(max-width:760px){.guide-cartera-actions{align-items:flex-start;flex-direction:column}.guide-cartera-dialog{max-height:94vh}.guide-cartera-detail-wrap{max-height:72vh;margin:0 10px 12px}.guide-cartera-detail-wrap table{min-width:2200px}}
.guide-cartera-note{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:1.45}

/* Keep cartera table headings fixed inside their own scrollable viewports. */
.table-wrap.guide-cartera-detail-wrap{display:block;position:relative;max-height:68vh;max-width:calc(100% - 36px);overflow:auto!important;margin:0 18px 18px;overscroll-behavior:contain;scrollbar-gutter:stable}
.guide-cartera-detail-wrap thead th{position:sticky!important;top:0;z-index:5;background:#edf1ee;box-shadow:0 1px 0 #ccd8e2}
.guide-cartera-detail-wrap tfoot td{z-index:4}
.guide-cartera-wrap{overflow:auto!important;max-width:100%;scrollbar-gutter:stable}
.guide-cartera-client-table{min-width:1450px}
.guide-cartera-client-table thead th{position:sticky;top:0;z-index:2;background:#edf1ee;white-space:nowrap}
.guide-cartera-client-table th:first-child,.guide-cartera-client-table td:first-child{min-width:210px;text-align:left}
.guide-cartera-client-table .guide-cartera-amount{font-weight:700}
@media(max-width:760px){.table-wrap.guide-cartera-detail-wrap{max-height:72vh;max-width:calc(100% - 20px);margin:0 10px 12px}.guide-cartera-wrap{max-height:55vh}}

/* The report result table scrolls vertically inside its viewport so its headings stay visible. */
.table-wrap.guide-table-wrap{max-height:70vh;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.guide-table-wrap .guide-report-table thead th{position:sticky;top:0;z-index:6;background:#edf1ee;box-shadow:0 1px 0 #ccd8e2}
