:root{--mp-primary:#0f766e;--mp-primary-hover:#115e59;--mp-background:#f3f4f6;--mp-surface:#fff;--mp-border:#e5e7eb;--mp-text:#111827;--mp-muted:#6b7280;--mp-success:#16a34a;--mp-warning:#f59e0b;--mp-danger:#dc2626;--mp-sidebar:#0f172a;--mp-sidebar-hover:#1e293b}*{box-sizing:border-box}body{background:var(--mp-background);color:var(--mp-text);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.login-page{background:radial-gradient(circle at 0 0,#0f766e40,#0000 28rem),linear-gradient(135deg,#ecfeff,#f8fafc);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--mp-surface);border:1px solid var(--mp-border);border-radius:24px;width:100%;max-width:420px;padding:36px;box-shadow:0 24px 70px #0f172a1f}.login-logo{color:#fff;background:var(--mp-primary);border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:18px;display:grid}.login-card h1{margin:0;font-size:30px}.login-card p{color:var(--mp-muted);margin:8px 0 28px}.form-stack{gap:16px;display:grid}.form-stack label{gap:8px;font-weight:600;display:grid}.form-stack input{border:1px solid var(--mp-border);border-radius:12px;outline:none;height:44px;padding:0 14px}.form-stack input:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}.button{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 16px;font-weight:700;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.7}.button-primary{color:#fff;background:var(--mp-primary)}.button-primary:hover{background:var(--mp-primary-hover)}.button-ghost{color:var(--mp-text);background:0 0}.button-ghost:hover{background:#f1f5f9}.alert-error{color:#991b1b;background:#fee2e2;border-radius:12px;padding:12px;font-weight:600}.app-shell{grid-template-columns:270px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--mp-sidebar);color:#fff;min-height:100vh;padding:22px}.sidebar-brand{border-bottom:1px solid #ffffff1f;align-items:center;gap:12px;padding-bottom:24px;display:flex}.brand-mark{background:var(--mp-primary);border-radius:14px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.sidebar-brand span{color:#94a3b8;margin-top:2px;font-size:13px;display:block}.sidebar-nav{gap:8px;margin-top:24px;display:grid}.sidebar-nav a{color:#cbd5e1;border-radius:12px;align-items:center;gap:10px;min-height:42px;padding:0 12px;display:flex}.sidebar-nav a:hover,.sidebar-nav a.active{color:#fff;background:var(--mp-sidebar-hover)}.main-area{min-width:0}.topbar{background:var(--mp-surface);border-bottom:1px solid var(--mp-border);justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex}.topbar span{color:var(--mp-muted);font-size:13px;display:block}.content{padding:28px}.page-stack{gap:22px;display:grid}.page-header{justify-content:space-between;align-items:center;display:flex}.page-header h1{margin:0;font-size:28px}.page-header p{color:var(--mp-muted);margin:6px 0 0}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.summary-card,.panel{background:var(--mp-surface);border:1px solid var(--mp-border);border-radius:20px;box-shadow:0 10px 30px #0f172a0d}.summary-card{align-items:center;gap:16px;padding:22px;display:flex}.summary-card svg{color:var(--mp-primary)}.summary-card span{color:var(--mp-muted);display:block}.summary-card strong{margin-top:4px;font-size:26px;display:block}.panel{padding:24px}.panel h2{margin-top:0}.panel p{color:var(--mp-muted)}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto}.card-grid{grid-template-columns:1fr}}.page-header-icon{width:52px;height:52px;color:var(--mp-primary);background:#ccfbf1;border-radius:16px;place-items:center;display:grid}.toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.toolbar span{color:var(--mp-muted)}.search-input{border:1px solid var(--mp-border);background:#fff;border-radius:12px;outline:none;width:min(420px,100%);height:42px;padding:0 14px}.search-input:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}.state-box{min-height:160px;color:var(--mp-muted);text-align:center;border:1px dashed var(--mp-border);background:#f8fafc;border-radius:18px;place-items:center;gap:12px;display:grid}.state-box strong{color:var(--mp-text)}.state-box-error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.spinner{border:3px solid #ccfbf1;border-top-color:var(--mp-primary);border-radius:999px;width:28px;height:28px;animation:.8s linear infinite spin}.permission-list{gap:18px;display:grid}.permission-module{border:1px solid var(--mp-border);background:#fff;border-radius:18px;overflow:hidden}.permission-module>header{border-bottom:1px solid var(--mp-border);background:#f8fafc;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.permission-module h2{margin:0;font-size:18px}.permission-module header span{color:var(--mp-muted);font-size:14px}.permission-resource-list{gap:0;display:grid}.permission-resource{padding:18px 20px}.permission-resource+.permission-resource{border-top:1px solid var(--mp-border)}.permission-resource h3{color:var(--mp-muted);margin:0 0 14px;font-size:15px}.table-wrapper{border:1px solid var(--mp-border);border-radius:14px;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--mp-border);padding:12px 14px}.data-table th{color:var(--mp-muted);text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;font-size:12px}.data-table tr:last-child td{border-bottom:0}.data-table code{color:#0f766e;background:#ecfeff;border-radius:8px;padding:4px 7px;font-size:12px}.badge{color:#115e59;background:#ccfbf1;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=720px){.toolbar{flex-direction:column;align-items:stretch}.page-header-icon{display:none}}.admin-grid{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:start;gap:22px;display:grid}.link-button{text-align:left;color:inherit;cursor:pointer;background:0 0;border:0;gap:4px;padding:0;display:grid}.link-button span{color:var(--mp-muted);font-size:13px}.table-actions{align-items:center;gap:8px;display:flex}.icon-button{width:34px;height:34px;color:var(--mp-text);border:1px solid var(--mp-border);cursor:pointer;background:#f8fafc;border-radius:10px;place-items:center;display:inline-grid}.icon-button:hover{background:#eef2f7}.icon-button-danger{color:var(--mp-danger)}.badge-success{color:#166534;background:#dcfce7}.badge-muted{color:#475569;background:#e2e8f0}.section-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.section-title h2,.section-title h3{margin:0}.section-title p{color:var(--mp-muted);margin:5px 0 0}.section-title svg{color:var(--mp-primary)}.section-title.compact{margin-bottom:12px}.checkbox-row{align-items:center;font-weight:600;grid-template-columns:unset!important;gap:10px!important;display:flex!important}.checkbox-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--mp-primary)}.permissions-editor{border:1px solid var(--mp-border);background:#f8fafc;border-radius:16px;gap:14px;max-height:520px;padding:14px;display:grid;overflow-y:auto}.permission-editor-module{border:1px solid var(--mp-border);background:#fff;border-radius:14px;gap:10px;padding:12px;display:grid}.permission-editor-module h4{color:var(--mp-primary);margin:0}.permission-editor-resource{background:#f8fafc;border-radius:12px;gap:8px;padding:10px;display:grid}.resource-check{color:var(--mp-text)}.permission-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-left:28px;display:grid}.form-actions{justify-content:flex-end;gap:10px;display:flex}@media (width<=1100px){.admin-grid{grid-template-columns:1fr}}@media (width<=620px){.permission-check-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}.tag-list{flex-wrap:wrap;gap:6px;display:flex}.tag{color:#334155;background:#e2e8f0;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.group-check-list{gap:10px;display:grid}.group-check-list small{color:var(--mp-muted);margin-top:2px;font-weight:400;display:block}.password-box{border:1px solid var(--mp-border);background:#f8fafc;border-radius:16px;gap:12px;padding:14px;display:grid}.inline-form{grid-template-columns:1fr auto;gap:10px;display:grid}.inline-form input{border:1px solid var(--mp-border);border-radius:12px;outline:none;height:42px;padding:0 14px}.inline-form input:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}.alert-success{color:#166534;background:#dcfce7;border-radius:12px;padding:12px;font-weight:700}@media (width<=620px){.inline-form{grid-template-columns:1fr}}.toolbar-fields{align-items:center;gap:10px;display:flex}.select-input{border:1px solid var(--mp-border);background:#fff;border-radius:12px;outline:none;height:42px;padding:0 12px}.select-input:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}.cell-stack{gap:4px;display:grid}.cell-stack span{color:var(--mp-muted);font-size:13px}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-stack textarea{border:1px solid var(--mp-border);resize:vertical;border-radius:12px;outline:none;width:100%;padding:12px 14px}.form-stack textarea:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}@media (width<=720px){.toolbar-fields{flex-direction:column;align-items:stretch}.form-grid-2{grid-template-columns:1fr}}.select-input.full{width:100%}.icon-button:disabled{cursor:not-allowed;opacity:.45}.loan-status-open{color:#92400e;background:#fef3c7}.loan-status-paid{color:#166534;background:#dcfce7}.loan-status-cancelled{color:#991b1b;background:#fee2e2}.loan-total-box,.loan-detail-status{background:#ecfeff;border:1px solid #99f6e4;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.loan-total-box span,.loan-detail-status span{color:var(--mp-muted);font-weight:700}.loan-total-box strong,.loan-detail-status strong{color:var(--mp-primary);font-size:20px}.payment-loan-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.payment-loan-summary div{background:#ecfeff;border:1px solid #99f6e4;border-radius:14px;gap:4px;padding:14px;display:grid}.payment-loan-summary span{color:var(--mp-muted);text-transform:uppercase;font-size:12px;font-weight:800}.payment-loan-summary strong{color:var(--mp-primary);font-size:18px}@media (width<=720px){.payment-loan-summary{grid-template-columns:1fr}}.summary-card small{color:var(--mp-muted);margin-top:4px;display:block}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}@media (width<=1100px){.dashboard-card-grid,.dashboard-grid{grid-template-columns:1fr}}.audit-filters{grid-template-columns:1fr 1.2fr 220px auto;align-items:end;gap:14px;display:grid}.audit-filters label,.audit-detail label{gap:8px;font-weight:700;display:grid}.audit-action-modified{color:#92400e;background:#fef3c7}.audit-action-deleted{color:#991b1b;background:#fee2e2}.selected-row{background:#ecfeff}.audit-detail{gap:16px;display:grid}.audit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.audit-detail-grid div{border:1px solid var(--mp-border);background:#f8fafc;border-radius:14px;gap:4px;padding:12px;display:grid}.audit-detail-grid span{color:var(--mp-muted);text-transform:uppercase;font-size:12px;font-weight:800}.audit-detail-grid strong{word-break:break-word}.audit-detail input{border:1px solid var(--mp-border);height:42px;color:var(--mp-muted);background:#f8fafc;border-radius:12px;padding:0 14px}.json-block{gap:8px;display:grid}.json-block h3{margin:0;font-size:15px}.json-block pre{color:#d1fae5;white-space:pre-wrap;word-break:break-word;background:#0f172a;border-radius:14px;max-height:260px;margin:0;padding:14px;font-size:12px;overflow:auto}@media (width<=1100px){.audit-filters,.audit-detail-grid{grid-template-columns:1fr}}.toast-container{z-index:2147483647;pointer-events:none;flex-direction:column;align-items:flex-end;gap:12px;width:min(420px,100vw - 32px);display:flex;position:fixed;bottom:24px;right:24px}.toast{color:#0f172a;pointer-events:auto;background:#fff;border:1px solid #d7dee8;border-radius:16px;align-items:flex-start;gap:12px;width:100%;padding:14px 16px;display:flex;box-shadow:0 20px 45px #0f172a2e}.toast-error{border-color:#dc262673}.toast-success{border-color:#16a34a73}.toast-warning{border-color:#d9770673}.toast-info{border-color:#2563eb73}.toast-content{flex-direction:column;flex:1;gap:2px;font-size:.9rem;line-height:1.35;display:flex}.toast-content strong{color:#0f172a;font-size:.95rem}.toast-content span{color:#334155}.toast-close{color:#475569;cursor:pointer;background:0 0;border:0;padding:2px}.toast-close:hover{color:#0f172a}.modal-open{overflow:hidden}.modal-overlay{z-index:9998;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:var(--mp-surface);border:1px solid var(--mp-border);border-radius:22px;flex-direction:column;width:min(720px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 30px 80px #0f172a47}.modal-header{border-bottom:1px solid var(--mp-border);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px;display:flex}.modal-header h2{margin:0}.modal-header p{color:var(--mp-muted);margin:6px 0 0}.modal-body{padding:24px;overflow:auto}@media (width<=720px){.modal-overlay{align-items:stretch;padding:12px}.modal-card{max-height:calc(100vh - 24px)}}.confirm-dialog{gap:22px;display:grid}.confirm-dialog-icon{color:#0369a1;background:#e0f2fe;border-radius:18px;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.confirm-dialog-danger .confirm-dialog-icon{color:#b91c1c;background:#fee2e2}.confirm-dialog-actions{justify-content:flex-end;gap:10px;display:flex}.button-danger{color:#fff;background:#dc2626}.button-danger:hover{background:#b91c1c}.loan-filter-grid{grid-template-columns:minmax(220px,1.4fr) minmax(160px,.8fr) minmax(220px,1fr) repeat(4,minmax(150px,.7fr)) auto auto;align-items:end;width:100%;display:grid}.filter-field{color:var(--mp-muted);gap:6px;font-size:.78rem;font-weight:700;display:grid}.filter-field input{width:100%}.filter-checkbox{white-space:nowrap;align-items:center;height:42px}@media (width<=1500px){.loan-filter-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media (width<=760px){.loan-filter-grid{grid-template-columns:1fr}}.status-stack{flex-wrap:wrap;gap:6px;display:flex}.badge-danger{color:#991b1b;background:#fee2e2}.overdue-row{background:#fff7ed}.overdue-row td:first-child{border-left:4px solid #ea580c}.page-stack{width:100%;max-width:1440px;margin:0 auto}.panel{min-width:0}.table-wrapper{max-width:100%;overflow-x:auto}.toolbar,.toolbar-fields{min-width:0}.loan-filter-grid .search-input,.loan-filter-grid .select-input,.loan-filter-grid .button{width:100%}.filter-checkbox{justify-content:flex-start}.payment-filter-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;width:100%;display:grid}.payment-filter-grid .search-input,.payment-filter-grid .select-input,.payment-filter-grid .button{width:100%}@media (width<=900px){.client-filter-grid{grid-template-columns:1fr}}.client-filter-grid{grid-template-columns:minmax(260px,1fr) minmax(160px,180px) minmax(150px,auto);align-items:center;width:100%;display:grid}.client-filter-grid .search-input,.client-filter-grid .select-input,.client-filter-grid .button{width:100%}@media (width<=900px){.client-filter-grid{grid-template-columns:1fr}}.summary-card-link{color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}.summary-card-link:hover{border-color:#0f766e59;transform:translateY(-2px);box-shadow:0 16px 36px #0f172a1a}.table-link{color:inherit;text-align:left;text-decoration:none}.table-link:hover strong{color:var(--mp-primary)}.loan-installments-box{border:1px solid var(--mp-border);background:#f8fafc;border-radius:16px;gap:12px;padding:14px;display:grid}.loan-installments-box.compact{padding:12px}.loan-installments-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.loan-installments-header span{color:var(--mp-muted);font-size:13px}.installment-summary-grid,.payment-loan-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.installment-summary-grid div,.payment-loan-summary div{border:1px solid var(--mp-border);background:#fff;border-radius:12px;gap:4px;padding:10px;display:grid}.installment-summary-grid span,.payment-loan-summary span{color:var(--mp-muted);font-size:12px}.installment-list{gap:8px;display:grid}.installment-row{border:1px solid var(--mp-border);background:#fff;border-radius:12px;grid-template-columns:1fr 1fr auto;align-items:center;gap:10px;padding:10px;display:grid}.installment-row div{gap:3px;display:grid}.installment-row span{color:var(--mp-muted);font-size:12px}.loan-installment-status-open{color:#92400e;background:#fef3c7}.loan-installment-status-partiallypaid{color:#1d4ed8;background:#dbeafe}.loan-installment-status-paid{color:#166534;background:#dcfce7}.loan-installment-status-cancelled,.loan-installment-status-overdue{color:#991b1b;background:#fee2e2}@media (width<=860px){.installment-summary-grid,.payment-loan-summary,.installment-row{grid-template-columns:1fr}}.custom-installments-editor{gap:10px;display:grid}.custom-installment-row{border:1px solid var(--mp-border);background:#fff;border-radius:12px;grid-template-columns:64px 150px repeat(3,minmax(110px,1fr)) minmax(160px,1fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.custom-installment-row label{gap:6px;font-size:12px;font-weight:700;display:grid}@media (width<=1100px){.custom-installment-row{grid-template-columns:1fr 1fr}}.custom-installments-editor{overflow-x:hidden}.custom-installment-row{grid-template-columns:56px repeat(2,minmax(140px,1fr))}.custom-installment-row label:nth-child(6){grid-column:span 2}.custom-installment-row .icon-button{place-self:center end}@media (width>=1200px){.custom-installment-row{grid-template-columns:56px 160px repeat(3,minmax(120px,1fr)) minmax(180px,1fr) auto}.custom-installment-row label:nth-child(6){grid-column:auto}}@media (width<=720px){.custom-installment-row{grid-template-columns:1fr}.custom-installment-row label:nth-child(6){grid-column:auto}.custom-installment-row .icon-button{justify-self:stretch}}.modal-content,.form-stack,.loan-installments-box{max-width:100%;overflow-x:hidden}.installment-fields-grid{align-items:end;margin-top:8px}.installment-fields-grid input{width:100%}.loan-total-box{grid-template-columns:minmax(120px,1fr) auto minmax(180px,1.5fr);align-items:center;gap:16px;display:grid}.loan-total-box .installment-fields-grid{border-top:1px solid #14b8a640;grid-column:1/-1;margin-top:10px;padding-top:12px}@media (width<=720px){.loan-total-box{grid-template-columns:1fr}.loan-total-box .installment-fields-grid{grid-column:auto}}.section-header-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.section-header-row h2{margin:0}.section-header-row p{color:var(--mp-muted);margin:4px 0 0}.segmented-filter{flex-wrap:wrap;gap:8px;display:flex}.segmented-filter button{border:1px solid var(--mp-border);color:var(--mp-text);cursor:pointer;background:#fff;border-radius:999px;padding:8px 12px;font-weight:700}.segmented-filter button.active{border-color:var(--mp-primary);color:var(--mp-primary-dark);background:#14b8a61f}.collection-card-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;display:grid}.collection-card{border:1px solid var(--mp-border);background:linear-gradient(#14b8a612,#fff0),#fff;border-radius:20px;gap:14px;padding:18px;display:grid;box-shadow:0 14px 32px #0f172a14}.collection-card-overdue{border-color:#ef444459}.collection-card-partial{border-color:#f59e0b59}.collection-card-top{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid}.collection-card-top div:not(.client-avatar){gap:3px;display:grid}.collection-card-top strong{font-size:18px}.collection-card-top span:not(.badge){color:var(--mp-muted);font-size:13px}.client-avatar{width:46px;height:46px;color:var(--mp-primary-dark);background:#14b8a629;border-radius:999px;place-items:center;font-weight:900;display:grid}.collection-main-amount{justify-items:center;gap:2px;padding:8px 0;display:grid}.collection-main-amount strong{color:var(--mp-primary-dark);font-size:32px;line-height:1}.collection-main-amount span{color:var(--mp-muted);font-size:13px}.collection-metrics-grid,.collection-profit-grid,.collection-next-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.collection-metrics-grid div,.collection-profit-grid div,.collection-next-row div{border:1px solid var(--mp-border);background:#f8fafcd9;border-radius:14px;gap:4px;padding:12px;display:grid}.collection-metrics-grid span,.collection-profit-grid span,.collection-next-row span{color:var(--mp-muted);font-size:12px}.collection-profit-grid{background:#14b8a60d;border:1px solid #14b8a638;border-radius:16px;padding:10px}.collection-profit-grid div{background:0 0;border:0;padding:0}.collection-card-actions{grid-template-columns:1fr auto;gap:10px;display:grid}.collection-status-overdue{color:#991b1b;background:#fee2e2}.collection-status-partial{color:#92400e;background:#fef3c7}.collection-status-open{color:#166534;background:#dcfce7}@media (width<=760px){.section-header-row,.collection-card-actions,.collection-card-top,.collection-metrics-grid,.collection-profit-grid,.collection-next-row{grid-template-columns:1fr}.section-header-row{display:grid}.collection-card-grid{grid-template-columns:1fr}}.dashboard-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}.dashboard-card-grid .summary-card{min-width:0;padding:18px}.dashboard-card-grid .summary-card strong{white-space:nowrap;font-size:clamp(20px,1.6vw,26px)}.dashboard-card-grid .summary-card span,.dashboard-card-grid .summary-card small{white-space:nowrap}@media (width<=1400px){.dashboard-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=820px){.dashboard-card-grid{grid-template-columns:1fr}.dashboard-card-grid .summary-card strong,.dashboard-card-grid .summary-card span,.dashboard-card-grid .summary-card small{white-space:normal}}.receipt-message-box{background:#14b8a60f;border:1px solid #14b8a640;border-radius:16px;gap:10px;padding:14px;display:grid}.receipt-message-box textarea{resize:vertical;width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5}@media (width<=760px){.collection-card-actions{grid-template-columns:1fr}}.collection-card-actions{grid-template-columns:minmax(180px,1.4fr) minmax(120px,1fr) auto;align-items:stretch}.collection-card-actions .button{white-space:nowrap;justify-content:center;min-height:44px}@media (width<=1180px){.collection-card-actions{grid-template-columns:1fr 1fr}.collection-card-actions .button:first-child{grid-column:1/-1}}@media (width<=760px){.collection-card-actions{grid-template-columns:1fr}.collection-card-actions .button:first-child{grid-column:auto}}.collection-card{min-width:0;overflow:hidden}.collection-card *{min-width:0}.collection-card-grid{align-items:stretch}.collection-card-top,.collection-metrics-grid,.collection-profit-grid,.collection-next-row,.collection-card-actions{width:100%}.collection-card-actions{grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr) minmax(0,.9fr)}.collection-card-actions .button{width:100%;padding-left:12px;padding-right:12px}.collection-card-actions .button svg{flex-shrink:0}.collection-card-actions .button{text-overflow:ellipsis;overflow:hidden}.collection-main-amount strong,.collection-metrics-grid strong,.collection-profit-grid strong,.collection-next-row strong{overflow-wrap:anywhere}@media (width<=1180px){.collection-card-actions{grid-template-columns:1fr}.collection-card-actions .button:first-child{grid-column:auto}}.sidebar-section{border-top:1px solid #94a3b838;gap:6px;margin-top:10px;padding-top:12px;display:grid}.sidebar-section-title{color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;padding:0 12px 4px;font-size:.72rem;font-weight:800;display:flex}.sidebar-nav a.sidebar-subitem{padding-left:18px}.admin-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.admin-card{color:inherit;background:#0f172ab8;border:1px solid #94a3b838;border-radius:18px;align-items:flex-start;gap:14px;padding:18px;text-decoration:none;transition:transform .18s,border-color .18s,background .18s;display:flex;box-shadow:0 18px 40px #0f172a2e}.admin-card:hover{background:#0f172adb;border-color:#3b82f680;transform:translateY(-2px)}.admin-card-icon{color:#93c5fd;background:#3b82f624;border-radius:14px;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.admin-card strong{color:#e5e7eb;margin-bottom:6px;font-size:1rem;display:block}.admin-card p{color:#94a3b8;margin:0;line-height:1.45}.admin-card small{color:#fbbf24;margin-top:10px;font-weight:700;display:inline-flex}.admin-card-disabled{opacity:.72;cursor:not-allowed}.admin-card-disabled:hover{background:#0f172ab8;border-color:#94a3b838;transform:none}.back-link{width:fit-content;color:var(--mp-primary);align-items:center;gap:6px;margin-bottom:10px;font-weight:700;display:inline-flex}.form-section{border-bottom:1px solid var(--mp-border);gap:18px;padding-bottom:22px;display:grid}.form-section:last-of-type{border-bottom:0}.form-section h2{margin:0;font-size:18px}.form-section p{color:var(--mp-muted);margin:6px 0 0}.form-grid{gap:16px;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-stack select,.form-stack textarea{border:1px solid var(--mp-border);width:100%;color:var(--mp-text);font:inherit;background:#fff;border-radius:12px;outline:none;padding:12px 14px}.form-stack select{height:44px}.form-stack textarea{resize:vertical;min-height:120px}.form-stack select:focus,.form-stack textarea:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e26}.form-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.muted-text{color:var(--mp-muted);font-size:14px}@media (width<=900px){.form-grid.two-columns{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}}.template-variable-panel{border:1px solid var(--mp-border);background:#f8fafc;border-radius:16px;gap:14px;padding:16px;display:grid}.template-variable-panel strong{font-size:15px;display:block}.template-variable-panel p{color:var(--mp-muted);margin:4px 0 0;font-size:14px}.template-variable-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.template-variable-item{border:1px solid var(--mp-border);background:#fff;border-radius:12px;gap:4px;padding:10px;display:grid}.template-variable-item code{width:fit-content;color:var(--mp-primary);background:#0f766e14;border-radius:8px;padding:3px 7px;font-weight:800}.template-variable-item span{color:var(--mp-muted);font-size:13px}@media (width<=900px){.template-variable-grid{grid-template-columns:1fr}}.pix-qr-box{border:1px solid var(--mp-border);background:#f8fafc;border-radius:16px;align-items:center;gap:18px;padding:16px;display:flex}.pix-qr-box svg{background:#fff;border-radius:12px;flex:none}.pix-qr-box strong{margin-bottom:6px;display:block}.pix-qr-box p{color:var(--mp-muted);margin:0;font-size:14px}@media (width<=700px){.pix-qr-box{flex-direction:column;align-items:flex-start}}.attachment-upload-box{grid-template-columns:minmax(260px,1fr) minmax(260px,1fr);align-items:end;gap:1rem;display:grid}.attachment-upload-box label{min-width:0}.attachment-upload-box input[type=file]{border:1px solid var(--border-color);background:#fff;border-radius:.8rem;width:100%;padding:.7rem}.attachment-upload-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:.75rem;display:flex}.attachment-upload-actions .button{white-space:nowrap}@media (width<=760px){.attachment-upload-box{grid-template-columns:1fr}.attachment-upload-actions{flex-direction:column;align-items:stretch}.attachment-upload-actions .button{justify-content:center;width:100%}}.report-filter-card{border-radius:18px;padding:24px}.report-filters-grid{grid-template-columns:repeat(4,minmax(180px,1fr)) auto;align-items:end;gap:16px;margin-top:18px;display:grid}.report-filters-grid .form-field{color:var(--text-muted);flex-direction:column;gap:7px;font-size:.82rem;display:flex}.report-filters-grid .form-field span{color:var(--text);font-weight:700}.report-filters-grid input,.report-filters-grid select{border:1px solid var(--border);background:var(--surface);width:100%;height:42px;color:var(--text);font:inherit;border-radius:12px;padding:0 12px}.report-filters-grid input:focus,.report-filters-grid select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #0080801f}.report-filter-actions{justify-content:flex-end;align-items:end;display:flex}.report-filter-actions .button{white-space:nowrap;height:42px;padding-inline:18px}.report-summary-grid{grid-template-columns:repeat(5,minmax(160px,1fr));gap:16px;display:grid}.report-summary-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:18px;flex-direction:column;gap:10px;min-height:110px;padding:20px;display:flex}.report-summary-card span{color:var(--text-muted);font-size:.86rem}.report-summary-card strong{color:var(--text);letter-spacing:-.03em;font-size:1.55rem;line-height:1.1}.report-table-wrapper{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:100%;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:1180px}.report-table th,.report-table td{border-bottom:1px solid var(--border);vertical-align:middle;white-space:nowrap;padding:13px 16px}.report-table th{background:var(--surface-muted);color:var(--text-muted);text-align:left;text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:800}.report-table tbody tr:hover{background:var(--surface-muted)}.report-table tbody tr:last-child td{border-bottom:0}.report-table .numeric-cell{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.report-table .client-cell{min-width:220px;font-weight:700}.report-table .responsible-cell{min-width:140px}.report-table .notes-cell{white-space:normal;min-width:260px;color:var(--text-muted)}@media (width<=1280px){.report-summary-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.report-filters-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.report-filter-actions{justify-content:flex-start}}@media (width<=720px){.report-summary-grid,.report-filters-grid{grid-template-columns:1fr}}@media print{body{background:#fff!important}.sidebar,.topbar,.print-hide,.report-filter-card{display:none!important}.main-area,.content,.page-stack{background:#fff!important;width:100%!important;margin:0!important;padding:0!important;display:block!important}.report-page-header{border-bottom:2px solid #111827;margin-bottom:18px;padding-bottom:12px}.report-page-header h1{margin:0 0 6px!important;font-size:22px!important}.report-page-header p,.section-title p{color:#374151!important}.report-summary-grid{grid-template-columns:repeat(5,1fr)!important;gap:8px!important;margin-bottom:16px!important}.report-summary-card{box-shadow:none!important;border:1px solid #d1d5db!important;border-radius:8px!important;min-height:auto!important;padding:10px!important}.report-summary-card span{font-size:10px!important}.report-summary-card strong{font-size:14px!important}.card{box-shadow:none!important;background:#fff!important;border:0!important;padding:0!important}.report-table-wrapper{border:0!important;border-radius:0!important;overflow:visible!important}.report-table{width:100%!important;min-width:0!important;font-size:10px!important}.report-table th,.report-table td{white-space:normal!important;border-bottom:1px solid #d1d5db!important;padding:6px 5px!important}.report-table th{color:#111827!important;background:#f3f4f6!important;font-size:9px!important}.report-table .client-cell,.report-table .responsible-cell,.report-table .notes-cell{min-width:0!important}@page{size:landscape;margin:10mm}}.reports-hub-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:16px;display:grid}.reports-hub-card{border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);border-radius:20px;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:22px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:grid}.reports-hub-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.reports-hub-card h2{margin:0 0 6px;font-size:1.05rem}.reports-hub-card p{color:var(--text-muted);margin:0;line-height:1.4}.reports-hub-icon{background:var(--surface-muted);width:48px;height:48px;color:var(--primary);border-radius:16px;place-items:center;display:grid}.reports-hub-arrow{color:var(--text-muted)}.reports-hub-card-disabled{opacity:.72}.reports-hub-card-disabled:hover{box-shadow:var(--shadow-sm);transform:none}.report-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.report-filter-actions{gap:10px}@media (width<=900px){.reports-hub-grid{grid-template-columns:1fr}.report-page-header{flex-direction:column}.report-header-actions{width:100%}}.help-intro-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:20px;padding:22px}.help-intro-card h2{margin:0 0 8px}.help-intro-card p{color:var(--text-muted);margin:0;line-height:1.6}.help-grid{grid-template-columns:repeat(2,minmax(280px,1fr));gap:16px;display:grid}.help-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:20px;padding:22px}.help-card-header{align-items:center;gap:12px;margin-bottom:14px;display:flex}.help-card-header h2{margin:0;font-size:1rem}.help-icon{background:var(--surface-muted);width:42px;height:42px;color:var(--primary);border-radius:14px;flex:none;place-items:center;display:grid}.help-card ul{color:var(--text-muted);margin:0;padding-left:20px;line-height:1.6}.help-card li+li{margin-top:6px}@media (width<=900px){.help-grid{grid-template-columns:1fr}}.pending-attachment-card{border:1px dashed var(--border);background:var(--surface-muted);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.pending-attachment-card div{flex-direction:column;gap:4px;display:flex}.pending-attachment-card span{color:var(--text-muted);font-size:.85rem}.dashboard-shortcuts{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:20px;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.dashboard-shortcuts h2{margin:4px 0 0;font-size:1.1rem}.dashboard-shortcut-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.dashboard-shortcut-button{border:1px solid var(--border);background:var(--surface-muted);min-height:42px;color:var(--text);border-radius:12px;align-items:center;gap:8px;padding:0 14px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex}.dashboard-shortcut-button:hover{box-shadow:var(--shadow-sm);transform:translateY(-1px)}@media (width<=900px){.dashboard-shortcuts{flex-direction:column;align-items:flex-start}.dashboard-shortcut-actions{justify-content:flex-start}}.payments-panel{padding:22px}.payments-toolbar{align-items:flex-start;gap:18px}.payments-toolbar-title{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;flex-direction:column;gap:2px;min-width:180px;padding:12px 14px;display:flex}.payments-toolbar-title strong{font-size:1.5rem;line-height:1}.payments-toolbar-title span{color:var(--text-muted);font-size:.86rem}.payments-filter-grid{grid-template-columns:minmax(240px,1.5fr) minmax(180px,1fr) minmax(220px,1.2fr) repeat(4,minmax(140px,.8fr)) auto;align-items:end;gap:12px;width:100%;display:grid}.payments-filter-grid .search-input,.payments-filter-grid .select-input{border-radius:12px;min-height:42px}.payments-filter-grid .filter-field{color:var(--text-muted);gap:6px;font-size:.78rem;font-weight:700}.payments-filter-grid .button{white-space:nowrap;min-height:42px}.payments-table-wrapper{border:1px solid var(--border);border-radius:18px;overflow-x:auto}.payments-table{min-width:1040px}.payments-table th{background:var(--surface-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.76rem}.payments-table th,.payments-table td{vertical-align:middle;padding:14px 16px}.payments-table tbody tr:hover{background:var(--surface-muted)}.payment-amount-cell{white-space:nowrap}.payment-amount-cell>strong{color:var(--text);font-size:1.04rem;display:block}.payment-linked-installment{width:fit-content;color:var(--primary);background:#14b8a61f;border-radius:999px;margin-top:4px;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.payment-composition{flex-direction:column;gap:6px;min-width:150px;display:flex}.payment-composition span{background:var(--surface-muted);color:var(--text-muted);border-radius:10px;justify-content:space-between;gap:12px;padding:5px 8px;font-size:.8rem;display:flex}.payment-composition strong{color:var(--text)}.payment-notes-cell{white-space:normal;min-width:190px;max-width:280px}.payments-table-actions{justify-content:flex-end;gap:8px}@media (width<=1500px){.payments-filter-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media (width<=900px){.payments-toolbar{flex-direction:column}.payments-toolbar-title{width:100%}.payments-filter-grid{grid-template-columns:1fr}}.payments-toolbar{display:flex;flex-direction:column!important;align-items:stretch!important;gap:18px!important}.payments-toolbar-title{width:fit-content;min-width:180px}.payments-filter-grid{grid-template-columns:minmax(260px,1.4fr) minmax(220px,1fr) minmax(260px,1.2fr) repeat(2,minmax(160px,.8fr)) repeat(2,minmax(140px,.7fr)) auto!important;align-items:end!important;gap:12px!important;width:100%!important;display:grid!important;overflow:visible!important}.payments-filter-grid .search-input,.payments-filter-grid .select-input,.payments-filter-grid input,.payments-filter-grid select{box-sizing:border-box!important;width:100%!important;min-width:0!important}.payments-filter-grid .button{width:max-content!important}@media (width<=1500px){.payments-filter-grid{grid-template-columns:repeat(4,minmax(180px,1fr))!important}.payments-filter-grid .button{width:100%!important}}@media (width<=1100px){.payments-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))!important}}@media (width<=720px){.payments-filter-grid{grid-template-columns:1fr!important}.payments-toolbar-title{width:100%}}.payments-panel{overflow:hidden!important}.payments-toolbar{grid-template-columns:1fr!important;align-items:stretch!important;gap:18px!important;width:100%!important;display:grid!important}.payments-toolbar-title{box-sizing:border-box!important;border-radius:16px!important;width:100%!important;min-width:0!important;padding:16px 18px!important}.toolbar-fields.payment-filter-grid,.payments-filter-grid{box-sizing:border-box!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end!important;gap:14px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important}.toolbar-fields.payment-filter-grid>*,.payments-filter-grid>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}.payments-filter-grid .search-input,.payments-filter-grid .select-input,.payments-filter-grid input,.payments-filter-grid select{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.payments-filter-grid .filter-field{flex-direction:column!important;gap:6px!important;display:flex!important}.payments-filter-grid .button{justify-content:center!important;width:100%!important;min-width:0!important}.payments-table-wrapper{width:100%!important;max-width:100%!important;overflow-x:auto!important}@media (width<=1200px){.toolbar-fields.payment-filter-grid,.payments-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=720px){.toolbar-fields.payment-filter-grid,.payments-filter-grid{grid-template-columns:1fr!important}}.dashboard-header-with-filter{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.dashboard-responsible-filter{min-width:260px;color:var(--text-muted);flex-direction:column;gap:7px;font-size:.82rem;display:flex}.dashboard-responsible-filter span{color:var(--text);font-weight:800}.dashboard-responsible-filter select{border:1px solid var(--border);background:var(--surface);height:42px;color:var(--text);font:inherit;border-radius:12px;padding:0 12px}@media (width<=820px){.dashboard-header-with-filter{flex-direction:column}.dashboard-responsible-filter{width:100%;min-width:0}}.loans-summary-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px;margin-bottom:18px;display:grid}.loans-summary-grid article{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;flex-direction:column;gap:6px;padding:16px;display:flex}.loans-summary-grid span{color:var(--text-muted);font-size:.82rem}.loans-summary-grid strong{color:var(--text);font-size:1.25rem;line-height:1.1}.loans-summary-grid small{color:var(--text-muted);font-weight:700}.loan-filter-grid{grid-template-columns:minmax(220px,1.2fr) minmax(170px,.8fr) minmax(180px,1fr) minmax(190px,1fr) repeat(4,minmax(140px,.8fr)) auto!important}@media (width<=1500px){.loan-filter-grid{grid-template-columns:repeat(4,minmax(180px,1fr))!important}.loans-summary-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media (width<=900px){.loan-filter-grid{grid-template-columns:repeat(2,minmax(160px,1fr))!important}.loans-summary-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (width<=640px){.loan-filter-grid,.loans-summary-grid{grid-template-columns:1fr!important}}.loan-filter-grid{box-sizing:border-box!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;gap:14px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important}.loan-filter-grid>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}.loan-filter-grid .search-input,.loan-filter-grid .select-input,.loan-filter-grid input,.loan-filter-grid select{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.loan-filter-grid .filter-field{flex-direction:column!important;gap:6px!important;display:flex!important}.loan-filter-grid .filter-checkbox{align-items:center!important;min-height:42px!important}.loan-filter-grid .button{justify-content:center!important;width:100%!important;min-width:0!important}.loans-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;width:100%!important;margin:18px 0!important;display:grid!important}.loans-summary-grid article{border:1px solid var(--border)!important;background:var(--surface-muted)!important;border-radius:16px!important;min-width:0!important;padding:16px!important}@media (width<=1400px){.loan-filter-grid,.loans-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=980px){.loan-filter-grid,.loans-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=640px){.loan-filter-grid,.loans-summary-grid{grid-template-columns:1fr!important}}.payments-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;width:100%;margin:18px 0;display:grid}.payments-summary-grid article{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;flex-direction:column;gap:6px;min-width:0;padding:16px;display:flex}.payments-summary-grid span{color:var(--text-muted);font-size:.82rem}.payments-summary-grid strong{color:var(--text);font-size:1.25rem;line-height:1.1}.toolbar-fields.payment-filter-grid,.payments-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media (width<=1200px){.payments-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.payments-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.payments-summary-grid{grid-template-columns:1fr}}.login-page-modern{background:radial-gradient(circle at 0 0,#14b8a62e,#0000 34%),linear-gradient(135deg,#0f172a 0%,#1e293b 46%,#f8fafc 46% 100%);grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);align-items:stretch;min-height:100vh;padding:0;display:grid}.login-hero{color:#fff;flex-direction:column;justify-content:space-between;gap:48px;padding:56px;display:flex}.login-hero-brand{align-items:center;gap:14px;display:inline-flex}.login-hero-logo,.login-card-modern .login-logo{border-radius:20px;place-items:center;width:58px;height:58px;display:grid}.login-hero-logo{color:#5eead4;background:#ffffff1f;border:1px solid #ffffff29}.login-hero-brand span{letter-spacing:-.04em;font-size:1.35rem;font-weight:900;display:block}.login-hero-brand strong{color:#ffffffb3;margin-top:2px;font-size:.9rem;display:block}.login-hero-content{max-width:620px}.login-hero-content h1{letter-spacing:-.07em;color:#fff;margin:12px 0 18px;font-size:clamp(2.4rem,5vw,4.5rem);line-height:.95}.login-hero-content p{color:#ffffffc2;max-width:520px;margin:0;font-size:1.08rem;line-height:1.7}.login-feature-list{gap:12px;max-width:560px;display:grid}.login-feature-list div{color:#ffffffdb;background:#ffffff1a;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:10px;width:fit-content;padding:10px 14px;display:flex}.login-feature-list svg{color:#5eead4}.login-card-modern{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #e2e8f0e6;border-radius:28px;place-self:center;width:min(430px,100% - 40px);padding:34px;box-shadow:0 30px 80px #0f172a2e}.login-card-header{align-items:center;gap:16px;margin-bottom:26px;display:flex}.login-card-modern .login-logo{background:var(--primary);color:#fff;flex:none}.login-card-modern h2{letter-spacing:-.04em;margin:0;font-size:1.45rem}.login-card-modern p{color:var(--text-muted);margin:4px 0 0}.login-form{gap:18px}.login-form .button{justify-content:center;width:100%;min-height:46px;margin-top:4px}.login-security-note{background:var(--surface-muted);color:var(--text-muted);border-radius:14px;align-items:center;gap:8px;margin-top:22px;padding:12px;font-size:.82rem;display:flex}.login-security-note svg{color:var(--primary);flex:none}@media (width<=920px){.login-page-modern{background:radial-gradient(circle at 0 0,#14b8a62e,#0000 34%),linear-gradient(160deg,#0f172a 0%,#1e293b 48%,#f8fafc 48% 100%);grid-template-columns:1fr}.login-hero{gap:28px;padding:32px 24px 8px}.login-feature-list{display:none}.login-card-modern{margin:22px 0 34px}}.login-page-modern{position:relative;overflow:hidden;background:#f8fafc!important}.login-page-modern:before{content:"";z-index:0;background:radial-gradient(circle at 18% 18%,#14b8a638,#0000 32%),linear-gradient(135deg,#0f172a 0%,#1e293b 100%);width:58%;position:absolute;inset:0 auto 0 0}.login-page-modern>*{z-index:1;position:relative}.login-hero{min-height:100vh}.login-feature-list{width:min(560px,100%)}.login-feature-list div{box-sizing:border-box;width:100%}.login-card-modern{z-index:2}@media (width<=920px){.login-page-modern:before{width:100%;height:48%;inset:0 0 auto}.login-hero{min-height:auto}}.help-page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.help-progress-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:20px;gap:12px;padding:20px;display:grid}.help-progress-card span{color:var(--text-muted);font-size:.86rem}.help-progress-card strong{color:var(--text);margin-top:4px;font-size:1.3rem;display:block}.help-progress-card small{color:var(--text-muted)}.help-progress-track{background:var(--surface-muted);border:1px solid var(--border);border-radius:999px;height:12px;overflow:hidden}.help-progress-track div{border-radius:inherit;background:var(--primary);height:100%;transition:width .2s}.help-card-done{background:#14b8a60f;border-color:#14b8a659}.help-check-row{color:var(--text-muted);align-items:center;gap:8px;margin-top:6px;font-size:.84rem;font-weight:700;display:inline-flex}.help-check-row input{width:16px;height:16px;accent-color:var(--primary)}@media (width<=900px){.help-page-header{flex-direction:column}}@media (width<=1500px){.dashboard-header-with-filter{align-items:flex-start}.dashboard-shortcuts{flex-direction:column;align-items:flex-start}.dashboard-shortcut-actions{justify-content:flex-start;width:100%}.dashboard-card-grid{grid-template-columns:repeat(3,minmax(220px,1fr))!important}}@media (width<=1180px){.dashboard-header-with-filter{flex-direction:column}.dashboard-responsible-filter{width:min(360px,100%)}.dashboard-shortcut-actions{grid-template-columns:repeat(2,minmax(180px,1fr));display:grid}.dashboard-shortcut-button{justify-content:center;width:100%}.dashboard-card-grid{grid-template-columns:repeat(2,minmax(220px,1fr))!important}.collection-card-grid{grid-template-columns:repeat(2,minmax(260px,1fr))!important}}@media (width<=760px){.dashboard-shortcut-actions,.dashboard-card-grid,.collection-card-grid{grid-template-columns:1fr!important}.dashboard-shortcuts{padding:18px}.dashboard-card-grid .summary-card{min-height:auto}.section-header-row{flex-direction:column;align-items:flex-start}.segmented-filter{justify-content:flex-start;width:100%;padding-bottom:4px;overflow-x:auto}.segmented-filter button{white-space:nowrap}}.dashboard-card-grid .summary-card{align-items:center!important;min-width:0!important;min-height:118px!important;padding:18px!important}.dashboard-card-grid .summary-card svg{flex:none!important;width:24px!important;height:24px!important}.dashboard-card-grid .summary-card div{min-width:0!important}.dashboard-card-grid .summary-card span{font-size:.94rem!important;line-height:1.2!important}.dashboard-card-grid .summary-card strong{white-space:nowrap!important;font-size:clamp(1.45rem,2.1vw,1.9rem)!important;line-height:1.1!important}.dashboard-card-grid .summary-card small{white-space:normal!important;font-size:.82rem!important;line-height:1.25!important}@media (width>=1600px){.dashboard-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}@media (width<=1100px){.dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=680px){.dashboard-card-grid{grid-template-columns:1fr!important}}.dashboard-card-grid{grid-template-columns:repeat(3,minmax(240px,1fr))!important}.dashboard-card-grid .summary-card{overflow:hidden!important}.dashboard-card-grid .summary-card strong{overflow-wrap:normal!important;max-width:100%!important;font-size:clamp(1.35rem,1.6vw,1.75rem)!important}.dashboard-card-grid .summary-card span,.dashboard-card-grid .summary-card small{max-width:100%!important}@media (width>=1900px){.dashboard-card-grid{grid-template-columns:repeat(6,minmax(220px,1fr))!important}}@media (width<=1100px){.dashboard-card-grid{grid-template-columns:repeat(2,minmax(240px,1fr))!important}}@media (width<=680px){.dashboard-card-grid{grid-template-columns:1fr!important}}.dashboard-card-grid{grid-template-columns:repeat(3,minmax(260px,1fr))!important;gap:18px!important}.dashboard-card-grid .summary-card{grid-template-columns:auto 1fr!important;grid-template-areas:"icon label""value value""meta meta"!important;align-items:center!important;gap:8px 12px!important;min-width:0!important;min-height:132px!important;padding:18px 20px!important;display:grid!important}.dashboard-card-grid .summary-card svg{grid-area:icon!important;width:24px!important;height:24px!important}.dashboard-card-grid .summary-card>div{display:contents!important}.dashboard-card-grid .summary-card span{white-space:normal!important;grid-area:label!important;min-width:0!important;font-size:.94rem!important;line-height:1.2!important}.dashboard-card-grid .summary-card strong{letter-spacing:-.05em!important;white-space:nowrap!important;grid-area:value!important;width:100%!important;font-size:clamp(1.6rem,2.2vw,2.15rem)!important;line-height:1.05!important;display:block!important}.dashboard-card-grid .summary-card small{white-space:normal!important;grid-area:meta!important;width:100%!important;font-size:.82rem!important;line-height:1.3!important;display:block!important}@media (width>=1700px){.dashboard-card-grid{grid-template-columns:repeat(6,minmax(200px,1fr))!important}.dashboard-card-grid .summary-card strong{font-size:clamp(1.35rem,1.45vw,1.75rem)!important}}@media (width<=1180px){.dashboard-card-grid{grid-template-columns:repeat(2,minmax(260px,1fr))!important}}@media (width<=680px){.dashboard-card-grid{grid-template-columns:1fr!important}}.loan-report-filters-grid{grid-template-columns:repeat(4,minmax(170px,1fr))!important}.report-checkbox-field{min-height:42px;color:var(--text);align-items:center;gap:8px;font-weight:800;display:inline-flex}.report-checkbox-field input{width:16px;height:16px;accent-color:var(--primary)}.report-loan-summary-grid{grid-template-columns:repeat(5,minmax(160px,1fr))}.loan-report-table{min-width:1320px}@media (width<=1280px){.loan-report-filters-grid,.report-loan-summary-grid{grid-template-columns:repeat(2,minmax(170px,1fr))!important}}@media (width<=720px){.loan-report-filters-grid,.report-loan-summary-grid{grid-template-columns:1fr!important}}.report-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.report-filter-card,.report-table-wrapper,.report-summary-grid,.report-loan-summary-grid{min-width:0}.report-filters-grid,.loan-report-filters-grid{width:100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.report-filters-grid>*,.loan-report-filters-grid>*,.report-filters-grid .form-field,.loan-report-filters-grid .form-field{min-width:0}.report-filters-grid input,.report-filters-grid select,.loan-report-filters-grid input,.loan-report-filters-grid select{box-sizing:border-box;width:100%;min-width:0}.report-filter-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.report-summary-grid,.report-loan-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}.report-summary-grid .summary-card,.report-loan-summary-grid .summary-card{min-width:0}.report-summary-grid .summary-card strong,.report-loan-summary-grid .summary-card strong{font-size:clamp(1.45rem,2vw,2rem);line-height:1.1}.report-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.report-table{width:100%}@media (width<=1280px){.report-page-header{flex-direction:column}.report-header-actions{justify-content:flex-start;width:100%}.report-filters-grid,.loan-report-filters-grid{grid-template-columns:repeat(2,minmax(220px,1fr))!important}.report-summary-grid,.report-loan-summary-grid{grid-template-columns:repeat(3,minmax(180px,1fr))!important}}@media (width<=820px){.report-filters-grid,.loan-report-filters-grid,.report-summary-grid,.report-loan-summary-grid{grid-template-columns:1fr!important}.report-filter-actions,.report-header-actions{flex-direction:column;align-items:stretch}.report-filter-actions .button,.report-header-actions .button{justify-content:center;width:100%}}.page-stack{max-width:100%;overflow-x:hidden}.report-filter-card,.report-page-header,.report-summary-grid,.report-loan-summary-grid,.report-table-wrapper{box-sizing:border-box;min-width:0;max-width:100%}.report-filters-grid,.loan-report-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.report-filters-grid>*,.loan-report-filters-grid>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}.report-filters-grid input,.report-filters-grid select,.loan-report-filters-grid input,.loan-report-filters-grid select{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.report-filter-actions{grid-column:1/-1;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:12px!important;display:flex!important}.report-checkbox-field{min-width:0!important;max-width:100%!important}.report-summary-grid,.report-loan-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.report-summary-grid .summary-card,.report-loan-summary-grid .summary-card{min-width:0!important;overflow:hidden!important}.report-summary-grid .summary-card strong,.report-loan-summary-grid .summary-card strong{white-space:nowrap!important;font-size:clamp(1.45rem,1.8vw,1.9rem)!important}.report-table-wrapper{width:100%!important;max-width:100%!important;overflow:auto hidden!important}.loan-report-table,.report-table{width:max-content!important;min-width:1000px!important;max-width:none!important}@media (width<=1180px){.report-filters-grid,.loan-report-filters-grid,.report-summary-grid,.report-loan-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=720px){.report-filters-grid,.loan-report-filters-grid,.report-summary-grid,.report-loan-summary-grid{grid-template-columns:1fr!important}.report-filter-actions .button{justify-content:center!important;width:100%!important}}.payment-report-page *,.loan-report-page *{box-sizing:border-box}.payment-report-page .report-filter-card,.loan-report-page .report-filter-card{width:100%;max-width:100%;overflow:hidden}.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.payment-report-page .report-filters-grid>*,.loan-report-page .report-filters-grid>*,.loan-report-page .loan-report-filters-grid>*{min-width:0!important;max-width:100%!important}.payment-report-page .form-field,.loan-report-page .form-field{width:100%!important;min-width:0!important}.payment-report-page .form-field input,.payment-report-page .form-field select,.loan-report-page .form-field input,.loan-report-page .form-field select{width:100%!important;min-width:0!important;max-width:100%!important}.payment-report-page .report-checkbox-field,.loan-report-page .report-checkbox-field{width:100%;min-height:42px}.payment-report-page .report-filter-actions,.loan-report-page .report-filter-actions{flex-wrap:wrap!important;grid-column:1/-1!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;display:flex!important}.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.payment-report-page .summary-card,.loan-report-page .summary-card{width:100%!important;min-width:0!important;overflow:hidden!important}.payment-report-page .summary-card strong,.loan-report-page .summary-card strong{white-space:normal!important;overflow-wrap:anywhere!important;font-size:clamp(1.45rem,2.2vw,1.9rem)!important;line-height:1.1!important}.payment-report-page .report-table-wrapper,.loan-report-page .report-table-wrapper{width:100%!important;max-width:100%!important;overflow:auto hidden!important}.payment-report-page .report-table,.loan-report-page .report-table{width:max-content!important;min-width:1000px!important;max-width:none!important}@media (width>=1500px){.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid,.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=760px){.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid,.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:1fr!important}.payment-report-page .report-filter-actions,.loan-report-page .report-filter-actions,.payment-report-page .report-header-actions,.loan-report-page .report-header-actions{flex-direction:column!important;align-items:stretch!important}.payment-report-page .button,.loan-report-page .button{justify-content:center!important;width:100%!important}}.payment-report-page,.loan-report-page{width:100%!important;max-width:calc(100vw - 32px)!important;overflow-x:hidden!important}.payment-report-page>*,.loan-report-page>*{width:100%!important;min-width:0!important;max-width:100%!important}.payment-report-page .card,.loan-report-page .card,.payment-report-page .report-filter-card,.loan-report-page .report-filter-card,.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.payment-report-page .summary-grid,.loan-report-page .summary-grid{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important}.payment-report-page .report-filters-grid>*,.loan-report-page .report-filters-grid>*,.loan-report-page .loan-report-filters-grid>*{width:100%!important;min-width:0!important;max-width:100%!important}.payment-report-page .form-field,.loan-report-page .form-field{flex-direction:column!important;gap:8px!important;display:flex!important}.payment-report-page .form-field input,.payment-report-page .form-field select,.loan-report-page .form-field input,.loan-report-page .form-field select{width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important}.payment-report-page .report-filter-actions,.loan-report-page .report-filter-actions{grid-column:1/-1!important;width:100%!important}.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;display:grid!important}.payment-report-page .summary-card,.loan-report-page .summary-card{width:100%!important;min-width:0!important}.payment-report-page .report-table-wrapper,.loan-report-page .report-table-wrapper{width:100%!important;min-width:0!important;max-width:100%!important;overflow:auto hidden!important}.payment-report-page .report-table,.loan-report-page .report-table{width:max-content!important;min-width:980px!important}@media (width>=1400px){.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid,.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=760px){.payment-report-page,.loan-report-page{max-width:calc(100vw - 24px)!important}.payment-report-page .report-filters-grid,.loan-report-page .report-filters-grid,.loan-report-page .loan-report-filters-grid,.payment-report-page .report-summary-grid,.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:1fr!important}}.responsible-report-page{width:100%!important;max-width:calc(100vw - 32px)!important;overflow-x:hidden!important}.responsible-report-page>*,.responsible-report-page .card,.responsible-report-page .report-filter-card,.responsible-report-page .summary-grid,.responsible-report-page .report-responsible-summary-grid{width:100%!important;min-width:0!important;max-width:100%!important}.responsible-report-filters-grid,.report-responsible-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.responsible-report-table{min-width:1120px!important}@media (width>=1500px){.responsible-report-filters-grid,.report-responsible-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=760px){.responsible-report-page{max-width:calc(100vw - 24px)!important}.responsible-report-filters-grid,.report-responsible-summary-grid{grid-template-columns:1fr!important}}@media (width<=1400px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=980px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=640px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:1fr!important}}.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;display:grid!important}.responsible-report-page .report-responsible-summary-grid .summary-card{border-radius:18px!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;min-height:112px!important;padding:18px 20px!important;display:flex!important;overflow:hidden!important}.responsible-report-page .report-responsible-summary-grid .summary-card span{color:var(--text-muted)!important;font-size:.88rem!important;line-height:1.25!important}.responsible-report-page .report-responsible-summary-grid .summary-card strong{letter-spacing:-.04em!important;white-space:nowrap!important;font-size:clamp(1.55rem,2.1vw,2rem)!important;line-height:1.05!important}.responsible-report-page .report-responsible-summary-grid .summary-card small{color:var(--text-muted)!important;font-size:.82rem!important}@media (width<=1400px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=980px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=640px){.responsible-report-page .report-responsible-summary-grid{grid-template-columns:1fr!important}}@media print{.report-summary-grid,.report-loan-summary-grid,.report-responsible-summary-grid,.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:8px 0 10px!important;display:grid!important}.report-summary-grid .summary-card,.report-loan-summary-grid .summary-card,.report-responsible-summary-grid .summary-card,.responsible-report-page .report-responsible-summary-grid .summary-card{height:auto!important;min-height:0!important;box-shadow:none!important;page-break-inside:avoid!important;border:1px solid #d1d5db!important;border-radius:6px!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px!important;padding:6px 8px!important;display:flex!important}.report-summary-grid .summary-card span,.report-loan-summary-grid .summary-card span,.report-responsible-summary-grid .summary-card span,.responsible-report-page .report-responsible-summary-grid .summary-card span{color:#374151!important;margin:0!important;font-size:8px!important;line-height:1.1!important}.report-summary-grid .summary-card strong,.report-loan-summary-grid .summary-card strong,.report-responsible-summary-grid .summary-card strong,.responsible-report-page .report-responsible-summary-grid .summary-card strong{letter-spacing:0!important;white-space:nowrap!important;margin:0!important;font-size:12px!important;line-height:1.1!important}.report-summary-grid .summary-card small,.report-loan-summary-grid .summary-card small,.report-responsible-summary-grid .summary-card small,.responsible-report-page .report-responsible-summary-grid .summary-card small{color:#4b5563!important;margin:0!important;font-size:7px!important;line-height:1.1!important}.responsible-report-page .report-responsible-summary-grid{grid-template-columns:repeat(4,1fr)!important}.responsible-report-page .card{margin-top:8px!important}.responsible-report-page .section-title{margin-bottom:6px!important}.responsible-report-page .section-title h2{margin:0 0 2px!important;font-size:14px!important}.responsible-report-page .section-title p{margin:0!important;font-size:9px!important}.report-table-wrapper,.responsible-report-page .report-table-wrapper,.loan-report-page .report-table-wrapper,.payment-report-page .report-table-wrapper{border:0!important;border-radius:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}.report-table,.responsible-report-table,.loan-report-table,.payment-report-page .report-table,.loan-report-page .report-table,.responsible-report-page .report-table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;font-size:7px!important}.report-table th,.report-table td,.responsible-report-table th,.responsible-report-table td,.loan-report-table th,.loan-report-table td{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;border-bottom:1px solid #d1d5db!important;padding:4px 3px!important;line-height:1.15!important}.report-table th,.responsible-report-table th,.loan-report-table th{color:#111827!important;background:#f3f4f6!important;font-size:6px!important}.report-table .numeric-cell,.responsible-report-table .numeric-cell,.loan-report-table .numeric-cell{text-align:right!important;white-space:normal!important}.report-table .client-cell,.responsible-report-table .client-cell,.loan-report-table .client-cell,.report-table .notes-cell,.loan-report-table .notes-cell{width:auto!important;min-width:0!important}.responsible-report-table th:first-child,.responsible-report-table td:first-child{width:16%!important}.responsible-report-table th:nth-child(2),.responsible-report-table td:nth-child(2),.responsible-report-table th:nth-child(3),.responsible-report-table td:nth-child(3),.responsible-report-table th:nth-child(7),.responsible-report-table td:nth-child(7),.responsible-report-table th:nth-child(9),.responsible-report-table td:nth-child(9){width:8%!important}.responsible-report-table th:nth-child(4),.responsible-report-table td:nth-child(4),.responsible-report-table th:nth-child(5),.responsible-report-table td:nth-child(5),.responsible-report-table th:nth-child(6),.responsible-report-table td:nth-child(6),.responsible-report-table th:nth-child(8),.responsible-report-table td:nth-child(8),.responsible-report-table th:nth-child(10),.responsible-report-table td:nth-child(10){width:10%!important}.payment-report-page .report-table-wrapper,.loan-report-page .report-table-wrapper,.responsible-report-page .report-table-wrapper{border:0!important;border-radius:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}.payment-report-page .report-table,.loan-report-page .report-table,.responsible-report-page .report-table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;font-size:7px!important}.payment-report-page .report-table th,.payment-report-page .report-table td,.loan-report-page .report-table th,.loan-report-page .report-table td,.responsible-report-page .report-table th,.responsible-report-page .report-table td{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;border-bottom:1px solid #d1d5db!important;padding:4px 3px!important;line-height:1.15!important}.payment-report-page .report-table th,.loan-report-page .report-table th,.responsible-report-page .report-table th{color:#111827!important;background:#f3f4f6!important;font-size:6px!important}.payment-report-page .numeric-cell,.loan-report-page .numeric-cell,.responsible-report-page .numeric-cell{text-align:right!important;white-space:normal!important}.payment-report-page .client-cell,.loan-report-page .client-cell,.responsible-report-page .client-cell,.payment-report-page .notes-cell,.loan-report-page .notes-cell,.responsible-report-page .notes-cell{width:auto!important;min-width:0!important}.payment-report-page .report-table th:first-child,.payment-report-page .report-table td:first-child{width:9%!important}.payment-report-page .report-table th:nth-child(2),.payment-report-page .report-table td:nth-child(2){width:18%!important}.payment-report-page .report-table th:nth-child(3),.payment-report-page .report-table td:nth-child(3){width:11%!important}.payment-report-page .report-table th:nth-child(4),.payment-report-page .report-table td:nth-child(4),.payment-report-page .report-table th:nth-child(5),.payment-report-page .report-table td:nth-child(5){width:9%!important}.payment-report-page .report-table th:nth-child(6),.payment-report-page .report-table td:nth-child(6),.payment-report-page .report-table th:nth-child(7),.payment-report-page .report-table td:nth-child(7),.payment-report-page .report-table th:nth-child(8),.payment-report-page .report-table td:nth-child(8){width:8%!important}.payment-report-page .report-table th:nth-child(9),.payment-report-page .report-table td:nth-child(9){width:20%!important}.loan-report-page .report-table th:first-child,.loan-report-page .report-table td:first-child{width:15%!important}.loan-report-page .report-table th:nth-child(2),.loan-report-page .report-table td:nth-child(2){width:10%!important}.loan-report-page .report-table th:nth-child(3),.loan-report-page .report-table td:nth-child(3),.loan-report-page .report-table th:nth-child(4),.loan-report-page .report-table td:nth-child(4),.loan-report-page .report-table th:nth-child(5),.loan-report-page .report-table td:nth-child(5){width:8%!important}.loan-report-page .report-table th:nth-child(6),.loan-report-page .report-table td:nth-child(6){width:12%!important}.loan-report-page .report-table th:nth-child(7),.loan-report-page .report-table td:nth-child(7),.loan-report-page .report-table th:nth-child(8),.loan-report-page .report-table td:nth-child(8),.loan-report-page .report-table th:nth-child(9),.loan-report-page .report-table td:nth-child(9),.loan-report-page .report-table th:nth-child(10),.loan-report-page .report-table td:nth-child(10){width:8%!important}.loan-report-page .report-table th:nth-child(11),.loan-report-page .report-table td:nth-child(11){width:15%!important}.responsible-report-page .report-table th:first-child,.responsible-report-page .report-table td:first-child{width:16%!important}.responsible-report-page .report-table th:nth-child(2),.responsible-report-page .report-table td:nth-child(2),.responsible-report-page .report-table th:nth-child(3),.responsible-report-page .report-table td:nth-child(3),.responsible-report-page .report-table th:nth-child(7),.responsible-report-page .report-table td:nth-child(7),.responsible-report-page .report-table th:nth-child(9),.responsible-report-page .report-table td:nth-child(9){width:8%!important}.responsible-report-page .report-table th:nth-child(4),.responsible-report-page .report-table td:nth-child(4),.responsible-report-page .report-table th:nth-child(5),.responsible-report-page .report-table td:nth-child(5),.responsible-report-page .report-table th:nth-child(6),.responsible-report-page .report-table td:nth-child(6),.responsible-report-page .report-table th:nth-child(8),.responsible-report-page .report-table td:nth-child(8),.responsible-report-page .report-table th:nth-child(10),.responsible-report-page .report-table td:nth-child(10){width:10%!important}.payment-report-page .report-summary-grid{grid-template-columns:repeat(5,1fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:8px 0 10px!important;display:grid!important}.payment-report-page .report-summary-card{height:auto!important;min-height:0!important;box-shadow:none!important;page-break-inside:avoid!important;border:1px solid #d1d5db!important;border-radius:6px!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px!important;padding:6px 8px!important;display:flex!important}.payment-report-page .report-summary-card span{color:#374151!important;margin:0!important;font-size:8px!important;line-height:1.1!important}.payment-report-page .report-summary-card strong{letter-spacing:0!important;white-space:nowrap!important;margin:0!important;font-size:12px!important;line-height:1.1!important}.payment-report-page .card{margin-top:8px!important}.payment-report-page .section-title{margin-bottom:6px!important}.payment-report-page .section-title h2{margin:0 0 2px!important;font-size:14px!important}.payment-report-page .section-title p{margin:0!important;font-size:9px!important}.payment-report-page .report-table-wrapper{margin-top:6px!important}.loan-report-page .report-loan-summary-grid,.loan-report-page .summary-grid{grid-template-columns:repeat(5,1fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:8px 0 10px!important;display:grid!important}.loan-report-page .report-loan-summary-grid .summary-card,.loan-report-page .summary-grid .summary-card{height:auto!important;min-height:0!important;box-shadow:none!important;page-break-inside:avoid!important;text-align:center!important;border:1px solid #d1d5db!important;border-radius:6px!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px!important;padding:6px 8px!important;display:flex!important}.loan-report-page .report-loan-summary-grid .summary-card span,.loan-report-page .summary-grid .summary-card span{color:#374151!important;margin:0!important;font-size:8px!important;line-height:1.1!important}.loan-report-page .report-loan-summary-grid .summary-card strong,.loan-report-page .summary-grid .summary-card strong{letter-spacing:0!important;white-space:nowrap!important;margin:0!important;font-size:12px!important;line-height:1.1!important}.loan-report-page .report-loan-summary-grid .summary-card small,.loan-report-page .summary-grid .summary-card small{color:#4b5563!important;margin:0!important;font-size:7px!important;line-height:1.1!important}.loan-report-page .card{margin-top:8px!important}.loan-report-page .section-title{margin-bottom:6px!important}.loan-report-page .section-title h2{margin:0 0 2px!important;font-size:14px!important}.loan-report-page .section-title p{margin:0!important;font-size:9px!important}.loan-report-page .report-table-wrapper{margin-top:6px!important}}.client-report-page{width:100%!important;max-width:calc(100vw - 32px)!important;overflow-x:hidden!important}.client-report-page>*,.client-report-page .card,.client-report-page .report-filter-card,.client-report-page .summary-grid,.client-report-page .report-client-summary-grid{width:100%!important;min-width:0!important;max-width:100%!important}.client-report-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-client-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.client-report-table{min-width:1320px!important}@media (width>=1500px){.client-report-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=980px){.report-client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=760px){.client-report-page{max-width:calc(100vw - 24px)!important}.client-report-filters-grid,.report-client-summary-grid{grid-template-columns:1fr!important}}@media print{.client-report-page .report-table-wrapper{border:0!important;border-radius:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}.client-report-page .report-table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;font-size:6.5px!important}.client-report-page .report-table th,.client-report-page .report-table td{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;border-bottom:1px solid #d1d5db!important;padding:4px 3px!important;line-height:1.15!important}.client-report-page .report-table th{color:#111827!important;background:#f3f4f6!important;font-size:5.8px!important}.client-report-page .numeric-cell{text-align:right!important;white-space:normal!important}.client-report-page .report-client-summary-grid{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:8px 0 10px!important;display:grid!important}.client-report-page .report-client-summary-grid .summary-card{height:auto!important;min-height:0!important;box-shadow:none!important;page-break-inside:avoid!important;text-align:center!important;border:1px solid #d1d5db!important;border-radius:6px!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px!important;padding:6px 8px!important;display:flex!important}.client-report-page .report-client-summary-grid .summary-card span{color:#374151!important;margin:0!important;font-size:8px!important;line-height:1.1!important}.client-report-page .report-client-summary-grid .summary-card strong{letter-spacing:0!important;white-space:nowrap!important;margin:0!important;font-size:12px!important;line-height:1.1!important}.client-report-page .report-client-summary-grid .summary-card small{color:#4b5563!important;margin:0!important;font-size:7px!important;line-height:1.1!important}}.client-report-page .report-client-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;display:grid!important}.client-report-page .report-client-summary-grid .summary-card{border-radius:18px!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;min-height:112px!important;padding:18px 20px!important;display:flex!important;overflow:hidden!important}.client-report-page .report-client-summary-grid .summary-card span{color:var(--text-muted)!important;font-size:.88rem!important;line-height:1.25!important}.client-report-page .report-client-summary-grid .summary-card strong{letter-spacing:-.04em!important;white-space:nowrap!important;font-size:clamp(1.55rem,2.1vw,2rem)!important;line-height:1.05!important}.client-report-page .report-client-summary-grid .summary-card small{color:var(--text-muted)!important;font-size:.82rem!important}@media (width<=1400px){.client-report-page .report-client-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=980px){.client-report-page .report-client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=640px){.client-report-page .report-client-summary-grid{grid-template-columns:1fr!important}}@media print{.client-report-page .report-client-summary-grid,.client-report-page .summary-grid{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:8px 0 10px!important;display:grid!important}.client-report-page .report-client-summary-grid .summary-card,.client-report-page .summary-grid .summary-card{height:auto!important;min-height:0!important;box-shadow:none!important;page-break-inside:avoid!important;text-align:center!important;border:1px solid #d1d5db!important;border-radius:6px!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px!important;padding:6px 8px!important;display:flex!important}.client-report-page .report-client-summary-grid .summary-card span,.client-report-page .summary-grid .summary-card span{color:#374151!important;margin:0!important;font-size:8px!important;line-height:1.1!important}.client-report-page .report-client-summary-grid .summary-card strong,.client-report-page .summary-grid .summary-card strong{letter-spacing:0!important;white-space:nowrap!important;margin:0!important;font-size:12px!important;line-height:1.1!important}.client-report-page .report-client-summary-grid .summary-card small,.client-report-page .summary-grid .summary-card small{color:#4b5563!important;margin:0!important;font-size:7px!important;line-height:1.1!important}.client-report-page .card{margin-top:8px!important}.client-report-page .section-title{margin-bottom:6px!important}.client-report-page .section-title h2{margin:0 0 2px!important;font-size:14px!important}.client-report-page .section-title p{margin:0!important;font-size:9px!important}.client-report-page .report-table-wrapper{margin-top:6px!important}}.messages-settings-layout{grid-template-columns:280px minmax(0,1fr) minmax(320px,.85fr);align-items:start;gap:18px;display:grid}.messages-template-list{gap:10px;display:grid}.messages-template-list button{border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);border-radius:16px;gap:10px;padding:14px;display:flex}.messages-template-list button.active{border-color:var(--primary);background:#14b8a614}.messages-template-list span{gap:4px;display:grid}.messages-template-list strong{font-size:.92rem}.messages-template-list small{color:var(--text-muted);line-height:1.4}.messages-editor-card textarea{border:1px solid var(--border);width:100%;min-height:420px;font:inherit;resize:vertical;background:var(--surface);color:var(--text);border-radius:16px;padding:14px;line-height:1.5}.messages-actions{justify-content:flex-start;margin-top:12px;display:flex}.messages-variables{gap:10px;margin-top:18px;display:grid}.messages-variables div{flex-wrap:wrap;gap:8px;display:flex}.messages-variables code{background:var(--surface-muted);color:var(--text);border:1px solid var(--border);border-radius:999px;padding:6px 8px;font-size:.78rem}.messages-preview-card pre{white-space:pre-wrap;word-break:break-word;color:#f8fafc;background:#0f172a;border-radius:16px;min-height:420px;margin:0;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.55}@media (width<=1320px){.messages-settings-layout{grid-template-columns:260px minmax(0,1fr)}.messages-preview-card{grid-column:1/-1}}@media (width<=860px){.messages-settings-layout{grid-template-columns:1fr}}.table-cell-stack{flex-direction:column;gap:.15rem;display:flex}.table-cell-stack span,.table-link small{color:var(--text-muted);font-size:.78rem;font-weight:500}.table-footer{border-top:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.disabled-link{cursor:not-allowed;opacity:.55;pointer-events:none}.list-filters{grid-template-columns:minmax(260px,1fr) minmax(150px,220px) auto;align-items:end;gap:1rem;display:grid}.list-filters label{flex-direction:column;gap:.35rem;display:flex}.list-filters label span{color:var(--text-muted);font-size:.82rem;font-weight:700}.list-filters input,.list-filters select{min-height:2.65rem}.list-filters .button{white-space:nowrap;min-height:2.65rem}@media (width<=760px){.list-filters{grid-template-columns:1fr}}.global-admin-shell{min-height:100vh;grid-template-columns:270px minmax(0,1fr)!important;display:grid!important}.global-admin-sidebar{background:var(--mp-sidebar);color:#fff;flex-direction:column;min-height:100vh;padding:22px;display:flex!important}.global-admin-main{flex-direction:column;min-width:0;display:flex}@media (width<=900px){.global-admin-shell{display:block!important}.global-admin-sidebar{min-height:auto}}.global-tenants-page{gap:1.35rem}.global-tenants-filter-card{padding:1rem}.global-tenants-page .list-filters{grid-template-columns:minmax(280px,1fr) minmax(150px,220px) auto;align-items:end;gap:1rem;display:grid}.global-tenants-page .list-filters label{flex-direction:column;gap:.45rem;display:flex}.global-tenants-page .list-filters label span{color:var(--mp-text);font-size:.82rem;font-weight:800}.global-tenants-page .list-filters input,.global-tenants-page .list-filters select{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem}.global-tenants-page .list-filters input:focus,.global-tenants-page .list-filters select:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e1f}.global-tenants-page .list-filters .button{white-space:nowrap;min-height:2.75rem}.global-tenants-table-card{padding:0;overflow:hidden}.global-tenants-page .table-wrapper{border:0;border-radius:0}.global-tenants-page .data-table td{vertical-align:middle}.global-tenants-page .table-link{appearance:none;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;flex-direction:column;gap:.25rem;padding:0;display:flex}.global-tenants-page .table-link strong{color:var(--mp-text);font-weight:800}.global-tenants-page .table-link small{color:var(--mp-muted);text-overflow:ellipsis;white-space:nowrap;max-width:22rem;font-size:.76rem;overflow:hidden}.global-tenants-page .table-link:hover strong{color:var(--mp-primary)}.global-tenants-page .table-cell-stack{flex-direction:column;gap:.25rem;display:flex}.global-tenants-page .table-cell-stack span{color:var(--mp-muted);font-size:.78rem}.global-tenants-page .table-footer{background:var(--mp-surface);border-top:1px solid var(--mp-border);justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.global-tenants-page .table-footer>span{color:var(--mp-muted);font-weight:700}.global-tenants-page .table-footer .table-actions{gap:.5rem;display:flex}@media (width<=900px){.global-tenants-page .list-filters{grid-template-columns:1fr}.global-tenants-page .table-footer{flex-direction:column;align-items:stretch}}.form-section{border:1px solid var(--mp-border);border-radius:16px;gap:1rem;padding:1rem;display:grid}.form-section>div:first-child{gap:.25rem;display:grid}.form-section>div:first-child p{color:var(--mp-muted);margin:0}.global-default-messages-page .messages-settings-layout{align-items:start}.global-default-messages-page .message-template-textarea,.global-default-messages-page .message-preview{min-height:420px}.global-tenant-users-page .header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.permission-check{border:1px solid var(--mp-border);border-radius:14px;align-items:flex-start;gap:.7rem;padding:.8rem;display:flex}.permission-check span{gap:.15rem;display:grid}.permission-check small{color:var(--mp-muted)}.global-tenant-users-page{gap:1.35rem}.global-tenant-users-page .list-filters{grid-template-columns:minmax(280px,1fr) minmax(150px,220px) auto;align-items:end;gap:1rem;display:grid}.global-tenant-users-page .list-filters label{flex-direction:column;gap:.45rem;display:flex}.global-tenant-users-page .list-filters label span{color:var(--mp-text);font-size:.82rem;font-weight:800}.global-tenant-users-page .list-filters input,.global-tenant-users-page .list-filters select{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem}.global-tenant-users-page .list-filters input:focus,.global-tenant-users-page .list-filters select:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e1f}.global-tenant-users-page .list-filters .button{white-space:nowrap;min-height:2.75rem}.global-tenant-users-page .table-link{appearance:none;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;flex-direction:column;gap:.25rem;padding:0;display:flex}.global-tenant-users-page .table-link strong{color:var(--mp-text);font-weight:800}.global-tenant-users-page .table-link small{color:var(--mp-muted);text-overflow:ellipsis;white-space:nowrap;max-width:22rem;font-size:.76rem;overflow:hidden}.global-tenant-users-page .table-link:hover strong{color:var(--mp-primary)}.global-tenant-users-page .table-cell-stack{flex-direction:column;gap:.25rem;display:flex}.global-tenant-users-page .table-cell-stack span{color:var(--mp-muted);font-size:.78rem}.global-tenant-users-page .table-footer{background:var(--mp-surface);border-top:1px solid var(--mp-border);justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.global-tenant-users-page .table-footer>span{color:var(--mp-muted);font-weight:700}.global-tenant-users-page .table-footer .table-actions{gap:.5rem;display:flex}@media (width<=900px){.global-tenant-users-page .list-filters{grid-template-columns:1fr}.global-tenant-users-page .table-footer{flex-direction:column;align-items:stretch}}.global-audit-page{gap:1.35rem}.global-audit-filter-card{padding:1rem}.global-audit-filters{grid-template-columns:minmax(180px,260px) minmax(240px,1fr) minmax(160px,220px) minmax(140px,180px);align-items:end;gap:1rem;display:grid}.global-audit-filters label{flex-direction:column;gap:.45rem;display:flex}.global-audit-filters label span{color:var(--mp-text);font-size:.82rem;font-weight:800}.global-audit-filters input,.global-audit-filters select{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem}.global-audit-filters input:focus,.global-audit-filters select:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e1f}.global-audit-filter-actions{gap:.5rem;display:flex}.global-audit-filter-actions .button{white-space:nowrap;min-height:2.75rem}.global-audit-detail{gap:1rem;display:grid}@media (width<=1280px){.global-audit-filters{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=760px){.global-audit-filters{grid-template-columns:1fr}.global-audit-filter-actions{flex-direction:column}}.global-metrics-page{gap:1.35rem}.global-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.metric-card{background:var(--mp-surface);border:1px solid var(--mp-border);box-shadow:var(--mp-shadow);border-radius:18px;align-items:flex-start;gap:.85rem;padding:1rem;display:flex}.metric-card svg{color:var(--mp-primary);flex:none}.metric-card div{gap:.2rem;display:grid}.metric-card span{color:var(--mp-muted);font-size:.82rem;font-weight:800}.metric-card strong{color:var(--mp-text);font-size:1.35rem;line-height:1.1}.metric-card small{color:var(--mp-muted);font-weight:600}.global-metrics-section-title{padding:1rem}.global-settings-page{gap:1.35rem}.global-settings-page .header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.global-settings-card{background:var(--mp-surface);border:1px solid var(--mp-border);box-shadow:var(--mp-shadow);border-radius:18px;gap:1.1rem;padding:1.25rem;display:grid}.global-settings-page .section-title-row{border-bottom:1px solid var(--mp-border);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1rem;display:flex}.global-settings-page .section-title-row h2{margin:.15rem 0 .25rem}.global-settings-page .section-title-row p{color:var(--mp-muted);margin:0}.global-settings-page .form-grid{align-items:start;gap:1rem;display:grid}.global-settings-page .form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.global-settings-page label{color:var(--mp-text);flex-direction:column;gap:.45rem;font-size:.86rem;font-weight:800;display:flex}.global-settings-page input,.global-settings-page textarea{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem;font-weight:500}.global-settings-page textarea{resize:vertical;min-height:7rem;padding:.8rem .9rem}.global-settings-page input:focus,.global-settings-page textarea:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e1f}.settings-toggle-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;display:grid}.settings-toggle{border:1px solid var(--mp-border);background:#0f172a05;border-radius:16px;align-items:flex-start;gap:.75rem;padding:1rem;flex-direction:row!important;display:flex!important}.settings-toggle input{flex:none;width:auto;min-height:auto}.settings-toggle span{gap:.2rem;display:grid}.settings-toggle strong{color:var(--mp-text)}.settings-toggle small{color:var(--mp-muted);font-weight:500;line-height:1.45}@media (width<=860px){.global-settings-page .form-grid.two-columns{grid-template-columns:1fr}.global-settings-page .page-header{flex-direction:column;align-items:stretch}.global-settings-page .header-actions{justify-content:flex-start}}.brand-mark-image{background:0 0;padding:0;overflow:hidden}.brand-mark-image img{width:44px;height:44px;display:block}.login-brand-image{overflow:hidden;background:0 0!important;padding:0!important}.login-brand-image img{object-fit:contain;width:100%;height:100%;display:block}.login-hero-logo.login-brand-image,.login-logo.login-brand-image{justify-content:center;align-items:center;display:grid}.login-hero-logo.login-brand-image img,.login-logo.login-brand-image img{width:44px;height:44px}.global-holidays-page{gap:1.35rem}.global-holidays-page .header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.global-holidays-filter-card{padding:1rem}.global-holidays-filters{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(120px,170px));align-items:end;gap:1rem;display:grid}.global-holidays-filters label{flex-direction:column;gap:.45rem;display:flex}.global-holidays-filters label span{color:var(--mp-text);font-size:.82rem;font-weight:800}.global-holidays-filters input,.global-holidays-filters select{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem}.global-holidays-filters input:focus,.global-holidays-filters select:focus{border-color:var(--mp-primary);box-shadow:0 0 0 3px #0f766e1f}.global-holidays-filter-actions{gap:.5rem;display:flex}.global-holidays-filter-actions .button{white-space:nowrap;min-height:2.75rem}.global-holiday-form textarea{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;resize:vertical;border-radius:12px;outline:none;width:100%;padding:.8rem .9rem}@media (width<=1280px){.global-holidays-filters{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=760px){.global-holidays-filters{grid-template-columns:1fr}.global-holidays-filter-actions{flex-direction:column}}.app-shell{transition:grid-template-columns .18s}.app-shell-collapsed{grid-template-columns:88px 1fr}.sidebar{transition:padding .18s,width .18s}.sidebar-brand-text{min-width:0;transition:opacity .14s,transform .14s}.sidebar-collapse-button{color:#cbd5e1;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:12px;justify-content:center;align-items:center;gap:.6rem;width:100%;min-height:40px;margin-top:1rem;padding:0 .75rem;display:flex}.sidebar-collapse-button:hover{background:var(--mp-sidebar-hover);color:#fff}.sidebar-collapse-button span,.sidebar-nav a{transition:gap .14s}.app-shell-collapsed .sidebar{padding:22px 14px}.app-shell-collapsed .sidebar-brand{justify-content:center;padding-bottom:16px}.app-shell-collapsed .sidebar-brand-text,.app-shell-collapsed .sidebar-collapse-button span,.app-shell-collapsed .sidebar-nav a:not(.sidebar-subitem){font-size:0}.app-shell-collapsed .sidebar-brand-text{opacity:0;visibility:hidden;position:absolute;transform:translate(-8px)}.app-shell-collapsed .sidebar-collapse-button{padding:0}.app-shell-collapsed .sidebar-nav a{justify-content:center;gap:0;padding:0}.app-shell-collapsed .sidebar-nav a svg{flex:none}.app-shell-collapsed .sidebar-section-title{display:none}.app-shell-collapsed .sidebar-nav a.sidebar-subitem{justify-content:center;padding-left:0}.app-shell-collapsed .sidebar-nav a.sidebar-subitem span,.app-shell-collapsed .sidebar-nav a.sidebar-subitem strong{display:none}@media (width<=900px){.app-shell-collapsed{grid-template-columns:1fr}}.sidebar-nav{flex:none!important}.sidebar-collapse-button{margin-top:auto!important}.app-shell-collapsed .sidebar-collapse-button{margin-top:auto!important}.sidebar{flex-direction:column!important;display:flex!important}.sidebar-brand{flex:none!important}.sidebar-nav{flex:none!important;margin-top:24px!important}.sidebar-collapse-button{flex:none!important;margin-top:auto!important}.sidebar-nav a{flex:none!important}.sidebar-collapse-button{position:relative}.sidebar-collapse-button:before{content:"";background:#ffffff1f;height:1px;display:block;position:absolute;top:-18px;left:0;right:0}.app-shell-collapsed .sidebar-collapse-button:before{left:0;right:0}.sidebar{box-sizing:border-box!important;height:100vh!important;min-height:100vh!important;position:sticky!important;top:0!important;overflow:hidden!important}.sidebar-nav{padding-bottom:1rem;overflow-y:auto!important}.sidebar-collapse-button{z-index:2;bottom:0;margin-top:auto!important;position:sticky!important}.sidebar-collapse-button:before{top:-16px!important}@media print{.sidebar,.global-admin-sidebar,.topbar,.print-hide,.report-filter-card,.sidebar-collapse-button{visibility:hidden!important;display:none!important}.app-shell,.app-shell-collapsed,.global-admin-shell{grid-template-columns:none!important;width:100%!important;min-height:auto!important;display:block!important}.main-area,.global-admin-main,.content,.page-stack{background:#fff!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}body{background:#fff!important}}.company-logo-panel{gap:1rem;display:grid}.company-logo-card{border:1px solid var(--mp-border);border-radius:18px;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:1rem;padding:1rem;display:grid}.company-logo-preview{border:1px dashed var(--mp-border);background:#f8fafc;border-radius:16px;justify-content:center;align-items:center;height:120px;display:flex;overflow:hidden}.company-logo-preview img{object-fit:contain;max-width:100%;max-height:100%;display:block}.company-logo-placeholder{color:var(--mp-muted);text-align:center;place-items:center;gap:.4rem;display:grid}.company-logo-placeholder span{font-size:.85rem;font-weight:700}.company-logo-info{gap:.35rem;display:grid}.company-logo-info span{color:var(--mp-muted);font-size:.88rem}.company-logo-actions{flex-wrap:wrap;gap:.75rem;margin-top:.65rem;display:flex}.company-logo-actions .button{cursor:pointer}.button-danger-text{color:#b91c1c}@media (width<=720px){.company-logo-card{grid-template-columns:1fr}}.report-brand-header{align-items:center}.report-brand-title{align-items:center;gap:1rem;min-width:0;display:flex}.report-company-logo{border:1px solid var(--mp-border);object-fit:contain;background:#fff;border-radius:14px;flex:none;max-width:132px;max-height:64px;padding:.35rem;display:block}.report-company-name{color:var(--mp-muted);margin-top:.35rem;font-size:.85rem;font-weight:700;display:block}@media print{.report-brand-header{border-bottom:1px solid #e5e7eb!important;align-items:flex-start!important;gap:1rem!important;margin-bottom:.75rem!important;padding-bottom:.65rem!important;display:flex!important}.report-brand-title{align-items:center!important;gap:.75rem!important;display:flex!important}.report-company-logo{border:1px solid #e5e7eb!important;max-width:110px!important;max-height:48px!important;padding:.25rem!important}.report-company-name{color:#475569!important;margin-top:.15rem!important;font-size:9pt!important}}@media (width<=720px){.report-brand-title{flex-direction:column;align-items:flex-start}}.print-only{display:none!important}.report-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.report-brand-title{min-width:0;display:block}.report-filter-card,.payment-report-page .card,.loan-report-page .card,.client-report-page .card,.responsible-report-page .card,.report-summary-grid .summary-card,.report-loan-summary-grid .summary-card,.report-client-summary-grid .summary-card,.payment-report-page .report-summary-card,.loan-report-page .summary-card,.client-report-page .summary-card,.responsible-report-page .summary-card{background:var(--mp-surface)!important;border:1px solid var(--mp-border)!important;box-shadow:var(--mp-shadow)!important;border-radius:18px!important}.report-filters-grid input,.report-filters-grid select,.client-report-filters-grid input,.client-report-filters-grid select,.responsible-report-filters-grid input,.responsible-report-filters-grid select{background:var(--mp-surface)!important;border:1px solid var(--mp-border)!important;color:var(--mp-text)!important;border-radius:12px!important}@media print{.print-only{display:block!important}.report-brand-header{border-bottom:1px solid #e5e7eb!important;align-items:flex-start!important;gap:1rem!important;margin-bottom:.75rem!important;padding-bottom:.65rem!important;display:flex!important}.report-brand-title{align-items:center!important;gap:.75rem!important;display:flex!important}.report-company-logo{object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:10px!important;max-width:110px!important;max-height:48px!important;padding:.25rem!important}.report-filter-card{display:none!important}}.screen-only{display:inline}.report-print-company-name{display:none}@media print{.screen-only{display:none!important}.report-brand-header{border-bottom:1px solid #e5e7eb!important;justify-content:flex-start!important;align-items:flex-start!important;margin-bottom:.75rem!important;padding-bottom:.65rem!important;display:flex!important}.report-brand-title{align-items:center!important;gap:.85rem!important;width:100%!important;display:flex!important}.report-brand-text{gap:.12rem!important;min-width:0!important;display:grid!important}.report-company-logo.print-only{object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:8px!important;flex:none!important;width:120px!important;max-width:120px!important;height:54px!important;max-height:54px!important;padding:.2rem!important;display:block!important}.report-print-company-name{color:#020617!important;font-size:14pt!important;font-weight:800!important;line-height:1.15!important;display:block!important}.report-brand-text h1{color:#020617!important;margin:0!important;font-size:11pt!important;font-weight:800!important;line-height:1.15!important}.report-brand-text p{color:#475569!important;margin:0!important;font-size:9pt!important;line-height:1.25!important}.report-brand-title:not(:has(.report-company-logo)) .report-brand-text{display:grid!important}.report-brand-header{border-bottom:1px solid #e5e7eb!important;align-items:flex-start!important;width:100%!important;margin:0 0 .75rem!important;padding:0 0 .65rem!important;display:block!important}.report-brand-title{justify-content:flex-start!important;align-items:center!important;gap:.9rem!important;width:100%!important;margin:0!important;padding:0!important;display:flex!important}.report-company-logo.print-only{object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:8px!important;flex:0 0 120px!important;width:120px!important;max-width:120px!important;height:54px!important;max-height:54px!important;margin:0!important;padding:.2rem!important;display:block!important;position:static!important;transform:none!important}.report-brand-text{text-align:left!important;gap:.08rem!important;margin:0!important;padding:0!important;display:grid!important}.report-print-company-name{color:#020617!important;text-align:left!important;margin:0!important;font-size:14pt!important;font-weight:800!important;line-height:1.15!important;display:block!important}.report-brand-text h1{color:#020617!important;text-align:left!important;margin:0!important;font-size:11pt!important;font-weight:500!important;line-height:1.15!important}.report-brand-text p{color:#475569!important;text-align:left!important;margin:0!important;font-size:8.5pt!important;line-height:1.2!important}.report-brand-title:not(:has(.report-company-logo)){display:block!important}}.tenant-report-print-header{display:none!important}@media print{.report-screen-header{display:none!important}.tenant-report-print-header{border-bottom:1px solid #e5e7eb!important;justify-content:flex-start!important;align-items:center!important;gap:12px!important;width:100%!important;margin:0 0 8px!important;padding:0 0 8px!important;display:flex!important}.tenant-report-print-logo{object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:8px!important;flex:0 0 112px!important;width:112px!important;max-width:112px!important;height:52px!important;max-height:52px!important;margin:0!important;padding:4px!important;display:block!important;position:static!important;transform:none!important}.tenant-report-print-text{text-align:left!important;margin:0!important;padding:0!important;display:block!important}.tenant-report-print-text strong{color:#020617!important;text-align:left!important;margin:0 0 2px!important;font-size:14pt!important;font-weight:800!important;line-height:1.12!important;display:block!important}.tenant-report-print-text h1{color:#020617!important;text-align:left!important;margin:0 0 2px!important;font-size:11pt!important;font-weight:400!important;line-height:1.12!important;display:block!important}.tenant-report-print-text p{color:#475569!important;text-align:left!important;margin:0!important;font-size:8.5pt!important;font-weight:400!important;line-height:1.2!important;display:block!important}}.global-license-plans-page{gap:1.35rem}.global-license-plans-page .header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.global-license-filter-card{padding:1rem}.global-license-filters{grid-template-columns:minmax(260px,1fr) minmax(150px,220px) auto;align-items:end;gap:1rem;display:grid}.global-license-filters label{flex-direction:column;gap:.45rem;display:flex}.global-license-filters label span{color:var(--mp-text);font-size:.82rem;font-weight:800}.global-license-filters input,.global-license-filters select,.global-license-form input,.global-license-form textarea{background:var(--mp-surface);border:1px solid var(--mp-border);color:var(--mp-text);font:inherit;border-radius:12px;outline:none;width:100%;min-height:2.75rem;padding:0 .9rem}.global-license-form textarea{resize:vertical;min-height:6rem;padding:.8rem .9rem}.global-license-filter-actions{gap:.5rem;display:flex}.global-license-filter-actions .button{white-space:nowrap;min-height:2.75rem}.compact-button{white-space:nowrap;min-height:2.1rem;padding:0 .65rem}@media (width<=760px){.global-license-filters{grid-template-columns:1fr}.global-license-filter-actions{flex-direction:column}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--mp-primary:#2dd4bf;--mp-primary-hover:#14b8a6;--mp-background:#020617;--mp-surface:#0f172a;--mp-border:#1e293b;--mp-text:#e5e7eb;--mp-muted:#94a3b8;--mp-sidebar:#020617;--mp-sidebar-hover:#111827;--mp-shadow:0 18px 45px #00000059}.topbar-actions{align-items:center;gap:.75rem;display:flex}.theme-toggle-button{white-space:nowrap}:root[data-theme=dark] body{background:var(--mp-background);color:var(--mp-text)}:root[data-theme=dark] .topbar,:root[data-theme=dark] .content-card,:root[data-theme=dark] .card,:root[data-theme=dark] .panel,:root[data-theme=dark] .modal-content,:root[data-theme=dark] .login-card,:root[data-theme=dark] .reports-hub-card,:root[data-theme=dark] .summary-card,:root[data-theme=dark] .report-summary-card,:root[data-theme=dark] .settings-toggle,:root[data-theme=dark] .company-logo-card{box-shadow:var(--mp-shadow);background:var(--mp-surface)!important;border-color:var(--mp-border)!important;color:var(--mp-text)!important}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .select-input{color:var(--mp-text)!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#64748b!important}:root[data-theme=dark] .button-ghost{color:var(--mp-text)}:root[data-theme=dark] .button-ghost:hover{background:#94a3b824!important}:root[data-theme=dark] .button-secondary{color:var(--mp-text)!important;background:#1e293b!important;border-color:#334155!important}:root[data-theme=dark] .table-wrapper,:root[data-theme=dark] .data-table,:root[data-theme=dark] .report-table{background:var(--mp-surface)!important;color:var(--mp-text)!important}:root[data-theme=dark] .data-table th,:root[data-theme=dark] .report-table th{border-color:var(--mp-border)!important;color:#cbd5e1!important;background:#020617!important}:root[data-theme=dark] .data-table td,:root[data-theme=dark] .report-table td{border-color:var(--mp-border)!important;color:var(--mp-text)!important}:root[data-theme=dark] .data-table tr:hover,:root[data-theme=dark] .report-table tr:hover{background:#94a3b814!important}:root[data-theme=dark] .muted-text,:root[data-theme=dark] .section-title p,:root[data-theme=dark] .page-header p,:root[data-theme=dark] .table-cell-stack span,:root[data-theme=dark] .topbar span,:root[data-theme=dark] small{color:var(--mp-muted)!important}:root[data-theme=dark] .eyebrow,:root[data-theme=dark] .back-link,:root[data-theme=dark] .table-link{color:var(--mp-primary)!important}:root[data-theme=dark] .login-page{background:radial-gradient(circle at 0 0,#2dd4bf29,#0000 30rem),linear-gradient(135deg,#020617,#0f172a)!important}:root[data-theme=dark] .login-hero,:root[data-theme=dark] .login-hero-content,:root[data-theme=dark] .login-security-note{color:var(--mp-text)!important}:root[data-theme=dark] .company-logo-preview,:root[data-theme=dark] .company-logo-placeholder{color:var(--mp-muted)!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .badge-muted{color:#cbd5e1!important;background:#334155!important}:root[data-theme=dark] .badge-success{color:#86efac!important;background:#16a34a2e!important}:root[data-theme=dark] .badge-info{color:#93c5fd!important;background:#3b82f62e!important}:root[data-theme=dark] .alert-error{color:#fecaca!important;background:#dc262629!important}@media print{:root,:root[data-theme=dark]{--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important;--mp-background:#fff!important;--mp-surface:#fff!important;--mp-border:#e5e7eb!important;--mp-text:#020617!important;--mp-muted:#475569!important}:root[data-theme=dark] body,:root[data-theme=dark] .content,:root[data-theme=dark] .card,:root[data-theme=dark] .panel,:root[data-theme=dark] .content-card{color:#020617!important;box-shadow:none!important;background:#fff!important}}:root[data-theme=dark] .icon-button{color:#cbd5e1!important;background:#1e293b!important;border-color:#334155!important}:root[data-theme=dark] .icon-button:hover:not(:disabled){color:#fff!important;background:#334155!important}:root[data-theme=dark] .icon-button:disabled,:root[data-theme=dark] .button:disabled{cursor:not-allowed;color:#64748b!important;opacity:1!important;background:#111827!important;border-color:#1f2937!important}:root[data-theme=dark] .icon-button-danger{color:#fca5a5!important}:root[data-theme=dark] .icon-button-danger:hover:not(:disabled){color:#fecaca!important;background:#dc262629!important;border-color:#f8717159!important}:root[data-theme=dark] .table-actions .button,:root[data-theme=dark] .table-footer .button{color:#e5e7eb!important;background:#1e293b!important;border-color:#334155!important}:root[data-theme=dark] .table-actions .button:disabled,:root[data-theme=dark] .table-footer .button:disabled{color:#64748b!important;background:#111827!important;border-color:#1f2937!important}:root[data-theme=dark] .dashboard-loan-card,:root[data-theme=dark] .loan-card,:root[data-theme=dark] .charge-card{color:#e5e7eb!important;background:#0f172a!important;border-color:#334155!important;box-shadow:0 18px 45px #00000052!important}:root[data-theme=dark] .dashboard-loan-card *,:root[data-theme=dark] .loan-card *,:root[data-theme=dark] .charge-card *{color:inherit}:root[data-theme=dark] .dashboard-loan-card h2,:root[data-theme=dark] .dashboard-loan-card h3,:root[data-theme=dark] .loan-card h2,:root[data-theme=dark] .loan-card h3,:root[data-theme=dark] .charge-card h2,:root[data-theme=dark] .charge-card h3{color:#f8fafc!important}:root[data-theme=dark] .dashboard-loan-card p,:root[data-theme=dark] .dashboard-loan-card span,:root[data-theme=dark] .dashboard-loan-card small,:root[data-theme=dark] .loan-card p,:root[data-theme=dark] .loan-card span,:root[data-theme=dark] .loan-card small,:root[data-theme=dark] .charge-card p,:root[data-theme=dark] .charge-card span,:root[data-theme=dark] .charge-card small{color:#cbd5e1!important}:root[data-theme=dark] .loan-balance,:root[data-theme=dark] .loan-amount,:root[data-theme=dark] .dashboard-loan-card strong,:root[data-theme=dark] .charge-card strong{color:#f8fafc!important}:root[data-theme=dark] .loan-stat,:root[data-theme=dark] .loan-metric,:root[data-theme=dark] .dashboard-loan-card .metric-card,:root[data-theme=dark] .charge-card .metric-card{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .loan-profit,:root[data-theme=dark] .profit-card,:root[data-theme=dark] .dashboard-loan-card .highlight-card,:root[data-theme=dark] .charge-card .highlight-card{color:#ccfbf1!important;background:#2dd4bf1f!important;border-color:#2dd4bf52!important}:root[data-theme=dark] .loan-avatar,:root[data-theme=dark] .client-avatar{color:#99f6e4!important;background:#2dd4bf2e!important}:root[data-theme=dark] .dashboard-loan-card .button-primary,:root[data-theme=dark] .charge-card .button-primary{color:#042f2e!important;background:#2dd4bf!important}:root[data-theme=dark] .dashboard-loan-card .button-secondary,:root[data-theme=dark] .charge-card .button-secondary{color:#f8fafc!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-dashboard-panel{background:#0f172a!important;border-color:#1e293b!important}:root[data-theme=dark] .collection-dashboard-panel h2{color:#f8fafc!important}:root[data-theme=dark] .collection-dashboard-panel p{color:#cbd5e1!important}:root[data-theme=dark] .collection-card,:root[data-theme=dark] .collection-dashboard-card,:root[data-theme=dark] .collection-loan-card{color:#e5e7eb!important;background:linear-gradient(#111827 0%,#0f172a 100%)!important;border-color:#334155!important;box-shadow:0 18px 42px #00000057!important}:root[data-theme=dark] .collection-card h3,:root[data-theme=dark] .collection-dashboard-card h3,:root[data-theme=dark] .collection-loan-card h3{color:#f8fafc!important}:root[data-theme=dark] .collection-card p,:root[data-theme=dark] .collection-card span,:root[data-theme=dark] .collection-card small,:root[data-theme=dark] .collection-dashboard-card p,:root[data-theme=dark] .collection-dashboard-card span,:root[data-theme=dark] .collection-dashboard-card small,:root[data-theme=dark] .collection-loan-card p,:root[data-theme=dark] .collection-loan-card span,:root[data-theme=dark] .collection-loan-card small{color:#cbd5e1!important}:root[data-theme=dark] .collection-card strong,:root[data-theme=dark] .collection-dashboard-card strong,:root[data-theme=dark] .collection-loan-card strong{color:#f8fafc!important}:root[data-theme=dark] .collection-card .collection-balance,:root[data-theme=dark] .collection-dashboard-card .collection-balance,:root[data-theme=dark] .collection-loan-card .collection-balance,:root[data-theme=dark] .collection-card .collection-amount,:root[data-theme=dark] .collection-dashboard-card .collection-amount,:root[data-theme=dark] .collection-loan-card .collection-amount{color:#fff!important}:root[data-theme=dark] .collection-metric,:root[data-theme=dark] .collection-stat,:root[data-theme=dark] .collection-info-box{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-profit,:root[data-theme=dark] .collection-highlight,:root[data-theme=dark] .collection-profit-box{color:#ccfbf1!important;background:#2dd4bf1f!important;border-color:#2dd4bf52!important}:root[data-theme=dark] .collection-avatar,:root[data-theme=dark] .collection-client-avatar{color:#99f6e4!important;background:#2dd4bf2e!important}:root[data-theme=dark] .collection-actions .button-primary,:root[data-theme=dark] .collection-card .button-primary,:root[data-theme=dark] .collection-dashboard-card .button-primary,:root[data-theme=dark] .collection-loan-card .button-primary{color:#042f2e!important;background:#2dd4bf!important}:root[data-theme=dark] .collection-actions .button-secondary,:root[data-theme=dark] .collection-card .button-secondary,:root[data-theme=dark] .collection-dashboard-card .button-secondary,:root[data-theme=dark] .collection-loan-card .button-secondary{color:#f8fafc!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-status,:root[data-theme=dark] .collection-status-partial{color:#fcd34d!important;background:#f59e0b2e!important}:root[data-theme=dark] .collection-status-open{color:#86efac!important;background:#16a34a2e!important}:root[data-theme=dark] .collection-card [class*=metric],:root[data-theme=dark] .collection-card [class*=stat],:root[data-theme=dark] .collection-card [class*=summary],:root[data-theme=dark] .collection-dashboard-card [class*=metric],:root[data-theme=dark] .collection-dashboard-card [class*=stat],:root[data-theme=dark] .collection-dashboard-card [class*=summary],:root[data-theme=dark] .collection-loan-card [class*=metric],:root[data-theme=dark] .collection-loan-card [class*=stat],:root[data-theme=dark] .collection-loan-card [class*=summary]{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-card [class*=metric] *,:root[data-theme=dark] .collection-card [class*=stat] *,:root[data-theme=dark] .collection-card [class*=summary] *,:root[data-theme=dark] .collection-dashboard-card [class*=metric] *,:root[data-theme=dark] .collection-dashboard-card [class*=stat] *,:root[data-theme=dark] .collection-dashboard-card [class*=summary] *,:root[data-theme=dark] .collection-loan-card [class*=metric] *,:root[data-theme=dark] .collection-loan-card [class*=stat] *,:root[data-theme=dark] .collection-loan-card [class*=summary] *{color:#e5e7eb!important}:root[data-theme=dark] .collection-card [class*=metric] span,:root[data-theme=dark] .collection-card [class*=stat] span,:root[data-theme=dark] .collection-card [class*=summary] span,:root[data-theme=dark] .collection-dashboard-card [class*=metric] span,:root[data-theme=dark] .collection-dashboard-card [class*=stat] span,:root[data-theme=dark] .collection-dashboard-card [class*=summary] span,:root[data-theme=dark] .collection-loan-card [class*=metric] span,:root[data-theme=dark] .collection-loan-card [class*=stat] span,:root[data-theme=dark] .collection-loan-card [class*=summary] span{color:#94a3b8!important}:root[data-theme=dark] .collection-card [class*=metric] strong,:root[data-theme=dark] .collection-card [class*=stat] strong,:root[data-theme=dark] .collection-card [class*=summary] strong,:root[data-theme=dark] .collection-dashboard-card [class*=metric] strong,:root[data-theme=dark] .collection-dashboard-card [class*=stat] strong,:root[data-theme=dark] .collection-dashboard-card [class*=summary] strong,:root[data-theme=dark] .collection-loan-card [class*=metric] strong,:root[data-theme=dark] .collection-loan-card [class*=stat] strong,:root[data-theme=dark] .collection-loan-card [class*=summary] strong{color:#f8fafc!important}:root[data-theme=dark] .collection-metrics-grid>div,:root[data-theme=dark] .collection-next-row>div{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-profit-grid{background:#2dd4bf1a!important;border-color:#2dd4bf47!important}:root[data-theme=dark] .collection-profit-grid>div{color:#ccfbf1!important;background:0 0!important;border-color:#0000!important}:root[data-theme=dark] .collection-metrics-grid>div span,:root[data-theme=dark] .collection-next-row>div span,:root[data-theme=dark] .collection-profit-grid>div span{color:#94a3b8!important}:root[data-theme=dark] .collection-metrics-grid>div strong,:root[data-theme=dark] .collection-next-row>div strong,:root[data-theme=dark] .collection-profit-grid>div strong{color:#f8fafc!important}:root[data-theme=dark] .empty-state{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .empty-state h2,:root[data-theme=dark] .empty-state h3,:root[data-theme=dark] .empty-state strong{color:#f8fafc!important}:root[data-theme=dark] .empty-state p,:root[data-theme=dark] .empty-state span{color:#94a3b8!important}:root[data-theme=dark] .segmented-filter{background:0 0!important}:root[data-theme=dark] .segmented-filter button{color:#cbd5e1!important;background:#1e293b!important;border:1px solid #334155!important}:root[data-theme=dark] .segmented-filter button:hover:not(.active):not(:disabled){color:#fff!important;background:#334155!important}:root[data-theme=dark] .segmented-filter button.active{color:#f8fafc!important;background:0 0!important;border-color:#2dd4bf!important}:root[data-theme=dark] .segmented-filter button:disabled{color:#64748b!important;opacity:1!important;background:#111827!important;border-color:#1f2937!important}:root[data-theme=dark] .collection-dashboard-panel .empty-state,:root[data-theme=dark] .collection-dashboard-panel [class*=empty]{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .collection-dashboard-panel .empty-state *,:root[data-theme=dark] .collection-dashboard-panel [class*=empty] *{color:#94a3b8!important}:root[data-theme=dark] .collection-dashboard-panel .empty-state h2,:root[data-theme=dark] .collection-dashboard-panel .empty-state h3,:root[data-theme=dark] .collection-dashboard-panel [class*=empty] h2,:root[data-theme=dark] .collection-dashboard-panel [class*=empty] h3{color:#f8fafc!important}:root[data-theme=dark] .collection-dashboard-panel>div:not(.section-header-row):not(.collection-card-grid){color:#94a3b8!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .empty-state,:root[data-theme=dark] [class*=empty-state],:root[data-theme=dark] [class*=EmptyState],:root[data-theme=dark] .card .empty-state,:root[data-theme=dark] .panel .empty-state,:root[data-theme=dark] .content-card .empty-state{color:#e5e7eb!important;box-shadow:none!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .empty-state *,:root[data-theme=dark] [class*=empty-state] *,:root[data-theme=dark] [class*=EmptyState] *{color:#94a3b8!important}:root[data-theme=dark] .empty-state h1,:root[data-theme=dark] .empty-state h2,:root[data-theme=dark] .empty-state h3,:root[data-theme=dark] .empty-state strong,:root[data-theme=dark] [class*=empty-state] h1,:root[data-theme=dark] [class*=empty-state] h2,:root[data-theme=dark] [class*=empty-state] h3,:root[data-theme=dark] [class*=empty-state] strong{color:#f8fafc!important}:root[data-theme=dark] .empty-state p,:root[data-theme=dark] .empty-state span,:root[data-theme=dark] [class*=empty-state] p,:root[data-theme=dark] [class*=empty-state] span{color:#94a3b8!important}:root[data-theme=dark] .content-card>.empty-state,:root[data-theme=dark] .panel>.empty-state,:root[data-theme=dark] .card>.empty-state{background:#020617!important;border:1px dashed #334155!important}:root[data-theme=dark] .content-card [style*=dashed],:root[data-theme=dark] .panel [style*=dashed],:root[data-theme=dark] .card [style*=dashed]{color:#94a3b8!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .empty-state,:root[data-theme=dark] .empty-state-card,:root[data-theme=dark] .empty-card,:root[data-theme=dark] .empty-content,:root[data-theme=dark] .empty-placeholder,:root[data-theme=dark] .empty-state-container{color:#e5e7eb!important;box-shadow:none!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .empty-state *,:root[data-theme=dark] .empty-state-card *,:root[data-theme=dark] .empty-card *,:root[data-theme=dark] .empty-content *,:root[data-theme=dark] .empty-placeholder *,:root[data-theme=dark] .empty-state-container *{color:#94a3b8!important}:root[data-theme=dark] .empty-state h1,:root[data-theme=dark] .empty-state h2,:root[data-theme=dark] .empty-state h3,:root[data-theme=dark] .empty-state strong,:root[data-theme=dark] .empty-state-card h1,:root[data-theme=dark] .empty-state-card h2,:root[data-theme=dark] .empty-state-card h3,:root[data-theme=dark] .empty-state-card strong,:root[data-theme=dark] .empty-card h1,:root[data-theme=dark] .empty-card h2,:root[data-theme=dark] .empty-card h3,:root[data-theme=dark] .empty-card strong{color:#f8fafc!important}:root[data-theme=dark] .content-card>div:only-child,:root[data-theme=dark] .panel>div:only-child,:root[data-theme=dark] .card>div:only-child{background-color:#020617;border-color:#334155}:root[data-theme=dark] .clients-page .empty-state,:root[data-theme=dark] .clients-page .empty-state-card,:root[data-theme=dark] .clients-page .empty-card,:root[data-theme=dark] .global-holidays-page .empty-state,:root[data-theme=dark] .global-holidays-page .empty-state-card,:root[data-theme=dark] .global-holidays-page .empty-card{color:#e5e7eb!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .state-box{color:#e5e7eb!important;box-shadow:none!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .state-box strong{color:#f8fafc!important}:root[data-theme=dark] .state-box span{color:#94a3b8!important}:root[data-theme=dark] .modal-card{background:var(--mp-surface)!important;border-color:var(--mp-border)!important;color:var(--mp-text)!important}:root[data-theme=dark] .permissions-editor,:root[data-theme=dark] .password-box{color:var(--mp-text)!important;box-shadow:none!important;background:#0f172a!important;border-color:#334155!important}:root[data-theme=dark] .permissions-editor .section-title h2,:root[data-theme=dark] .permissions-editor .section-title h3,:root[data-theme=dark] .password-box .section-title h2,:root[data-theme=dark] .password-box .section-title h3{color:#f8fafc!important}:root[data-theme=dark] .permissions-editor .section-title p,:root[data-theme=dark] .password-box .section-title p,:root[data-theme=dark] .group-check-list small{color:#94a3b8!important}:root[data-theme=dark] .permissions-editor .checkbox-row,:root[data-theme=dark] .password-box .checkbox-row{color:#e5e7eb!important}:root[data-theme=dark] .permissions-editor strong,:root[data-theme=dark] .password-box strong{color:#f8fafc!important}:root[data-theme=dark] .password-box .inline-form{background:0 0!important}:root[data-theme=dark] .password-box .button-ghost:disabled{opacity:.75;color:#64748b!important}:root[data-theme=dark] .loan-total-box,:root[data-theme=dark] .loan-detail-status,:root[data-theme=dark] .loan-installments-box,:root[data-theme=dark] .installment-summary-grid div,:root[data-theme=dark] .payment-loan-summary div{color:var(--mp-text)!important;box-shadow:none!important;background:#0f172a!important;border-color:#334155!important}:root[data-theme=dark] .loan-total-box span,:root[data-theme=dark] .loan-detail-status span,:root[data-theme=dark] .loan-installments-header span,:root[data-theme=dark] .installment-summary-grid span,:root[data-theme=dark] .payment-loan-summary span{color:#94a3b8!important}:root[data-theme=dark] .loan-total-box strong,:root[data-theme=dark] .loan-detail-status strong,:root[data-theme=dark] .installment-summary-grid strong,:root[data-theme=dark] .payment-loan-summary strong{color:#2dd4bf!important}:root[data-theme=dark] .loan-total-box .installment-fields-grid,:root[data-theme=dark] .loan-installments-box .installment-fields-grid{border-color:#334155!important}:root[data-theme=dark] .installment-row,:root[data-theme=dark] .custom-installment-row{color:var(--mp-text)!important;background:#020617!important;border-color:#334155!important}:root[data-theme=dark] .installment-row span,:root[data-theme=dark] .custom-installment-row span,:root[data-theme=dark] .custom-installment-row small{color:#94a3b8!important}
