@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#18232d;--muted:#89939c;--green:#4dbb7b;--green-dark:#23965b;--green-pale:#e8f7ee;--coral:#ff6b50;--coral-pale:#ffebe6;--line:#edf0f1;--paper:#f5f6f5;--white:#fff;--nav:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:94px;background:#fff;border-right:1px solid #e9eceb;padding:24px 14px;display:flex;align-items:center;flex-direction:column;z-index:10}.brand{height:48px;width:48px;display:grid;place-items:center;margin-bottom:47px;color:#1f7350}.brand-mark{width:42px;height:42px;border:1px solid #e2e9e4;border-radius:50%;display:grid;place-items:center;font:700 23px Manrope;color:#3b9c6a;background:#fff}.brand>span:not(.brand-mark){display:none}.nav-label{display:none}.nav-link{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;margin:4px 0;color:#9ca7a8;font-size:21px}.nav-link span{font-size:21px;width:auto}.nav-link:hover,.nav-link.active{background:#eff8f2;color:#3db875}.nav-link.active:before{content:"";position:absolute;left:-15px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#4dbb7b}.sidebar-foot{margin-top:auto;font-size:0;color:transparent;padding:0;width:39px;height:39px;border-radius:50%;background:linear-gradient(140deg,#e8b095,#b86c4c);border:3px solid #f5e3d9}.main-area{margin-left:94px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:88px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 30px;border-bottom:1px solid #f0f1ef}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#4caa76;font-weight:700}.topbar h1{font:700 17px Manrope;margin:2px 0 0;letter-spacing:.3px;text-transform:uppercase}.user-chip{display:flex;align-items:center;gap:10px;font-weight:600;font-size:12px}.avatar{display:grid;place-items:center;background:#f0d3c2;color:#6f452e;width:35px;height:35px;border-radius:50%;font-weight:700}.page-content{padding:28px 30px;flex:1;max-width:1600px;width:100%;margin:0 auto}.footer{padding:15px 30px;color:#a0a8a8;font-size:10px;background:#fff}.footer span{float:right}.menu-toggle{display:none;border:0;background:none;font-size:22px}.dash-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.dash-intro h2{font:700 22px Manrope;margin:6px 0 5px}.dash-intro p{color:var(--muted);font-size:12px;margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:11px 15px;background:#18232d;color:white;font-weight:600;font-size:11px;cursor:pointer}.btn:hover{opacity:.9}.btn.green{background:#e7f7ec;color:#268f55;border:1px solid #a6d9b8}.btn.light{background:#fff;color:#66716f;border:1px solid #e6eae7}.dash-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:18px;align-items:start}.left-column,.right-column{display:flex;flex-direction:column;gap:16px;min-width:0}.promo-card{min-height:190px;border-radius:12px;overflow:hidden;position:relative;background:#143e42;color:#fff;display:flex;align-items:center;padding:22px 24px}.promo-copy{position:relative;z-index:2;max-width:58%}.promo-tag{font-size:8px;letter-spacing:1.7px;color:#9de1b8;font-weight:700}.promo-card h3{font:700 20px Manrope;line-height:1.3;margin:11px 0 7px}.promo-card p{font-size:10px;color:#d3e4e0;line-height:1.6;margin:0 0 15px}.promo-button{display:inline-flex;align-items:center;gap:17px;padding:10px 13px;background:#50c180;color:#123e2b;border-radius:7px;font-size:10px;font-weight:700}.promo-art{position:absolute;right:0;top:0;bottom:0;width:48%;overflow:hidden;background:repeating-radial-gradient(circle at 100% 20%,transparent 0 20px,#2b6261 21px 22px,transparent 23px 36px)}.art-sun{position:absolute;width:88px;height:88px;border-radius:50%;background:#f5f3df;right:52px;top:25px}.art-building{position:absolute;bottom:-7px;transform:skewY(-7deg);box-shadow:0 4px 0 #12353a}.building-one{right:35px;width:112px;height:111px;background:#fff;clip-path:polygon(0 28%,72% 0,100% 20%,100% 100%,0 100%)}.building-two{right:125px;width:63px;height:83px;background:#ff8a48}.art-building i{position:relative;display:inline-block;background:#5bbd8c;width:13px;height:17px;margin:44px 0 0 10px}.building-one i:nth-child(1){margin-left:52px}.building-one i{background:#54b98a}.building-two i{background:#ffe4bc;margin:31px 0 0 8px;width:10px;height:15px}.art-plant{position:absolute;right:174px;bottom:13px;color:#b5e7d1;font-size:32px}.surface{background:#fff;border:1px solid #edf0ef;border-radius:12px;padding:18px 18px 12px;box-shadow:0 2px 8px #1d302408}.surface-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.surface-heading h3{font:700 14px Manrope;margin:0 0 5px}.surface-heading p{font-size:10px;color:var(--muted);margin:0}.text-link{font-size:10px;color:#738079}.text-link span{color:#43ae70;margin-left:5px}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:8px}.mini-stat{border-radius:9px;padding:12px;display:flex;align-items:center;gap:11px;min-width:0}.available-stat{background:var(--green-pale)}.sold-stat{background:var(--coral-pale)}.mini-icon{width:5px;align-self:stretch;border-radius:6px;background:var(--green);font-size:0}.sold-stat .mini-icon{background:var(--coral)}.mini-stat b{font:800 21px Manrope;display:block}.mini-stat small{font-size:10px;color:#5b9e73;display:block;margin-top:3px}.sold-stat small{color:#db705d}.property-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f0f2f1;min-width:0}.property-row:last-child{border-bottom:0}.property-thumb{width:48px;height:47px;flex:0 0 48px;border-radius:8px;overflow:hidden;position:relative;background:linear-gradient(155deg,#e6ece3 0 40%,#d0dfd2 41% 59%,#a6bda9 60%);display:flex;align-items:center;justify-content:center}.property-thumb>span{position:absolute;top:4px;left:5px;font-size:7px;font-weight:800;color:#345c46;background:#ffffffa6;padding:2px 4px;border-radius:3px;z-index:2}.thumb-1{background:linear-gradient(145deg,#d8e3d8,#9db8a4)}.thumb-2{background:linear-gradient(145deg,#f1e4ca,#d5b789)}.thumb-3{background:linear-gradient(145deg,#e8dfd5,#c3d0c8)}.thumb-window{position:absolute;bottom:7px;width:8px;height:12px;background:#f7f5e7;border:1px solid #c2cbbd}.w1{left:10px}.w2{left:23px}.w3{left:36px}.property-info{min-width:0;flex:1}.property-info b{font-size:11px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-info small{display:block;font-size:9px;color:var(--muted);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-info small span{padding:0 3px}.property-price{text-align:right;font-size:10px;font-weight:700;white-space:nowrap}.property-price small{display:block;color:#a0a9a7;font-size:9px;font-weight:400;margin-top:5px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);flex:0 0 7px}.status-dot.sold{background:var(--coral)}.status-dot.reserved{background:#e4b04e}.status-dot.unavailable{background:#9ca6ae}.cashflow-surface{padding-bottom:17px}.date-chip{font-size:9px;color:#758079;border:1px solid #edf0ee;padding:7px 9px;border-radius:7px}.date-chip span{margin-left:9px}.cashflow-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cash-total{display:flex;align-items:stretch;gap:10px;border-radius:9px;padding:11px 10px;min-width:0;position:relative;overflow:hidden}.cash-total.income{background:#e8f7ee}.cash-total.commission{background:#ffebe6}.cash-bar{width:5px;border-radius:5px;background:var(--green);flex:0 0 5px}.commission .cash-bar{background:var(--coral)}.cash-total div{min-width:0}.cash-total small{font-size:9px;color:#6a9e7c;display:block;margin-bottom:6px}.commission small{color:#d77d6a}.cash-total b{font:800 14px Manrope;display:block;overflow-wrap:anywhere}.cash-icon{margin-left:auto;font-size:14px;color:#46ae75}.commission .cash-icon{color:var(--coral)}.chart-wrap{height:180px;display:flex;gap:9px;margin-top:23px}.chart-y{width:50px;display:flex;flex-direction:column;justify-content:space-between;color:#8b9690;font-size:8px;text-align:right;padding-bottom:21px}.bar-chart{flex:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;border-bottom:1px solid #e9eeeb;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#f0f3f1 44px,#f0f3f1 45px);min-width:0}.bar-group{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.bar-track{height:calc(100% - 20px);width:100%;display:flex;align-items:flex-end;justify-content:center}.bar{width:min(15px,75%);border-radius:4px 4px 0 0;min-height:3px}.income-bar{background:#62c78a;box-shadow:inset -3px 0 #43ae70}.bar-group small{height:20px;padding-top:7px;font-size:8px;color:#78847d}.chart-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:13px;font-size:9px;color:#87918b}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:7px;height:7px;border-radius:2px;display:inline-block}.legend-green{background:#62c78a}.legend-coral{background:#ff927c}.featured-card{background:#fff;border:1px solid #edf0ef;border-radius:12px;padding:15px;box-shadow:0 2px 8px #1d302408}.featured-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.featured-label{font-size:8px;letter-spacing:1.5px;color:#8b9690;font-weight:700}.featured-top>a{color:#8c9690;font-size:16px}.featured-photo{height:135px;position:relative;overflow:hidden;border-radius:9px;background:linear-gradient(120deg,#d8e4d8 0 16%,#f3f0e4 16% 25%,#d1dfd1 25% 55%,#f8f4e7 55% 62%,#b8cfbf 62% 100%)}.photo-building{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 27px,#ffffffaa 28px 33px,transparent 34px 56px),linear-gradient(180deg,transparent 0 68%,#6e9a7b 69% 100%)}.photo-building div{position:absolute;bottom:0;height:75%;width:12%;background:#f4f0e3;border:1px solid #c8d3c8;transform:skewY(-5deg)}.photo-building div:nth-child(1){left:8%}.photo-building div:nth-child(2){left:25%;height:88%}.photo-building div:nth-child(3){left:42%;height:80%}.photo-building div:nth-child(4){left:59%;height:92%}.photo-building div:nth-child(5){left:76%;height:78%}.photo-building div:nth-child(6){left:90%;height:85%}.photo-tag{position:absolute;left:10px;bottom:10px;background:#fff;color:#43875d;border-radius:5px;padding:6px 8px;font-size:9px;font-weight:700}.featured-detail{display:flex;align-items:center;justify-content:space-between;padding:14px 1px 12px}.featured-detail h3{font:700 13px Manrope;margin:0 0 5px}.featured-detail p{font-size:10px;color:var(--muted);margin:0}.feature-arrow{width:29px;height:29px;border:1px solid #e8ede9;border-radius:50%;display:grid;place-items:center;color:#4dbb7b}.featured-metrics{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0;border-top:1px solid #f0f2f0;border-bottom:1px solid #f0f2f0;gap:6px}.featured-metrics small{display:block;font-size:9px;color:#8b9690;margin-bottom:6px}.featured-metrics b{font:800 17px Manrope}.feature-link{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;color:#379b62;padding-top:13px}.empty{padding:25px 12px;text-align:center;color:var(--muted);font-size:11px}.alert{padding:13px 15px;border-radius:8px;margin-bottom:18px;background:#e9f6ed;color:#276b3b}.alert.error{background:#fff0f0;color:#9c3434}
/* Shared forms and tables */
.form-panel{max-width:900px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel h3{font:700 15px Manrope;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#8a948e;font-size:10px;letter-spacing:.8px;font-weight:700;padding:12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #f0f2f0;font-size:12px}tr:last-child td{border-bottom:0}.pill{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700;background:#edf6ef;color:#367449}.pill.vacant,.pill.pending,.pill.reserved{background:#fff4df;color:#9b7020}.pill.sold,.pill.inactive{background:#fbeaea;color:#a34343}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5e1;border-radius:7px;padding:11px 12px;font:13px 'DM Sans';background:white;color:var(--ink)}.field textarea{min-height:90px;resize:vertical}.field.full{grid-column:1/-1}.form-actions{display:flex;gap:10px;margin-top:22px}.muted{color:var(--muted)}.small-note{font-size:11px;color:var(--muted);line-height:1.6;margin-top:18px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eaf5ed,#f5f7f5)}.login-card{background:white;width:min(420px,calc(100% - 32px));padding:34px;border-radius:15px;box-shadow:0 20px 70px #173c2415}.login-card h1{font:800 23px Manrope;margin:0 0 8px}.login-card .brand{height:auto;width:auto;display:flex;justify-content:flex-start;align-items:center;margin:0 0 26px;color:var(--ink)}.login-card .brand>span:not(.brand-mark){display:block}.login-card .brand b{display:block;color:var(--ink)}.login-card .field{margin:18px 0}.login-card .btn{width:100%;padding:13px}
@media(max-width:1150px){.dash-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1.2fr 1fr;align-items:start}.promo-card{min-height:175px}}
@media(max-width:850px){.sidebar{width:72px;padding:20px 9px}.main-area{margin-left:72px}.topbar{padding:16px 20px}.page-content{padding:22px 20px}.right-column{grid-template-columns:1fr}.dash-intro h2{font-size:20px}}
@media(max-width:600px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;align-items:stretch;padding:20px 15px}.sidebar.open{transform:translateX(0)}.brand{width:auto;display:flex;justify-content:flex-start;align-items:center;margin-bottom:30px}.brand>span:not(.brand-mark){display:block}.brand b{display:block;color:var(--ink);font:800 14px Manrope}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#89939c;margin-top:4px}.nav-label{display:block;font-size:10px;letter-spacing:1.5px;color:#8b9690;padding:12px}.nav-link{display:flex;justify-content:flex-start;width:auto;padding:12px;gap:13px;font-size:13px;margin:2px 0}.nav-link span{width:22px;font-size:19px}.nav-link.active:before{left:-15px}.sidebar-foot{margin-top:auto;font-size:10px;color:#a0a8a8;background:none;border:0;width:auto;height:auto;border-radius:0;padding:16px 12px}.main-area{margin-left:0}.topbar{height:75px;padding:12px 15px;gap:10px}.menu-toggle{display:block}.topbar h1{font-size:15px}.topbar .eyebrow{font-size:8px}.user-chip>span:last-child{display:none}.page-content{padding:18px 13px}.dash-intro{align-items:flex-start;flex-direction:column}.dash-intro .actions{width:100%}.dash-intro .btn{flex:1}.dash-intro h2{font-size:19px}.promo-card{min-height:180px;padding:18px}.promo-copy{max-width:68%}.promo-card h3{font-size:17px}.promo-art{width:44%;opacity:.8}.art-building.building-one{right:0}.art-building.building-two{right:75px}.art-sun{right:20px}.art-plant{right:105px}.surface{padding:15px 13px 10px}.property-row{gap:8px}.property-thumb{width:40px;height:40px;flex-basis:40px}.property-price{font-size:9px}.property-info b{font-size:10px}.property-info small{font-size:8px}.mini-stat{padding:10px}.mini-stat b{font-size:19px}.cashflow-totals{gap:7px}.cash-total{padding:9px 7px;gap:7px}.cash-total b{font-size:11px}.cash-total small{font-size:8px}.chart-wrap{height:150px;gap:5px}.chart-y{width:42px;font-size:7px}.bar-chart{gap:3px}.bar-group small{font-size:7px}.featured-photo{height:120px}.featured-metrics b{font-size:15px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer{padding:13px 15px}.footer span{float:none;display:block;margin-top:4px}}

/* Navigation refinement: compact icon rail on desktop, readable drawer on mobile */
.sidebar{width:90px;padding:22px 12px;align-items:center;overflow:hidden}
.sidebar .brand{width:48px;justify-content:center;margin-bottom:42px}
.sidebar .brand>span:not(.brand-mark){display:none}
.sidebar .nav-label{display:none}
.sidebar .nav-link{width:44px;height:44px;justify-content:center;padding:0;margin:5px 0;gap:0;font-size:0;color:#9aa6a2;border-radius:12px;white-space:nowrap}
.sidebar .nav-link span{width:auto;font-size:20px;line-height:1}
.sidebar .nav-link.active{background:#edf8f0;color:#37ad6a}
.sidebar .nav-link.active:before{left:-12px;top:8px;bottom:8px}
.sidebar .sidebar-foot{font-size:0;width:38px;height:38px;padding:0;flex:0 0 38px;border-radius:50%;background:linear-gradient(145deg,#f0c6ac,#c47c5d);border:3px solid #f7e6dc;color:transparent}
.main-area{margin-left:90px}
.topbar{height:82px;padding:18px 30px}
.page-content{padding:28px 30px}
.dash-intro{margin-bottom:22px}
.dash-grid{grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:18px}
.promo-card{min-height:180px}
.surface{border-radius:12px}
@media(max-width:1150px){.dash-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.right-column{display:flex}.promo-card{min-height:175px}}
@media(max-width:850px){.sidebar{width:72px;padding:20px 9px}.main-area{margin-left:72px}.topbar{padding:16px 20px}.page-content{padding:22px 20px}.dash-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1.2fr 1fr;align-items:start}}
@media(max-width:600px){
 .sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;align-items:stretch;padding:20px 15px;overflow:auto}
 .sidebar.open{transform:translateX(0)}
 .sidebar .brand{width:auto;display:flex;justify-content:flex-start;align-items:center;margin-bottom:30px}
 .sidebar .brand>span:not(.brand-mark){display:block}
 .sidebar .brand b{display:block;color:var(--ink);font:800 14px Manrope}
 .sidebar .brand small{display:block;font-size:9px;letter-spacing:1.3px;color:#89939c;margin-top:4px}
 .sidebar .nav-label{display:block;font-size:10px;letter-spacing:1.5px;color:#8b9690;padding:12px}
 .sidebar .nav-link{display:flex;justify-content:flex-start;width:auto;height:auto;padding:12px;gap:13px;font-size:13px;margin:2px 0;white-space:normal}
 .sidebar .nav-link span{width:22px;font-size:19px}
 .sidebar .nav-link.active:before{left:-15px}
 .sidebar .sidebar-foot{margin-top:auto;font-size:10px;color:#a0a8a8;background:none;border:0;width:auto;height:auto;border-radius:0;padding:16px 12px;flex-basis:auto}
 .main-area{margin-left:0}
 .topbar{height:75px;padding:12px 15px;gap:10px}
 .page-content{padding:18px 13px}
 .dash-grid{grid-template-columns:1fr}
 .right-column{display:flex}
}
