:root{--navy:#13365e;--ink:#183052;--muted:#596c84;--line:#dce5ee;--blue:#1266ed;--bg:#f4f7fb;--shadow:0 5px 22px #1e416908}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:18px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.5}h2{font-size:23px}h3{font-size:20px}p{margin:8px 0 15px}small{font-size:18px}strong{font-weight:700}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #e5a025;outline-offset:3px}.masthead{background:var(--navy);color:#fff}.header-inner{max-width:1440px;margin:auto;display:flex;align-items:center;gap:24px;padding:15px 32px;min-height:94px}.brand{display:flex;align-items:center;gap:14px;font-size:30px;font-weight:700;line-height:1.2}.brand small{display:block;font-size:18px;font-weight:400;margin-top:5px;color:#dce9fa}.brand-mark{display:grid;place-items:center;width:53px;height:58px;border:1px solid #6684a5;border-radius:15px;background:#244b75}.brand-mark svg{width:34px;height:34px}.owner{margin-inline-start:auto;color:#e0ebf8}.logout{background:transparent;border:1px solid #6b83a0;border-radius:9px;color:#fff;padding:8px 17px;min-height:48px}.shell{max-width:1440px;display:flex;margin:auto;min-height:calc(100vh - 94px)}.sidebar{width:255px;flex-shrink:0;background:#fff;border-inline-end:1px solid var(--line);padding:30px 15px}.nav-label{padding:0 12px;margin-bottom:23px;color:var(--muted);font-size:18px}.nav-item{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px;border-radius:11px;margin-bottom:8px}.nav-item:hover{background:#f1f5fb}.nav-item.active{background:#e9f1ff;color:#1259c4;font-weight:700}.sidebar-note{border-top:1px solid var(--line);margin:35px 12px 0;padding-top:25px;font-size:18px;color:var(--muted)}.sidebar-note strong{display:block;margin-top:5px}.content{padding:28px 34px 45px;flex:1;min-width:0}.global-search{display:flex;gap:12px;align-items:center;max-width:700px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 16px;margin-bottom:28px;height:58px}.global-search svg{color:#627a98}.global-search input{background:transparent;flex:1;border:0;min-width:0;height:100%;padding:0;font-size:18px}.global-search button{border:0;background:transparent;color:#195cc2;font-weight:700;padding:8px}.welcome{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.eyebrow{color:#526d8d;display:block;margin-bottom:6px;font-size:18px}.welcome p{color:var(--muted);margin:6px 0 0}.date-chip{padding:7px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;white-space:nowrap}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:15px}.rent-hero{background:#163f75;color:white;border-radius:16px;padding:24px;position:relative;overflow:hidden;min-height:208px}.rent-hero:after{content:"";position:absolute;width:180px;height:180px;left:-80px;top:-80px;border:28px solid #ffffff08;border-radius:100%;pointer-events:none}.hero-top{display:flex;justify-content:space-between;font-size:20px}.hero-top svg{color:#a7cbff;width:30px;height:30px}.hero-amount{font-size:36px;font-weight:700;direction:ltr;text-align:right;margin:10px 0;letter-spacing:.5px;font-variant-numeric:tabular-nums}.hero-amount span{font-size:18px;letter-spacing:0}.hero-bottom{display:flex;flex-wrap:wrap;gap:15px;color:#d9e8fc;font-size:18px}.hero-bottom a{margin-inline-start:auto}.stat{padding:20px;border-radius:15px;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}.stat strong{font-size:30px;line-height:1.3;direction:ltr;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.green{background:#e7f7ec;color:#14683b}.red{background:#ffeded;color:#b52c35}.blue{background:#e9f1ff;color:#174c98}.amber{background:#fff4dd;color:#8a590b}.orange{background:#fff0de;color:#925211}.purple{background:#f0eafa;color:#624095}.slate{background:#eaf0f5;color:#3b536b}.utility-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}.utility-card{border-radius:13px;padding:17px 22px;display:flex;gap:17px;align-items:center}.utility-card strong{display:block;font-size:26px;font-variant-numeric:tabular-nums;direction:ltr;text-align:right}.utility-card small{font-size:18px}.icon-box{width:55px;height:55px;display:grid;place-items:center;border-radius:12px;flex-shrink:0}.icon-box svg{width:32px;height:32px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:29px 0 15px}.section-head a{color:#155bb9}.muted{color:var(--muted)}.actions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.action-card{position:relative;padding:21px;border-radius:14px;border:1px solid #1e42630d;display:flex;flex-direction:column;gap:5px;transition:transform .15s,box-shadow .15s}.action-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.action-icon{display:grid;place-items:center;background:#ffffffa3;width:49px;height:49px;border-radius:12px;margin-bottom:7px}.action-card strong{font-size:21px}.action-card>span:not(.action-icon){font-size:18px}.action-arrow{position:absolute;top:28px;left:22px;font-weight:400;font-size:26px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.list-row{display:flex;gap:15px;align-items:center;padding:20px 23px;border-bottom:1px solid #e9eef4;justify-content:space-between}.list-row:last-child{border-bottom:0}.list-row a:hover,a.list-row:hover{background:#f8faff}.grow{flex:1;min-width:0}.grow span,.align-end span{display:block}.align-end{text-align:end}.money{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate;white-space:nowrap}.empty{text-align:center;padding:34px 22px;grid-column:1/-1;color:var(--muted)}.empty h3{color:var(--ink);margin:12px 0}.empty p{max-width:540px;margin:10px auto 20px}.empty-icon{display:inline-grid;place-items:center;background:#edf3fc;color:#5680b7;width:68px;height:68px;border-radius:18px}.empty-icon svg{width:38px;height:38px}.btn{min-height:58px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 22px;border:1px solid transparent;font-size:18px;font-weight:700;text-align:center;line-height:1.5}.btn.primary{color:#fff;background:#1266ed}.btn.primary:hover{background:#0b55cb}.btn.secondary{background:#eef3f9;color:#244c7a;border-color:#d8e2ef}.btn.positive{background:#16813f;color:#fff}.btn.danger{color:#b52331;background:#fff0f0;border-color:#efc6c6}.btn:disabled{opacity:.6;cursor:wait}.wide{width:100%}.page-footer{color:#657b92;text-align:center;margin-top:38px;font-size:18px}.page-footer span{padding:0 12px}.overdue-banner{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:22px;border:1px solid #f2d1d3;padding:17px 22px;border-radius:12px;background:#fff6f6;color:#a32730}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-head p{color:var(--muted);margin:5px 0 0}.back-link{display:inline-block;font-size:18px;color:#426998;margin-bottom:7px;min-height:36px}.head-actions{display:flex;gap:10px;flex-wrap:wrap}.local-search{display:flex;gap:12px;margin-bottom:20px}.local-search input{flex:1;min-width:0}.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.property-art{height:155px;background:linear-gradient(120deg,#d8e8ef,#edf4f8);display:flex;align-items:center;justify-content:center;gap:24px;color:#55728e;border-bottom:1px solid var(--line);position:relative}.property-art:after{content:"";width:70px;height:70px;border:1px solid #afc5d0;transform:rotate(45deg);position:absolute;left:15px;bottom:15px;opacity:.35}.property-art svg{width:78px;height:78px;stroke-width:1}.property-art.industrial{background:linear-gradient(120deg,#e3e6de,#f3f1e8);color:#677358}.property-body{padding:20px}.property-count,.card-footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.property-count{padding-top:14px;border-top:1px solid var(--line)}.card-footer{padding:14px 20px;border-top:1px solid var(--line)}.card-footer a{color:#175cbe;min-height:40px;display:flex;align-items:center}.badge{display:inline-flex;align-items:center;padding:3px 11px;border-radius:7px;font-size:18px;white-space:nowrap}.unit-card .list-row{align-items:flex-start;flex-wrap:wrap}.unit-bottom{display:flex;justify-content:space-between;gap:10px;padding:15px 23px;border-top:1px solid var(--line)}.unit-bottom strong{font-size:20px}.tenant-card{padding-top:25px;text-align:center}.avatar{display:inline-flex;width:65px;height:65px;background:#eaf1fc;color:#225ca9;border-radius:50%;align-items:center;justify-content:center;font-size:30px;margin-bottom:10px}.phone{display:block;margin:10px 0 20px;color:#1266ed}.card-content{padding:24px}.form-panel{padding:25px;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.span-all{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:18px;font-weight:500}input,select,textarea{width:100%;min-height:56px;padding:11px 13px;background:#fff;border:1px solid #c8d6e6;border-radius:9px;color:var(--ink);font-size:18px;max-width:100%}input::placeholder{color:#74859a}input[type=checkbox],input[type=radio]{width:23px;height:23px;min-height:23px;accent-color:#1266ed;flex-shrink:0}textarea{resize:vertical}select{cursor:pointer}label.checkbox-label{display:flex;flex-direction:row;align-items:center;font-weight:400}.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0;align-items:center}.form-grid>.form-actions{margin:0}.hint{color:var(--muted);font-size:18px;margin:13px 0}.alert{padding:17px 20px;border-radius:11px;margin-bottom:22px;border:1px solid transparent}.alert.success{background:#e8f7ee;color:#155e36;border-color:#c1e5ce}.alert.error{background:#fff0f0;color:#a61c29;border-color:#efc9ce}.alert.info{background:#edf4ff;color:#285280;border-color:#d4e4fa}.alert ul{margin:7px 0 0;padding-inline-start:20px}.auth-content{max-width:650px;margin:30px auto}.auth-panel{padding:35px}.form-stack{display:flex;flex-direction:column;gap:20px;margin-top:25px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.unit-heading{display:flex;gap:16px;align-items:center;margin-bottom:15px}.details{margin:15px 0 25px}.details>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e8eef5}.details dt{color:var(--muted)}.details dd{margin:0;text-align:end;overflow-wrap:anywhere}.details a{color:#1266ed}.text-action{display:block;padding:14px 20px;color:#175db6;font-weight:700;text-align:center;min-height:56px}.totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.tabs{display:flex;gap:8px;overflow-x:auto;margin:20px 0;padding-bottom:5px}.tabs a,.tabs button{background:#fff;border:1px solid var(--line);border-radius:9px;padding:10px 20px;min-height:52px;white-space:nowrap;color:var(--ink)}.tabs .selected{background:#e7f0ff;color:#155fcb;border-color:#a6c6f5}.charge-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.charge-card{padding:20px}.charge-card .section-head{margin:0 0 8px}.mini-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px 12px;text-align:center}.mini-totals>div{color:var(--muted);font-size:18px;min-width:0}.mini-totals strong{display:block;color:var(--ink);font-size:20px;direction:ltr;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.correction{margin-top:18px}.correction summary{cursor:pointer;color:#596c84;padding:10px 0;min-height:46px}.correction form{display:flex;flex-direction:column;gap:15px;margin-top:10px}.ledger-event{padding:18px 22px;border-top:1px solid var(--line)}.ledger-label{display:flex;justify-content:space-between;gap:15px}.ledger-label time{color:var(--muted);direction:ltr}.segmented{display:flex;gap:12px}.segmented label{flex:1;flex-direction:row;align-items:center;justify-content:center;background:#edf4ff;padding:15px;border-radius:10px;cursor:pointer}.steps{display:flex;justify-content:space-between;gap:10px;margin-bottom:25px;color:#697e97}.steps span{border-bottom:3px solid #d4e0ed;padding:10px 0;flex:1;text-align:center}.steps span.active{border-color:#1266ed;color:#155ab5}.selected-account{padding:18px 22px;border-radius:12px;margin-bottom:22px;display:flex;flex-direction:column}.allocation-row{display:flex;align-items:center;gap:17px;padding:20px;border-bottom:1px solid var(--line)}.allocation-row>div{flex:1}.allocation-row span,.allocation-row small{display:block}.allocation-row small{color:var(--muted)}.allocation-row label{width:160px;flex-shrink:0}.fill-charge{border:0;background:#edf4ff;color:#135dbb;border-radius:8px;min-height:48px;padding:10px}.payment-summary{border-radius:14px;padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0;flex-wrap:wrap}.payment-summary strong{font-size:30px;direction:ltr}.payment-summary #allocation-message{width:100%;font-size:18px}.notes-label{margin:20px 0}.receipt{max-width:700px;margin:auto;padding:28px}.receipt-brand{font-size:32px;font-weight:700;padding-bottom:17px}.receipt-brand span{font-size:18px;color:var(--muted);margin-inline-start:15px;font-weight:400}.receipt-status{text-align:center;padding:20px;border-radius:13px}.success-circle{display:inline-grid;place-items:center;background:#1a8947;color:#fff;width:47px;height:47px;border-radius:50%;font-size:26px;margin-bottom:10px}.receipt-status>strong{display:block;font-size:25px}.receipt-line{display:flex;justify-content:space-between;gap:20px;padding:14px;border-bottom:1px solid var(--line)}.receipt-total{background:#f1f6fc;font-size:24px}.text-red{color:#b92531}.mobile-nav{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.shell{border-inline:1px solid var(--line)}}
@media(max-width:1150px){.sidebar{width:225px;padding-inline:10px}.content{padding:25px}.dashboard-grid{grid-template-columns:1fr 1fr}.rent-hero{grid-column:1/-1}.actions-grid{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:28px}.two-columns{grid-template-columns:1fr}.cards-grid{gap:14px}.charge-list{grid-template-columns:1fr}}
@media(max-width:800px){.sidebar{display:none}.shell{display:block}.content{padding:20px 20px 105px}.header-inner{padding:14px 20px}.brand{font-size:27px}.owner{font-size:18px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.welcome h1{font-size:27px}.date-chip{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffffff7;border-top:1px solid #d5e0ed;justify-content:space-around;padding:9px 7px max(9px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #19345a0a}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:18px;min-height:62px;padding:3px 8px}.mobile-nav .mobile-pay{color:#1266ed;font-weight:700}.mobile-nav svg{width:25px;height:25px}.page-head h1{font-size:27px}.auth-content{padding-bottom:25px}.auth-panel{padding:25px}.global-search{margin-bottom:23px}.form-grid{gap:18px}.cards-grid{grid-template-columns:1fr 1fr}.stat{padding:18px}.totals .stat strong{font-size:25px}.allocation-row label{width:140px}}
@media(max-width:560px){.header-inner{padding:12px 16px;gap:12px}.brand-mark{width:43px;height:48px}.brand{gap:10px}.owner{display:none}.header-inner>form{margin-inline-start:auto}.content{padding:19px 14px 110px}.welcome{margin-bottom:19px}.welcome h1{font-size:26px}.global-search{padding-inline:10px;gap:8px}.global-search input{font-size:18px}.rent-hero{padding:20px;min-height:185px}.hero-amount{font-size:35px}.dashboard-grid{gap:12px}.dashboard-grid>.stat strong{font-size:28px}.dashboard-grid>.stat{padding:18px 14px}.utility-stats{gap:12px}.utility-card{padding:15px 12px;gap:8px;align-items:flex-start;flex-direction:column}.utility-card .icon-box{width:32px;height:32px}.utility-card .icon-box svg{width:27px;height:27px}.utility-card strong{font-size:24px}.actions-grid{gap:12px}.action-card{padding:17px 14px}.action-card strong{font-size:20px}.action-card>span:not(.action-icon){font-size:18px}.action-arrow{top:21px;left:15px}.section-head h2{font-size:22px}.section-head .muted{display:none}.list-row{padding:18px 14px;gap:10px;flex-wrap:wrap}.list-row .align-end{margin-inline-start:auto}.cards-grid{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-wrap:wrap;gap:14px}.page-head .head-actions{width:100%}.page-head .head-actions .btn{flex:1}.form-grid{grid-template-columns:1fr}.form-panel,.card-content{padding:20px 16px}.totals{gap:8px}.totals .stat{padding:13px 8px;text-align:center;gap:6px}.totals .stat strong{font-size:21px;text-align:center}.totals .stat span{font-size:18px}.mini-totals{padding-inline:4px;gap:6px}.mini-totals strong{font-size:19px}.steps{gap:8px}.steps span{font-size:18px}.allocation-row{gap:10px;padding:17px 13px;flex-wrap:wrap}.allocation-row>div{flex-basis:100%}.allocation-row label{width:auto;flex:1}.fill-charge{align-self:flex-end;min-height:56px}.payment-summary{padding:17px}.payment-summary strong{font-size:28px}.receipt{padding:18px 14px}.receipt-line{padding:12px 5px;gap:10px}.receipt-total{font-size:22px}.form-actions .btn{flex:1}.form-actions{gap:10px}.ledger-label{flex-direction:column;gap:3px}.ledger-label time{text-align:right}.auth-panel h1{font-size:26px}.mobile-nav a{font-size:18px;padding-inline:3px}.details>div{gap:10px}.details dd{max-width:62%}.charge-card{padding:17px 13px}}
@media print{@page{size:A4;margin:15mm}.no-print,.masthead,.sidebar,.mobile-nav,.global-search,.page-footer,.back-link{display:none!important}body{background:white;color:#000;font-size:14pt}.shell,.content{display:block;width:100%;max-width:none;padding:0;margin:0}.panel{box-shadow:none;border-color:#bbb;break-inside:avoid}.receipt{max-width:none;border:0;padding:0}.receipt-brand{display:block}.page-head{margin-bottom:15px}.cards-grid,.charge-list{grid-template-columns:1fr}.stat,.receipt-status,.receipt-line{-webkit-print-color-adjust:exact;print-color-adjust:exact}.ledger-event,.charge-card{break-inside:avoid}a{color:#000}.alert.success{display:none}.money{white-space:normal}}
