html[data-theme=dark]{color-scheme:dark}html[data-theme=light]{color-scheme:light;--navy:#244d36;--navy-2:#326e49;--surface:#fff;--canvas:#f2f5f2;--ink:#25382c;--muted:#617567;--line:#dce5df;--green:#16774e;--fc-money:#16774e;--fc-raised:inset 0 1px #fff,0 2px 0 #dce4de,0 12px 22px -16px #1b462f3d}
.theme-toggle{display:inline-grid;place-items:center;flex:0 0 40px;cursor:pointer}.theme-toggle i{margin:0}.login-theme-toggle{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:10}
html[data-theme=light] :is(body,.shell,.login,.login-box){background:#f2f5f2;color:#25382c}
html[data-theme=light] .topbar{background:#ffffffed;border-color:#dce5df;box-shadow:0 3px 14px #173f2a07}
html[data-theme=light] :is(.page-title,.analytics,.analytics h2,.bi-section h3,.panel h2,.panel h3,.panel-title,.receipt-brand strong){color:#25382c;background:transparent}
html[data-theme=light] :is(.page-context,.bi-muted,.bi-section header p,.bi-heading p,footer,.footer-tool,.footer-install){color:#617567}
html[data-theme=light] .text-secondary,html[data-theme=light] .text-muted{color:#617567!important}
html[data-theme=light] :is(.bi-metric,.metric){background:linear-gradient(145deg,#fff,#fafcfb);border-color:#dce5df;box-shadow:var(--fc-raised)}
html[data-theme=light] .bi-tone-green{background:linear-gradient(145deg,#fff,#f3faf5);border-bottom-color:#71ab87}
html[data-theme=light] .bi-tone-red{background:linear-gradient(145deg,#fff,#fff8f8);border-bottom-color:#c68089}
html[data-theme=light] :is(.bi-metric strong,.metric .value){color:#263d2f}
html[data-theme=light] :is(.bi-metric>span,.metric .label){color:#4d6656}html[data-theme=light] .bi-metric small{color:#657c6c}
html[data-theme=light] :is(.fc-money,.fc-name .fc-money){color:#16774e!important;text-shadow:none}
html[data-theme=light] .bi-metric>span i,html[data-theme=light] .bi-metric:has(.fc-money)>span i,html[data-theme=light] .metric .metric-icon{background:linear-gradient(145deg,#f3faf5,#e2f0e7)!important;color:#25754c!important;border-color:#c9dfd0!important;box-shadow:inset 0 1px #fff,0 2px 3px #2247300c}
html[data-theme=light] .bi-overview-card[data-overview=capital_if_all_received]{background:linear-gradient(140deg,#285a3b,#153622);border-color:#427c55;box-shadow:inset 0 1px #d4f1dd2b,0 3px 0 #0c2717,0 12px 20px -14px #163b2566}
html[data-theme=light] .bi-overview-card[data-overview=capital_if_all_received]>span,html[data-theme=light] .bi-overview-card[data-overview=capital_if_all_received] strong{color:#f1fff5}
html[data-theme=light] .bi-overview-card[data-overview=capital_if_all_received] small{color:#c4decc}
html[data-theme=light] .bi-overview-card[data-overview=capital_if_all_received] .fc-money{color:#a1f0b9!important}
html[data-theme=light] :is(.fc-name,.collection-client){color:#25382c!important}html[data-theme=light] .desktop-user{color:#52695a}
html[data-theme=light] .user-avatar{background:#e3f2e8;color:#236441;border-color:#bfddc9;box-shadow:inset 0 1px #fff}
html[data-theme=light] :is(.icon-button,.back-button,.sidebar-toggle){background:#f5faf6;color:#3b6248;border-color:#cfdfd3;box-shadow:inset 0 1px #fff,0 2px 0 #dce7df}
html[data-theme=light] .sidebar :is(.sidebar-close,.bi-collapse){color:#b3d5be}
html[data-theme=light] .panel{background:#fff;border-color:#dce5df;box-shadow:inset 0 1px #fff,0 8px 20px #21482b07}
html[data-theme=light] :is(.bi-filter,.bi-tabs,.bi-main-tabs,.bi-section,.management-section,.bi-details,.collection-filters,.collection-list-heading){border-color:#d4e2d9}
html[data-theme=light] :is(.bi-tabs a,.bi-main-tabs a){color:#617567}html[data-theme=light] :is(.bi-tabs a[aria-current],.bi-main-tabs a[aria-current]){color:#276d45;border-color:#348859}
html[data-theme=light] :is(.bi-link,.text-link,.analytics .table a){color:#236d45}
html[data-theme=light] :is(.form-control,.form-select,.analytics .form-control,.analytics .form-select,.swal2-input,.swal2-textarea){background-color:#fff;color:#25382c;border-color:#c5d7cb;caret-color:#276d45;box-shadow:inset 0 2px 3px #234b2e04}
html[data-theme=light] .form-control:is([name=amount],[name=principal_amount],[name=interest_rate],[name=late_fee_daily_rate],#cashValue,#cashCorrectAmount,#pAmount,#pPrincipal,#pLateDiscount,[name=name],[name=client_name],[name=payer_name]){background-color:#fff;color:#25382c;border-color:#c5d7cb;caret-color:#276d45;box-shadow:inset 0 2px 3px #234b2e04}
html[data-theme=light] .form-control:is([name=amount],[name=principal_amount],[name=interest_rate],[name=late_fee_daily_rate],#cashValue,#cashCorrectAmount,#pAmount,#pPrincipal,#pLateDiscount,[name=name],[name=client_name],[name=payer_name]):focus{border-color:#6b9d7b;box-shadow:0 0 0 3px #64b27e20}
html[data-theme=light] :is(.form-control:focus,.form-select:focus){background-color:#fff;color:#25382c;border-color:#6b9d7b;box-shadow:0 0 0 3px #64b27e20}
html[data-theme=light] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23506858' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}
html[data-theme=light] :is(.form-control::placeholder,.form-control:is(#cashValue,#cashCorrectAmount)::placeholder){color:#7e9285}
html[data-theme=light] .form-label{color:#4d6856}html[data-theme=light] .form-check-input:not(:checked){background-color:#fff;border-color:#98b5a2}
html[data-theme=light] :is(.table,.analytics .table){--bs-table-color:#385340;--bs-table-bg:transparent;--bs-table-hover-bg:#f1f7f3;color:#385340}
html[data-theme=light] :is(.table th,.analytics .table th){background:#f2f7f3;color:#5d7966!important}
html[data-theme=light] :is(.table td,.analytics .table td){color:#385340;border-color:#e1eae4}html[data-theme=light] .table tbody tr:hover{background:#f1f7f3}
html[data-theme=light] :is(.bi-table-wrap,.analytics .bi-table-wrap){background:#fff;border-color:#cfdfd4}
html[data-theme=light] .btn-outline-secondary{background:#fff;color:#526b59;border-color:#c4d5ca;box-shadow:inset 0 1px #fff,0 2px 0 #dde7e0}
html[data-theme=light] .btn-outline-secondary:hover{background:#eaf3ed;color:#30593c;border-color:#a5c0ae}
html[data-theme=light] :is(.btn-outline-primary,.btn-outline-success){--bs-btn-color:#286b45;--bs-btn-border-color:#8fb39d;--bs-btn-hover-bg:#e5f3ea;--bs-btn-hover-color:#225b39;--bs-btn-hover-border-color:#6f9e80}
html[data-theme=light] .mobile-nav{background:#ffffffef;border-color:#cdded3;box-shadow:0 -5px 20px #1e442e0c}
html[data-theme=light] :is(.mobile-nav a,.mobile-nav button){color:#6d8274}html[data-theme=light] .mobile-nav .active{color:#286b45}
html[data-theme=light] .mobile-nav .active i{background:linear-gradient(160deg,#e0f2e5,#cae6d2);color:#2a7047;box-shadow:inset 0 1px #fff,0 2px 3px #20472c0c}
html[data-theme=light] .swal2-popup{background:#fff!important;color:#2e4937;border-color:#c6d9cd}
html[data-theme=light] .swal2-title{color:#294b34!important}html[data-theme=light] .swal2-html-container{color:#4c6855!important}
html[data-theme=light] .swal2-validation-message{background:#fff0f1!important;color:#963b48!important}
html[data-theme=light] :is(.receipt-grid dd,.receipt-next strong,.receipt-amount>span){color:#294b34}html[data-theme=light] :is(.receipt-next,.receipt-feedback,.receipt-grid dt){color:#5d7966}
html[data-theme=light] :is(.receipt-brand,.receipt-breakdown,.receipt-details){border-color:#d4e2d9}html[data-theme=light] .receipt-breakdown{color:#3b5a45}
html[data-theme=light] .login-form{background:linear-gradient(145deg,#fff,#f8fcf9);border-color:#d3e2d8;box-shadow:inset 0 1px #fff,0 3px 0 #dce8e0,0 24px 45px #24482e13}
html[data-theme=light] .login-art{background:#0b110e}html[data-theme=light] .login-brand h1{color:#f4f8f5}html[data-theme=light] .login-brand p{color:#a9c8b2}
html[data-theme=light] .content :is(.calculator-form,.simulation-option){background:#fff;color:#294b34;border-color:#d3e2d8;box-shadow:0 6px 18px #20472b08}
html[data-theme=light] .content :is(.calculator-title,.simulation-option h2,.simulation-option h3){color:#294b34}html[data-theme=light] .content .calculator-intro{color:#617567}
html[data-theme=dark] .analytics{background:transparent;color:#e9f2ec}
html[data-theme=dark] .analytics .bi-metric:not([data-overview=capital_if_all_received]){background:linear-gradient(145deg,#233027,#18221c 62%);color:#e9f2ec}
html[data-theme=dark] .analytics .bi-overview-card[data-overview=capital_if_all_received]{background:linear-gradient(140deg,#244b32,#10291b 78%)}
@media(hover:hover) and (pointer:fine){html[data-theme=light] .bi-metric:hover,html[data-theme=light] a.metric:hover{border-color:#92b79e;box-shadow:inset 0 1px #fff,0 3px 0 #d4e2d8,0 18px 26px -17px #1d4f2e52}}
@media(max-width:575px){.user-menu .user-avatar{display:none}.theme-toggle{width:38px;min-width:38px;height:40px;flex-basis:38px}.topbar .user-menu{gap:6px}}
.bi-priorities{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.bi-priorities h3{font-size:.96rem;font-weight:700;color:var(--ink);margin:0 0 16px}.bi-priorities nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.bi-priorities nav a{display:flex;align-items:flex-start;gap:12px;min-height:58px;color:var(--muted);font-size:.75rem;padding:6px 0}.bi-priorities nav a>i{font-size:1rem;color:var(--green);margin-top:4px}.bi-priorities nav strong{display:block;color:var(--ink);font-size:.95rem;margin-top:5px}.bi-priorities nav small{display:block;font-size:.67rem;margin-top:4px}.bi-priority-alert{display:flex;gap:9px;padding:10px 0;color:var(--muted);font-size:.76rem}.bi-priority-alert i{color:#d59b6b}.bi-priorities a:hover strong{color:var(--green)}
@media(max-width:767px){.bi-priorities nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.bi-priorities nav strong{font-size:.88rem}}
.bi-overview-card[data-overview=profit_current].bi-tone-red .fc-money{color:#f6a5ae!important}
html[data-theme=light] .bi-overview-card[data-overview=profit_current].bi-tone-red .fc-money{color:#b53e4b!important}
