:root{color:#e5edf8;font-synthesis:none;text-rendering:optimizelegibility;background-color:#0c1422;font-family:Arial,sans-serif}:root[data-theme=light],html[data-theme=light],body[data-theme=light]{color:#202b3c;background-color:#f4f6fa}:root[data-theme=dark],html[data-theme=dark],body[data-theme=dark]{color:#e5edf8;background-color:#0c1422}html,body,#root{-webkit-text-size-adjust:100%;width:100%;max-width:100vw;min-height:100%;margin:0;padding:0;overflow-x:hidden}body{min-height:100vh}*{box-sizing:border-box}html,body{color:#202b3c;-webkit-text-size-adjust:100%;background:#0c1422;width:100%;max-width:100vw;min-height:100%;margin:0;padding:0;font-family:Arial,sans-serif;overflow-x:hidden}#root{width:100%;max-width:100vw;min-height:100%;overflow-x:hidden}button,input{font:inherit}.app{width:100%;max-width:100vw;min-height:100vh;display:flex;overflow-x:hidden}.sidebar{color:#fff;background:#172b49;flex-direction:column;flex-shrink:0;width:250px;padding:25px 15px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:40px;padding-left:10px;display:flex}.brand-icon{color:#172b49;background:#eabf36;border-radius:10px;place-items:center;width:42px;height:42px;font-size:24px;font-weight:700;display:grid}.brand h2{margin:0;font-size:20px}.brand small,.sidebar-footer small{color:#aab8cc;margin-top:5px;display:block}.menu-label{color:#9baec8;margin-bottom:15px;padding-left:12px;font-size:11px}.menu-item{color:#d1dbea;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;width:100%;margin-bottom:5px;padding:13px 12px;display:flex}.menu-item:hover,.menu-item.active{color:#fff;background:#29476e}.menu-item.active{border-left:3px solid #eabf36}.sidebar-footer{color:#d1dbea;margin-top:auto;padding:15px 10px;font-size:12px}.status-dot{background:#42c98a;border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.main{flex:1;width:100%;min-width:0;max-width:100vw;overflow-x:hidden}.topbar{background:#fff;border-bottom:1px solid #e8ebf0;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:100vw;height:75px;padding:0 35px;display:flex;overflow-x:hidden}.master-nav-pill{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:0;border-radius:20px;align-items:center;gap:6px;padding:6px 13px;font-size:.78rem;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #f59e0b4d}.master-nav-pill:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b66}.topbar-empresa-btn{color:#c4b5fd;cursor:pointer;white-space:nowrap;background:#7c3aed26;border:1px solid #7c3aed;border-radius:18px;align-items:center;gap:5px;padding:6px 12px;font-size:.78rem;font-weight:700;transition:all .15s;display:inline-flex}.topbar-empresa-btn:hover{color:#fff;background:#7c3aed47}.search{color:#8290a2;background:#f6f8fb;border:1px solid #e2e8f0;border-radius:20px;align-items:center;gap:10px;padding:6px 14px;transition:all .2s;display:flex;position:relative}.search:focus-within{background:#fff;border-color:#2874c6;box-shadow:0 0 0 3px #2874c61f}.search input{width:250px;color:inherit;background:0 0;border:0;outline:none;font-size:13px}.search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:3px;transition:all .15s;display:flex}.search-clear:hover{color:#475569;background:#e2e8f0}.global-search-popover{z-index:1000;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:440px;max-width:90vw;max-height:480px;padding:8px 0;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 12px 32px #0f172a29}.global-search-category{color:#64748b;letter-spacing:.05em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:8px 14px 4px;font-size:11px;font-weight:700;display:flex}.global-search-item{cursor:pointer;text-align:left;width:100%;font:inherit;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;transition:background .12s;display:flex}.global-search-item:hover,.global-search-item:focus{background:#f1f5f9;outline:none}.global-search-item-main{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.global-search-item-icon{color:#2563eb;background:#eff6ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.global-search-item-icon.operacion{color:#7c3aed;background:#f5f3ff}.global-search-item-icon.recibo{color:#059669;background:#ecfdf5}.global-search-item-text{flex-direction:column;flex:1;min-width:0;display:flex}.global-search-item-text strong{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.global-search-item-text small{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.global-search-item-side{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:2px;display:flex}.global-search-item-side strong{color:#1e293b;font-size:12px}.global-search-item-side small{color:#64748b;font-size:10px}.global-search-divider{background:#f1f5f9;height:1px;margin:6px 0}.global-search-empty{text-align:center;color:#64748b;flex-direction:column;align-items:center;gap:8px;padding:24px 16px;font-size:13px;display:flex}.global-search-empty strong{color:#334155}.global-search-footer{color:#94a3b8;background:#f8fafc;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:6px 14px;font-size:11px;display:flex}.user{align-items:center;gap:12px;display:flex}.user strong,.user small{font-size:13px;display:block}.user small{color:#8290a2;margin-top:4px}.avatar{color:#29476e;background:#e7edf7;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.content{padding:35px}.welcome{justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;display:flex}.welcome h1{margin:0 0 8px;font-size:26px}.welcome p,.panel p{color:#8290a2;font-size:14px}.primary-button{color:#fff;cursor:pointer;background:#1d65b5;border:0;border-radius:8px;align-items:center;gap:9px;padding:12px 16px;display:flex}.secondary-button{color:#27415d;cursor:pointer;background:#edf2f8;border:1px solid #d4deeb;border-radius:8px;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.secondary-button:hover{background:#e2ebf5;border-color:#bcd0e7}.dashboard-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;display:grid}.stat-card,.panel{background:#fff;border:1px solid #e8ebf0;border-radius:12px;padding:22px}.stat-top{color:#78879b;justify-content:space-between;gap:8px;font-size:13px;display:flex}.stat-top svg{color:#2874c6}.stat-card h2{margin:20px 0 8px;font-size:25px}.stat-card small{color:#8995a5}.bottom-grid{grid-template-columns:2fr 1fr;gap:18px;margin-top:22px;display:grid}.panel h3{margin:0 0 20px}.empty{color:#a0adbd;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:190px;display:flex}.empty strong{color:#58677a}.empty p{margin:0}.quick-link{cursor:pointer;color:#34445a;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0f4;justify-content:space-between;width:100%;padding:15px 0;display:flex}.stat-card.clickable{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.stat-card.clickable:hover{border-color:#2874c6;transform:translateY(-2px);box-shadow:0 6px 18px #2874c61f}.dashboard-panel-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.dashboard-panel-header h3{margin:0}.dashboard-view-all{color:#1d65b5;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-size:13px;font-weight:600;display:inline-flex}.dashboard-view-all:hover{text-decoration:underline}.dashboard-table{border-collapse:collapse;width:100%;font-size:13px}.dashboard-table th,.dashboard-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #edf1f7;padding:12px 10px}.dashboard-table th{color:#57697f;text-transform:uppercase;letter-spacing:.04em;background:#f4f7fb;font-size:11px;font-weight:700}.dashboard-table tr:last-child td{border-bottom:none}.dashboard-op-cell{flex-direction:column;gap:2px;display:flex}.dashboard-op-meta{color:#7f90a6;font-size:11px}.dashboard-badge{white-space:nowrap;border-radius:20px;align-items:center;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.dashboard-badge.al-dia{color:#2168b8;background:#eaf4ff}.dashboard-badge.vencida{color:#c44033;background:#feebe8}.dashboard-badge.pagada{color:#238551;background:#e9f8ef}.dashboard-btn-cobrar{color:#fff;cursor:pointer;background:#1d65b5;border:none;border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:600;transition:background .15s;display:inline-flex}.dashboard-btn-cobrar:hover{background:#144e8f}.dashboard-metrics-list{flex-direction:column;gap:10px;margin-bottom:22px;display:flex}.dashboard-metric-item{background:#f7f9fc;border:1px solid #edf1f7;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;display:flex}.dashboard-metric-item span{color:#5e7188}.dashboard-metric-item strong{color:#1e2e42;font-weight:700}.section-panel{min-height:220px}.mobile-menu{display:none}@media (width<=1000px){.stats{grid-template-columns:repeat(2,1fr)}}.sidebar-backdrop,.sidebar-close-btn,.sidebar-user-card,.sidebar-logout-btn,.mobile-topbar-title,.mobile-bottom-nav{display:none}@media (width<=768px){.sidebar-backdrop{-webkit-backdrop-filter:blur(4px);z-index:1099;background:#000000b3;animation:.2s ease-out fadeInBackdrop;display:block;position:fixed;inset:0}@keyframes fadeInBackdrop{0%{opacity:0}to{opacity:1}}.sidebar{z-index:1100!important;width:min(300px,86vw)!important;padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch!important;flex-direction:column!important;transition:left .25s cubic-bezier(.4,0,.2,1)!important;display:flex!important;position:fixed!important;top:0!important;bottom:0!important;left:-320px!important;overflow-y:auto!important;box-shadow:6px 0 28px #00000080!important}.sidebar.open{left:0!important}.sidebar .brand{justify-content:space-between!important;align-items:center!important;margin-bottom:16px!important;padding-left:4px!important;display:flex!important}.brand-text{flex:1;margin-left:10px}.sidebar-close-btn{color:#e2e8f0!important;cursor:pointer!important;background:#ffffff1a!important;border:0!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:36px!important;height:36px!important;display:flex!important}.sidebar-user-card{background:#ffffff0f!important;border:1px solid #ffffff1a!important;border-radius:12px!important;align-items:center!important;gap:12px!important;margin-bottom:16px!important;padding:12px!important;display:flex!important}.sidebar-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#3b82f6);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:15px;font-weight:700;display:flex}.sidebar-user-info{flex-direction:column;min-width:0;display:flex}.sidebar-user-info strong{color:#f1f5f9;white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.sidebar-user-info small{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.sidebar-nav-scroll{flex-direction:column;flex:1;gap:4px;display:flex;overflow-y:auto}.sidebar-nav-scroll .menu-item{border-radius:10px!important;min-height:46px!important;padding:11px 14px!important;font-size:13px!important}.sidebar-footer{border-top:1px solid #ffffff1a!important;flex-direction:column!important;gap:10px!important;margin-top:auto!important;padding-top:14px!important;display:flex!important}.sidebar-logout-btn{color:#f87171!important;cursor:pointer!important;background:#ef444426!important;border:1px solid #ef44444d!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;padding:10px 14px!important;font-size:13px!important;font-weight:600!important;display:flex!important}.sidebar-status-line{color:#94a3b8;align-items:center;gap:6px;font-size:11px;display:flex}.mobile-bottom-nav{height:calc(58px + env(safe-area-inset-bottom,0px))!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;z-index:1000!important;background:#101c2e!important;border-top:1px solid #24354b!important;justify-content:space-around!important;align-items:center!important;display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;box-shadow:0 -4px 20px #00000059!important}.app[data-theme=light] .mobile-bottom-nav{background:#fff!important;border-top-color:#e2e8f0!important;box-shadow:0 -4px 16px #00000014!important}.mobile-nav-btn{color:#94a3b8!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;background:0 0!important;border:0!important;flex-direction:column!important;flex:1!important;justify-content:center!important;align-items:center!important;gap:3px!important;height:100%!important;padding:6px 0!important;font-size:10px!important;font-weight:600!important;transition:all .15s!important;display:flex!important}.mobile-nav-btn:active{transform:scale(.92)!important}.mobile-nav-btn.active{color:#38bdf8!important}.app[data-theme=light] .mobile-nav-btn.active{color:#0284c7!important}.mobile-nav-btn.active svg{filter:drop-shadow(0 0 6px #38bdf880)!important}.topbar{padding:max(6px, env(safe-area-inset-top)) 10px 6px!important;height:calc(56px + env(safe-area-inset-top,0px))!important;z-index:900!important;justify-content:space-between!important;align-items:center!important;gap:6px!important;min-height:56px!important;display:flex!important;position:sticky!important;top:0!important;overflow-x:hidden!important}.mobile-header-left{flex-shrink:0!important;align-items:center!important;gap:8px!important;min-width:0!important;display:flex!important}.mobile-menu{color:#e2e8f0!important;cursor:pointer!important;background:#ffffff14!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;width:36px!important;height:36px!important;padding:0!important;display:flex!important}.mobile-topbar-title{color:#e2e8f0!important;white-space:nowrap!important;text-overflow:ellipsis!important;max-width:120px!important;font-size:14px!important;font-weight:700!important;display:block!important;overflow:hidden!important}.app[data-theme=light] .mobile-topbar-title{color:#1e293b!important}.search{display:none!important}.user{flex-shrink:0!important;align-items:center!important;gap:4px!important;display:flex!important}.user-identity,.topbar-btn-text{display:none!important}.master-nav-pill,.topbar-empresa-btn{min-height:34px!important;padding:6px!important}.theme-toggle span{display:none!important}.theme-toggle,.notification-button,.logout-button{justify-content:center!important;align-items:center!important;width:34px!important;height:34px!important;padding:6px!important;display:flex!important}.avatar{width:32px!important;height:32px!important;font-size:13px!important}.content,.main{padding:14px 10px!important;padding-bottom:calc(75px + env(safe-area-inset-bottom,15px))!important;width:100%!important;max-width:100vw!important}.client-form-panel{padding:16px 12px!important}.client-form{gap:14px!important;margin-top:14px!important}.cedula-upload-grid,.form-grid-2{grid-template-columns:1fr!important;gap:12px!important}.btn-gps-capture,.btn-gps-test{justify-content:center;width:100%}.stats,.bottom-grid{grid-template-columns:1fr}.welcome{flex-direction:column;align-items:flex-start}}@media (width<=480px){.topbar{padding:max(6px, env(safe-area-inset-top)) 8px 6px!important;gap:4px!important}.mobile-topbar-title{max-width:100px!important;font-size:13px!important}.user{gap:3px!important}}.client-form-panel{width:100%;padding:28px}.client-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:25px;display:grid!important}.client-form label{color:#44546a;gap:9px;font-size:14px;font-weight:600;flex-direction:column!important;display:flex!important}.client-form input,.client-form textarea{color:#202b3c;background:#fff;border:1px solid #dce2eb;border-radius:8px;outline:none;width:100%;min-height:44px;padding:12px;display:block}.client-form input:focus,.client-form textarea:focus{border-color:#2874c6;box-shadow:0 0 0 3px #2874c61f}.client-form textarea{resize:vertical;min-height:90px}.client-form .full-field{grid-column:1/-1}.client-form .form-actions{flex-direction:row;justify-content:flex-end;gap:12px;display:flex}.client-form .primary-button,.client-form .cancel-button{cursor:pointer;border-radius:8px;min-height:44px;padding:12px 20px}@media (width<=700px){.client-form{grid-template-columns:1fr}.client-form .full-field{grid-column:auto}}.sales-tabs{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:8px;margin-bottom:6px;padding-bottom:8px;display:flex}.sales-tabs button{font:inherit;color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.sales-tabs button:hover{color:#1e293b;background:#f1f5f9}.sales-tabs button.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.sales-notice{border-radius:8px;align-items:center;gap:10px;padding:12px 16px;font-size:13px;font-weight:600;display:flex}.sales-notice.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.sales-notice.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.app[data-theme=dark] .sales-tabs{border-bottom-color:#2b3c53}.app[data-theme=dark] .sales-tabs button{color:#9baec4}.app[data-theme=dark] .sales-tabs button:hover{color:#e2e8f0;background:#192a40}.app[data-theme=dark] .sales-tabs button.active{color:#93c5fd;background:#17253d;border-color:#2b4974}.app[data-theme=dark] .sales-notice.success{color:#86efac;background:#13271f;border-color:#21533c}.app[data-theme=dark] .sales-notice.error{color:#fca5a5;background:#342023;border-color:#5c2f34}.sales-module{flex-direction:column;gap:22px;width:100%;display:flex}.sales-entry-layout{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr);align-items:start;gap:22px;width:100%;display:grid}.sales-entry-fields{flex-direction:column;gap:22px;min-width:0;display:flex}.sales-entry-summary{min-width:0;max-height:calc(100vh - 32px);position:sticky;top:16px;overflow:auto}.sales-entry-summary .sales-card{margin:0}.sales-live-note{color:#8290a2;margin:-12px 0 12px;font-size:12px}.sales-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;display:flex}.sales-heading h1{color:#24334a;margin:0 0 8px}.sales-heading p{color:#77869a;margin:0}.sales-card{background:#fff;border:1px solid #e5eaf0;border-radius:12px;padding:24px;box-shadow:0 3px 12px #1428460a}.sales-card h3{color:#243b5a;align-items:center;gap:10px;margin:0 0 22px;display:flex}.sales-step-index{color:#2467bd;background:#eaf2ff;border-radius:10px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:12px;font-weight:700;display:inline-grid}.sales-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.sales-label{color:#44546a;flex-direction:column;gap:9px;font-size:14px;font-weight:600;display:flex}.sales-label input,.sales-label select{color:#26364b;background:#fff;border:1px solid #dce2eb;border-radius:8px;width:100%;min-height:45px;padding:11px}.sales-label input:focus,.sales-label select:focus{border-color:#2874c6;outline:none}.sales-calc-pill{color:#0369a1;cursor:pointer;background:#e0f2fe;border:1px solid #bae6fd;border-radius:9999px;align-items:center;gap:4px;padding:3px 10px;font-size:11px;font-weight:600;line-height:1.4;transition:all .15s;display:inline-flex}.sales-calc-pill:hover{color:#0284c7;background:#bae6fd;border-color:#7dd3fc}.sales-primary,.sales-secondary{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;padding:12px 19px;font-weight:600;display:inline-flex}.sales-primary{color:#fff;background:#2467bd}.sales-secondary{color:#34516f;background:#edf2f8}.sales-client-info{color:#40536d;background:#f1f6fc;border-radius:8px;flex-wrap:wrap;gap:15px;margin-top:15px;padding:15px;font-size:13px;display:flex}.sales-calculation{background:#f8faff}.finance-summary{margin:0;padding:0}.finance-summary-row{border-bottom:1px solid #e5eaf0;grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0;display:grid}.finance-summary-row dt{color:#596a80}.finance-summary-row dd{overflow-wrap:anywhere;color:#243b5a;text-align:right;font-variant-numeric:tabular-nums;width:100%;min-width:0;margin:0;font-weight:700;display:block}.finance-summary-total{font-size:16px}.finance-summary-total dt{color:#263e5c;font-weight:600}.finance-summary-total dd{color:#2467bd}.sales-calculate{width:100%;min-height:48px;margin-top:20px}.sales-table-scroll{width:100%;overflow-x:auto}.sales-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.sales-table th,.sales-table td{white-space:nowrap;border-bottom:1px solid #e9edf2;padding:14px 12px}.sales-table th{color:#53657b;background:#f1f5fa}.sales-empty{color:#8290a2;text-align:center;padding:25px 0}.loan-hint{color:#8290a2;margin:12px 0 0;font-size:13px}.loan-form-hint{grid-column:1/-1;margin:0}.loan-hint-error{color:#c44747}.sales-hint{color:#8290a2;font-size:12px;font-weight:400;line-height:1.4}.client-list-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.client-list-header h3{margin:0}.client-search{color:#8290a2;border:1px solid #dce2eb;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:flex}.client-search input{color:#26364b;background:0 0;border:0;outline:0;width:220px}.table-scroll{width:100%;overflow-x:auto}.client-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.client-table th,.client-table td{white-space:nowrap;border-bottom:1px solid #e9edf2;padding:13px 12px}.client-table th{color:#53657b;background:#f1f5fa}.client-list-title-group h3{margin:0 0 3px}.client-list-subtitle{color:#718296;margin:0;font-size:12px}.client-filter-chips{flex-wrap:wrap;gap:8px;margin:12px 0 16px;display:flex}.client-chip{color:#4b5d73;cursor:pointer;background:#f4f7fb;border:1px solid #dce2eb;border-radius:20px;align-items:center;gap:6px;padding:6px 13px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.client-chip:hover{background:#e9eff7;border-color:#bcd0e8}.client-chip.active{color:#fff;background:#1d65b5;border-color:#1d65b5}.client-chip.chip-con-deuda.active{color:#fff;background:#2563eb;border-color:#2563eb}.client-chip.chip-atrasado.active{color:#fff;background:#dc2626;border-color:#dc2626}.client-chip.chip-al-dia.active{color:#fff;background:#16a34a;border-color:#16a34a}.client-chip.chip-sin-deuda.active{color:#fff;background:#475569;border-color:#475569}.client-chip-count{background:#00000014;border-radius:10px;padding:1px 6px;font-size:11px;display:inline-block}.client-chip.active .client-chip-count{color:#fff;background:#ffffff40}.client-name-cell{flex-direction:column;gap:2px;display:flex}.client-meta-ci{color:#78889c;font-size:11px}.client-contact-cell{flex-direction:column;gap:2px;display:flex}.client-phone-link{color:#16a34a;align-items:center;gap:4px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.client-phone-link:hover{color:#15803d;text-decoration:underline}.client-city-text,.client-empty-text{color:#78889c;font-size:11px}.client-balance-cell{flex-direction:column;gap:2px;display:flex}.client-balance-cell .balance-has-debt{color:#1e293b;font-size:13px;font-weight:700}.client-balance-cell .balance-clean{color:#64748b;font-size:13px;font-weight:500}.client-balance-cell small{color:#78889c;font-size:11px}.client-status-badge{white-space:nowrap;border-radius:14px;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:600;display:inline-flex}.status-dot-indicator{border-radius:50%;width:6px;height:6px;display:inline-block}.client-status-badge.status-al-dia{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.client-status-badge.status-al-dia .status-dot-indicator{background:#10b981}.client-status-badge.status-atrasado{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.client-status-badge.status-atrasado .status-dot-indicator{background:#ef4444}.client-status-badge.status-sin-deuda{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1}.client-status-badge.status-sin-deuda .status-dot-indicator{background:#94a3b8}.client-status-badge.status-sin-operaciones{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.client-status-badge.status-sin-operaciones .status-dot-indicator{background:#cbd5e1}.table-actions .btn-action-operation{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.table-actions .btn-action-operation:hover{background:#dbeafe;border-color:#93c5fd}.table-actions .btn-action-account{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.table-actions .btn-action-account:hover{background:#dcfce7;border-color:#86efac}.table-actions{gap:7px;display:flex}.table-actions button,.back-button,.cancel-button{color:#34516f;cursor:pointer;background:#f4f7fb;border:1px solid #dce2eb;border-radius:7px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.table-actions button{width:34px;height:34px}.back-button,.cancel-button{min-height:40px;padding:9px 13px}.back-button:hover,.cancel-button:hover,.table-actions button:hover{background:#e9eff7}.theme-toggle{color:#34516f;cursor:pointer;background:#f4f7fb;border:1px solid #dce2eb;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:8px 11px;font-size:13px;font-weight:600;display:inline-flex}.theme-toggle:hover{background:#e9eff7}.theme-toggle:focus-visible{outline-offset:2px;outline:3px solid #2874c659}html[data-theme=dark],body[data-theme=dark],.app[data-theme=dark]{color:#e5edf8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0c1422}.app[data-theme=dark] .sidebar{background:#101a2b}.app[data-theme=dark] .topbar{background:#121e30;border-color:#26364c}.app[data-theme=dark] .search{background:#101c2e;border-color:#24354b}.app[data-theme=dark] .search:focus-within{background:#14233a;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.app[data-theme=dark] .search-clear:hover{color:#cbd5e1;background:#24354b}.app[data-theme=dark] .global-search-popover{background:#131f32;border-color:#24354b;box-shadow:0 12px 32px #00000073}.app[data-theme=dark] .global-search-category{color:#94a3b8}.app[data-theme=dark] .global-search-item:hover,.app[data-theme=dark] .global-search-item:focus{background:#1c2b42}.app[data-theme=dark] .global-search-item-icon{color:#93c5fd;background:#1e3a5f}.app[data-theme=dark] .global-search-item-icon.operacion{color:#c4b5fd;background:#312e81}.app[data-theme=dark] .global-search-item-icon.recibo{color:#6ee7b7;background:#064e3b}.app[data-theme=dark] .global-search-item-text strong,.app[data-theme=dark] .global-search-item-side strong{color:#f1f5f9}.app[data-theme=dark] .global-search-item-text small,.app[data-theme=dark] .global-search-item-side small{color:#94a3b8}.app[data-theme=dark] .global-search-divider{background:#1e2d42}.app[data-theme=dark] .global-search-empty strong{color:#e2e8f0}.app[data-theme=dark] .global-search-empty{color:#94a3b8}.app[data-theme=dark] .global-search-footer{color:#64748b;background:#0f1929;border-top-color:#1e2d42}.app[data-theme=dark] .search,.app[data-theme=dark] .user,.app[data-theme=dark] .user strong,.app[data-theme=dark] .welcome h1,.app[data-theme=dark] .stat-card h2,.app[data-theme=dark] .panel h3,.app[data-theme=dark] .sales-heading h1{color:#e5edf8}.app[data-theme=dark] .search input{color:#e5edf8;background:0 0}.app[data-theme=dark] .search input::placeholder{color:#8595ab}.app[data-theme=dark] .user small,.app[data-theme=dark] .welcome p,.app[data-theme=dark] .panel p,.app[data-theme=dark] .stat-top,.app[data-theme=dark] .stat-card small,.app[data-theme=dark] .sales-heading p,.app[data-theme=dark] .loan-hint{color:#9aabc1}.app[data-theme=dark] .loan-hint-error{color:#ff9292}.app[data-theme=dark] .sales-hint{color:#9aabc1}.app[data-theme=dark] .avatar{color:#dce9fb;background:#263750}.app[data-theme=dark] .theme-toggle{color:#e5edf8;background:#1a2940;border-color:#33465f}.app[data-theme=dark] .theme-toggle:hover{background:#263954}.app[data-theme=dark] .stat-card,.app[data-theme=dark] .panel,.app[data-theme=dark] .sales-card{background:#131f32;border-color:#26364c;box-shadow:0 3px 14px #00000029}.app[data-theme=dark] .empty{color:#91a2b9}.app[data-theme=dark] .empty strong{color:#dce6f4}.app[data-theme=dark] .quick-link{color:#d8e3f2;background:0 0;border-color:#2a3a51}.app[data-theme=dark] .quick-link:hover{color:#8dbbff}.app[data-theme=dark] .stat-card.clickable:hover{border-color:#4382ca;box-shadow:0 6px 18px #0006}.app[data-theme=dark] .dashboard-view-all{color:#6db1ff}.app[data-theme=dark] .dashboard-table th{color:#8ea3bd;background:#101a2a;border-color:#24354b}.app[data-theme=dark] .dashboard-table td{color:#e1e9f4;border-color:#24354b}.app[data-theme=dark] .dashboard-op-meta{color:#889bb2}.app[data-theme=dark] .dashboard-metric-item{background:#0f1929;border-color:#22344a}.app[data-theme=dark] .dashboard-metric-item span{color:#8ea3bd}.app[data-theme=dark] .dashboard-metric-item strong{color:#e1e9f4}.app[data-theme=dark] .dashboard-badge.al-dia{color:#9bc7f7;background:#1c324c}.app[data-theme=dark] .dashboard-badge.vencida{color:#f59e98;background:#451d20}.app[data-theme=dark] .dashboard-badge.pagada{color:#89e2b1;background:#15392b}.app[data-theme=dark] .client-form label,.app[data-theme=dark] .sales-label{color:#c4d1e2}.app[data-theme=dark] .sales-calc-pill{color:#7dd3fc;background:#0c4a6e;border-color:#0284c7}.app[data-theme=dark] .sales-calc-pill:hover{color:#f0f9ff;background:#0369a1;border-color:#38bdf8}.app[data-theme=dark] .client-form input,.app[data-theme=dark] .client-form textarea,.app[data-theme=dark] .sales-label input,.app[data-theme=dark] .sales-label select,.app[data-theme=dark] .client-search input{color:#e5edf8;background:#0e1828;border-color:#34465f}.app[data-theme=dark] .client-search{color:#9aabc1;border-color:#34465f}.app[data-theme=dark] .client-form input::placeholder,.app[data-theme=dark] .client-form textarea::placeholder,.app[data-theme=dark] .sales-label input::placeholder,.app[data-theme=dark] .client-search input::placeholder{color:#8091a8}.app[data-theme=dark] .sales-secondary,.app[data-theme=dark] .back-button,.app[data-theme=dark] .cancel-button{color:#dce7f5;background:#263750}.app[data-theme=dark] .sales-client-info{color:#c6d3e4;background:#1a2a40}.app[data-theme=dark] .sales-calculation{background:#111c2d}.app[data-theme=dark] .sales-live-note{color:#9aabc1}.app[data-theme=dark] .finance-summary-row{border-color:#2a3a51}.app[data-theme=dark] .finance-summary-row dt{color:#b2c0d3}.app[data-theme=dark] .finance-summary-row dd{color:#e3ecf8}.app[data-theme=dark] .finance-summary-total dt,.app[data-theme=dark] .finance-summary-total dd{color:#83b5ff}.app[data-theme=dark] .sales-card h3{color:#e1eaf7}.app[data-theme=dark] .sales-step-index{color:#9cc2ff;background:#233a58}.app[data-theme=dark] .sales-summary-row{color:#b2c0d3;border-color:#2a3a51}.app[data-theme=dark] .sales-summary-row strong{color:#e3ecf8}.app[data-theme=dark] .sales-total,.app[data-theme=dark] .sales-total strong{color:#83b5ff}.app[data-theme=dark] .sales-table th{color:#cbd8e8;background:#1b2a40}.app[data-theme=dark] .sales-table td,.app[data-theme=dark] .client-table td{color:#d3deec}.app[data-theme=dark] .sales-table th,.app[data-theme=dark] .sales-table td,.app[data-theme=dark] .client-table th,.app[data-theme=dark] .client-table td{border-color:#2a3a51}.app[data-theme=dark] .client-table th{color:#cbd8e8;background:#1b2a40}.app[data-theme=dark] .table-actions button{color:#dce7f5;background:#1a2940;border-color:#34465f}.app[data-theme=dark] .back-button:hover,.app[data-theme=dark] .cancel-button:hover,.app[data-theme=dark] .table-actions button:hover{background:#2a405e}.app[data-theme=dark] .client-list-subtitle,.app[data-theme=dark] .client-meta-ci,.app[data-theme=dark] .client-city-text,.app[data-theme=dark] .client-empty-text,.app[data-theme=dark] .client-balance-cell small{color:#8fa2b8}.app[data-theme=dark] .client-chip{color:#b8c8dc;background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .client-chip:hover{background:#1a2b42;border-color:#3b506e}.app[data-theme=dark] .client-chip-count{background:#ffffff1f}.app[data-theme=dark] .client-balance-cell .balance-has-debt{color:#f1f5f9}.app[data-theme=dark] .client-balance-cell .balance-clean{color:#8fa2b8}.app[data-theme=dark] .client-phone-link{color:#4ade80}.app[data-theme=dark] .client-status-badge.status-al-dia{color:#6ee7b7;background:#064e3b;border-color:#047857}.app[data-theme=dark] .client-status-badge.status-atrasado{color:#fca5a5;background:#450a0a;border-color:#991b1b}.app[data-theme=dark] .client-status-badge.status-sin-deuda{color:#cbd5e1;background:#1e293b;border-color:#334155}.app[data-theme=dark] .client-status-badge.status-sin-operaciones{color:#94a3b8;background:#111e30;border-color:#1e2d42}.app[data-theme=dark] .table-actions .btn-action-operation{color:#93c5fd;background:#172554;border-color:#1e3a8a}.app[data-theme=dark] .table-actions .btn-action-operation:hover{background:#1e3a8a}.app[data-theme=dark] .table-actions .btn-action-account{color:#86efac;background:#064e3b;border-color:#065f46}.app[data-theme=dark] .table-actions .btn-action-account:hover{background:#065f46}@media (width<=700px){.theme-toggle span{display:none}.sales-entry-layout{grid-template-columns:minmax(0,1fr)}.sales-entry-summary{max-height:none;position:static;overflow:visible}.sales-grid{grid-template-columns:1fr}.sales-card{padding:17px}.sales-heading{align-items:flex-start}.sales-summary-row{font-size:13px}}@media (width>=701px) and (width<=900px){.sales-entry-layout{grid-template-columns:minmax(0,1fr)}.sales-entry-summary{max-height:none;position:static;overflow:visible}}.payment-calendar-module{flex-direction:column;gap:18px;width:100%;min-width:0;display:flex}.payment-calendar-header,.payment-calendar-toolbar,.payment-month-navigation,.payment-view-switch,.payment-filters{align-items:center;display:flex}.payment-calendar-header{flex-wrap:wrap;justify-content:space-between;gap:16px}.payment-calendar-header h1,.payment-calendar-header p,.payment-calendar-toolbar h2,.payment-day-panel h2{margin:0}.payment-calendar-header h1{color:#24334a;font-size:26px}.payment-calendar-header p{color:#77869a;margin-top:7px;font-size:14px}.payment-view-switch{background:#f3f6fa;border:1px solid #e0e6ef;border-radius:10px;gap:4px;padding:4px}.payment-view-switch button,.calendar-icon-button,.calendar-today-button{color:#52657d;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:13px;display:inline-flex}.payment-view-switch button{padding:7px 11px}.payment-view-switch button.active{color:#205da7;background:#fff;box-shadow:0 1px 4px #1428461f}.payment-summary-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.payment-summary-card{background:#fff;border:1px solid #e4e9f0;border-radius:11px;flex-direction:column;gap:10px;min-height:94px;padding:17px 19px;display:flex}.payment-summary-card span{color:#6b7c91;font-size:13px}.payment-summary-card strong{color:#253a56;font-variant-numeric:tabular-nums;font-size:24px}.payment-summary-card.due-today{border-top:3px solid #e8a23a}.payment-summary-card.upcoming{border-top:3px solid #4288d1}.payment-summary-card.overdue{border-top:3px solid #d65b5b}.payment-summary-card.settled{border-top:3px solid #3baf7b}.payment-filters{grid-template-columns:minmax(180px,1fr) minmax(180px,230px) minmax(160px,210px);gap:10px;display:grid}.payment-search,.payment-filters select{color:#74859a;background:#fff;border:1px solid #dce3ed;border-radius:8px;align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.payment-search input{color:#26364b;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px}.payment-filters select{font:inherit;color:#34475f;font-size:13px}.payment-calendar-toolbar{flex-wrap:wrap;justify-content:space-between;gap:14px}.payment-month-navigation{gap:7px}.payment-month-navigation h2{color:#253a56;text-transform:capitalize;text-align:center;min-width:170px;font-size:19px}.calendar-icon-button{background:#fff;border:1px solid #e0e6ef;width:36px;height:36px}.calendar-icon-button:hover,.calendar-today-button:hover{background:#edf3fa}.calendar-today-button{background:#fff;border:1px solid #e0e6ef;padding:0 12px}.payment-calendar-toolbar>span{color:#718197;font-size:13px}.payment-calendar-content{grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr);align-items:start;gap:16px;min-width:0;display:grid}.payment-calendar-panel,.payment-day-panel{background:#fff;border:1px solid #e3e9f1;border-radius:12px;min-width:0;box-shadow:0 3px 12px #1428460a}.payment-calendar-panel{padding:15px}.payment-weekdays,.payment-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.payment-weekdays{color:#76869b;text-align:center;margin-bottom:8px;font-size:12px;font-weight:700}.payment-weekdays span{padding:7px 0}.payment-calendar-grid{gap:5px}.payment-calendar-blank,.payment-calendar-day{border:1px solid #e8edf3;border-radius:8px;min-height:104px}.payment-calendar-blank{background:#f8fafd}.payment-calendar-day{color:#34475e;text-align:left;cursor:pointer;background:#fff;flex-direction:column;align-items:stretch;gap:6px;padding:8px;display:flex;overflow:hidden}.payment-calendar-day:hover{background:#f7faff;border-color:#8ab5e7}.payment-calendar-day.selected{background:#f1f7ff;border-color:#2874c6;box-shadow:inset 0 0 0 1px #2874c6}.payment-calendar-day.today .payment-day-number{color:#fff;background:#2467bd;border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.payment-day-number{color:#53667e;font-size:13px;font-weight:700}.payment-day-count{color:#2863a9;background:#eaf2ff;border-radius:10px;width:fit-content;padding:2px 6px;font-size:10px;font-weight:700}.payment-day-count.all-paid{color:#287c55;background:#e7f6ee}.payment-day-preview{flex-direction:column;gap:3px;min-width:0;display:flex}.payment-day-chip{color:#52657c;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.payment-day-preview small{color:#718197;font-size:10px}.payment-day-panel{padding:18px;position:sticky;top:16px}.payment-day-panel-heading{border-bottom:1px solid #e7ecf2;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:14px;display:flex}.payment-day-panel-heading small{color:#7b8ba0;font-size:12px}.payment-day-panel-heading h2{color:#263b57;text-transform:capitalize;margin-top:4px;font-size:16px}.payment-day-panel-heading>span{color:#365575;background:#edf3fa;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:700;display:grid}.payment-day-list{flex-direction:column;display:flex}.payment-item{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:15px 0;display:grid}.payment-item:last-child{border-bottom:0}.payment-item-main{gap:9px;min-width:0;display:flex}.payment-status-dot{background:#4b8bd0;border-radius:50%;flex:0 0 9px;width:9px;height:9px;margin-top:5px}.payment-status-dot.hoy{background:#df9b31}.payment-status-dot.vencida,.payment-status-dot.parcial-vencida{background:#d25353}.payment-status-dot.parcial{background:#8a6dcc}.payment-status-dot.pagada{background:#3ba879}.payment-item-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.payment-item-copy strong{color:#2c405b;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.payment-item-copy span{color:#7a899c;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.payment-item-amounts{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:5px;display:flex}.payment-item-amounts>strong{color:#293f5c;font-variant-numeric:tabular-nums;font-size:13px}.payment-item-amounts small{color:#7a899c;font-size:10px}.payment-status{color:#4b82bd;font-size:10px;font-weight:700}.payment-status.hoy{color:#b77819}.payment-status.vencida,.payment-status.parcial-vencida{color:#c44747}.payment-status.parcial{color:#7659b1}.payment-status.pagada{color:#27845a}.payment-register-button{color:#235f9f;font:inherit;cursor:pointer;background:#f2f7fd;border:1px solid #cfe0f5;border-radius:7px;grid-column:1/-1;justify-self:end;padding:7px 10px;font-size:11px;font-weight:700}.payment-register-button:hover{background:#e6f0fc}.payment-empty-state{color:#8392a5;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:185px;padding:18px;display:flex}.payment-empty-state strong{color:#53677f;font-size:13px}.payment-empty-state span{font-size:12px}.payment-empty-state.compact{min-height:150px}.payment-agenda-list{flex-direction:column;display:flex}.payment-agenda-row{border-bottom:1px solid #e9edf3;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px;display:grid}.payment-agenda-date{color:#51657e;text-transform:capitalize;flex-direction:column;align-items:center;gap:2px;padding-top:16px;display:flex}.payment-agenda-date strong{font-size:17px}.payment-agenda-date span{font-size:11px}.payment-modal-backdrop{z-index:30;background:#070e199e;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.payment-modal{background:#fff;border:1px solid #e1e7ef;border-radius:14px;width:min(100%,460px);padding:23px;box-shadow:0 18px 60px #00000040}.payment-modal-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px;display:flex}.payment-modal-heading h2,.payment-modal-heading p{margin:0}.payment-modal-heading h2{color:#263b57;font-size:19px}.payment-modal-heading p{color:#7b8ba0;margin-top:6px;font-size:12px}.payment-modal-balance{color:#667991;background:#f1f6fc;border-radius:9px;justify-content:space-between;gap:12px;margin-bottom:16px;padding:13px;font-size:13px;display:flex}.payment-modal-balance strong{color:#245f9e;font-variant-numeric:tabular-nums}.payment-modal-label{color:#43566e;flex-direction:column;gap:7px;margin-top:13px;font-size:13px;font-weight:700;display:flex}.payment-modal-label input,.payment-modal-label select{color:#2e425c;width:100%;min-height:43px;font:inherit;background:#fff;border:1px solid #d8e1ec;border-radius:8px;padding:10px 11px;font-weight:400}.payment-modal-actions{justify-content:flex-end;gap:9px;margin-top:21px;display:flex}.payment-cancel-button,.payment-confirm-button{min-height:40px;font:inherit;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-size:13px;font-weight:700;display:inline-flex}.payment-cancel-button{color:#425873;background:#edf2f8}.payment-confirm-button{color:#fff;background:#2467bd}.unified-financing-module{gap:17px}.unified-operation-type-card,.unified-operations-card{background:#fff;border:1px solid #e3e9f1;border-radius:12px;min-width:0;padding:19px;box-shadow:0 3px 12px #1428460a}.unified-operation-type-card>span{color:#526780;margin-bottom:12px;font-size:13px;font-weight:700;display:block}.unified-type-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.unified-type-option{color:#637991;text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe6ef;border-radius:9px;align-items:center;gap:12px;min-height:70px;padding:12px 14px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.unified-type-option>span{flex-direction:column;gap:5px;display:flex}.unified-type-option strong{color:#334b66;font-size:13px}.unified-type-option small{color:#8695a7;font-size:11px}.unified-type-option:hover{background:#f8fbff;border-color:#a9c8e8}.unified-type-option.selected{color:#2b6eae;background:#f1f7fe;border-color:#3c7ec0;box-shadow:0 0 0 2px #3779be1a}.unified-type-option.selected strong{color:#245f99}.unified-entry-layout{align-items:start}.unified-entry-layout .sales-entry-fields{flex-direction:column;gap:16px;min-width:0;display:flex}.unified-entry-layout .sales-entry-summary{align-self:start}.unified-list-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.unified-list-heading h3{color:#2a405d;margin:0;font-size:16px}.unified-list-filters{align-items:center;gap:8px;display:flex}.unified-search{color:#8291a4;border:1px solid #dce4ed;border-radius:7px;align-items:center;gap:8px;min-width:220px;height:37px;padding:0 10px;display:flex}.unified-search input{color:#354a63;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:12px}.unified-list-filters select{color:#465c75;min-height:37px;font:inherit;background:#fff;border:1px solid #dce4ed;border-radius:7px;padding:7px 9px;font-size:11px}.unified-operations-table{min-width:1060px}.unified-profit{white-space:nowrap;font-weight:800;color:#28845a!important}.unified-profit.loss{color:#bd4e48!important}.unified-profit-summary dt,.unified-profit-summary dd{font-weight:800;color:#28845a!important}.unified-profit-summary.loss dt,.unified-profit-summary.loss dd{color:#bd4e48!important}.unified-operation-badge{color:#386d9f;white-space:nowrap;background:#eff6fd;border-radius:20px;align-items:center;gap:5px;padding:5px 7px;font-size:10px;font-weight:700;display:inline-flex}.unified-operation-badge.prestamo{color:#6b5d9e;background:#f1effa}.unified-op-number{color:#64748b;font-size:11px;font-weight:700}.unified-empty{gap:10px}.unified-empty>span{max-width:450px}.unified-empty>div{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px;display:flex}.unified-type-button{color:#386b9c;min-height:34px;font:inherit;cursor:pointer;background:#f5f9fe;border:1px solid #d8e5f2;border-radius:7px;align-items:center;gap:6px;padding:7px 10px;font-size:11px;font-weight:700;display:inline-flex}.unified-result-card{margin-top:0}.app[data-theme=dark] .unified-operation-type-card,.app[data-theme=dark] .unified-operations-card{box-shadow:none;background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .unified-operation-type-card>span,.app[data-theme=dark] .unified-list-heading h3{color:#d8e3f1}.app[data-theme=dark] .unified-type-option{color:#9bacc1;background:#101a2a;border-color:#34485f}.app[data-theme=dark] .unified-type-option strong{color:#d3dfed}.app[data-theme=dark] .unified-type-option small{color:#91a3ba}.app[data-theme=dark] .unified-type-option:hover,.app[data-theme=dark] .unified-type-option.selected{background:#1a2c43;border-color:#4b79a7}.app[data-theme=dark] .unified-type-option.selected strong{color:#b1d1f5}.app[data-theme=dark] .unified-search,.app[data-theme=dark] .unified-list-filters select{color:#d7e2f0;background:#101a2a;border-color:#354a63}.app[data-theme=dark] .unified-search input{color:#e1eaf6}.app[data-theme=dark] .unified-operation-badge{color:#a8c8e8;background:#20354c}.app[data-theme=dark] .unified-operation-badge.prestamo{color:#c3b6eb;background:#342f4a}.app[data-theme=dark] .unified-op-number{color:#94a3b8}.app[data-theme=dark] .unified-profit,.app[data-theme=dark] .unified-profit-summary dt,.app[data-theme=dark] .unified-profit-summary dd{color:#91d2ad!important}.app[data-theme=dark] .unified-profit.loss,.app[data-theme=dark] .unified-profit-summary.loss dt,.app[data-theme=dark] .unified-profit-summary.loss dd{color:#f0a19c!important}.app[data-theme=dark] .unified-type-button{color:#a9ccff;background:#1a2b42;border-color:#365271}@media (width<=850px){.unified-entry-layout{grid-template-columns:minmax(0,1fr)}.unified-entry-layout .sales-entry-summary{position:static}.unified-list-heading{flex-direction:column;align-items:stretch}.unified-list-filters{width:100%}.unified-search{flex:1}}@media (width<=560px){.unified-type-options{grid-template-columns:minmax(0,1fr)}.unified-list-filters{flex-direction:column;align-items:stretch}.unified-search{width:100%;min-width:0}.unified-list-filters select{width:100%}.unified-operation-type-card,.unified-operations-card{padding:14px}}.app[data-theme=dark] .payment-calendar-header h1,.app[data-theme=dark] .payment-month-navigation h2,.app[data-theme=dark] .payment-day-panel-heading h2,.app[data-theme=dark] .payment-summary-card strong,.app[data-theme=dark] .payment-item-copy strong,.app[data-theme=dark] .payment-item-amounts>strong{color:#e2ebf7}.app[data-theme=dark] .payment-calendar-header p,.app[data-theme=dark] .payment-calendar-toolbar>span,.app[data-theme=dark] .payment-calendar-day,.app[data-theme=dark] .payment-summary-card span,.app[data-theme=dark] .payment-day-panel-heading small,.app[data-theme=dark] .payment-item-copy span,.app[data-theme=dark] .payment-item-amounts small,.app[data-theme=dark] .payment-agenda-date{color:#9aabc1}.notification-anchor{flex:none;position:relative}.notification-button{color:#61748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;width:38px;height:38px;display:grid;position:relative}.notification-button:hover,.notification-button[aria-expanded=true]{color:#2868aa;background:#f4f7fb;border-color:#dce5ef}.notification-count{color:#fff;text-align:center;background:#dc4e4e;border:2px solid #fff;border-radius:10px;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;line-height:13px;position:absolute;top:0;right:0}.notification-popover{z-index:40;color:#344960;background:#fff;border:1px solid #dce5ef;border-radius:12px;width:min(370px,100vw - 24px);position:absolute;top:calc(100% + 9px);right:-45px;overflow:hidden;box-shadow:0 14px 40px #10203633}.notification-popover>header{border-bottom:1px solid #e8edf3;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;display:flex}.notification-popover>header>div{flex-direction:column;gap:4px;display:flex}.notification-popover>header strong{font-size:13px}.notification-popover>header small{color:#8795a7;font-size:10px}.notification-popover>header button{color:#7e8da0;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.notification-popover>header button:hover{background:#f1f5f9}.notification-list{flex-direction:column;max-height:min(440px,100vh - 125px);display:flex;overflow:auto}.notification-item{color:#52677e;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1f5;align-items:flex-start;gap:10px;width:100%;padding:12px 14px;display:flex}.notification-item:hover{background:#f7faff}.notification-item:last-child{border-bottom:0}.notification-item-icon{color:#2c6eaf;background:#edf5ff;border-radius:9px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.notification-item.vencida .notification-item-icon{color:#bb514c;background:#fff0ef}.notification-item.cobro .notification-item-icon{color:#398358;background:#edf9f1}.notification-item-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.notification-item-copy strong{color:#334b64;font-size:11px}.notification-item-copy small{color:#77899e;font-size:10px;line-height:1.35}.notification-empty{color:#8796a8;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:145px;padding:18px;display:flex}.notification-empty>svg{color:#91a5bb}.notification-empty strong{color:#52677f;font-size:12px}.notification-empty span{max-width:225px;font-size:10px;line-height:1.45}.app[data-theme=dark] .notification-button{color:#a8b9ce}.app[data-theme=dark] .notification-button:hover,.app[data-theme=dark] .notification-button[aria-expanded=true]{color:#a9ccff;background:#1a2b42;border-color:#354a63}.app[data-theme=dark] .notification-count{border-color:#132033}.app[data-theme=dark] .notification-popover{color:#d5e1ef;background:#131f32;border-color:#354961}.app[data-theme=dark] .notification-popover>header{border-color:#2e4057}.app[data-theme=dark] .notification-popover>header small,.app[data-theme=dark] .notification-item-copy small{color:#95a8c0}.app[data-theme=dark] .notification-popover>header button{color:#a3b5ca}.app[data-theme=dark] .notification-popover>header button:hover,.app[data-theme=dark] .notification-item:hover{background:#192a40}.app[data-theme=dark] .notification-item{color:#b8c8da;background:#131f32;border-color:#26384e}.app[data-theme=dark] .notification-item-copy strong,.app[data-theme=dark] .notification-empty strong{color:#d6e2f1}.app[data-theme=dark] .notification-item-icon{color:#a8c8e8;background:#20354c}.app[data-theme=dark] .notification-item.vencida .notification-item-icon{color:#f1a19b;background:#44282e}.app[data-theme=dark] .notification-item.cobro .notification-item-icon{color:#91d2ad;background:#203a33}.app[data-theme=dark] .notification-empty,.app[data-theme=dark] .notification-empty>svg{color:#9aabc1}@media (width<=700px){.notification-popover{position:fixed;top:66px;right:10px}}.app[data-theme=dark] .payment-view-switch,.app[data-theme=dark] .payment-summary-card,.app[data-theme=dark] .payment-search,.app[data-theme=dark] .payment-filters select,.app[data-theme=dark] .calendar-icon-button,.app[data-theme=dark] .calendar-today-button,.app[data-theme=dark] .payment-calendar-panel,.app[data-theme=dark] .payment-day-panel{background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .payment-view-switch button.active{color:#a9ccff;background:#263954}.app[data-theme=dark] .payment-search input,.app[data-theme=dark] .payment-filters select{color:#e1eaf6}.app[data-theme=dark] .payment-calendar-day,.app[data-theme=dark] .payment-calendar-blank{background:#101a2a;border-color:#293a51}.app[data-theme=dark] .payment-calendar-day:hover,.app[data-theme=dark] .payment-calendar-day.selected{background:#192a40;border-color:#4c84c4}.app[data-theme=dark] .payment-calendar-day.today .payment-day-number{color:#fff;background:#367dc8}.app[data-theme=dark] .payment-day-number,.app[data-theme=dark] .payment-day-chip{color:#c0cde0}.app[data-theme=dark] .payment-day-panel-heading,.app[data-theme=dark] .payment-item,.app[data-theme=dark] .payment-agenda-row{border-color:#2a3a51}.app[data-theme=dark] .payment-day-panel-heading>span{color:#dce7f5;background:#263750}.app[data-theme=dark] .payment-register-button{color:#a9ccff;background:#1a2b42;border-color:#365271}.app[data-theme=dark] .payment-empty-state strong{color:#dce6f4}.app[data-theme=dark] .payment-modal{background:#131f32;border-color:#31445d}.app[data-theme=dark] .payment-modal-heading h2,.app[data-theme=dark] .payment-modal-label{color:#e0eaf7}.app[data-theme=dark] .payment-modal-heading p,.app[data-theme=dark] .payment-modal-balance{color:#a7b7cb}.app[data-theme=dark] .payment-modal-balance{background:#1b2d44}.app[data-theme=dark] .payment-modal-balance strong{color:#9fc5ff}.app[data-theme=dark] .payment-modal-label input,.app[data-theme=dark] .payment-modal-label select{color:#e5edf8;background:#0e1828;border-color:#354961}@media (width<=1050px){.payment-calendar-content{grid-template-columns:minmax(0,1fr)}.payment-day-panel{position:static}}@media (width<=800px){.payment-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.payment-search{grid-column:1/-1}}@media (width<=560px){.payment-calendar-header{flex-direction:column;align-items:flex-start}.payment-summary-card{min-height:80px;padding:13px}.payment-filters{grid-template-columns:minmax(0,1fr)}.payment-search{grid-column:auto}.payment-calendar-panel{padding:8px}.payment-calendar-grid{gap:2px}.payment-calendar-blank,.payment-calendar-day{min-height:60px;padding:4px}.payment-day-count{padding:2px 4px;font-size:9px}.payment-day-preview{display:none}.payment-calendar-day.today .payment-day-number{width:22px;height:22px}.payment-item{grid-template-columns:minmax(0,1fr)}.payment-item-amounts{align-items:flex-start;padding-left:18px}.payment-register-button{grid-column:1}}.logout-button{color:#637790;cursor:pointer;background:0 0;border:1px solid #dfe6ef;border-radius:8px;place-items:center;width:36px;height:36px;display:inline-grid}.logout-button:hover{color:#284c70;background:#f0f4f8}.user-identity{max-width:190px;overflow:hidden}.user-identity strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app[data-theme=dark] .logout-button{color:#bdcce0;border-color:#354961}.app[data-theme=dark] .logout-button:hover{color:#fff;background:#263954}.auth-gate{color:#e7eef8;background:#0b1423;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-gate-card{background:#131f32;border:1px solid #2a3a51;border-radius:14px;flex-direction:column;gap:14px;width:min(100%,420px);padding:30px;display:flex;box-shadow:0 18px 55px #0000003d}.auth-gate-card>.brand-icon{align-self:flex-start}.auth-gate-card h1{color:#eef4fc;margin:0;font-size:24px}.auth-gate-card p{color:#9aacc2;margin:0;font-size:13px;line-height:1.5}.auth-gate-card .settings-field{color:#bdcce0}.auth-gate-card .settings-field input{color:#e2ebf7;background:#0e1828;border-color:#354a63}.auth-gate-card .primary-button{justify-content:center;width:100%;margin-top:4px}.auth-gate[data-theme=light]{color:#25364c;background:#f1f5fa}.auth-gate[data-theme=light] .auth-gate-card{background:#fff;border-color:#e2e8f0}.auth-gate[data-theme=light] .auth-gate-card h1{color:#203954}.auth-gate[data-theme=light] .auth-gate-card p{color:#72849a}.auth-gate[data-theme=light] .auth-gate-card .settings-field{color:#4e627b}.auth-gate[data-theme=light] .auth-gate-card .settings-field input{color:#324760;background:#fff;border-color:#dce4ed}@media (width<=700px){.user-identity{display:none}.logout-button{width:32px;height:32px}.auth-gate-card{padding:22px}}.sales-card-header-row{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.sales-card-header-row h3{margin:0!important}.sales-quick-new-client-trigger{color:#1d68bd;cursor:pointer;background:#f0f7ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:6px;padding:6px 13px;font-size:13px;font-weight:600;transition:all .18s;display:inline-flex}.sales-quick-new-client-trigger:hover{color:#1a569c;background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px)}.sales-selected-client-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:16px;margin-top:4px;padding:14px 18px;display:flex}.sales-selected-client-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:12px;flex-shrink:0;place-items:center;width:44px;height:44px;font-size:16px;font-weight:700;display:grid;box-shadow:0 4px 10px #2563eb33}.sales-selected-client-details{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.sales-selected-client-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sales-selected-client-title strong{color:#1e293b;font-size:15px}.sales-selected-client-ci{color:#0369a1;background:#e0f2fe;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700}.sales-selected-client-meta{color:#64748b;flex-wrap:wrap;gap:12px;font-size:12.5px;display:flex}.sales-change-client-btn{color:#3b82f6;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s}.sales-change-client-btn:hover{background:#eff6ff;border-color:#93c5fd}.sales-client-combo-wrapper{width:100%;position:relative}.sales-client-search-input-box{align-items:center;width:100%;display:flex;position:relative}.sales-client-search-input-box .sales-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:14px}.sales-client-search-input{width:100%;min-height:46px;transition:all .15s;box-shadow:0 1px 2px #0000000a;color:#1e293b!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:11px 38px 11px 40px!important;font-size:14px!important}.sales-client-search-input:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb1f!important}.sales-search-clear-btn{color:#64748b;cursor:pointer;background:#e2e8f0;border:0;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;right:12px}.sales-search-clear-btn:hover{color:#1e293b;background:#cbd5e1}.sales-client-dropdown-panel{z-index:60;background:#fff;border:1px solid #e2e8f0;border-radius:12px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden;box-shadow:0 14px 30px #0000001f}.sales-client-dropdown-header{color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:9px 14px;font-size:12px;display:flex}.sales-dropdown-new-link{color:#2563eb;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:12px;font-weight:600;display:inline-flex}.sales-dropdown-new-link:hover{text-decoration:underline}.sales-client-dropdown-list{max-height:260px;overflow-y:auto}.sales-client-option-item{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #f1f5f9;align-items:center;gap:12px;width:100%;padding:10px 14px;transition:background .12s;display:flex}.sales-client-option-item:last-child{border-bottom:0}.sales-client-option-item:hover{background:#f0f7ff}.sales-client-option-avatar{color:#475569;background:#e2e8f0;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:grid}.sales-client-option-item:hover .sales-client-option-avatar{color:#1d4ed8;background:#dbeafe}.sales-client-option-info{flex-direction:column;gap:2px;min-width:0;display:flex}.sales-client-option-info strong{color:#1e293b;font-size:13.5px}.sales-client-option-info span{color:#64748b;font-size:11.5px}.sales-client-dropdown-empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:22px 16px;display:flex}.sales-client-dropdown-empty p{color:#64748b;margin:0;font-size:13px}.sales-dropdown-create-btn{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:600;display:inline-flex}.sales-dropdown-create-btn:hover{background:#1d4ed8}.sales-frequent-products-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.sales-frequent-label{color:#64748b;font-size:11px;font-weight:600}.sales-frequent-pill{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:2px 8px;font-size:11.5px;font-weight:500;transition:all .15s}.sales-frequent-pill:hover{color:#1e293b;background:#e2e8f0;border-color:#cbd5e1}.sales-inventory-selector-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}.sales-clear-product-link{color:#2563eb;cursor:pointer;background:0 0;border:0;padding:0;font-size:11.5px;font-weight:600}.sales-clear-product-link:hover{text-decoration:underline}.sales-inventory-badge-row{color:#64748b;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;font-size:12px;display:flex}.sales-inventory-badge-row strong{color:#1e293b}.app[data-theme=dark] .sales-inventory-selector-box{background:#18263e;border-color:#2b3d58}.app[data-theme=dark] .sales-clear-product-link{color:#60a5fa}.app[data-theme=dark] .sales-inventory-badge-row{color:#8ca0b8}.app[data-theme=dark] .sales-inventory-badge-row strong{color:#e2ebf7}.sales-interest-group{flex-direction:column;gap:9px;display:flex}.sales-field-header-row{justify-content:space-between;align-items:center;display:flex}.sales-label-heading{color:#44546a;font-size:14px;font-weight:600}.sales-interest-toggle{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:2px;display:inline-flex}.sales-toggle-pill{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:11.5px;font-weight:600;transition:all .15s;display:inline-flex}.sales-toggle-pill.active{color:#1d4ed8;background:#fff;box-shadow:0 1px 3px #00000014}.sales-percent-box{flex-direction:column;gap:8px;display:flex}.sales-percent-input-wrapper{align-items:center;display:flex;position:relative}.sales-percent-input-wrapper input{padding-right:36px!important}.sales-percent-suffix{color:#64748b;pointer-events:none;font-size:15px;font-weight:700;position:absolute;right:14px}.sales-percent-presets{flex-wrap:wrap;gap:6px;display:flex}.sales-quick-preset-pill{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;padding:3px 9px;font-size:11.5px;font-weight:600;transition:all .15s}.sales-quick-preset-pill:hover{color:#0f172a;background:#e2e8f0}.sales-quick-preset-pill.active{color:#fff;background:#2563eb;border-color:#2563eb}.sales-quick-cuotas-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.sales-quick-cuotas-label{color:#64748b;font-size:11.5px;font-weight:600}.sales-quick-cuota-pill{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:2px 9px;font-size:11.5px;font-weight:700;transition:all .15s}.sales-quick-cuota-pill:hover{color:#0f172a;background:#e2e8f0}.sales-quick-cuota-pill.active{color:#fff;background:#2563eb;border-color:#2563eb}.quick-client-modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:1000;background:#0f172a99;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.quick-client-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:min(100%,540px);animation:.2s ease-out quickModalFadeIn;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}@keyframes quickModalFadeIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.quick-client-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:20px 24px;display:flex}.quick-client-modal-title{align-items:center;gap:14px;display:flex}.quick-client-icon-box{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.quick-client-modal-title h3{color:#1e293b;margin:0;font-size:17px}.quick-client-modal-title p{color:#64748b;margin:2px 0 0;font-size:12.5px}.quick-client-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px;transition:all .15s}.quick-client-close-btn:hover{color:#334155;background:#f1f5f9}.quick-client-error-banner{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:16px 24px 0;padding:10px 14px;font-size:13px;font-weight:500}.quick-client-form{flex-direction:column;gap:18px;padding:20px 24px;display:flex}.quick-client-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.quick-client-full-width{grid-column:span 2}.quick-client-modal-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;gap:10px;padding-top:14px;display:flex}.app[data-theme=dark] .sales-quick-new-client-trigger{color:#60a5fa;background:#1e3a5f;border-color:#2563eb}.app[data-theme=dark] .sales-quick-new-client-trigger:hover{color:#fff;background:#2563eb}.app[data-theme=dark] .sales-selected-client-card{background:#18263e;border-color:#2b3d58}.app[data-theme=dark] .sales-selected-client-title strong{color:#e2ebf7}.app[data-theme=dark] .sales-selected-client-ci{color:#93c5fd;background:#1e3a5f}.app[data-theme=dark] .sales-selected-client-meta{color:#8ca0b8}.app[data-theme=dark] .sales-change-client-btn{color:#60a5fa;background:#131f32;border-color:#2b3d58}.app[data-theme=dark] .sales-change-client-btn:hover{background:#1e3a5f}.app[data-theme=dark] .sales-client-search-input{color:#e2ebf7!important;background:#131f32!important;border-color:#2b3d58!important}.app[data-theme=dark] .sales-client-search-input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f633!important}.app[data-theme=dark] .sales-search-clear-btn{color:#8ca0b8;background:#263954}.app[data-theme=dark] .sales-search-clear-btn:hover{color:#fff;background:#354961}.app[data-theme=dark] .sales-client-dropdown-panel{background:#18263e;border-color:#2b3d58;box-shadow:0 16px 36px #0006}.app[data-theme=dark] .sales-client-dropdown-header{color:#8ca0b8;background:#131f32;border-color:#2b3d58}.app[data-theme=dark] .sales-dropdown-new-link{color:#60a5fa}.app[data-theme=dark] .sales-client-option-item{background:#18263e;border-color:#22344e}.app[data-theme=dark] .sales-client-option-item:hover{background:#203452}.app[data-theme=dark] .sales-client-option-avatar{color:#93c5fd;background:#243956}.app[data-theme=dark] .sales-client-option-info strong{color:#e2ebf7}.app[data-theme=dark] .sales-client-option-info span,.app[data-theme=dark] .sales-client-dropdown-empty p,.app[data-theme=dark] .sales-frequent-label,.app[data-theme=dark] .sales-quick-cuotas-label{color:#8ca0b8}.app[data-theme=dark] .sales-frequent-pill{color:#bdcce0;background:#1e2d44;border-color:#2b3d58}.app[data-theme=dark] .sales-frequent-pill:hover{color:#fff;background:#263b59}.app[data-theme=dark] .sales-label-heading{color:#bdcce0}.app[data-theme=dark] .sales-interest-toggle{background:#131f32;border-color:#2b3d58}.app[data-theme=dark] .sales-toggle-pill{color:#8ca0b8}.app[data-theme=dark] .sales-toggle-pill.active{color:#fff;background:#2563eb}.app[data-theme=dark] .sales-percent-suffix{color:#8ca0b8}.app[data-theme=dark] .sales-quick-preset-pill,.app[data-theme=dark] .sales-quick-cuota-pill{color:#bdcce0;background:#18263e;border-color:#2b3d58}.app[data-theme=dark] .sales-quick-preset-pill:hover,.app[data-theme=dark] .sales-quick-cuota-pill:hover{color:#fff;background:#203452}.app[data-theme=dark] .sales-quick-preset-pill.active,.app[data-theme=dark] .sales-quick-cuota-pill.active{color:#fff;background:#2563eb;border-color:#2563eb}.app[data-theme=dark] .quick-client-modal-card{background:#131f32;border-color:#2b3d58}.app[data-theme=dark] .quick-client-modal-header{border-color:#1e2f47}.app[data-theme=dark] .quick-client-icon-box{color:#60a5fa;background:#1e3a5f}.app[data-theme=dark] .quick-client-modal-title h3{color:#e2ebf7}.app[data-theme=dark] .quick-client-modal-title p{color:#8ca0b8}.app[data-theme=dark] .quick-client-close-btn:hover{color:#fff;background:#1e2f47}.app[data-theme=dark] .quick-client-modal-actions{border-color:#1e2f47}@media (width<=600px){.quick-client-form-grid{grid-template-columns:1fr}.quick-client-full-width{grid-column:span 1}.sales-selected-client-card{flex-direction:column;align-items:flex-start}.sales-change-client-btn{align-self:flex-end}}.tenant-audit-banner{color:#f1f5f9;background:linear-gradient(135deg,#2e1065 0%,#1e1b4b 60%,#0f172a 100%);border:1px solid #7c3aed;border-left:5px solid #a855f7;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:12px 18px;display:flex;box-shadow:0 4px 16px #7c3aed33}.tenant-audit-info{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.tenant-audit-pill{color:#fff;letter-spacing:.05em;text-transform:uppercase;background:#7c3aed;border-radius:20px;padding:4px 10px;font-size:.72rem;font-weight:700;display:inline-block}.tenant-audit-text{color:#e2e8f0;font-size:.92rem}.tenant-audit-text strong{color:#fde047;font-weight:700}.tenant-audit-text code{color:#c4b5fd;background:#ffffff1a;border-radius:4px;padding:2px 6px;font-size:.82rem}.tenant-audit-exit-btn{color:#1e1b4b;cursor:pointer;white-space:nowrap;background:#fff;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:700;transition:all .2s;display:inline-flex}.tenant-audit-exit-btn:hover{color:#0f172a;background:#fde047;transform:translateY(-1px)}.form-section-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:16px;padding:18px 20px;display:flex}.form-section-title{align-items:flex-start;gap:12px;display:flex}.section-title-icon{color:#2563eb;flex-shrink:0;margin-top:2px}.form-section-title strong{color:#1e293b;margin-bottom:2px;font-size:14px;display:block}.form-section-title p{color:#64748b;margin:0;font-size:12px;line-height:1.4}.cedula-upload-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.cedula-upload-box{flex-direction:column;gap:8px;display:flex}.cedula-box-label{color:#475569;text-transform:uppercase;letter-spacing:.03em;font-size:12px;font-weight:700}.cedula-placeholder-btn{color:#64748b;cursor:pointer;background:#fff;border:2px dashed #cbd5e1;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:140px;padding:24px 16px;transition:all .2s;display:flex}.cedula-placeholder-btn:hover{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.cedula-placeholder-btn span{font-size:13px;font-weight:600}.cedula-placeholder-btn small{color:#94a3b8;font-size:11px}.cedula-preview-container{background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:8px;padding:8px;display:flex;box-shadow:0 1px 3px #0000000d}.cedula-preview-img{object-fit:cover;background:#f1f5f9;border-radius:6px;width:100%;height:140px}.cedula-preview-actions{justify-content:flex-end;gap:8px;display:flex}.btn-cedula-action{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 12px;font-size:12px;font-weight:600;transition:all .15s}.btn-cedula-action:hover{background:#f1f5f9;border-color:#94a3b8}.btn-cedula-action.btn-danger{color:#dc2626;background:#fff5f5;border-color:#fecaca}.btn-cedula-action.btn-danger:hover{background:#fee2e2;border-color:#ef4444}.gps-capture-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-gps-capture{color:#fff;cursor:pointer;background:#0284c7;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.btn-gps-capture:hover:not(:disabled){background:#0369a1;transform:translateY(-1px)}.btn-gps-capture:disabled{opacity:.7;cursor:not-allowed}.btn-gps-test{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.btn-gps-test:hover{background:#dcfce7;border-color:#86efac}.form-grid-2{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.client-meta-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px;display:flex}.client-badge-pill{cursor:pointer;border:none;border-radius:12px;align-items:center;gap:3px;padding:2px 7px;font-size:10.5px;font-weight:700;line-height:1.2;text-decoration:none;display:inline-flex}.client-badge-pill.pill-ci{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.client-badge-pill.pill-ci:hover{background:#dbeafe}.client-badge-pill.pill-gps{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.client-badge-pill.pill-gps:hover{background:#dcfce7}.table-actions .btn-action-view{color:#334155;background:#f8fafc;border-color:#cbd5e1}.table-actions .btn-action-view:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.modal-cedula-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-cedula-card{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:680px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 40px #0003}.modal-cedula-card .modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.modal-cedula-card .modal-header h3{color:#0f172a;margin:0;font-size:18px}.modal-subheading{color:#64748b;margin:3px 0 0;font-size:13px}.modal-subheading strong{color:#1e293b}.modal-close{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:4px;display:flex}.modal-close:hover{color:#0f172a;background:#f1f5f9}.modal-cedula-body{flex-direction:column;gap:20px;padding:20px 24px;display:flex;overflow-y:auto}.modal-cedula-section{flex-direction:column;gap:12px;display:flex}.modal-cedula-section h4{color:#334155;margin:0;font-size:14px;font-weight:700}.modal-cedula-photos-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.modal-photo-item{flex-direction:column;gap:6px;display:flex}.modal-photo-tag{color:#64748b;letter-spacing:.05em;font-size:11px;font-weight:800}.modal-photo-link{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;transition:transform .2s,box-shadow .2s;display:block;overflow:hidden;box-shadow:0 1px 3px #0000000f}.modal-photo-link:hover{transform:scale(1.02);box-shadow:0 4px 12px #0000001f}.modal-photo-img{object-fit:contain;background:#0f172a;width:100%;height:180px;display:block}.modal-photo-empty{color:#94a3b8;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;justify-content:center;align-items:center;height:120px;font-size:12px;display:flex}.modal-empty-notice{color:#94a3b8;background:#f8fafc;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;font-size:13px;display:flex}.modal-empty-notice p{margin:0}.modal-info-list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:8px;padding:14px 18px;display:flex}.modal-info-row{gap:10px;font-size:13px;line-height:1.4;display:flex}.info-label{color:#475569;min-width:130px;font-weight:700}.info-value{color:#1e293b;flex:1}.info-highlight{color:#0369a1;font-weight:600}.font-mono{font-family:monospace;font-size:12px}.modal-maps-action{margin-top:4px}.btn-open-maps{color:#fff;background:#16a34a;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s;display:inline-flex}.btn-open-maps:hover{background:#15803d;transform:translateY(-1px)}.modal-cedula-card .modal-footer{background:#fafbfc;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:12px;padding:14px 24px;display:flex}.app[data-theme=dark] .form-section-card{background:#1e293b;border-color:#334155}.app[data-theme=dark] .form-section-title strong{color:#f1f5f9}.app[data-theme=dark] .form-section-title p{color:#94a3b8}.app[data-theme=dark] .cedula-box-label{color:#cbd5e1}.app[data-theme=dark] .cedula-placeholder-btn{color:#94a3b8;background:#0f172a;border-color:#334155}.app[data-theme=dark] .cedula-placeholder-btn:hover{color:#38bdf8;background:#1e293b;border-color:#38bdf8}.app[data-theme=dark] .cedula-preview-container{background:#0f172a;border-color:#334155}.app[data-theme=dark] .btn-cedula-action{color:#e2e8f0;background:#1e293b;border-color:#334155}.app[data-theme=dark] .btn-cedula-action:hover{background:#334155}.app[data-theme=dark] .btn-gps-test{color:#86efac;background:#16a34a26;border-color:#16a34a4d}.app[data-theme=dark] .client-badge-pill.pill-ci{color:#93c5fd;background:#2563eb33;border-color:#2563eb66}.app[data-theme=dark] .client-badge-pill.pill-gps{color:#86efac;background:#16a34a33;border-color:#16a34a66}.app[data-theme=dark] .table-actions .btn-action-view{color:#cbd5e1;background:#1e293b;border-color:#334155}.app[data-theme=dark] .modal-cedula-card{background:#0f172a;border:1px solid #334155}.app[data-theme=dark] .modal-cedula-card .modal-header,.app[data-theme=dark] .modal-cedula-card .modal-footer{background:#0f172a;border-color:#1e293b}.app[data-theme=dark] .modal-cedula-card .modal-header h3{color:#f8fafc}.app[data-theme=dark] .modal-subheading{color:#94a3b8}.app[data-theme=dark] .modal-subheading strong{color:#e2e8f0}.app[data-theme=dark] .modal-close{color:#94a3b8}.app[data-theme=dark] .modal-close:hover{color:#f8fafc;background:#1e293b}.app[data-theme=dark] .modal-cedula-section h4{color:#e2e8f0}.app[data-theme=dark] .modal-photo-tag{color:#94a3b8}.app[data-theme=dark] .modal-photo-link{background:#1e293b;border-color:#334155}.app[data-theme=dark] .modal-photo-empty,.app[data-theme=dark] .modal-empty-notice{color:#64748b;background:#1e293b;border-color:#334155}.app[data-theme=dark] .modal-info-list{background:#1e293b;border-color:#334155}.app[data-theme=dark] .info-label{color:#94a3b8}.app[data-theme=dark] .info-value{color:#f1f5f9}.app[data-theme=dark] .info-highlight{color:#38bdf8}.report-export-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sales-card.unified-operations-card>.report-export-actions{margin-bottom:12px}.unified-list-heading{flex-wrap:wrap}.unified-operation-concept{flex-direction:column;align-items:flex-start;gap:7px;display:flex}.unified-edit-button{color:#365c85;font:inherit;cursor:pointer;background:#f4f8fd;border:1px solid #cbd9e9;border-radius:7px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:700;display:inline-flex}.unified-edit-button:hover{background:#e9f2fc;border-color:#4b83bd}.unified-type-option:disabled{opacity:.65;cursor:not-allowed}.unified-edit-lock-notice{margin:0 0 12px}.report-export-button{border:1px solid var(--border,#d7e1ee);background:var(--surface,#fff);min-height:38px;color:var(--text,#17365d);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.84rem;font-weight:650;transition:border-color .14s,background .14s,transform .14s;display:inline-flex}.report-export-button:hover:not(:disabled){border-color:#2563eb;transform:translateY(-1px)}.report-export-button.excel:hover:not(:disabled){background:color-mix(in srgb, #16a34a 8%, var(--surface,#fff));border-color:#16a34a}.report-export-button.pdf:hover:not(:disabled){background:color-mix(in srgb, #dc2626 7%, var(--surface,#fff));border-color:#dc2626}.report-export-button:disabled{opacity:.62;cursor:wait}.app[data-theme=dark] .report-export-button{color:#d4e1f0;background:#19283c;border-color:#354961}.app[data-theme=dark] .report-export-button.excel:hover:not(:disabled){background:#203d34;border-color:#438866}.app[data-theme=dark] .report-export-button.pdf:hover:not(:disabled){background:#3e2930;border-color:#a55058}.app[data-theme=dark] .unified-edit-button{color:#adcaeb;background:#1b2d44;border-color:#3b536f}.app[data-theme=dark] .unified-edit-button:hover{background:#223a57;border-color:#527ba6}.unified-operation-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;display:flex}.unified-pagare-button{color:#1d4ed8;font:inherit;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;align-items:center;gap:4px;padding:5px 9px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.unified-pagare-button:hover{background:#dbeafe;border-color:#3b82f6}.app[data-theme=dark] .unified-pagare-button{color:#93c5fd;background:#172554;border-color:#1e3a8a}.app[data-theme=dark] .unified-pagare-button:hover{background:#1e3a8a}.pagare-modal-container{background:#f8fafc;border:1px solid #dce4ed;border-radius:14px;width:min(100%,820px);max-height:94vh;padding:20px;overflow-y:auto;box-shadow:0 20px 60px #0f172a4d}.pagare-success-banner{color:#065f46;background:#ecfdf5;border:1.5px solid #a7f3d0;border-radius:10px;align-items:flex-start;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.pagare-success-banner strong{color:#065f46;font-size:13px;font-weight:800;display:block}.pagare-success-banner p{color:#047857;margin:3px 0 0;font-size:11.5px}.pagare-modal-toolbar{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:12px;display:flex}.pagare-toolbar-left{align-items:center;gap:8px;display:flex}.pagare-toolbar-left h2{color:#0f172a;margin:0;font-size:18px;font-weight:800}.pagare-op-tag{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;font-weight:700}.pagare-format-picker{background:#e2e8f0;border-radius:20px;align-items:center;gap:4px;padding:3px 5px;font-size:11px;display:inline-flex}.pagare-format-pill{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:14px;padding:5px 11px;font-size:11px;font-weight:700;transition:all .15s}.pagare-format-pill.active{color:#1e40af;background:#fff;box-shadow:0 1px 3px #0000001f}.pagare-toolbar-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.pagare-action-btn{color:#334155;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;align-items:center;gap:6px;padding:6px 12px;font-size:11.5px;font-weight:700;transition:all .15s;display:inline-flex}.pagare-action-btn:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.pagare-action-btn.primary{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.pagare-action-btn.primary:hover:not(:disabled){background:#1e40af}.pagare-action-btn.whatsapp{color:#166534;background:#ecfdf5;border-color:#86efac}.pagare-action-btn.whatsapp:hover:not(:disabled){background:#dcfce7}.pagare-action-btn:disabled{opacity:.6;cursor:not-allowed}.pagare-paper-wrapper{background:#e2e8f0;border-radius:10px;max-height:68vh;padding:22px;overflow-y:auto}.pagare-paper-sheet{outline-offset:-5px;color:#0f172a;background:#fff;border:2px solid #1e3a8a;border-radius:4px;outline:1px solid #93c5fd;max-width:680px;margin:0 auto;padding:30px 36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;box-shadow:0 4px 20px #0000001f}.pagare-sheet-header{text-align:center;margin-bottom:12px}.pagare-sheet-logo{object-fit:contain;width:52px;height:52px;margin:0 auto 6px;display:block}.pagare-sheet-header h3{color:#0f172a;margin:0;font-size:16px;font-weight:800}.pagare-sheet-biz-meta{color:#475569;margin:4px 0 0;font-size:10px}.pagare-title-band{text-align:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;margin-bottom:14px;padding:7px}.pagare-title-band h4{color:#0f172a;letter-spacing:.05em;margin:0;font-size:14px;font-weight:800}.pagare-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.pagare-meta-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 10px}.pagare-meta-box span{color:#64748b;letter-spacing:.05em;font-size:8.5px;font-weight:800;display:block}.pagare-meta-box strong{color:#0f172a;margin-top:3px;font-size:13px;font-weight:800;display:block}.pagare-meta-box.highlight{background:#eff6ff;border-color:#bfdbfe}.pagare-meta-box.highlight strong{color:#1d4ed8;font-size:14px}.pagare-legal-body{color:#1e293b;text-align:justify;margin-bottom:12px;font-size:11.5px;line-height:1.6}.pagare-legal-clauses{color:#475569;text-align:justify;margin-bottom:14px;font-size:10px;line-height:1.5}.pagare-schedule-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin:14px 0;padding:10px 12px}.pagare-schedule-section h5{color:#0f172a;margin:0 0 8px;font-size:10.5px;font-weight:800}.pagare-schedule-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px;display:grid}.pagare-cuota-pill{background:#fff;border:1px solid #cbd5e1;border-radius:4px;justify-content:space-between;gap:6px;padding:4px 8px;font-size:9.5px;display:flex}.pagare-cuota-pill strong{color:#0f172a;font-variant-numeric:tabular-nums}.pagare-signatures-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.pagare-sign-box{background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:12px}.pagare-sign-role{color:#0f172a;text-align:center;margin-bottom:30px;font-size:9.5px;font-weight:800;display:block}.pagare-sign-line{background:#94a3b8;height:1px;margin:0 15px 4px}.pagare-sign-lbl{color:#64748b;text-align:center;margin-bottom:8px;font-size:9px;display:block}.pagare-sign-box p{color:#334155;margin:3px 0;font-size:9px}.pagare-sheet-footer{text-align:center;color:#94a3b8;border-top:1px solid #f1f5f9;margin-top:18px;padding-top:8px;font-size:8px}.pagare-cuotas-list-preview{flex-direction:column;gap:12px;max-width:680px;margin:0 auto;display:flex}.pagare-cuotas-info-text{color:#475569;text-align:center;margin-bottom:6px;font-size:11.5px}.pagare-cuota-preview-card{background:#fff;border:1.5px solid #cbd5e1;border-left:5px solid #1d4ed8;border-radius:8px;padding:14px 16px;box-shadow:0 2px 8px #0000000f}.pagare-cuota-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;font-size:12px;display:flex}.pagare-cuota-header strong{color:#1e3a8a;font-weight:800}.pagare-cuota-header span{color:#0f172a;font-weight:700}.pagare-cuota-preview-body{color:#334155;margin-bottom:10px;font-size:11px;line-height:1.5}.pagare-cuota-mini-signs{color:#64748b;border-top:1px dashed #cbd5e1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:8px;font-size:9.5px;display:grid}.app[data-theme=dark] .pagare-modal-container{color:#f1f5f9;background:#0f172a;border-color:#334155}.app[data-theme=dark] .pagare-modal-toolbar h2{color:#f8fafc}.app[data-theme=dark] .pagare-paper-wrapper,.app[data-theme=dark] .pagare-format-picker{background:#1e293b}.app[data-theme=dark] .pagare-format-pill{color:#94a3b8}.app[data-theme=dark] .pagare-format-pill.active{color:#60a5fa;background:#0f172a}.app[data-theme=dark] .pagare-action-btn:not(.primary):not(.whatsapp){color:#e2e8f0;background:#1e293b;border-color:#334155}@media (width<=680px){.report-export-actions{width:100%}.report-export-button{flex:auto}}.sales-entrega-checkbox-box{grid-column:1/-1;margin-top:-4px;margin-bottom:6px}.sales-checkbox-card{cursor:pointer;background:#f0fdf4;border:1.5px solid #86efac;border-radius:8px;align-items:flex-start;gap:12px;padding:12px 14px;transition:all .15s;display:flex}.sales-checkbox-card:hover{background:#dcfce7;border-color:#4ade80}.sales-checkbox-card input[type=checkbox]{accent-color:#16a34a;cursor:pointer;width:18px;height:18px;margin-top:2px}.sales-checkbox-info{flex-direction:column;flex:1;gap:3px;display:flex}.sales-checkbox-title{color:#14532d;align-items:center;gap:8px;font-size:13px;display:flex}.sales-checkbox-pill{text-transform:uppercase;color:#166534;letter-spacing:.04em;background:#bbf7d0;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700}.sales-checkbox-desc{color:#166534;font-size:11.5px;line-height:1.4}.entrega-badge-pill{color:#15803d;background:#dcfce7;border-radius:4px;margin-left:5px;padding:1px 6px;font-size:11px;font-weight:700;display:inline-block}.sales-summary-row.highlight-entrega{background:#f0fdf4;border-left:3px solid #16a34a;border-radius:6px;padding:6px 10px}.row-cuota-entrega{background:#f0fdf4!important}.cuota-entrega-tag{color:#15803d;vertical-align:middle;background:#dcfce7;border:1px solid #86efac;border-radius:4px;margin-left:8px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-block}.pagare-entrega-info-banner{color:#1e40af;background:#eff6ff;border-bottom:1px solid #bfdbfe;align-items:center;gap:12px;padding:10px 16px;font-size:13px;display:flex}.pagare-entrega-recibo-tag{color:#1d4ed8;font-weight:700}.pagare-meta-box.entrega,.pagare-cuota-pill.pagare-cuota-entrega{background:#f0fdf4;border-color:#86efac}.app[data-theme=dark] .sales-checkbox-card{background:#064e3b22;border-color:#059669}.app[data-theme=dark] .sales-checkbox-title{color:#a7f3d0}.app[data-theme=dark] .sales-checkbox-desc{color:#6ee7b7}.app[data-theme=dark] .pagare-entrega-info-banner{color:#93c5fd;background:#1e3a8a33;border-color:#1e3a8a}.collections-module{color:#25364c;flex-direction:column;gap:18px;min-width:0;display:flex}.collections-header,.collections-section-heading,.collections-modal-heading,.collections-receipt-toolbar,.collections-row-actions,.collections-operation-heading,.collections-subsection-heading,.collections-select-installments-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.collections-header h1,.collections-header p,.collections-section-heading h2,.collections-section-heading p,.collections-modal-heading h2,.collections-modal-heading span,.collections-receipt-toolbar h2{margin:0}.collections-header h1{color:#1d3553;margin-top:3px;font-size:27px}.collections-header>div>p:last-child{color:#78879a;margin-top:7px;font-size:14px}.collections-eyebrow{color:#6d85a2;letter-spacing:.12em;margin:0;font-size:10px;font-weight:800}.collections-primary-button,.collections-secondary-button,.collections-row-actions button,.collections-select-installments-heading button,.receipt-open-button,.collections-receipt-actions button{min-height:38px;font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:700;display:inline-flex}.collections-primary-button{color:#fff;background:#2168b8}.collections-primary-button:hover{background:#17599f}.collections-primary-button:disabled{opacity:.55;cursor:not-allowed}.collections-secondary-button{color:#49607b;background:#f3f6fa;border-color:#dce4ee}.collections-tabs{border-bottom:1px solid #e1e7ef;gap:5px;display:flex;overflow-x:auto}.collections-tabs button{color:#78889b;min-height:42px;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:8px;padding:0 13px;font-size:13px;font-weight:700;display:inline-flex}.collections-tabs button.active{color:#245f9e;border-bottom-color:#2875c5}.collections-notice{border:1px solid;border-radius:9px;align-items:center;gap:9px;padding:11px 14px;font-size:13px;display:flex}.collections-notice.success{color:#28774d;background:#effaf3;border-color:#c7e7d5}.collections-notice.error{color:#a83d3d;background:#fff3f3;border-color:#f0cdcd}.collections-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.collections-metric{background:#fff;border:1px solid #e2e8f0;border-top:3px solid #528dd0;border-radius:11px;min-width:0;padding:15px 17px;box-shadow:0 3px 12px #19304d09}.collections-metric-top{color:#74859b;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.collections-metric-top svg{color:#6487ad}.collections-metric strong{overflow-wrap:anywhere;color:#233953;font-variant-numeric:tabular-nums;margin-top:11px;font-size:22px;display:block}.collections-metric.collected{border-top-color:#32a275}.collections-metric.month{border-top-color:#4288d1}.collections-metric.balance{border-top-color:#7868c0}.collections-metric.overdue{border-top-color:#d35a5a}.collections-metric.today{border-top-color:#df9a30}.collections-metric.upcoming{border-top-color:#3da2aa}.collections-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;padding:19px;box-shadow:0 3px 12px #19304d09}.collections-section-heading{flex-wrap:wrap;margin-bottom:16px}.collections-section-heading h2{color:#293e59;font-size:17px}.collections-section-heading p{color:#8391a3;margin-top:5px;font-size:12px}.collections-result-count{color:#78899d;font-size:12px}.collections-search{color:#8292a6;border:1px solid #dce4ed;border-radius:8px;align-items:center;gap:9px;width:min(100%,390px);min-height:40px;padding:0 11px;display:flex}.collections-search input{color:#32465f;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:12px}.collections-search.full{width:100%;margin-bottom:12px}.collections-table-wrap{width:100%;overflow-x:auto}.collections-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.collections-table th{color:#8190a3;letter-spacing:.04em;white-space:nowrap;border-bottom:1px solid #e6ebf1;padding:11px 9px;font-size:10px;font-weight:800}.collections-table td{color:#53657c;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #edf0f4;padding:12px 9px}.collections-table tbody tr:last-child td{border-bottom:0}.collections-table td strong,.collections-table td small{display:block}.collections-table td strong{color:#334962;font-size:12px}.collections-table td small{color:#8997a8;text-overflow:ellipsis;max-width:200px;margin-top:4px;font-size:10px;overflow:hidden}.collections-table td.collection-amount{color:#235d99;font-variant-numeric:tabular-nums;font-weight:800}.collection-account-status,.collection-installment-status{border-radius:20px;align-items:center;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.collection-account-status.current{color:#366d9e;background:#eaf4ff}.collection-account-status.late{color:#b64e42;background:#fff0ed}.collection-row-actions{justify-content:flex-end;gap:5px}.collections-row-actions button{color:#4c6683;background:#fff;border-color:#dce5ef;min-height:31px;padding:6px 9px}.collections-row-actions button.collect-small-button,.collect-small-button{color:#2465a8;background:#eff6ff;border-color:#cde0f6}.collections-row-actions button:hover,.collect-small-button:hover{filter:brightness(.97)}.collect-small-button{min-height:32px;font:inherit;cursor:pointer;border:1px solid #cde0f6;border-radius:7px;padding:6px 10px;font-size:11px;font-weight:800}.collections-empty{color:#8a98a9;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:185px;padding:20px;display:flex}.collections-empty strong{color:#52667e;font-size:13px}.collections-empty span{font-size:12px}.collections-empty.compact{min-height:95px}.collections-client-layout{grid-template-columns:minmax(270px,.72fr) minmax(0,1.45fr);align-items:start;gap:15px;display:grid}.collections-client-list-panel{padding:16px}.collections-client-list{flex-direction:column;gap:5px;max-height:620px;display:flex;overflow-y:auto}.collections-client-choice{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;width:100%;padding:10px 8px;display:flex}.collections-client-choice:hover,.collections-client-choice.selected{background:#f3f8fe;border-color:#d7e6f7}.collections-avatar{color:#356caa;background:#e8f0fb;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:14px;font-weight:800;display:grid}.collections-avatar.large{width:49px;height:49px;font-size:18px}.collections-client-choice-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.collections-client-choice-copy strong{color:#354a64;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.collections-client-choice-copy small{color:#8391a3;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.collections-client-balance{color:#536a86;white-space:nowrap;font-size:10px;font-weight:700}.collections-customer-profile{border-bottom:1px solid #edf0f4;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-bottom:16px;display:flex}.collections-customer-profile-left{align-items:center;gap:13px;min-width:0;display:flex}.collections-customer-profile h2{color:#293e59;margin:4px 0;font-size:18px}.collections-customer-profile-left>div>span{color:#8190a3;font-size:11px}.collections-customer-summary-cards{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.collections-summary-pill{text-align:right;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:2px;min-width:105px;padding:7px 11px;font-size:12px;display:flex}.collections-summary-pill small{color:#64748b;text-transform:uppercase;letter-spacing:.02em;font-size:10px;font-weight:700}.collections-summary-pill strong{color:#1e293b;font-variant-numeric:tabular-nums;font-size:13px}.collections-summary-pill.highlight{background:#eff6ff;border-color:#bfdbfe}.collections-summary-pill.highlight strong{color:#1d4ed8;font-size:14px}.collections-customer-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 6px;display:flex}.collections-action-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;align-items:center;gap:7px;padding:8px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.collections-action-btn.wa{color:#fff;background:#25d366;border-color:#20ba5a}.collections-action-btn.wa:hover{background:#1eb857}.collections-action-btn.pdf{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.collections-action-btn.pdf:hover{background:#dbeafe}.collections-action-btn.copy{color:#475569;background:#f8fafc;border-color:#e2e8f0}.collections-action-btn.copy:hover{background:#f1f5f9}.collections-profile-balance{color:#265e98;font-size:14px;font-weight:800}.collections-cash-closure-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:18px;padding:18px 20px;box-shadow:0 1px 3px #0000000a}.cash-closure-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.cash-closure-title{align-items:center;gap:12px;display:flex}.cash-closure-icon{color:#2563eb;background:#eff6ff;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.cash-closure-title h3{color:#1e293b;margin:0;font-size:15px}.cash-closure-title p{color:#64748b;text-transform:capitalize;margin:2px 0 0;font-size:11px}.cash-closure-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cash-closure-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;align-items:center;gap:6px;padding:7px 13px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.cash-closure-btn.wa{color:#fff;background:#25d366;border-color:#20ba5a}.cash-closure-btn.wa:hover{background:#1eb857}.cash-closure-btn.copy{color:#334155;background:#f8fafc;border-color:#cbd5e1}.cash-closure-btn.copy:hover{background:#f1f5f9}.cash-closure-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.cash-closure-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.cash-closure-pill-header{color:#64748b;justify-content:space-between;align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.cash-closure-pill strong{color:#1e293b;font-variant-numeric:tabular-nums;font-size:17px}.cash-closure-pill.cash{background:#f0fdf4;border-color:#bbf7d0}.cash-closure-pill.cash strong{color:#15803d}.cash-closure-pill.bank{background:#f0f9ff;border-color:#bae6fd}.cash-closure-pill.bank strong{color:#0369a1}.cash-closure-pill.total{background:#eff6ff;border-color:#bfdbfe}.cash-closure-pill.total strong{color:#1d4ed8}.cash-closure-details{border-top:1px solid #f1f5f9;margin-top:14px;padding-top:10px}.cash-closure-details summary{color:#2563eb;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:12px;font-weight:600}.cash-closure-details summary:hover{text-decoration:underline}.cash-closure-list{flex-direction:column;gap:8px;max-height:220px;margin-top:10px;display:flex;overflow-y:auto}.cash-closure-item{background:#fff;border:1px solid #edf2f7;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:12px;display:flex}.cash-closure-item-info{flex-direction:column;gap:2px;display:flex}.cash-closure-item-info strong{color:#1e293b}.cash-closure-item-info small{color:#64748b;font-size:11px}.cash-closure-item-amount{text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.cash-closure-item-amount strong{color:#1e293b;font-variant-numeric:tabular-nums}.cash-closure-badge{border-radius:4px;padding:1px 6px;font-size:10px;font-weight:600}.cash-closure-badge.cash{color:#166534;background:#dcfce7}.cash-closure-badge.bank{color:#075985;background:#e0f2fe}.collections-op-financial-row{color:#64748b;flex-wrap:wrap;gap:12px;margin-top:4px;font-size:11px;display:flex}.collections-op-financial-row span strong{color:#1e293b;font-variant-numeric:tabular-nums}.collections-contact-grid{border-bottom:1px solid #edf0f4;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px 0;display:grid}.collections-contact-grid span{color:#4e627b;text-overflow:ellipsis;font-size:11px;overflow:hidden}.collections-contact-grid small{color:#8a98a9;margin-bottom:5px;font-size:10px;display:block}.collections-subsection-heading{margin:17px 0 9px}.collections-subsection-heading h3{color:#384e68;margin:0;font-size:13px}.collections-subsection-heading>span{color:#55718f;background:#edf3fa;border-radius:50%;place-items:center;width:23px;height:23px;font-size:10px;display:grid}.collections-operation-detail{border:1px solid #e8edf3;border-radius:9px;margin-bottom:11px;padding:12px}.collections-operation-heading>div{flex-direction:column;gap:5px;min-width:0;display:flex}.collections-operation-heading strong{color:#405670;font-size:12px}.collections-operation-heading span{color:#8795a6;font-size:10px}.collections-installment-list{margin-top:10px}.collections-installment{color:#566981;border-top:1px solid #f0f2f5;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:9px 0;font-size:11px;display:grid}.collections-installment>span:nth-child(2){text-align:right;font-weight:700}.collections-installment small{color:#8a98a9;margin-top:3px;font-size:10px;font-weight:400;display:block}.collection-installment-status.pendiente{color:#5279a1;background:#eef5fc}.collection-installment-status.hoy{color:#ae761f;background:#fff5e6}.collection-installment-status.vencida,.collection-installment-status.parcial-vencida{color:#b64e42;background:#fff0ed}.collection-installment-status.parcial{color:#735da9;background:#f2effb}.collection-installment-status.pagada{color:#37835b;background:#edf8f1}.collections-client-payment-list{flex-direction:column;display:flex}.collections-client-payment-list button{color:#526780;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px;display:flex}.collections-client-payment-list button span{font-size:11px}.collections-client-payment-list button small{color:#8997a8;margin-top:4px;font-size:10px;display:block}.collections-client-payment-list button strong{color:#285e97;white-space:nowrap;font-size:12px}.collections-history-filters{grid-template-columns:minmax(130px,.8fr) minmax(130px,.8fr) minmax(180px,1.35fr) minmax(150px,.8fr) minmax(140px,.8fr);gap:9px;margin-bottom:15px;display:grid}.collections-history-filters label,.collections-form-field{color:#667990;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:700;display:flex}.collections-history-filters input,.collections-history-filters select,.collections-form-field input,.collections-form-field select,.collections-form-field textarea{color:#354a64;width:100%;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #dce4ed;border-radius:7px;outline-color:#8ab7e6;padding:8px 10px;font-size:12px;font-weight:400}.collections-form-field textarea{resize:vertical}.collections-history-table td{white-space:normal}.collections-history-table td small{max-width:250px}.receipt-open-button{color:#3c6e9e;background:#f7faff;border-color:#dbe6f1;min-height:31px;padding:6px 8px;font-size:10px}.reverse-payment-button{color:#a54a3d;min-height:31px;font:inherit;cursor:pointer;background:#fff8f6;border:1px solid #f0d7d2;border-radius:7px;align-items:center;gap:5px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-flex}.collection-reversal-tag{color:#a84b42;font-size:10px;font-weight:700}.collections-modal-backdrop{z-index:50;background:#070f1ba1;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow-y:auto}.collections-modal{background:#fff;border:1px solid #e0e7ef;border-radius:14px;width:min(100%,640px);max-height:min(92vh,850px);padding:22px;overflow-y:auto;box-shadow:0 18px 70px #00000047}.collections-modal-heading{align-items:flex-start;margin-bottom:17px}.collections-modal-heading h2{color:#2b405c;margin-top:4px;font-size:20px}.collections-modal-heading span{color:#8190a2;margin-top:5px;font-size:11px;display:block}.collections-icon-button{color:#62758d;cursor:pointer;background:#fff;border:1px solid #e0e6ee;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.collections-form-field{margin-bottom:12px}.collections-modal-info{color:#465e79;background:#f4f8fc;border-radius:8px;justify-content:space-between;gap:14px;margin:10px 0;padding:11px 12px;font-size:11px;display:flex}.collections-modal-info span:last-child{text-align:right}.collections-modal-info small{color:#7e8fa3;margin-top:4px;font-size:10px;display:block}.collections-select-installments-heading{margin:14px 0 8px}.collections-select-installments-heading strong{color:#3c526c;font-size:12px}.collections-select-installments-heading button{color:#2467ad;background:0 0;min-height:29px;padding:5px 8px;font-size:10px}.collections-select-installments{flex-direction:column;gap:5px;max-height:175px;display:flex;overflow-y:auto}.collections-select-installment{cursor:pointer;border:1px solid #e4e9ef;border-radius:8px;align-items:center;gap:9px;min-height:49px;padding:7px 9px;display:flex}.collections-select-installment.selected{background:#f4f9ff;border-color:#9fc2e7}.collections-select-installment input{opacity:0;width:1px;height:1px;position:absolute}.collections-installment-check{color:#0000;border:1px solid #becbd9;border-radius:5px;flex:0 0 18px;place-items:center;width:18px;height:18px;display:grid}.collections-select-installment.selected .collections-installment-check{color:#fff;background:#3178c2;border-color:#3178c2}.collections-select-installment-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.collections-select-installment-copy strong{color:#435a74;font-size:11px}.collections-select-installment-copy small{color:#8594a7;font-size:10px}.collections-select-installment>strong{color:#344c68;white-space:nowrap;font-size:11px}.collections-selected-balance{color:#697e96;background:#eff5fb;border-radius:7px;justify-content:space-between;gap:10px;margin:9px 0 15px;padding:9px 11px;font-size:11px;display:flex}.collections-selected-balance strong{color:#2d639a;font-variant-numeric:tabular-nums}.collections-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.collections-form-field.full{grid-column:1/-1}.collections-modal-actions{justify-content:flex-end;gap:9px;margin-top:17px;display:flex}.collections-reversal-summary{color:#624a46;background:#fff8f6;border:1px solid #eedbd6;border-radius:8px;justify-content:space-between;gap:14px;margin-bottom:17px;padding:13px;font-size:12px;display:flex}.collections-reversal-summary small{color:#987f79;margin-top:5px;font-size:10px;display:block}.collections-reversal-summary strong{color:#a64b3f;white-space:nowrap}.collections-reverse-confirm-button{color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#b94e42;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-size:12px;font-weight:700;display:inline-flex}.collections-reverse-confirm-button:disabled{opacity:.55;cursor:not-allowed}.collections-receipt-modal{background:#f1f4f8;border:1px solid #dce4ed;border-radius:13px;width:min(100%,780px);max-height:94vh;padding:17px;overflow-y:auto;box-shadow:0 18px 70px #0000004d}.collections-receipt-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.collections-receipt-toolbar h2{color:#2b405c;font-size:17px}.collections-receipt-toolbar>div:first-child>span{color:#8190a2;margin-top:5px;font-size:11px;display:block}.collections-receipt-format-picker{color:#475569;background:#e2e8f0;border-radius:20px;align-items:center;gap:5px;padding:3px 6px;font-size:11px;display:inline-flex}.format-pill{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:12px;padding:4px 8px;font-size:10px;font-weight:700;transition:all .15s}.format-pill.active{color:#1d4ed8;background:#fff;box-shadow:0 1px 3px #0000001f}.collections-receipt-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.collections-receipt-actions button:not(.collections-icon-button){color:#3b536f;cursor:pointer;background:#fff;border-color:#d8e1eb;border-radius:6px;align-items:center;gap:5px;min-height:33px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.collections-receipt-actions button:not(.collections-icon-button):hover{background:#f8fafc;border-color:#cbd5e1}.collections-receipt-paper{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:min(100%,540px);margin:0 auto;padding:28px 30px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;transition:all .2s;box-shadow:0 10px 30px #0f172a14}.collections-receipt-paper.ticket-80{border-radius:6px;width:320px;max-width:100%;padding:16px 12px;font-size:11.5px;box-shadow:0 4px 15px #0000001a}.collections-receipt-paper.ticket-58{border-radius:4px;width:250px;max-width:100%;padding:12px 8px;font-size:10.5px;box-shadow:0 4px 15px #0000001a}.collections-receipt-brand{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.receipt-brand-logo{object-fit:contain;border-radius:8px;width:60px;height:60px;margin-bottom:4px}.ticket-80 .receipt-brand-logo,.ticket-58 .receipt-brand-logo{width:42px;height:42px}.receipt-brand-name{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:20px;font-weight:800}.ticket-80 .receipt-brand-name{font-size:16px}.ticket-58 .receipt-brand-name{font-size:14px}.receipt-brand-sub{color:#64748b;font-size:11px;font-weight:500}.collections-receipt-business-details{color:#64748b;flex-wrap:wrap;justify-content:center;gap:6px 12px;margin-top:6px;font-size:10px;display:flex}.receipt-header-custom-text{color:#475569;margin:6px 0 0;font-size:11px;font-style:italic}.receipt-status-ribbon{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin:16px 0 12px;padding:8px 12px;display:flex}.ticket-80 .receipt-status-ribbon,.ticket-58 .receipt-status-ribbon{flex-direction:column;align-items:flex-start;gap:5px;padding:6px 8px}.receipt-type-badge{letter-spacing:.05em;border-radius:6px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.receipt-type-badge.normal{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.receipt-type-badge.entrega{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.receipt-type-badge.reversal{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.receipt-ribbon-meta{color:#64748b;flex-direction:column;align-items:flex-end;font-size:10.5px;display:flex}.ticket-80 .receipt-ribbon-meta,.ticket-58 .receipt-ribbon-meta{align-items:flex-start}.receipt-number-tag{color:#334155;font-size:11.5px}.receipt-number-tag strong{color:#1e3a8a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.receipt-date-tag{color:#64748b;margin-top:1px;font-size:10px}.receipt-hero-card{text-align:center;background:#f0fdf4;border:1.5px solid #86efac;border-radius:12px;margin:12px 0 16px;padding:14px 16px;box-shadow:0 2px 8px #10b9810f}.ticket-80 .receipt-hero-card{padding:10px 12px}.ticket-58 .receipt-hero-card{padding:8px 10px}.receipt-hero-label{letter-spacing:.08em;color:#15803d;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:800;display:block}.receipt-hero-amount{color:#14532d;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:28px;font-weight:900;line-height:1.15}.ticket-80 .receipt-hero-amount{font-size:22px}.ticket-58 .receipt-hero-amount{font-size:18px}.receipt-hero-pill-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:8px;display:flex}.receipt-hero-pill{color:#166534;background:#fff;border:1px solid #86efac;border-radius:20px;align-items:center;gap:4px;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.receipt-hero-pill.bank{color:#334155;border-color:#cbd5e1}.receipt-installments-section{margin:14px 0}.receipt-section-header{letter-spacing:.08em;color:#64748b;text-transform:uppercase;border-bottom:1px solid #f1f5f9;margin-bottom:8px;padding-bottom:4px;font-size:9.5px;font-weight:800}.receipt-installments-list{flex-direction:column;gap:7px;display:flex}.receipt-cuota-card{background:#fff;border:1.5px solid #cbd5e1;border-left:5px solid #16a34a;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.receipt-cuota-card.highlight-entrega-card{background:#f8faff;border-left-color:#2563eb}.receipt-summary-row.highlight-entrega-row{background:#f0fdf4;border-left:3px solid #10b981;border-radius:4px;padding:3px 6px}.ticket-80 .receipt-cuota-card,.ticket-58 .receipt-cuota-card{border-left-width:4px;gap:8px;padding:7px 9px}.receipt-cuota-left{flex-direction:column;gap:2px;display:flex}.receipt-cuota-badge{color:#0f172a;letter-spacing:.02em;font-size:13px;font-weight:800}.ticket-80 .receipt-cuota-badge{font-size:12px}.ticket-58 .receipt-cuota-badge{font-size:11px}.receipt-cuota-tag{font-size:10px;font-weight:600}.receipt-cuota-tag.paid{color:#15803d}.receipt-cuota-tag.partial{color:#b45309}.receipt-cuota-amount{color:#0f172a;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px;font-weight:800}.ticket-80 .receipt-cuota-amount{font-size:13px}.ticket-58 .receipt-cuota-amount{font-size:12px}.receipt-client-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:14px 0;padding:12px 14px}.ticket-80 .receipt-client-card,.ticket-58 .receipt-client-card{padding:9px 10px}.receipt-client-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;display:grid}.ticket-80 .receipt-client-grid,.ticket-58 .receipt-client-grid{grid-template-columns:minmax(0,1fr);gap:7px}.receipt-grid-item{flex-direction:column;gap:2px;display:flex}.receipt-grid-item.full{grid-column:1/-1}.receipt-grid-lbl{letter-spacing:.06em;color:#64748b;text-transform:uppercase;font-size:9px;font-weight:800}.receipt-grid-val{color:#334155;word-break:break-word;font-size:12px;font-weight:600}.receipt-grid-val.highlight{color:#0f172a;font-size:14px;font-weight:800}.collections-receipt-financial-summary.modern{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:7px;margin:14px 0;padding:12px 14px;font-size:11px;display:flex}.ticket-80 .collections-receipt-financial-summary.modern,.ticket-58 .collections-receipt-financial-summary.modern{gap:5px;padding:9px 10px;font-size:10.5px}.receipt-summary-row{color:#64748b;justify-content:space-between;align-items:center;display:flex}.receipt-summary-row strong{color:#1e293b;font-variant-numeric:tabular-nums;font-size:12px}.receipt-summary-row.received{color:#0f172a;border-top:1px dashed #cbd5e1;padding-top:6px}.receipt-summary-row.received strong{color:#16a34a;font-size:15px;font-weight:800}.receipt-summary-row.final{color:#0f172a;border-top:1px solid #cbd5e1;padding-top:6px}.receipt-summary-row.final strong{color:#0f172a;font-size:13px;font-weight:800}.receipt-summary-row.final.cleared{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;margin:2px -6px -2px;padding:6px 8px}.receipt-summary-row.final.cleared strong{color:#047857;font-size:13px;font-weight:800}.receipt-operator-line{color:#64748b;text-align:right;margin-top:6px;font-size:10.5px}.receipt-operator-line strong{color:#334155}.receipt-note-box{color:#92400e;background:#fffbeb;border:1px solid #fef3c7;border-radius:8px;margin:12px 0 6px;padding:8px 12px;font-size:11px}.receipt-note-title{margin-right:4px;font-weight:700}.receipt-note-box p{color:#78350f;margin:3px 0 0;line-height:1.4}.collections-receipt-thanks{color:#475569;text-align:center;margin:16px 0 0;font-size:11px;font-weight:500}.receipt-legal-footer{text-align:center;margin-top:16px}.receipt-security-bar{opacity:.8;background:linear-gradient(90deg,#10b981 0%,#3b82f6 50%,#6366f1 100%);border-radius:2px;height:3px;margin-bottom:8px}.collections-receipt-legal{color:#94a3b8;text-align:center;margin:0;font-size:8.5px;line-height:1.4}.collections-receipt-rule{background:#dfe5ec;height:1px;margin:15px 0}.collections-receipt-label{color:#8795a5;letter-spacing:.11em;margin:14px 0 6px;font-size:9px;font-weight:800}.collections-receipt-contact{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:12px;display:grid}.collections-receipt-contact span{color:#8996a6;font-size:10px}.collections-receipt-contact strong{color:#435872;margin-top:4px;font-size:11px;font-weight:600;display:block}.collections-receipt-operation{color:#4d627b;flex-direction:column;gap:9px;font-size:11px;display:flex}.collections-receipt-operation>strong{color:#3a506a}.collections-receipt-operation>span{color:#738399;justify-content:space-between;gap:10px;padding-left:10px;display:flex}.collections-receipt-operation>span strong{color:#425a75;white-space:nowrap}.collections-receipt-total{color:#59718c;background:#edf5fd;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-top:17px;padding:13px 14px;font-size:12px;display:flex}.collections-receipt-total strong{color:#215f9e;font-variant-numeric:tabular-nums;font-size:17px}.collections-receipt-observations{color:#738399;margin:14px 0 0;font-size:10px;line-height:1.5}.app[data-theme=dark] .collections-module{color:#dce6f4}.app[data-theme=dark] .collections-header h1,.app[data-theme=dark] .collections-section-heading h2,.app[data-theme=dark] .collections-modal-heading h2,.app[data-theme=dark] .collections-receipt-toolbar h2,.app[data-theme=dark] .collections-customer-profile h2,.app[data-theme=dark] .collections-subsection-heading h3{color:#e0eaf7}.app[data-theme=dark] .collections-header>div>p:last-child,.app[data-theme=dark] .collections-section-heading p,.app[data-theme=dark] .collections-modal-heading span,.app[data-theme=dark] .collections-customer-profile>div>span{color:#97a9c0}.app[data-theme=dark] .collections-tabs{border-color:#2b3c53}.app[data-theme=dark] .collections-tabs button{color:#9baec4}.app[data-theme=dark] .collections-tabs button.active{color:#a9ccff}.app[data-theme=dark] .collections-metric,.app[data-theme=dark] .collections-panel{box-shadow:none;background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .collections-metric-top,.app[data-theme=dark] .collections-result-count{color:#9aabc1}.app[data-theme=dark] .collections-metric strong{color:#e0eaf7}.app[data-theme=dark] .collections-search,.app[data-theme=dark] .collections-history-filters input,.app[data-theme=dark] .collections-history-filters select{border-color:#34485f}.app[data-theme=dark] .collections-search input,.app[data-theme=dark] .collections-history-filters input,.app[data-theme=dark] .collections-history-filters select{color:#e0eaf7;background:#101a2a}.app[data-theme=dark] .collections-table th{color:#99abc1;border-color:#304158}.app[data-theme=dark] .collections-table td{color:#a9b8cb;border-color:#2a3a51}.app[data-theme=dark] .collections-table td strong{color:#d7e2f0}.app[data-theme=dark] .collections-table td.collection-amount,.app[data-theme=dark] .collections-profile-balance{color:#a9ccff}.app[data-theme=dark] .collections-table td small{color:#8b9db4}.app[data-theme=dark] .collections-row-actions button{color:#b9cbe0;background:#17263a;border-color:#364a62}.app[data-theme=dark] .collections-row-actions button.collect-small-button,.app[data-theme=dark] .collect-small-button{color:#a9ccff;background:#1a2c43;border-color:#355373}.app[data-theme=dark] .collections-empty strong{color:#d6e1ef}.app[data-theme=dark] .collections-client-choice:hover,.app[data-theme=dark] .collections-client-choice.selected{background:#192a40;border-color:#355475}.app[data-theme=dark] .collections-client-choice-copy strong,.app[data-theme=dark] .collections-client-balance,.app[data-theme=dark] .collections-operation-heading strong,.app[data-theme=dark] .collections-select-installments-heading strong{color:#d5e1f0}.app[data-theme=dark] .collections-client-choice-copy small,.app[data-theme=dark] .collections-contact-grid small,.app[data-theme=dark] .collections-installment small,.app[data-theme=dark] .collections-operation-heading span{color:#93a5bc}.app[data-theme=dark] .collections-contact-grid span,.app[data-theme=dark] .collections-installment{color:#b2c0d2}.app[data-theme=dark] .collections-customer-profile,.app[data-theme=dark] .collections-contact-grid,.app[data-theme=dark] .collections-installment,.app[data-theme=dark] .collections-client-payment-list button,.app[data-theme=dark] .collections-operation-detail{border-color:#2b3c53}.app[data-theme=dark] .collections-installment-status.pendiente{color:#a2c5e7;background:#20354c}.app[data-theme=dark] .collections-installment-status.hoy{color:#edc076;background:#47361d}.app[data-theme=dark] .collections-installment-status.vencida,.app[data-theme=dark] .collections-installment-status.parcial-vencida{color:#f1a1a1;background:#482a2e}.app[data-theme=dark] .collections-installment-status.parcial{color:#c6b3f4;background:#372f4c}.app[data-theme=dark] .collections-installment-status.pagada{color:#92d4ae;background:#203d34}.app[data-theme=dark] .collections-client-payment-list button{color:#b5c3d5}.app[data-theme=dark] .collections-client-payment-list button strong{color:#a9ccff}.app[data-theme=dark] .collections-history-filters label,.app[data-theme=dark] .collections-form-field{color:#a8b8ca}.app[data-theme=dark] .receipt-open-button{color:#a9ccff;background:#18283d;border-color:#354c67}.app[data-theme=dark] .reverse-payment-button{color:#f0a9a3;background:#34252d;border-color:#694044}.app[data-theme=dark] .collection-reversal-tag{color:#f0a9a3}.app[data-theme=dark] .collections-modal{background:#131f32;border-color:#334760}.app[data-theme=dark] .collections-modal-info,.app[data-theme=dark] .collections-selected-balance{color:#a8b9cf;background:#1b2d44}.app[data-theme=dark] .collections-summary-pill{background:#101a2a;border-color:#24354b}.app[data-theme=dark] .collections-summary-pill small{color:#8ea3bd}.app[data-theme=dark] .collections-summary-pill strong{color:#e2e8f0}.app[data-theme=dark] .collections-summary-pill.highlight{background:#17253d;border-color:#2b4974}.app[data-theme=dark] .collections-summary-pill.highlight strong{color:#93c5fd}.app[data-theme=dark] .collections-op-financial-row{color:#8ea3bd}.app[data-theme=dark] .collections-op-financial-row span strong{color:#e2e8f0}.app[data-theme=dark] .collections-action-btn.wa{color:#fff;background:#15803d;border-color:#166534}.app[data-theme=dark] .collections-action-btn.wa:hover{background:#16a34a}.app[data-theme=dark] .collections-action-btn.pdf{color:#93c5fd;background:#172554;border-color:#1e3a8a}.app[data-theme=dark] .collections-action-btn.pdf:hover{background:#1e3a8a}.app[data-theme=dark] .collections-action-btn.copy{color:#cbd5e1;background:#1e293b;border-color:#334155}.app[data-theme=dark] .collections-action-btn.copy:hover{background:#334155}.app[data-theme=dark] .collections-cash-closure-panel{background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .cash-closure-title h3{color:#e2e8f0}.app[data-theme=dark] .cash-closure-title p{color:#8fa2b8}.app[data-theme=dark] .cash-closure-icon{color:#93c5fd;background:#1e3a5f}.app[data-theme=dark] .cash-closure-btn.copy{color:#cbd5e1;background:#1e293b;border-color:#334155}.app[data-theme=dark] .cash-closure-btn.copy:hover{background:#28374d}.app[data-theme=dark] .cash-closure-pill{background:#101a2a;border-color:#24354b}.app[data-theme=dark] .cash-closure-pill.cash{background:#064e3b;border-color:#047857}.app[data-theme=dark] .cash-closure-pill.cash strong{color:#86efac}.app[data-theme=dark] .cash-closure-pill.bank{background:#0c4a6e;border-color:#0369a1}.app[data-theme=dark] .cash-closure-pill.bank strong{color:#7dd3fc}.app[data-theme=dark] .cash-closure-pill.total{background:#172554;border-color:#1e3a8a}.app[data-theme=dark] .cash-closure-pill.total strong{color:#93c5fd}.app[data-theme=dark] .cash-closure-details{border-top-color:#24354b}.app[data-theme=dark] .cash-closure-details summary{color:#93c5fd}.app[data-theme=dark] .cash-closure-item{background:#101a2a;border-color:#24354b}.app[data-theme=dark] .cash-closure-item-info strong,.app[data-theme=dark] .cash-closure-item-amount strong{color:#e2e8f0}.app[data-theme=dark] .cash-closure-item-info small{color:#8fa2b8}.app[data-theme=dark] .collections-receipt-format-picker{color:#94a3b8;background:#1c2b42}.app[data-theme=dark] .format-pill{color:#94a3b8}.app[data-theme=dark] .format-pill.active{color:#fff;background:#2563eb}.app[data-theme=dark] .collections-receipt-financial-summary{background:#101a2a;border-color:#24354b}.app[data-theme=dark] .receipt-summary-row{color:#8ea3bd}.app[data-theme=dark] .receipt-summary-row strong{color:#e2e8f0}.app[data-theme=dark] .receipt-summary-row.received{color:#f1f5f9;border-top-color:#24354b}.app[data-theme=dark] .receipt-summary-row.received strong{color:#4ade80}.app[data-theme=dark] .receipt-summary-row.final{color:#f1f5f9;border-top-color:#24354b}.app[data-theme=dark] .receipt-summary-row.final strong{color:#e2e8f0}.app[data-theme=dark] .collections-modal-info small{color:#95a8c0}.app[data-theme=dark] .collections-reversal-summary{color:#e6c4c1;background:#34252d;border-color:#633c42}.app[data-theme=dark] .collections-reversal-summary small{color:#c29e9a}.app[data-theme=dark] .collections-reversal-summary strong{color:#f0a9a3}.app[data-theme=dark] .collections-form-field input,.app[data-theme=dark] .collections-form-field select,.app[data-theme=dark] .collections-form-field textarea{color:#e2ebf7;background:#0e1828;border-color:#354a63}.app[data-theme=dark] .collections-secondary-button,.app[data-theme=dark] .collections-icon-button{color:#b9c9dd;background:#19283c;border-color:#354961}.app[data-theme=dark] .collections-select-installment{border-color:#34485f}.app[data-theme=dark] .collections-select-installment.selected{background:#182b43;border-color:#426b96}.app[data-theme=dark] .collections-select-installment-copy strong,.app[data-theme=dark] .collections-select-installment>strong{color:#d4e1f0}.app[data-theme=dark] .collections-select-installment-copy small{color:#95a8c0}.app[data-theme=dark] .collections-selected-balance strong{color:#a9ccff}@media (width<=1120px){.collections-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.collections-history-filters .history-client-filter{grid-column:span 2}}@media (width<=900px){.collections-client-layout{grid-template-columns:minmax(0,1fr)}.collections-client-list{max-height:300px}}@media (width<=650px){.collections-header{flex-direction:column;align-items:flex-start}.collections-header>.collections-primary-button{width:100%}.collections-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.collections-metric{padding:12px}.collections-metric strong{font-size:18px}.collections-panel{padding:13px}.collections-section-heading{flex-direction:column;align-items:stretch}.collections-search{width:100%}.collections-profile-balance{font-size:13px}.collections-contact-grid,.collections-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.collections-history-filters .history-client-filter{grid-column:1/-1}.collections-modal{padding:16px}.collections-form-grid{grid-template-columns:minmax(0,1fr)}.collections-form-field.full{grid-column:auto}.collections-receipt-toolbar{flex-direction:column;align-items:flex-start}.collections-receipt-actions{flex-wrap:wrap}.collections-receipt-paper{padding:24px 18px}.collections-installment{grid-template-columns:minmax(0,1fr) auto}.collections-installment-status{grid-column:1/-1;justify-self:start}}@media (width<=390px){.collections-metric-top{align-items:flex-start;font-size:10px}.collections-metric-top svg{width:15px}.collections-metric strong{font-size:16px}.collections-history-filters{grid-template-columns:minmax(0,1fr)}.collections-history-filters .history-client-filter{grid-column:auto}.collections-receipt-contact{grid-template-columns:minmax(0,1fr)}.collections-modal-actions{flex-direction:column-reverse}.collections-modal-actions button{width:100%}}@page{size:A4;margin:14mm}@media print{body:has(.receipt-backdrop) *{visibility:hidden!important}body:has(.receipt-backdrop) .collections-modal-backdrop.receipt-backdrop{visibility:visible!important}body:has(.receipt-backdrop) .collections-receipt-modal{visibility:visible!important}body:has(.receipt-backdrop) .collections-receipt-paper{visibility:visible!important}body:has(.receipt-backdrop) .collections-receipt-paper *{visibility:visible!important}body:has(.receipt-backdrop) .collections-modal-backdrop.receipt-backdrop{background:0 0;padding:0;display:block;position:static;overflow:visible}body:has(.receipt-backdrop) .collections-receipt-modal{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;position:absolute;top:0;left:0;overflow:visible}body:has(.receipt-backdrop) .collections-receipt-toolbar{display:none!important}body:has(.receipt-backdrop) .collections-receipt-paper{width:100%;max-width:none;box-shadow:none;border:0;padding:14mm}body:has(.receipt-backdrop) .collections-receipt-paper.ticket-80{width:78mm!important;max-width:78mm!important;margin:0 auto!important;padding:3mm 4mm!important}body:has(.receipt-backdrop) .collections-receipt-paper.ticket-58{width:56mm!important;max-width:56mm!important;margin:0 auto!important;padding:2mm 3mm!important;font-size:10px!important}}.collections-op-action-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.collections-op-action-btn{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:5px 10px;font-size:11.5px;font-weight:600;transition:all .15s;display:inline-flex}.collections-op-action-btn.wa{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.collections-op-action-btn.wa:hover{color:#065f46;background:#d1fae5}.collections-op-action-btn.pdf{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.collections-op-action-btn.pdf:hover{color:#1e40af;background:#dbeafe}[data-theme=dark] .collections-op-action-btn.wa{color:#6ee7b7;background:#10b98126;border-color:#10b9814d}[data-theme=dark] .collections-op-action-btn.wa:hover{background:#10b98140}[data-theme=dark] .collections-op-action-btn.pdf{color:#93c5fd;background:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .collections-op-action-btn.pdf:hover{background:#3b82f640}.voucher-offscreen-container{z-index:-9999;pointer-events:none;width:540px;max-width:540px;position:absolute;top:0;left:0}.voucher-card-canvas{color:#1e293b;box-sizing:border-box;background:#fff;width:540px;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.voucher-business-header{border-bottom:2px solid #2563eb;align-items:center;gap:16px;margin-bottom:14px;padding-bottom:14px;display:flex}.voucher-logo{object-fit:contain;border-radius:8px;width:52px;height:52px}.voucher-business-info h2{color:#0f172a;margin:0;font-size:18px;font-weight:800}.voucher-business-sub{color:#64748b;margin:2px 0 0;font-size:11px}.voucher-business-meta{color:#475569;flex-wrap:wrap;gap:10px;margin-top:4px;font-size:10.5px;display:flex}.voucher-doc-title{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.voucher-badge{color:#1d4ed8;letter-spacing:.5px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:4px 10px;font-size:11px;font-weight:700}.voucher-date{color:#64748b;font-size:11px;font-weight:500}.voucher-client-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px;padding:12px 14px;display:grid}.voucher-client-field{flex-direction:column;display:flex}.voucher-field-label{text-transform:uppercase;letter-spacing:.5px;color:#64748b;font-size:9.5px;font-weight:700}.voucher-field-val{color:#0f172a;margin-top:1px;font-size:12.5px}.voucher-metrics-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.voucher-metric-box{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.voucher-metric-box.collected{background:#f0fdf4;border-color:#bbf7d0}.voucher-metric-box.collected .voucher-metric-num{color:#15803d}.voucher-metric-box.balance.debt{background:#fef2f2;border-color:#fecaca}.voucher-metric-box.balance.debt .voucher-metric-num{color:#b91c1c}.voucher-metric-box.balance.clean{background:#f0fdf4;border-color:#bbf7d0}.voucher-metric-box.balance.clean .voucher-metric-num{color:#15803d}.voucher-metric-lbl{letter-spacing:.5px;color:#64748b;margin-bottom:4px;font-size:8.5px;font-weight:700;display:block}.voucher-metric-num{color:#0f172a;font-size:13.5px;font-weight:800;display:block}.voucher-table-section{margin-bottom:14px}.voucher-table-section h4{letter-spacing:.6px;color:#334155;text-transform:uppercase;margin:0 0 8px;font-size:10.5px;font-weight:800}.voucher-op-concept-bar{color:#334155;background:#f1f5f9;border-radius:6px;justify-content:space-between;margin-bottom:10px;padding:6px 10px;font-size:11px;display:flex}.voucher-table{border-collapse:collapse;width:100%;font-size:11px}.voucher-table th{color:#fff;text-align:left;letter-spacing:.4px;background:#1e3a8a;padding:7px 8px;font-size:9.5px;font-weight:700}.voucher-table th.num,.voucher-table td.num{text-align:right}.voucher-table td{color:#334155;border-bottom:1px solid #e2e8f0;padding:6px 8px}.voucher-table tr:nth-child(2n) td{background:#f8fafc}.debt-text{color:#b91c1c;font-weight:700}.clean-text{color:#15803d;font-weight:600}.voucher-installment-status{border-radius:4px;padding:2px 6px;font-size:9.5px;font-weight:700;display:inline-block}.voucher-installment-status.pagada{color:#15803d;background:#dcfce7}.voucher-installment-status.pendiente{color:#92400e;background:#fef3c7}.voucher-installment-status.vencida{color:#b91c1c;background:#fee2e2}.voucher-bank-box{background:#f0fdf4;border:1px dashed #86efac;border-radius:8px;margin-bottom:14px;padding:10px 12px}.voucher-bank-box strong{color:#166534;text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px;font-size:10px;display:block}.voucher-bank-box p{color:#15803d;white-space:pre-line;margin:0;font-size:11px}.voucher-footer{text-align:center;border-top:1px solid #e2e8f0;padding-top:12px}.voucher-thanks{color:#1e3a8a;margin:0;font-size:12px;font-weight:700}.voucher-note{color:#64748b;margin-top:3px;font-size:9.5px;display:block}.voucher-preview-modal{background:var(--surface,#fff);border-radius:14px;flex-direction:column;width:92%;max-width:600px;max-height:92vh;animation:.2s ease-out modalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 40px #00000059}.voucher-preview-modal-header{border-bottom:1px solid var(--border,#e2e8f0);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.voucher-preview-body{flex-direction:column;gap:16px;padding:18px 20px;display:flex;overflow-y:auto}.voucher-preview-img-wrap{border:1px solid var(--border,#e2e8f0);box-sizing:border-box;background:#f8fafc;border-radius:10px;justify-content:center;width:100%;max-height:380px;padding:10px;display:flex;overflow-y:auto}.voucher-preview-img{object-fit:contain;border-radius:6px;max-width:100%;height:auto;box-shadow:0 4px 14px #00000014}.voucher-instruction-badge{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.voucher-instruction-badge strong{color:#14532d;font-size:.95rem}.reports-module{flex-direction:column;gap:20px;width:100%;max-width:1300px;margin:0 auto;animation:.25s ease-out fadeInReports;display:flex}@keyframes fadeInReports{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.reports-header{background:var(--surface,#121e30);border:1px solid var(--border,#24354b);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.reports-title-box{align-items:center;gap:14px;display:flex}.reports-icon-badge{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:0 4px 12px #2563eb40}.reports-title-box h1{color:var(--text-primary,#e5edf8);margin:0;font-size:20px;font-weight:700}.reports-title-box p{color:var(--text-secondary,#94a3b8);margin:4px 0 0;font-size:13px}.reports-period-box{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.reports-period-chips{flex-wrap:wrap;gap:6px;display:flex}.period-chip{border:1px solid var(--border,#26384f);background:var(--surface-hover,#18273d);color:var(--text-secondary,#94a3b8);cursor:pointer;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s}.period-chip:hover{background:var(--border,#2a3f5a);color:var(--text-primary,#f1f5f9)}.period-chip.active{color:#fff;background:#2563eb;border-color:#3b82f6;box-shadow:0 2px 8px #2563eb59}.reports-custom-dates{align-items:center;gap:8px;display:flex}.reports-custom-dates label{color:var(--text-secondary,#94a3b8);align-items:center;gap:6px;font-size:11px;display:flex}.reports-custom-dates input{border:1px solid var(--border,#2a3f5a);background:var(--surface-hover,#0e1726);color:var(--text-primary,#e2e8f0);border-radius:6px;padding:5px 8px;font-size:12px}.reports-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:14px;display:grid}.kpi-card{background:var(--surface,#121e30);border:1px solid var(--border,#24354b);border-radius:12px;align-items:center;gap:14px;padding:16px 18px;transition:transform .15s,border-color .15s;display:flex}.kpi-card:hover{border-color:#3b82f6;transform:translateY(-2px)}.kpi-icon-wrap{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.kpi-icon-wrap.green{color:#22c55e;background:#22c55e26}.kpi-icon-wrap.blue{color:#3b82f6;background:#3b82f626}.kpi-icon-wrap.orange{color:#f97316;background:#f9731626}.kpi-icon-wrap.emerald{color:#10b981;background:#10b98126}.kpi-icon-wrap.red{color:#ef4444;background:#ef444426}.kpi-icon-wrap.purple{color:#a855f7;background:#a855f726}.kpi-info{flex-direction:column;min-width:0;display:flex}.kpi-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary,#94a3b8);font-size:11px;font-weight:600}.kpi-value{white-space:nowrap;text-overflow:ellipsis;margin:3px 0 2px;font-size:17px;font-weight:800;overflow:hidden}.kpi-meta{color:var(--text-secondary,#64748b);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.text-green{color:#22c55e!important}.text-blue{color:#3b82f6!important}.text-orange{color:#f97316!important}.text-emerald{color:#10b981!important}.text-red{color:#ef4444!important}.text-purple{color:#a855f7!important}.text-muted{color:#64748b!important}.font-bold{font-weight:700!important}.text-right{text-align:right!important}.reports-tabs-bar{border-bottom:1px solid var(--border,#24354b);flex-wrap:wrap;gap:8px;padding-bottom:4px;display:flex}.reports-tab-btn{color:var(--text-secondary,#94a3b8);cursor:pointer;background:0 0;border:0;border-radius:10px 10px 0 0;align-items:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:600;transition:all .15s;display:flex;position:relative}.reports-tab-btn:hover{color:var(--text-primary,#e2e8f0);background:#ffffff0a}.reports-tab-btn.active{color:#3b82f6;background:var(--surface,#121e30);border:1px solid var(--border,#24354b);border-bottom-color:var(--surface,#121e30);margin-bottom:-1px}.tab-alert-badge{color:#fff;background:#ef4444;border-radius:10px;padding:2px 6px;font-size:10px;font-weight:700}.reports-view-panel{background:var(--surface,#121e30);border:1px solid var(--border,#24354b);border-radius:14px;flex-direction:column;gap:18px;padding:20px;display:flex}.reports-view-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.reports-search-box{background:var(--surface-hover,#0d1624);border:1px solid var(--border,#26384f);border-radius:10px;flex:1;align-items:center;gap:10px;min-width:280px;max-width:480px;padding:8px 14px;display:flex}.reports-search-box input{color:var(--text-primary,#e5edf8);background:0 0;border:0;outline:none;width:100%;font-size:13px}.clear-search{color:#64748b;cursor:pointer;background:0 0;border:0;font-size:16px}.reports-export-wrapper{align-items:center;gap:10px;display:flex}.flujo-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;display:grid}.flujo-card{background:var(--surface-hover,#0d1624);border:1px solid var(--border,#24354b);border-radius:12px;flex-direction:column;gap:12px;padding:18px;display:flex}.flujo-card h3{color:var(--text-primary,#e2e8f0);margin:0 0 6px;font-size:14px;font-weight:700}.flujo-row{color:var(--text-secondary,#94a3b8);justify-content:space-between;align-items:center;font-size:13px;display:flex}.flujo-row.sub{padding-left:12px;font-size:12px}.flujo-row.total-partial{border-top:1px dashed var(--border,#24354b);border-bottom:1px dashed var(--border,#24354b);color:var(--text-primary,#e2e8f0);padding:6px 0}.flujo-divider{background:var(--border,#24354b);height:1px;margin:6px 0}.flujo-row.total-final{border-radius:8px;padding:10px 12px;font-size:14px;font-weight:700}.flujo-row.total-final.pos{color:#10b981;background:#10b98126}.flujo-row.total-final.neg{color:#ef4444;background:#ef444426}.medio-pago-row{background:#ffffff08;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.medio-pago-row small{color:var(--text-secondary,#64748b);font-size:10px;display:block}.morosidad-alert-banner{color:#fca5a5;background:#ef44441a;border:1px solid #ef444440;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;font-size:12px;display:flex}.morosidad-alert-banner strong{color:#ef4444;margin-bottom:2px;font-size:13px;display:block}.reports-table-container{width:100%;overflow-x:auto}.reports-data-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.reports-data-table th{background:var(--surface-hover,#0d1624);color:var(--text-secondary,#94a3b8);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border,#24354b);white-space:nowrap;padding:12px 10px;font-size:11px;font-weight:700}.reports-data-table td{border-bottom:1px solid var(--border,#1c2b3e);color:var(--text-primary,#cbd5e1);vertical-align:middle;white-space:nowrap;padding:12px 10px}.reports-data-table tbody tr:hover{background:#ffffff08}.reports-data-table td strong{color:var(--text-primary,#f1f5f9);font-weight:600;display:block}.reports-data-table td small{color:#64748b;margin-top:2px;font-size:10px;display:block}.receipt-badge{color:#60a5fa;background:#3b82f626;border-radius:6px;padding:3px 8px;font-family:monospace;font-size:11px;font-weight:700;display:inline-block}.payment-pill{background:var(--surface-hover,#18273d);border:1px solid var(--border,#2a3f5a);color:#94a3b8;border-radius:6px;padding:3px 8px;font-size:11px;display:inline-block}.badge-tag{text-transform:uppercase;letter-spacing:.03em;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:700;display:inline-block}.badge-tag.green{color:#22c55e;background:#22c55e26}.badge-tag.blue{color:#60a5fa;background:#3b82f626}.badge-tag.red{color:#ef4444;background:#ef444426}.badge-tag.orange{color:#fb923c;background:#f9731626}.badge-tag.purple{color:#c084fc;background:#a855f726}.mora-days-pill{border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.mora-days-pill.grave{color:#f87171;background:#ef444440}.mora-days-pill.medio{color:#fb923c;background:#f9731640}.mora-days-pill.leve{color:#facc15;background:#eab30840}.phone-tag{color:#38bdf8;font-size:11px;font-weight:600}.gps-link-pill{color:#60a5fa;background:#2563eb26;border:1px solid #3b82f64d;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-block}.gps-link-pill:hover{color:#fff;background:#2563eb}.reports-action-group{align-items:center;gap:6px;display:flex}.wa-btn-contact{color:#fff;cursor:pointer;background:#16a34a;border:0;border-radius:6px;align-items:center;gap:5px;padding:5px 10px;font-size:11px;font-weight:600;transition:background .15s;display:inline-flex}.wa-btn-contact:hover{background:#15803d}.view-btn-action{background:var(--surface-hover,#18273d);border:1px solid var(--border,#2a3f5a);color:#94a3b8;cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:5px 9px;font-size:11px;font-weight:600;transition:all .15s;display:inline-flex}.view-btn-action:hover{color:#fff;background:#2563eb;border-color:#2563eb}.reports-empty-state{text-align:center;color:var(--text-secondary,#64748b);flex-direction:column;justify-content:center;align-items:center;padding:40px 20px;display:flex}.reports-empty-state h4{color:var(--text-primary,#cbd5e1);margin:12px 0 4px;font-size:15px}.reports-empty-state p{margin:0;font-size:12px}@media (width<=900px){.reports-header{flex-direction:column;align-items:stretch}.reports-period-box{align-items:stretch}.reports-custom-dates{justify-content:flex-start}.reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.reports-kpi-grid{grid-template-columns:1fr}.reports-view-toolbar{flex-direction:column;align-items:stretch}.reports-search-box{min-width:100%;max-width:100%}.reports-tabs-bar{flex-wrap:nowrap;padding-bottom:8px;overflow-x:auto}.reports-tab-btn{white-space:nowrap}}.license-banner{border-radius:10px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:10px 18px;font-size:13px;animation:.25s ease-out expModalFadeIn;display:flex;box-shadow:0 2px 6px #0000000a}.license-banner.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.license-banner.grace{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.license-banner-content{align-items:center;gap:10px;display:flex}.license-banner-icon{flex-shrink:0;place-items:center;display:grid}.license-banner-text{flex-wrap:wrap;gap:6px;display:flex}.license-banner-text strong{font-weight:700}.license-banner-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.license-banner-btn-wa{color:#fff;background:#25d366;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.license-banner-btn-wa:hover{background:#1ebd5a;transform:translateY(-1px)}.license-banner-btn-code{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.license-banner-btn-code:hover{background:#f1f5f9;border-color:#94a3b8}.license-banner-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;padding:4px;display:grid}.license-banner-close:hover{color:#1e293b}.app[data-theme=dark] .license-banner.warning{color:#fde68a;background:#291c0e;border-color:#5c3b12}.app[data-theme=dark] .license-banner.grace{color:#fca5a5;background:#2c1417;border-color:#5c1f24}.app[data-theme=dark] .license-banner-btn-code{color:#e2e8f0;background:#1e293b;border-color:#334155}.app[data-theme=dark] .license-banner-btn-code:hover{color:#fff;background:#334155}.license-lock-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;background:#0f172ad9;justify-content:center;align-items:center;padding:20px;animation:.3s ease-out expModalFadeIn;display:flex;position:fixed;inset:0}.license-lock-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:20px;flex-direction:column;gap:20px;width:min(100%,520px);padding:32px 28px;display:flex;box-shadow:0 25px 50px -12px #00000059}.license-lock-icon-box{color:#dc2626;background:#fee2e2;border-radius:20px;place-items:center;width:72px;height:72px;margin:0 auto 16px;display:grid;box-shadow:0 10px 25px -5px #dc262640}.license-lock-header h2{color:#1e293b;margin:0;font-size:22px;font-weight:700}.license-lock-subtitle{color:#64748b;margin:8px 0 0;font-size:14px}.license-lock-info-box{text-align:left;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;align-items:flex-start;gap:12px;padding:12px 16px;display:flex}.license-lock-info-box p{color:#166534;margin:0;font-size:12.5px;line-height:1.45}.license-check-icon{color:#16a34a;flex-shrink:0;margin-top:2px}.license-lock-actions{flex-direction:column;gap:10px;display:flex}.license-primary-btn{color:#fff;background:#25d366;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:13px 20px;font-size:14.5px;font-weight:700;text-decoration:none;transition:all .15s;display:flex;box-shadow:0 4px 12px #25d3664d}.license-primary-btn:hover{background:#1ebd5a;transform:translateY(-1px);box-shadow:0 6px 16px #25d36666}.license-secondary-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-size:13.5px;font-weight:600;transition:all .15s;display:flex}.license-secondary-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.license-backup-btn{color:#64748b;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:12px;text-decoration:underline;transition:color .15s;display:inline-flex}.license-backup-btn:hover{color:#0f172a}.license-dev-panel{border-top:1px dashed #e2e8f0;margin-top:10px;padding-top:14px}.license-dev-toggle{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:4px 8px;font-size:11.5px;display:inline-flex}.license-dev-toggle:hover{color:#3b82f6;background:#eff6ff}.license-dev-actions{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:8px;margin-top:10px;padding:12px;display:flex}.license-dev-title{color:#64748b;font-size:11px;font-weight:600}.license-dev-btn-group{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.license-dev-btn-group button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 10px;font-size:11px;font-weight:600;transition:all .15s}.license-dev-btn-group button:hover{background:#e2e8f0}.license-dev-btn-group button.highlight{color:#fff;background:#2563eb;border-color:#2563eb}.app[data-theme=dark] .license-lock-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .license-lock-icon-box{color:#f87171;background:#39191e}.app[data-theme=dark] .license-lock-header h2{color:#f1f5f9}.app[data-theme=dark] .license-lock-subtitle{color:#94a3b8}.app[data-theme=dark] .license-lock-info-box{background:#0f271a;border-color:#1b4d32}.app[data-theme=dark] .license-lock-info-box p{color:#86efac}.app[data-theme=dark] .license-check-icon{color:#4ade80}.app[data-theme=dark] .license-secondary-btn{color:#e2e8f0;background:#1e293b;border-color:#334155}.app[data-theme=dark] .license-secondary-btn:hover{color:#fff;background:#334155}.app[data-theme=dark] .license-backup-btn{color:#94a3b8}.app[data-theme=dark] .license-backup-btn:hover{color:#f1f5f9}.app[data-theme=dark] .license-dev-panel{border-top-color:#263852}.app[data-theme=dark] .license-dev-actions{background:#0f172a;border-color:#263852}.app[data-theme=dark] .license-dev-btn-group button{color:#cbd5e1;background:#1e293b;border-color:#334155}.license-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10000;background:#0f172abf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.license-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;gap:16px;width:min(100%,460px);padding:24px;animation:.2s ease-out expModalFadeIn;display:flex;box-shadow:0 25px 50px -12px #0000004d}.license-modal-header h3{color:#1e293b;margin:0;font-size:17px}.license-modal-header p{color:#64748b;margin:4px 0 0;font-size:12.5px}.license-modal-form{flex-direction:column;gap:14px;display:flex}.license-alert{border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:12.5px;display:flex}.license-alert.success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.license-alert.error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.license-label{color:#334155;text-align:left;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.license-label input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:42px;padding:8px 12px;font-size:14px}.license-label small{color:#64748b;font-size:11px;font-weight:400}.license-modal-actions{justify-content:flex-end;gap:8px;margin-top:6px;display:flex}.license-btn-cancel{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:8px 14px;font-size:12.5px;font-weight:600}.license-btn-submit{color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex}.license-btn-submit:hover:not(:disabled){background:#1d4ed8}.app[data-theme=dark] .license-modal-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .license-modal-header h3{color:#f1f5f9}.app[data-theme=dark] .license-modal-header p{color:#94a3b8}.app[data-theme=dark] .license-label{color:#cbd5e1}.app[data-theme=dark] .license-label input{color:#f1f5f9;background:#0f172a;border-color:#263852}.app[data-theme=dark] .license-btn-cancel{color:#cbd5e1;background:#1e293b;border-color:#334155}.license-settings-card{flex-direction:column;gap:18px;display:flex}.license-status-badge{border-radius:9999px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.license-status-badge.active{color:#15803d;background:#dcfce7}.license-status-badge.warning{color:#b45309;background:#fef3c7}.license-status-badge.expired{color:#b91c1c;background:#fee2e2}.license-status-badge.vip{color:#4338ca;background:#e0e7ff}.license-details-grid{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;display:grid}.license-detail-item{flex-direction:column;gap:4px;display:flex}.license-detail-item span{color:#64748b;font-size:11.5px;font-weight:500}.license-detail-item strong{color:#1e293b;font-size:14px}.license-generator-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.license-generator-header{color:#1d4ed8;align-items:center;gap:8px;font-size:13.5px;font-weight:700;display:flex}.license-code-display{background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:8px;padding:6px 12px;display:flex}.license-code-display code{color:#1d4ed8;flex:1;font-family:monospace;font-size:15px;font-weight:700}.app[data-theme=dark] .license-details-grid{background:#0f172a;border-color:#263852}.app[data-theme=dark] .license-detail-item span{color:#94a3b8}.app[data-theme=dark] .license-detail-item strong{color:#f1f5f9}.app[data-theme=dark] .license-generator-box{background:#17263c;border-color:#26426a}.app[data-theme=dark] .license-generator-header{color:#60a5fa}.app[data-theme=dark] .license-code-display{background:#0f172a;border-color:#26426a}.app[data-theme=dark] .license-code-display code{color:#93c5fd}.settings-module{color:#25364c;flex-direction:column;gap:20px;min-width:0;display:flex}.settings-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:15px;display:flex}.settings-header h1{color:#203954;margin:3px 0 0;font-size:27px}.settings-header>div>p:last-child{color:#7c8a9d;margin:7px 0 0;font-size:14px}.settings-eyebrow{color:#6e87a3;letter-spacing:.12em;margin:0;font-size:10px;font-weight:800}.settings-local-badge{color:#617b98;background:#f6f9fd;border:1px solid #dce7f2;border-radius:20px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:inline-flex}.settings-layout{grid-template-columns:245px minmax(0,1fr);align-items:start;gap:17px;display:grid}.settings-navigation,.settings-card,.settings-info-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 3px 12px #19304d09}.settings-navigation{flex-direction:column;gap:4px;padding:12px;display:flex;position:sticky;top:14px}.settings-navigation-label{color:#8795a7;letter-spacing:.1em;margin:4px 8px 7px;font-size:10px;font-weight:800}.settings-category{color:#667a92;text-align:left;width:100%;min-height:43px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:12px;display:flex}.settings-category.active{color:#2a65a0;background:#f1f7fd;border-color:#dce9f7;font-weight:700}.settings-category>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.settings-category small{color:#9aa6b5;font-size:9px;font-weight:500}.settings-category.disabled{color:#8996a7;cursor:not-allowed}.settings-category.disabled>svg:last-child{color:#a9b4c2}.settings-navigation-note{color:#8795a7;border-top:1px solid #edf0f4;align-items:flex-start;gap:8px;margin-top:9px;padding:10px 8px 3px;font-size:10px;line-height:1.45;display:flex}.settings-navigation-note svg{color:#8a9bb0;flex:none}.settings-form{flex-direction:column;gap:14px;min-width:0;display:flex}.settings-card{padding:21px}.settings-section-heading{border-bottom:1px solid #edf0f4;align-items:center;gap:11px;padding-bottom:17px;display:flex}.settings-heading-icon{color:#2b6cae;background:#edf5ff;border-radius:10px;flex:0 0 39px;place-items:center;width:39px;height:39px;display:grid}.settings-section-heading h2{color:#2b405c;margin:0;font-size:16px}.settings-section-heading p{color:#8290a2;margin:5px 0 0;font-size:11px}.settings-business-identity{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(230px,.9fr) minmax(0,1.3fr);align-items:center;gap:15px;padding:18px 0;display:grid}.settings-logo-card{align-items:center;gap:12px;min-width:0;display:flex}.settings-logo-preview{color:#8197b0;background:#f8fafd;border:1px dashed #cbd7e4;border-radius:10px;flex:0 0 66px;place-items:center;width:66px;height:66px;display:grid;overflow:hidden}.settings-logo-preview img{object-fit:contain;width:100%;height:100%}.settings-logo-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.settings-logo-copy strong{color:#455b75;font-size:12px}.settings-logo-copy>span{color:#8997a8;font-size:10px}.settings-logo-actions{align-items:center;gap:7px;margin-top:2px;display:flex}.settings-logo-actions button{color:#506984;min-height:29px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dbe4ee;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:10px;font-weight:700;display:inline-flex}.settings-logo-actions button:disabled{opacity:.6;cursor:wait}.settings-logo-actions .settings-logo-remove{color:#ae5a52;background:0 0;border-color:#0000}.settings-file-input{display:none}.settings-field{color:#4e627b;flex-direction:column;gap:7px;min-width:0;font-size:11px;font-weight:700;display:flex}.settings-field>span{line-height:1.2}.settings-field input,.settings-field select{color:#324760;width:100%;min-width:0;height:42px;font:inherit;background:#fff;border:1px solid #dce4ed;border-radius:7px;outline-color:#85b3e5;padding:10px 11px;font-size:12px;font-weight:400}.settings-field textarea{color:#324760;width:100%;min-width:0;font:inherit;resize:vertical;background:#fff;border:1px solid #dce4ed;border-radius:7px;outline-color:#85b3e5;padding:10px 11px;font-size:12px;font-weight:400}.settings-field-wide{grid-column:1/-1}.settings-commercial-name input{height:44px;font-size:13px}.settings-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 13px;padding-top:18px;display:grid}.settings-input-wrap{color:#8a9bad;border:1px solid #dce4ed;border-radius:7px;align-items:center;gap:8px;min-width:0;height:42px;padding-left:10px;display:flex}.settings-input-wrap:focus-within{border-color:#85b3e5;box-shadow:0 0 0 2px #4084c61a}.settings-input-wrap input{background:0 0;border:0;outline:0;height:40px;padding:8px 10px 8px 0}.settings-input-wrap.read-only{background:#f5f7fa}.settings-field-hint{color:#8a98a9;font-size:10px;font-weight:400;line-height:1.45}.settings-info-card{color:#607894;background:#f5f9fd;border-color:#dbe8f4;align-items:flex-start;gap:10px;padding:13px 15px;display:flex}.settings-info-card svg{color:#5685b6;flex:none;margin-top:1px}.settings-info-card p{margin:0;font-size:11px;line-height:1.55}.settings-form-actions,.settings-modal-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.settings-form-actions button,.settings-modal-actions button{min-height:38px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 16px;font-size:13px;font-weight:600;line-height:1;transition:all .15s;display:inline-flex}.settings-cancel-button{box-shadow:0 1px 2px #0000000d;color:#475569!important;background:#fff!important;border:1px solid #cbd5e1!important}.settings-cancel-button:hover:not(:disabled){color:#1e293b!important;background:#f1f5f9!important;border-color:#94a3b8!important}.settings-save-button{box-shadow:0 1px 3px #2563eb40;color:#fff!important;background:#2563eb!important;border:1px solid #2563eb!important}.settings-save-button:hover:not(:disabled){background:#1d4ed8!important;border-color:#1d4ed8!important}.settings-save-button:disabled{opacity:.55;cursor:not-allowed}.settings-notice{border:1px solid;border-radius:8px;align-items:center;gap:9px;padding:11px 13px;font-size:12px;display:flex}.settings-notice.success{color:#28774d;background:#effaf3;border-color:#c7e7d5}.settings-notice.error{color:#a83d3d;background:#fff3f3;border-color:#f0cdcd}.settings-access-card ol{color:#60748c;flex-direction:column;gap:10px;margin:18px 0 0;padding-left:22px;font-size:12px;line-height:1.55;display:flex}.settings-access-card code{color:#315778;background:#f0f4f8;border-radius:4px;padding:2px 4px;font-size:11px}.settings-auth-state{color:#71849c;font-size:13px}.settings-login-card{flex-direction:column;gap:16px;display:flex}.settings-auth-user{color:#58718d;font:inherit;cursor:pointer;background:0 0;border:1px solid #dce4ed;border-radius:7px;align-items:center;gap:7px;margin-left:auto;padding:7px 9px;font-size:10px;display:inline-flex}.settings-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:17px;display:grid}.settings-toggle-grid>label{color:#425a74;cursor:pointer;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:9px;padding:12px;display:flex}.settings-toggle-grid input{accent-color:#2168b8;margin-top:2px}.settings-toggle-grid span{flex-direction:column;gap:4px;display:flex}.settings-toggle-grid strong{font-size:11px}.settings-toggle-grid small{color:#8290a2;font-size:10px;line-height:1.4}.settings-users-help{color:#74869a;margin:14px 0;font-size:11px;line-height:1.5}.settings-users-list{flex-direction:column;gap:12px;display:flex}.settings-users-empty-note{color:#54708d;background:#f5f9fd;border:1px solid #dce8f4;border-radius:8px;align-items:flex-start;gap:10px;margin-top:13px;padding:12px;display:flex}.settings-users-empty-note>svg{color:#4c80b2;flex:none;margin-top:1px}.settings-users-empty-note strong{color:#37536e;font-size:11px;display:block}.settings-users-empty-note p{color:#6d8097;margin:5px 0 7px;font-size:10px;line-height:1.5}.settings-users-empty-note a{color:#2168b8;align-items:center;gap:5px;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.settings-users-empty-note a:hover{text-decoration:underline}.settings-editor-list{flex-direction:column;gap:10px;padding-top:17px;display:flex}.settings-editor-row{border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:11px;display:grid}.settings-bank-row{border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:11px;padding:12px;display:grid}.settings-bank-row .settings-remove-row{grid-area:1/3/span 2}.settings-add-row,.settings-remove-row{color:#43617e;min-height:36px;font:inherit;cursor:pointer;background:#f8fafd;border:1px solid #dce4ed;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:11px;font-weight:700;display:inline-flex}.settings-add-row{color:#2168b8;margin-top:11px}.settings-remove-row{color:#a44a43;background:#fff7f6;border-color:#ebd7d6}.settings-remove-row:disabled{opacity:.45;cursor:not-allowed}.settings-empty-list{color:#8392a4;margin:2px 0;font-size:11px}.settings-notification-window{background:#f8fafd;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(190px,.7fr) minmax(0,1fr);align-items:end;gap:13px;margin-top:16px;padding:13px;display:grid}.settings-notification-window>small{color:#8190a3;padding-bottom:11px;font-size:10px;line-height:1.5}.settings-channel-status{grid-template-columns:minmax(0,1fr);gap:9px;margin-top:14px;display:grid}.settings-channel-status>div{color:#8796a8;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:9px;min-width:0;padding:11px;display:flex}.settings-channel-status>div>svg{flex:none;margin-top:2px}.settings-channel-status span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.settings-channel-status strong{color:#52677f;font-size:11px}.settings-channel-status small{font-size:10px;line-height:1.4}.settings-channel-status em{color:#8591a0;white-space:nowrap;background:#f1f3f6;border-radius:10px;padding:3px 6px;font-size:9px;font-style:normal}.settings-channel-status em.connected{color:#328051;background:#e9f7ee}.settings-channel-heading{justify-content:space-between;align-items:center;gap:10px;margin-top:15px;display:flex}.settings-channel-heading>div{flex-direction:column;gap:4px;display:flex}.settings-channel-heading strong{color:#4c627a;font-size:11px}.settings-channel-heading small{color:#8492a4;font-size:10px}.settings-channel-heading button,.settings-channel-status>div>button{color:#58718d;min-height:30px;font:inherit;white-space:nowrap;cursor:pointer;background:#f8fafd;border:1px solid #dce4ed;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:6px 8px;font-size:9px;font-weight:700;display:inline-flex}.settings-channel-heading button:disabled,.settings-channel-status>div>button:disabled{opacity:.5;cursor:wait}.settings-channel-status .settings-channel-toggle{color:#647990;white-space:nowrap;align-items:center;gap:5px;padding:4px 2px;font-size:9px;font-weight:600;display:inline-flex}.settings-channel-toggle input{accent-color:#2168b8;margin:0}.settings-session-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:16px;display:grid}.settings-session-summary>div{border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:6px;min-width:0;padding:12px;display:flex}.settings-session-summary span{color:#8492a4;font-size:10px}.settings-session-summary strong{overflow-wrap:anywhere;color:#405872;font-size:11px}.settings-session-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:13px;display:flex}.settings-session-actions button,.settings-session-actions a{color:#506984;min-height:36px;font:inherit;cursor:pointer;background:#f8fafd;border:1px solid #dce4ed;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.settings-session-actions a{color:#2168b8;background:0 0;border-color:#0000}.settings-security-note{color:#8290a2;margin:12px 0 0;font-size:10px;line-height:1.5}.settings-backup-summary{color:#507091;background:#f8fafd;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:10px;margin-top:16px;padding:12px;display:flex}.settings-backup-summary>span{flex-direction:column;gap:4px;display:flex}.settings-backup-summary strong{color:#3d5772;font-size:11px}.settings-backup-summary small{color:#8593a5;font-size:10px}.settings-backup-summary .settings-backup-last{text-align:right;align-items:flex-end;margin-left:auto}.settings-backup-actions{flex-wrap:wrap;gap:9px;margin-top:13px;display:flex}.settings-backup-actions button,.settings-restore-button{min-height:39px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:11px;font-weight:700;display:inline-flex}.settings-backup-actions button:disabled,.settings-restore-button:disabled{opacity:.55;cursor:wait}.settings-restore-preview{background:#f4f9fe;border:1px solid #c8ddef;border-radius:9px;margin-top:13px;padding:13px}.settings-restore-preview>div{flex-direction:column;gap:4px;display:flex}.settings-restore-preview>div strong{overflow-wrap:anywhere;color:#36536e;font-size:11px}.settings-restore-preview>div span,.settings-restore-preview>p{color:#71869b;font-size:10px}.settings-restore-preview>p{margin:10px 0}.settings-restore-button{color:#fff;background:#a63f3b;border:0}.settings-backup-info{margin-top:13px}.settings-backup-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-top:15px;display:grid}.settings-backup-stats>div{background:#fafbfd;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.settings-backup-stats span{color:#8290a2;font-size:10px}.settings-backup-stats strong{color:#37516e;font-variant-numeric:tabular-nums;font-size:19px}.settings-integrity{border:1px solid;border-radius:8px;margin-top:13px;padding:13px}.settings-integrity>div{align-items:center;gap:8px;font-size:11px;display:flex}.settings-integrity ul{flex-direction:column;gap:6px;margin:10px 0 0;padding-left:24px;font-size:10px;line-height:1.45;display:flex}.settings-integrity.clean{color:#34784f;background:#f3fbf5;border-color:#cde8d6}.settings-integrity.attention{color:#8a6827;background:#fffaf0;border-color:#f0dfbb}.settings-user-row{border:1px solid #e2e8f0;border-radius:9px;flex-direction:column;gap:14px;padding:15px;display:flex}.settings-user-heading{grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);align-items:center;gap:16px;display:grid}.settings-user-heading>div{flex-direction:column;gap:5px;min-width:0;display:flex}.settings-user-heading>div strong{overflow-wrap:anywhere;color:#304761;font-size:12px}.settings-user-heading>div small{color:#8796a8;font-size:10px}.settings-user-heading .settings-field{max-width:280px}.settings-user-heading .settings-field select{height:36px;padding:7px 9px}.settings-user-permissions{flex-direction:column;gap:8px;display:flex}.settings-user-permissions>strong{color:#60748c;font-size:10px}.settings-permission-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.settings-permission-grid label{color:#52677f;cursor:pointer;border:1px solid #e3e9f0;border-radius:6px;align-items:center;gap:7px;min-height:32px;padding:6px 8px;font-size:10px;display:flex}.settings-permission-grid input{accent-color:#2168b8;flex:none;margin:0}.settings-permission-grid input:disabled{opacity:.7}.settings-user-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.settings-user-actions button{min-height:35px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:10px;font-weight:700;display:inline-flex}.settings-user-actions button:disabled{opacity:.5;cursor:not-allowed}.settings-revoke-button{color:#a44a43;background:#fff5f4;border-color:#ebd7d6!important}.app[data-theme=dark] .settings-header h1,.app[data-theme=dark] .settings-section-heading h2{color:#e0eaf7}.app[data-theme=dark] .settings-header>div>p:last-child,.app[data-theme=dark] .settings-section-heading p{color:#97a9c0}.app[data-theme=dark] .settings-local-badge,.app[data-theme=dark] .settings-navigation,.app[data-theme=dark] .settings-card{background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .settings-local-badge{color:#a4b6cc}.app[data-theme=dark] .settings-category{color:#a2b2c7}.app[data-theme=dark] .settings-category.active{color:#a9ccff;background:#192a40;border-color:#355475}.app[data-theme=dark] .settings-category.disabled{color:#8698af}.app[data-theme=dark] .settings-navigation-note,.app[data-theme=dark] .settings-section-heading,.app[data-theme=dark] .settings-business-identity{border-color:#2b3c53}.app[data-theme=dark] .settings-logo-preview{color:#9cafc7;background:#101a2a;border-color:#3c506a}.app[data-theme=dark] .settings-logo-copy strong,.app[data-theme=dark] .settings-field{color:#b9c8d9}.app[data-theme=dark] .settings-logo-copy>span,.app[data-theme=dark] .settings-field-hint{color:#95a8c0}.app[data-theme=dark] .settings-logo-actions button{color:#b9c9dd;background:#19283c;border-color:#354961}.app[data-theme=dark] .settings-logo-actions .settings-logo-remove{color:#f0a9a3;background:0 0;border-color:#0000}.app[data-theme=dark] .settings-field input,.app[data-theme=dark] .settings-field select,.app[data-theme=dark] .settings-field textarea,.app[data-theme=dark] .settings-input-wrap{color:#e2ebf7;background:#0e1828;border-color:#354a63}.app[data-theme=dark] .settings-input-wrap input{color:#e2ebf7}.app[data-theme=dark] .settings-input-wrap.read-only{background:#17263a}.app[data-theme=dark] .settings-info-card{color:#a9bdd3;background:#17283d;border-color:#2e4964}.app[data-theme=dark] .settings-cancel-button{box-shadow:none;color:#cbd5e1!important;background:#ffffff0a!important;border:1px solid #ffffff26!important}.app[data-theme=dark] .settings-cancel-button:hover:not(:disabled){color:#fff!important;background:#ffffff1a!important;border-color:#ffffff40!important}.app[data-theme=dark] .settings-save-button{box-shadow:0 2px 8px #2563eb66;color:#fff!important;background:#2563eb!important;border:1px solid #3b82f6!important}.app[data-theme=dark] .settings-save-button:hover:not(:disabled){background:#1d4ed8!important;border-color:#60a5fa!important}.app[data-theme=dark] .settings-access-card ol{color:#a9bdd3}.app[data-theme=dark] .settings-access-card code{color:#bfd9f7;background:#1d3048}.app[data-theme=dark] .settings-auth-user{color:#b9c9dd;border-color:#354961}.app[data-theme=dark] .settings-toggle-grid>label{color:#c1cfe0;border-color:#2e4057}.app[data-theme=dark] .settings-toggle-grid small,.app[data-theme=dark] .settings-auth-state,.app[data-theme=dark] .settings-users-help,.app[data-theme=dark] .settings-user-heading>div small{color:#95a8c0}.app[data-theme=dark] .settings-users-empty-note{color:#a9bdd3;background:#17283d;border-color:#2e4964}.app[data-theme=dark] .settings-users-empty-note>svg{color:#8eb9e8}.app[data-theme=dark] .settings-users-empty-note strong{color:#d3e2f3}.app[data-theme=dark] .settings-users-empty-note p{color:#a1b4ca}.app[data-theme=dark] .settings-users-empty-note a{color:#9dc8fa}.app[data-theme=dark] .settings-user-row,.app[data-theme=dark] .settings-editor-row,.app[data-theme=dark] .settings-bank-row{border-color:#2e4057}.app[data-theme=dark] .settings-add-row{color:#a9ccff;background:#19283c;border-color:#354961}.app[data-theme=dark] .settings-remove-row{color:#f1aaa2;background:#2b1b24;border-color:#653d43}.app[data-theme=dark] .settings-empty-list{color:#95a8c0}.app[data-theme=dark] .settings-notification-window,.app[data-theme=dark] .settings-channel-status>div,.app[data-theme=dark] .settings-session-summary>div{background:#101a2a;border-color:#2e4057}.app[data-theme=dark] .settings-notification-window>small,.app[data-theme=dark] .settings-channel-status>div,.app[data-theme=dark] .settings-channel-status small,.app[data-theme=dark] .settings-session-summary span,.app[data-theme=dark] .settings-security-note{color:#95a8c0}.app[data-theme=dark] .settings-channel-status strong,.app[data-theme=dark] .settings-session-summary strong{color:#d3e0f0}.app[data-theme=dark] .settings-channel-status em{color:#9cacbf;background:#1a283b}.app[data-theme=dark] .settings-channel-status em.connected{color:#91d2ad;background:#203a33}.app[data-theme=dark] .settings-channel-heading strong{color:#c4d2e2}.app[data-theme=dark] .settings-channel-heading small,.app[data-theme=dark] .settings-channel-status .settings-channel-toggle{color:#95a8c0}.app[data-theme=dark] .settings-channel-heading button,.app[data-theme=dark] .settings-channel-status>div>button,.app[data-theme=dark] .settings-session-actions button{color:#b9c9dd;background:#19283c;border-color:#354961}.app[data-theme=dark] .settings-session-actions a{color:#a9ccff;background:0 0;border-color:#0000}.app[data-theme=dark] .settings-backup-summary,.app[data-theme=dark] .settings-backup-stats>div{color:#a9bdd3;background:#101a2a;border-color:#2e4057}.app[data-theme=dark] .settings-backup-summary strong,.app[data-theme=dark] .settings-backup-stats strong{color:#d3e0f0}.app[data-theme=dark] .settings-backup-summary small,.app[data-theme=dark] .settings-backup-stats span{color:#95a8c0}.app[data-theme=dark] .settings-restore-preview{background:#17283d;border-color:#345171}.app[data-theme=dark] .settings-restore-preview>div strong{color:#d3e2f3}.app[data-theme=dark] .settings-restore-preview>div span,.app[data-theme=dark] .settings-restore-preview>p{color:#a1b4ca}.app[data-theme=dark] .settings-restore-button{background:#8f3938}.app[data-theme=dark] .settings-integrity.clean{color:#9dd5ae;background:#172d28;border-color:#315a45}.app[data-theme=dark] .settings-integrity.attention{color:#e2c77f;background:#302a1e;border-color:#665633}.app[data-theme=dark] .settings-user-heading>div strong{color:#d3e0f0}.app[data-theme=dark] .settings-user-permissions>strong{color:#a9bdd3}.app[data-theme=dark] .settings-permission-grid label{color:#b5c6da;border-color:#344860}.app[data-theme=dark] .settings-revoke-button{color:#f1aaa2;background:#2b1b24;border-color:#653d43!important}@media (width<=950px){.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-navigation{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;position:static}.settings-navigation-label,.settings-navigation-note,.settings-category.active{grid-column:1/-1}}@media (width<=620px){.settings-header{flex-direction:column;align-items:flex-start}.settings-business-identity,.settings-fields-grid,.settings-toggle-grid,.settings-user-heading{grid-template-columns:minmax(0,1fr)}.settings-user-heading .settings-field{max-width:none}.settings-bank-row{grid-template-columns:minmax(0,1fr)}.settings-bank-row .settings-remove-row{grid-area:auto}.settings-field-wide{grid-column:auto}.settings-notification-window,.settings-channel-status,.settings-session-summary{grid-template-columns:minmax(0,1fr)}.settings-notification-window>small{padding-bottom:0}.settings-backup-summary{flex-wrap:wrap;align-items:flex-start}.settings-backup-summary .settings-backup-last{text-align:left;align-items:flex-start;width:100%;margin-left:27px}.settings-backup-actions{flex-direction:column}.settings-backup-actions button{width:100%}.settings-backup-stats,.settings-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-navigation{grid-template-columns:minmax(0,1fr)}.settings-navigation-label,.settings-navigation-note,.settings-category.active{grid-column:auto}.settings-card{padding:15px}.settings-form-actions{flex-direction:column-reverse}.settings-form-actions button{width:100%}}.settings-danger-card{background:snow;border-color:#fecaca}.settings-heading-icon.danger{color:#dc2626;background:#fee2e2}.settings-danger-box{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:16px;display:flex}.settings-danger-text{flex:1;min-width:250px}.settings-danger-text strong{color:#991b1b;margin-bottom:4px;font-size:13px;display:block}.settings-danger-text p{color:#7f1d1d;margin:0;font-size:11.5px;line-height:1.45}.settings-danger-button{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:12.5px;font-weight:700;transition:all .15s;display:inline-flex}.settings-danger-button:hover{background:#b91c1c}.settings-danger-button:disabled{opacity:.5;cursor:not-allowed}.settings-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.settings-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:min(100%,540px);margin:auto;animation:.2s ease-out expModalFadeIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.settings-modal-card.danger{border-color:#fecaca;box-shadow:0 25px 50px -12px #dc262640}.settings-modal-header{background:#f8fafc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:18px 22px;display:flex}.settings-modal-header.danger{background:#fef2f2;border-bottom-color:#fee2e2}.settings-modal-title{align-items:center;gap:12px;display:flex}.settings-modal-icon-box{color:#0284c7;background:#e0f2fe;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.settings-modal-icon-box.danger{color:#dc2626;background:#fee2e2}.settings-modal-title h3{color:#1e293b;margin:0;font-size:16px}.settings-modal-title.danger h3,.settings-modal-card.danger .settings-modal-title h3{color:#991b1b}.settings-modal-title p{color:#64748b;margin:2px 0 0;font-size:11.5px}.settings-modal-title.danger p,.settings-modal-card.danger .settings-modal-title p{color:#7f1d1d}.settings-modal-body{flex-direction:column;gap:16px;padding:20px 22px;display:flex}.settings-modal-alert.danger{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12px;display:flex}.settings-modal-alert.danger strong{margin-bottom:2px;display:block}.settings-modal-alert.danger p{margin:0;font-size:11px;line-height:1.4}.settings-reset-options{flex-direction:column;gap:10px;display:flex}.settings-reset-radio{cursor:pointer;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;transition:background .12s;display:flex}.settings-reset-radio:hover{background:#f8fafc}.settings-reset-radio input{accent-color:#dc2626;margin-top:3px}.settings-reset-radio div{flex-direction:column;gap:3px;display:flex}.settings-reset-radio strong{color:#1e293b;font-size:12.5px}.settings-reset-radio small{color:#64748b;font-size:11px;line-height:1.35}.settings-reset-confirm-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px}.settings-reset-confirm-box label{color:#334155;flex-direction:column;gap:8px;font-size:12px;display:flex}.settings-reset-confirm-box input{letter-spacing:.05em;border:1px solid #94a3b8;border-radius:6px;height:38px;padding:8px 12px;font-size:13px;font-weight:700}.settings-modal-actions{background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:16px 22px;display:flex}.settings-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px}.settings-modal-close:hover{color:#1e293b}.settings-preset-chip{cursor:pointer;color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:5px;padding:5px 12px;font-size:11.5px;font-weight:600;line-height:1.2;transition:all .15s;display:inline-flex}.settings-preset-chip:hover{color:#0f172a;background:#e2e8f0;border-color:#94a3b8;transform:translateY(-1px)}.app[data-theme=dark] .settings-preset-chip{color:#93c5fd!important;background:#1e293b!important;border-color:#334155!important}.app[data-theme=dark] .settings-preset-chip:hover{transform:translateY(-1px);color:#fff!important;background:#2563eb!important;border-color:#3b82f6!important}.app[data-theme=dark] .settings-danger-card{background:#1f1418;border-color:#5f2424}.app[data-theme=dark] .settings-heading-icon.danger{color:#f87171;background:#39191e}.app[data-theme=dark] .settings-danger-text strong{color:#fca5a5}.app[data-theme=dark] .settings-danger-text p{color:#f87171}.app[data-theme=dark] .settings-modal-card{background:#131f32;border-color:#2a3a51}.app[data-theme=dark] .settings-modal-header{background:#172438;border-color:#223247}.app[data-theme=dark] .settings-modal-icon-box{color:#38bdf8;background:#1e3a5f}.app[data-theme=dark] .settings-modal-title h3{color:#f1f5f9}.app[data-theme=dark] .settings-modal-card.danger{background:#131f32;border-color:#5f2424}.app[data-theme=dark] .settings-modal-header.danger{background:#1c141d;border-color:#431b20}.app[data-theme=dark] .settings-modal-title.danger h3,.app[data-theme=dark] .settings-modal-card.danger .settings-modal-title h3{color:#fca5a5}.app[data-theme=dark] .settings-modal-title.danger p,.app[data-theme=dark] .settings-modal-card.danger .settings-modal-title p{color:#f87171}.app[data-theme=dark] .settings-modal-title p{color:#94a3b8}.app[data-theme=dark] .settings-modal-alert.danger{color:#fca5a5;background:#2b181c;border-color:#5f2424}.app[data-theme=dark] .settings-reset-radio{background:#0f172a;border-color:#263852}.app[data-theme=dark] .settings-reset-radio:hover{background:#182840}.app[data-theme=dark] .settings-reset-radio strong{color:#f1f5f9}.app[data-theme=dark] .settings-reset-radio small{color:#8ca0b8}.app[data-theme=dark] .settings-reset-confirm-box{background:#0f172a;border-color:#263852}.app[data-theme=dark] .settings-reset-confirm-box label{color:#cbd5e1}.app[data-theme=dark] .settings-reset-confirm-box input{color:#f1f5f9;background:#131f32;border-color:#334155}.app[data-theme=dark] .settings-modal-actions{background:#0f172a;border-top:1px solid #ffffff14}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinning{animation:1s linear infinite spin}.master-panel-container{flex-direction:column;gap:24px;padding:0 0 40px;animation:.3s fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.master-header{color:#fff;background:linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4338ca 100%);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 25px -5px #312e814d}.master-header:after{content:"";pointer-events:none;background:radial-gradient(circle,#eab3082e 0%,#0000 70%);border-radius:50%;width:220px;height:220px;position:absolute;top:-60px;right:-60px}.master-header-info{z-index:1;flex-direction:column;gap:6px;display:flex}.master-eyebrow{letter-spacing:1.5px;text-transform:uppercase;color:#fbbf24;background:#fbbf2426;border-radius:20px;align-items:center;gap:6px;width:fit-content;padding:4px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.master-title{letter-spacing:-.5px;align-items:center;gap:10px;margin:0;font-size:1.65rem;font-weight:800;display:flex}.master-subtitle{color:#c7d2fe;margin:0;font-size:.88rem}.master-header-actions{z-index:1;align-items:center;gap:10px;display:flex}.master-btn-add{color:#78350f;cursor:pointer;background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);border:0;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-size:.88rem;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #f59e0b59}.master-btn-add:hover{transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b73}.master-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;display:grid}.master-kpi-card{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:14px;align-items:center;gap:16px;padding:18px 20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 1px 3px #0000000d}.master-kpi-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px -4px #00000014}.master-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.master-kpi-icon.revenue{color:#15803d;background:#dcfce7}.master-kpi-icon.clients{color:#1d4ed8;background:#dbeafe}.master-kpi-icon.warning{color:#b45309;background:#fef3c7}.master-kpi-icon.portfolio{color:#6d28d9;background:#ede9fe}.master-kpi-data{flex-direction:column;display:flex}.master-kpi-data span{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:.78rem;font-weight:600}.master-kpi-data strong{color:var(--text-color,#0f172a);margin:2px 0;font-size:1.35rem;font-weight:800}.master-kpi-data small{color:#94a3b8;font-size:.74rem}.master-controls-bar{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.master-filter-chips{flex-wrap:wrap;gap:6px;display:flex}.master-chip{background:var(--chip-bg,#f1f5f9);color:var(--chip-color,#475569);cursor:pointer;border:1px solid #0000;border-radius:20px;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.master-chip:hover{background:#e2e8f0}.master-chip.active{color:#fff;background:#312e81}.master-chip-badge{background:#0000001f;border-radius:10px;padding:1px 6px;font-size:.72rem}.master-chip.active .master-chip-badge{background:#ffffff40}.master-search-wrap{flex:1;min-width:260px;max-width:380px;position:relative}.master-search-wrap svg{color:#94a3b8;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.master-search-input{box-sizing:border-box;border:1px solid var(--border-color,#cbd5e1);background:var(--input-bg,#f8fafc);width:100%;color:var(--text-color,#0f172a);border-radius:8px;outline:none;padding:8px 12px 8px 36px;font-size:.86rem;transition:border-color .15s}.master-search-input:focus{background:#fff;border-color:#4f46e5}.master-table-card{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.master-table-scroll{overflow-x:auto}.master-table{border-collapse:collapse;text-align:left;width:100%;font-size:.86rem}.master-table th{background:var(--th-bg,#f8fafc);text-transform:uppercase;color:#64748b;letter-spacing:.6px;border-bottom:1px solid var(--border-color,#e2e8f0);white-space:nowrap;padding:12px 16px;font-size:.74rem;font-weight:700}.master-table td{border-bottom:1px solid var(--border-color,#f1f5f9);vertical-align:middle;padding:14px 16px}.master-table tbody tr:hover{background:var(--row-hover,#f8fafc)}.master-business-cell{flex-direction:column;display:flex}.master-business-cell strong{color:var(--text-color,#0f172a);font-size:.92rem;font-weight:700}.master-business-cell span{color:#64748b;align-items:center;gap:4px;font-size:.76rem;display:inline-flex}.master-contact-cell{flex-direction:column;gap:2px;display:flex}.master-contact-name{color:var(--text-color,#1e293b);font-size:.84rem;font-weight:600}.master-wa-link{color:#16a34a;align-items:center;gap:4px;font-size:.78rem;font-weight:600;text-decoration:none;transition:color .15s;display:inline-flex}.master-wa-link:hover{color:#15803d;text-decoration:underline}.master-plan-badge{flex-direction:column;display:inline-flex}.master-plan-tag{text-transform:uppercase;border-radius:6px;width:fit-content;padding:2px 7px;font-size:.74rem;font-weight:700}.master-plan-tag.mensual{color:#3730a3;background:#e0e7ff}.master-plan-tag.trimestral{color:#5b21b6;background:#ede9fe}.master-plan-tag.anual{color:#92400e;background:#fef3c7}.master-plan-tag.vitalicia{color:#86198f;background:#fae8ff;font-weight:800}.master-plan-tag.prueba_gratuita{color:#065f46;background:#d1fae5;font-weight:700}.master-btn-purge{color:#fca5a5;cursor:pointer;background:#ef444426;border:1px solid #ef444466;border-radius:10px;align-items:center;gap:8px;padding:10px 16px;font-size:.85rem;font-weight:700;transition:all .2s;display:inline-flex}.master-btn-purge:hover{color:#fff;background:#ef4444;border-color:#f87171;transform:translateY(-1px)}.master-plan-price{color:#64748b;margin-top:2px;font-size:.76rem}.master-status-badge{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.master-status-badge.activa{color:#15803d;background:#dcfce7}.master-status-badge.proxima{color:#b45309;background:#fef3c7}.master-status-badge.vencida{color:#b91c1c;background:#fee2e2}.master-status-badge.vitalicia{color:#6d28d9;background:#ede9fe}.master-status-badge.suspendida{color:#475569;background:#f1f5f9;border:1px dashed #cbd5e1}.master-stats-cell{flex-direction:column;gap:2px;display:flex}.master-stats-cell strong{color:var(--text-color,#1e293b);font-size:.84rem}.master-stats-cell small{color:#64748b;font-size:.74rem}.master-actions-group{align-items:center;gap:6px;display:flex}.master-btn-action{border:1px solid var(--border-color,#cbd5e1);background:var(--card-bg,#fff);color:#475569;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:inline-flex}.master-btn-action:hover{color:#0f172a;background:#f1f5f9}.master-btn-action.enter{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.master-btn-action.enter:hover{color:#5b21b6;background:#ede9fe}.master-btn-action.wa{color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.master-btn-action.wa:hover{background:#dcfce7}.master-btn-action.renew{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.master-btn-action.renew:hover{background:#e0e7ff}.master-btn-action.suspend{color:#dc2626;background:#fef2f2;border-color:#fecaca}.master-btn-action.suspend:hover{background:#fee2e2}.master-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.master-modal-card{background:var(--card-bg,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:16px;flex-direction:column;width:100%;max-width:520px;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0003}.master-modal-header{border-bottom:1px solid var(--border-color,#e2e8f0);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.master-modal-header h3{color:var(--text-color,#0f172a);margin:0;font-size:1.15rem;font-weight:800}.master-modal-header p{color:#64748b;margin:2px 0 0;font-size:.8rem}.master-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px}.master-modal-close:hover{color:#0f172a}.master-modal-body{flex-direction:column;gap:14px;padding:20px 22px;display:flex}.master-modal-field{flex-direction:column;gap:6px;display:flex}.master-modal-field span{color:var(--text-color,#334155);font-size:.8rem;font-weight:700}.master-modal-field input,.master-modal-field select,.master-modal-field textarea{border:1px solid var(--border-color,#cbd5e1);background:var(--input-bg,#fff);color:var(--text-color,#0f172a);border-radius:8px;outline:none;padding:9px 12px;font-size:.88rem}.master-modal-field input:focus,.master-modal-field select:focus{border-color:#4f46e5}.master-modal-actions{background:var(--footer-bg,#f8fafc);border-top:1px solid var(--border-color,#e2e8f0);justify-content:flex-end;gap:10px;padding:16px 22px;display:flex}.master-btn-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:9px 16px;font-size:.86rem;font-weight:600}.master-btn-submit{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:8px;align-items:center;gap:6px;padding:9px 18px;font-size:.86rem;font-weight:700;display:inline-flex;box-shadow:0 4px 10px #4f46e54d}.master-btn-submit:hover{background:#4338ca}.master-code-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;flex-direction:column;gap:10px;padding:14px;display:flex}.master-code-display{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.master-code-display code{letter-spacing:1.5px;color:#4338ca;font-family:monospace;font-size:1.15rem;font-weight:800}.master-code-btn-copy{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:.78rem;font-weight:600;display:inline-flex}.master-code-btn-wa{color:#fff;background:#16a34a;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.86rem;font-weight:700;text-decoration:none;transition:background .15s;display:inline-flex}.master-code-btn-wa:hover{background:#15803d}.master-nav-pill{background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);align-items:center;gap:6px;display:inline-flex;box-shadow:0 2px 8px #f59e0b59;color:#78350f!important;font-weight:800!important}.master-nav-pill:hover{filter:brightness(1.05)}.master-subtabs{border-bottom:2px solid var(--border-color,#e2e8f0);gap:8px;padding-bottom:2px;display:flex}.master-subtab-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:8px;margin-bottom:-2px;padding:10px 18px;font-size:.92rem;font-weight:700;transition:all .2s;display:inline-flex}.master-subtab-btn:hover{color:#1e1b4b}.master-subtab-btn.active{color:#4338ca;border-bottom-color:#4338ca}.master-subtab-badge{color:#475569;background:#f1f5f9;border-radius:12px;padding:2px 8px;font-size:.75rem}.master-subtab-btn.active .master-subtab-badge{color:#4338ca;background:#ede9fe}.audit-mode-banner{color:#fff;z-index:100;background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 100%);justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;font-size:.86rem;font-weight:600;display:flex;position:sticky;top:0;box-shadow:0 4px 12px #6d28d940}.audit-mode-btn-exit{color:#6d28d9;cursor:pointer;background:#fff;border:0;border-radius:6px;padding:6px 14px;font-size:.8rem;font-weight:700;transition:opacity .15s}.audit-mode-btn-exit:hover{opacity:.9}.master-selector-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:99999;background:#0a0f1ec7;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out masterFadeIn;display:flex;position:fixed;inset:0}@keyframes masterFadeIn{0%{opacity:0}to{opacity:1}}.master-selector-modal{color:#f1f5f9;background:#0f172a;border:1px solid #334155;border-radius:18px;flex-direction:column;width:100%;max-width:680px;max-height:90vh;animation:.25s cubic-bezier(.16,1,.3,1) masterSlideUp;display:flex;overflow:hidden;box-shadow:0 25px 60px -15px #000000b3,0 0 0 1px #7c3aed40}@keyframes masterSlideUp{0%{opacity:0;transform:translateY(18px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.master-selector-header{background:linear-gradient(#1e1b4b 0%,#0f172a 100%);border-bottom:1px solid #1e293b;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px 18px;display:flex}.master-selector-header-info h2{color:#fff;letter-spacing:-.02em;margin:6px 0 4px;font-size:1.35rem;font-weight:800}.master-selector-header-info p{color:#94a3b8;margin:0;font-size:.85rem;line-height:1.45}.master-selector-badge{letter-spacing:.06em;text-transform:uppercase;color:#fde047;background:#eab30826;border:1px solid #eab3084d;border-radius:20px;align-items:center;gap:6px;padding:3px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.master-selector-close{color:#94a3b8;cursor:pointer;background:#ffffff14;border:0;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;transition:all .15s;display:grid}.master-selector-close:hover{color:#fff;background:#ffffff2e}.master-selector-primary-grid{grid-template-columns:1fr 1fr;gap:14px;padding:20px 28px 12px;display:grid}.master-selector-primary-card{text-align:left;cursor:pointer;background:#1e293b;border:2px solid #0000;border-radius:14px;flex-direction:column;padding:18px 16px;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;position:relative}.master-selector-primary-card.saas{background:linear-gradient(135deg,#581c8759 0%,#1e1b4b80 100%);border-color:#8b5cf666}.master-selector-primary-card.saas:hover{background:linear-gradient(135deg,#581c878c 0%,#1e1b4bb3 100%);border-color:#a855f7;transform:translateY(-2px);box-shadow:0 10px 25px -5px #a855f759}.master-selector-primary-card.local{background:linear-gradient(135deg,#1e293bb3 0%,#0f172acc 100%);border-color:#334155}.master-selector-primary-card.local:hover{border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 10px 25px -5px #3b82f640}.master-selector-primary-card.local.active{background:linear-gradient(135deg,#14532d59 0%,#0f172acc 100%);border-color:#22c55e}.master-selector-card-icon{border-radius:12px;place-items:center;width:46px;height:46px;margin-bottom:12px;display:grid}.master-selector-card-icon.saas{color:#fde047;background:#a855f733}.master-selector-card-icon.local{color:#60a5fa;background:#3b82f633}.master-selector-primary-card.local.active .master-selector-card-icon.local{color:#4ade80;background:#22c55e33}.master-selector-card-title-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.master-selector-card-title-row strong{color:#fff;font-size:.96rem;font-weight:700}.master-selector-card-text p{color:#94a3b8;margin:0;font-size:.78rem;line-height:1.4}.master-selector-arrow{color:#64748b;transition:all .15s;position:absolute;top:16px;right:16px}.master-selector-primary-card:hover .master-selector-arrow{color:#fff;transform:translate(3px)}.master-selector-pill{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border-radius:12px;padding:2px 7px;font-size:.68rem;font-weight:800}.master-selector-pill.saas{color:#fef08a;background:#eab30833}.master-selector-pill.active{color:#86efac;background:#22c55e33}.master-selector-divider-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 28px;display:flex}.master-selector-divider-label{color:#94a3b8;letter-spacing:.04em;align-items:center;gap:6px;font-size:.76rem;font-weight:700;display:flex}.master-selector-search{flex:1;align-items:center;max-width:280px;display:flex;position:relative}.master-selector-search svg{color:#64748b;pointer-events:none;position:absolute;left:10px}.master-selector-search input{color:#f1f5f9;background:#1e293b;border:1px solid #334155;border-radius:8px;outline:none;width:100%;padding:6px 12px 6px 32px;font-size:.78rem;transition:border-color .15s}.master-selector-search input:focus{border-color:#8b5cf6}.master-selector-clients-list{flex-direction:column;gap:8px;max-height:250px;padding:6px 28px 18px;display:flex;overflow-y:auto}.master-selector-client-card{color:#f1f5f9;cursor:pointer;text-align:left;background:#131d33;border:1px solid #1e293b;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;transition:all .15s;display:flex}.master-selector-client-card:hover{background:#1e293b;border-color:#475569;transform:translate(2px)}.master-selector-client-card.active{background:#22c55e14;border-color:#22c55e}.master-selector-client-icon{color:#94a3b8;background:#ffffff0d;border-radius:8px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.master-selector-client-card.active .master-selector-client-icon{color:#4ade80;background:#22c55e26}.master-selector-client-info{flex:1;min-width:0}.master-selector-client-name-row{align-items:center;gap:8px;display:flex}.master-selector-client-name-row strong{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;overflow:hidden}.master-selector-client-meta{color:#64748b;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;margin-top:2px;font-size:.74rem;display:flex;overflow:hidden}.master-selector-client-owner{color:#94a3b8}.master-selector-client-plan{color:#a78bfa;font-weight:600}.master-selector-client-action{color:#8b5cf6;background:#8b5cf61a;border-radius:6px;flex-shrink:0;align-items:center;gap:4px;padding:4px 10px;font-size:.76rem;font-weight:700;transition:all .15s;display:flex}.master-selector-client-card:hover .master-selector-client-action{color:#fff;background:#8b5cf6}.master-selector-empty{text-align:center;color:#64748b;padding:24px;font-size:.84rem}.master-selector-footer{background:#0a0f1d;border-top:1px solid #1e293b;justify-content:space-between;align-items:center;gap:12px;padding:14px 28px;display:flex}.master-selector-footer small{color:#64748b;align-items:center;gap:6px;font-size:.74rem;display:flex}.master-selector-btn-close{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #334155;border-radius:8px;padding:6px 14px;font-size:.78rem;font-weight:600;transition:all .15s}.master-selector-btn-close:hover{color:#fff;background:#1e293b}@media (width<=600px){.master-selector-primary-grid{grid-template-columns:1fr}.master-selector-divider-row{flex-direction:column;align-items:stretch}.master-selector-search{max-width:100%}}.inventory-module{flex-direction:column;gap:24px;display:flex}.inventory-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.inventory-header h1{color:#1e293b;margin:0;font-size:26px;font-weight:700}.inventory-header p{color:#64748b;margin:4px 0 0;font-size:14px}.inventory-primary-btn{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:9px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .18s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.inventory-primary-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.inventory-secondary-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:all .15s;display:inline-flex}.inventory-secondary-btn:hover{color:#1e293b;background:#e2e8f0}.inventory-alert{border-radius:10px;align-items:center;gap:10px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.inventory-alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.inventory-alert.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.inventory-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.inventory-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:6px;padding:18px 20px;display:flex;box-shadow:0 1px 3px #0000000d}.inventory-metric-top{color:#64748b;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.inventory-metric-card h3{color:#1e293b;margin:0;font-size:22px;font-weight:700}.inventory-metric-card small{color:#64748b;font-size:12px}.icon-emerald{color:#059669}.icon-cyan{color:#0284c7}.icon-gray{color:#94a3b8}.inventory-stock-summary{gap:6px;margin:2px 0;display:flex}.stock-pill{border-radius:9999px;padding:2px 8px;font-size:11px;font-weight:700}.stock-pill.warning{color:#b45309;background:#fef3c7}.stock-pill.danger{color:#b91c1c;background:#fee2e2}.inventory-controls-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:18px;padding:20px;display:flex;box-shadow:0 1px 4px #0000000d}.inventory-search-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.inventory-search-box{flex:1;align-items:center;min-width:260px;display:flex;position:relative}.inventory-search-box input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:9px;width:100%;min-height:42px;padding:9px 36px 9px 38px;font-size:14px}.inventory-search-box input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.inventory-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.inventory-clear-search{color:#64748b;cursor:pointer;background:#e2e8f0;border:0;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;right:10px}.inventory-filter-group{flex-wrap:wrap;gap:10px;display:flex}.inventory-filter-group select{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;min-height:42px;padding:8px 12px;font-size:13.5px}.inventory-table-scroll{border:1px solid #e2e8f0;border-radius:10px;overflow-x:auto}.inventory-table{border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.inventory-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-weight:700}.inventory-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:13px 16px}.inventory-table tr:last-child td{border-bottom:0}.inventory-table tr:hover{background:#f8fafc}.inventory-sku-badge{color:#334155;background:#e2e8f0;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:12px;font-weight:700}.inventory-prod-cell{flex-direction:column;gap:2px;display:flex}.inventory-prod-cell strong{color:#0f172a}.inventory-prod-cell small{color:#64748b;font-size:12px}.inventory-category-pill{color:#475569;background:#f1f5f9;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:500}.inventory-cost-text{color:#64748b;font-weight:500}.inventory-price-text{color:#059669}.inventory-stock-cell{justify-content:center;align-items:center;gap:8px;display:inline-flex}.inventory-stock-number{min-width:24px;font-size:15px}.inventory-quick-adjust-btn{color:#2563eb;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;align-items:center;gap:3px;padding:2px 6px;font-size:11px;font-weight:600;transition:all .12s;display:inline-flex}.inventory-quick-adjust-btn:hover{background:#dbeafe}.stock-status-pill{border-radius:9999px;padding:3px 10px;font-size:11.5px;font-weight:700;display:inline-block}.stock-status-pill.success{color:#15803d;background:#dcfce7}.stock-status-pill.warning{color:#b45309;background:#fef3c7}.stock-status-pill.danger{color:#b91c1c;background:#fee2e2}.inventory-actions-row{align-items:center;gap:6px;display:inline-flex}.inventory-action-icon{cursor:pointer;color:#64748b;background:0 0;border:1px solid #cbd5e1;border-radius:6px;padding:5px;transition:all .12s}.inventory-action-icon.edit:hover{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.inventory-action-icon.delete:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.inventory-empty-state{text-align:center;color:#64748b;flex-direction:column;align-items:center;gap:12px;padding:44px 20px;display:flex}.inventory-empty-state h4{color:#1e293b;margin:0;font-size:17px}.inventory-empty-state p{max-width:440px;margin:0;font-size:13.5px}.inventory-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.inventory-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:min(100%,620px);max-height:calc(100vh - 32px);margin:auto;animation:.2s ease-out invModalFadeIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.inventory-modal-card.mini{width:min(100%,420px)}@keyframes invModalFadeIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.inventory-modal-header{border-bottom:1px solid #f1f5f9;flex-shrink:0;justify-content:space-between;align-items:flex-start;padding:18px 24px;display:flex}.inventory-modal-title{align-items:center;gap:12px;display:flex}.inventory-modal-icon-box{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.inventory-modal-title h3{color:#1e293b;margin:0;font-size:17px}.inventory-modal-title p{color:#64748b;margin:2px 0 0;font-size:12.5px}.inventory-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px}.inventory-modal-close:hover{color:#1e293b;background:#f1f5f9}.inventory-modal-form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.inventory-form-grid,.inventory-adjust-box{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.inventory-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.inventory-form-grid::-webkit-scrollbar{width:6px}.inventory-adjust-box::-webkit-scrollbar{width:6px}.inventory-form-grid::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:4px}.inventory-adjust-box::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:4px}.inventory-label{color:#334155;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.inventory-label.full-width{grid-column:span 2}.inventory-label input,.inventory-label select,.inventory-label textarea{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:40px;padding:9px 12px;font-size:13.5px}.inventory-label input:focus,.inventory-label select:focus,.inventory-label textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.inventory-label small{color:#64748b;font-size:11px;font-weight:400}.inventory-adjust-box{flex-direction:column;gap:14px;display:flex}.inventory-adjust-prev{color:#475569;background:#f8fafc;border-radius:8px;padding:10px 14px;font-size:13px}.inventory-modal-actions{background:#fff;border-top:1px solid #f1f5f9;flex-shrink:0;justify-content:flex-end;gap:10px;padding:14px 24px;display:flex;box-shadow:0 -4px 12px #0000000a}.app[data-theme=dark] .inventory-header h1{color:#f1f5f9}.app[data-theme=dark] .inventory-header p{color:#8ca0b8}.app[data-theme=dark] .inventory-metric-card,.app[data-theme=dark] .inventory-controls-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .inventory-metric-top{color:#8ca0b8}.app[data-theme=dark] .inventory-metric-card h3{color:#f1f5f9}.app[data-theme=dark] .inventory-metric-card small{color:#8ca0b8}.app[data-theme=dark] .inventory-search-box input,.app[data-theme=dark] .inventory-filter-group select{color:#e2ebf7;background:#0f172a;border-color:#263852}.app[data-theme=dark] .inventory-clear-search{color:#94a3b8;background:#1e293b}.app[data-theme=dark] .inventory-table-scroll{border-color:#263852}.app[data-theme=dark] .inventory-table th{color:#8ca0b8;background:#0f172a;border-color:#263852}.app[data-theme=dark] .inventory-table td{color:#e2ebf7;border-color:#1e293b}.app[data-theme=dark] .inventory-table tr:hover{background:#182840}.app[data-theme=dark] .inventory-sku-badge{color:#94a3b8;background:#1e293b}.app[data-theme=dark] .inventory-prod-cell strong{color:#f1f5f9}.app[data-theme=dark] .inventory-category-pill{color:#8ca0b8;background:#1e293b}.app[data-theme=dark] .inventory-quick-adjust-btn{color:#60a5fa;background:#1e3a5f;border-color:#2563eb}.app[data-theme=dark] .inventory-action-icon{color:#8ca0b8;border-color:#334155}.app[data-theme=dark] .inventory-modal-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .inventory-modal-header{border-color:#1e293b}.app[data-theme=dark] .inventory-modal-title h3{color:#f1f5f9}.app[data-theme=dark] .inventory-label{color:#cbd5e1}.app[data-theme=dark] .inventory-label input,.app[data-theme=dark] .inventory-label select,.app[data-theme=dark] .inventory-label textarea{color:#f1f5f9;background:#0f172a;border-color:#263852}.app[data-theme=dark] .inventory-adjust-prev{color:#8ca0b8;background:#0f172a}.app[data-theme=dark] .inventory-secondary-btn{color:#e2ebf7;background:#1e293b;border-color:#334155}.app[data-theme=dark] .inventory-modal-actions{background:#131f32;border-color:#1e293b;box-shadow:0 -4px 12px #0000004d}@media (width<=900px){.inventory-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.inventory-metrics-grid,.inventory-form-grid{grid-template-columns:1fr}.inventory-label.full-width{grid-column:span 1}}.expenses-module{flex-direction:column;gap:24px;display:flex}.expenses-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.expenses-header h1{color:#1e293b;margin:0;font-size:26px;font-weight:700}.expenses-header p{color:#64748b;margin:4px 0 0;font-size:14px}.expenses-primary-btn{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:9px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .18s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.expenses-primary-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.expenses-secondary-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:all .15s;display:inline-flex}.expenses-secondary-btn:hover{color:#1e293b;background:#e2e8f0}.expenses-alert{border-radius:10px;align-items:center;gap:10px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.expenses-alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.expenses-alert.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.expenses-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.expenses-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:6px;padding:18px 20px;display:flex;box-shadow:0 1px 3px #0000000d}.expenses-metric-top{color:#64748b;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.expenses-metric-card h3{color:#1e293b;margin:0;font-size:22px;font-weight:700}.expenses-metric-card small{color:#64748b;font-size:12px}.icon-red{color:#dc2626}.icon-blue{color:#2563eb}.icon-amber{color:#d97706}.expenses-controls-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:18px;padding:20px;display:flex;box-shadow:0 1px 4px #0000000d}.expenses-search-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.expenses-search-box{flex:1;align-items:center;min-width:260px;display:flex;position:relative}.expenses-search-box input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:9px;width:100%;min-height:42px;padding:9px 36px 9px 38px;font-size:14px}.expenses-search-box input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.expenses-search-icon{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.expenses-clear-search{color:#64748b;cursor:pointer;background:#e2e8f0;border:0;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;right:10px}.expenses-filter-group{flex-wrap:wrap;gap:10px;display:flex}.expenses-filter-group select{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;min-height:42px;padding:8px 12px;font-size:13.5px}.expenses-table-scroll{border:1px solid #e2e8f0;border-radius:10px;overflow-x:auto}.expenses-table{border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.expenses-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-weight:700}.expenses-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:13px 16px}.expenses-table tr:last-child td{border-bottom:0}.expenses-table tr:hover{background:#f8fafc}.expenses-date-text{color:#475569;font-size:13px;font-weight:500}.expenses-category-tag{color:#475569;background:#f1f5f9;border-radius:6px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.expenses-category-tag.compra_mercaderia{color:#0369a1;background:#e0f2fe}.expenses-concept-cell{flex-direction:column;gap:2px;display:flex}.expenses-concept-cell strong{color:#0f172a}.expenses-concept-cell small{color:#64748b;font-size:12px}.expenses-stock-added-pill{font-weight:600;color:#059669!important;font-size:11.5px!important}.expenses-receipt-badge{color:#475569;background:#f1f5f9;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:12px}.expenses-payment-method{color:#64748b;font-size:12.5px}.expenses-amount-text{color:#dc2626;font-size:14px}.expenses-actions-row{align-items:center;gap:6px;display:inline-flex}.expenses-action-icon{cursor:pointer;color:#64748b;background:0 0;border:1px solid #cbd5e1;border-radius:6px;padding:5px;transition:all .12s}.expenses-action-icon.edit:hover{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.expenses-action-icon.delete:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.expenses-empty-state{text-align:center;color:#64748b;flex-direction:column;align-items:center;gap:12px;padding:44px 20px;display:flex}.expenses-empty-state h4{color:#1e293b;margin:0;font-size:17px}.expenses-empty-state p{max-width:440px;margin:0;font-size:13.5px}.expenses-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.expenses-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:min(100%,640px);max-height:calc(100vh - 32px);margin:auto;animation:.2s ease-out expModalFadeIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}@keyframes expModalFadeIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.expenses-modal-header{border-bottom:1px solid #f1f5f9;flex-shrink:0;justify-content:space-between;align-items:flex-start;padding:18px 24px;display:flex}.expenses-modal-title{align-items:center;gap:12px;display:flex}.expenses-modal-icon-box{color:#dc2626;background:#fee2e2;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.expenses-modal-title h3{color:#1e293b;margin:0;font-size:17px}.expenses-modal-title p{color:#64748b;margin:2px 0 0;font-size:12.5px}.expenses-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px}.expenses-modal-close:hover{color:#1e293b;background:#f1f5f9}.expenses-modal-form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.expenses-modal-body{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.expenses-modal-body::-webkit-scrollbar{width:6px}.expenses-modal-body::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:4px}.expenses-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.expenses-label{color:#334155;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.expenses-label.full-width{grid-column:span 2}.expenses-label input,.expenses-label select{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:40px;padding:9px 12px;font-size:13.5px}.expenses-label input:focus,.expenses-label select:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.expenses-label small{color:#64748b;font-size:11px;font-weight:400}.expenses-purchase-box{background:#f0f7ff;border:1px solid #bfdbfe;border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.expenses-purchase-header{color:#1d4ed8;align-items:center;gap:8px;font-size:13.5px;display:flex}.expenses-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.expenses-checkbox-label{cursor:pointer;color:#1e293b;background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:12.5px;display:flex}.expenses-checkbox-label input{cursor:pointer;width:16px;height:16px}.expenses-modal-actions{background:#fff;border-top:1px solid #f1f5f9;flex-shrink:0;justify-content:flex-end;gap:10px;padding:14px 24px;display:flex;box-shadow:0 -4px 12px #0000000a}.expenses-datetime-cell{flex-direction:column;gap:3px;display:flex}.expenses-time-tag{color:#64748b;align-items:center;gap:4px;font-size:11.5px;font-weight:500;display:inline-flex}.expenses-supplier-tag{color:#334155;background:#f1f5f9;border-radius:6px;align-items:center;gap:5px;width:fit-content;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-flex}.expenses-input-with-icon{align-items:center;display:flex;position:relative}.expenses-input-with-icon .expenses-field-icon{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.expenses-input-with-icon input{width:100%;padding-left:36px!important}.expenses-obs-text{color:#64748b;font-size:11.5px}.app[data-theme=dark] .expenses-header h1{color:#f1f5f9}.app[data-theme=dark] .expenses-header p{color:#8ca0b8}.app[data-theme=dark] .expenses-metric-card,.app[data-theme=dark] .expenses-controls-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .expenses-metric-top{color:#8ca0b8}.app[data-theme=dark] .expenses-metric-card h3{color:#f1f5f9}.app[data-theme=dark] .expenses-metric-card small{color:#8ca0b8}.app[data-theme=dark] .expenses-search-box input,.app[data-theme=dark] .expenses-filter-group select{color:#e2ebf7;background:#0f172a;border-color:#263852}.app[data-theme=dark] .expenses-clear-search{color:#94a3b8;background:#1e293b}.app[data-theme=dark] .expenses-table-scroll{border-color:#263852}.app[data-theme=dark] .expenses-table th{color:#8ca0b8;background:#0f172a;border-color:#263852}.app[data-theme=dark] .expenses-table td{color:#e2ebf7;border-color:#1e293b}.app[data-theme=dark] .expenses-table tr:hover{background:#182840}.app[data-theme=dark] .expenses-date-text{color:#8ca0b8}.app[data-theme=dark] .expenses-category-tag{color:#cbd5e1;background:#1e293b}.app[data-theme=dark] .expenses-category-tag.compra_mercaderia{color:#93c5fd;background:#1e3a5f}.app[data-theme=dark] .expenses-concept-cell strong{color:#f1f5f9}.app[data-theme=dark] .expenses-receipt-badge{color:#8ca0b8;background:#1e293b}.app[data-theme=dark] .expenses-payment-method{color:#8ca0b8}.app[data-theme=dark] .expenses-amount-text{color:#f87171}.app[data-theme=dark] .expenses-action-icon{color:#8ca0b8;border-color:#334155}.app[data-theme=dark] .expenses-modal-card{background:#131f32;border-color:#263852}.app[data-theme=dark] .expenses-modal-header{border-color:#1e293b}.app[data-theme=dark] .expenses-modal-title h3{color:#f1f5f9}.app[data-theme=dark] .expenses-label{color:#cbd5e1}.app[data-theme=dark] .expenses-label input,.app[data-theme=dark] .expenses-label select{color:#f1f5f9;background:#0f172a;border-color:#263852}.app[data-theme=dark] .expenses-purchase-box{background:#182840;border-color:#2563eb}.app[data-theme=dark] .expenses-purchase-header{color:#60a5fa}.app[data-theme=dark] .expenses-checkbox-label{color:#e2ebf7;background:#0f172a;border-color:#263852}.app[data-theme=dark] .expenses-secondary-btn{color:#e2ebf7;background:#1e293b;border-color:#334155}.app[data-theme=dark] .expenses-modal-actions{background:#131f32;border-color:#1e293b;box-shadow:0 -4px 12px #0000004d}.app[data-theme=dark] .expenses-modal-body::-webkit-scrollbar-thumb{background-color:#263852}.app[data-theme=dark] .expenses-time-tag{color:#94a3b8}.app[data-theme=dark] .expenses-supplier-tag{color:#93c5fd;background:#1e293b;border:1px solid #263852}.app[data-theme=dark] .expenses-obs-text{color:#8ca0b8}@media (width<=800px){.expenses-metrics-grid{grid-template-columns:1fr}}@media (width<=600px){.expenses-form-grid,.expenses-purchase-grid{grid-template-columns:1fr}.expenses-label.full-width{grid-column:span 1}}.pin-screen-overlay{z-index:9999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f8fafc;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 20%,#1e293b 0%,#0f172a 100%);justify-content:center;align-items:center;padding:20px;font-family:inherit;display:flex;position:fixed;inset:0}.pin-card{text-align:center;background:#1e293bd9;border:1px solid #ffffff1a;border-radius:20px;flex-direction:column;align-items:center;width:100%;max-width:440px;padding:32px 28px 24px;animation:.25s cubic-bezier(.16,1,.3,1) pinPopIn;display:flex;position:relative;overflow:hidden;box-shadow:0 25px 50px -12px #00000080,0 0 0 1px #ffffff0d}@keyframes pinPopIn{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.pin-header{flex-direction:column;align-items:center;margin-bottom:20px;display:flex}.pin-brand-icon{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#38bdf8 100%);border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:12px;font-size:26px;font-weight:800;display:flex;box-shadow:0 10px 20px -5px #2563eb66}.pin-header h2{color:#fff;letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:700}.pin-header p{color:#94a3b8;margin:4px 0 0;font-size:.875rem}.pin-users-strip{scrollbar-width:thin;gap:8px;max-width:100%;margin-bottom:8px;padding:4px 2px 14px;display:flex;overflow-x:auto}.pin-user-chip{color:#cbd5e1;cursor:pointer;white-space:nowrap;background:#33415599;border:1px solid #ffffff14;border-radius:9999px;align-items:center;gap:6px;padding:6px 14px;font-size:.82rem;font-weight:600;transition:all .15s;display:inline-flex}.pin-user-chip:hover{color:#fff;background:#475569cc;border-color:#fff3}.pin-user-chip.active{color:#fff;background:#2563eb;border-color:#3b82f6;box-shadow:0 4px 12px #2563eb59}.pin-user-chip .chip-dot{background:#22c55e;border-radius:50%;width:7px;height:7px}.pin-dots-container{justify-content:center;align-items:center;gap:14px;height:28px;margin:10px 0 22px;display:flex}.pin-dot{background:0 0;border:2px solid #475569;border-radius:50%;width:16px;height:16px;transition:all .15s cubic-bezier(.175,.885,.32,1.275)}.pin-dot.filled{background:#38bdf8;border-color:#38bdf8;transform:scale(1.15);box-shadow:0 0 12px #38bdf899}.pin-dot.error{background:#ef4444;border-color:#ef4444;box-shadow:0 0 12px #ef444499}.pin-dot.success{background:#22c55e;border-color:#22c55e;box-shadow:0 0 12px #22c55e99}.pin-card.shake{animation:.4s ease-in-out pinShake}@keyframes pinShake{0%,to{transform:translate(0)}20%,60%{transform:translate(-10px)}40%,80%{transform:translate(10px)}}.pin-status-message{color:#94a3b8;min-height:20px;margin-top:-10px;margin-bottom:14px;font-size:.85rem;font-weight:600}.pin-status-message.error{color:#f87171}.pin-status-message.success{color:#4ade80}.pin-grid{grid-template-columns:repeat(3,1fr);gap:12px;width:100%;max-width:310px;display:grid}.pin-btn{color:#fff;cursor:pointer;background:#33415580;border:1px solid #ffffff14;border-radius:14px;outline:none;justify-content:center;align-items:center;height:56px;font-size:1.45rem;font-weight:600;transition:all .12s;display:flex}.pin-btn:hover{background:#475569bf;border-color:#fff3;transform:translateY(-1px)}.pin-btn:active{background:#2563eb;transform:scale(.94)}.pin-btn.action-btn{color:#94a3b8;background:#1e293b99;font-size:1rem}.pin-btn.action-btn:hover{color:#fff;background:#334155cc}.pin-btn.action-btn.enter-btn{color:#60a5fa;background:#2563eb40;border-color:#2563eb66}.pin-btn.action-btn.enter-btn:hover{color:#fff;background:#2563eb}.pin-footer{flex-direction:column;align-items:center;gap:8px;margin-top:20px;display:flex}.pin-demo-hint{color:#64748b;background:#0f172a80;border:1px dashed #ffffff1a;border-radius:6px;padding:4px 10px;font-size:.78rem}.pin-demo-hint strong{color:#cbd5e1}.pin-cancel-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 12px;font-size:.82rem;transition:color .15s}.pin-cancel-btn:hover{color:#fff;text-decoration:underline}.pin-renewal-error{color:#fca5a5;text-align:left;background:#ef444426;border:1px solid #ef444459;border-radius:8px;align-items:center;gap:8px;margin-bottom:14px;padding:8px 12px;font-size:.82rem;display:flex}.login-user-form{text-align:left;flex-direction:column;gap:14px;width:100%;max-width:340px;margin:6px 0 12px;display:flex}.login-input-group{flex-direction:column;gap:6px;display:flex}.login-input-group label{color:#cbd5e1;font-size:.82rem;font-weight:600}.login-input-wrapper{align-items:center;display:flex;position:relative}.login-input-icon{color:#64748b;pointer-events:none;position:absolute;left:12px}.login-input-field{box-sizing:border-box;color:#fff;background:#0f172abf;border:1px solid #ffffff24;border-radius:10px;outline:none;width:100%;padding:11px 42px 11px 38px;font-size:.95rem;transition:all .2s}.login-input-field:focus{background:#0f172af2;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f640}.login-eye-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:color .15s;display:flex;position:absolute;right:10px}.login-eye-btn:hover{color:#fff}.login-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:1px solid #3b82f6;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:6px;padding:12px 16px;font-size:.95rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 14px #2563eb66}.login-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);border-color:#60a5fa;transform:translateY(-1px);box-shadow:0 6px 18px #2563eb80}.login-submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.login-switch-mode-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;margin-top:10px;padding:6px 10px;font-size:.8rem;font-weight:500;transition:all .15s;display:inline-flex}.login-switch-mode-btn:hover{color:#38bdf8;background:#ffffff0a}.login-register-cta{flex-direction:column;gap:12px;width:100%;margin-top:16px;display:flex}.login-divider{text-align:center;color:#64748b;align-items:center;margin:4px 0;font-size:.78rem;display:flex}.login-divider:before,.login-divider:after{content:"";border-bottom:1px solid #ffffff1a;flex:1}.login-divider span{padding:0 10px}.btn-registro-prompt{color:#38bdf8;cursor:pointer;background:#38bdf81f;border:1px solid #38bdf859;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:11px 16px;font-size:.88rem;font-weight:700;transition:all .2s;display:flex}.btn-registro-prompt:hover{color:#fff;background:#38bdf838;border-color:#38bdf8;transform:translateY(-1px)}.pin-card.pin-card-registro{max-width:580px;padding:26px 28px 22px}.pin-registro-badge{color:#34d399;letter-spacing:.02em;background:#10b98126;border:1px solid #10b98166;border-radius:20px;align-items:center;gap:6px;margin-bottom:12px;padding:4px 14px;font-size:.78rem;font-weight:700;display:inline-flex}.registro-form{flex-direction:column;gap:14px;width:100%;display:flex}.registro-grid{text-align:left;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.registro-beneficios{text-align:left;background:#0f172a99;border:1px solid #ffffff0f;border-radius:10px;grid-template-columns:repeat(2,1fr);gap:8px;padding:10px 14px;display:grid}.beneficio-item{color:#94a3b8;font-size:.76rem;line-height:1.35}.registro-submit-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);border-color:#34d399;box-shadow:0 4px 14px #10b98159}.registro-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669 0%,#047857 100%);border-color:#6ee7b7;box-shadow:0 6px 18px #10b98173}@media (width<=540px){.pin-card.pin-card-registro{padding:20px 16px}.registro-grid,.registro-beneficios{grid-template-columns:1fr}}
