
:root{--g:#1f2d4a;--g2:#2d4068;--gl:#eceff5;--gold:#b08d48;--goldl:#f4ecd9;--bg:#f7f4ec;--card:#fff;--ink:#1c2230;--mut:#5f6675;--line:#e6dfcf;--ok:#2f6b4f;--red:#b42318;--redl:#fdecea;--amb:#b45309;--ambl:#fff4e0;--blue:#1d4ed8;--r:12px;--sh:0 1px 2px rgba(0,0,0,.06),0 2px 10px rgba(0,0,0,.05)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:17px;line-height:1.4;color:var(--ink);background:var(--bg);padding-bottom:calc(76px + env(safe-area-inset-bottom))}
a{color:var(--g)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #f2a93b;outline-offset:2px}
.topbar{position:sticky;top:0;z-index:20;background:var(--g);color:#fff;display:flex;align-items:center;gap:8px;padding:10px 12px;min-height:56px;padding-top:calc(10px + env(safe-area-inset-top))}
.topbar h1{font-size:19px;margin:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .back,.topbar .tbtn{background:rgba(255,255,255,.15);border:0;color:#fff;border-radius:12px;min-width:44px;height:44px;padding:0 12px;font-size:16px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
main{max-width:860px;margin:0 auto;padding:14px 12px 24px;outline:none}
.loading{color:var(--mut);text-align:center;padding:40px}
.bottomnav{position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid var(--line);display:flex;padding-bottom:env(safe-area-inset-bottom)}
.bottomnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 10px;font-size:13px;font-weight:600;color:var(--mut);text-decoration:none}

.bottomnav a.on{color:var(--g)}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:14px;margin-bottom:12px}
.card h2,.sec-title{font-size:18px;margin:0 0 10px}
.sec-title{margin:18px 4px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.muted{color:var(--mut)}.small{font-size:14px}
.row{display:flex;gap:8px;align-items:center}
.spread{display:flex;justify-content:space-between;align-items:center;gap:8px}
.search{width:100%;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:17px;margin-bottom:12px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.stat{background:#fff;border-radius:14px;padding:10px;box-shadow:var(--sh);min-width:0}
.stat b{display:block;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat span{font-size:12.5px;color:var(--mut);display:block}
.stat.red b{color:var(--red)}.stat.green b{color:var(--g2)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media(min-width:600px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px){.grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.pcard{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;border:0;padding:0;text-align:left;cursor:pointer;width:100%}
.pcard .pic{background:#dfe6e3;position:relative;overflow:hidden}
.pcard .body{padding:10px 12px 12px}
.pcard .name{font-weight:700;font-size:16px;line-height:1.25}
.pcard .addr{font-size:13.5px;color:var(--mut);margin-top:2px;line-height:1.3}
.pcard .meta{font-size:13px;margin-top:6px;display:flex;gap:6px;flex-wrap:wrap}
.chip{display:inline-block;font-size:12.5px;font-weight:700;padding:3px 8px;border-radius:99px;background:var(--gl);color:var(--g)}
.chip.red{background:var(--redl);color:var(--red)}.chip.amb{background:var(--ambl);color:var(--amb)}.chip.gray{background:#eceff0;color:var(--mut)}
.addcard{border:2px dashed #9fb8b1;background:transparent;box-shadow:none;align-items:center;justify-content:center;min-height:180px;color:var(--g);font-weight:700;font-size:17px;gap:6px}
.addcard .plus{font-size:40px;line-height:1}
.hero{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;margin-bottom:12px}
.hero{display:flex;align-items:stretch}
.hero .pic{flex:0 0 46%;max-width:186px;background:#dfe6e3;position:relative;overflow:hidden;align-self:flex-start}
.hero .body{flex:1;min-width:0}
.hero .body{padding:12px 14px}
.hero h2{margin:0;font-size:21px}
.unitgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(min-width:640px){.unitgrid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.utile{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:10px 6px;text-align:center;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.utile svg{width:44px;height:56px}
.utile .un{font-weight:800;font-size:16px}
.utile .tn{font-size:12.5px;color:var(--mut);width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.utile.vacant{background:#fafbfb;border:1.5px dashed #c7d2cf;box-shadow:none}
.actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.act{background:#fff;border:0;border-radius:14px;box-shadow:var(--sh);padding:10px 2px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:var(--ink);cursor:pointer;min-height:76px;text-align:center;line-height:1.15}
.act .ic{font-size:26px;line-height:1}
.act:active,.btn:active,.pcard:active,.utile:active{transform:scale(.98)}
.tenant .big{font-size:20px;font-weight:800}
.kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:15.5px;margin-top:8px}
.kv dt{color:var(--mut)}.kv dd{margin:0;text-align:right;overflow-wrap:anywhere}
.balance{border-radius:14px;padding:12px 14px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:700}
.balance.owe{background:var(--redl);color:var(--red)}.balance.ok{background:var(--gl);color:var(--g)}
.balance .amt{font-size:24px}
.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:2px 0 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 14px;font-weight:700;font-size:14.5px;cursor:pointer;color:var(--mut)}
.tab.on{background:var(--g);border-color:var(--g);color:#fff}
.list{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;margin-bottom:12px}
.item{display:flex;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line);min-width:0;text-decoration:none;color:inherit;background:#fff;width:100%;border-left:0;border-right:0;border-top:0;text-align:left;font-size:inherit}
.item:last-child{border-bottom:0}
.item .grow{flex:1;min-width:0}
.item .t{font-weight:700;overflow-wrap:anywhere}
.item .s{font-size:13.5px;color:var(--mut)}
.item .r{text-align:right;font-weight:700;white-space:nowrap}
.item .thumb{width:46px;height:46px;border-radius:10px;object-fit:cover;background:#eef2f1;flex:0 0 46px;display:flex;align-items:center;justify-content:center;font-size:22px;border:0;padding:0;cursor:pointer}
.item button.del{background:none;border:0;color:#9aa6a2;font-size:20px;padding:6px;cursor:pointer;min-width:36px;min-height:36px}
.pos{color:var(--g2)}.neg{color:var(--red)}
.empty{padding:18px 14px;color:var(--mut);text-align:center;font-size:15px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:14px;padding:12px 16px;min-height:48px;font-weight:700;font-size:16px;cursor:pointer;background:var(--g);color:#fff;text-decoration:none}
.btn.sec{background:#fff;color:var(--g);border:1.5px solid var(--g)}
.btn.light{background:var(--gl);color:var(--g)}
.btn.danger{background:#fff;color:var(--red);border:1.5px solid #f0b7b1}
.btn.sm{min-height:38px;padding:6px 12px;font-size:14.5px;border-radius:11px}
.btn.block{width:100%}
.btns{display:grid;gap:8px}
.btns.two{grid-template-columns:1fr 1fr}
.banner{border-radius:14px;padding:12px 14px;margin-bottom:12px;background:var(--ambl);color:#7a3e05;font-size:15px}
.banner b{color:#5f3004}
.demo-banner{background:#e8f0fe;color:#1e3a8a}
/* sheet */
.sheet-wrap{position:fixed;inset:0;z-index:50;background:rgba(10,20,17,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet-wrap[hidden]{display:none}
.sheet{background:#fff;width:100%;max-width:620px;max-height:92vh;max-height:92dvh;overflow:auto;border-radius:20px 20px 0 0;padding:6px 16px calc(18px + env(safe-area-inset-bottom));animation:up .18s ease-out}
@keyframes up{from{transform:translateY(40px);opacity:.5}to{transform:none;opacity:1}}
.sheet .grab{width:44px;height:5px;border-radius:9px;background:#d4dbd9;margin:6px auto 8px}
.sheet h3{margin:4px 0 12px;font-size:20px;display:flex;justify-content:space-between;align-items:center}
.sheet h3 button{background:#eef2f1;border:0;border-radius:99px;width:38px;height:38px;font-size:20px;cursor:pointer}
label.f{display:block;margin-bottom:12px;font-weight:700;font-size:15px}
label.f input,label.f select,label.f textarea{display:block;width:100%;margin-top:5px;padding:11px 12px;border:1.5px solid #cdd6d3;border-radius:12px;background:#fff;font-weight:400;font-size:17px;min-height:48px}
label.f textarea{min-height:110px;resize:vertical}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hint{font-weight:400;color:var(--mut);font-size:13.5px}
.choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.choice label{border:2px solid var(--line);border-radius:14px;padding:8px;text-align:center;font-weight:800;cursor:pointer;background:#fafcfb}
.choice input{position:absolute;opacity:0;pointer-events:none}
.choice label:has(input:checked){border-color:var(--g);background:var(--gl)}
.choice label.on{border-color:var(--g);background:var(--gl)}
.choice .cpic{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;margin-bottom:6px;background:#dfe6e3}
.choice .cpic img{width:100%;height:100%;object-fit:cover;display:block}
.photo-pick{border:2px dashed #9fb8b1;border-radius:14px;padding:14px;text-align:center;margin-bottom:12px;background:#f7faf9}
.photo-pick .btn{width:100%}
.photo-pick img{max-width:100%;max-height:220px;border-radius:10px;display:block;margin:10px auto 0}
.photo-pick input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
.check{display:flex;gap:10px;align-items:center;font-weight:600;margin-bottom:12px}
.check input{width:22px;height:22px}
.viewer{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;padding:12px}
.viewer img{max-width:100%;max-height:100%;border-radius:6px}
.viewer button{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;width:48px;height:48px;border-radius:99px;border:0;background:#fff;font-size:22px;cursor:pointer}
.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#17201d;color:#fff;padding:10px 16px;border-radius:12px;font-weight:600;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:70;max-width:90vw;text-align:center}
.toast.show{opacity:1}
.bars .b{margin-bottom:10px}
.bars .bar{height:10px;border-radius:9px;background:#e7eceb;overflow:hidden;margin-top:4px}
.bars .bar i{display:block;height:100%;background:var(--g2);border-radius:9px}
.inv-total{font-size:26px;font-weight:800;color:var(--g)}
/* statement */
.stmt{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:18px 14px}
.stmt h2{margin:0;font-size:22px}
.stmt table{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:12px}
.stmt th,.stmt td{padding:7px 4px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.stmt td.n,.stmt th.n{text-align:right;white-space:nowrap}
.stmt .due{margin-top:14px;font-size:20px;font-weight:800;text-align:right}
.stmt .head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14.5px;margin-top:10px}
.noprint{}
@media print{
 body{background:#fff;padding:0;font-size:12pt}
 .topbar,.bottomnav,.noprint,.toast{display:none!important}
 main{padding:0;max-width:none}
 .stmt{box-shadow:none;padding:0}
}

/* real photo + address plaque */
.photo{position:relative;width:100%;aspect-ratio:4/3;container-type:inline-size;overflow:hidden;background:#dfe6e3}
.photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.plaque{position:absolute;transform:translate(-50%,-50%);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
 background:linear-gradient(160deg,#3b3129,#1f1915 70%);color:#ecd394;border:.5cqw solid #b8954f;border-radius:1.1cqw;padding:1cqw 1.4cqw 1.2cqw;
 box-shadow:0 .7cqw 1.6cqw rgba(0,0,0,.5),inset 0 0 0 .35cqw #2a211a;font-family:Georgia,"Times New Roman",serif;line-height:1.02;pointer-events:none}
.plaque::before,.plaque::after{content:"";position:absolute;top:50%;width:.9cqw;height:.9cqw;margin-top:-.45cqw;border-radius:50%;background:#c9a65e;box-shadow:inset 0 0 0 .15cqw #7d6331}
.plaque::before{left:.7cqw}.plaque::after{right:.7cqw}
.plaque b{font-weight:700;letter-spacing:.03em;text-shadow:0 .2cqw 0 rgba(0,0,0,.7)}
.plaque i{font-style:normal;font-weight:600;letter-spacing:.02em;margin-top:.35cqw;overflow-wrap:anywhere;text-shadow:0 .15cqw 0 rgba(0,0,0,.7)}
.picrow{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}
.picrow label{border:2px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#fafcfb;font-size:12.5px;font-weight:700;text-align:center;line-height:1.2}
.picrow label.on{border-color:var(--g);box-shadow:0 0 0 2px var(--gl)}
.picrow img{width:100%;height:100%;object-fit:cover;display:block}
.picrow input{position:absolute;opacity:0;pointer-events:none}
.picrow label{position:relative}.picrow em{position:absolute;left:0;right:0;bottom:0;background:rgba(20,30,50,.72);color:#fff;font-style:normal;font-size:12.5px;font-weight:600;padding:4px 0}

/* classic look */
h1,h2,h3,.topbar h1,.hero h2,.stmt h2,.pcard .name{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.005em}
.topbar{border-bottom:3px solid var(--gold)}
.topbar .logo{width:26px;height:26px;vertical-align:-6px;margin-right:8px}
.topbar h1 .brand{letter-spacing:.02em}
.topbar h1.wm{display:flex;align-items:center;overflow:visible}
.topbar h1.wm .logo{flex:none}
.topbar h1.wm .brand{display:flex;flex-direction:column;line-height:1;min-width:0}
.topbar h1.wm .brand b{font-size:22px;font-weight:700;letter-spacing:.03em}
.topbar h1.wm .brand small{font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-top:3px;white-space:nowrap}
.lh{display:flex;align-items:center;gap:10px;padding-bottom:10px;margin-bottom:14px;border-bottom:2px solid var(--gold,#b08d48)}
.lh .lhlogo{width:34px;height:34px;flex:none}
.lh b{display:block;font-family:Georgia,"Times New Roman",serif;font-size:22px;color:#1f2d4a;letter-spacing:.03em;line-height:1}
.lh small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#8a6d33;margin-top:3px}
.card,.list,.hero,.pcard,.stmt{box-shadow:0 1px 2px rgba(40,30,10,.06);border:1px solid var(--line)}
/* home tiles: 9–12 per screen */
.sumline{display:flex;justify-content:space-between;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin-bottom:10px;font-size:14px;color:var(--mut);text-decoration:none}
.sumline b{color:var(--ink);font-size:15px}.sumline .pos b{color:var(--ok)}.sumline .neg b{color:var(--red)}
.pcard{border-radius:10px}
.pcard .body{padding:5px 6px 7px}
.pcard .name{font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard .addr{font-size:11.5px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard .meta{font-size:11.5px;margin-top:3px;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;color:var(--mut)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ok);flex:0 0 8px}.dot.amb{background:var(--amb)}.dot.red{background:var(--red)}
.addcard{min-height:0;aspect-ratio:auto;font-size:14px;border-color:#cbbf9f;color:var(--g)}
.addcard .plus{font-size:30px}
.hero h2{font-size:18px;line-height:1.2}
.hero .body{padding:10px 12px}

.bottomnav svg{width:24px;height:24px}
.ico{width:24px;height:24px;flex:0 0 auto}
.act{border:1px solid var(--line);box-shadow:none;border-radius:12px;font-weight:600;color:var(--g)}
.act .ico{width:28px;height:28px;color:var(--g)}
.morebtn{display:flex;align-items:center;gap:10px;width:100%;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:-2px 0 14px;font-weight:600;color:var(--g);cursor:pointer;text-align:left;flex-wrap:wrap}
.morebtn small{flex-basis:100%;color:var(--mut);font-weight:400;font-size:12.5px;margin-left:34px;margin-top:-4px}
.btn{border-radius:10px}.btn.sm{border-radius:9px}
.chip{background:var(--goldl);color:#7a5c1e}.chip.gray{background:#efede6;color:var(--mut)}
.slim{font-size:13px;color:var(--mut);background:var(--goldl);border:1px solid #eadcb8;border-radius:10px;padding:7px 10px;margin-bottom:8px}
.linkbtn{background:none;border:0;padding:0;color:var(--g);font-weight:700;text-decoration:underline;cursor:pointer;font-size:13px}
.alerts{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.alerts a{font-size:12.5px;font-weight:600;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:99px;padding:5px 10px;text-decoration:none}
.search{min-height:42px;padding:8px 12px;font-size:15px;margin-bottom:10px}
.foot{text-align:center;color:var(--mut);font-size:12px;margin:18px 0 0;font-family:Georgia,serif;letter-spacing:.04em}
.herolinks{display:flex;gap:14px;margin-top:8px;flex-wrap:wrap}
.herolinks a{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:600;text-decoration:none}
.herolinks .ico{width:17px;height:17px}
/* More menu */
h3.grp{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin:14px 4px 6px;font-family:system-ui,sans-serif}
.tools{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.tool{display:flex;align-items:center;gap:14px;padding:13px 14px;text-decoration:none;color:var(--ink);border-top:1px solid var(--line)}
.tool:first-child{border-top:0}
.tool .ico{color:var(--g);width:26px;height:26px}
.tool b{display:block;font-size:16px;font-weight:600}.tool small{display:block;color:var(--mut);font-size:13px}
.tool::after{content:"›";margin-left:auto;color:#b9b2a0;font-size:22px}
.mlist{display:flex;flex-direction:column;margin-bottom:6px}
.mgrp{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-weight:700;margin:10px 2px 4px}
.mrow{display:flex;align-items:center;gap:12px;padding:12px 6px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;font-size:16px;color:var(--ink);text-decoration:none;text-align:left;cursor:pointer;width:100%}
.mrow .ico{color:var(--g)}
/* overview chart */
.chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.chipbtn{border:1px solid var(--line);background:#fff;border-radius:99px;padding:5px 11px;font-size:13px;font-weight:600;cursor:pointer;color:var(--mut);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chipbtn.on{background:var(--g);border-color:var(--g);color:#fff}
.cfchart{width:100%;height:auto;display:block}
.legend{display:flex;gap:14px;font-size:12.5px;color:var(--mut);margin-top:4px}.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px;border-top:1px solid var(--line);padding-top:10px}
.kpis div{text-align:center}.kpis b{display:block;font-size:18px}.kpis span{font-size:11.5px;color:var(--mut)}
.pos{color:var(--ok)}
/* reports & letters */
.tablewrap{overflow-x:auto;margin-top:10px}
table.rr{width:100%;border-collapse:collapse;font-size:13px}
table.rr td,table.rr th{padding:6px 4px;border-bottom:1px solid var(--line);text-align:left}
table.rr .grp td{background:#f6f2e8;font-weight:700;font-family:Georgia,serif}
table.rr tfoot td{font-weight:700;border-top:2px solid var(--g)}
.taxh{margin:16px 0 0;font-size:17px}
table.tax{width:100%;border-collapse:collapse;font-size:14.5px;margin-top:6px}
table.tax td{padding:6px 2px;border-bottom:1px solid var(--line)}
table.tax .tot td{font-weight:700;border-top:1.5px solid var(--g)}
.n{text-align:right;white-space:nowrap}
.letter p,.lease p{font-size:15px;line-height:1.5}
.lease h4{margin:12px 0 2px;font-size:15px;font-family:Georgia,serif}
.lease p{margin:0 0 4px}
.sigs{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px;font-size:13px;color:var(--mut)}
/* inspection */
.room{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}
.room h3{margin:0 0 6px;font-size:17px}
.ckrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px dashed #eee6d4;font-size:14.5px}
.cond{display:flex;gap:4px;flex:0 0 auto}
.cond button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px 8px;font-size:12.5px;font-weight:600;color:var(--mut);cursor:pointer;min-width:44px;min-height:34px}
.cond button.on.c-Good{background:#e4efe8;border-color:#7fae94;color:#24583f}
.cond button.on.c-Fair{background:var(--ambl);border-color:#e0b46b;color:var(--amb)}
.cond button.on.c-Bad{background:var(--redl);border-color:#e7a29b;color:var(--red)}
.rnote{width:100%;min-height:54px;margin-top:8px;border:1px solid var(--line);border-radius:10px;padding:8px;font-size:14.5px}
.rphotos{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.rphotos .thumb{width:64px;height:64px}
.addph{display:inline-flex;align-items:center;gap:6px;border:1.5px dashed #cbbf9f;border-radius:10px;padding:0 12px;height:64px;font-size:14px;font-weight:600;color:var(--g);cursor:pointer}
.sigs2{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
@media(min-width:600px){.sigs2{grid-template-columns:1fr 1fr}}
canvas.sig{width:100%;height:auto;aspect-ratio:3/1;border:1px solid var(--line);border-bottom:2px solid var(--g);border-radius:8px;background:#fffdf8;touch-action:none;display:block;margin:4px 0 6px}
.checkline{flex-direction:row!important;align-items:center;gap:10px;font-weight:600}
.checkline input{width:24px;height:24px;min-height:0}
.utile svg rect:first-child{fill:var(--g)}
@media print{.cond button:not(.on){display:none}.addph,.rphotos label{display:none}canvas.sig{border:1px solid #999}.herolinks{display:none}}

.f2>*{min-width:0}.f input,.f select,.f textarea{min-width:0;max-width:100%}input[type=date],input[type=month]{width:100%;min-width:0}
.alerts a{display:inline-flex;align-items:center;gap:5px}.alerts .ico{width:15px;height:15px;color:var(--gold)}
.alerts{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.alerts a{white-space:nowrap;flex:0 0 auto}.alerts::-webkit-scrollbar{display:none}
.chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chipbtn{flex:0 0 auto}

/* ===== v3: professional look (Nov 1 2026) ===== */
:root{--r:8px;--line:#e3e1db;--sh:0 1px 2px rgba(16,24,40,.06);--ink:#1d2433;--mut:#667085;--bg:#f5f4f0;--ok:#067647;--okl:#e7f6ec}
body{font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}
h1,h2,h3,.topbar h1,.hero h2,.stmt h2,.pcard .name{font-family:inherit;letter-spacing:0}
.topbar h1{font-size:18px;font-weight:600}
.topbar h1.wm .brand b,.lh b{font-family:Georgia,"Times New Roman",serif}
.card h2,.sec-title{font-size:16px;font-weight:600}
.stmt h2{font-size:20px;font-weight:600}
.card,.list,.hero,.pcard,.stmt{border-radius:8px;box-shadow:var(--sh);border:1px solid var(--line)}
.card{padding:16px}
.utile{border-radius:8px;box-shadow:var(--sh);border:1px solid var(--line)}
.utile.vacant{border:1px dashed #c9ccd3}
.btn{border-radius:8px;font-weight:600;letter-spacing:.01em}
.btn.sm{border-radius:6px;min-height:40px;font-size:14px}
.btn.sec{border-width:1px}
.btn .ico{width:18px;height:18px}
.topbar .back,.topbar .tbtn{border-radius:8px;font-weight:600}
.act{border-radius:8px;box-shadow:var(--sh);border:1px solid var(--line);font-size:12.5px;font-weight:600;color:var(--ink);min-height:72px;gap:6px;padding:12px 2px 10px}
.act .ico{width:24px;height:24px;color:var(--g)}
.actions{gap:8px;margin-bottom:16px}
.morebtn{border-radius:8px;box-shadow:var(--sh)}
.morebtn .ico{color:var(--mut)}
.banner{border-radius:8px;font-size:14px;border:1px solid #f5d9a8}
.banner .ico{width:18px;height:18px;vertical-align:-4px;margin-right:4px}
.tab,.chipbtn{border-radius:6px}
.item .thumb{border-radius:6px;color:var(--mut)}
.item .thumb .ico{width:22px;height:22px}
.item button.del .ico{width:18px;height:18px}
.item button.del{color:#98a2b3}
.kv{grid-template-columns:auto 1fr;gap:0;font-size:15px;margin-top:12px;border-top:1px solid var(--line)}
.kv dt,.kv dd{padding:9px 0;border-bottom:1px solid var(--line)}
.kv dt{color:var(--mut);font-weight:400}
.kv dd{font-weight:500}
.kv dt:last-of-type,.kv dd:last-of-type{border-bottom:0}
.card.tenant .big{font-size:20px;font-weight:600}
/* contact buttons (Call / Text / WhatsApp / Email / Application) */
.contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:6px;margin-top:14px}
.cbtn{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;padding:0;font-size:12px;font-weight:500;color:var(--ink);text-decoration:none;cursor:pointer;min-width:0}
.cbtn .ci{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.15)}
.cbtn .ci .ico{width:22px;height:22px}
.cbtn.call .ci{background:#1e8e3e}
.cbtn.sms .ci{background:#1a73e8}
.cbtn.wa .ci{background:#25d366}
.cbtn.wa .ci .ico{width:24px;height:24px}
.cbtn.mail .ci{background:#d93025}
.cbtn.app .ci{background:#fff;color:var(--g);border:1px solid #d0d5dd;box-shadow:none}
.cbtn.app.done .ci{background:var(--okl);color:var(--ok);border-color:#abefc6}
.cbtn:active .ci{transform:scale(.95)}
/* balance banner */
.balbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--ok);border-radius:8px;padding:12px 14px;margin-bottom:12px;box-shadow:var(--sh)}
.balbar.late{border-left-color:#d92d20}
.balbar.due{border-left-color:#dc6803}
.bb-l{min-width:0}
.bb-k{font-size:12.5px;color:var(--mut);font-weight:500;text-transform:uppercase;letter-spacing:.05em}
.bb-a{font-size:26px;font-weight:700;color:var(--ink);line-height:1.15;font-variant-numeric:tabular-nums;margin:2px 0 4px}
.balbar.late .bb-a{color:#b42318}
.balbar .btn{flex:none;white-space:nowrap}
.balbar.ok .btn{background:#fff;color:var(--g);border:1px solid #d0d5dd}
.schip{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:2px 8px;border-radius:4px;line-height:1.5}
.schip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.schip.red{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.schip.amb{background:#fffaeb;color:#b54708;border:1px solid #fedf89}
.schip.green{background:#ecfdf3;color:#067647;border:1px solid #abefc6}
.chip{border-radius:4px;font-weight:600}
.chip.red{background:#fef3f2;color:#b42318}.chip.amb{background:#fffaeb;color:#b54708}
.bottomnav a{font-weight:500;font-size:12px}
.bottomnav a.on{color:var(--g);font-weight:600}
.photo-pick label{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.photo-pick label::before{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") center/contain no-repeat}
@media print{.contacts,.balbar .btn{display:none!important}}

.stat{border-radius:8px;border:1px solid var(--line);box-shadow:var(--sh)}
.stat b{font-weight:700;font-variant-numeric:tabular-nums}
.alerts a{border-radius:6px;font-weight:500}
.search{border-radius:8px}
.foot{font-family:inherit;letter-spacing:.08em;text-transform:uppercase;font-size:11px}
input,select,textarea{border-radius:6px}

/* v3.2 contact first */
.ccard{padding:14px 14px 16px}
.cc-top,.cc-vac{display:flex;align-items:center;gap:12px}
.cc-av{flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:var(--g);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:17px;letter-spacing:.02em}
.cc-av.empty{background:#eef0f3;color:#667085}.cc-av .ico{width:24px;height:24px}
.cc-id{flex:1;min-width:0}
.cc-k{font-size:11.5px;color:var(--mut);text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.cc-name{font-size:19px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.cc-phone{display:inline-flex;align-items:center;gap:6px;margin-top:3px;font-size:18px;font-weight:600;color:#1a73e8;text-decoration:none;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.cc-phone .ico{width:17px;height:17px}
.cc-mail{display:block;font-size:14px;color:var(--mut);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px}
.cc-add{background:none;border:0;padding:0;margin-top:3px;color:#1a73e8;font-size:14.5px;font-weight:500;cursor:pointer}
.ccard .contacts{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.ldetails{padding:12px 14px}.ldetails .kv{margin-top:6px}

.pickc{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 12px;font-weight:600;min-height:46px}
.pickc .ico{width:20px;height:20px}
button.cc-phone{background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.psheet{margin:-4px 0 6px}
.ps-num{font-size:22px;font-weight:600;text-align:center;margin:0 0 10px;font-variant-numeric:tabular-nums}
.ps-row{display:flex;align-items:center;gap:14px;width:100%;padding:12px 4px;border:0;border-top:1px solid var(--line);background:none;font:inherit;font-size:16px;font-weight:500;color:var(--ink);text-decoration:none;cursor:pointer;text-align:left}
.ps-row .ci{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex:0 0 40px}
.ps-row .ci .ico{width:20px;height:20px}
.ps-row .ci.call{background:#1e8e3e}.ps-row .ci.wa{background:#25d366}.ps-row .ci.save{background:var(--g)}.ps-row .ci.copy{background:#eef0f3;color:#344054}
.pickc{background:#fff;border:1.5px solid var(--g);color:var(--g)}.pickc .ico{color:var(--gold)}

/* ---- accounts & sync (v4) ---- */
body.signedout{padding-bottom:0}
body.signedout .bottomnav{display:none}
.auth{max-width:440px;margin:8px auto 0}
.authcard{padding:18px}
.authcard h2{font-family:Georgia,"Times New Roman",serif;font-size:22px;color:var(--g)}
.authmsg{background:var(--goldl);border:1px solid #eadcb8;border-radius:10px;padding:9px 11px;font-size:14.5px;margin:6px 0 10px}
.authmsg.err{background:var(--redl);border-color:#f0b7b1;color:var(--red)}
.authfoot{text-align:center;padding:6px 10px 20px}
.authfoot p{margin:6px 0}
.chk{display:flex;align-items:center;gap:10px;font-size:15.5px;margin:4px 0 14px;cursor:pointer}
.chk input{width:22px;height:22px;accent-color:var(--g)}
.pwwrap{position:relative;display:block}
.pwwrap input{padding-right:70px}
.pwshow{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--g);font-weight:700;font-size:14px;padding:8px;cursor:pointer}
.akv{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:15.5px}
.akv:last-of-type{border-bottom:0}
.akv span{color:var(--mut)}
.akv b{text-align:right;word-break:break-word}
.akv a{text-decoration:none}
.syncline{display:flex;gap:10px;align-items:flex-start;background:var(--gl);border-radius:10px;padding:10px 12px;margin:10px 0}
.syncline .dot{width:10px;height:10px;border-radius:50%;margin-top:6px;flex:none;background:var(--ok)}
.syncline .dot.wait{background:var(--amb)}.syncline .dot.bad{background:var(--red)}
.acctbar{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;max-width:836px;margin:10px auto -4px;background:var(--goldl);border:1px solid #eadcb8;border-radius:10px;padding:8px 12px;width:calc(100% - 24px)}
.acctbar[hidden]{display:none}
.acctbar.warn{background:var(--redl);border-color:#f0b7b1}
.acctbar .linkbtn{font-size:14px}
.price{font-size:15px;margin:6px 0 4px;color:var(--mut)}.price b{font-size:30px;color:var(--g);font-family:Georgia,serif}
.testnote{font-size:13px;background:var(--ambl);color:var(--amb);border-radius:8px;padding:8px 10px;margin:10px 0 0}
.pos{color:var(--ok)}.neg{color:var(--red)}

/* tap-to-change label on the property photo (v4) */
.photo.tappable{cursor:pointer}
.photo .picedit{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 4px 6px;background:rgba(17,24,39,.62);color:#fff;font-size:12px;font-weight:600;line-height:1.1;letter-spacing:.01em;pointer-events:none}
.photo .picedit .ico{width:15px;height:15px;fill:#fff;flex:none}

/* Tap to open: shows the house/building pictures in the list are pressable (Nov 1 2026) */
.photo .tapopen{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:1px;padding:3px 2px 3px 6px;background:rgba(17,24,39,.6);color:#fff;font-size:11px;font-weight:600;line-height:1.1;letter-spacing:.01em;pointer-events:none;z-index:3}
.photo .tapopen .ico{width:14px;height:14px;fill:#fff;flex:none}
.pcard{transition:transform .08s ease,box-shadow .08s ease}
.pcard:active{transform:scale(.96);box-shadow:0 0 0 2px var(--g,#b08d3c)}
.pcard:active .photo>img{filter:brightness(.85)}
.pcard:active .tapopen{background:rgba(17,24,39,.8)}

/* Get paid online + pay links (Nov 1 2026) */
.gp-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 10px}
.gp-chip{display:inline-block;font-size:13px;font-weight:700;padding:4px 10px;border-radius:99px;background:var(--ambl);color:var(--amb)}
.gp-chip.gray{background:#efede6;color:var(--mut)}.gp-chip.green{background:var(--okl,#e7f6ec);color:var(--ok)}
.gp-p{margin:0 0 12px;line-height:1.45}
.gp-sm{margin:10px 0 0;line-height:1.4}
.gp-test{background:#fff4e0;border:1px solid #f5d9a8;color:#7a3e05;border-radius:8px;padding:7px 10px;font-size:13px;font-weight:600;margin-bottom:10px}
.gp-demo{background:var(--gl);border-radius:8px;padding:10px 12px;font-size:14px;line-height:1.45;margin-bottom:12px;color:var(--g)}
.gp-tot{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.gp-tot div{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px}
.gp-tot b{display:block;font-size:18px}.gp-tot span{font-size:12.5px;color:var(--mut)}
.gp-toggle{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);cursor:pointer}
.gp-toggle input{width:22px;height:22px;margin:2px 0 0;flex:none;accent-color:var(--g)}
.gp-toggle span b{display:block}.gp-toggle small{display:block;color:var(--mut);font-size:13px;line-height:1.4;margin-top:2px}
.gp-h3{font-size:15px;margin:16px 0 6px}
.gp-steps{margin:0;padding-left:20px;line-height:1.5}.gp-steps li{margin-bottom:6px}
.gp-unit{margin:-4px 0 12px}
.gp-send{gap:8px}.gp-send .ico{width:20px;height:20px}
.gp-note{border-radius:8px;padding:9px 12px;font-size:14px;line-height:1.4;margin-bottom:8px}
.gp-note.amb{background:var(--ambl);color:#7a3e05;border:1px solid #f5d9a8}.gp-note.red{background:var(--redl);color:var(--red);border:1px solid #f3c1bb}
.gp-url{width:100%;box-sizing:border-box;font-size:14px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);margin-bottom:10px}
.gp-share .btns{margin-top:8px}.gp-wa{background:#1f7a4d}.gp-wa .ico{width:20px;height:20px;fill:#fff}

/* security: signed-out-for-safety notice + 2-step code screen (Nov 1 2026) */
.authmsg.safety{background:var(--gl);border:1px solid #c9d0de;border-left:4px solid var(--g);color:var(--g);display:flex;flex-direction:column;gap:2px;padding:11px 12px}
.authmsg.safety b{font-size:15.5px}.authmsg.safety span{color:var(--mut);font-size:14px}
.codein{font-size:28px!important;letter-spacing:10px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums;padding:10px 8px!important}
.codein::placeholder{letter-spacing:10px;color:#c7c2b4}
.codelinks{display:flex;justify-content:space-between;gap:10px;margin-top:14px}
