:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f4f6fa;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}button,input,select{font:inherit}button{cursor:pointer}:root{--navy:#172033;--muted:#718096;--line:#e7eaf0;--green:#10a86b;--blue:#315bca}.login-page{background:linear-gradient(135deg,#172033 0%,#263958 72%,#345b75 100%);grid-template-columns:1fr 520px;align-items:center;min-height:100vh;padding:7vw;display:grid;position:relative;overflow:hidden}.login-page:after{content:"";border:1px solid #ffffff14;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-280px;right:-180px;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.login-brand{color:#fff;z-index:1;flex-direction:column;align-items:flex-start;display:flex;position:relative}.login-deity-frame{aspect-ratio:1;background:linear-gradient(145deg,#e2be67,#9c752b 55%,#f3da96);border-radius:24px;width:clamp(156px,18vw,216px);margin-bottom:26px;padding:5px;overflow:hidden;box-shadow:0 20px 55px #040a1873,0 0 36px #e2be672e}.login-deity-image{object-fit:contain;object-position:center top;background:#17233b;border-radius:20px;width:100%;height:100%;display:block}.brand-deity-logo{object-fit:contain;object-position:center top;background:#17233b;border:1.5px solid #d4af37;border-radius:10px;width:40px;min-width:40px;height:40px;display:block;box-shadow:0 4px 12px #17203329}.brand-mark{color:#fff;background:#315bca;border-radius:14px;place-items:center;width:52px;height:52px;margin-bottom:24px;display:grid;box-shadow:0 12px 30px #315bca40}.login-brand p{color:#93a4ba;letter-spacing:2.2px;margin:0 0 8px;font-size:12px;font-weight:800}.login-brand h1{letter-spacing:-2.5px;margin:0;font-size:clamp(40px,5.6vw,72px);line-height:1}.login-brand span{color:#c3cddd;margin-top:16px;font-size:20px;display:block}.login-card{z-index:2;background:#fff;border-radius:22px;width:100%;padding:42px;position:relative;box-shadow:0 24px 70px #05102340}.login-heading span{color:#315bca;letter-spacing:1.8px;font-size:11px;font-weight:800}.login-heading h2{letter-spacing:-1px;color:#172033;margin:8px 0 28px;font-size:30px}.login-card label{color:#3d4657;margin-bottom:16px;font-size:13px;font-weight:700;display:block}.login-card input{color:#172033;background:#fff;border:1px solid #dfe4ec;border-radius:9px;outline:none;width:100%;height:50px;margin-top:7px;padding:0 14px}.login-card input:focus{border-color:#315bca;box-shadow:0 0 0 3px #315bca1a}.login-error{color:#dc2626;margin:-4px 0 12px;font-size:13px}.primary-login{color:#fff;background:#315bca;border:none;border-radius:9px;width:100%;height:52px;font-weight:800;box-shadow:0 10px 22px #315bca38}.login-card small{text-align:center;color:#98a1af;margin-top:16px;display:block}.app-shell{background:#f3f5f8;min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:30;background:#fff;flex-direction:column;width:232px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid var(--line);align-items:center;gap:10px;height:78px;padding:0 18px;display:flex}.brand-mark.small{border-radius:9px;width:38px;min-width:38px;height:38px;margin:0}.brand strong,.brand span{display:block}.brand strong{color:#1d2638;font-size:13px}.brand span{color:#939dab;margin-top:2px;font-size:10px}.brand .mobile-close{display:none}.sidebar nav{flex-direction:column;gap:4px;padding:16px 10px;display:flex}.nav-item{color:#68738a;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:11px;height:44px;padding:0 12px;display:flex;position:relative}.nav-item span{font-size:13px;font-weight:650}.nav-item:hover{color:#315bca;background:#f6f7fa}.nav-item.active{color:#315bca;background:#eef3ff}.nav-item.active:before{content:"";background:#315bca;border-radius:0 4px 4px 0;width:3px;height:22px;position:absolute;left:-10px}.nav-item b{color:#fff;background:#ef6a5b;border-radius:50%;place-items:center;width:20px;height:20px;margin-left:auto;font-size:10px;display:grid}.profile{border-top:1px solid var(--line);color:#8a94a5;align-items:center;gap:9px;height:72px;margin-top:auto;padding:0 15px;display:flex}.avatar{color:#315bca;background:#e9edf5;border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:800;display:grid}.profile div:nth-child(2){flex:1}.profile strong,.profile span{display:block}.profile strong{color:#30394b;font-size:11px}.profile span{color:#99a2b1;margin-top:2px;font-size:9px}.main-content{width:calc(100% - 232px);min-width:0;margin-left:232px}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:78px;padding:0 28px;display:flex;position:sticky;top:0}.menu-button{color:#536078;background:0 0;border:none;display:none}.searchbox{color:#9aa3b2;background:#fafbfc;border:1px solid #e2e6ed;border-radius:8px;align-items:center;gap:8px;width:min(390px,35vw);height:40px;padding:0 11px;display:flex;position:relative}.searchbox input{color:#30394b;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:12px}.searchbox kbd{color:#9aa3b2;background:#fff;border:1px solid #dde2ea;border-radius:5px;padding:2px 5px;font-size:10px}.search-results{z-index:35;border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px;position:absolute;top:44px;left:0;right:0;box-shadow:0 10px 24px #202d4424}.search-results button{text-align:left;color:#536078;background:#fff;border:0;border-radius:5px;justify-content:space-between;align-items:center;width:100%;height:38px;padding:0 8px;display:flex}.search-results button:hover{background:#f4f6fa}.search-results strong{font-size:10px}.search-results span{text-overflow:ellipsis;white-space:nowrap;color:#8d97a7;max-width:190px;font-size:9px;overflow:hidden}.top-actions{align-items:center;gap:12px;display:flex}.month-select{color:#8b94a3;text-transform:uppercase;letter-spacing:.8px;flex-direction:column;font-size:9px;display:flex}.month-select select{color:#2f3a50;background:#fff;border:none;outline:none;margin-top:2px;font-size:12px;font-weight:750}.icon-button{border:1px solid var(--line);color:#59657a;background:#fff;border-radius:8px;place-items:center;width:38px;height:38px;display:grid;position:relative}.icon-button i{background:#ef6a5b;border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:8px;right:8px}.content{max-width:1380px;margin:auto;padding:26px 28px 40px}.welcome{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.welcome p,.panel-header p,.section-heading p{color:#9aa3b2;letter-spacing:1.5px;margin:0 0 5px;font-size:9px;font-weight:800}.welcome h1{color:#20293a;letter-spacing:-.7px;margin:0;font-size:24px}.outline-button{color:#4c5870;background:#fff;border:1px solid #dde3eb;border-radius:8px;height:38px;padding:0 14px;font-size:12px;font-weight:700}.kpis{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px;display:grid}.kpis article{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:12px;height:82px;padding:0 16px;display:flex}.kpi-icon{border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.kpi-icon svg{width:18px;height:18px}.kpi-icon.blue{color:#315bca;background:#edf2ff}.kpi-icon.green{color:#159a68;background:#eaf7f1}.kpi-icon.slate{color:#738096;background:#f0f2f5}.kpi-icon.amber{color:#d99021;background:#fff4e5}.kpis small,.kpis strong{display:block}.kpis small{color:#8c96a6;margin-bottom:3px;font-size:10px}.kpis strong{color:#263145;font-size:20px}.building-panel{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:16px;overflow:hidden}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:66px;padding:0 18px;display:flex}.panel-header h2,.section-heading h2{color:#263145;margin:0;font-size:15px}.scene-controls{gap:6px;display:flex}.scene-controls button{color:#66728a;background:#fff;border:1px solid #dde3ea;border-radius:7px;height:32px;padding:0 10px;font-size:10px;font-weight:700}.scene-controls button.active{color:#315bca;background:#edf3ff;border-color:#bfcdf5}.canvas-wrap{background:#eef2f6;height:550px;position:relative}.canvas-wrap canvas{cursor:grab}.floor-picker{z-index:4;background:#fffffff5;border:1px solid #dae0e8eb;border-radius:10px;flex-direction:column;gap:3px;width:190px;padding:6px;display:flex;position:absolute;top:12px;bottom:auto;left:12px;box-shadow:0 8px 20px #1e2d4614}.floor-picker>button:first-child{text-align:left;color:#536078;cursor:pointer;background:0 0;border:none;border-radius:7px;height:34px;padding:0 10px;font-size:11px;font-weight:800}.floor-picker>button:first-child.active{color:#315bca;background:#edf3ff;box-shadow:inset 3px 0 #315bca}.floor-row{border-radius:7px;align-items:center;display:flex;overflow:hidden}.floor-row.active{background:#edf3ff;box-shadow:inset 3px 0 #315bca}.floor-row.active .floor-select-btn span{color:#315bca}.floor-select-btn{text-align:left;color:#647189;cursor:pointer;background:0 0;border:none;flex:1;min-width:0;height:40px;padding:5px 8px}.floor-select-btn span,.floor-select-btn small{display:block}.floor-select-btn span{color:#536078;font-size:10px;font-weight:800}.floor-select-btn small{color:#98a1af;margin-top:2px;font-size:8px}.floor-eye-btn{color:#647189;cursor:pointer;background:0 0;border:none;border-radius:6px;place-items:center;width:28px;height:36px;margin-right:3px;display:grid}.floor-eye-btn:hover{color:#315bca;background:#315bca1a}.floor-eye-btn.hidden{color:#cbd5e1}.walkthrough-hint{color:#f8fafc;pointer-events:none;z-index:5;white-space:nowrap;background:#172033e0;border-radius:8px;padding:6px 12px;font-size:10px;font-weight:650;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.scene-tools{z-index:4;gap:5px;display:flex;position:absolute;top:12px;right:12px}.scene-tools button{color:#66728a;cursor:pointer;background:#fff;border:1px solid #dde3ea;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.scene-tools select{color:#66728a;cursor:pointer;background:#fff;border:1px solid #dde3ea;border-radius:7px;max-width:128px;height:34px;padding:0 6px;font-size:10px}.canvas-wrap:fullscreen{background:#edf2f7;width:100vw;height:100vh}.model-settings{border-top:1px solid var(--line);padding:12px 18px 14px}.model-settings summary{color:#465267;cursor:pointer;align-items:center;gap:10px;font-size:10px;font-weight:800;list-style-position:inside;display:flex}.model-settings summary span{color:#a16a1d;font-size:9px;font-weight:650}.model-settings-grid{grid-template-columns:repeat(3,minmax(130px,1fr));gap:10px;margin-top:12px;display:grid}.model-settings-grid label{color:#758096;gap:5px;font-size:9px;font-weight:750;display:grid}.model-settings-grid input,.model-settings-grid select{color:#354157;background:#fff;border:1px solid #dfe4ec;border-radius:6px;width:100%;height:34px;padding:0 8px;font-size:10px}.model-settings-grid label.floor-visibility-option{align-items:center;gap:7px;min-height:34px;display:flex}.model-settings-grid .floor-visibility-option input{accent-color:#315bca;width:14px;height:14px;margin:0}.model-settings-grid .floor-visibility-option span{color:#536078}.model-settings>p{color:#8a94a5;margin:10px 0 0;font-size:9px;line-height:1.5}.inline-error{color:#a33d35;background:#fff2f0;border:1px solid #f3c7c3;border-radius:7px;padding:9px 11px;font-size:11px}.inspector .inline-error{margin:12px 0}.status-dot.red{background:#ef4444}.inspector-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;display:grid}.inspector-actions button{color:#536078;background:#fff;border:1px solid #e1e5ec;border-radius:7px;min-height:36px;padding:6px;font-size:9px;font-weight:800}.inspector-actions .danger-action{color:#b54740;background:#fff8f7;border-color:#f1d0cc}.history-list{border-top:1px solid #edf0f4;margin-top:14px;padding-top:12px}.history-list h3{color:#465267;margin:0 0 7px;font-size:10px}.history-list>div{color:#4b566b;border-bottom:1px solid #f1f3f6;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;font-size:9px;display:flex}.history-list>div span,.history-list>div small{display:block}.history-list>div small,.history-list>p{color:#929bab;margin:3px 0 0;font-size:8px}.history-list>div strong{text-align:right;color:#465267;font-size:9px}.rent-preview,.rent-confirm-values{background:#fafbfc;border:1px solid #e7ebf1;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin-top:13px;padding:11px;display:flex}.rent-preview span,.rent-confirm-values span{color:#8d97a7;font-size:9px}.rent-preview strong,.rent-confirm-values strong{color:#344056;margin-top:4px;font-size:12px;display:block}.rent-preview>b,.rent-confirm-values>b{color:#9aa3b2}.mark-paid:disabled{box-shadow:none;cursor:not-allowed;background:#c6cbd3}.legend{color:#66728a;background:#fffffff2;border:1px solid #dde3ea;border-radius:7px;align-items:center;gap:10px;height:34px;padding:0 9px;font-size:8px;display:flex;position:absolute;bottom:12px;right:12px}.legend span{align-items:center;gap:4px;display:flex}.legend i{border-radius:50%;width:8px;height:8px}.legend .paid{background:#10b981}.legend .pending{background:#f59e0b}.legend .overdue{background:#ef4444}.legend .vacant{background:#94a3b8}.unit-tooltip{color:#fff;text-align:left;pointer-events:none;background:#172033;border-radius:7px;width:130px;padding:8px;font-family:Inter,Arial,sans-serif;box-shadow:0 8px 20px #0000002e}.unit-tooltip strong,.unit-tooltip span,.unit-tooltip b,.unit-tooltip small{display:block}.unit-tooltip strong{font-size:11px}.unit-tooltip span,.unit-tooltip small{color:#abb7c8;margin-top:2px;font-size:8px}.unit-tooltip b{color:#fff;margin-top:5px;font-size:9px}.bottom-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;display:grid}.collection-card,.floors-card{border:1px solid var(--line);background:#fff;border-radius:11px;height:210px;padding:16px 18px}.section-heading{justify-content:space-between;align-items:flex-start;display:flex}.section-heading button{color:#66728a;background:#f4f6fa;border:none;border-radius:6px;height:30px;padding:0 9px;font-size:9px}.collection-summary{gap:60px;margin-top:20px;display:flex}.collection-summary small,.collection-summary strong{display:block}.collection-summary small{color:#939dab;margin-bottom:4px;font-size:9px}.collection-summary strong{color:#253149;font-size:21px}.rent-register-teaser{color:#7a8496;margin:28px 0 18px;font-size:11px}.progress{background:#edf0f4;border-radius:7px;height:7px;margin-top:20px;overflow:hidden}.progress span{background:#10a86b;border-radius:7px;height:100%;display:block}.collection-foot{color:#99a2b1;justify-content:space-between;margin-top:8px;font-size:9px;display:flex}.floor-list{grid-template-columns:1fr 1fr;gap:6px;margin-top:10px;display:grid}.floor-list button{text-align:left;color:#7a8496;background:#fafbfc;border:1px solid #edf0f4;border-radius:8px;align-items:center;height:64px;padding:0 10px;display:flex}.floor-list button div{flex:1}.floor-list strong,.floor-list small{display:block}.floor-list strong{color:#404b60;font-size:10px}.floor-list small{color:#99a2b1;margin-top:4px;font-size:8px}.floor-list b{color:#315bca;margin-right:5px;font-size:10px}.floor-list svg{width:12px;transform:rotate(-90deg)}.inspector{border-left:1px solid var(--line);z-index:25;background:#fff;width:330px;padding:18px;position:fixed;top:78px;bottom:0;right:0;overflow-y:auto;box-shadow:-12px 0 35px #2c375014}.inspector-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding-bottom:14px;display:flex}.inspector-header p{color:#9aa3b2;letter-spacing:1.4px;margin:0 0 5px;font-size:9px;font-weight:800}.inspector-header h2{color:#263145;margin:0;font-size:19px}.inspector-header button{border:1px solid var(--line);color:#7b8799;background:#fff;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.status-row{background:#f7f8fa;border-radius:8px;align-items:center;gap:9px;margin:14px 0;padding:11px;display:flex}.status-dot{border-radius:50%;width:9px;height:9px}.status-dot.green{background:#10b981}.status-dot.amber{background:#f59e0b}.status-dot.slate{background:#94a3b8}.status-row small,.status-row strong{display:block}.status-row small{color:#5f6b80;font-size:10px;font-weight:800}.status-row strong{color:#99a2b1;margin-top:2px;font-size:8px}.unit-details{margin:0}.unit-details div{border-bottom:1px solid #f0f2f5;justify-content:space-between;padding:10px 0;display:flex}.unit-details dt{color:#929bab;font-size:10px}.unit-details dd{color:#374257;margin:0;font-size:11px;font-weight:750}.mark-paid,.save-button{color:#fff;background:#10a86b;border:none;border-radius:8px;width:100%;height:48px;margin-top:16px;font-size:12px;font-weight:850;box-shadow:0 8px 18px #10a86b2e}.paid-button{color:#159a68;background:#edf8f3;border:1px solid #bce5d2;border-radius:8px;width:100%;height:48px;margin-top:16px;font-size:12px;font-weight:800}.vacant-button,.cancel-button{color:#69758a;background:#fff;border:1px solid #e1e5ec;border-radius:8px;width:100%;height:38px;margin-top:8px;font-size:10px;font-weight:800}.tenant-form label{color:#7d8797;margin-top:12px;font-size:9px;font-weight:800;display:block}.tenant-form input{color:#2d3749;border:1px solid #dde3eb;border-radius:7px;outline:none;width:100%;height:42px;margin-top:6px;padding:0 10px}.tenant-form input:focus{border-color:#315bca}.modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121d306b;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirm-modal{text-align:center;background:#fff;border-radius:14px;width:min(390px,100%);max-height:calc(100vh - 32px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #101b2d40}.confirm-icon{color:#10a86b;background:#edf7f2;border-radius:50%;place-items:center;width:48px;height:48px;margin:auto;display:grid}.confirm-modal h2{color:#263145;margin:12px 0 5px;font-size:20px}.confirm-modal p{color:#8791a1;font-size:11px}.confirm-amount{text-align:left;background:#fafbfc;border:1px solid #e7ebf1;border-radius:9px;margin:16px 0;padding:12px}.confirm-amount small,.confirm-amount strong{display:block}.confirm-amount small{color:#99a2b1;font-size:9px}.confirm-amount strong{color:#404b60;margin-top:3px;font-size:11px}.confirm-amount span{float:right;color:#10a86b;margin-top:-28px;font-size:18px;font-weight:850}.modal-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.modal-actions button{border-radius:8px;height:44px;font-size:11px;font-weight:800}.modal-actions button:first-child{color:#69758a;background:#fff;border:1px solid #e2e6ed}.modal-actions button:last-child{color:#fff;background:#10a86b;border:none}@media (width<=1100px){.inspector{width:300px}.kpis{grid-template-columns:repeat(2,1fr)}.canvas-wrap{height:400px}.model-settings-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media (width<=820px){.sidebar{transition:all .2s;transform:translate(-100%);box-shadow:12px 0 30px #15203324}.sidebar.open{transform:translate(0)}.brand .mobile-close{background:#f3f5f8;border:none;border-radius:7px;place-items:center;width:32px;height:32px;margin-left:auto;display:grid}.main-content{width:100%;margin-left:0}.menu-button{place-items:center;display:grid}.topbar{height:66px;padding:0 14px}.searchbox{width:calc(100% - 170px)}.top-actions .month-select{display:none}.content{padding:18px 14px 30px}.welcome h1{font-size:20px}.welcome .outline-button{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.kpis article{height:72px;padding:0 10px}.kpi-icon{width:34px;height:34px}.kpis strong{font-size:16px}.canvas-wrap{height:420px}.floor-picker{width:132px}.model-settings{padding:10px}.model-settings summary{flex-direction:column;align-items:flex-start;gap:4px}.bottom-grid{grid-template-columns:1fr}.floors-card,.collection-card{height:auto}.floors-card{min-height:210px}.inspector{width:min(330px,92vw);top:66px}.login-page{grid-template-columns:1fr;padding:24px}.login-brand{display:none}.login-card{max-width:460px;margin:auto}}@media (width<=520px){.searchbox{display:none}.topbar{justify-content:flex-end}.menu-button{margin-right:auto}.kpis{gap:8px}.kpis article{height:68px}.kpi-icon{display:none}.kpis strong{font-size:14px}.panel-header{flex-wrap:wrap;gap:6px;height:auto;min-height:58px;padding:8px 10px}.panel-header h2{font-size:13px}.scene-controls button{height:28px;padding:0 7px}.canvas-wrap{height:400px}.floor-picker{width:146px;height:auto;bottom:auto}.floor-select-btn{height:38px;padding:4px 6px}.model-settings-grid{grid-template-columns:1fr 1fr;gap:8px}.scene-tools{gap:3px;top:8px;right:8px}.scene-tools button{width:29px;height:29px}.scene-tools select{max-width:76px;height:29px;padding:0 3px;font-size:9px}.legend{flex-wrap:wrap;justify-content:flex-end;max-width:170px;height:auto;padding:5px 7px}.bottom-grid{grid-template-columns:1fr}.collection-card{height:190px}.floor-list{grid-template-columns:1fr}.floor-list button{height:54px}.floors-card{max-height:none}.inspector{border-left:none;border-radius:16px 16px 0 0;width:100%;height:min(72vh,520px);top:auto;bottom:0;box-shadow:0 -12px 35px #2c375029}.subpage-grid,.form-row-2{grid-template-columns:1fr}}.app-shell.theme-emerald{--blue:#0f766e}.app-shell.theme-emerald .nav-item.active{color:#0f766e;background:#ecfdf5}.app-shell.theme-emerald .nav-item.active:before{background:#0f766e}.app-shell.theme-slate{--blue:#334155}.app-shell.theme-slate .nav-item.active{color:#1e293b;background:#f1f5f9}.app-shell.theme-slate .nav-item.active:before{background:#334155}.subpage{flex-direction:column;gap:14px;display:flex}.kpis-3{grid-template-columns:repeat(3,1fr);margin-bottom:4px}.subpage-grid{grid-template-columns:minmax(310px,.95fr) minmax(0,1.25fr);align-items:start;gap:16px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px}.card h2{color:#263145;margin:0;font-size:15px}.inline-success{color:#127850;background:#edf8f3;border:1px solid #bce5d2;border-radius:7px;margin:10px 0 0;padding:9px 11px;font-size:11px}.form-stack{flex-direction:column;gap:12px;margin-top:12px;display:flex}.form-stack label{color:#68748a;flex-direction:column;gap:5px;font-size:10px;font-weight:750;display:flex}.form-stack input,.form-stack select,.form-stack textarea{color:#263145;background:#fff;border:1px solid #dfe4ec;border-radius:7px;outline:none;padding:8px 10px;font-family:inherit;font-size:12px}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:var(--blue)}.form-row-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.advance-preview{color:#5a667c;background:#f8fafc;border:1px solid #e6ebf2;border-radius:8px;justify-content:space-between;padding:10px 12px;font-size:11px;display:flex}.advance-preview strong{color:#1d2638}.pill-tabs{gap:5px;display:flex}.pill-tabs.wrap{flex-wrap:wrap}.pill-tabs button{color:#647189;cursor:pointer;background:#fff;border:1px solid #dfe4ec;border-radius:7px;height:30px;padding:0 10px;font-size:10px;font-weight:750}.pill-tabs button.active{color:var(--blue);background:#edf3ff;border-color:#bfcdf5}.table-wrap{width:100%;margin-top:12px;overflow-x:auto}.data-table{border-collapse:collapse;color:#334155;width:100%;font-size:11px}.data-table th{text-align:left;color:#8c96a6;text-transform:uppercase;letter-spacing:.7px;border-bottom:1px solid var(--line);white-space:nowrap;padding:8px 10px;font-size:9px}.data-table td{vertical-align:middle;border-bottom:1px solid #f1f3f6;padding:10px}.data-table td small{color:#94a3b8;margin-top:2px;font-size:9px;display:block}.table-link{color:var(--blue);cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-size:11px;font-weight:750}.table-link:hover{text-decoration:underline}.table-actions{flex-wrap:wrap;gap:5px;display:flex}.table-actions button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dfe4ec;border-radius:6px;align-items:center;gap:4px;height:26px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.table-actions button:hover{border-color:var(--blue);color:var(--blue)}.action-btn-green{color:#fff;cursor:pointer;background:#10a86b;border:none;border-radius:6px;height:28px;padding:0 10px;font-size:10px;font-weight:800}.action-btn-green:disabled{cursor:not-allowed;background:#cbd5e1}.paid-chip{color:#159a68;background:#edf8f3;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:800;display:inline-block}.badge{border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.badge.green{color:#127d53;background:#eaf7f1}.badge.red{color:#c23b3b;background:#fef2f2}.badge.amber{color:#b87314;background:#fff7e6}.badge.blue{color:#315bca;background:#eef3ff}.badge.slate{color:#64748b;background:#f1f5f9}.empty-state{color:#8c96a6;margin:0;padding:22px 6px;font-size:12px}.notif-header-actions{flex-wrap:wrap;gap:8px;display:flex}.notif-header-actions .outline-button{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.notif-header-actions .outline-button.danger{color:#b54740;border-color:#f1d0cc}.notif-list{flex-direction:column;gap:8px;margin-top:14px;display:flex}.notif-item{background:#fff;border:1px solid #e7ebf2;border-radius:10px;align-items:flex-start;gap:12px;padding:12px;display:flex}.notif-item.unread{background:#f8faff;border-color:#d4e0fa}.notif-icon{border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.notif-icon.overdue{color:#dc2626;background:#fef2f2}.notif-icon.upcoming{color:#d97706;background:#fff7e6}.notif-icon.payment{color:#059669;background:#eaf7f1}.notif-icon.advance{color:#315bca;background:#eef3ff}.notif-icon.tenant{color:#475569;background:#f1f5f9}.notif-body{flex:1;min-width:0}.notif-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.notif-top strong{color:#1e293b;font-size:12px}.notif-top small{color:#94a3b8;white-space:nowrap;font-size:10px}.notif-body p{color:#475569;margin:4px 0 7px;font-size:11px;line-height:1.45}.notif-meta{align-items:center;gap:10px;display:flex}.status-pill{border-radius:999px;padding:2px 7px;font-size:9px;font-weight:800}.status-pill.blue{color:#1d4ed8;background:#dbeafe}.status-pill.slate{color:#64748b;background:#f1f5f9}.notif-actions{flex-shrink:0;gap:6px;display:flex}.notif-actions button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dfe4ec;border-radius:6px;align-items:center;gap:4px;height:28px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.settings-section-title{letter-spacing:.7px;text-transform:uppercase;color:#64748b;align-items:center;gap:6px;margin-top:6px;font-size:10px;font-weight:800;display:flex}.toggle-list{flex-direction:column;gap:8px;display:flex}.form-stack label.check-row{color:#334155;cursor:pointer;flex-direction:row;align-items:center;gap:9px;font-size:11px}.form-stack label.check-row input{width:15px;height:15px;accent-color:var(--blue);margin:0}.save-button{cursor:pointer;justify-content:center;align-items:center;gap:7px;display:inline-flex}.outline-button{cursor:pointer;align-items:center;gap:6px;display:inline-flex}@media (width<=960px){.subpage-grid{grid-template-columns:1fr}.kpis-3{grid-template-columns:1fr 1fr}}.brand-deity-logo{object-fit:cover;object-position:center 10%;background:#141b29;border:1.5px solid #d4af56a6;border-radius:10px;flex-shrink:0;width:42px;height:56px;box-shadow:0 4px 12px #00000047}.theme-toggle{background:#94a3b829;border:1px solid #a6864e57;border-radius:999px;align-items:center;gap:2px;padding:3px;display:inline-flex}.theme-toggle button{color:#5b6475;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:5px;height:30px;padding:0 11px;font-size:11px;font-weight:700;transition:background-color .18s,color .18s;display:inline-flex}.theme-toggle.compact button{height:26px;padding:0 9px;font-size:10px}.theme-toggle button.active{color:#1e2430;background:#fff;box-shadow:0 2px 8px #0f172a1f}.theme-night .theme-toggle{background:#0f172ab8;border-color:#d4af5661}.theme-night .theme-toggle button{color:#94a3b8}.theme-night .theme-toggle button.active{color:#fffdf7;background:linear-gradient(135deg,#b89146,#96722d);box-shadow:0 2px 10px #d4af5640}.login-theme-bar{z-index:10;position:absolute;top:20px;right:24px}.login-page{flex-direction:column;justify-content:center;align-items:center;gap:24px;min-height:100vh;padding:68px 24px 36px;transition:background .25s;display:flex;position:relative;overflow:hidden}.login-page.theme-day{background:linear-gradient(135deg,#fbf7ee 0%,#f3ebda 52%,#e8dcc4 100%)}.login-page.theme-night{background:linear-gradient(135deg,#0b111e 0%,#141d2e 52%,#1d1712 100%)}.login-deity-backdrop{pointer-events:none;z-index:0;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.login-page.theme-day .login-deity-backdrop{background:radial-gradient(42% 62% at 28%,#d4af563d,#d4af560f 48%,#0000 74%)}.login-page.theme-night .login-deity-backdrop{background:radial-gradient(42% 62% at 28%,#d4af5633,#d4af560d 48%,#0000 74%)}.login-deity-backdrop img{object-fit:contain;opacity:.26;-webkit-user-select:none;user-select:none;width:auto;max-width:86vw;height:min(82vh,720px);-webkit-mask-image:radial-gradient(76% 86%,#000 68%,#0000 100%);mask-image:radial-gradient(76% 86%,#000 68%,#0000 100%)}.login-page.theme-night .login-deity-backdrop img{opacity:.34}.login-brand{z-index:2;box-shadow:none;text-align:left;background:0 0;border:none;flex-direction:column;align-items:flex-start;max-width:560px;padding:12px 18px;display:flex;position:relative}.login-brand h1{letter-spacing:.06em;color:#1f1b18;text-shadow:0 2px 16px #fffaf0e6;margin:0;font-size:clamp(2.4rem,4.8vw,4.1rem);font-weight:850;line-height:1.04}.login-page.theme-night .login-brand h1{color:#f8e7b8;text-shadow:0 4px 24px #000000d9}.login-card{z-index:3;-webkit-backdrop-filter:blur(18px);border-radius:20px;width:100%;max-width:396px;padding:32px 30px;position:relative}.login-page.theme-day .login-card{background:#fffcf6ad;border:1px solid #a6864e57;box-shadow:0 20px 52px #5c462624}.login-page.theme-night .login-card{background:#0f17269e;border:1px solid #d4af5657;box-shadow:0 24px 64px #0000008c}.login-page.theme-night .login-heading span{color:#e2be67}.login-page.theme-night .login-heading h2{color:#f8fafc}.login-page.theme-night .login-card label{color:#cbd5e1}.login-page.theme-day .login-card input{color:#1f1b18;background:#ffffffd1;border-color:#a6864e5c}.login-page.theme-night .login-card input{color:#f8fafc;background:#0f172aad;border-color:#94a3b852}.login-page.theme-night .login-card input::placeholder{color:#94a3b8}.login-page.theme-day .primary-login{background:linear-gradient(135deg,#1f3356,#2d4c7c)}.login-page.theme-night .primary-login{color:#fffdf7;background:linear-gradient(135deg,#b89146,#8f6b29);box-shadow:0 10px 24px #d4af5640}.login-page.theme-night .login-card small{color:#94a3b8}@media (width<=859px){.login-page{justify-content:flex-end;gap:14px;padding:62px 16px 22px}.login-deity-backdrop{justify-content:center;align-items:flex-start;padding-top:40px}.login-deity-backdrop img{opacity:.44;max-width:94vw;height:min(62vh,470px);-webkit-mask-image:radial-gradient(84% 88% at 50% 42%,#000 58%,#0000 100%);mask-image:radial-gradient(84% 88% at 50% 42%,#000 58%,#0000 100%)}.login-page.theme-night .login-deity-backdrop img{opacity:.54}.login-brand{text-align:center;align-items:center;margin-bottom:auto;padding:4px 8px;display:flex}.login-brand h1{font-size:clamp(1.9rem,7.2vw,2.75rem)}.login-card{-webkit-backdrop-filter:blur(5px);border-radius:18px;max-width:360px;padding:20px 18px}.login-page.theme-day .login-card{background:#fffcf63d;border:1px solid #8a6c3873;box-shadow:0 14px 36px #20180e24}.login-page.theme-night .login-card{background:#0c122047;border:1px solid #d4af5673;box-shadow:0 16px 40px #0000006b}.login-heading h2{margin:4px 0 14px;font-size:22px}.login-card label{text-shadow:0 1px 6px #ffffff73;margin-bottom:12px}.login-page.theme-night .login-card label{text-shadow:0 1px 8px #000000bf}.login-page.theme-day .login-card input{background:#ffffffad;height:44px}.login-page.theme-night .login-card input{background:#0f172a8f;height:44px}.primary-login{height:46px}}@media (width>=860px){.login-page{grid-template-columns:minmax(340px,1.05fr) minmax(350px,440px);justify-content:space-between;align-items:center;gap:clamp(28px,5vw,80px);padding:40px clamp(36px,6vw,96px);display:grid}.login-deity-backdrop{justify-content:flex-start;padding-left:clamp(28px,5vw,90px)}.login-deity-backdrop img{opacity:.28;height:min(86vh,760px)}.login-page.theme-night .login-deity-backdrop img{opacity:.36}.login-brand{grid-column:1;place-self:center start;padding-left:clamp(8px,2vw,24px)}.login-card{grid-column:2;justify-self:center;max-width:376px}.login-page.theme-day .login-card{background:#fffcf694}.login-page.theme-night .login-card{background:#0f17268a}}.app-shell.theme-day{color:#1f242d;--line:#e6ded0;background:#f6f2e9}.app-shell.theme-day .sidebar,.app-shell.theme-day .topbar,.app-shell.theme-day .inspector,.app-shell.theme-day .card,.app-shell.theme-day .building-panel,.app-shell.theme-day .kpis article,.app-shell.theme-day .collection-card,.app-shell.theme-day .floors-card{border-color:var(--line);background:#fffdf8}.app-shell.theme-day .brand strong,.app-shell.theme-day .welcome h1,.app-shell.theme-day .panel-header h2,.app-shell.theme-day .section-heading h2,.app-shell.theme-day .card h2,.app-shell.theme-day .kpis strong,.app-shell.theme-day .inspector-header h2,.app-shell.theme-day .collection-summary strong{color:#1f242d}.app-shell.theme-day .searchbox,.app-shell.theme-day .status-row,.app-shell.theme-day .floor-list button,.app-shell.theme-day .advance-preview,.app-shell.theme-day .payment-filters{background:#f9f5ec;border-color:#e4dbc9}.app-shell.theme-day .canvas-wrap{background:#eaf0f6}.app-shell.theme-night{color:#e5e7eb;--line:#232d3f;--navy:#f1f5f9;--muted:#94a3b8;background:#0b1019}.app-shell.theme-night .sidebar,.app-shell.theme-night .topbar,.app-shell.theme-night .inspector,.app-shell.theme-night .confirm-modal{color:#e5e7eb;background:#121926;border-color:#232d3f}.app-shell.theme-night .card,.app-shell.theme-night .building-panel,.app-shell.theme-night .kpis article,.app-shell.theme-night .collection-card,.app-shell.theme-night .floors-card,.app-shell.theme-night .notif-item{color:#e5e7eb;background:#161f2e;border-color:#263145}.app-shell.theme-night .notif-item.unread{background:#1a2538;border-color:#d4af5661}.app-shell.theme-night .brand strong,.app-shell.theme-night .profile strong,.app-shell.theme-night .welcome h1,.app-shell.theme-night .panel-header h2,.app-shell.theme-night .section-heading h2,.app-shell.theme-night .card h2,.app-shell.theme-night .kpis strong,.app-shell.theme-night .collection-summary strong,.app-shell.theme-night .floor-list strong,.app-shell.theme-night .inspector-header h2,.app-shell.theme-night .unit-details dd,.app-shell.theme-night .notif-top strong,.app-shell.theme-night .confirm-modal h2,.app-shell.theme-night .confirm-amount strong,.app-shell.theme-night .advance-preview strong,.app-shell.theme-night .rent-preview strong,.app-shell.theme-night .rent-confirm-values strong,.app-shell.theme-night .history-list>div strong,.app-shell.theme-night .history-list h3{color:#f8fafc}.app-shell.theme-night .welcome p,.app-shell.theme-night .panel-header p,.app-shell.theme-night .section-heading p,.app-shell.theme-night .kpis small,.app-shell.theme-night .collection-summary small,.app-shell.theme-night .collection-foot,.app-shell.theme-night .brand span,.app-shell.theme-night .profile span,.app-shell.theme-night .month-select,.app-shell.theme-night .floor-list small,.app-shell.theme-night .unit-details dt,.app-shell.theme-night .notif-body p,.app-shell.theme-night .notif-top small,.app-shell.theme-night .empty-state,.app-shell.theme-night .settings-section-title,.app-shell.theme-night .form-stack label,.app-shell.theme-night .filter-field>span,.app-shell.theme-night .history-list>div small,.app-shell.theme-night .history-list>p,.app-shell.theme-night .model-settings-grid label,.app-shell.theme-night .nav-item{color:#94a3b8}.app-shell.theme-night .nav-item:hover{color:#f3d999;background:#1d283b}.app-shell.theme-night .nav-item.active{color:#f8e7b8;background:#d4af5624}.app-shell.theme-night .nav-item.active:before{background:#d4af56}.app-shell.theme-night .avatar{color:#f8e7b8;background:#d4af562e}.app-shell.theme-night .searchbox,.app-shell.theme-night .status-row,.app-shell.theme-night .floor-list button,.app-shell.theme-night .advance-preview,.app-shell.theme-night .payment-filters,.app-shell.theme-night .rent-preview,.app-shell.theme-night .rent-confirm-values,.app-shell.theme-night .confirm-amount,.app-shell.theme-night .search-results,.app-shell.theme-night .searchable-menu,.app-shell.theme-night .legend{color:#e2e8f0;background:#111824;border-color:#273244}.app-shell.theme-night .searchbox input,.app-shell.theme-night .month-select select,.app-shell.theme-night .form-stack input,.app-shell.theme-night .form-stack select,.app-shell.theme-night .form-stack textarea,.app-shell.theme-night .model-settings-grid input,.app-shell.theme-night .model-settings-grid select,.app-shell.theme-night .tenant-form input,.app-shell.theme-night .filter-field select,.app-shell.theme-night .searchable-trigger,.app-shell.theme-night .searchable-trigger input{color:#f1f5f9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0e1521;border-color:#2b384d}.app-shell.theme-night .searchbox kbd,.app-shell.theme-night .icon-button,.app-shell.theme-night .outline-button,.app-shell.theme-night .scene-controls button,.app-shell.theme-night .scene-tools button,.app-shell.theme-night .scene-tools select,.app-shell.theme-night .pill-tabs button,.app-shell.theme-night .table-actions button,.app-shell.theme-night .notif-actions button,.app-shell.theme-night .inspector-actions button,.app-shell.theme-night .vacant-button,.app-shell.theme-night .cancel-button,.app-shell.theme-night .inspector-header button,.app-shell.theme-night .section-heading button{color:#cbd5e1;background:#1a2333;border-color:#2d394e}.app-shell.theme-night .scene-controls button.active,.app-shell.theme-night .pill-tabs button.active{color:#f8e7b8;background:#d4af562e;border-color:#d4af5680}.app-shell.theme-night .search-results button,.app-shell.theme-night .searchable-menu button{color:#e2e8f0;background:0 0}.app-shell.theme-night .search-results button:hover,.app-shell.theme-night .searchable-menu button:hover{background:#1d283b}.app-shell.theme-night .searchable-menu button.active{color:#f8e7b8;background:#d4af5633}.app-shell.theme-night .canvas-wrap{background:#0b1322}.app-shell.theme-night .canvas-wrap:fullscreen{background:#0b1322}.app-shell.theme-night .floor-picker{background:#101724eb;border-color:#d4af564d}.app-shell.theme-night .floor-picker>button:first-child,.app-shell.theme-night .floor-select-btn span{color:#e2e8f0}.app-shell.theme-night .floor-picker>button:first-child.active,.app-shell.theme-night .floor-row.active{background:#d4af5629;box-shadow:inset 3px 0 #d4af56}.app-shell.theme-night .floor-picker>button:first-child.active,.app-shell.theme-night .floor-row.active .floor-select-btn span,.app-shell.theme-night .floor-list b,.app-shell.theme-night .table-link{color:#f3d999}.app-shell.theme-night .data-table{color:#cbd5e1}.app-shell.theme-night .data-table th{color:#94a3b8;border-bottom-color:#263145}.app-shell.theme-night .data-table td,.app-shell.theme-night .unit-details div,.app-shell.theme-night .history-list,.app-shell.theme-night .history-list>div{border-color:#212c3e}.app-shell.theme-night .history-summary-badge{color:#6ee7b7;background:#10a86b29;border-color:#10b98166}.app-shell.theme-night .history-summary-badge small{color:#a7f3d0}.app-shell.theme-night .badge.slate,.app-shell.theme-night .status-pill.slate{color:#cbd5e1;background:#232d3f}.app-shell.theme-night .form-stack label.check-row{color:#e2e8f0}.app-shell.theme-night .kpi-icon.slate{color:#cbd5e1;background:#232d3f}.app-shell.theme-night .kpi-icon.blue{color:#f3d999;background:#d4af5629}.app-shell.theme-night .save-button{color:#fffdf7;background:linear-gradient(135deg,#b89146,#8d6826);box-shadow:0 8px 20px #d4af5633}.app-shell.theme-night .progress{background:#232d3f}.app-shell.theme-night .model-settings summary{color:#e2e8f0}.app-shell.theme-night .model-settings summary span{color:#e2be67}.history-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.history-summary-badge{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;flex-direction:column;align-items:flex-end;gap:2px;padding:8px 14px;display:flex}.history-summary-badge small{color:#047857;font-size:.76rem;font-weight:500}.history-summary-badge strong{font-size:.98rem}.payment-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));align-items:end;gap:12px;margin:14px 0 18px;padding:14px;display:grid}.filter-field{flex-direction:column;gap:6px;display:flex}.filter-field>span{color:#475569;font-size:.78rem;font-weight:600}.filter-field select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:38px;padding:0 10px;font-size:.88rem}.searchable-select{position:relative}.searchable-trigger{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;height:38px;padding:0 10px;display:flex}.searchable-trigger:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.searchable-trigger input{color:#0f172a;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:.88rem}.clear-mini-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:2px;display:inline-flex}.clear-mini-btn:hover{color:#0f172a;background:#f1f5f9}.searchable-menu{z-index:30;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:2px;max-height:220px;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 32px #0f172a29}.searchable-menu button{text-align:left;color:#1e293b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px 10px;font-size:.86rem}.searchable-menu button:hover{background:#f1f5f9}.searchable-menu button.active{color:#1d4ed8;background:#eff6ff;font-weight:600}.searchable-empty{color:#64748b;text-align:center;padding:10px;font-size:.84rem}.filter-actions{justify-content:flex-start;align-items:flex-end;display:flex}.filter-actions .outline-button{align-items:center;gap:6px;height:38px;display:inline-flex}.filter-actions .outline-button:disabled{opacity:.48;cursor:not-allowed}html,body{max-width:100%;overflow-x:clip}.app-shell,.main-content,.content,.subpage,.card,.building-panel,.collection-card,.floors-card,.bottom-grid,.bottom-grid>*,.subpage-grid,.subpage-grid>*,.kpis>*,.welcome>*,.panel-header>*,.section-heading>*,.notif-body,.filter-field{min-width:0}.canvas-stage{width:100%;height:100%;min-height:300px;position:relative}.canvas-wrap:fullscreen .canvas-stage{height:100vh}.sidebar-backdrop{z-index:29;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a0f1c7a;position:fixed;inset:0}.panel-header{flex-wrap:wrap;gap:10px;height:auto;min-height:64px;padding:12px 18px}.scene-controls{flex-wrap:wrap;gap:6px}.welcome,.section-heading{flex-wrap:wrap;gap:10px}.bottom-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.subpage-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr)}.collection-summary{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:14px;margin-top:18px;display:grid}.table-wrap{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}@media (width<=960px){.subpage-grid,.bottom-grid{grid-template-columns:minmax(0,1fr)}.collection-card,.floors-card{height:auto;min-height:0}}@media (width<=820px){.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:62px;padding:10px 14px}.searchbox{flex:100%;order:3;width:100%;max-width:100%;display:flex!important}.searchbox kbd{display:none}.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}.top-actions .month-select{display:flex!important}.welcome .outline-button{display:inline-flex!important}}@media (width<=768px){.canvas-wrap{flex-direction:column;height:auto;display:flex}.canvas-stage{width:100%;height:clamp(300px,52vh,430px)}.floor-picker{width:100%;box-shadow:none;border-bottom:none;border-left:none;border-right:none;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 12px;display:grid;position:static}.floor-picker>button:first-child{text-align:center;grid-column:1/-1;height:34px}.legend{border-bottom:none;border-left:none;border-right:none;border-radius:0;flex-wrap:wrap;justify-content:center;gap:10px 16px;width:100%;max-width:100%;height:auto;padding:8px 12px;font-size:11px;position:static}.scene-tools{flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:calc(100% - 16px);top:8px;right:8px}.walkthrough-hint{white-space:normal;text-align:center;max-width:calc(100% - 16px);bottom:8px}}@media (width<=600px){.content{padding:14px 12px 28px}.card{padding:14px 12px}.kpis,.kpis-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpis article{height:auto;min-height:68px;padding:10px 12px}.kpis strong{word-break:break-word;font-size:16px}.form-row-2{grid-template-columns:minmax(0,1fr)}.payment-filters{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}.history-summary-badge{text-align:left;align-items:flex-start;width:100%}.notif-item{flex-wrap:wrap;gap:10px}.notif-top{flex-wrap:wrap;gap:4px}.notif-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.inspector{border-left:none;border-top:1px solid var(--line);border-radius:16px 16px 0 0;width:100%;height:min(78vh,540px);inset:auto 0 0}.confirm-modal{width:calc(100vw - 24px);max-width:390px;padding:20px 16px}.confirm-amount span{float:none;margin-top:6px;display:block}.data-table th,.data-table td{padding:8px 7px;font-size:11px}.advance-preview,.rent-preview,.rent-confirm-values{flex-wrap:wrap;gap:8px}}@media (width<=374px){.kpis,.kpis-3,.floor-picker,.floor-list,.model-settings-grid,.inspector-actions{grid-template-columns:minmax(0,1fr)}.theme-toggle button{height:28px;padding:0 8px;font-size:10px}.login-page{gap:16px;padding:60px 12px 24px}.login-card{padding:22px 16px}.login-brand{max-width:100%;padding:4px 6px}.login-brand h1{font-size:2rem}}.app-shell.theme-day .theme-toggle{background:#e6ebf3;border:1px solid #cbd5e1}.app-shell.theme-day .theme-toggle button,.app-shell.theme-day .scene-controls .theme-toggle button{color:#334155;box-shadow:none;background:0 0;border:none}.app-shell.theme-day .theme-toggle button.active,.app-shell.theme-day .scene-controls .theme-toggle button.active{color:#0f172a;background:#fff;border:none;box-shadow:0 1px 4px #0f172a29}.login-page.theme-day .theme-toggle{background:#ffffffe6;border:1px solid #0f172a29}.login-page.theme-day .theme-toggle button{color:#334155;background:0 0}.login-page.theme-day .theme-toggle button.active{color:#f8fafc;background:#0f172a}.profile-menu-wrap{position:relative}.sidebar-profile-wrap{margin-top:auto}.profile.profile-trigger{border:none;border-top:1px solid var(--line);cursor:pointer;text-align:left;background:0 0;width:100%;transition:background-color .16s}.profile.profile-trigger:hover{background:#94a3b81a}.profile-trigger svg.rotated,.header-profile-btn svg.rotated{transform:rotate(180deg)}.profile-trigger svg,.header-profile-btn svg{transition:transform .16s}.header-profile-btn{color:#334155;cursor:pointer;text-align:left;background:#fff;border:1px solid #d6dce6;border-radius:10px;align-items:center;gap:8px;max-width:100%;height:38px;padding:0 9px 0 6px;display:inline-flex}.header-profile-btn:hover{border-color:var(--blue)}.avatar.small{flex-shrink:0;width:26px;height:26px;font-size:11px}.header-profile-text{flex-direction:column;min-width:0;line-height:1.1;display:flex}.header-profile-text strong{color:#1e293b;white-space:nowrap;font-size:11px}.header-profile-text small{color:#64748b;white-space:nowrap;font-size:9px}.profile-dropdown{z-index:45;background:#fff;border:1px solid #d8dee8;border-radius:11px;flex-direction:column;gap:6px;min-width:210px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 14px 32px #0f172a2e}.profile-dropdown.upward{min-width:0;inset:auto 10px calc(100% + 6px)}.profile-dropdown-meta{border-bottom:1px solid #edf0f5;padding:6px 8px}.profile-dropdown-meta strong{color:#1e293b;font-size:11px;display:block}.profile-dropdown-meta span{color:#64748b;margin-top:2px;font-size:10px;display:block}.profile-signout-btn{color:#b91c1c;cursor:pointer;background:#fff5f5;border:1px solid #f2ccc8;border-radius:8px;align-items:center;gap:7px;height:34px;padding:0 10px;font-size:11px;font-weight:750;display:flex}.profile-signout-btn:hover{background:#fee2e2}.confirm-icon.danger{color:#dc2626;background:#fef2f2}.modal-actions button.danger-confirm{color:#fff;background:#dc2626}.welcome>.table-actions{align-items:center}.add-rent-record{justify-content:center;align-items:center;gap:6px;width:auto;min-width:154px;height:38px;margin:0;padding:0 14px;display:inline-flex}.welcome>.table-actions .add-rent-record{height:38px}.rent-record-editor{gap:14px;display:grid}.rent-record-fields{grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;display:grid}.rent-record-fields label,.correction-reason-field,.payment-date-field{color:#68748a;flex-direction:column;gap:5px;font-size:10px;font-weight:750;display:flex}.rent-record-fields input,.rent-record-fields select,.correction-reason-field input,.payment-date-field input{color:#263145;min-width:0;height:38px;font:inherit;background:#fff;border:1px solid #dfe4ec;border-radius:7px;padding:0 10px}.rent-record-form-actions{justify-content:flex-end;gap:8px;display:flex}.rent-record-form-actions .save-button,.rent-record-form-actions .cancel-button{width:auto;min-width:130px;height:38px;margin:0;padding:0 12px}.rent-record-form-actions .save-button{box-shadow:none}.payment-correction-note{max-width:200px;color:#a33d35!important}.confirm-modal .form-stack{text-align:left}.confirm-modal .form-stack label{color:#68748a;font-size:10px;font-weight:750}.confirm-modal .form-stack input,.confirm-modal .form-stack select{color:#263145;background:#fff;border:1px solid #dfe4ec;border-radius:7px;min-height:38px;padding:0 10px}.correction-reason-field{text-align:left;margin:16px 0}.app-shell.theme-night .rent-record-fields label,.app-shell.theme-night .correction-reason-field,.app-shell.theme-night .payment-date-field,.app-shell.theme-night .confirm-modal .form-stack label{color:#a7b3c5}.app-shell.theme-night .rent-record-fields input,.app-shell.theme-night .rent-record-fields select,.app-shell.theme-night .correction-reason-field input,.app-shell.theme-night .payment-date-field input,.app-shell.theme-night .confirm-modal .form-stack input,.app-shell.theme-night .confirm-modal .form-stack select{color:#e2e8f0;background:#172033;border-color:#35435b}@media (width<=900px){.rent-record-fields{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media (width<=600px){.welcome>.table-actions{flex-direction:column;align-items:stretch;width:100%}.rent-record-fields{grid-template-columns:1fr}}.app-shell.theme-night .profile.profile-trigger{border-top-color:#263246}.app-shell.theme-night .profile.profile-trigger strong{color:#f8fafc}.app-shell.theme-night .header-profile-btn{color:#e2e8f0;background:#172033;border-color:#2f3b52}.app-shell.theme-night .header-profile-text strong{color:#f8fafc}.app-shell.theme-night .header-profile-text small{color:#94a3b8}.app-shell.theme-night .profile-dropdown{background:#172033;border-color:#2f3b52;box-shadow:0 18px 40px #0000007a}.app-shell.theme-night .profile-dropdown-meta{border-bottom-color:#28344a}.app-shell.theme-night .profile-dropdown-meta strong{color:#f8fafc}.app-shell.theme-night .profile-dropdown-meta span{color:#94a3b8}.app-shell.theme-night .profile-signout-btn{color:#fecaca;background:#dc262629;border-color:#f8717159}@media (width<=560px){.header-profile-text{display:none}.header-profile-btn{gap:5px;padding:0 7px 0 5px}}
