:is(.dashboard-v5,.property-dialog) *{box-sizing:border-box}
:is(.dashboard-v5,.property-dialog) [hidden]{display:none!important}
:is(.dashboard-v5,.property-dialog) body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
:is(.dashboard-v5,.property-dialog) button{font:inherit}
:is(.dashboard-v5,.property-dialog) .app{display:grid;grid-template-columns:245px 1fr;min-height:100vh}
:is(.dashboard-v5,.property-dialog) .sidebar{background:var(--nav);color:#fff;padding:26px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}
:is(.dashboard-v5,.property-dialog) .brand{display:flex;gap:12px;align-items:center;padding:0 8px 26px}
:is(.dashboard-v5,.property-dialog) .brand-mark{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--nav);display:grid;place-items:center;font-weight:800}
:is(.dashboard-v5,.property-dialog) .brand-title{font-size:14px;font-weight:800}
:is(.dashboard-v5,.property-dialog) .brand-sub{font-size:12px;color:#aeb7c7;margin-top:3px}
:is(.dashboard-v5,.property-dialog) .nav{display:grid;gap:6px}
:is(.dashboard-v5,.property-dialog) .nav button{border:0;background:transparent;color:#bcc5d4;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer}
:is(.dashboard-v5,.property-dialog) .nav button:hover{background:#172033;color:#fff}
:is(.dashboard-v5,.property-dialog) .nav button.active{background:#fff;color:var(--nav);font-weight:750}
:is(.dashboard-v5,.property-dialog) .version{margin-top:auto;border-top:1px solid #293245;padding:18px 8px 0;color:#9ca8bb;font-size:12px}
:is(.dashboard-v5,.property-dialog) .main{padding:28px 32px 50px;min-width:0}
:is(.dashboard-v5,.property-dialog) .topbar{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px;gap:18px}
:is(.dashboard-v5,.property-dialog) .topbar h1{margin:0;font-size:28px}
:is(.dashboard-v5,.property-dialog) .topbar p{margin:6px 0 0;color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .date{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:10px;color:var(--muted);font-size:13px}
:is(.dashboard-v5,.property-dialog) .view{display:none}
:is(.dashboard-v5,.property-dialog) .view.active{display:block}
:is(.dashboard-v5,.property-dialog) .top-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .summary-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
:is(.dashboard-v5,.property-dialog) .card-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.045em;color:var(--muted);font-weight:800}
:is(.dashboard-v5,.property-dialog) .big-value{font-size:27px;font-weight:850;margin:9px 0 14px;letter-spacing:-.03em}
:is(.dashboard-v5,.property-dialog) .incomplete{font-size:20px;color:var(--warn)}
:is(.dashboard-v5,.property-dialog) .breakdown{display:grid;gap:9px;border-top:1px solid var(--line);padding-top:13px}
:is(.dashboard-v5,.property-dialog) .row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
:is(.dashboard-v5,.property-dialog) .row span:first-child{color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .row strong{text-align:right}
:is(.dashboard-v5,.property-dialog) .small{font-size:12px}
:is(.dashboard-v5,.property-dialog) .tiny{font-size:11px;color:var(--muted);line-height:1.45}
:is(.dashboard-v5,.property-dialog) .panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .panel-head h2{font-size:18px;margin:0}
:is(.dashboard-v5,.property-dialog) .panel-head p{font-size:12px;color:var(--muted);margin:5px 0 0}
:is(.dashboard-v5,.property-dialog) .badge{padding:8px 11px;border-radius:10px;background:#f1f4f8;font-size:12px;font-weight:750;white-space:nowrap}
:is(.dashboard-v5,.property-dialog) .property-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
:is(.dashboard-v5,.property-dialog) .property-card{border:1px solid var(--line);border-radius:14px;background:#fbfcfe;padding:16px;cursor:pointer;transition:.15s}
:is(.dashboard-v5,.property-dialog) .property-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(23,32,51,.08)}
:is(.dashboard-v5,.property-dialog) .property-title{font-weight:850}
:is(.dashboard-v5,.property-dialog) .property-sub{font-size:12px;color:var(--muted);min-height:34px;margin-top:4px}
:is(.dashboard-v5,.property-dialog) .property-rent{font-size:21px;font-weight:850;margin:14px 0 12px}
:is(.dashboard-v5,.property-dialog) .property-rent small{font-size:11px;color:var(--muted);font-weight:650}
:is(.dashboard-v5,.property-dialog) .lines{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:12px}
:is(.dashboard-v5,.property-dialog) .lines .row{font-size:12px}
:is(.dashboard-v5,.property-dialog) .clickhint{font-size:11px;color:var(--accent);margin-top:13px;font-weight:750}
:is(.dashboard-v5,.property-dialog) .two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}
:is(.dashboard-v5,.property-dialog) table{width:100%;border-collapse:collapse}
:is(.dashboard-v5,.property-dialog) th{text-align:left;color:var(--muted);font-size:12px;padding:0 10px 10px;border-bottom:1px solid var(--line)}
:is(.dashboard-v5,.property-dialog) th:last-child{text-align:right}
:is(.dashboard-v5,.property-dialog) td{padding:13px 10px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top}
:is(.dashboard-v5,.property-dialog) td:last-child{text-align:right}
:is(.dashboard-v5,.property-dialog) .account-type{font-size:11px;color:var(--muted);margin-top:3px}
:is(.dashboard-v5,.property-dialog) .available{font-size:15px;font-weight:850}
:is(.dashboard-v5,.property-dialog) .ce-detail{margin-top:5px;display:grid;gap:2px;color:var(--muted);font-size:11px}
:is(.dashboard-v5,.property-dialog) .share-note{font-size:11px;color:var(--muted);margin-top:3px}
:is(.dashboard-v5,.property-dialog) .saving-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}
:is(.dashboard-v5,.property-dialog) .saving-head h2{margin:0;font-size:18px}
:is(.dashboard-v5,.property-dialog) .saving-kpis{text-align:right}
:is(.dashboard-v5,.property-dialog) .saving-kpis strong{font-size:18px;display:block}
:is(.dashboard-v5,.property-dialog) .saving-kpis span{font-size:11px;color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .group{border:1px solid var(--line);border-radius:13px;margin-bottom:12px;overflow:hidden}
:is(.dashboard-v5,.property-dialog) .group-title{display:flex;justify-content:space-between;padding:11px 13px;background:#f7f9fc;font-size:13px;font-weight:800}
:is(.dashboard-v5,.property-dialog) .group-row{display:grid;grid-template-columns:1fr auto auto;gap:14px;padding:11px 13px;border-top:1px solid var(--line);font-size:13px;align-items:center}
:is(.dashboard-v5,.property-dialog) .group-row .monthly{color:var(--muted);font-size:11px}
:is(.dashboard-v5,.property-dialog) .child-box{background:#eef0f3;border-radius:13px;padding:14px;margin-top:14px}
:is(.dashboard-v5,.property-dialog) .child-box-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}
:is(.dashboard-v5,.property-dialog) .child-box strong{font-size:16px}
:is(.dashboard-v5,.property-dialog) .child-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:8px}
:is(.dashboard-v5,.property-dialog) .child-item{background:rgba(255,255,255,.55);padding:10px;border-radius:10px}
:is(.dashboard-v5,.property-dialog) .child-item span{font-size:11px;color:var(--muted);display:block}
:is(.dashboard-v5,.property-dialog) .child-item b{font-size:14px}
:is(.dashboard-v5,.property-dialog) .page-intro{margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .page-intro h2{margin:0 0 6px}
:is(.dashboard-v5,.property-dialog) .page-intro p{margin:0;color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .finance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .mini-kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}
:is(.dashboard-v5,.property-dialog) .mini-kpi span{font-size:11px;color:var(--muted);display:block}
:is(.dashboard-v5,.property-dialog) .mini-kpi strong{font-size:21px;margin-top:6px;display:block}
:is(.dashboard-v5,.property-dialog) .placeholder{display:grid;place-items:center;min-height:58vh}
:is(.dashboard-v5,.property-dialog) .placeholder-card{max-width:550px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:38px;text-align:center;box-shadow:var(--shadow)}
:is(.dashboard-v5,.property-dialog) .placeholder-card p{color:var(--muted);line-height:1.6}
:is(.dashboard-v5,.property-dialog) .modal-backdrop{position:fixed;inset:0;background:rgba(10,18,32,.46);display:grid;place-items:center;padding:22px;z-index:30;overflow:auto}
:is(.dashboard-v5,.property-dialog) .modal{width:min(980px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 28px 90px rgba(10,18,32,.28);position:relative}
:is(.dashboard-v5,.property-dialog) .close{position:absolute;right:17px;top:12px;border:0;background:transparent;font-size:28px;color:var(--muted);cursor:pointer}
:is(.dashboard-v5,.property-dialog) .modal h2{margin:0 40px 4px 0}
:is(.dashboard-v5,.property-dialog) .modal-sub{color:var(--muted);font-size:13px;margin-bottom:18px}
:is(.dashboard-v5,.property-dialog) .detail-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}
:is(.dashboard-v5,.property-dialog) .detail-box{border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:16px}
:is(.dashboard-v5,.property-dialog) .detail-box h3{font-size:15px;margin:0 0 13px}
:is(.dashboard-v5,.property-dialog) .identity-address{font-size:14px;font-weight:750;margin-bottom:5px}
:is(.dashboard-v5,.property-dialog) .identity-owner{font-size:12px;color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .unit-card{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
:is(.dashboard-v5,.property-dialog) .unit-card:first-of-type{border-top:0;padding-top:0;margin-top:0}
:is(.dashboard-v5,.property-dialog) .unit-top{display:flex;justify-content:space-between;gap:12px}
:is(.dashboard-v5,.property-dialog) .unit-title{font-size:13px;font-weight:800}
:is(.dashboard-v5,.property-dialog) .status{font-size:10px;border-radius:99px;padding:4px 8px;background:#eaf7f1;color:var(--good);font-weight:800;height:max-content}
:is(.dashboard-v5,.property-dialog) .status.work{background:#fff5e7;color:var(--warn)}
:is(.dashboard-v5,.property-dialog) .tenant{font-size:12px;color:var(--muted);margin:4px 0 8px}
:is(.dashboard-v5,.property-dialog) .rent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
:is(.dashboard-v5,.property-dialog) .rent-cell{background:#f7f9fc;border-radius:9px;padding:8px}
:is(.dashboard-v5,.property-dialog) .rent-cell span{display:block;font-size:10px;color:var(--muted)}
:is(.dashboard-v5,.property-dialog) .rent-cell b{font-size:12px}
:is(.dashboard-v5,.property-dialog) .metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
:is(.dashboard-v5,.property-dialog) .metric{background:#f7f9fc;border-radius:11px;padding:12px}
:is(.dashboard-v5,.property-dialog) .metric span{font-size:10px;color:var(--muted);display:block;margin-bottom:4px}
:is(.dashboard-v5,.property-dialog) .metric strong{font-size:16px}
:is(.dashboard-v5,.property-dialog) .metric-note{font-size:11px;color:var(--muted);line-height:1.45;margin-top:10px}
:is(.dashboard-v5,.property-dialog) .loan-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
:is(.dashboard-v5,.property-dialog) .loan-item{border:1px solid var(--line);border-radius:10px;padding:10px}
:is(.dashboard-v5,.property-dialog) .loan-item span{font-size:10px;color:var(--muted);display:block}
:is(.dashboard-v5,.property-dialog) .loan-item b{font-size:13px}
:is(.dashboard-v5,.property-dialog) .history-banner{background:#f6f8fb;border:1px solid var(--line);border-radius:12px;padding:13px;margin-bottom:12px}
:is(.dashboard-v5,.property-dialog) .history-banner strong{font-size:18px;display:block;margin-top:4px}
:is(.dashboard-v5,.property-dialog) .history-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
:is(.dashboard-v5,.property-dialog) .history-item{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff}
:is(.dashboard-v5,.property-dialog) .history-item span{font-size:10px;color:var(--muted);display:block}
:is(.dashboard-v5,.property-dialog) .history-item b{font-size:13px}
:is(.dashboard-v5,.property-dialog) .neg{color:var(--bad)}
:is(.dashboard-v5,.property-dialog) .pos{color:var(--good)}
@media(max-width:1150px){:is(.dashboard-v5,.property-dialog) .top-cards{grid-template-columns:1fr}
:is(.dashboard-v5,.property-dialog) .property-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:850px){:is(.dashboard-v5,.property-dialog) .app{grid-template-columns:1fr}
:is(.dashboard-v5,.property-dialog) .sidebar{height:auto;position:relative}
:is(.dashboard-v5,.property-dialog) .nav{grid-template-columns:repeat(3,1fr)}
:is(.dashboard-v5,.property-dialog) .version{display:none}
:is(.dashboard-v5,.property-dialog) .main{padding:20px}
:is(.dashboard-v5,.property-dialog) .two-col,:is(.dashboard-v5,.property-dialog) .detail-grid{grid-template-columns:1fr}
:is(.dashboard-v5,.property-dialog) .finance-summary{grid-template-columns:1fr}
}
@media(max-width:560px){:is(.dashboard-v5,.property-dialog) .property-grid{grid-template-columns:1fr}
:is(.dashboard-v5,.property-dialog) .nav{grid-template-columns:repeat(2,1fr)}
:is(.dashboard-v5,.property-dialog) .rent-grid,:is(.dashboard-v5,.property-dialog) .metric-grid,:is(.dashboard-v5,.property-dialog) .loan-grid,:is(.dashboard-v5,.property-dialog) .child-breakdown{grid-template-columns:1fr}
}

:root{--bg:#f4f6f9;--ink:#172033;--muted:#6b7485;--line:#e5e9ef;--accent:#2f6fed;--shadow:0 8px 28px rgba(23,32,51,.06);--radius:16px}
.sidebar{background:#101827;padding:26px 18px;color:white}
.brand{padding:0 8px 26px}.brand-mark{width:42px;height:42px;flex-shrink:0}.brand strong{font-size:14px;font-weight:800}.brand span{color:#aeb7c7;font-size:12px}
.nav-item{color:#bcc5d4;padding:12px 14px}.nav-item:hover{background:#172033;color:#fff}.nav-item.active{background:white;color:#101827;font-weight:750}
.sidebar-footer{border-top:1px solid #293245;padding:18px 8px 0}
.main{padding:28px 32px 50px}.topbar{position:static;height:auto;padding:0;background:transparent;backdrop-filter:none;border:0;align-items:flex-start;margin-bottom:22px;gap:18px}.topbar h1{font-size:28px;margin:0}.topbar p{margin:6px 0 0;color:var(--muted)}.content{padding:0}.user-switcher{flex-wrap:wrap;justify-content:flex-end}
.dashboard-v5 .property-card{text-align:left;color:inherit;font:inherit;width:100%}.dashboard-v5 .property-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.dashboard-v5 table{border-collapse:collapse;min-width:0}.dashboard-v5 th,.dashboard-v5 td{white-space:normal;border-right:0;position:static;background:transparent!important}.dashboard-v5 tr:first-child td{font-weight:normal}.dashboard-v5 th:first-child,.dashboard-v5 td:first-child{text-align:left}.dashboard-v5 .badge{border-radius:10px}
.dashboard-v5 .two-col>*,.dashboard-v5 .group-row>*{min-width:0}.dashboard-v5 .panel-head{flex-wrap:wrap}
.property-dialog{border:0;width:min(980px,calc(100% - 32px));max-height:92vh;overflow:auto;border-radius:20px;padding:24px;color:var(--ink);box-shadow:0 28px 90px rgba(10,18,32,.28)}.property-dialog::backdrop{background:rgba(10,18,32,.46)}.property-dialog h2{margin:0 40px 4px 0}.property-dialog .rent-grid{margin-top:10px}.property-dialog .close{cursor:pointer}.property-dialog .unit-card:first-of-type{border:0}
@media(max-width:1150px){.dashboard-v5 .top-cards{grid-template-columns:1fr}.dashboard-v5 .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:851px) and (max-width:1000px){.app-shell{grid-template-columns:245px 1fr}.brand div:not(.brand-mark){font-size:14px}.nav-item{font-size:inherit}.nav-item:before{display:none}}
@media(max-width:850px){.app-shell{display:block}.sidebar{height:auto;position:relative}.brand{display:flex}.brand div:not(.brand-mark){font-size:14px}.nav-item{font-size:13px;white-space:normal}.nav-item:before{display:none}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-footer{display:none}.main{padding:20px}.dashboard-v5 .two-col,.property-dialog .detail-grid{grid-template-columns:1fr}}
@media(max-width:560px){nav{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{flex-direction:column}.dashboard-v5 .property-grid{grid-template-columns:1fr}.dashboard-v5 .group-row{grid-template-columns:1fr auto;gap:8px}.dashboard-v5 .group-row .monthly{grid-row:2;grid-column:1/-1}.dashboard-v5 .big-value{font-size:25px}.dashboard-v5 .child-breakdown{grid-template-columns:1fr}}
.household-profile{margin:18px 0}.household-profile>summary{cursor:pointer;font-weight:600}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px}.profile-columns li{margin:8px 0;line-height:1.5}.profile-investment{grid-column:1/-1;font-size:12px;padding:6px 0}.profile-investment summary{cursor:pointer}.profile-investment .lines{margin-top:8px}.profile-columns .row span{flex:1}.profile-columns .row strong{text-align:right;max-width:65%}@media(max-width:800px){.profile-columns{grid-template-columns:1fr}}
