:root{--egg:#351044;--egg2:#1b0825;--pink:#ff2e9b;--green:#79e23d;--ink:#f8f5fb;--muted:#b9a9c4;--card:#26102f;--line:#573063}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 30% -10%,#5b176e 0,#1b0825 35%,#100716 100%);color:var(--ink);font-family:Inter,Arial,sans-serif;min-height:100vh}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;background:#15081dd9;border-bottom:1px solid #5b2c67;position:sticky;top:0;z-index:20;backdrop-filter:blur(8px)}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none}.brand img{width:54px;height:54px;object-fit:contain}.brand span{display:flex;flex-direction:column}.brand b{font-size:20px}.brand small{color:var(--green)}nav{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}nav a,.btn{color:white;text-decoration:none;border:1px solid #673475;background:#2b1035;padding:9px 12px;border-radius:9px;font-weight:700;cursor:pointer}nav a:hover,.btn:hover{border-color:var(--pink)}.btn.primary{background:var(--pink);border-color:var(--pink)}.btn.green{background:#39771f;border-color:var(--green)}.navbtn{display:none}main{max-width:1600px;margin:auto;padding:22px}.hero{text-align:center;padding:70px 20px}.hero img{width:150px}.hero h1{font-size:46px;margin:10px}.hero p{color:var(--muted);font-size:18px}.login{max-width:430px;margin:20px auto;background:#21102a;border:1px solid #5b3166;border-radius:18px;padding:24px}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.card{background:linear-gradient(180deg,#2a1134,#1e0d27);border:1px solid #583065;border-radius:16px;padding:18px}.span3{grid-column:span 3}.span4{grid-column:span 4}.span6{grid-column:span 6}.span8{grid-column:span 8}.span12{grid-column:span 12}.metric{font-size:34px;font-weight:900;color:var(--green)}h1,h2,h3{margin-top:0}h2{color:#fff}.pink{color:var(--pink)}.green{color:var(--green)}.muted{color:var(--muted)}label{display:block;font-weight:700;margin:9px 0 5px}input,select,textarea{width:100%;background:#14091b;color:white;border:1px solid #673b70;border-radius:9px;padding:11px;font:inherit}input[type=checkbox]{width:auto}.row{display:flex;gap:10px;align-items:end}.row>*{flex:1}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #4d2859;white-space:nowrap}th{color:var(--green)}tr.complete{background:#173c22}tr.dead{background:#501725}tr.active{background:#2e3e20}.flash{padding:12px;border-radius:10px;background:#183b22;border:1px solid var(--green);margin-bottom:14px}.error{background:#481527;border-color:var(--pink)}.tabs{display:flex;gap:8px;margin-bottom:15px}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#492255;color:#fff;font-size:12px}.tvbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.switch{display:flex;gap:8px;align-items:center}.switch input{width:auto}.chart{height:180px;width:100%}.chart svg{width:100%;height:100%;overflow:visible}.chart text{fill:#bfaec8;font-size:10px}.chart .gridline{stroke:#4d2859;stroke-width:1}.chart polyline{fill:none;stroke:var(--pink);stroke-width:3}.chart polyline.alt{stroke:var(--green)}.score{font-size:18px}.score b{color:var(--green)}.chatlayout{display:grid;grid-template-columns:280px 1fr;gap:14px}.chatlist button{width:100%;text-align:left;margin:4px 0}.messages{height:430px;overflow:auto;background:#14091b;border-radius:12px;padding:12px}.bubble{max-width:75%;padding:9px 12px;border-radius:12px;background:#3a1746;margin:8px 0}.bubble.mine{margin-left:auto;background:#5c1749}.bubble small{display:block;color:#c4b1ca;margin-top:4px}.tv main{max-width:none;padding:12px}.tv header{height:64px}.tv .card{padding:12px}.tv .chart{height:145px}.tv footer{font-size:20px}.tv .metric{font-size:30px}footer{text-align:center;padding:20px;color:var(--green);font-weight:900;letter-spacing:2px}@media(max-width:900px){.span3,.span4,.span6,.span8{grid-column:span 12}.navbtn{display:block;background:none;color:white;border:1px solid #673475;border-radius:8px;padding:8px 12px}nav{display:none;position:absolute;top:76px;left:0;right:0;background:#15081d;padding:10px}nav.open{display:grid;grid-template-columns:1fr 1fr}.row{flex-direction:column;align-items:stretch}.chatlayout{grid-template-columns:1fr}.chatlist{max-height:160px;overflow:auto}.hero h1{font-size:34px}}/* Department color system: consistent across both dashboards and TV mode. */
:root{--dept-bd:#7d3cff;--dept-leasing:#ff2e9b;--dept-maintenance:#79e23d;--dept-operations:#8b78ff;--dept-admin:#f2c94c;--dept-reviews:#ff8a3d;--dept-company:#e9e3ee}
.card[class*="dept-"]{border-top-width:4px}.depttag{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px;opacity:.9}.dept-bd{border-color:var(--dept-bd)!important}.dept-bd h2,.dept-bd h3,.dept-bd .depttag,.dept-bd .metric,.dept-bd b{color:var(--dept-bd)}.dept-leasing{border-color:var(--dept-leasing)!important}.dept-leasing h2,.dept-leasing h3,.dept-leasing .depttag,.dept-leasing .metric,.dept-leasing b{color:var(--dept-leasing)}.dept-maintenance{border-color:var(--dept-maintenance)!important}.dept-maintenance h2,.dept-maintenance h3,.dept-maintenance .depttag,.dept-maintenance .metric,.dept-maintenance b{color:var(--dept-maintenance)}.dept-operations{border-color:var(--dept-operations)!important}.dept-operations h2,.dept-operations h3,.dept-operations .depttag,.dept-operations .metric,.dept-operations b{color:var(--dept-operations)}.dept-admin{border-color:var(--dept-admin)!important}.dept-admin h2,.dept-admin h3,.dept-admin .depttag,.dept-admin .metric,.dept-admin b{color:var(--dept-admin)}.dept-reviews{border-color:var(--dept-reviews)!important}.dept-reviews h2,.dept-reviews h3,.dept-reviews .depttag,.dept-reviews .metric,.dept-reviews b{color:var(--dept-reviews)}.dept-company{border-color:var(--dept-company)!important}.dept-company h2,.dept-company h3,.dept-company .depttag,.dept-company .metric,.dept-company b{color:var(--dept-company)}
.dept-bd .chart polyline{stroke:var(--dept-bd)}.dept-leasing .chart polyline{stroke:var(--dept-leasing)}.dept-maintenance .chart polyline{stroke:var(--dept-maintenance)}.dept-operations .chart polyline{stroke:var(--dept-operations)}.dept-admin .chart polyline{stroke:var(--dept-admin)}.dept-reviews .chart polyline{stroke:var(--dept-reviews)}.dept-company .chart polyline{stroke:var(--dept-company)}.chart polyline.alt{stroke:var(--green)!important;stroke-dasharray:7 5}.eggplant{letter-spacing:0;font-size:1.05em}

.calcrow td{background:rgba(255,255,255,.035);font-size:.92em}.calcrow small{opacity:.65}.readonly-value{display:inline-block;padding:10px 12px;font-weight:800;color:var(--green,#8fe600)}
/* v1.8 trend chart readability: legends + a visible value at every month. */
.chartlegend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;min-height:24px;margin:-3px 0 3px;color:#e8dfee;font-size:12px;font-weight:800}.legenditem{display:inline-flex;gap:6px;align-items:center}.legenddot{width:10px;height:10px;border-radius:999px;display:inline-block}.primarydot{background:currentColor}.altdot{background:var(--green)}.dept-bd .primarydot{background:var(--dept-bd)}.dept-leasing .primarydot{background:var(--dept-leasing)}.dept-maintenance .primarydot{background:var(--dept-maintenance)}.dept-operations .primarydot{background:var(--dept-operations)}.dept-admin .primarydot{background:var(--dept-admin)}.dept-reviews .primarydot{background:var(--dept-reviews)}.dept-company .primarydot{background:var(--dept-company)}.chart.labeled{height:205px}.chart .point{fill:var(--pink);stroke:#18071f;stroke-width:1.5}.dept-bd .chart .point{fill:var(--dept-bd)}.dept-leasing .chart .point{fill:var(--dept-leasing)}.dept-maintenance .chart .point{fill:var(--dept-maintenance)}.dept-operations .chart .point{fill:var(--dept-operations)}.dept-company .chart .point{fill:var(--dept-company)}.chart .point.altpoint{fill:var(--green)}.chart .value-label{fill:#fff;font-size:9.5px;font-weight:900;paint-order:stroke;stroke:#18071f;stroke-width:2px;stroke-linejoin:round}.chart .value-label.altvalue{fill:var(--green)}.chart .monthlabel{font-size:9px}.tv .chart.labeled{height:175px}.tv .chart .value-label{font-size:9px}.tv .chartlegend{font-size:11px}
/* v1.9 Dashboard 2: full trend wallboard matching the approved dense TV concept. */
.trend-dashboard{display:flex;flex-direction:column;gap:12px}.trend-section{border:1px solid #573063;border-top:3px solid currentColor;border-radius:15px;background:linear-gradient(180deg,rgba(42,17,52,.84),rgba(24,9,31,.88));padding:10px 12px;color:var(--dept-company)}.trend-section.dept-bd{color:var(--dept-bd)}.trend-section.dept-leasing{color:var(--dept-leasing)}.trend-section.dept-maintenance{color:var(--dept-maintenance)}.trend-section.dept-operations{color:var(--dept-operations)}.trend-section.dept-admin{color:var(--dept-admin)}.trend-section.dept-reviews{color:var(--dept-reviews)}.trend-section-title{display:flex;align-items:baseline;gap:10px;text-transform:uppercase;font-weight:900;letter-spacing:.04em;margin-bottom:7px}.trend-section-title span{font-size:18px}.trend-section-title small{color:#d8cadd;text-transform:none;letter-spacing:0;font-weight:600}.trend-section-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}.trend-panel{min-width:0;padding:6px 8px;border-left:1px solid rgba(255,255,255,.08)}.trend-panel h3{font-size:13px;text-align:center;color:#fff;margin:0 0 2px;text-transform:uppercase}.trend-normal{grid-column:span 3}.trend-wide{grid-column:span 6}.trend-full{grid-column:span 12}.trend-panel .chartlegend{justify-content:center;min-height:20px;margin:0;font-size:10px}.trend-panel .chart.labeled{height:150px}.trend-panel .chart .value-label{font-size:8px}.trend-panel .chart .monthlabel{font-size:8px}.trend-panel .chart .series-line{fill:none;stroke-width:2.5}.trend-panel .chart .series-point{stroke:#18071f;stroke-width:1.2}.trend-section{--series-a:currentColor;--series-b:var(--green);--series-c:var(--pink);--series-d:#f2c94c;--series-e:#d5b3ff}.trends-head h1{margin-bottom:2px}
.tv.trends-tv header{display:none}.tv.trends-tv main{padding:7px 10px}.tv.trends-tv .trends-head{margin-bottom:7px}.tv.trends-tv .trends-head h1{font-size:25px;margin:0}.tv.trends-tv .trend-dashboard{gap:6px}.tv.trends-tv .trend-section{padding:5px 7px;border-radius:10px}.tv.trends-tv .trend-section-title{margin-bottom:2px}.tv.trends-tv .trend-section-title span{font-size:14px}.tv.trends-tv .trend-section-title small{font-size:9px}.tv.trends-tv .trend-section-grid{gap:3px}.tv.trends-tv .trend-panel{padding:2px 5px}.tv.trends-tv .trend-panel h3{font-size:9px;margin-bottom:0}.tv.trends-tv .trend-panel .chartlegend{font-size:7px;min-height:13px;gap:7px}.tv.trends-tv .trend-panel .legenddot{width:6px;height:6px}.tv.trends-tv .trend-panel .chart.labeled{height:91px}.tv.trends-tv .trend-panel .chart .value-label{font-size:6.2px}.tv.trends-tv .trend-panel .chart .monthlabel{font-size:6px}.tv.trends-tv footer{display:none}
@media(max-width:1100px){.trend-normal{grid-column:span 6}.trend-wide,.trend-full{grid-column:span 12}}@media(max-width:650px){.trend-normal,.trend-wide,.trend-full{grid-column:span 12}.trend-panel .chart.labeled{height:190px}}


/* v2.0 Dashboard 2 exact 16:9 wallboard rebuild */
#tv-fit-wrap{width:100%}
.trends-board{
    --board-bg:#0d0716;
    --panel-bg:#171020;
    --line:#5c3b70;
    width:100%;
    background:radial-gradient(circle at 50% 0,#1b0d27 0,#0d0716 46%,#09050f 100%);
    border:1px solid #5c3b70;
    color:#fff;
    overflow:hidden;
    box-sizing:border-box;
}
.board-head{height:76px;display:grid;grid-template-columns:360px 1fr 520px;align-items:center;border-bottom:1px solid #6d447e;padding:0 18px;box-sizing:border-box}
.board-brand img{height:54px;max-width:320px;object-fit:contain;object-position:left center}
.board-title{text-align:center}
.board-title h1{font-size:32px;line-height:1;margin:0;font-weight:900;letter-spacing:.03em}
.board-title>div{font-size:15px;letter-spacing:.16em;margin-top:6px}
.board-controls{display:flex;justify-content:flex-end;align-items:center;gap:20px}
.board-switch{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}
.board-switch input{width:42px;height:22px}
.refresh-box,.clock-box{border-left:1px solid #725381;padding-left:18px;text-align:center;min-width:108px}
.refresh-box small{display:block;font-size:10px}.refresh-box b{font-size:24px;color:#79e23d}
.clock-box b{display:block;color:#ff2e9b;font-size:14px}.clock-box span{font-size:13px}

.wall-section{margin:6px 10px 0;border:1px solid #5a3b6a;border-radius:9px;background:rgba(22,12,31,.93);overflow:hidden}
.wall-section-title{height:25px;display:flex;align-items:center;gap:8px;padding:0 10px;font-size:15px;font-weight:900;letter-spacing:.02em}
.wall-section-title small{color:#d5c6db;font-weight:500;font-size:10px}
.wall-bd .wall-section-title{color:#a86cff}.wall-leasing .wall-section-title{color:#ff2e9b}
.wall-maint .wall-section-title{color:#79e23d}.wall-operations .wall-section-title{color:#a98cff}
.wall-rent .wall-section-title{color:#ff2e9b}.wall-admin .wall-section-title{color:#f2c94c}
.wall-reviews .wall-section-title{color:#ff8a3d}
.wall-chart{min-width:0;padding:3px 8px 0;border-left:1px solid rgba(255,255,255,.12);box-sizing:border-box}
.wall-chart:first-child{border-left:0}
.wall-chart h3,.wall-score h3{font-size:10px;text-align:center;margin:0 0 1px;color:#fff;font-weight:800;white-space:nowrap}
.microchart{height:118px}.microchart.timing{height:96px}
.microchart svg{width:100%;height:100%;overflow:visible}
.microchart .gridline{stroke:#54325f;stroke-width:.8}
.microchart .series-line{fill:none;stroke-width:2.4}
.microchart .series-point{stroke:#09050f;stroke-width:1}
.microchart .value-label{font-size:7.5px;font-weight:900;paint-order:stroke;stroke:#09050f;stroke-width:2px;stroke-linejoin:round}
.microchart .monthlabel{font-size:6.5px;fill:#d5c6db}
.wall-chart .chartlegend{justify-content:center;min-height:15px;margin:0;gap:8px;font-size:7.5px}
.wall-chart .legenditem{gap:4px}.wall-chart .legenditem i{width:7px;height:7px;border-radius:2px;display:inline-block}

.bd-grid{display:grid;grid-template-columns:1fr .92fr 1.05fr 1.28fr;height:153px}
.leasing-top{display:grid;grid-template-columns:repeat(7,1fr);height:115px}
.leasing-top .microchart{height:83px}.leasing-top .wall-chart h3{font-size:8px}
.leasing-top .wall-chart .chartlegend{font-size:6px;gap:4px}
.leasing-bottom{display:grid;grid-template-columns:repeat(3,1fr);height:105px;border-top:1px solid rgba(255,255,255,.09)}
.middle-grid{display:grid;grid-template-columns:1.48fr 1.03fr .95fr;gap:6px;margin:6px 10px 0;height:255px}
.middle-grid .wall-section{margin:0;height:255px}
.maint-top{display:grid;grid-template-columns:.9fr 1.35fr;height:125px}
.maint-top .microchart{height:91px}
.maint-bottom{display:grid;grid-template-columns:repeat(5,1fr);height:105px;border-top:1px solid rgba(255,255,255,.09)}
.maint-bottom .microchart{height:73px}.maint-bottom h3{font-size:7px;white-space:normal}
.ops-top{display:grid;grid-template-columns:1fr 1fr;height:113px}
.ops-top .microchart{height:80px}.ops-bottom{display:grid;grid-template-columns:repeat(3,1fr);height:116px;border-top:1px solid rgba(255,255,255,.09)}
.ops-bottom .microchart{height:84px}.ops-bottom h3{font-size:7px;white-space:normal}
.rent-chart{height:224px}.rent-chart .microchart{height:190px}
.bottom-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:6px;margin:6px 10px 0;height:192px}
.bottom-grid .wall-section{margin:0;height:192px}
.admin-grid{display:grid;grid-template-columns:.8fr 1fr 1.4fr;height:162px}
.admin-grid .microchart{height:129px}
.reviews-grid{display:grid;grid-template-columns:1.05fr .95fr;height:162px}
.reviews-grid .microchart{height:129px}
.wall-score{padding:3px 10px;border-left:1px solid rgba(255,255,255,.12)}
.score-row{display:flex;justify-content:space-between;border-bottom:1px solid #392941;padding:3px 4px;font-size:10px}
.score-row b{color:#ff8a3d}
.board-foot{height:36px;margin-top:6px;border-top:1px solid #6d447e;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 28px;font-size:13px;letter-spacing:.06em}
.board-foot>span:nth-child(2){text-align:center}.board-foot>span:nth-child(3){text-align:right}
.foot-logo img{height:25px;width:auto;vertical-align:middle;margin-right:5px}
.trends-board .green{color:#79e23d}.trends-board .pink{color:#ff2e9b}

/* Desktop/non-TV preview: keep the exact wallboard composition but scale naturally. */
html:not(.trends-tv) .trends-board{max-width:1920px;margin:0 auto}
html:not(.trends-tv) #tv-fit-wrap{overflow-x:auto}
html:not(.trends-tv) .trends-board{min-width:1180px}

/* True TV mode: fixed 1920x1080 canvas scaled to the physical browser viewport. */
html.trends-tv,html.trends-tv body{width:100%;height:100%;margin:0;overflow:hidden;background:#09050f}
html.trends-tv body>header,html.trends-tv body>footer{display:none!important}
html.trends-tv body>main{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden!important}
html.trends-tv #tv-fit-wrap{position:fixed;inset:0;width:100vw;height:100vh;overflow:hidden}
html.trends-tv #tv-stage{
    position:absolute;left:50%;top:50%;
    width:1920px;height:1080px;
    transform-origin:center center;
    margin:0;
}
html.trends-tv .wall-section{margin-top:6px}
html.trends-tv .board-head{height:76px}
html.trends-tv .wall-bd{height:184px}
html.trends-tv .wall-leasing{height:251px}
html.trends-tv .board-foot{height:36px}
html.trends-tv .microchart .value-label{font-size:7.3px}
html.trends-tv .microchart .monthlabel{font-size:6.3px}

/* Smaller normal screens can scroll the wallboard instead of crushing it. */
@media(max-width:900px){
    html:not(.trends-tv) #tv-fit-wrap{overflow-x:auto}
}



/* v2.1 Dashboard 1 exact 16:9 wallboard rebuild */
#dash1-fit-wrap{width:100%}
.dash1-board{
    width:100%;
    color:#fff;
    background:radial-gradient(circle at 50% 0,#14131e 0,#07101a 46%,#05090e 100%);
    border:1px solid #254c62;
    overflow:hidden;
    box-sizing:border-box;
}
.dash1-head{height:70px;display:grid;grid-template-columns:360px 1fr 520px;align-items:center;border-bottom:1px solid #2d6078;padding:0 18px;box-sizing:border-box}
.dash1-brand img{height:50px;max-width:320px;object-fit:contain;object-position:left center}
.dash1-title{text-align:center}.dash1-title h1{font-size:31px;margin:0;font-weight:900;letter-spacing:.03em}.dash1-title>div{font-size:14px;letter-spacing:.14em;margin-top:3px}
.dash1-controls{display:flex;justify-content:flex-end;align-items:center;gap:18px}.dash1-switch{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.dash1-switch input{width:42px;height:22px}
.dash1-refresh,.dash1-clock{border-left:1px solid #2d6078;padding-left:15px;text-align:center;min-width:105px}.dash1-refresh small{display:block;font-size:9px}.dash1-refresh b{font-size:23px;color:#79e23d}.dash1-clock b{display:block;color:#ff2e9b;font-size:13px}.dash1-clock span{font-size:12px}

.top-metrics{height:150px;margin:6px 10px 0;border:1px solid #2d6078;border-radius:8px;display:grid;grid-template-columns:repeat(6,1fr);overflow:hidden;background:rgba(3,15,24,.86)}
.top-metric{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:8px;padding:10px 12px;border-left:1px solid #2d6078}
.top-metric:first-child{border-left:0}.top-metric .icon{font-size:34px;text-align:center}.top-metric small{display:block;font-size:11px;line-height:1.15;min-height:27px}.top-metric strong{display:block;font-size:44px;line-height:1;font-weight:900;margin:5px 0}.delta{display:block;font-size:10px}.delta.good{color:#79e23d}.delta.warn{color:#ff8a3d}.delta.neutral{color:#9ab0be}

.dash1-row{display:grid;gap:6px;margin:6px 10px 0}.dash-panel{border:1px solid #2d6078;border-radius:8px;background:rgba(3,15,24,.88);overflow:hidden;min-width:0}.panel-title{height:27px;display:flex;align-items:center;padding:0 10px;font-size:14px;font-weight:900;border-bottom:1px solid #1c455b;letter-spacing:.02em}.panel-title small{font-size:9px;color:#b6c8d3;margin-left:5px;font-weight:500}
.row-bd{grid-template-columns:1.05fr 1.7fr .58fr;height:245px}.portfolio-panel .snap-chart{height:190px}.portfolio-panel .chartlegend{padding:4px 10px 0;font-size:8px}
.bd-split{display:grid;grid-template-columns:1.3fr .7fr .8fr;height:217px}.bd-chart,.bd-current,.bd-calls{padding:7px 10px;border-left:1px solid #1c455b}.bd-chart:first-child{border-left:0}.bd-chart h3,.bd-current h3,.bd-calls h3{font-size:10px;text-align:center;margin:0 0 3px}.bd-chart .snap-chart{height:175px}.bd-chart .chartlegend{font-size:8px;justify-content:center;margin:0}
.bd-current{text-align:center}.bd-current strong{font-size:45px;display:block;margin-top:10px}.bd-current>span{font-size:11px}.bd-current .delta{margin-top:5px}.bd-current .spark{height:80px;margin-top:3px}
.bd-calls h3 small{color:#b6c8d3}.bd-calls>div{display:flex;justify-content:space-between;padding:8px 2px;border-bottom:1px solid #1c455b;font-size:11px}.bd-calls>div b{font-size:18px}
.reviews-panel{padding-bottom:4px}.reviews-panel .score-row{font-size:10px;padding:5px 8px}

.row-leasing{grid-template-columns:1.65fr 1.05fr;height:165px}.lease-metrics{display:grid;grid-template-columns:repeat(5,1fr);height:137px}.lease-box{padding:8px;border-left:1px solid #1c455b;text-align:center}.lease-box:first-child{border-left:0}.lease-icon{font-size:18px}.lease-box small{display:block;font-size:9px;min-height:22px}.lease-box strong{display:block;font-size:26px;color:#ff2e9b}.lease-box .delta{font-size:8px}
.timing-grid{display:grid;grid-template-columns:repeat(3,1fr);height:137px}.timing-grid>div{text-align:center;padding:18px 8px;border-left:1px solid #1c455b}.timing-grid>div:first-child{border-left:0}.timing-grid small{font-size:9px}.timing-grid strong{display:block;font-size:32px;color:#79e23d;margin-top:9px}

.row-core{grid-template-columns:1.28fr .66fr .58fr;height:220px}.maint-grid{display:grid;grid-template-columns:repeat(5,1fr);height:192px}.maint-box{text-align:center;padding:10px 6px;border-left:1px solid #1c455b;border-top:1px solid #1c455b}.maint-box:nth-child(-n+5){border-top:0}.maint-box:nth-child(5n+1){border-left:0}.maint-box small{display:block;font-size:8px;min-height:19px}.maint-box strong{font-size:21px;color:#79e23d}
.ops-grid{display:grid;grid-template-columns:repeat(3,1fr);height:192px}.ops-grid>div{text-align:center;padding:12px 5px;border-left:1px solid #1c455b;border-top:1px solid #1c455b}.ops-grid>div:nth-child(-n+3){border-top:0}.ops-grid>div:nth-child(3n+1){border-left:0}.ops-grid small{display:block;font-size:8px;min-height:20px}.ops-grid strong{font-size:25px;color:#a98cff}
.rent-grid{display:grid;grid-template-rows:repeat(4,1fr);height:192px}.rent-grid>div{display:grid;grid-template-columns:1.1fr .8fr .7fr;align-items:center;padding:5px 8px;border-top:1px solid #1c455b}.rent-grid>div:first-child{border-top:0}.rent-grid small{font-size:8px}.rent-grid span{font-size:9px}.rent-grid span b{font-size:15px}.rent-grid strong{font-size:21px;color:#79e23d;text-align:right}

.row-bottom{grid-template-columns:.72fr 1.12fr .6fr;height:145px}.admin-summary{display:grid;grid-template-columns:repeat(3,1fr);height:117px}.admin-summary>div{text-align:center;padding:17px 5px;border-left:1px solid #1c455b}.admin-summary>div:first-child{border-left:0}.admin-summary small{display:block;font-size:8px}.admin-summary strong{display:block;font-size:28px;color:#f2c94c}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);height:117px}.category-grid>div{text-align:center;padding:10px 4px;border-left:1px solid #1c455b}.category-grid>div:first-child{border-left:0}.category-grid span{display:block;font-size:18px}.category-grid small{display:block;font-size:8px;min-height:20px}.category-grid strong{font-size:24px}
.status-content{height:117px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px}.status-content .eggplant{font-size:42px}.status-content b{display:block;color:#79e23d;font-size:12px}.status-content small{display:block;color:#a7bdc8;font-size:8px;margin-top:5px}

.dash1-foot{height:42px;margin-top:6px;border-top:1px solid #2d6078;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 28px;font-size:13px;letter-spacing:.06em}.dash1-foot>span:nth-child(2){text-align:center}.dash1-foot>span:nth-child(3){text-align:right}
.dash1-board .snap-chart svg{width:100%;height:100%;overflow:visible}.dash1-board .gridline{stroke:#244558;stroke-width:.8}.dash1-board .series-line{fill:none;stroke-width:2.2}.dash1-board .series-point{stroke:#05090e;stroke-width:1}.dash1-board .monthlabel{fill:#b4c7d0;font-size:7px}.dash1-board .chartlegend{display:flex;gap:8px;flex-wrap:wrap}.dash1-board .legenditem{display:flex;align-items:center;gap:4px}.dash1-board .legenditem i{width:7px;height:7px;border-radius:2px;display:inline-block}

.dash1-board .dept-bd{border-color:#8d55ff!important}.dash1-board .dept-leasing{border-color:#ff2e9b!important}.dash1-board .dept-maintenance{border-color:#79e23d!important}.dash1-board .dept-operations{border-color:#a98cff!important}.dash1-board .dept-reviews{border-color:#f2c94c!important}.dash1-board .dept-company{border-color:#e9e3ee!important}

/* normal viewing keeps the exact dashboard composition */
html:not(.dash1-tv) .dash1-board{max-width:1920px;min-width:1180px;margin:0 auto}
html:not(.dash1-tv) #dash1-fit-wrap{overflow-x:auto}

/* TV Mode: fixed 1920x1080 design canvas scaled to viewport */
html.dash1-tv,html.dash1-tv body{width:100%;height:100%;margin:0;overflow:hidden;background:#05090e}
html.dash1-tv body>header,html.dash1-tv body>footer{display:none!important}
html.dash1-tv body>main{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden!important}
html.dash1-tv #dash1-fit-wrap{position:fixed;inset:0;width:100vw;height:100vh;overflow:hidden}
html.dash1-tv #dash1-stage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:center center;margin:0}



/* v2.2 Dashboard 1 graph readability */
.dash1-board .chartlegend{
    display:flex!important;
    align-items:center;
    flex-wrap:wrap;
    gap:10px!important;
    min-height:18px;
    color:#fff!important;
    font-size:9px!important;
    font-weight:800;
}
.dash1-board .chartlegend .legenditem{
    display:inline-flex!important;
    align-items:center;
    gap:5px;
    white-space:nowrap;
}
.dash1-board .chartlegend .legenditem i{
    width:9px!important;
    height:9px!important;
    border-radius:2px;
    flex:0 0 9px;
}
.dash1-board .value-label{
    font-size:8.5px;
    font-weight:900;
    paint-order:stroke;
    stroke:#05090e;
    stroke-width:2.4px;
    stroke-linejoin:round;
}
.dash1-board .monthlabel{
    font-size:7.3px!important;
    font-weight:700;
}
.dash1-board .bd-current .chartlegend{
    justify-content:center;
    margin-top:5px;
    margin-bottom:0;
    min-height:14px;
}
.dash1-board .bd-current .spark{
    height:68px;
}
html.dash1-tv .dash1-board .value-label{
    font-size:8.3px;
}


/* v2.3 BDM portfolio/unit-mix section */
.sectionrow td{
    background:rgba(121,226,61,.08);
    color:#79e23d;
    font-size:13px;
    letter-spacing:.03em;
    padding-top:12px!important;
    padding-bottom:12px!important;
    border-top:1px solid rgba(121,226,61,.35)!important;
}

/* v2.9 Chat repair / Facebook-style messaging foundation */
.chatlayout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;align-items:stretch}
.chatlist{max-height:70vh;overflow:auto}
.chat-window{min-height:540px;display:flex;flex-direction:column}
.messages{flex:1;min-height:420px;max-height:60vh;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:rgba(0,0,0,.12);border-radius:10px}
.bubble{max-width:72%;align-self:flex-start;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:9px 11px;border-radius:12px}
.bubble.mine{align-self:flex-end;background:rgba(141,85,255,.20);border-color:rgba(141,85,255,.45)}
.bubble small{display:block;margin-top:5px;opacity:.65;font-size:10px}
.chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.chat-person{display:block;padding:5px 0}
@media(max-width:760px){.chatlayout{grid-template-columns:1fr}.chat-window{min-height:420px}.messages{min-height:300px}}

/* v3.0 Old-school Facebook-style global chat dock */
#global-chat-root{position:fixed;right:16px;bottom:0;z-index:5000;font-family:inherit}
.chat-dock-button{
    min-width:150px;height:38px;border:1px solid #70418c;border-bottom:0;border-radius:10px 10px 0 0;
    background:#2d163b;color:#fff;font-weight:800;padding:0 14px;cursor:pointer;
    display:flex;align-items:center;justify-content:center;gap:8px;
    box-shadow:0 -4px 18px rgba(0,0,0,.22)
}
.chat-dock-button b,.chat-badge{
    background:#ff2e9b;color:#fff;border-radius:999px;min-width:20px;height:20px;
    display:inline-flex;align-items:center;justify-content:center;padding:0 5px;font-size:11px
}
.chat-dock-button.has-unread{animation:chatPulse .55s ease-in-out 2}
@keyframes chatPulse{50%{transform:translateY(-5px);background:#4c2361}}
.chat-badge{vertical-align:middle;margin-left:3px}
.chat-dock-list{
    position:absolute;right:0;bottom:42px;width:330px;max-height:480px;
    background:#180d21;border:1px solid #70418c;border-radius:12px;
    overflow:hidden;box-shadow:0 16px 40px rgba(0,0,0,.45)
}
.chat-dock-head{height:44px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #553267}
.chat-dock-head a{font-size:11px;color:#79e23d;text-decoration:none}
.chat-dock-items{max-height:425px;overflow-y:auto}
.chat-dock-item{
    width:100%;border:0;border-bottom:1px solid #382145;background:transparent;color:#fff;
    padding:9px 10px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;cursor:pointer
}
.chat-dock-item:hover{background:rgba(141,85,255,.13)}
.chat-dock-item.unread{background:rgba(255,46,155,.09)}
.chat-avatar{width:34px;height:34px;border-radius:50%;background:#6b3b88;display:flex;align-items:center;justify-content:center;font-weight:900}
.chat-dock-copy{min-width:0}.chat-dock-copy strong,.chat-dock-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-dock-copy strong{font-size:13px}.chat-dock-copy small{font-size:10px;color:#a997b0;margin-top:3px}
.chat-unread-pill{background:#ff2e9b;border-radius:999px;padding:3px 7px;font-size:10px}
.chat-empty{padding:18px;color:#a997b0;font-size:12px}

.floating-chat-area{
    position:fixed;right:180px;bottom:0;z-index:4999;
    display:flex;flex-direction:row-reverse;align-items:flex-end;gap:8px;pointer-events:none
}
.floating-chat-window{
    width:310px;height:390px;background:#160d1d;border:1px solid #70418c;border-bottom:0;
    border-radius:10px 10px 0 0;display:flex;flex-direction:column;overflow:hidden;
    box-shadow:0 -8px 28px rgba(0,0,0,.38);pointer-events:auto
}
.floating-chat-window.minimized{height:38px}
.floating-chat-window.minimized .floating-chat-messages,
.floating-chat-window.minimized .floating-chat-compose,
.floating-chat-window.minimized .floating-chat-status{display:none}
.floating-chat-head{height:38px;min-height:38px;background:#3b2057;padding:0 9px;display:flex;align-items:center;justify-content:space-between;cursor:default}
.floating-chat-head strong{font-size:12px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.floating-chat-head div{display:flex;align-items:center;gap:3px}
.floating-chat-head a,.floating-chat-head button{width:25px;height:25px;border:0;background:transparent;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;border-radius:5px;cursor:pointer}
.floating-chat-head a:hover,.floating-chat-head button:hover{background:rgba(255,255,255,.12)}
.floating-chat-messages{flex:1;overflow-y:auto;padding:8px;background:#0f0914;display:flex;flex-direction:column;gap:6px}
.floating-bubble{align-self:flex-start;max-width:82%;padding:7px 9px;background:#2a1a32;border-radius:10px;color:#fff;font-size:12px;line-height:1.35}
.floating-bubble.mine{align-self:flex-end;background:#56306c}
.floating-bubble small{display:block;font-size:8px;color:#b6a7bd;margin-top:4px}
.floating-chat-compose{display:grid;grid-template-columns:1fr auto;gap:5px;padding:7px;background:#1d1026;border-top:1px solid #43294f}
.floating-chat-compose input{min-width:0;border-radius:8px;padding:7px 8px}
.floating-chat-compose button{border:0;border-radius:8px;padding:0 11px;background:#ff2e9b;color:#fff;font-weight:800;cursor:pointer}
.floating-chat-status{min-height:0;color:#ff7ebf;font-size:9px;padding:0 7px;background:#1d1026}
html.tv #global-chat-root,html.tv .floating-chat-area,
html.dash1-tv #global-chat-root,html.dash1-tv .floating-chat-area,
html.trends-tv #global-chat-root,html.trends-tv .floating-chat-area{display:none!important}
@media(max-width:760px){
    #global-chat-root{right:8px}
    .chat-dock-list{width:min(330px,calc(100vw - 16px))}
    .floating-chat-area{right:0;left:0;bottom:0;display:block}
    .floating-chat-window{position:fixed;left:6px;right:6px;bottom:0;width:auto;height:55vh}
    .floating-chat-window:not(:last-child){display:none}
}

/* v3.1 Keep unread message notification visible in the top navigation. */
.messages-nav{
    position:relative;
    display:inline-flex!important;
    align-items:center;
    gap:5px;
}
.messages-nav .nav-chat-badge{
    position:relative;
    top:-1px;
    min-width:19px;
    height:19px;
    padding:0 5px;
    border-radius:999px;
    background:#ff2e9b;
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:19px;
    text-align:center;
    box-shadow:0 0 0 2px rgba(255,46,155,.12);
}
/* TV mode keeps the normal site chrome hidden, including nav notifications. */
html.tv .messages-nav .nav-chat-badge,
html.dash1-tv .messages-nav .nav-chat-badge,
html.trends-tv .messages-nav .nav-chat-badge{display:none!important;}

/* v3.3 Password recovery */
.forgot-link{color:#ff62b4;text-decoration:none;font-weight:700;font-size:13px}
.forgot-link:hover{text-decoration:underline}

/* v3.6 header/footer branding only */
.brand b,
.brand-domain-color {
  background: linear-gradient(90deg,#ffffff 0%,#b987ff 28%,#ff2e9b 58%,#a7ef61 82%,#ffffff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
}
.brand-slogan-color {
  background: linear-gradient(90deg,#ff2e9b 0%,#b987ff 35%,#a7ef61 68%,#ff2e9b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
  font-weight:800;
}
