:root{--bg:#07111b;--panel:#0d1b29;--panel2:#102333;--line:#23394c;--text:#eaf6f5;--muted:#89a3b6;--brand:#14b8a6;--brand2:#0f766e;--danger:#dc3545;--warning:#f59e0b;--ok:#10b981;--shadow:0 18px 55px rgba(0,0,0,.28)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Noto Sans Bengali","Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 20% 0,#123047,#07111b 45%);color:var(--text)}button,input,select,textarea{font:inherit}.hidden{display:none!important}button{cursor:pointer}.primary,.ghost,.danger,.success,.langbtn{border:1px solid transparent;border-radius:9px;padding:8px 12px;font-size:11px;font-weight:700}.primary{background:linear-gradient(135deg,#14b8a6,#0f766e);color:white}.ghost{background:#112434;border-color:#294257;color:#c8d8e4}.danger{background:#3a1820;border-color:#6d2734;color:#fecdd3}.success{background:#0c3b34;border-color:#176a5d;color:#bbf7d0}.langbtn{background:#0f2130;color:#8ca6b7;border-color:#294257}.langbtn.active{background:#14b8a6;color:#05201d;border-color:#5eead4}.wide{width:100%;display:block;margin-top:8px;text-align:center}.mini{padding:5px 8px;font-size:9px}.download{text-decoration:none}.loginpage{min-height:100vh;display:grid;place-items:center;padding:28px}.loginbox{width:min(1060px,96vw);min-height:640px;display:grid;grid-template-columns:1.35fr .85fr;background:#0a1723;border:1px solid #244054;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.loginart{position:relative;background:url('assets/rental-bg.svg') center/cover no-repeat;min-height:640px;padding:38px;display:flex;flex-direction:column;justify-content:space-between}.heroShade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,21,.25),rgba(3,13,21,.72))}.heroContent,.privacy{position:relative;z-index:1}.brand{display:flex;align-items:center;gap:10px}.brand img{width:42px;height:42px;border-radius:11px;box-shadow:0 8px 20px rgba(20,184,166,.2)}.brand h1{margin:0;font-size:17px}.brand small{font-size:8px;letter-spacing:1.2px;color:#8db3bc}.loginart h2{font-size:34px;line-height:1.35;margin:72px 0 10px;max-width:540px;text-shadow:0 2px 10px #000}.loginart p{max-width:560px;line-height:1.75;color:#c4d7df;font-size:14px}.heroBadges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.heroBadges span{padding:8px 11px;border-radius:999px;background:rgba(6,24,34,.72);border:1px solid rgba(94,234,212,.3);font-size:10px}.privacy{font-size:10px;color:#ccfbf1;background:rgba(5,35,34,.75);border:1px solid rgba(45,212,191,.28);border-radius:10px;padding:10px}.loginform{padding:46px 38px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#0d1d2c,#08131e)}.loginTopRow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.installerTopBtn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 12px;border-radius:9px;text-decoration:none;font-size:10px;font-weight:800;white-space:nowrap;color:#ecfdf5;background:linear-gradient(135deg,#14b8a6,#0f766e);border:1px solid #2dd4bf;box-shadow:0 8px 20px rgba(20,184,166,.16)}.installerTopBtn:hover{filter:brightness(1.08)}.loginLogo{width:68px;height:68px;border-radius:16px;margin:16px 0}.login-lang{justify-content:flex-end}.loginform h3{font-size:23px;margin:6px 0}.loginform>p{font-size:11px;color:var(--muted);margin:0 0 18px}.togglelinks{display:flex;gap:8px;margin-bottom:12px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:10px;color:#adc0ce;font-weight:700}.field input,.field select,.field textarea,.search{background:#091725;color:var(--text);border:1px solid #294257;border-radius:9px;padding:10px 11px;outline:none;font-size:11px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:#2dd4bf;box-shadow:0 0 0 3px rgba(45,212,191,.08)}.notice{font-size:10px;color:#8fa7bd;background:#0a1d2a;border:1px solid #1d3b50;border-radius:9px;padding:9px;margin-top:10px}.app-shell{width:min(1500px,calc(100vw - 24px));height:calc(100vh - 24px);margin:12px auto;border:1px solid #20374a;border-radius:16px;background:#08131f;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-rows:30px 62px 1fr 26px}.windowbar{display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#06101a;border-bottom:1px solid #1d3041;font-size:9px;color:#829aab}.window-left{display:flex;align-items:center;gap:10px}.dots{display:flex;gap:5px}.dots span{width:8px;height:8px;border-radius:50%;background:#ef4444}.dots span:nth-child(2){background:#f59e0b}.dots span:nth-child(3){background:#22c55e}.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#0b1926;border-bottom:1px solid #20384b}.top-actions{display:flex;align-items:center;gap:6px}.clock{font-size:10px;color:#8ba4b5;margin-right:6px}.workspace{min-height:0;display:grid;grid-template-columns:218px 1fr}.sidebar{background:#0a1621;border-right:1px solid #20384b;padding:10px;overflow:auto}.nav-title{font-size:9px;color:#607d90;padding:5px 8px 9px;text-transform:uppercase;letter-spacing:1px}.navbtn{width:100%;border:0;background:transparent;color:#9db1bf;display:flex;align-items:center;gap:10px;padding:9px;border-radius:9px;margin-bottom:3px;text-align:left;font-size:10px}.navbtn span{width:24px;height:24px;border-radius:7px;background:#102536;display:grid;place-items:center}.navbtn b{flex:1}.navbtn em{font-style:normal;font-size:8px;background:#3a2510;color:#fbbf24;border-radius:999px;padding:2px 6px}.navbtn:hover{background:#10202f;color:white}.navbtn.active{background:linear-gradient(90deg,rgba(20,184,166,.18),rgba(20,184,166,.05));color:#ccfbf1;border:1px solid rgba(45,212,191,.2)}.navbtn.active span{background:#14b8a6;color:#06201e}.sidefoot{margin-top:18px;padding:10px;border-radius:10px;background:#091f25;border:1px solid #19464a}.sidefoot b{font-size:9px;color:#5eead4}.sidefoot small{display:block;font-size:8px;color:#7897a4;line-height:1.55;margin-top:5px}.main{min-width:0;overflow:auto;padding:14px;background:linear-gradient(180deg,#0a1723,#07111b)}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.pagehead h2{font-size:18px;margin:0}.pagehead p{font-size:9px;color:var(--muted);margin:4px 0 0}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:12px}.stat{background:linear-gradient(145deg,#0d2130,#0a1824);border:1px solid #223a4c;border-radius:12px;padding:11px}.stat>span{font-size:18px}.stat b{display:block;font-size:18px;margin:7px 0 3px}.stat small{font-size:8px;color:var(--muted)}.grid2{display:grid;grid-template-columns:1.35fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.panel{background:#0c1b28;border:1px solid #22394c;border-radius:13px;padding:12px;overflow:hidden}.panel h3{font-size:12px;margin:0 0 10px}.panel h4{font-size:11px;margin:0}.rowline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid rgba(43,65,82,.55)}.rowline:last-child{border-bottom:0}.rowline b{font-size:10px}.rowline small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.tablewrap{overflow:auto;background:#0c1b28;border:1px solid #22394c;border-radius:13px}.tablewrap table{width:100%;border-collapse:collapse;min-width:850px}.tablewrap th{font-size:9px;text-align:left;color:#8fa6b7;background:#091722;padding:9px;border-bottom:1px solid #22394c;white-space:nowrap}.tablewrap td{font-size:9px;padding:8px 9px;border-bottom:1px solid #183042;vertical-align:middle}.tablewrap tr:hover td{background:#0f2231}.badge{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:8px;border:1px solid #305266}.badge.ok{background:rgba(16,185,129,.12);color:#6ee7b7;border-color:rgba(16,185,129,.32)}.badge.busy{background:rgba(239,68,68,.1);color:#fda4af;border-color:rgba(239,68,68,.28)}.badge.warn{background:rgba(245,158,11,.1);color:#fcd34d;border-color:rgba(245,158,11,.3)}.room-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.room-card{background:#0c1b28;border:1px solid #22394c;border-radius:13px;padding:12px;position:relative;overflow:hidden}.room-card:before{content:"";position:absolute;right:-25px;top:-25px;width:74px;height:74px;border-radius:50%;background:rgba(20,184,166,.09)}.room-card h4{font-size:15px;margin:0 0 4px}.room-card p{font-size:9px;color:var(--muted);margin:3px 0}.room-card .price{font-size:13px;color:#99f6e4;font-weight:800;margin-top:8px}.guest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.guest-card{display:grid;grid-template-columns:88px 1fr;gap:10px;background:#0c1b28;border:1px solid #22394c;border-radius:13px;padding:10px}.guest-card .photo{width:88px;height:100px;border-radius:10px;object-fit:cover;border:1px solid #315066}.guest-card h4{font-size:11px;margin:2px 0 4px}.guest-card p{font-size:8.5px;color:#9ab0bf;margin:3px 0}.guest-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.thumb{width:52px;height:42px;object-fit:cover;border-radius:7px;border:1px solid #335169;background:white;cursor:pointer}.guest-mini{width:42px;height:42px;object-fit:cover;border-radius:10px;border:1px solid #315066}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.formgrid .span2{grid-column:span 2}.formgrid .span3{grid-column:1/-1}.field textarea{min-height:76px;resize:vertical}.modalOverlay{position:fixed;inset:0;background:rgba(0,0,0,.72);display:grid;place-items:center;z-index:100;padding:20px}.modal{width:min(940px,96vw);max-height:92vh;overflow:auto;background:#0a1825;border:1px solid #2a475b;border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.5)}.modalHead{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #22394c;position:sticky;top:0;background:#0a1825;z-index:2}.modalHead h3{font-size:13px;margin:0}.modalBody{padding:14px}.modalFoot{display:flex;justify-content:flex-end;gap:8px;padding:12px 14px;border-top:1px solid #22394c}.imagePreview{max-width:90vw;max-height:78vh;border-radius:12px;background:white}.uploadPreview{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}.uploadPreview img{width:72px;height:56px;object-fit:cover;border-radius:8px;border:1px solid #315066}.receipt{background:white;color:#111827;padding:28px;border-radius:10px}.receipt h2,.receipt h3,.receipt p{margin:0}.receiptHead{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #0f766e;padding-bottom:12px;margin-bottom:14px}.receipt table{width:100%;border-collapse:collapse;margin-top:16px}.receipt td,.receipt th{border:1px solid #d1d5db;padding:8px;font-size:12px}.receipt th{background:#f0fdfa;text-align:left}.signature{display:flex;justify-content:space-between;margin-top:60px}.signature span{width:180px;border-top:1px solid #111;text-align:center;padding-top:5px;font-size:11px}.footerline{padding:5px 12px;background:#06101a;border-top:1px solid #1d3041;color:#668398;font-size:8px;display:flex;justify-content:space-between}.mobile-menu{display:none}.empty{padding:28px;text-align:center;color:#7892a5;font-size:11px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.toolbar .search{min-width:240px}.metric{font-weight:800;color:#5eead4}.light{--text:#102331;--muted:#5c7386}.light .app-shell,.light .topbar,.light .windowbar,.light .sidebar,.light .main,.light .panel,.light .tablewrap,.light .stat,.light .room-card,.light .guest-card,.light .modal{color:#102331}.light .main{background:#eef5f6}.light .sidebar,.light .panel,.light .tablewrap,.light .stat,.light .room-card,.light .guest-card,.light .modal,.light .modalHead{background:#fff}.light .topbar,.light .windowbar,.light .footerline{background:#dfecee}.light .navbtn{color:#3f596a}.light .navbtn:hover{background:#edf7f7}.light .field input,.light .field select,.light .field textarea,.light .search{background:white;color:#102331}.light .tablewrap th{background:#eef7f7;color:#466171}.light .tablewrap tr:hover td{background:#f4fafb}
@media(max-width:1180px){.cards{grid-template-columns:repeat(3,1fr)}.room-grid{grid-template-columns:repeat(4,1fr)}.guest-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.app-shell{width:100vw;height:100vh;margin:0;border-radius:0}.workspace{grid-template-columns:1fr}.sidebar{position:fixed;z-index:60;left:0;top:0;bottom:0;width:235px;transform:translateX(-105%);transition:.2s;box-shadow:10px 0 30px rgba(0,0,0,.35)}.sidebar.show{transform:none}.mobile-menu{display:inline-block}.grid2{grid-template-columns:1fr}.room-grid{grid-template-columns:repeat(3,1fr)}.formgrid{grid-template-columns:repeat(2,1fr)}.formgrid .span3{grid-column:1/-1}.loginbox{grid-template-columns:1fr}.loginart{display:none}.loginform{min-height:620px}.guest-grid{grid-template-columns:1fr}}@media(max-width:600px){.loginTopRow{align-items:stretch;flex-direction:column}.loginTopRow .login-lang{justify-content:flex-end}.installerTopBtn{width:100%}.cards{grid-template-columns:repeat(2,1fr)}.room-grid{grid-template-columns:repeat(2,1fr)}.formgrid{grid-template-columns:1fr}.formgrid .span2,.formgrid .span3{grid-column:1}.topbar{height:auto;padding:8px}.top-actions .clock{display:none}.brand h1{font-size:12px}.pagehead{align-items:flex-start;flex-direction:column}.main{padding:9px}.guest-card{grid-template-columns:72px 1fr}.guest-card .photo{width:72px;height:88px}}
@media print{body *{visibility:hidden!important}.printable,.printable *{visibility:visible!important}.printable{position:absolute;inset:0;background:white!important;color:black!important;padding:20px}.modalHead,.modalFoot{display:none!important}}
.identityBlock{display:flex;gap:14px;align-items:flex-start}.profileLarge{width:132px;height:154px;object-fit:cover;border-radius:13px;border:1px solid #315066;background:#fff;cursor:pointer;flex:0 0 auto}.identityText{min-width:0}.identityText p,.panel>p{font-size:9.5px;color:#9fb3c1;line-height:1.55;margin:5px 0}.soft{border:0;border-top:1px solid #23394c;margin:12px 0}.docGallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.docGallery>div{background:#091725;border:1px solid #28465b;border-radius:10px;padding:8px}.docGallery img{width:100%;height:125px;object-fit:cover;border-radius:8px;background:#fff;cursor:pointer}.docGallery small{display:block;color:#8ea7b9;font-size:8px;margin-top:6px;text-align:center}.light .docGallery>div{background:#f3f8f9}.loginform form{width:100%}.loginform .field{margin-bottom:8px}
@media(max-width:600px){.identityBlock{flex-direction:column}.profileLarge{width:110px;height:130px}.docGallery{grid-template-columns:1fr}.docGallery img{height:160px}}

.tenant-card{display:grid;grid-template-columns:96px 1fr;gap:12px;background:#0c1b28;border:1px solid #22394c;border-radius:13px;padding:11px}.tenant-card .photo{width:96px;height:110px;object-fit:cover;border-radius:10px;border:1px solid #315066;background:#fff}.tenant-card h4{font-size:12px;margin:2px 0 4px}.tenant-card p{font-size:8.5px;color:#9ab0bf;margin:3px 0}.tenant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.unit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.unit-card{background:#0c1b28;border:1px solid #22394c;border-radius:13px;padding:12px}.unit-card h4{font-size:14px;margin:0 0 4px}.unit-card p{font-size:9px;color:var(--muted);margin:3px 0}.unit-card .price{font-size:13px;color:#99f6e4;font-weight:800;margin-top:8px}.photoBox{border:1px dashed #315066;background:#091725;border-radius:11px;padding:10px}.photoBox h4{font-size:10px;margin:0 0 6px}.photoBox img{width:110px;height:85px;object-fit:cover;background:white;border-radius:8px;border:1px solid #315066;display:block;margin-bottom:7px}.uploadRow{display:flex;gap:7px;flex-wrap:wrap}.uploadBtn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:5px}.uploadBtn input{position:absolute;inset:0;opacity:0;cursor:pointer}.sectionTitle{grid-column:1/-1;font-size:11px;color:#5eead4;border-bottom:1px solid #23394c;padding:6px 0 3px;margin-top:3px}.familyList{font-size:9px;color:#9fb3c1;line-height:1.55}.light .tenant-card,.light .unit-card,.light .photoBox{background:#fff;color:#102331}.light .photoBox{border-color:#b4c9d2}.light .tenant-card p,.light .unit-card p{color:#5c7386}@media(max-width:1180px){.tenant-grid{grid-template-columns:repeat(2,1fr)}.unit-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:900px){.tenant-grid{grid-template-columns:1fr}.unit-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.unit-grid{grid-template-columns:repeat(2,1fr)}.tenant-card{grid-template-columns:76px 1fr}.tenant-card .photo{width:76px;height:92px}}
