*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f4f6f8;color:#182230;font-family:"Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #94b8ec;outline-offset:3px}a{color:#175cd3;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0}button svg{vertical-align:middle}input{min-width:0;color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:10px 12px;outline:0;height:42px}input:focus{border-color:#2e6fdb;box-shadow:0 0 0 3px #2e6fdb14}input[aria-invalid=true]{border-color:#d92d20}input::placeholder{color:#98a2b3}input[type=checkbox]{accent-color:#214c70;width:18px;height:18px;padding:0;cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#214c70;color:#fff;display:flex;flex-direction:column;z-index:30}.brand{height:90px;display:flex;align-items:center;gap:11px;padding:20px 24px;color:#fff;font-size:24px;font-weight:700;letter-spacing:-.5px}.brand img{border:1px solid #ffffff24;border-radius:11px}.brand-sub{display:block;font-size:10px;font-weight:400;letter-spacing:.8px;color:#bbd2e4;text-transform:uppercase}.sidebar nav{overflow:auto;flex:1;padding:8px 12px 20px}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 13px;color:#ccdfed;border-radius:8px;font-size:13px;margin:3px 0}.nav-link:hover{background:#ffffff0c;color:#fff}.nav-link.active{background:#32698f;color:#fff}.nav-link.active svg{color:#ffc886}.nav-label{font-size:10px;font-weight:700;letter-spacing:1px;color:#9abbd4;padding:22px 13px 8px}.report-nav-link{font-size:12px;line-height:1.35;padding:11px 12px;gap:10px}.report-nav-link .nav-number{font-size:10px;color:#9abbd4;min-width:17px;font-weight:600}.report-nav-link.active .nav-number{color:#ffc886}.sidebar-foot{font-size:10px;display:flex;align-items:center;gap:8px;color:#a8c5da;padding:20px 22px;border-top:1px solid #ffffff10}.status-dot{width:6px;height:6px;border-radius:50%;background:#8ec9ad;display:inline-block}.workspace{margin-left:248px;width:calc(100% - 248px);min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e4e7ec;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:0;z-index:20}.topbar-right{display:flex;align-items:center;gap:20px}.connection-tag{font-size:11px;color:#667085}.avatar{width:32px;height:32px;background:#eef4f8;color:#214c70;font-size:13px;font-weight:700;border-radius:50%;display:grid;place-items:center}#breadcrumb{font-size:12px;color:#667085;display:flex;gap:10px;align-items:center}#breadcrumb strong{color:#344054;font-weight:600}main{padding:30px 32px 40px;max-width:1920px;margin:0 auto;outline:0}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.25;letter-spacing:-.6px;color:#214c70;font-weight:700}.subtitle{color:#667085;font-size:12px;margin-top:7px;max-width:800px}.eyebrow{font-size:10px;color:#667085;font-weight:600;letter-spacing:1.2px;text-transform:uppercase}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 15px;background:white;border:1px solid #d0d5dd;color:#344054;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.button:hover{background:#f8fafc}.button.primary{background:#214c70;border-color:#214c70;color:#fff}.button.primary:hover{background:#295b80}.button.subtle{border-color:transparent;background:#f4f6f8}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;color:#214c70;font-size:22px}.icon-button:hover{background:#eef4f8}.mobile-menu{display:none}.panel{background:#fff;border:1px solid #e4e7ec;border-radius:12px}.hero{padding:35px 38px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#214c70,#32698f);border:none;color:#fff;min-height:210px;margin-bottom:24px;overflow:hidden}.hero h1{color:#fff;font-size:32px;margin:10px 0}.hero p{max-width:510px;color:#c5dceb;font-size:13px}.hero .eyebrow{color:#ffd4a0}.hero-graphic{width:230px;height:140px;flex-shrink:0;margin-left:35px}.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.home-card{padding:25px;display:flex;flex-direction:column;color:inherit;min-height:246px;transition:transform .15s,border-color .15s}.home-card:hover{transform:translateY(-3px);border-color:#9abbd4}.module-icon{width:46px;height:46px;border-radius:12px;background:#eef4f8;color:#2e6f9e;display:grid;place-items:center;margin-bottom:22px}.module-icon.orange{background:#fff4e8;color:#b96e2c}.module-icon.green{background:#eaf7ef;color:#027a48}.module-icon svg{width:24px;height:24px}.home-card h2{font-size:17px;color:#214c70;margin-bottom:9px}.home-card p{color:#667085;font-size:12px;flex:1}.module-link{display:flex;justify-content:space-between;align-items:center;color:#214c70;font-size:12px;font-weight:600;margin-top:25px}.info-strip{margin-top:24px;display:flex;gap:12px;align-items:flex-start;padding:17px 20px;background:#edf2f6;border-radius:10px;color:#667085;font-size:12px}.info-strip strong{color:#344054}.toolbar{display:flex;align-items:end;gap:12px;padding:18px;margin-bottom:20px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>label,.field-label{font-size:11px;color:#667085;font-weight:500}.field.grow{flex:1}.field.date-field{flex:1;min-width:210px}.filter-row{display:flex;align-items:end;gap:12px;width:100%}.filter-row .generate{min-width:160px}.toolbar-meta{width:100%;display:flex;justify-content:flex-end;color:#98a2b3;font-size:10px;min-height:15px}.search-wrap{position:relative;min-width:200px}.search-wrap>svg{position:absolute;width:17px;height:17px;left:12px;top:13px;color:#98a2b3}.search-wrap input{width:100%;padding-left:36px}.toolbar>.search-wrap{flex:1;max-width:410px}.spacer{flex:1}.muted{color:#667085}.small{font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat{padding:18px 20px;min-height:104px}.stat-label{font-size:11px;color:#667085;margin-bottom:11px}.stat-value{font-size:23px;font-weight:700;letter-spacing:-.5px;color:#175cd3;line-height:1.3;overflow-wrap:anywhere}.stat-caption{font-size:10px;color:#98a2b3;margin-top:6px}.period-line{color:#667085;font-size:12px;margin:0 0 20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 13px}.section-heading h2{font-size:16px;color:#214c70}.section-heading .actions{display:flex;gap:9px;align-items:center}.table-panel{overflow:hidden}.table-scroll{overflow:auto;max-height:calc(100vh - 290px);min-height:150px;scrollbar-color:#cbd5e1 transparent}table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;white-space:nowrap}th{background:#edf3f8;color:#475467;font-size:10px;font-weight:600;text-align:left;height:46px;padding:11px 14px;border-bottom:1px solid #dce6ee;position:sticky;top:0;z-index:2}th button{border:none;background:transparent;color:inherit;font:inherit;font-weight:600;padding:0;display:inline-flex;gap:6px;align-items:center;text-align:inherit}th.numeric,td.numeric{text-align:right;font-variant-numeric:tabular-nums}th.numeric button{justify-content:flex-end;width:100%}td{padding:12px 14px;height:47px;border-bottom:1px solid #eef2f6;color:#344054}tbody tr:nth-child(even) td{background:#f8fafc}tbody tr:hover td{background:#eef4f8}.name-cell{font-weight:600;white-space:normal;min-width:220px;max-width:450px}.row-link{color:inherit;display:flex;align-items:center;justify-content:space-between;gap:12px}.row-link:hover{color:#175cd3}.row-link svg{width:15px;height:15px;color:#98a2b3}.positive{color:#027a48!important}.negative{color:#b42318!important}.table-foot{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;gap:12px;background:white;font-size:11px;color:#667085;flex-wrap:wrap}.pagination{display:flex;align-items:center;gap:10px}.pagination .button{height:32px;padding:0 11px;font-size:11px}.sort-indicator{font-size:9px;color:#98a2b3}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;font-size:10px;font-weight:600;line-height:1.2;border-radius:20px;background:#f2f4f7;color:#475467}.badge.valid{background:#eaf7ef;color:#027a48}.badge.expired{background:#fef3f2;color:#b42318}.badge-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.notice{padding:13px 16px;background:#fffaeb;border:1px solid #fedf89;border-radius:9px;color:#b54708;font-size:12px;margin-bottom:20px}.notice.error{background:#fef3f2;border-color:#fecdca;color:#b42318}.notice.error .button{margin-top:12px}.loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:64px 20px;color:#667085;font-size:13px}.spinner{width:19px;height:19px;border:2px solid #dce6ee;border-top-color:#32698f;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{padding:50px 20px;color:#667085;text-align:center}.method-note{font-size:11px;color:#667085;line-height:1.8;margin-top:17px;max-width:1150px}.report-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.report-actions search-select{width:260px}.check-label{display:flex;align-items:center;gap:8px;color:#475467;font-size:12px;cursor:pointer}.legend{display:flex;gap:18px;margin-left:auto;font-size:10px;color:#667085}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px;background:#2e6f9e}.legend .prior i{background:#eda65d}.chart-card{padding:19px 21px 10px;margin-bottom:16px}.chart-title{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-bottom:15px}.chart-title h3{font-size:14px;color:#344054}.chart-totals{display:flex;gap:14px;font-size:11px;color:#b96e2c}.chart-totals strong{font-size:14px;color:#175cd3}.chart-scroll{overflow-x:auto}.monthly-chart{width:100%;min-width:520px;height:240px;display:block}.monthly-chart text{font-family:"Segoe UI",sans-serif;font-size:10px;fill:#98a2b3}.monthly-chart .month-label{fill:#667085}.monthly-chart rect{transition:opacity .15s}.monthly-chart rect:hover{opacity:.7}.age-panel{padding:21px 23px;margin-bottom:22px}.age-panel h2{color:#214c70;font-size:15px;margin-bottom:20px}.age-row{display:grid;grid-template-columns:120px 1fr 150px 60px;align-items:center;gap:15px;margin:12px 0;font-size:12px;color:#667085}.age-row .amount,.age-row .share{text-align:right;font-variant-numeric:tabular-nums}.age-track{height:13px;border-radius:4px;background:#f2f4f7;overflow:hidden}.age-fill{height:100%;border-radius:4px;background:#5b93b8}.back-link{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#667085;margin-bottom:18px}.client-identity{display:flex;gap:15px;align-items:center}.client-monogram{width:52px;height:52px;flex-shrink:0;border-radius:12px;background:#e7eff5;color:#214c70;display:grid;place-items:center;font-weight:700;font-size:22px}.client-code{display:flex;gap:12px;align-items:center;margin-top:7px;color:#667085;font-size:12px}.detail-tabs{display:flex;gap:22px;border-bottom:1px solid #dce3eb;margin:22px 0}.detail-tabs a{padding:10px 2px 13px;font-size:12px;color:#667085;border-bottom:2px solid transparent}.detail-tabs a.active{color:#214c70;border-color:#214c70;font-weight:700}.invoice-group td{background:#eaf1f6!important;color:#214c70;font-size:11px;font-weight:600;padding-top:10px;padding-bottom:10px}.invoice-group span{font-weight:400;margin-left:20px;color:#667085}.overdue-label{color:#b42318}.export-help{font-size:10px;color:#98a2b3;margin-top:8px}.select-trigger,.datetime-field{height:42px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;display:flex;align-items:center;color:#344054;min-width:0;width:100%}.select-trigger{justify-content:space-between;gap:10px;padding:0 12px;font-size:12px;text-align:left}.select-trigger:hover{background:#f9fafb}.select-trigger:focus,.datetime-field:focus-within{border-color:#2e6fdb;box-shadow:0 0 0 3px #2e6fdb14;outline:none}.select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger>svg{width:17px;height:17px;color:#667085}search-select,date-time-picker{display:block;min-width:0}search-select{min-width:150px}.datetime-text{border:none!important;box-shadow:none!important;background:transparent;width:100%;height:40px;font-size:12px;padding:10px 11px}.datetime-text[aria-invalid=true]{color:#b42318}.calendar-trigger{border:none;background:transparent;display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:7px;color:#214c70;margin-right:1px}.calendar-trigger:hover{background:#eef4f8}.calendar-trigger svg{width:19px;height:19px}[popover]{position:fixed;inset:auto;margin:0;background:#fff;border:1px solid #d0d5dd;border-radius:10px;box-shadow:0 12px 32px #18223024;color:#344054;overflow:auto}[popover]::backdrop{background:transparent}.select-popover{padding:8px;width:250px}.select-popover .search-wrap{min-width:0}.select-popover .search-wrap input{height:38px;font-size:12px}.select-popover .search-wrap>svg{top:11px}.select-options{max-height:240px;overflow:auto;margin-top:7px}.select-option{display:flex;justify-content:space-between;gap:8px;align-items:center;width:100%;text-align:left;background:#fff;border:0;border-radius:6px;min-height:35px;padding:8px;font-size:12px;color:#344054}.select-option.highlighted,.select-option:hover{background:#eef4f8}.option-check{color:#214c70}.empty-options{padding:14px 8px;color:#98a2b3;font-size:12px}.datetime-popover{width:320px;padding:14px}.calendar-nav{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.calendar-nav strong{color:#214c70;font-size:13px;text-transform:capitalize}.weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.weekdays{font-size:10px;color:#667085;margin-bottom:7px}.calendar-day{border:0;border-radius:7px;background:#fff;color:#344054;font-size:12px;aspect-ratio:1;min-height:32px;padding:0}.calendar-day:hover{background:#eef4f8}.calendar-day.other-month{color:#b0bac7}.calendar-day.is-today{box-shadow:inset 0 0 0 1px #b3cce0}.calendar-day.selected{background:#214c70;color:#fff}.time-label{color:#667085;font-size:10px;margin:14px 0 7px}.time-fields{display:flex;align-items:center;gap:7px}.time-fields label{flex:1;min-width:0}.time-fields label>span{display:none}.time-fields input{width:100%;height:38px;padding:7px 7px;text-align:center;font-size:12px}.time-fields>span{color:#98a2b3}.picker-actions{display:flex;justify-content:space-between;gap:10px;margin-top:13px}.picker-actions .primary{flex:1}.picker-actions .button{height:36px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#214c70;color:white;border-radius:9px;padding:10px 18px;box-shadow:0 7px 20px #18223022;opacity:0;pointer-events:none;transition:.2s;font-size:12px;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}.inline-count{font-size:11px;font-weight:400;color:#98a2b3;margin-left:8px}.footer-note{font-size:10px;color:#98a2b3;text-align:center;margin-top:35px}.status-failure{color:#b42318}.loading-line{height:3px;background:#214c70;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.2}}@media(min-width:1500px){.stats-grid{gap:18px}.stat{padding:21px 24px}.stat-value{font-size:27px}}@media(max-width:1150px){.sidebar{width:220px}.workspace{margin-left:220px;width:calc(100% - 220px)}main{padding:25px 22px}.topbar{padding:0 22px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid{grid-template-columns:1fr}.home-card{min-height:180px}.home-card .module-icon{float:left}.hero-graphic{width:160px}.hero{padding:28px}.stat-value{font-size:23px}.filter-row{gap:9px}.field.date-field{min-width:190px}.filter-row .generate{min-width:145px;font-size:11px}.legend{margin-left:0}.chart-title{align-items:start;flex-direction:column;gap:5px}}@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #18223055}.workspace{margin-left:0;width:100%}.mobile-menu{display:grid}.topbar{height:60px;padding:0 16px;justify-content:flex-start}.topbar-right{margin-left:auto}.topbar .connection-tag{display:none}main{padding:22px 16px}.hero h1{font-size:26px}.hero-graphic{display:none}.hero{min-height:190px;padding:24px}.filter-row{flex-wrap:wrap}.field.date-field{flex-basis:calc(50% - 6px)}.filter-row .generate{width:100%}.page-heading{align-items:flex-start}h1{font-size:23px}.stats-grid{gap:10px}.stat{padding:14px;min-height:96px}.stat-value{font-size:20px}.section-heading{flex-wrap:wrap}.section-heading .actions{width:100%}.section-heading .actions .search-wrap{flex:1;min-width:120px}.age-row{grid-template-columns:95px 1fr 120px;gap:9px;font-size:11px}.age-row .share{display:none}.chart-card{padding:15px}.client-identity h1{font-size:20px}.client-code{flex-wrap:wrap;gap:5px}.table-scroll{max-height:65vh}.toolbar>.search-wrap{max-width:none}.toolbar{padding:14px}.method-note{font-size:10px}.home-grid{gap:14px}}
[hidden]{display:none!important}#breadcrumb{min-width:0}#breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* Keep overflow controls consistent with the page and the dark navigation. */

