:root{--primary:#1152d4;--primary-soft:#e8f0ff;--ink:#0f172a;--muted:#64748b;--line:#edf1f6;--surface:#fff;--page:#fff;--control:#f4f7fb;--control-strong:#eaf0f7;--shadow:0 12px 28px #0f172a14}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{min-height:100vh;color:var(--ink);background:var(--page);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,select{font:inherit}.app-header{z-index:20;background:var(--surface);border-bottom:1px solid #f1f4f8;position:sticky;top:0}.navbar{align-items:center;gap:36px;min-height:68px;padding:0 38px 0 39px;display:flex}.brand{min-width:156px;color:inherit;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.brand-logo{object-fit:contain;width:142px;max-height:42px;display:block}.navbar-panel{flex:1;justify-content:space-between;align-items:center;gap:24px;min-width:0;display:flex}.nav-links,.nav-actions{align-items:center;gap:24px;display:flex}.nav-links{margin:0;padding:0;list-style:none}.nav-item{position:relative}.has-submenu:after{content:"";height:14px;position:absolute;bottom:-12px;left:-12px;right:-12px}.nav-link{color:#526176;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;height:38px;padding:0;font-size:14px;font-weight:500;text-decoration:none;transition:color .16s;display:inline-flex}.nav-link:hover,.nav-link:focus-visible,.nav-link.is-active{color:var(--ink)}.nav-link.is-active{font-weight:700}.nav-link svg,.month-select svg,.logout-button svg,.user-shield svg,.mobile-menu svg{stroke-width:1.8px;flex:none;width:20px;height:20px}.nav-link .chevron{stroke-width:2.1px;width:14px;height:14px}.submenu{background:var(--surface);border:1px solid var(--line);min-width:158px;box-shadow:var(--shadow);opacity:0;pointer-events:none;border-radius:8px;padding:8px;transition:opacity .16s,transform .16s;display:grid;position:absolute;top:calc(100% + 2px);left:-12px;transform:translateY(-4px)}.has-submenu:hover .submenu,.has-submenu:focus-within .submenu,.has-submenu.is-open .submenu{opacity:1;pointer-events:auto;transform:translateY(0)}.submenu a{color:var(--ink);border-radius:6px;padding:10px 11px;font-size:14px;font-weight:600;text-decoration:none}.submenu a:hover,.submenu a:focus-visible{color:var(--primary);background:var(--primary-soft);outline:none}.nav-actions{gap:16px;margin-left:auto}.month-select>button,.user-box{background:var(--control);border:1px solid #eef2f7;border-radius:8px;align-items:center;height:42px;display:inline-flex}.month-select{min-width:200px;color:var(--ink);position:relative}.month-select>button{cursor:pointer;background:#f8fafc;border-color:#e6edf6;gap:8px;width:100%;padding:0 30px 0 9px;transition:background .16s,border-color .16s,box-shadow .16s;box-shadow:inset 0 1px #ffffffb3}.month-select>button:hover{background:#fff;border-color:#d7e1ee}.month-select>button:focus-visible,.month-select.is-open>button{background:#fff;border-color:#b9c8dd;outline:none;box-shadow:0 0 0 3px #1152d414}.month-select>button>svg{color:#071529;background:#eef4fb;border-radius:8px;width:27px;height:27px;padding:5px;display:grid}.month-select>button span{width:100%;min-width:0;color:var(--ink);letter-spacing:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px;font-weight:900;overflow:hidden}.month-select:after{content:"";pointer-events:none;border-bottom:2px solid #718096;border-right:2px solid #718096;width:7px;height:7px;transition:border-color .16s,transform .16s;position:absolute;top:16px;right:14px;transform:rotate(45deg)translateY(-2px)}.month-select:hover:after,.month-select.is-open:after{border-color:#071529}.month-select.is-open:after{transform:rotate(225deg)translate(-2px,-2px)}.month-menu{z-index:35;scrollbar-width:thin;scrollbar-color:#bcbcbc transparent;background:#fff;border:0;border-radius:8px;grid-template-columns:1fr;gap:0;width:220px;max-height:224px;padding:7px 0;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 12px 24px #0f172a14}.month-menu button{color:#071529;height:32px;box-shadow:none;text-align:left;white-space:nowrap;background:#fff;border:0;border-radius:0;justify-content:flex-start;align-items:center;padding:0 16px;font-size:12px;font-weight:500;transition:background .14s,color .14s;display:flex}.month-menu button:hover,.month-menu button:focus-visible{color:#071529;background:#f6f8fb;outline:none}.month-menu button.is-selected{color:#071529;background:#fff;font-weight:500}.month-menu button.is-selected:after{content:none}.month-menu::-webkit-scrollbar{width:10px}.month-menu::-webkit-scrollbar-track{background:0 0}.month-menu::-webkit-scrollbar-thumb{background:#bcbcbc;border:3px solid #fff;border-radius:999px}.user-box{gap:10px;min-width:221px;padding:0 8px 0 13px}.user-shield{color:#64748b;background:var(--control-strong);border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:grid}.user-copy{flex:1;gap:1px;min-width:0;display:grid}.user-copy strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.user-copy span{color:#64748b;letter-spacing:0;font-size:9px;font-weight:800}.logout-button,.mobile-menu{color:#8a98aa;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.logout-button{border-radius:7px;width:34px;height:34px}.logout-button:hover,.logout-button:focus-visible,.mobile-menu:hover,.mobile-menu:focus-visible{color:var(--ink);background:#e8eef6;outline:none}.mobile-menu{border-radius:8px;width:42px;height:42px;margin-left:auto;display:none}.app-shell{background:#f6f8fb;flex-direction:column;min-height:calc(100vh - 68px);display:flex}.app-footer{color:#64748b;text-align:center;margin-top:auto;padding:22px 24px 28px;font-size:12px;font-weight:700}.app-footer a{color:#071529;font-weight:900;text-decoration:none}.app-footer a:hover,.app-footer a:focus-visible{color:var(--primary);outline:none}.auth-page{background:#f6f7f9;place-items:center;min-height:100vh;padding:32px 20px;display:grid}.auth-card{background:#fff;border:1px solid #f0f2f5;border-radius:30px;gap:0;width:min(100%,438px);min-height:565px;padding:48px 48px 30px;display:grid;box-shadow:0 26px 70px #0f172a14}.auth-logo{object-fit:contain;width:243px;max-width:100%;height:auto;margin:0 auto 32px;display:block}.auth-card p{color:var(--muted);text-align:center;margin:0 0 44px;font-size:15px;font-weight:500}.auth-card label{color:#071529;gap:11px;margin-bottom:25px;font-size:14px;font-weight:700;display:grid}.auth-input{align-items:center;display:flex;position:relative}.auth-input>svg{color:#9aa8bd;pointer-events:none;width:18px;height:18px;position:absolute;left:16px}.auth-card input{width:100%;height:47px;color:var(--ink);background:#fff;border:1px solid #d9e1ec;border-radius:14px;outline:0;padding:0 44px 0 48px;font-size:14px;font-weight:500}.auth-card input::placeholder{color:#64748b}.auth-card input:focus{border-color:#071529;box-shadow:0 0 0 3px #07152914}.auth-input button{color:#9aa8bd;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid;position:absolute;right:13px}.auth-input button:hover,.auth-input button:focus-visible{color:#071529;background:#f4f7fb;outline:none}.auth-input button svg{width:17px;height:17px}.auth-message{color:#ef4444;text-align:center;margin:-8px 0 18px;font-size:13px;font-weight:800}.auth-submit{color:#fff;cursor:pointer;background:#071f37;border:0;border-radius:13px;justify-content:center;align-items:center;width:100%;height:51px;margin-top:7px;font-size:16px;font-weight:800;display:inline-flex;box-shadow:0 12px 22px #071f3733}.auth-submit:disabled{opacity:.72;cursor:progress}.auth-card>small{color:#9aa3b2;text-align:center;max-width:295px;margin:34px auto 0;font-size:15px;font-weight:500;line-height:1.4}.cashbox-page{justify-items:center;gap:12px;width:min(100%,780px);margin:0 auto;padding:10px 16px 48px;display:grid}.cashbox-page--modal{width:100%;padding:0}.cashbox-modal-shell{background:0 0;width:min(100%,780px);max-height:min(92vh,900px);overflow-y:auto}.cashbox-page--modal .cashbox-card{border-radius:18px;gap:18px;padding:34px 30px 30px;position:relative;box-shadow:0 24px 60px #0f172a2e}.cashbox-page--modal .cashbox-heading{width:100%;padding:0 52px 10px;position:relative}.cashbox-page--modal .cashbox-heading h1{font-size:24px}.cashbox-page--modal .cashbox-heading p{margin-bottom:0}.cashbox-close-button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e5eaf2;border-radius:10px;place-items:center;width:34px;height:34px;font-size:22px;font-weight:600;line-height:1;display:grid;position:absolute;top:14px;right:14px}.cashbox-modal-title{gap:3px;padding-right:44px;display:grid}.cashbox-modal-title span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900}.cashbox-modal-title h2{color:var(--ink);letter-spacing:0;margin:0;font-size:24px;font-weight:900}.toast-notification{z-index:60;color:#071529;background:#fff;border:1px solid #e5eaf2;border-left:4px solid #ef4444;border-radius:12px;grid-template-columns:18px minmax(0,1fr) 26px;align-items:center;gap:10px;width:min(420px,100vw - 32px);min-height:48px;padding:12px 12px 12px 14px;display:grid;position:fixed;top:84px;right:28px;box-shadow:0 18px 36px #0f172a29}.toast-notification--success{border-left-color:#10b981}.toast-notification svg{color:#ef4444;width:18px;height:18px}.toast-notification--success svg{color:#10b981}.toast-notification span{color:#071529;font-size:13px;font-weight:800;line-height:1.35}.toast-notification button{color:#94a3b8;cursor:pointer;background:#f8fafc;border:0;border-radius:8px;place-items:center;width:26px;height:26px;display:grid}.cashbox-mode-toggle{background:#fff;border:1px solid #eef2f7;border-radius:14px;align-items:center;gap:6px;margin-top:0;padding:5px;display:inline-flex;box-shadow:0 8px 22px #0f172a0f}.cashbox-mode-toggle button{color:#526176;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:92px;height:34px;font-size:12px;font-weight:800;display:inline-flex}.cashbox-mode-toggle button.is-selected{color:#fff;background:#10b981}.cashbox-mode-toggle svg,.soft-action svg,.cashbox-actions svg{width:15px;height:15px}.cashbox-heading{text-align:center}.cashbox-heading h1{color:var(--ink);letter-spacing:0;margin:0;font-size:26px;font-weight:800}.cashbox-heading p{color:var(--muted);margin:4px 0 8px;font-size:12px;font-weight:600}.cashbox-card{background:#fff;border:1px solid #eef2f7;border-radius:20px;gap:22px;width:100%;padding:30px;display:grid;box-shadow:0 18px 40px #0f172a0f}.cashbox-search-field{position:relative}.field-row{color:#071529;gap:10px;font-size:13px;font-weight:800;display:grid}.field-row input,.field-row textarea,.payment-method-row select,.payment-method-row input{width:100%;color:var(--ink);background:#fff;border:1px solid #d9e2ee;border-radius:9px;outline:0;font-size:13px;font-weight:600}.field-row input,.payment-method-row select,.payment-method-row input{height:42px;padding:0 14px}.field-row textarea{resize:vertical;min-height:62px;padding:14px}.field-row input:focus,.field-row textarea:focus,.payment-method-row select:focus,.payment-method-row input:focus{border-color:#071529;box-shadow:0 0 0 3px #07152914}.inline-label{justify-content:space-between;align-items:center;gap:12px;display:flex}.inline-label em,.soft-action{color:#071529;background:#f1f5f9;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:28px;padding:0 11px;font-size:11px;font-style:normal;font-weight:800;display:inline-flex}.input-with-icon,.money-input{align-items:center;display:flex;position:relative}.input-with-icon svg{color:#94a3b8;pointer-events:none;width:16px;height:16px;position:absolute;left:13px}.input-with-icon input{padding-left:40px}.cashbox-two-cols,.payment-method-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.money-input b{color:#94a3b8;font-size:18px;position:absolute;left:16px}.money-input input{height:44px;padding-left:42px;font-size:16px;font-weight:800}.money-input input[readonly]{color:#475569;cursor:default;background:#f8fafc}.payment-method-card{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;gap:18px;padding:24px 20px;display:grid}.payment-method-card h2{color:#071529;margin:0;font-size:13px;font-weight:800}.payment-method-list{gap:10px;display:grid}.cashbox-results{z-index:8;background:#fff;border:1px solid #e5eaf2;border-radius:12px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 18px 34px #0f172a1f}.cashbox-results button{min-height:70px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #f1f4f8;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px;display:grid}.cashbox-results button:last-child{border-bottom:0}.cashbox-results button:hover,.cashbox-results button:focus-visible{background:#f8fafc;outline:none}.result-icon{color:#635bff;background:#eef2ff;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.result-icon svg{width:15px;height:15px}.cashbox-results strong,.selected-debt-list strong{color:var(--ink);font-size:13px;font-weight:800}.cashbox-results small{color:#94a3b8;margin-top:3px;font-size:11px;font-weight:700;display:block}.result-amount{justify-items:end;gap:2px;display:grid}.result-amount em{color:#f33;font-size:10px;font-style:normal;font-weight:900}.cashbox-status,.cashbox-payment-state{color:#071529;background:#f8fafc;border:1px solid #071529;border-radius:9px;align-items:center;gap:10px;min-height:38px;padding:10px 14px;font-size:12px;font-weight:800;display:flex}.cashbox-status.is-success,.cashbox-payment-state{color:#007a53;background:#ecfdf5;border-color:#10b981}.cashbox-status svg,.cashbox-payment-state svg{flex:none;width:17px;height:17px}.selected-debt-panel{background:linear-gradient(#f8fbff 0%,#f5f8fc 100%);border:1px solid #e1e8f2;border-radius:16px;gap:14px;padding:18px;display:grid}.selected-debt-panel h2{color:#64748b;letter-spacing:0;text-transform:uppercase;margin:0;font-size:11px;font-weight:900}.selected-debt-list{gap:12px;display:grid}.selected-debt-card{background:#fff;border:1px solid #e4ebf5;border-radius:14px;gap:14px;padding:16px;display:grid;box-shadow:0 10px 24px #0f172a0d}.selected-debt-card--none{border-color:#cbd5e1}.selected-debt-card--daily{background:#f8fbff;border-color:#93c5fd}.selected-debt-card--monthly{background:#fffdf5;border-color:#fcd34d}.selected-debt-card--extra{background:#f0f9ff;border-color:#7dd3fc}.selected-debt-card.is-excluded{box-shadow:none;opacity:.72;background:#f8fafc;border-color:#e2e8f0}.selected-debt-card.is-excluded .selected-debt-topline>strong{color:#94a3b8;font-size:13px}.selected-debt-topline,.selected-debt-metrics{justify-content:space-between;align-items:center;gap:14px;display:flex}.selected-debt-topline span{align-items:center;gap:8px;display:inline-flex}.selected-debt-list input{width:14px;height:14px}.selected-debt-topline strong:first-of-type{color:var(--ink);font-size:14px}.selected-debt-topline>strong{color:#071529;font-size:20px;font-weight:900}.selected-debt-metrics{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:12px}.selected-debt-metrics span{gap:3px;min-width:0;display:grid}.selected-debt-metrics small,.selected-debt-metrics em{color:var(--muted);text-transform:uppercase;font-size:10px;font-style:normal;font-weight:800}.selected-debt-metrics strong{color:var(--ink);font-size:13px;font-weight:900}.late-fee-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.late-fee-options button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:10px;min-height:36px;padding:0 10px;font-size:11px;font-weight:900;transition:background .16s,border-color .16s,color .16s}.late-fee-options button.is-selected{color:#071529;border-color:#071529;box-shadow:0 8px 18px #0f172a14}.late-fee-options button:first-child.is-selected{color:#334155;background:#f1f5f9;border-color:#94a3b8}.late-fee-options button:nth-child(2).is-selected{color:#075985;background:#e0f2fe;border-color:#38bdf8}.late-fee-options button:nth-child(3).is-selected{color:#8a5a00;background:#fef3c7;border-color:#f59e0b}.payment-totals{border-top:1px solid #e8eef6;justify-content:space-between;align-items:flex-end;gap:16px;padding-top:16px;display:flex}.payment-totals div{gap:3px;display:grid}.payment-totals div:last-child{justify-items:end}.payment-totals span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.payment-totals strong{color:var(--ink);font-size:18px;font-weight:800}.payment-totals small{color:var(--muted);font-size:11px;font-weight:700}.payment-totals svg{color:#10b981;width:22px;height:22px}.category-control{grid-template-columns:minmax(0,1fr) 42px 42px;gap:8px;display:grid}.category-control button{color:#071529;cursor:pointer;background:#fff;border:1px solid #d9e2ee;border-radius:9px;place-items:center;display:grid}.category-control svg{width:17px;height:17px}.cashbox-actions{grid-template-columns:1fr .54fr;gap:10px;display:grid}.submit-muted,.receipt-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:9px;height:44px;font-size:13px;font-weight:800;display:inline-flex}.submit-muted{color:#fff;background:#74808c;border:1px solid #74808c;box-shadow:0 14px 24px #10b9811f}.receipt-button{color:#38a9ce;background:#fff;border:1px solid #38a9ce}.dashboard-page{gap:28px;width:min(90vw,1480px);margin:0 auto;padding:58px 18px 54px;display:grid}.dashboard-heading,.dashboard-panel-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.dashboard-heading h1{color:var(--ink);letter-spacing:0;margin:0;font-size:32px;font-weight:900}.dashboard-heading p{color:var(--muted);margin:6px 0 0;font-size:13px;font-weight:600}.dashboard-heading button,.dashboard-panel-heading button{color:#071529;cursor:pointer;background:#fff;border:1px solid #e5eaf2;border-radius:10px;justify-content:center;align-items:center;gap:8px;height:36px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.dashboard-heading button svg{width:17px;height:17px}.dashboard-heading button.is-active{color:#fff;background:#071529;border-color:#071529}.dashboard-summary-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.dashboard-summary-row article,.dashboard-panel{background:#fff;border:1px solid #eef2f7;border-radius:18px;box-shadow:0 14px 34px #0f172a0d}.dashboard-summary-row article{align-content:center;min-height:142px;padding:24px;display:grid}.dashboard-icon{border-radius:9px;place-items:center;width:32px;height:32px;margin-bottom:12px;display:grid}.dashboard-icon svg{width:18px;height:18px}.dashboard-icon--income{color:#009b72;background:#eafbf4}.dashboard-icon--expense{color:#ef4444;background:#ffeded}.dashboard-icon--balance{color:#071529;background:#eef2f7}.dashboard-summary-row small{color:#64748b;font-size:12px;font-weight:800}.dashboard-summary-row strong{color:var(--ink);letter-spacing:0;margin-top:18px;font-size:30px;font-weight:900}.dashboard-summary-row em{color:#007a53;margin-top:12px;font-size:12px;font-style:normal;font-weight:800}.dashboard-summary-row article:nth-child(2) em{color:#f33}.dashboard-grid{gap:24px;display:grid}.dashboard-grid--main{grid-template-columns:1fr 1fr}.dashboard-grid--secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-panel{align-content:start;min-height:270px;padding:24px;display:grid}.dashboard-panel-heading h2{color:var(--ink);margin:0;font-size:16px;font-weight:900}.dashboard-panel-heading button{color:#071529;background:0 0;border:0;height:28px;padding:0}.dashboard-empty{color:#94a3b8;place-self:center;margin:0;font-size:13px;font-weight:600}.dashboard-notice-list{gap:0;margin-top:12px;display:grid}.dashboard-notice-list article{border-bottom:1px solid #f1f4f8;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-height:56px;display:grid}.dashboard-notice-list article:last-child{border-bottom:0}.dashboard-notice-list article>span{color:#d97706;background:#fef3c7;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.dashboard-notice-list svg{width:15px;height:15px}.dashboard-notice-list strong{color:var(--ink);font-size:13px;font-weight:900;display:block}.dashboard-notice-list small{color:#94a3b8;font-size:11px;font-weight:700}.history-page{gap:28px;width:min(90vw,1480px);margin:0 auto;padding:58px 18px 54px;display:grid}.history-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.history-heading h1{color:var(--ink);letter-spacing:0;margin:0;font-size:32px;font-weight:900}.history-heading p{color:var(--muted);margin:5px 0 0;font-size:13px;font-weight:600}.history-summary-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.history-summary-row article{background:#fff;border:1px solid #eef2f7;border-radius:18px;align-content:center;min-height:130px;padding:24px;display:grid;box-shadow:0 14px 34px #0f172a0d}.history-summary-icon{border-radius:9px;place-items:center;width:32px;height:32px;margin-bottom:12px;display:grid}.history-summary-icon svg{width:17px;height:17px}.history-summary-icon--income,.history-summary-icon--balance{color:#009b72;background:#eafbf4}.history-summary-icon--expense{color:#ef4444;background:#fff1f2}.history-summary-row small{color:#64748b;font-size:12px;font-weight:800}.history-summary-row strong{color:var(--ink);letter-spacing:0;margin-top:18px;font-size:30px;font-weight:900}.history-balance-card strong{color:#009b72}.history-filters{background:#fff;border:1px solid #eef2f7;border-radius:18px;grid-template-columns:1.2fr 1.2fr .9fr .9fr 1.2fr;align-items:end;gap:14px;padding:24px;display:grid}.history-filters label{color:#071529;gap:8px;font-size:11px;font-weight:900;display:grid}.history-filters input{width:100%;height:38px;color:var(--ink);background:#fff;border:1px solid #d9e2ee;border-radius:9px;outline:0;padding:0 12px;font-size:12px;font-weight:700}.history-filters .input-with-icon input{padding-left:38px}.history-filters button{color:#071529;cursor:pointer;background:#f1f3f7;border:0;border-radius:9px;height:38px;font-size:12px;font-weight:800}.history-table-wrap{background:#fff;border:1px solid #eef2f7;border-radius:18px;overflow-x:auto}.history-table{border-collapse:collapse;width:100%;min-width:980px}.history-table th{color:#64748b;letter-spacing:0;text-align:left;text-transform:uppercase;background:#fbfcfe;border-bottom:1px solid #edf1f6;padding:18px 24px;font-size:11px;font-weight:900}.history-table td{color:var(--ink);vertical-align:middle;border-bottom:1px solid #f1f4f8;padding:22px 24px;font-size:13px}.history-table tr:last-child td{border-bottom:0}.history-date,.history-category{color:#526176;align-items:center;gap:7px;font-weight:700;display:inline-flex}.history-date svg,.history-category svg{width:14px;height:14px}.history-type,.method-pill{border-radius:7px;align-items:center;min-height:24px;padding:0 9px;font-size:10px;font-weight:900;display:inline-flex}.history-type--income{color:#009b72;background:#eafbf4}.history-type--expense{color:#ef4444;background:#fff1f2}.method-pill{color:#526176;background:#f8fafc}.history-table td>strong{color:var(--ink);font-size:14px;font-weight:900;display:block}.history-table td small{color:#94a3b8;margin-top:4px;font-size:11px;font-weight:700;display:block}.history-money-income{color:#009b72!important}.history-money-expense{color:#ef4444!important}.history-detail-modal{background:#fff;border-radius:18px;gap:0;width:min(100%,520px);max-height:min(92vh,860px);display:grid;overflow-y:auto;box-shadow:0 24px 60px #0f172a33}.operation-preview-hero{color:#fff;background:linear-gradient(135deg,#0d284a 0%,#1d45b8 100%);border-radius:18px 18px 0 0;justify-items:center;padding:24px 28px 36px;display:grid;position:relative}.operation-close{color:#fff;cursor:pointer;background:#ffffff2e;border:0;border-radius:9px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:16px;right:16px}.operation-close svg{width:17px;height:17px}.operation-hero-icon{background:#fff3;border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:14px;display:grid}.operation-hero-icon svg{width:24px;height:24px}.operation-preview-hero h2{margin:0;font-size:20px;font-weight:900}.operation-preview-hero p{color:#ffffffc7;margin:8px 0 0;font-size:12px;font-weight:800}.operation-preview-body{gap:18px;padding:24px;display:grid}.operation-amount-card,.operation-concept-card,.operation-detail-lines{background:#f8fafc;border:1px solid #eef2f7;border-radius:16px;padding:18px}.operation-amount-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.operation-amount-grid article:first-child{border-right:1px solid #dfe6f0}.operation-amount-grid span,.operation-meta-grid span,.operation-concept-card span,.operation-detail-lines h3{color:#94a3b8;text-transform:uppercase;font-size:10px;font-weight:900}.operation-amount-grid strong{color:var(--ink);margin-top:8px;font-size:20px;font-weight:900;display:block}.operation-amount-grid small,.operation-amount-grid em{color:#64748b;margin-top:7px;font-size:11px;font-style:normal;font-weight:700;display:block}.operation-amount-grid em{color:#ef4444;background:#ffeded;border-radius:7px;width:fit-content;padding:4px 8px;font-size:10px;font-weight:900}.operation-status-stack{gap:7px;margin-top:18px;display:grid}.operation-status-stack span,.operation-status-stack strong{color:#9a3f00;text-align:center;text-transform:uppercase;background:#fff8e5;border:1px solid #fde68a;border-radius:9px;min-height:28px;padding:7px 10px;font-size:11px;font-weight:900}.operation-status-stack strong{color:#ef4444;background:#ffeded;border-color:#fee2e2}.operation-meta-grid{border-top:2px dashed #071529;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:14px;display:grid}.operation-meta-grid article{gap:7px;display:grid}.operation-meta-grid svg,.operation-concept-card svg,.operation-actions svg{width:15px;height:15px}.operation-meta-grid svg{color:#94a3b8}.operation-meta-grid strong,.operation-concept-card strong{color:var(--ink);font-size:13px;font-weight:900}.operation-concept-card{gap:10px;display:grid}.operation-concept-card span{align-items:center;gap:8px;display:inline-flex}.operation-concept-card small{color:#94a3b8;font-size:11px;font-weight:800}.operation-concept-list{gap:6px;display:grid}.operation-concept-list small{color:#475569;background:#fff;border:1px solid #edf1f6;border-radius:9px;margin:0;padding:8px 10px;font-size:12px;font-weight:800;display:block}.operation-concept-breakdown{gap:8px;display:grid}.operation-concept-breakdown article{background:#fff;border:1px solid #edf1f6;border-radius:10px;gap:9px;padding:10px;display:grid}.operation-concept-breakdown article>strong{color:var(--ink);font-size:12px;font-weight:900}.operation-concept-breakdown div{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;display:grid}.operation-concept-breakdown span{color:#94a3b8;text-transform:uppercase;gap:3px;font-size:9px;font-weight:900;display:grid}.operation-concept-breakdown b{color:#071529;text-transform:none;font-size:11px;font-weight:900}.operation-detail-lines{gap:10px;display:grid}.operation-detail-lines h3{margin:0}.operation-detail-lines div{justify-content:space-between;align-items:center;gap:14px;display:flex}.operation-detail-lines span,.operation-note{color:#526176;font-size:13px;font-weight:700}.operation-detail-lines strong{color:var(--ink);font-size:13px;font-weight:900}.operation-note{overflow-wrap:anywhere;word-break:break-word;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;margin:0;padding:14px 16px}.operation-actions{grid-template-columns:1fr 1fr 1fr 1fr;gap:10px;display:grid}.operation-actions button{color:#526176;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;font-size:11px;font-weight:900;display:inline-flex}.operation-actions .operation-print{color:#fff;background:#071529;border-color:#071529}.operation-actions .operation-pdf{color:#0074a6;border-color:#38a9ce}.operation-actions .operation-delete{color:#ef4444;background:#fee2e2;border-color:#fee2e2}.cashbox-payment-state strong,.cashbox-payment-state span{display:block}.cashbox-payment-state span{color:#007a53;margin-top:3px;font-size:12px;font-weight:600}.rentals-page{gap:24px;width:min(100%,1520px);margin:0 auto;padding:44px 46px 48px;display:grid}.page-heading,.table-toolbar,.pagination,.modal-header,.modal-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.page-heading h1,.modal-header h2{color:var(--ink);letter-spacing:0;margin:2px 0;font-size:34px}.modal-header h2{font-size:24px}.page-heading span,.modal-header span,.table-toolbar span,.form-block p,.amount-detail,.timeline-item small{color:var(--muted);font-size:12px;font-weight:600}.eyebrow{color:var(--primary);letter-spacing:0;text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.summary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.summary-card,.rentals-table-wrap{background:var(--surface);border:1px solid #eef2f7;border-radius:20px}.summary-card{min-height:190px;color:inherit;text-align:left;align-items:flex-start;gap:16px;padding:28px 30px;display:flex;overflow:hidden;box-shadow:0 14px 34px #0f172a0d}.summary-card--action{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.summary-card--action:hover,.summary-card--action:focus-visible{border-color:#d7e1ee;outline:none;transform:translateY(-1px);box-shadow:0 18px 40px #0f172a14}.summary-card--action.is-selected{border-color:#071529;box-shadow:0 0 0 3px #0715290f,0 18px 40px #0f172a14}.summary-icon{color:#0f1f33;background:#eef2f7;border-radius:8px;flex:none;place-items:center;width:42px;height:42px;display:grid}.summary-icon--danger{color:#ef4444;background:#fff1f2}.summary-icon svg{width:20px;height:20px}.summary-card span{color:var(--muted);font-size:15px;font-weight:800}.summary-card strong{color:var(--ink);letter-spacing:0;margin-top:28px;font-size:40px;font-weight:800;display:block}.summary-card small{color:#071529;margin-top:18px;font-size:14px;font-weight:800;display:block}.summary-card:nth-child(2) small{color:#f33}.summary-card .summary-card-note{color:#64748b;margin-top:7px;font-size:12px;font-weight:700}.primary-button,.secondary-button,.danger-button,.pagination button{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 15px;font-size:13px;font-weight:800;display:inline-flex}.primary-button{color:#fff;background:#071529;box-shadow:0 10px 22px #0715293d}.primary-button svg,.secondary-button svg{width:17px;height:17px}.secondary-button,.pagination button{color:var(--ink);background:var(--surface);border-color:#dbe3ee}.danger-button{color:#f33;background:#fff1f1;border-color:#ffd4d4}.delete-expense-modal,.delete-scope-modal{width:min(560px,100vw - 32px);overflow:hidden}.delete-expense-body,.delete-scope-body{gap:7px;padding:24px 28px 16px;display:grid}.delete-scope-kicker{color:#8a3b00;text-transform:uppercase;background:#fff7e6;border:1px solid #ffe2a8;border-radius:999px;width:max-content;padding:5px 9px;font-size:11px;font-weight:900}.delete-expense-body strong,.delete-scope-body strong{color:var(--ink);font-size:22px}.delete-expense-body p,.delete-scope-body p{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.delete-expense-actions,.delete-scope-actions{grid-template-columns:1fr 1fr;gap:12px;padding:0 28px 18px;display:grid}.delete-choice{text-align:left;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:14px;grid-template-columns:auto 1fr;gap:6px 12px;min-height:104px;padding:16px;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;display:grid}.delete-choice:hover{transform:translateY(-1px);box-shadow:0 14px 28px #0715291a}.delete-choice>span{border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.delete-choice svg{width:18px;height:18px}.delete-choice strong{color:var(--ink);align-self:center;font-size:14px;font-weight:900}.delete-choice small{color:#64748b;grid-column:2;font-size:12px;font-weight:700;line-height:1.35}.delete-choice--month:hover{background:#f8fbff;border-color:#9bbcf4}.delete-choice--month>span{color:#1d4ed8;background:#eff6ff}.delete-choice--all{border-color:#ffd4d4}.delete-choice--all:hover{background:#fff6f6;border-color:#ff8f8f}.delete-choice--all>span{color:#f33;background:#fff1f1}.delete-choice--all strong{color:#e52222}.delete-cancel-button{color:#536176;cursor:pointer;background:#f6f8fb;border:1px solid #e6edf5;border-radius:10px;width:calc(100% - 56px);height:40px;margin:0 28px 26px;font-size:13px;font-weight:900}.delete-cancel-button:hover{color:var(--ink);background:#eef3f8}.pagination button:disabled{color:#a3adbb;cursor:not-allowed}.table-toolbar{background:var(--surface);border:1px solid #eef2f7;border-bottom:0;border-radius:20px 20px 0 0;grid-template-columns:minmax(260px,1fr) auto auto;min-height:64px;padding:12px 18px;display:grid}.rentals-table-wrap{border-radius:0 0 20px 20px;margin-top:-24px}.search-control{width:100%;height:38px;color:var(--muted);background:var(--surface);border:1px solid #dbe3ee;border-radius:8px;align-items:center;gap:10px;padding:0 12px;display:inline-flex}.search-control svg{width:18px;height:18px}.search-control input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px;font-weight:600}.filter-tabs{background:#f8fafc;border-radius:9px;align-items:center;gap:4px;padding:3px;display:inline-flex}.filter-tabs button{color:#526176;cursor:pointer;background:0 0;border:0;border-radius:7px;height:32px;padding:0 12px;font-size:13px;font-weight:700}.filter-tabs button.is-selected{color:#071529;background:#fff;box-shadow:0 1px 4px #0f172a14}.income-message{color:#007a53;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:10px;margin:0;padding:12px 14px;font-size:13px;font-weight:800}.income-modal-note{color:#526176;background:#f8fafc;border:1px solid #edf1f6;border-radius:10px;margin:0;padding:12px 14px;font-size:12px;font-weight:800}.toggle-field{grid-template-columns:auto 1fr;align-items:center;min-height:44px;gap:10px!important;display:inline-flex!important}.toggle-field input{width:17px!important;height:17px!important;padding:0!important}.rentals-table-wrap{overflow-x:auto}.rentals-table{border-collapse:collapse;width:100%;min-width:1060px}.rentals-table th{color:#97a0af;letter-spacing:0;text-align:left;text-transform:uppercase;background:#fbfcfe;border-bottom:1px solid #e5eaf2;padding:15px 20px;font-size:11px;font-weight:800}.rentals-table td{color:var(--ink);vertical-align:middle;border-bottom:1px solid #f1f4f8;padding:34px 20px;font-size:13px}.rentals-table tr:last-child td{border-bottom:0}.rentals-table tbody tr{transition:background .16s}.rentals-table tbody tr:hover{background:#fbfdff}.rentals-table th:first-child,.rentals-table td:first-child{width:23%}.rentals-table th:nth-child(2),.rentals-table td:nth-child(2){width:15%}.rentals-table th:nth-child(3),.rentals-table td:nth-child(3){width:11%}.rentals-table th:nth-child(4),.rentals-table td:nth-child(4),.rentals-table th:nth-child(5),.rentals-table td:nth-child(5){width:17%}.rentals-table td>strong{color:#0f172a;font-size:14px;font-weight:800;display:block}.muted-line{color:var(--muted);align-items:center;gap:6px;margin-top:5px;font-size:12px;font-weight:600;display:inline-flex}.muted-line svg{width:14px;height:14px}.status-pill,.interest-label{letter-spacing:0;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.status-pill--paid{color:#009b72;background:#eafbf4}.debt-ok-label{color:#009b72;background:#eafbf4;border-radius:999px;align-items:center;width:fit-content;min-height:24px;padding:0 9px;font-size:11px;font-weight:900;display:inline-flex}.rentals-table td>.debt-ok-label{display:inline-flex}.status-pill--pending{color:#8a5a00;background:#fff2c2}.status-pill--overdue,.interest-label{color:#f33;background:#ffeded}.amount-detail{margin-top:3px;display:block}.amount-detail--danger{color:#ef4444}.interest-label{width:fit-content;margin-top:6px}.row-actions{align-items:center;gap:8px;display:inline-flex}.row-actions button,.icon-button{color:#526176;cursor:pointer;background:#f8fafc;border:0;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.row-actions .paid-action{color:#009b72;background:#fff;border:1px solid #10b981;width:auto;padding:0 15px;font-weight:800;display:inline-flex}.row-actions button:hover,.row-actions button:focus-visible,.icon-button:hover,.icon-button:focus-visible{color:var(--primary);background:var(--primary-soft);outline:none}.row-actions svg,.icon-button svg{width:17px;height:17px}.pagination{color:var(--muted);font-size:13px;font-weight:700}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a7a;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.property-modal{background:var(--surface);border-radius:18px;gap:22px;width:min(100%,800px);max-height:min(92vh,980px);padding:0 32px 28px;display:grid;overflow:hidden auto;box-shadow:0 24px 60px #0f172a33}.rental-debt-print-modal{gap:18px;width:min(100%,760px)}.rental-debt-print-panel{max-height:min(58vh,560px);overflow-y:auto}.rental-debt-print-total{background:#fff9e8;border:1px solid #fde68a;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:16px 18px;display:flex}.rental-debt-print-total span{color:#8a3b00;text-transform:uppercase;font-size:13px;font-weight:900}.rental-debt-print-total strong{color:#8a3b00;font-size:28px;font-weight:900}.modal-header{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-bottom:1px solid #edf1f6;margin:0 -32px;padding:20px 20px 18px;position:sticky;top:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;display:grid}.form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid--intro label:first-child{grid-column:1/-1}.form-grid label,.form-block label,.percentage-field{color:#071529;gap:7px;font-size:14px;font-weight:700;display:grid}.form-grid input,.form-grid select,.form-block input,.form-block select{width:100%;height:44px;color:var(--ink);background:#fff;border:1px solid #ccd6e4;border-radius:12px;outline:0;padding:0 16px;font-size:13px;font-weight:600}.form-grid select,.form-block select{appearance:none}.form-grid input:focus,.form-grid select:focus,.form-block input:focus,.form-block select:focus{border-color:#0b2239;box-shadow:0 0 0 3px #0b223914}.form-grid input:disabled,.form-grid select:disabled,.form-block input:disabled,.form-block select:disabled{color:#64748b;background:#f8fafc}.form-block{background:#f8fafc;border:0;border-radius:16px;gap:18px;margin:0;padding:22px;display:grid}.form-block legend{color:var(--ink);padding:0;font-size:18px;font-weight:800}.historical-years{gap:10px;display:grid}.historical-block{background:#fbfcfe;border:1px solid #dfe7f1;gap:12px;padding:18px 20px}.historical-block legend{font-size:13px;font-weight:900}.historical-years details{background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:0;overflow:hidden}.historical-years summary{min-height:42px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;padding:0 16px;font-size:13px;font-weight:900;list-style:none;display:flex}.historical-years summary::-webkit-details-marker{display:none}.historical-years summary:after{content:"";border-bottom:1.5px solid #94a3b8;border-right:1.5px solid #94a3b8;width:7px;height:7px;margin-left:8px;transform:rotate(225deg)translateY(-1px)}.historical-years details:not([open]) summary:after{transform:rotate(45deg)translateY(-2px)}.historical-years summary span{flex:1}.historical-years summary em{color:#64748b;background:#eef2f7;border-radius:999px;align-items:center;min-height:20px;padding:0 9px;font-size:10px;font-style:normal;font-weight:900;display:inline-flex}.month-checks{border-top:1px solid #edf1f6;grid-template-columns:1fr;gap:2px;padding:10px 16px 14px;display:grid}.form-block .month-check{color:#64748b;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;min-height:26px;padding:3px 0;font-size:13px;font-weight:600;display:flex}.form-block .month-check input{accent-color:#94a3b8;flex:none;width:14px;height:14px;padding:0}.form-block .month-check span{color:#64748b;flex:none;min-width:74px;font-size:13px;font-weight:700}.form-block .month-check small{color:#007a53;text-transform:uppercase;background:#ddf8e9;border-radius:3px;align-items:center;width:fit-content;min-height:17px;padding:0 6px;font-size:9px;font-weight:900;display:inline-flex}.historical-note{color:#8a98aa;margin:0;font-size:11px;font-weight:600}.increase-note{min-height:58px;color:var(--muted);background:#fff;border:1px solid #e5eaf2;border-radius:8px;align-content:center;gap:5px;padding:10px 12px;font-size:12px;font-weight:800;display:grid}.increase-note strong{color:var(--ink);font-size:14px}.radio-row{flex-wrap:wrap;gap:14px;display:inline-flex}.radio-row label{align-items:center;gap:7px;display:inline-flex}.radio-row input{width:16px;height:16px}.percentage-field{max-width:260px}.timeline-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.timeline-item{background:#f8fafc;border:1px solid #e5eaf2;border-radius:8px;gap:7px;padding:10px;display:grid}.timeline-item strong{font-size:13px}.property-modal--summary{gap:22px;width:min(100%,820px)}.summary-hero{justify-content:space-between;align-items:flex-start;gap:20px;padding-top:10px;display:flex}.summary-hero h3{color:var(--ink);letter-spacing:0;margin:0 0 10px;font-size:34px;font-weight:800}.summary-hero span:not(.status-pill){color:var(--muted);align-items:center;gap:8px;font-size:16px;font-weight:600;display:inline-flex}.summary-hero svg{width:18px;height:18px}.state-panel,.summary-info-card,.contract-panel,.increase-history-panel{background:#fbfcfe;border:1px solid #eef2f7;border-radius:18px}.state-panel{gap:16px;padding:24px;display:grid}.state-panel h4,.contract-panel h4,.increase-history-panel h4{color:#64748b;letter-spacing:0;text-transform:uppercase;margin:0;font-size:13px;font-weight:800}.state-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.state-button{cursor:pointer;background:#fff;border-radius:10px;height:42px;font-size:13px;font-weight:800}.state-button--paid{color:#009b72;border:1px solid #10b981}.state-button--pending{color:#fff;background:#f59e0b;border:1px solid #f59e0b}.state-button--overdue{color:#f33;border:1px solid #f33}.summary-detail-grid{grid-template-columns:1fr;gap:14px;display:grid}.summary-info-card{min-height:0;padding:26px}.section-title{color:#64748b;letter-spacing:0;text-transform:uppercase;align-items:center;gap:10px;font-size:12px;font-weight:800;display:inline-flex}.section-title svg{width:19px;height:19px}.summary-info-card>strong{color:var(--ink);margin-top:24px;font-size:22px;line-height:1.35;display:block}.summary-info-card>small{color:var(--muted);align-items:center;gap:8px;margin-top:14px;font-size:14px;font-weight:600;display:inline-flex}.summary-info-card small svg{width:15px;height:15px}.payment-breakdown{gap:12px;margin:24px 0 14px;display:grid}.payment-breakdown div,.historic-total,.debt-values,.panel-heading,.extra-charge-item,.contract-panel>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.payment-breakdown dt{color:var(--muted);font-size:14px}.payment-breakdown dd{color:var(--ink);margin:0;font-size:15px;font-weight:800}.payment-breakdown .danger-row dt,.payment-breakdown .danger-row dd{color:#f33}.payment-mini-grid{grid-template-columns:.9fr 1.1fr;gap:14px;display:grid}.payment-mini-grid>div{background:#fff;border:1px solid #eef2f7;border-radius:18px;gap:8px;min-height:114px;padding:18px;display:grid}.payment-mini-grid svg{width:24px;height:24px}.payment-mini-grid span{color:#94a3b8;text-transform:uppercase;font-size:12px;font-weight:800}.payment-mini-grid strong{color:var(--ink);font-size:24px}.payment-history-box{color:#007a53;text-align:center;background:#ecfdf5!important;border-color:#bbf7d0!important}.payment-history-box span{color:#007a53}.payment-history-box small,.empty-note{color:#94a3b8;font-size:13px;font-weight:600}.debt-panel{color:#8a3b00;background:#fff9e8;border:1px solid #fde68a;border-radius:18px;gap:16px;padding:24px;display:grid}.section-title--debt{color:#9a3f00}.debt-list{gap:12px;display:grid}.debt-item{background:#fff;border:1px solid #facc15;border-radius:12px;gap:14px;padding:16px;display:grid}.debt-item-header{border-bottom:1px solid #fde68a;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.debt-item-header strong{color:var(--ink);font-size:16px}.debt-item-header span{color:#f33;background:#ffeded;border-radius:7px;padding:6px 9px;font-size:12px;font-weight:800}.debt-values>div,.debt-options>div{gap:4px;display:grid}.debt-values small,.debt-options small{color:var(--muted);font-size:13px}.debt-values strong{color:var(--ink);font-size:15px}.debt-options{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;padding:14px;display:grid}.debt-options span{color:#475569;font-size:13px;font-weight:800}.debt-options strong{color:#f33;font-size:14px}.debt-extra-section{border-top:1px dashed #facc15;gap:14px;padding-top:12px;display:grid}.debt-extra-section h5{color:#9a3f00;letter-spacing:0;text-transform:uppercase;margin:0;font-size:13px;font-weight:800}.debt-extra-list{gap:10px;display:grid}.debt-extra-item{background:#fffdf4;border:1px solid #facc15;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.debt-extra-item--detailed{grid-template-columns:minmax(150px,.7fr) minmax(260px,1.4fr) auto;align-items:center;display:grid}.debt-extra-item div{gap:3px;display:grid}.debt-extra-item strong{color:var(--ink);font-size:15px}.debt-extra-item>strong{font-size:17px}.debt-extra-item small{color:var(--muted);font-size:12px}.debt-extra-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.debt-extra-options span{color:#475569;background:#f8fafc;border:1px solid #eef2f7;border-radius:9px;gap:4px;padding:10px;font-size:12px;font-weight:800;display:grid}.debt-extra-options strong{color:#f33;font-size:13px}.historic-total{border-top:1px solid #facc15;padding-top:18px}.historic-total span{color:#8a3b00;font-size:16px;font-weight:800}.historic-total strong{color:#8a3b00;font-size:28px;font-weight:800}.extra-charge-panel{background:#f0f9ff;border:1px solid #7dd3fc;border-radius:18px;gap:16px;padding:24px;display:grid}.section-title--blue{color:#006aa8}.outline-action{color:#0074c2;cursor:pointer;background:#fff;border:1px solid #0ea5e9;border-radius:9px;align-items:center;gap:8px;height:30px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.outline-action svg{width:15px;height:15px}.extra-charge-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;display:grid}.extra-charge-form label{color:#071529;gap:6px;font-size:12px;font-weight:800;display:grid}.extra-charge-form input{border:1px solid #bae6fd;border-radius:9px;width:100%;height:38px;padding:0 10px}.extra-charge-form .primary-button{grid-column:1/-1;justify-self:end;width:fit-content}.extra-charge-list{gap:10px;display:grid}.extra-charge-item{background:#fff;border:1px solid #bae6fd;border-radius:12px;padding:14px 16px}.extra-charge-item>div{flex:1;gap:4px;display:grid}.extra-charge-item strong{color:var(--ink);font-size:15px}.extra-charge-item>strong{color:#f33;background:#ffeded;border-radius:7px;padding:6px 9px}.extra-charge-item small{color:var(--muted)}.extra-charge-item button{color:#94a3b8;cursor:pointer;background:#f8fafc;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.extra-charge-item button svg{width:15px;height:15px}.contract-panel,.increase-history-panel{background:#fff;gap:24px;padding:26px;display:grid}.contract-panel h4,.increase-history-panel h4{color:var(--ink);text-transform:none;font-size:20px}.contract-panel article{gap:6px;display:grid}.contract-panel article span{color:#9aa3b2;text-transform:uppercase;font-size:12px;font-weight:800}.contract-panel article strong{color:var(--ink);font-size:15px}.contract-panel article small{color:#94a3b8;font-size:13px}.users-page{gap:24px;width:min(90vw,1480px);margin:0 auto;padding:44px 46px 48px;display:grid}.users-toolbar{background:#fff;border:1px solid #edf1f6;border-radius:18px;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:18px;padding:14px 18px;display:grid;box-shadow:0 16px 34px #0f172a0d}.users-toolbar>span{color:#64748b;font-size:13px;font-weight:800}.users-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:16px;display:grid}.user-card{background:#fff;border:1px solid #edf1f6;border-radius:18px;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:96px;padding:18px;display:grid;box-shadow:0 16px 34px #0f172a0d}.user-card-icon{color:#2563eb;background:#eff6ff;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.user-card-icon--admin{color:#008a62;background:#e7f8ef}.user-card-icon--atendente{color:#2563eb;background:#edf4ff}.user-card-icon svg{width:20px;height:20px}.user-card-main{gap:4px;min-width:0;display:grid}.user-card-main>div{align-items:center;gap:8px;min-width:0;display:flex}.user-card-main strong,.user-card-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-card-main strong{color:var(--ink);font-size:15px;font-weight:900}.user-card-main span{color:#64748b;font-size:13px;font-weight:700}.user-card-main em{color:#0f766e;text-transform:uppercase;background:#e7f8ef;border-radius:999px;flex:none;padding:3px 8px;font-size:10px;font-style:normal;font-weight:900}.user-card-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.role-pill,.user-state-pill{border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:11px;font-weight:900;display:inline-flex}.role-pill--admin{color:#007a5a;background:#e4f9ed}.role-pill--atendente{color:#1d4ed8;background:#eaf2ff}.user-state-pill{color:#b45309;background:#fff7df}.user-state-pill.is-active{color:#008a62;background:#e4f9ed}.row-actions button:disabled{cursor:not-allowed;opacity:.4}.user-modal{width:min(100%,620px)}.user-permission-note{color:#47607f;background:#f4f8fc;border:1px solid #e0e8f2;border-radius:14px;gap:6px;padding:14px 16px;font-size:13px;display:grid}.user-permission-note strong{color:var(--ink);font-size:13px}.notices-page{gap:24px;width:min(90vw,1480px);margin:0 auto;padding:44px 46px 48px;display:grid}.notice-feedback{color:#075985;background:#eef8ff;border:1px solid #bae6fd;border-radius:14px;margin:0;padding:13px 16px;font-size:13px;font-weight:800}.notices-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.notices-summary article{background:#fff;border:1px solid #edf1f6;border-radius:18px;align-items:center;gap:14px;min-height:104px;padding:22px;display:flex;box-shadow:0 16px 34px #0f172a0d}.notices-summary article>span,.notice-icon{color:#008a62;background:#e6f8ef;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.notices-summary svg,.notice-icon svg{width:20px;height:20px}.notices-summary small,.notice-metrics small,.notice-actions label,.increase-history-item span{color:#64748b;font-size:12px;font-weight:800}.notices-summary strong{color:var(--ink);margin-top:5px;font-size:28px;font-weight:900;display:block}.notices-list{gap:14px;display:grid}.notice-card,.notices-empty{background:#fff;border:1px solid #edf1f6;border-radius:18px;box-shadow:0 16px 34px #0f172a0d}.notice-card{grid-template-columns:minmax(220px,1fr) minmax(420px,1.6fr) minmax(220px,.8fr);align-items:center;gap:18px;padding:18px;display:grid}.notice-card-main{align-items:center;gap:13px;min-width:0;display:flex}.notice-card-main strong{color:var(--ink);font-size:16px;font-weight:900;display:block}.notice-card-main small{color:#64748b;margin-top:4px;font-size:12px;font-weight:700;display:block}.notice-metrics{background:#f8fafc;border:1px solid #edf1f6;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;display:grid}.notice-metrics strong{color:var(--ink);margin-top:5px;font-size:15px;font-weight:900;display:block}.notice-actions{gap:10px;display:grid}.notice-actions label{gap:7px;display:grid}.notice-actions input{width:100%;height:40px;color:var(--ink);background:#fff;border:1px solid #ccd6e4;border-radius:10px;outline:0;padding:0 12px;font-size:13px;font-weight:800}.notice-auto-percent{color:#47607f;background:#f4f8fc;border-radius:10px;align-items:center;min-height:40px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.notices-empty{color:#64748b;text-align:center;align-content:center;place-items:center;gap:6px;min-height:190px;display:grid}.notices-empty strong{color:var(--ink);font-size:18px}.increase-history-list{gap:10px;display:grid}.increase-history-item{background:#f8fafc;border:1px solid #edf1f6;border-radius:14px;grid-template-columns:minmax(150px,1fr) repeat(3,minmax(90px,auto));align-items:center;gap:14px;padding:14px;display:grid}.increase-history-item strong{color:var(--ink);font-size:14px;font-weight:900;display:block}.increase-history-item small{color:#64748b;margin-top:4px;font-size:12px;font-weight:700;display:block}.increase-history-page{color:#64748b;justify-self:end;font-size:12px;font-weight:800}@media (width<=1180px){.navbar{gap:22px;padding:0 22px}.nav-links{gap:15px}.nav-actions{gap:10px}.month-select{min-width:172px}.user-box{min-width:196px}}@media (width<=780px){.rentals-page{padding:20px 16px 30px}.page-heading,.table-toolbar,.pagination,.modal-actions{flex-direction:column;align-items:stretch}.summary-row,.history-summary-row,.history-filters,.form-grid,.form-grid--two,.month-checks,.timeline-list,.cashbox-two-cols,.payment-method-row,.selected-debt-list article{grid-template-columns:1fr}.primary-button,.secondary-button,.pagination button,.search-control,.cashbox-actions{width:100%}.cashbox-card{padding:22px 16px}.history-page{padding:28px 16px 38px}.users-page,.notices-page{width:100%;padding:28px 16px 38px}.users-toolbar,.user-card,.notices-summary,.notice-card,.notice-metrics,.increase-history-item{grid-template-columns:1fr}.notice-actions .primary-button{width:100%}.users-grid{grid-template-columns:1fr}.user-card{align-items:stretch;gap:12px}.user-card-icon{width:40px;height:40px}.user-card-meta,.user-card .row-actions{justify-content:flex-start}.user-card .row-actions button{width:40px}.history-heading{flex-direction:column;align-items:stretch}.cashbox-results button{grid-template-columns:30px minmax(0,1fr)}.late-fee-options,.selected-debt-metrics{grid-template-columns:1fr}.selected-debt-metrics,.selected-debt-topline{flex-direction:column;align-items:stretch}.result-amount{grid-column:2;justify-items:start}}@media (width<=980px){.app-header{box-shadow:0 10px 24px #0f172a0f}.navbar{flex-wrap:wrap;gap:10px;padding:10px 14px}.mobile-menu{color:#071529;background:#f4f7fb;border:1px solid #e6edf6;border-radius:12px;place-items:center;width:42px;height:42px;margin-left:auto;display:grid}.navbar-panel{background:#fff;border:1px solid #e8eef6;border-radius:18px;align-items:stretch;width:auto;padding:12px;display:none;position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow-y:auto;box-shadow:0 18px 44px #0f172a24}.navbar-panel.is-open{grid-template-columns:1fr;align-content:start;gap:12px;display:grid}.nav-links,.nav-actions{align-items:stretch;gap:2px;width:100%;display:grid}.nav-link{color:#26364c;background:0 0;border:0;border-radius:10px;justify-content:flex-start;width:100%;height:44px;padding:0 12px;font-size:15px;font-weight:800}.nav-link.is-active{color:#071529;background:#eef4fb}.nav-link .chevron{margin-left:auto}.submenu{box-shadow:none;background:0 0;border:0;border-radius:0;gap:4px;margin:0;padding:2px 0 8px 32px;position:static;transform:none}.has-submenu .submenu{opacity:1;pointer-events:auto;display:none}.has-submenu.is-open .submenu{display:grid}.submenu a{color:#526176;background:0 0;border-radius:12px;min-height:34px;padding:8px 10px;font-size:13px;font-weight:800}.submenu a:hover,.submenu a:focus-visible{color:#071529;background:#f4f7fb}.nav-actions{border-top:1px solid #edf1f6;gap:10px;margin-left:0;padding-top:12px}.month-select,.user-box{width:100%}.month-select>button,.user-box{border-radius:12px;height:44px}.user-box{grid-template-columns:34px minmax(0,1fr) 40px;padding:0 6px 0 8px;display:grid}.logout-button{justify-content:center;width:40px;height:36px}}@media (width<=780px){html,body{overflow-x:hidden}.navbar{gap:12px;min-height:64px;padding:10px 14px}.brand{min-width:0}.brand-logo{width:132px;max-height:38px}.navbar-panel.is-open{max-height:calc(100vh - 86px);overflow-y:auto}.nav-actions{margin-left:0}.month-select{min-width:0}.month-menu{border-radius:12px;width:100%;max-height:188px;margin-top:8px;position:static;box-shadow:inset 0 0 0 1px #edf1f6}.month-menu button{height:38px;padding:0 14px;font-size:13px}.user-box{min-width:0}.app-footer{padding:18px 18px 22px;line-height:1.5}.dashboard-page,.history-page,.rentals-page,.cashbox-page{width:100%;padding:24px 14px 34px}.dashboard-heading,.history-heading,.page-heading{flex-direction:column;align-items:stretch}.dashboard-heading h1,.history-heading h1,.page-heading h1{font-size:28px;line-height:1.1}.dashboard-summary-row,.history-summary-row,.summary-row,.dashboard-grid--main,.dashboard-grid--secondary{grid-template-columns:1fr;gap:14px}.dashboard-summary-row article,.history-summary-row article,.summary-card{border-radius:16px;min-height:118px;padding:18px}.summary-card strong,.dashboard-summary-row strong,.history-summary-row strong{overflow-wrap:anywhere;margin-top:12px;font-size:28px}.summary-card small,.dashboard-summary-row em{margin-top:10px}.dashboard-panel{border-radius:16px;min-height:220px;padding:18px}.dashboard-panel .recharts-responsive-container{min-height:210px}.history-filters,.table-toolbar{border-radius:16px;grid-template-columns:1fr;gap:10px;padding:12px}.filter-tabs{scrollbar-width:none;justify-content:flex-start;width:100%;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tabs button{flex:none}.table-toolbar span{justify-self:start}.rentals-table-wrap,.history-table-wrap{background:0 0;border:0;border-radius:0;margin-top:0;overflow:visible}.rentals-table,.history-table,.rentals-table thead,.history-table thead,.rentals-table tbody,.history-table tbody,.rentals-table tr,.history-table tr,.rentals-table td,.history-table td{width:100%;min-width:0;display:block}.rentals-table,.history-table{border-collapse:separate;border-spacing:0}.rentals-table thead,.history-table thead{display:none}.rentals-table tbody,.history-table tbody{gap:12px;display:grid}.rentals-table tr,.history-table tr{background:#fff;border:1px solid #eef2f7;border-radius:16px;overflow:hidden;box-shadow:0 12px 26px #0f172a0d}.rentals-table td,.history-table td{border-bottom:1px solid #f1f4f8;grid-template-columns:minmax(96px,.38fr) minmax(0,1fr);gap:12px;min-height:0;padding:12px 14px;display:grid}.rentals-table th,.rentals-table td,.history-table th,.history-table td,.rentals-table:not(.incomes-table) td:nth-child(n),.incomes-table td:nth-child(n),.history-table td:nth-child(n){width:100%;max-width:none}.rentals-table:not(.incomes-table) td{grid-template-columns:1fr;gap:7px;padding:15px 18px}.rentals-table:not(.incomes-table) td:before{margin-bottom:0}.rentals-table:not(.incomes-table) td>strong,.rentals-table:not(.incomes-table) .muted-line,.rentals-table:not(.incomes-table) .amount-detail{max-width:100%}.rentals-table:not(.incomes-table) .muted-line{white-space:normal;align-items:flex-start;line-height:1.35}.rentals-table:not(.incomes-table) .status-pill,.rentals-table:not(.incomes-table) .debt-ok-label,.rentals-table:not(.incomes-table) .interest-label{justify-self:start;width:fit-content}.rentals-table td:last-child,.history-table td:last-child{border-bottom:0}.rentals-table td:before,.history-table td:before{color:#94a3b8;letter-spacing:0;text-transform:uppercase;font-size:10px;font-weight:900}.rentals-table:not(.incomes-table) td:first-child:before{content:"Propiedad"}.rentals-table:not(.incomes-table) td:nth-child(2):before{content:"Inquilino"}.rentals-table:not(.incomes-table) td:nth-child(3):before{content:"Estado"}.rentals-table:not(.incomes-table) td:nth-child(4):before{content:"Monto"}.rentals-table:not(.incomes-table) td:nth-child(5):before{content:"Deuda"}.rentals-table:not(.incomes-table) td:nth-child(6):before{content:"Acciones"}.incomes-table td:first-child:before{content:"Concepto"}.incomes-table td:nth-child(2):before{content:"Tipo"}.incomes-table td:nth-child(3):before{content:"Estado"}.incomes-table td:nth-child(4):before{content:"Monto"}.incomes-table td:nth-child(5):before{content:"Vigencia"}.incomes-table td:nth-child(6):before{content:"Acciones"}.history-table td:first-child:before{content:"Fecha"}.history-table td:nth-child(2):before{content:"Tipo"}.history-table td:nth-child(3):before{content:"Concepto"}.history-table td:nth-child(4):before{content:"Categoría"}.history-table td:nth-child(5):before{content:"M. Pago"}.history-table td:nth-child(6):before{content:"Monto"}.history-table td:nth-child(7):before{content:"Acciones"}.rentals-table td[colspan],.history-table td[colspan]{grid-template-columns:1fr}.rentals-table td[colspan]:before,.history-table td[colspan]:before{content:none}.row-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.row-actions button{flex:none}.row-actions .paid-action{justify-content:center;min-width:96px}.modal-backdrop{align-items:center;padding:14px 10px}.property-modal,.history-detail-modal,.cashbox-modal-shell{border-radius:16px;width:100%;max-height:calc(100dvh - 28px)}.property-modal{overscroll-behavior:contain;gap:16px;padding:0 16px 20px}.modal-header{border-radius:16px 16px 0 0;margin:0 -16px;padding:16px}.modal-header h2{font-size:21px;line-height:1.15}.form-block,.state-panel,.debt-panel,.extra-charge-panel,.contract-panel,.increase-history-panel{border-radius:14px;padding:16px}.summary-detail-grid,.payment-mini-grid,.state-buttons,.debt-options,.debt-values,.debt-extra-item--detailed,.debt-extra-options,.contract-panel>div,.extra-charge-form{grid-template-columns:1fr}.summary-hero{flex-direction:column}.summary-hero h3{font-size:28px}.summary-info-card{min-height:0;padding:18px}.historical-block{padding:14px}.month-checks{padding:10px 12px}.cashbox-page--modal .cashbox-card,.cashbox-card{border-radius:16px;padding:22px 16px}.cashbox-mode-toggle{width:100%}.cashbox-mode-toggle button{flex:1}.cashbox-results{max-height:360px;margin-top:8px;position:static;overflow-y:auto}.payment-method-card,.selected-debt-panel{border-radius:14px;padding:14px}.selected-debt-card{padding:14px}.operation-preview-hero{border-radius:16px 16px 0 0;padding:22px 18px 30px}.operation-preview-body{padding:18px}.operation-amount-grid,.operation-meta-grid,.operation-actions{grid-template-columns:1fr}.operation-actions button{width:100%}.operation-concept-breakdown div{grid-template-columns:1fr 1fr}.rental-debt-print-panel{max-height:52vh}.rental-debt-print-total{flex-direction:column;align-items:flex-start}}@media (width<=520px){.auth-page{padding:18px 14px}.auth-card{border-radius:24px;min-height:auto;padding:38px 24px 26px}.auth-logo{width:220px;margin-bottom:28px}.auth-card p{margin-bottom:34px}.brand-logo{width:128px}.mobile-menu{width:40px;height:40px}.navbar{padding-inline:12px}.navbar-panel{padding-bottom:4px}.nav-link,.month-select>button,.user-box{height:42px}.submenu{padding-left:30px}.submenu a{min-height:38px}.month-select>button{padding-right:28px}.user-copy strong{max-width:100%}.dashboard-heading h1,.history-heading h1,.page-heading h1{font-size:25px}.summary-card strong,.dashboard-summary-row strong,.history-summary-row strong{font-size:24px}.rentals-table td,.history-table td{grid-template-columns:1fr;gap:6px}.rentals-table td:before,.history-table td:before{margin-bottom:2px}.muted-line,.history-date,.history-category{align-items:flex-start}.late-fee-options{gap:6px}.operation-concept-breakdown div{grid-template-columns:1fr}.cashbox-page{padding-inline:14px}.cashbox-heading{margin-bottom:18px}.cashbox-heading h1{font-size:30px}.cashbox-heading p{max-width:280px;margin-inline:auto;font-size:14px;line-height:1.35}.cashbox-card{border-radius:18px;gap:18px;padding:24px 18px}.cashbox-search-field{gap:8px}.cashbox-search-field .inline-label{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.cashbox-search-field .inline-label>span,.cashbox-search-field .inline-label{min-width:0}.cashbox-search-field .inline-label em{text-align:left;white-space:normal;border-radius:11px;max-width:158px;min-height:34px;padding:0 12px;font-size:12px;line-height:1.05}.cashbox-search-field .inline-label em svg{flex:none;width:22px;height:22px}.cashbox-search-field .input-with-icon input{height:50px;padding-left:46px;font-size:16px}.cashbox-search-field .input-with-icon svg{width:18px;height:18px;left:16px}.cashbox-results{border-radius:14px;max-height:320px;margin-top:10px;overflow:hidden auto;box-shadow:0 16px 30px #0f172a1f}.cashbox-results button{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:8px 12px;min-height:0;padding:12px 14px}.cashbox-results button>span:nth-child(2){grid-area:1/2;min-width:0}.cashbox-results strong{font-size:15px}.cashbox-results small{text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.25;overflow:hidden}.result-icon{grid-area:1/1/span 2;width:32px;height:32px}.result-amount{flex-wrap:wrap;grid-area:2/2;place-items:center start;gap:3px 8px;padding-top:0;display:flex}.result-amount strong{flex:0 0 100%;font-size:14px}.result-amount small{white-space:normal;margin-top:0;font-size:10px}.result-amount em{font-size:10px}}@media (width<=780px){.cashbox-search-field .cashbox-results{max-height:330px;display:block;overflow:hidden auto}.cashbox-search-field .cashbox-results button{grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:start;row-gap:7px;width:100%;height:auto;min-height:92px;padding:12px 14px 13px;display:grid}.cashbox-search-field .cashbox-results button>.result-icon{grid-area:1/1/span 2;align-self:start}.cashbox-search-field .cashbox-results button>span:nth-child(2){grid-area:1/2;min-width:0}.cashbox-search-field .cashbox-results button>.result-amount{flex-wrap:wrap;grid-area:2/2;align-items:center;gap:2px 8px;min-width:0;padding:0;display:flex}.cashbox-search-field .cashbox-results button>.result-amount strong{flex:0 0 100%;font-size:14px;line-height:1.1}.cashbox-search-field .cashbox-results button>.result-amount small,.cashbox-search-field .cashbox-results button>.result-amount em{white-space:nowrap;margin:0;font-size:10px;line-height:1.15;display:inline-flex}}
