/* White and gold palette; the compact layout stays intact. */
:root {
  --ink:#182a2e; --muted:#6c716f; --line:#e9e5db;
  --paper:#fcfbf8; --panel:#fff; --teal:#12343b; --teal-soft:#f8f0dc;
  --green:#28724f; --gold:#c7942e; --gold-deep:#7b4f08;
  --shadow:0 6px 24px rgba(72,54,17,.045);
}
body { background:radial-gradient(ellipse at top left,#faf5e8 0,transparent 40%),#fcfbf8; }
.topbar { background:#fff; padding:18px; border:1px solid #eee8dc; border-radius:16px; margin-bottom:12px; box-shadow:var(--shadow); }
.brand-mark { background:linear-gradient(145deg,#12343b,#275552); border:1px solid #c7942e66; }
.brand-mark span,.brand-mark span::before { border-color:#f4dea9; }
.topbar .icon-button { color:var(--gold-deep); background:#fffdf8; border-color:#eee4ce; }
.summary-band { background:linear-gradient(120deg,#8c621d,#c4a154); color:#fff; }
.summary-copy h2 { color:#fff; }
.status-wheel { background:conic-gradient(#6ca783 var(--wheel,0deg),#ffffff40 0deg); }
.yield-wheel { background:conic-gradient(#f4d27a var(--wheel,0deg),#ffffff40 0deg); }
.ltv-wheel { background:conic-gradient(#6bc7bc var(--wheel,0deg),#ffffff40 0deg); }
.status-wheel span { background:#12343b; }
.status-wheel small { color:#fff; }
.metric { background:#fff; border:1px solid #eee9df; }
.metric.good .metric-value { color:var(--gold-deep); }
.metric-visibility { background:#f8f4e9; color:var(--gold-deep); }
.tabs { background:#f4f0e7; }
.tab.active { background:var(--teal); }
.primary-button { background:var(--teal); border-color:var(--teal); color:#fff; }
.primary-button:hover { background:#204b50; }
.secondary-button { background:#fff; border-color:var(--line); color:var(--teal); }
.property-summary-card { border:1px solid #eee8dc; box-shadow:var(--shadow); }
.property-cover,.property-cover-empty { background:linear-gradient(120deg,#f8f0dc,#fcfaf4); color:#94743b; }
.property-cover-empty:hover { background:#f5ecd4; }
.property-financials > div { background:#faf8f2; }
.property-financials dd { color:var(--teal); }
.property-financials .property-monthly { background:#faf5e9; }
.property-financials .property-rent { background:#f5edda; }
.property-financials .property-rent dd { color:var(--gold-deep); }
.property-photo-editor,.files-reference-form { background:#faf6eb; }
.auth-gate { background:linear-gradient(135deg,#f5edda,#fcfbf8 60%); }
.auth-card { background:#fff; border-color:#eadfc9; box-shadow:0 18px 60px #7b4f0810; }
.auth-form { background:#fcfaf5; }
.demo-entry { background:#fbf7eb; border-color:#e9dfc6; }
.auth-benefits span { background:#faf5e6; color:var(--gold-deep); }
.app-access-bar { background:#fcfbf8f5; }
.demo-menu-options,.add-menu-panel { border-color:#e9e2d3; box-shadow:0 12px 28px #7b4f0814; }
.demo-menu-options a:hover,.demo-menu-options button:hover,.demo-menu-options a:focus-visible,.demo-menu-options button:focus-visible,.add-menu-option:hover,.add-menu-option:focus-visible { background:#f8f0dc; }
.plan-results { background:#fbf7ed; border:1px solid #ece3cf; }
.plan-kpis strong { color:var(--teal); }
.plan-step > summary span { background:#f7edd5; color:var(--gold-deep); }
.plan-capacity { background:#f5ecd7; }
.plan-cash > div,.plan-table th,.plan-table td { border-color:#e9e1d1; }
.plan-field input,.plan-field select { background:#fff; }
.files-count { background:#f7edd7; color:var(--gold-deep); }
#documentList .status-strip { background:#d8bf86; }
.yield-simple-total { background:#faf2df; }
.yield-simple-total > strong { color:var(--gold-deep); }
.map-property-count { background:var(--teal); border-color:#fff8e7; }
@media(max-width:560px) { .topbar { padding:14px; } }

/* One gold header contains the brand, controls and portfolio indicators. */
.summary-band .topbar { grid-column:1 / -1; min-height:0; padding:0; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; gap:16px; }
.summary-band .topbar h1 { color:#fff; font-size:clamp(1.2rem,3vw,1.7rem); }
.summary-band .save-status { color:#fffde9d9; font-size:.7rem; line-height:1.5; margin-bottom:0; }
.summary-band .brand-mark { width:44px; height:44px; border-radius:12px; }
.summary-band .brand-lockup { min-width:0; flex:1; }
.summary-band .brand-lockup > div:last-child { min-width:0; }
.hero-header-actions { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.summary-band .app-access-bar { position:relative; top:auto; display:flex; gap:10px; padding:0; margin:0; border:0; border-radius:0; background:transparent; backdrop-filter:none; }
.summary-band .topbar .icon-button { width:40px; min-height:40px; height:40px; }
.summary-band .demo-menu > summary,.summary-band .app-access-bar > .secondary-button { min-height:40px; border-color:#f4e5bf88; background:#fffdf5; }
.summary-band .summary-copy h2 { font-size:.85rem; font-weight:500; }
@media(max-width:700px) {
  .summary-band .topbar { flex-wrap:wrap; }
  .hero-header-actions { width:100%; justify-content:space-between; }
  .summary-band .topbar h1 { font-size:clamp(1.15rem,5.3vw,1.55rem); }
  .summary-band .brand-lockup { flex-basis:100%; }
}

/* Centre the three portfolio indicators in the gold panel. */
.summary-band { grid-template-columns:minmax(0,1fr); gap:18px; }
.summary-band .summary-copy { text-align:center; }
.summary-band .summary-copy h2 { margin:0; }
.summary-band .hero-status { justify-content:center; min-width:0; }
.summary-band .hero-wheels { justify-content:center; }

/* Subtle colour cues for the three financial summary cards. */
.metric-grid > .portfolio-combined { background:#fcf6e9; border-color:#eee2c6; }
.metric-grid > .equity-summary { background:#f0f6ef; border-color:#dce8d9; }
.metric-grid > .debt-summary { background:#f0f4f7; border-color:#dce4ec; }
.equity-summary .metric-visibility { background:#e5eee2; color:#3f5c43; }
.debt-summary .metric-visibility { background:#e4ebf1; color:#425b6b; }
.metric.good.equity-summary .metric-value { color:#3b6348; }
