/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--navy:#173052;--banner:#34373b;--muted:#000;--blue:#246ef0;--line:#e3eaf3;--bg:#f5f7fb;--green:#008e76;--red:#d33948;--ring-track:#e7edf4;--surface:#fff;--surface-soft:#f5f8fd;--surface-alt:#edf2fa;--input-bg:#fff;--input-border:#d8e1ed;--text:#173052;--text-strong:#1b2e49;--radius:14px}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #7babff}h1,h2,h3,p{margin:0}h1{letter-spacing:-1px;font-size:32px;font-weight:700;line-height:1.2}h2{letter-spacing:-.4px}h2,h3{font-size:19px;font-weight:700}small{font-size:12px}label{flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}input,select,textarea{border:1px solid var(--input-border);background:var(--input-bg);width:100%;min-width:0;color:var(--text);border-radius:9px;min-height:43px;padding:11px 12px;font-weight:400}input::placeholder,textarea::placeholder{opacity:1;color:#000}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--blue)}.checkbox-label{flex-direction:row;align-items:flex-start;font-weight:400}.muted{color:var(--muted)}.small{font-size:12px}.centered{text-align:center;justify-content:center;align-items:center;gap:6px;display:flex}.eyebrow{letter-spacing:1.8px;color:#000;margin-bottom:10px;font-size:10px;font-weight:700}.stack{flex-direction:column;gap:20px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:11px 17px;font-size:13px;font-weight:600;display:inline-flex}.primary{background:var(--blue);color:#fff;box-shadow:0 4px 10px #246ef019}.primary:hover{background:#185cce}.secondary{color:#000;background:#fff;border-color:#dbe4ee}.secondary:hover{background:#f0f5fc}.danger{color:var(--red);background:#fff0f1;border-color:#f7d6da}.wide{width:100%}.text-link{color:var(--blue);cursor:pointer;background:0 0;border:0;font-weight:600}.icon-button{color:inherit;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;width:32px;height:34px;padding:5px;display:inline-flex}.icon-button:hover{background:#dce6f34d}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:235px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{color:#fff;background:var(--banner);align-items:center;gap:11px;padding:28px 23px;display:flex}.brand-logo{object-fit:contain;flex:none;width:48px;height:48px}.login-brand-logo{object-fit:contain;flex:none;width:40px;height:40px}.brand strong{letter-spacing:-.5px;font-size:22px;line-height:1.3;display:block}.brand-name{text-decoration-line:underline;-webkit-text-decoration-color:var(--red);text-decoration-color:var(--red);text-underline-offset:4px;text-decoration-thickness:2px}.brand small{color:#d3dff2;margin-top:4px;font-size:11px;display:block}.sidebar nav{flex-direction:column;gap:7px;padding:28px 15px;display:flex}.nav-link{color:#000;border-radius:8px;align-items:center;gap:13px;padding:13px 16px;font-weight:500;display:flex}.nav-link:hover{background:#f3f6fc}.nav-link.active{color:var(--blue);background:#eaf1ff;font-weight:600}.sidebar-bottom{border-top:1px solid var(--line);align-items:center;gap:10px;margin:auto 17px 20px;padding-top:19px;font-size:12px;display:flex}.sidebar-bottom>span{flex:1}.sidebar-bottom small{color:var(--muted);font-size:10px;display:block}.avatar{background:#eaf0f8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:33px;height:33px;font-size:11px;font-weight:700;display:inline-flex}.main{max-width:1700px;min-height:100vh;margin-left:235px;padding:36px 38px 30px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.page-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.page-heading .muted{margin-top:10px;font-size:13px}.compact-heading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;margin-bottom:28px;display:grid}.compact-heading .back-link{margin-bottom:0}.compact-heading h1{text-align:right;min-width:0}.today-label{color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:7px 13px;font-size:12px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px;display:grid}.stat{text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px 21px}.stat>span{color:var(--muted);font-size:11px}.stat strong{letter-spacing:-.7px;justify-content:space-between;align-items:center;gap:14px;margin-top:6px;font-size:26px;font-weight:600;display:flex}.stat strong svg{opacity:.7}.green-text{color:var(--green)}.red-text{color:var(--red)}.amber-text{color:#d39b18}.blue-text{color:var(--blue)}.dashboard-toolbar{gap:11px;margin-bottom:27px;display:flex}.search-input{border:1px solid var(--line);color:#000;background:#fff;border-radius:10px;flex:1;align-items:center;gap:10px;padding:0 15px;display:flex}.search-input input{background:0 0;border:none;min-height:48px;padding:13px 0;font-size:13px}.filter-button{padding:10px 18px}.filter-panel{background:#edf2fa;border-radius:12px;flex-wrap:wrap;align-items:end;gap:13px;margin-bottom:24px;padding:20px;display:flex}.filter-panel label{flex:1;min-width:140px}.filter-panel input,.filter-panel select{font-size:12px}.section-heading{justify-content:space-between;margin-bottom:17px}.section-heading,.section-heading h2{align-items:center;gap:10px;display:flex}.section-heading h2{font-size:16px}.count{color:#000;background:#e8eef7;border-radius:6px;padding:2px 7px;font-size:10px}.audit-tabs{border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex}.audit-heading{flex-wrap:wrap}.audit-tabs [role=tab]{color:#000;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:8px;padding:12px 10px;font-size:14px;font-weight:600;display:flex}.audit-tabs [aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}.dashboard-tabs{border-bottom:1px solid var(--line);align-items:stretch;gap:8px;margin-bottom:17px;display:flex;overflow-x:auto}.dashboard-tabs button{color:#000;background:0 0;border:0;border-bottom:3px solid #0000;flex:none;align-items:center;gap:8px;padding:12px 10px;font-size:14px;font-weight:600;display:flex}.dashboard-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}@media (max-width:600px){.audit-tabs{gap:0}.audit-tabs [role=tab]{gap:5px;padding:10px 6px;font-size:12px}.dashboard-tabs{gap:0}.dashboard-tabs button{gap:5px;padding:10px 6px;font-size:12px}}.section-heading>span{color:#000;align-items:center;gap:7px;font-size:10px;display:flex}.contracts-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;display:grid}.contract-card{--case-border:#dfe7f2;border:1px solid var(--case-border);background:#fff;border-radius:12px;padding:20px;transition:border-color .15s,box-shadow .15s,transform .15s;display:block}.contract-card:hover{border-color:var(--case-border);transform:translateY(-2px);box-shadow:0 6px 20px #213f6310}.danger-zone{border-color:#f0bdc4;margin-top:24px}.danger-zone h2{color:var(--red)}.case-overdue{--case-border:#ce3b49}.case-upcoming{--case-border:#a46a06}.case-normal{--case-border:#246ef0}.template-variables p+p{margin-top:10px}.template-variables code{overflow-wrap:anywhere;font-weight:700}.client-heading{color:#000;margin-top:10px;font-size:21px;font-weight:600}.card-heading{align-items:center;gap:9px;display:flex}.card-title{flex-direction:column;gap:1px;min-width:0;display:flex}.card-heading h3{letter-spacing:-.4px;overflow-wrap:anywhere;min-height:2.5em;font-size:19px;line-height:1.25}.card-contract-type{color:var(--text);overflow-wrap:anywhere;line-height:1.3}.card-middle{align-items:center;gap:13px;margin:20px 0 17px;display:flex}.profile-progress{flex-shrink:0;width:88px;height:88px;position:relative}.contract-card .profile-progress{width:80px;height:80px}.contract-card .profile-progress>.lucide{width:24px;height:24px}.profile-progress>svg:first-child{width:100%;height:100%}.profile-progress>.lucide{color:#2e4971;stroke-width:1.6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.profile-progress>.profile-alert{color:var(--red);stroke-width:2.4px}.profile-progress>.profile-info{color:#d39b18;stroke-width:2.4px}.card-status{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.badge{white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:7px 9px;font-size:11px;font-weight:600;line-height:1.4;display:inline-flex}.badge svg{flex-shrink:0}.red{color:#ce3b49;background:#fff0f1}.amber{color:#a46a06;background:#fff7e6}.blue{color:#246ef0;background:#edf4ff}.green{color:#168766;background:#eaf8f2}.neutral{color:#000;background:#edf1f6}.progress-caption{color:#000;font-size:10px}.card-name{color:#000;overflow-wrap:anywhere;align-items:center;gap:7px;min-height:2.5em;margin-bottom:17px;font-size:18px;font-weight:600;line-height:1.25;display:flex}.card-name svg{color:#7d94b2;flex-shrink:0}.card-amount{border-top:1px solid var(--line);color:var(--green);align-items:center;gap:10px;padding-top:16px;display:flex}.card-amount strong{letter-spacing:-.7px;font-size:23px;font-weight:600;line-height:1.2}.card-amount span{color:#000;margin-top:3px;font-size:9px;display:block}.card-date{color:#000;margin-top:13px;font-size:9px}.overdue-copy,.overdue-copy span,.overdue-copy strong{color:var(--red)}.fab{z-index:15;border-radius:30px;padding:15px 22px;position:fixed;bottom:24px;right:31px;box-shadow:0 5px 20px #246ef035}.page-footer{border-top:1px solid var(--line);color:#000;justify-content:space-between;gap:20px;margin-top:35px;padding:20px 0 50px;font-size:10px;display:flex}.page-footer span{align-items:center;gap:6px;display:flex}.footer-brand{text-decoration-line:underline;-webkit-text-decoration-color:var(--red);text-decoration-color:var(--red);text-underline-offset:3px;text-decoration-thickness:2px}.bottom-nav,.mobile-header{display:none}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:26px}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:15px;padding:55px 25px;display:flex}.empty h2{color:var(--navy)}.pagination{justify-content:center;align-items:center;gap:20px;margin-top:25px;font-size:12px;display:flex}.is-loading{opacity:.55;transition:opacity .15s}.error{color:#b02b3e;background:#fff0f1;border:1px solid #ffd2d7;font-size:13px}.error,.success{border-radius:8px;padding:12px}.success{color:#087359;background:#eaf8f2}.notice{color:#8b651e;background:#fff8e9;border:1px solid #f2e1bd;border-radius:9px;padding:14px 17px;font-size:12px}.skip-link{z-index:100;background:#fff;padding:15px;position:fixed;top:-100px;left:260px}.skip-link:focus{top:10px}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:32px 20px;display:flex}.login-side{width:100%;max-width:470px}.login-card{border:1px solid var(--line);background:var(--surface);width:100%;max-width:430px;color:var(--text);border-radius:16px;padding:34px;box-shadow:0 18px 45px #17305212}.login-card-brand{align-items:center;gap:10px;margin-bottom:30px;font-size:21px;display:flex}.login-card h1{margin-bottom:8px;font-size:28px}.login-card>.muted{margin-bottom:26px}.login-card>.text-link{text-align:center;margin-top:22px;display:block}.simple-page{justify-content:center;align-items:center;min-height:100vh;padding:60px 20px;display:flex}.narrow{width:100%;max-width:560px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;display:grid}.align-end{justify-content:center;align-self:end;min-height:43px}.calculation-card,.conditional-card{border:1px solid var(--line);background:#f5f8fd;border-radius:11px;padding:18px}.conditional-card h3{margin-bottom:16px;font-size:15px}.calculation-card{grid-template-columns:1fr 1fr;gap:12px 20px;display:grid}.calculation-card>div{flex-direction:column;gap:3px;display:flex}.calculation-card span{color:#000;font-size:11px}.calculation-card strong{color:var(--navy);font-size:20px}.calculation-card p{grid-column:1/-1}.date-picker-grid{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);align-items:start;gap:20px;display:grid}.date-selectors{grid-template-columns:.7fr 1.4fr .9fr;gap:10px;display:grid}.mini-calendar{border:1px solid var(--line);background:#fff;border-radius:11px;padding:14px}.mini-calendar-days,.mini-calendar-title,.mini-calendar-weekdays{text-align:center;grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.mini-calendar-title{color:var(--navy);align-items:center;gap:7px;margin-bottom:12px;font-size:12px;display:flex}.mini-calendar-weekdays{color:#000;margin-bottom:5px;font-size:10px}.mini-calendar-days button,.mini-calendar-days span{border-radius:6px;justify-content:center;align-items:center;min-height:28px;font-size:11px;display:flex}.mini-calendar-days button{color:var(--navy);background:0 0;border:0}.mini-calendar-days button.selected,.mini-calendar-days button:hover{background:var(--blue);color:#fff}.full-span{grid-column:1/-1}.actions-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.actions-row .action-start{margin-right:auto}.page-actions-bottom{justify-content:flex-start;margin-bottom:20px}.back-link{color:#000;align-items:center;gap:8px;margin-bottom:22px;font-size:12px;display:inline-flex}.detail-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.detail-summary{align-items:center;gap:25px;margin:20px 0;display:flex}.days-big{letter-spacing:-2px;font-size:47px;font-weight:600;line-height:1.1}.detail-summary .profile-progress{width:106px;height:106px}.definition-grid{grid-template-columns:1fr 1fr;gap:22px 18px;display:grid}.definition-grid dt{color:var(--muted);margin-bottom:4px;font-size:11px}.definition-grid dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.payment-history{overscroll-behavior:contain;max-height:490px;padding-right:8px;overflow-y:auto}.history-row{border-bottom:1px solid var(--line);gap:12px;padding:15px 0;display:flex}.history-row:last-child{border-bottom:0}.history-dot{width:30px;height:30px;color:var(--green);background:#eaf8f2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.history-content{flex:1;min-width:0}.history-title{justify-content:space-between;gap:8px;font-size:12px;font-weight:600;display:flex}.history-meta{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:10px}.history-row.pending{color:#000}.history-row.pending .history-dot{color:#a0aaba;background:#f0f3f7}.history-row.reversed{opacity:1}.history-row.reversed .history-dot{color:var(--red);background:#fff0f1}.payment-box{border:1px solid var(--line);background:#f5f8fd;border-radius:12px;margin-top:20px;padding:20px}.payment-confirm-details{gap:16px}.payment-reference-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.payment-help{margin-top:7px}.file-picker{min-width:135px}.file-picker>input{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.file-picker>input:focus-visible+.button{outline-offset:3px;outline:3px solid #7babff}.history-attachment{color:var(--blue);background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:4px 6px;font-size:10px;font-weight:600;transition:color .15s,background-color .15s,transform .15s;display:inline-flex}.history-attachment:hover{color:var(--blue);background:var(--surface-alt);transform:translateY(-1px)}.history-reference{border:1px solid var(--line);background:var(--surface-alt);max-width:100%;min-height:24px;color:var(--text);overflow-wrap:anywhere;border-radius:6px;align-items:center;padding:4px 8px;font-size:10px;font-weight:600;display:inline-flex}.history-actions{gap:12px;margin-top:7px}.history-actions,.history-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.history-heading-actions{gap:14px}.audit-payment-proof,.audit-payment-reference{justify-content:flex-end;margin-top:6px;display:flex}.audit-payment-reference{color:var(--muted);font-size:11px}.cancel-action{align-items:center;gap:5px;font-size:10px;display:inline-flex}.cancel-action:hover:not(:disabled){color:var(--red);border-color:var(--red);background:#fff0f1}.payment-note-button{justify-self:start;padding:0}.comprobante-dialog{width:min(960px,100vw - 24px);max-width:calc(100vw - 24px);height:min(90vh,100vh - 24px);max-height:90vh;padding:0;overflow:hidden}.comprobante-viewer{flex-direction:column;height:100%;min-height:0;display:flex}.comprobante-toolbar{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;gap:12px;padding:15px 16px;display:flex}.comprobante-image-viewport{overscroll-behavior:contain;background:var(--bg);touch-action:pan-x pan-y pinch-zoom;flex:1;justify-content:center;align-items:center;min-height:0;padding:20px;display:flex;overflow:auto}.comprobante-image-viewport.is-zoomed{cursor:grab}.comprobante-image-viewport.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.comprobante-image{object-fit:contain;transform-origin:50%;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none;width:auto;max-width:100%;height:auto;max-height:100%;transition:transform .16s;display:block}.toast{color:#fff;z-index:50;background:#173052;border-radius:11px;align-items:center;gap:20px;max-width:90vw;padding:15px 20px;display:flex;position:fixed;bottom:30px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 8px 35px #17305233}.toast button{color:#acf;white-space:nowrap;font-weight:700}.stepper{margin-bottom:26px}.step,.stepper{gap:10px;display:flex}.step{border-bottom:2px solid var(--line);color:var(--muted);flex:1;align-items:center;padding:0 0 15px;font-size:12px}.step-button{border:0;border-bottom:2px solid var(--line);text-align:left;background:0 0;border-radius:0}.step-button:not(:disabled):not(.current):hover{border-bottom-color:var(--blue);color:var(--blue)}.step>span{background:#e9eef6;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;font-size:11px;display:inline-flex}.step.current{border-color:var(--blue);color:var(--blue);font-weight:700}.step.current>span{background:var(--blue);color:#fff}.form-panel{max-width:950px}.extra-row{grid-template-columns:1.4fr 1fr 1.2fr 1.2fr auto;align-items:end;gap:10px;display:grid}.phone-control{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;display:flex;overflow:hidden}.phone-control>span{color:#000;border-right:1px solid var(--line);background:#f1f4f9;align-self:stretch;align-items:center;padding:0 10px;font-size:13px;font-weight:600;display:inline-flex}.phone-control input{border:0;border-radius:0;min-width:0}.phone-control:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #246ef01c}.whatsapp-link{color:#149447;background:#f0fff4;border-color:#b9e6c8}.whatsapp-link:hover{color:#0e7737;border-color:#149447}.calendar-preview{border:1px solid var(--line);border-radius:9px;max-height:330px;overflow:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.data-table th{color:#000;background:#f4f7fb;padding:13px;font-size:10px;font-weight:600;position:sticky;top:0}.data-table td{border-top:1px solid var(--line);vertical-align:top;padding:13px}.data-table .amount{text-align:right;white-space:nowrap}.table-scroll{overflow:auto}.settings-grid{grid-template-columns:1.1fr 1fr;align-items:start;gap:24px;display:grid}.import-history{border-top:1px solid var(--line);gap:12px;padding-top:20px}.import-history h3{font-size:15px}.import-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.admin-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:15px 0;display:flex}.admin-row .admin-info{overflow-wrap:anywhere;flex:1;min-width:0}.admin-row .admin-info strong{font-size:12px;display:block}.admin-row .admin-info small{color:var(--muted);font-size:10px}.admin-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.admin-reset-button{white-space:nowrap;align-items:center;gap:5px;line-height:1.25;display:inline-flex}.recovery-link-row{align-items:stretch;gap:8px;min-width:0;display:flex}.recovery-link-row .code{flex:auto;min-width:0}.recovery-link-row .button{flex:none}.code{word-break:break-all;background:#edf3fc;border-radius:8px;padding:15px;font-family:monospace;font-size:12px}.skeleton{background:linear-gradient(100deg,#e8edf4,#f2f5fa,#e8edf4) 0 0/200% 100%;border-radius:12px;height:310px;animation:shimmer 1.5s infinite}@keyframes shimmer{to{background-position:-200% 0}}mark{color:inherit;background:#fff1b8;border-radius:2px}dialog{border:1px solid var(--line);width:calc(100% - 30px);max-width:460px;color:var(--navy);border-radius:16px;margin:auto;padding:28px}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10233e77}@media (min-width:1500px){.main{padding:42px 55px}.contract-card{padding:25px}.profile-progress{width:100px;height:100px}.contract-card .profile-progress{width:90px;height:90px}.card-middle{gap:20px}.badge{font-size:12px}}@media (min-width:1920px){.main{max-width:none;padding:clamp(42px,2.5vw,72px) clamp(55px,3vw,120px)}.contracts-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}@media (min-width:3000px){.contracts-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}}@media (max-width:1150px){.sidebar{width:205px}.brand{gap:9px;padding:25px 18px}.brand strong{font-size:20px}.brand small{font-size:10px}.brand-logo{width:44px;height:44px}.main{margin-left:205px;padding:30px 24px}.contract-card{padding:16px}.card-middle{gap:8px}.profile-progress{width:66px;height:66px}.contract-card .profile-progress{width:60px;height:60px}.badge{padding:6px;font-size:10px}.card-amount strong{font-size:21px}.card-heading h3{font-size:17px}.stats{gap:12px}.stat{padding:16px}.stat strong{font-size:23px}.detail-grid{grid-template-columns:1fr 1fr}}@media (max-width:950px) and (min-width:761px){.contracts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid,.settings-grid{grid-template-columns:1fr}.profile-progress{width:80px;height:80px}}@media (max-width:760px){.sidebar{display:none}.main{margin-left:0;padding:24px 18px 78px}.mobile-header{background:var(--banner);color:#fff;align-items:center;min-height:90px;padding:0 8px 0 0;display:flex}.mobile-header .brand{flex:1;padding:22px 19px}.mobile-header .brand strong{font-size:23px}.mobile-header .brand small{font-size:11px}.mobile-header .brand-logo{width:48px;height:48px}.bottom-nav{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:10px 5px max(10px,env(safe-area-inset-bottom));z-index:30;background:#ffffffed;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:#000;flex-direction:column;align-items:center;gap:5px;padding:3px;font-size:10px;display:flex;position:relative}.bottom-nav a.active{color:var(--blue);font-weight:700}.bottom-nav a.active:after{content:"";background:var(--blue);border-radius:2px;width:17px;height:3px;position:absolute;bottom:-5px}.fab{display:none}.page-heading{margin-bottom:22px}.page-heading-actions{justify-content:flex-start;width:100%}.page-heading .eyebrow{display:none}h1{font-size:27px}.page-heading .muted{max-width:260px;margin-top:7px;font-size:12px}.today-label{padding:5px 8px;font-size:9px}.stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:20px}.stat{padding:12px 15px}.stat>span{font-size:10px}.stat strong{font-size:25px}.stat:last-child{grid-column:auto;display:block}.stat:last-child strong{font-size:19px}.stat:last-child strong svg{display:block}.dashboard-toolbar{gap:8px;margin-bottom:23px}.search-input{gap:8px;padding:0 11px}.search-input input{min-height:43px;padding:12px 0;font-size:11px}.search-input>svg{width:17px}.filter-button{padding:10px 12px}.filter-button span{display:none}.section-heading h2{font-size:14px}.section-heading>span{gap:4px;font-size:9px}.section-heading>span svg{width:12px}.contracts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.contract-card{padding:14px}.card-heading{gap:7px}.card-heading h3{font-size:16px}.card-middle{flex-wrap:nowrap;align-items:center;gap:8px;margin:18px 0 14px}.profile-progress{width:70px;height:70px}.contract-card .profile-progress{width:62px;height:62px}.contract-card .profile-progress>.lucide{width:20px;height:20px}.card-status{gap:6px;min-width:0}.badge{gap:3px;padding:5px 6px;font-size:8px}.badge svg{width:11px;height:11px}.progress-caption{font-size:8px}.card-name{margin-bottom:14px;font-size:15px}.card-amount{gap:7px;padding-top:13px}.card-amount>svg{flex-shrink:0;width:19px}.card-amount strong{letter-spacing:-.6px;font-size:19px}.card-amount span,.card-date{font-size:8px}.card-date{margin-top:11px}.page-footer{margin-top:28px;padding-bottom:0;font-size:9px}.filter-panel{gap:12px;padding:15px}.filter-panel label{min-width:110px}.detail-grid,.settings-grid{grid-template-columns:1fr;gap:18px}.import-actions{grid-template-columns:1fr}.panel{padding:20px}.detail-summary{gap:18px}.detail-summary .profile-progress{width:95px;height:95px}.days-big{font-size:40px}.form-grid{gap:16px}.date-picker-grid,.payment-reference-row{grid-template-columns:1fr}.date-selectors{grid-template-columns:repeat(3,minmax(0,1fr))}.calculation-card{grid-template-columns:1fr}.form-panel{padding:20px 16px}.stepper{gap:8px}.step{gap:6px;font-size:10px}.step>span{width:23px;height:23px}.toast{gap:12px;min-width:300px;padding:14px;font-size:12px;bottom:85px;left:50%}.definition-grid{gap:18px 12px}.definition-grid dd{font-size:12px}.page-heading .actions-row{flex-direction:column;align-items:stretch}.extra-row{grid-template-columns:1fr auto}.extra-row label{grid-column:1}.extra-row>a,.extra-row>button{grid-area:auto/2}.pagination{gap:12px;font-size:11px}.pagination .button{padding:10px}.payment-history{max-height:410px}}@media (max-width:420px){.main{padding-left:13px;padding-right:13px}.contract-card{padding:12px}.card-heading h3{font-size:15px}.card-middle{flex-direction:column;align-items:flex-start;gap:10px;margin:16px 0 13px}.profile-progress{width:76px;height:76px}.contract-card .profile-progress{width:68px;height:68px}.card-status{flex-flow:wrap;align-items:center;gap:6px}.badge{gap:3px;padding:5px 6px;font-size:8px}.card-amount strong{font-size:17px}.card-amount>svg{width:16px}.card-name{align-items:flex-start}.today-label{display:none}.form-grid{grid-template-columns:1fr}.page-heading{gap:12px}.section-heading>span{font-size:8px}.step{font-size:9px}.card-date{font-size:7.5px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.page-transition{z-index:100;-webkit-backdrop-filter:blur(12px);background:#f5f7fbb3;place-items:center;display:grid;position:fixed;inset:0}.page-transition-card{background:0 0;flex-direction:column;align-items:center;gap:0;padding:0;display:flex}.page-transition-loader{place-items:center;width:124px;height:124px;display:grid;position:relative}.page-transition-loader:before{content:"";border:4px solid var(--ring-track);border-top-color:var(--red);border-radius:50%;animation:page-transition-spin 1.8s linear infinite;position:absolute;inset:0}.page-transition-loader img{z-index:1;object-fit:contain;width:64px;height:84px;position:relative}@keyframes page-transition-spin{to{transform:rotate(1turn)}}.theme-toggle{border:1px solid var(--line);background:var(--surface);min-width:34px;min-height:34px;color:var(--muted);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:11px;font-weight:600;display:inline-flex}.theme-toggle:hover{border-color:var(--blue);color:var(--blue);background:var(--surface-alt)}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.theme-option{border:1px solid var(--line);background:var(--surface-soft);min-height:44px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:600;display:inline-flex}.theme-option.selected,.theme-option:hover{border-color:var(--blue)}.theme-option.selected{color:var(--blue);background:#edf4ff}.sidebar-bottom .theme-toggle{background:0 0;border-color:#0000;flex-shrink:0}.mobile-header .theme-toggle{color:#fff;background:#ffffff12;border-color:#ffffff38;flex-shrink:0}html[data-theme=dark]{color-scheme:dark;--navy:#34373b;--banner:#34373b;--muted:#b2b5ba;--blue:#7da6ff;--line:#4a4d52;--bg:#1b1c1e;--green:#43d2af;--red:#ff7784;--ring-track:#494d52;--surface:#2d3033;--surface-soft:#34373a;--surface-alt:#3c3f43;--input-bg:#242629;--input-border:#53575c;--text:#f0f1f2;--text-strong:#f7f7f7}html[data-theme=dark] body{background:var(--bg);color:var(--text)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:var(--input-border);background:var(--input-bg);color:var(--text)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8092aa}html[data-theme=dark] .contract-card,html[data-theme=dark] .mini-calendar,html[data-theme=dark] .panel,html[data-theme=dark] .payment-box,html[data-theme=dark] .search-input,html[data-theme=dark] .sidebar,html[data-theme=dark] .stat,html[data-theme=dark] dialog{border-color:var(--line);background:var(--surface);color:var(--text)}html[data-theme=dark] .calculation-card,html[data-theme=dark] .conditional-card,html[data-theme=dark] .filter-panel{border-color:var(--line);background:var(--surface-soft);color:var(--text)}html[data-theme=dark] .secondary,html[data-theme=dark] .theme-option,html[data-theme=dark] .theme-toggle{border-color:var(--line);background:var(--surface);color:var(--text)}html[data-theme=dark] .nav-link:hover,html[data-theme=dark] .secondary:hover,html[data-theme=dark] .theme-option:hover,html[data-theme=dark] .theme-toggle:hover{background:var(--surface-alt)}html[data-theme=dark] .theme-option.selected{background:var(--surface-alt);color:var(--blue)}html[data-theme=dark] .audit-tabs [role=tab],html[data-theme=dark] .back-link,html[data-theme=dark] .card-amount span,html[data-theme=dark] .card-date,html[data-theme=dark] .card-name,html[data-theme=dark] .dashboard-tabs button,html[data-theme=dark] .data-table td,html[data-theme=dark] .definition-grid dd,html[data-theme=dark] .mini-calendar-days button,html[data-theme=dark] .nav-link,html[data-theme=dark] .page-footer,html[data-theme=dark] .progress-caption,html[data-theme=dark] .section-heading>span,html[data-theme=dark] .today-label{color:var(--text)}html[data-theme=dark] .definition-grid dt,html[data-theme=dark] .eyebrow,html[data-theme=dark] .mini-calendar-weekdays,html[data-theme=dark] .muted,html[data-theme=dark] .page-heading .muted{color:var(--muted)}html[data-theme=dark] .bottom-nav a,html[data-theme=dark] .calculation-card span,html[data-theme=dark] .history-row.pending,html[data-theme=dark] .login-card h2,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:var(--text-strong)}html[data-theme=dark] .calculation-card strong,html[data-theme=dark] .client-heading,html[data-theme=dark] .empty h2,html[data-theme=dark] .mini-calendar-title,html[data-theme=dark] dialog{color:var(--text)}html[data-theme=dark] .nav-link.active{color:#fff;background:#4b4f54}html[data-theme=dark] .icon-button:hover{background:#484c51}html[data-theme=dark] .avatar,html[data-theme=dark] .count,html[data-theme=dark] .neutral{color:#eef0f2;background:#484c51}html[data-theme=dark] .red{color:#ff9aa3;background:#42212b}html[data-theme=dark] .amber-text{color:#d39b18}html[data-theme=dark] .amber{color:#f3cc71;background:#453719}html[data-theme=dark] .blue{color:#a9c4ff;background:#1c355e}html[data-theme=dark] .green{color:#6de0c1;background:#173f38}html[data-theme=dark] .error{color:#ff9aa3;background:#42212b;border-color:#713340}html[data-theme=dark] .success{color:#6de0c1;background:#173f38}html[data-theme=dark] .notice{color:#f3cc71;background:#443719;border-color:#6a5525}html[data-theme=dark] .code{color:#e4e5e7;background:#3c3f43}html[data-theme=dark] .data-table th{color:var(--muted);background:#36393d}html[data-theme=dark] .phone-control{border-color:var(--input-border);background:var(--input-bg)}html[data-theme=dark] .phone-control>span{border-color:var(--input-border);color:var(--text);background:#36393d}html[data-theme=dark] .history-row.pending .history-dot{color:#c5c8cc;background:#42464a}html[data-theme=dark] .cancel-action:hover:not(:disabled){color:#ff9aa3;background:#42212b}html[data-theme=dark] .whatsapp-link{color:#6de0c1;background:#173f38;border-color:#286956}html[data-theme=dark] .skeleton{background:linear-gradient(100deg,#2a2d30,#3a3d41,#2a2d30) 0 0/200% 100%}html[data-theme=dark] .page-transition{background:#1b1c1ec7}html[data-theme=dark] .page-transition-loader:before{border-color:var(--ring-track);border-top-color:var(--red);border-right-color:var(--ring-track)}html[data-theme=dark] .bottom-nav{border-top-color:var(--line);background:#2d3033f0}html[data-theme=dark] .toast{background:var(--banner);box-shadow:0 8px 35px #0005}html[data-theme=dark] dialog::backdrop{background:#171819aa}html[data-theme=dark] .login-card,html[data-theme=dark] .login-side,html[data-theme=dark] .simple-page{color:var(--text)}html[data-theme=dark] mark{color:#ffefae;background:#66561f}@media (max-width:760px){.comprobante-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100vh - 32px);max-height:calc(100vh - 32px)}.comprobante-image-viewport,.comprobante-toolbar{padding:10px}.mobile-header .theme-toggle span{display:none}.mobile-header .theme-toggle{padding:6px}}@media (prefers-reduced-motion:reduce){.page-transition-loader:before{animation:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}