:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:#f4f7fb;min-height:100vh}a{color:#1d4ed8;text-decoration:none}a:hover{text-decoration:underline}button{font:inherit}h1,h2,h3,p{margin:0}table{border-collapse:collapse;width:100%}.portfolio-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.portfolio-sidebar{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;gap:24px;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-brand-row{align-items:center;gap:12px;display:flex}.sidebar-brand-icon{color:#fff;background:linear-gradient(135deg,#153e75,#2563eb);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.crest-icon{object-fit:cover;background:#fff;border:1px solid #d1d5db}.sidebar-brand{color:#1f2937;font-size:24px;font-weight:700}.sidebar-subbrand{color:#6b7280;font-size:14px}.sidebar-menu{flex-direction:column;gap:8px;display:flex}.sidebar-menu button{color:#374151;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;align-items:center;gap:12px;padding:14px;transition:all .2s;display:flex}.sidebar-menu button:hover,.sidebar-menu button.active{color:#1d4ed8;background:#eaf2ff}.menu-icon{text-align:center;opacity:.8;width:18px}.sidebar-group{flex-direction:column;gap:12px;display:flex}.sidebar-group-title{color:#9ca3af;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700}.asset-list.compact{flex-direction:column;gap:8px;display:flex}.asset-pill{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.asset-pill span{color:#1f2937;font-weight:600}.asset-pill small,.sidebar-footer span,.panel-head p,.kpi-hint,.last-update span,.cell-subtitle,.property-card p,.application-type{color:#6b7280}.asset-pill.neutral{background:#f9fafb}.sidebar-footer{border-top:1px solid #e5e7eb;align-items:center;gap:12px;margin-top:auto;padding-top:18px;display:flex}.sidebar-meta{flex-direction:column;gap:12px;padding-top:4px;display:flex}.sidebar-action,.sidebar-logout{width:100%}.sidebar-last-update{text-align:left;background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px}.user-badge{color:#fff;background:#1d4ed8;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.sidebar-footer strong{color:#111827;display:block}.sidebar-footer span{font-size:13px}.portfolio-main{flex-direction:column;gap:20px;padding:22px;display:flex}.portfolio-topbar{background:#fff;border:1px solid #e5e7eb;border-radius:22px;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px;display:flex}.portfolio-topbar.minimal-topbar{background:0 0;border:0;border-radius:0;padding:0}.portfolio-topbar h1{color:#111827;margin-bottom:6px;font-size:36px}.portfolio-topbar p{color:#6b7280}.topbar-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.primary-action,.button-link,.logout-btn,.google-login-btn{cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;padding:12px 18px;font-weight:700;display:inline-flex}.primary-action{color:#fff;background:#1d4ed8}.primary-action:hover,.button-link:hover{text-decoration:none}.last-update{text-align:right;flex-direction:column;gap:2px;display:flex}.last-update strong{color:#111827}.logout-btn{color:#b91c1c;background:#ef44441f}.logout-btn.light{background:#fef2f2}.dashboard-layout{grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);align-items:start;gap:18px;display:grid}.dashboard-main-column,.dashboard-side-column{flex-direction:column;gap:18px;display:flex}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.kpi-card,.panel-card,.property-card,.application-card,.summary-box{background:#fff;border:1px solid #e5e7eb;border-radius:22px}.kpi-card{justify-content:space-between;align-items:flex-start;gap:16px;padding:20px;display:flex}.kpi-title{color:#4b5563;margin-bottom:6px;font-size:14px;display:block}.kpi-value{color:#111827;font-size:34px;line-height:1.05;display:block}.kpi-hint{margin-top:8px;font-size:14px;display:block}.kpi-icon{border-radius:16px;place-items:center;width:52px;height:52px;font-size:20px;font-weight:700;display:grid}.accent-blue .kpi-icon,.legend-dot.blue{color:#1d4ed8;background:#dbeafe}.accent-green .kpi-icon,.legend-dot.green{color:#16a34a;background:#dcfce7}.accent-orange .kpi-icon{color:#ea580c;background:#ffedd5}.accent-purple .kpi-icon{color:#9333ea;background:#f3e8ff}.accent-teal .kpi-icon{color:#0f766e;background:#ccfbf1}.accent-pink .kpi-icon{color:#c026d3;background:#fce7f3}.legend-dot.navy{color:#1e3a8a;background:#dbe4ff}.panel-card{padding:22px}.portfolio-main>.panel-card,.project-page>.panel-card,.dashboard-main-column>.panel-card,.dashboard-side-column>.panel-card,.application-grid>.panel-card,.finance-summary-grid>.panel-card{border-radius:18px}.panel-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.panel-head h2{color:#111827;margin-bottom:4px;font-size:30px}.table-shell{overflow-x:auto}.expanded-table-shell{width:100%}.expanded-table-shell table{min-width:980px}.dashboard-main-column .panel-card{min-height:100%}th,td{text-align:left;color:#374151;border-bottom:1px solid #eef2f7;padding:14px 12px}th{color:#6b7280;text-transform:uppercase;letter-spacing:.06em;font-size:12px}.positive{color:#15803d}.phase-badge{color:#b45309;background:#fff7ed;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.portfolio-chart-card{flex-direction:column;gap:18px;display:flex}.fake-pie{background:conic-gradient(#93c5fd 0 52%, #22c55e 52% 74%, #1e3a8a 74% 100%);border-radius:50%;width:140px;height:140px;margin:0 auto;position:relative}.fake-pie:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:22px}.legend-list{flex-direction:column;gap:10px;display:flex}.legend-list div,.info-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.legend-list strong,.info-row strong,.summary-box strong,.application-card strong,.property-metrics strong{color:#111827}.legend-dot{border-radius:50%;width:10px;height:10px;margin-right:8px;display:inline-block}.info-stack,.property-metrics{flex-direction:column;gap:12px;display:flex}.property-grid,.application-grid,.finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.property-card,.application-card,.summary-box{padding:20px}.property-card-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.property-card h3,.application-card h3{color:#111827;margin-bottom:4px;font-size:22px}.property-metrics div,.summary-box{justify-content:space-between;gap:14px;display:flex}.property-metrics span,.summary-box span,.info-row span{color:#6b7280}.application-card{flex-direction:column;gap:10px;display:flex}.application-type{font-size:13px}.document-callout{color:#374151;background:#f8fafc;border-radius:16px;padding:18px}.login-shell{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;flex-direction:column;gap:16px;width:100%;max-width:460px;padding:28px;display:flex}.login-card h1{color:#111827;font-size:32px}.login-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:14px;padding:12px 14px}.google-login-btn{color:#fff;background:linear-gradient(135deg,#1d4ed8,#2563eb);width:100%;margin-top:8px;padding:14px 16px}@media (width<=1200px){.dashboard-layout{grid-template-columns:1fr}}@media (width<=980px){.portfolio-shell{grid-template-columns:1fr}.portfolio-sidebar{height:auto;position:static;overflow-y:visible}.kpi-grid,.property-grid,.application-grid,.finance-summary-grid{grid-template-columns:1fr}.portfolio-topbar,.panel-head,.property-card-head,.summary-box,.info-row,.legend-list div{flex-direction:column;align-items:flex-start}}@media (width<=720px){.portfolio-main{padding:14px}.topbar-right{justify-content:flex-start}.kpi-value{font-size:28px}.panel-head h2{font-size:24px}}.asset-pill-button{cursor:pointer;text-align:left;border:1px solid #e5e7eb;width:100%}.asset-pill-button.selected{background:#eaf2ff;border-color:#bfdbfe}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f8fbff}.project-page{flex-direction:column;gap:18px;display:flex}.project-page-head{flex-direction:column;gap:8px;display:flex}.project-page-head h1{color:#111827;font-size:34px}.project-page-head p{color:#6b7280}.back-link{color:#1d4ed8;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-weight:700}.project-detail-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(320px,.95fr);align-items:start;gap:18px;display:grid}.compact-head{margin-bottom:14px}.compact-head h2{margin:0;font-size:20px}.project-photo-card,.project-info-card,.project-finance-card{min-height:100%}.project-photo{aspect-ratio:4/3;object-fit:cover;border-radius:18px;width:100%}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.detail-grid div,.finance-compare li{flex-direction:column;gap:4px;display:flex}.detail-grid span,.finance-compare span,.finance-compare label,.legal-note{color:#6b7280}.legal-note{margin-bottom:14px}.tag-row{flex-wrap:wrap;gap:8px;display:flex}.doc-tag{color:#1d4ed8;background:#eff6ff;border-radius:999px;align-items:center;padding:8px 10px;font-size:13px;font-weight:600;display:inline-flex}.finance-compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.finance-compare>div{flex-direction:column;gap:10px;display:flex}.finance-compare>div>span{text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:700}.finance-compare ul{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.finance-compare li{border-bottom:1px solid #eef2f7;padding-bottom:10px}.finance-compare li strong{color:#111827}@media (width<=1200px){.project-detail-grid{grid-template-columns:1fr}}@media (width<=720px){.detail-grid,.finance-compare{grid-template-columns:1fr}}