/* An insertion caret belongs only to fields that can actually be edited. */
*{caret-color:transparent}
body{cursor:default}
a[href],button,summary,[role="button"],input[type="checkbox"],input[type="radio"]{cursor:pointer}
:is(input:not([type]),input[type="text"],input[type="search"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],input[type="number"],textarea):not(:disabled):not([readonly]){caret-color:auto;cursor:text}
:is([contenteditable=""],[contenteditable="true"],[contenteditable="plaintext-only"]),:is([contenteditable=""],[contenteditable="true"],[contenteditable="plaintext-only"]) *{caret-color:auto;cursor:text}
button:disabled,input:disabled,textarea:disabled,input[readonly],textarea[readonly]{caret-color:transparent;cursor:default}

html,.table-scroll,.chart-scroll,.select-options,[popover]{scrollbar-width:thin;scrollbar-color:#bdcbd7 transparent}
.sidebar .brand,.sidebar-foot{flex-shrink:0}
.sidebar nav{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#7395af transparent}
:is(html,.table-scroll,.chart-scroll,.select-options,[popover],.sidebar nav)::-webkit-scrollbar{width:8px;height:8px}
:is(html,.table-scroll,.chart-scroll,.select-options,[popover],.sidebar nav)::-webkit-scrollbar-track{background:transparent}
:is(html,.table-scroll,.chart-scroll,.select-options,[popover],.sidebar nav)::-webkit-scrollbar-thumb{background:#bdcbd7;border:2px solid transparent;border-radius:8px;background-clip:padding-box}
.sidebar nav::-webkit-scrollbar-thumb{background-color:#7395af}
:is(html,.table-scroll,.chart-scroll,.select-options,[popover],.sidebar nav)::-webkit-scrollbar-corner{background:transparent}
