:root{--bg-main:#f3f6fb;--bg-soft:#eef3f8;--bg-panel:#fff;--bg-sidebar:#0f172a;--text-main:#0f172a;--text-soft:#475569;--text-muted:#64748b;--text-white:#f8fafc;--border:#dbe3ee;--primary:#2563eb;--primary-hover:#1d4ed8;--success:#16a34a;--danger:#dc2626;--warning:#f97316;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--shadow-soft:0 8px 22px #0f172a14;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.45}*,:before,:after{box-sizing:border-box}html{margin:0;padding:0}body{margin:0;overflow-x:hidden}h1,h2,h3,h4,h5,h6,p{margin:0}h1{letter-spacing:-.35px;font-size:26px;font-weight:800;line-height:1.2}h2{font-size:19px;font-weight:750;line-height:1.25}h3{font-size:15px;font-weight:700;line-height:1.3}button,input,select,textarea{font-family:inherit;font-size:14px}button{border-radius:var(--radius-md);cursor:pointer;border:none;padding:10px 14px;font-weight:700;transition:transform .16s,filter .16s,opacity .16s}button:hover:not(:disabled){filter:brightness(1.04)}button:active:not(:disabled){transform:scale(.99)}button:disabled{cursor:not-allowed}input,select,textarea{border-radius:var(--radius-md);outline:none;padding:10px 12px;transition:border-color .16s,box-shadow .16s,background-color .2s,color .2s}textarea{resize:vertical}img{max-width:100%;height:auto}table{border-collapse:collapse;width:100%}table th{text-align:left;text-transform:uppercase;letter-spacing:.35px;padding:11px 12px;font-size:12.5px;font-weight:800}table td{padding:11px 12px;font-size:13px}.mobile-scroll{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}.mobile-menu-button,.mobile-menu-overlay{display:none}@media (width<=900px){:root{font-size:13px}h1{font-size:23px}h2{font-size:17px}button,input,select,textarea{font-size:13px}table th,table td{padding:9px;font-size:12px}}@media (width<=768px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}h1{font-size:21px}h2{font-size:17px}.app-layout{width:100%!important;min-height:100vh!important;display:block!important;overflow-x:hidden!important}.mobile-menu-button{z-index:3001;color:#fff;background:#0f172a;border:1px solid #ffffff1f;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex;position:fixed;top:14px;left:14px;box-shadow:0 8px 24px #0f172a47}.mobile-menu-overlay{z-index:1999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#02061794;display:block;position:fixed;inset:0}.app-sidebar{z-index:3000!important;width:285px!important;min-width:285px!important;max-width:285px!important;height:100vh!important;transition:transform .25s!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;transform:translate(-110%)!important}.app-sidebar.open{transform:translate(0)!important}.app-main{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;padding:72px 10px 18px!important;overflow-x:hidden!important}.app-main>*{width:100%!important;min-width:0!important;max-width:100%!important}.app-main>section,.app-main>form,.app-main>article,.app-main>div{min-width:0!important;max-width:100%!important}.app-main input,.app-main select,.app-main textarea{max-width:100%}.mobile-scroll,.app-main div[style*=overflow-x]{-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;overflow-x:auto!important}.app-main table{min-width:720px}div[style*="padding: 24px"]{padding:12px!important}}@media (width<=480px){:root{font-size:12.5px}h1{font-size:20px}table th,table td{padding:8px;font-size:11.5px}.app-main{padding-left:8px!important;padding-right:8px!important}.app-sidebar{width:min(285px,88vw)!important;min-width:min(285px,88vw)!important;max-width:min(285px,88vw)!important}}#root,.app-layout{width:100%;min-height:100vh}.app-main{min-width:0}:root,html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-page:#f1f5f9;--bg-main:#f1f5f9;--bg-surface:#fff;--bg-panel:#fff;--bg-card:#fff;--bg-surface-soft:#f8fafc;--bg-soft:#f8fafc;--bg-input:#fff;--bg-table-head:#eaf0f8;--bg-table-row:#fff;--bg-table-row-alt:#f8fafc;--bg-table-hover:#eef4fb;--text-primary:#0f172a;--text-main:#0f172a;--text-secondary:#475569;--text-soft:#475569;--text-muted:#64748b;--text-input:#0f172a;--border-color:#d6e0ed;--border:#d6e0ed;--border-strong:#b8c6d9;--primary:#2563eb;--primary-hover:#1d4ed8;--success:#16a34a;--danger:#dc2626;--warning:#f97316;--card-shadow:0 10px 30px #0f172a14;--shadow-soft:0 8px 22px #0f172a14}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-page:#07111f;--bg-main:#07111f;--bg-surface:#0f1a2b;--bg-panel:#0f1a2b;--bg-card:#111e31;--bg-surface-soft:#111e31;--bg-soft:#111e31;--bg-input:#111b2c;--bg-table-head:#17243a;--bg-table-row:#101b2d;--bg-table-row-alt:#142136;--bg-table-hover:#1a2940;--text-primary:#f8fafc;--text-main:#f8fafc;--text-secondary:#cbd5e1;--text-soft:#cbd5e1;--text-muted:#94a3b8;--text-input:#f8fafc;--border-color:#2a3950;--border:#2a3950;--border-strong:#3a4b65;--primary:#3b82f6;--primary-hover:#2563eb;--success:#22c55e;--danger:#ef4444;--warning:#fb923c;--card-shadow:0 12px 32px #00000052;--shadow-soft:0 10px 26px #00000047}html,body,#root{width:100%;min-height:100%}html{background:var(--bg-page)}body{background:var(--bg-page);color:var(--text-primary);margin:0;transition:background-color .25s,color .25s}.app-layout,.app-main{background:var(--bg-page)!important;color:var(--text-primary)!important}.app-main{min-height:100vh}.app-main h1,.app-main h2,.app-main h3,.app-main h4,.app-main h5,.app-main h6{color:var(--text-primary)!important}.app-main p{color:var(--text-secondary)}.app-main label{color:var(--text-primary)!important}html[data-theme=dark] .app-main [style*="color: rgb(15, 23, 42)"],html[data-theme=dark] .app-main [style*="color:#0f172a"],html[data-theme=dark] .app-main [style*="color: #0f172a"],html[data-theme=dark] .app-main [style*="color:#111827"],html[data-theme=dark] .app-main [style*="color: #111827"],html[data-theme=dark] .app-main [style*="color:#1e293b"],html[data-theme=dark] .app-main [style*="color: #1e293b"],html[data-theme=dark] .app-main [style*="color:#334155"],html[data-theme=dark] .app-main [style*="color: #334155"]{color:var(--text-primary)!important}html[data-theme=dark] .app-main [style*="color:#475569"],html[data-theme=dark] .app-main [style*="color: #475569"],html[data-theme=dark] .app-main [style*="color:#64748b"],html[data-theme=dark] .app-main [style*="color: #64748b"]{color:var(--text-secondary)!important}html[data-theme=dark] .app-main section,html[data-theme=dark] .app-main article,html[data-theme=dark] .app-main form{color:var(--text-primary)}html[data-theme=dark] .app-main [style*="background: rgb(255, 255, 255)"],html[data-theme=dark] .app-main [style*="background:#ffffff"],html[data-theme=dark] .app-main [style*="background: #ffffff"],html[data-theme=dark] .app-main [style*="background:#fff"],html[data-theme=dark] .app-main [style*="background: #fff"],html[data-theme=dark] .app-main [style*="background-color:#ffffff"],html[data-theme=dark] .app-main [style*="background-color: #ffffff"]{background:var(--bg-surface)!important;color:var(--text-primary)!important}html[data-theme=dark] .app-main [style*="background:#f8fafc"],html[data-theme=dark] .app-main [style*="background: #f8fafc"],html[data-theme=dark] .app-main [style*="background:#f1f5f9"],html[data-theme=dark] .app-main [style*="background: #f1f5f9"],html[data-theme=dark] .app-main [style*="background:#eef2f7"],html[data-theme=dark] .app-main [style*="background: #eef2f7"]{background:var(--bg-surface-soft)!important;color:var(--text-primary)!important}.app-main .card,.app-main .panel,.app-main .box,.app-main .form-card,.app-main .table-container,.app-main .modal-content{box-shadow:var(--card-shadow);background:var(--bg-surface)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.app-main input,.app-main select,.app-main textarea{caret-color:var(--text-input);background-color:var(--bg-input)!important;color:var(--text-input)!important;border:1px solid var(--border-color)!important}.app-main input::placeholder,.app-main textarea::placeholder{opacity:1;color:var(--text-muted)!important}.app-main input:focus,.app-main select:focus,.app-main textarea:focus{outline:none;border-color:var(--primary)!important;box-shadow:0 0 0 3px #2563eb29!important}.app-main input:disabled,.app-main select:disabled,.app-main textarea:disabled{opacity:.85;cursor:not-allowed;background-color:var(--bg-surface-soft)!important;color:var(--text-muted)!important;border-color:var(--border-color)!important}.app-main table{border-collapse:collapse;width:100%;background:var(--bg-table-row)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.app-main td small{color:var(--text-secondary)!important}.app-main button{border-color:var(--border-color)}.app-main button:disabled{opacity:.65;cursor:not-allowed}.app-main button[style*="background: rgb(37, 99, 235)"],.app-main button[style*="background:#2563eb"],.app-main button[style*="background: #2563eb"],.app-main button[style*="background:#1d4ed8"],.app-main button[style*="background: #1d4ed8"]{color:#fff!important}html[data-theme=dark] .app-main [style*="border: 1px solid rgb(219, 227, 238)"],html[data-theme=dark] .app-main [style*="border:1px solid #dbe3ee"],html[data-theme=dark] .app-main [style*="border: 1px solid #dbe3ee"],html[data-theme=dark] .app-main [style*="border:1px solid #e2e8f0"],html[data-theme=dark] .app-main [style*="border: 1px solid #e2e8f0"]{border-color:var(--border-color)!important}html[data-theme=dark] .app-main li,html[data-theme=dark] .app-main td,html[data-theme=dark] .app-main [role=listitem]{color:var(--text-primary)}html[data-theme=dark] .app-main li small,html[data-theme=dark] .app-main [role=listitem] small{color:var(--text-secondary)}.app-main [role=dialog]{color:var(--text-primary)}.app-main [role=dialog] input,.app-main [role=dialog] select,.app-main [role=dialog] textarea{background:var(--bg-input)!important;color:var(--text-input)!important}*{scrollbar-color:var(--border-strong) var(--bg-surface-soft)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--bg-surface-soft)}::-webkit-scrollbar-thumb{background:var(--border-strong);border:2px solid var(--bg-surface-soft);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.app-main,.app-main section,.app-main article,.app-main form,.app-main input,.app-main select,.app-main textarea,.app-main table,.app-main th,.app-main td{transition:background-color .2s,color .2s,border-color .2s}.firma-editor-cuenta-cobro{background:#fff!important;border-color:#94a3b8!important}.firma-canvas-cuenta-cobro{background:#fff!important}.firma-editor-cuenta-cobro .firma-indicacion-cuenta-cobro{color:#64748b!important}html[data-theme=dark] .app-main .firma-editor-cuenta-cobro,html[data-theme=dark] .app-main .firma-canvas-cuenta-cobro,html[data-theme=light] .app-main .firma-editor-cuenta-cobro,html[data-theme=light] .app-main .firma-canvas-cuenta-cobro,html[data-theme=dark] .firma-editor-cuenta-cobro,html[data-theme=dark] .firma-canvas-cuenta-cobro{background:#fff!important}.firma-editor-cuenta-cobro{border-color:#94a3b8!important}.firma-canvas-cuenta-cobro{opacity:1!important;filter:none!important}.app-main{background:var(--bg-page)!important;color:var(--text-primary)!important}.app-main>section,.app-main>article,.app-main>form,.app-main h1,.app-main h2,.app-main h3,.app-main h4,.app-main h5,.app-main h6{color:var(--text-primary)!important}.app-main p,.app-main label{color:var(--text-secondary)!important}.app-main small{color:var(--text-muted)!important}html[data-theme=dark] .app-main [style*="color: rgb(15, 23, 42)"],html[data-theme=dark] .app-main [style*="color: #0f172a"],html[data-theme=dark] .app-main [style*="color:#0f172a"],html[data-theme=dark] .app-main [style*="color: rgb(17, 24, 39)"],html[data-theme=dark] .app-main [style*="color: #111827"],html[data-theme=dark] .app-main [style*="color:#111827"],html[data-theme=dark] .app-main [style*="color: rgb(30, 41, 59)"],html[data-theme=dark] .app-main [style*="color: #1e293b"],html[data-theme=dark] .app-main [style*="color:#1e293b"],html[data-theme=dark] .app-main [style*="color: rgb(51, 65, 85)"],html[data-theme=dark] .app-main [style*="color: #334155"],html[data-theme=dark] .app-main [style*="color:#334155"]{color:var(--text-primary)!important}html[data-theme=dark] .app-main [style*="color: rgb(71, 85, 105)"],html[data-theme=dark] .app-main [style*="color: #475569"],html[data-theme=dark] .app-main [style*="color:#475569"],html[data-theme=dark] .app-main [style*="color: rgb(100, 116, 139)"],html[data-theme=dark] .app-main [style*="color: #64748b"],html[data-theme=dark] .app-main [style*="color:#64748b"]{color:var(--text-secondary)!important}html[data-theme=dark] .app-main div[style*="background: rgb(255, 255, 255)"],html[data-theme=dark] .app-main section[style*="background: rgb(255, 255, 255)"],html[data-theme=dark] .app-main article[style*="background: rgb(255, 255, 255)"],html[data-theme=dark] .app-main form[style*="background: rgb(255, 255, 255)"],html[data-theme=dark] .app-main div[style*="background: #ffffff"],html[data-theme=dark] .app-main section[style*="background: #ffffff"],html[data-theme=dark] .app-main article[style*="background: #ffffff"],html[data-theme=dark] .app-main form[style*="background: #ffffff"],html[data-theme=dark] .app-main div[style*="background:#ffffff"],html[data-theme=dark] .app-main div[style*="background: #fff"],html[data-theme=dark] .app-main div[style*="background:#fff"]{background:var(--bg-surface)!important;color:var(--text-primary)!important}html[data-theme=dark] .app-main div[style*="background: rgb(248, 250, 252)"],html[data-theme=dark] .app-main div[style*="background: #f8fafc"],html[data-theme=dark] .app-main div[style*="background:#f8fafc"],html[data-theme=dark] .app-main div[style*="background: rgb(241, 245, 249)"],html[data-theme=dark] .app-main div[style*="background: #f1f5f9"],html[data-theme=dark] .app-main div[style*="background:#f1f5f9"],html[data-theme=dark] .app-main div[style*="background: #eef2f7"],html[data-theme=dark] .app-main div[style*="background:#eef2f7"]{background:var(--bg-surface-soft)!important;color:var(--text-primary)!important}.app-main input,.app-main select,.app-main textarea{background:var(--bg-input)!important;color:var(--text-input)!important;border-color:var(--border-color)!important;caret-color:var(--text-input)!important}.app-main input::placeholder,.app-main textarea::placeholder{color:var(--text-muted)!important;opacity:1!important}.app-main input:focus,.app-main select:focus,.app-main textarea:focus{border-color:var(--primary)!important;outline:none!important;box-shadow:0 0 0 3px #2563eb29!important}.app-main select option{background:var(--bg-input)!important;color:var(--text-input)!important}.app-main input:disabled,.app-main select:disabled,.app-main textarea:disabled{background:var(--bg-surface-soft)!important;color:var(--text-muted)!important;border-color:var(--border-color)!important;opacity:.85!important}html[data-theme=dark] input[type=date],html[data-theme=dark] input[type=time],html[data-theme=dark] input[type=datetime-local],html[data-theme=dark] input[type=month]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=light] input[type=date],html[data-theme=light] input[type=time],html[data-theme=light] input[type=datetime-local],html[data-theme=light] input[type=month]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.app-main table{background:var(--bg-table-row)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.app-main thead,.app-main thead tr,.app-main thead th{background:var(--bg-table-head)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.app-main tbody tr{background:var(--bg-table-row)!important;color:var(--text-primary)!important}.app-main tbody tr:nth-child(2n){background:var(--bg-table-row-alt)!important}.app-main tbody tr:hover{background:var(--bg-table-hover)!important}.app-main th,.app-main td{color:var(--text-primary)!important;border-color:var(--border-color)!important}.app-main td span:not([style*=background]),.app-main td small{color:var(--text-secondary)!important}html[data-theme=dark] .app-main [style*="border: 1px solid rgb(226, 232, 240)"],html[data-theme=dark] .app-main [style*="border: 1px solid #e2e8f0"],html[data-theme=dark] .app-main [style*="border:1px solid #e2e8f0"],html[data-theme=dark] .app-main [style*="border: 1px solid rgb(219, 227, 238)"],html[data-theme=dark] .app-main [style*="border: 1px solid #dbe3ee"],html[data-theme=dark] .app-main [style*="border:1px solid #dbe3ee"],html[data-theme=dark] .app-main [style*="border: 1px solid rgb(203, 213, 225)"],html[data-theme=dark] .app-main [style*="border: 1px solid #cbd5e1"],html[data-theme=dark] .app-main [style*="border:1px solid #cbd5e1"]{border-color:var(--border-color)!important}.app-main [role=dialog],.app-main .modal,.app-main .modal-content{color:var(--text-primary)!important}html[data-theme=dark] .app-main [role=dialog]>div,html[data-theme=dark] .app-main .modal-content{background:var(--bg-surface)!important;border-color:var(--border-color)!important}.app-main button:not([style*=background]){color:var(--text-primary);border-color:var(--border-color)}.app-main button[style*="background: rgb(37, 99, 235)"],.app-main button[style*="background: #2563eb"],.app-main button[style*="background:#2563eb"],.app-main button[style*="background: rgb(29, 78, 216)"],.app-main button[style*="background: #1d4ed8"],.app-main button[style*="background:#1d4ed8"],.app-main button[style*="background: rgb(22, 163, 74)"],.app-main button[style*="background: #16a34a"],.app-main button[style*="background:#16a34a"],.app-main button[style*="background: rgb(220, 38, 38)"],.app-main button[style*="background: #dc2626"],.app-main button[style*="background:#dc2626"]{color:#fff!important}.app-main a{color:var(--primary)}.app-main,.app-main div,.app-main section,.app-main article,.app-main form,.app-main input,.app-main select,.app-main textarea,.app-main table,.app-main th,.app-main td{transition:background-color .2s,color .2s,border-color .2s}
