@font-face {
  font-family:"Be Vietnam Pro";
  src:url("/static/fonts/BeVietnamPro-Variable.ttf") format("truetype");
  font-style:normal;
  font-weight:100 900;
  font-display:block;
}
@font-face {
  font-family:"Be Vietnam Pro";
  src:url("/static/fonts/BeVietnamPro-Italic-Variable.ttf") format("truetype");
  font-style:italic;
  font-weight:100 900;
  font-display:block;
}
:root {
  --color-surface:#fff;
  --color-on-accent:#fff;
  --color-navy:#102A56;
  --color-ink:#0f172a;
  --color-positive:#087443;
  --color-positive-soft:#e8f6ee;
  --color-chart:#315e9e;
  --color-chart-fill:#dbe7f5;
  --color-slate:#475569;
  --color-light:#E2E8F0;
  --color-canvas:#f1f5f9;
  --color-soft:#f8fafc;
  --color-navy-hover:#0b1e3e;
  color-scheme:light;
  font-family:"Be Vietnam Pro",sans-serif;
  color:var(--color-navy);
  background:var(--color-canvas);
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--color-canvas);
}
[x-cloak] {
  display:none!important;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
a {
  text-decoration:none;
  color:inherit;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:2px solid var(--color-navy);
  outline-offset:4px;
}
#page-content:focus {
  outline:none;
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  z-index:40;
  display:flex;
  flex-direction:column;
  width:248px;
  padding:24px 20px;
  background:var(--color-surface);
  border-right:1px solid var(--color-light);
  overflow-y:auto;
  transition:transform .2s ease;
}
.brand {
  display:flex;
  justify-content:center;
  padding:0;
}
.brand-lockup {
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  vertical-align:top;
}
.brand-lockup img {
  display:block;
  height:auto;
  max-width:100%;
}
.brand-tagline {
  color:var(--color-navy);
  width:100%;
  font-size:7.5px;
  font-weight:500;
  letter-spacing:.47em;
  line-height:1.2;
  opacity:1;
  text-align:center;
  text-transform:uppercase;
  transform:translateX(5.5px);
  white-space:nowrap;
}
.sidebar .brand-tagline { font-size:7px; letter-spacing:.52em; }
.brand-logo {
  display:block;
  width:100%;
  height:auto;
}
.sidebar-nav { margin-top:30px; }
.sidebar-nav-list { margin-top:12px; }
.sidebar-account-label { margin-top:24px; }
.sidebar-footer { margin-top:auto; padding-top:16px; }
.sidebar-signout { margin-top:12px; }
.nav-label {
  padding:0 12px;
  font-size:10px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--color-slate);
  font-weight:600;
}
.nav-item {
  display:flex;
  width:100%;
  align-items:center;
  gap:12px;
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  font-weight:500;
  line-height:20px;
  color:var(--color-slate);
  transition:background .15s,color .15s;
}
.nav-item:hover {
  background:var(--color-soft);
}
.nav-item.active {
  background:var(--color-light);
  color:var(--color-navy);
}
.nav-item svg {
  width:16px;
  height:16px;
}
.security-box {
  background:var(--color-soft);
  border-radius:12px;
  padding:16px;
  font-size:12px;
  color:var(--color-slate);
}
.security-box p {
  font-size:11px;
  line-height:18px;
  color:var(--color-slate);
  margin-top:8px;
}
.app-shell {
  padding-left:248px;
}
.topbar {
  position:sticky;
  top:0;
  z-index:20;
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--color-light);
  background:var(--color-surface);
  padding:0 40px;
  color:var(--color-slate);
}
.avatar {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:var(--color-light);
  color:var(--color-navy);
  font-size:12px;
  font-weight:600;
  border-radius:50%;
}
.notification-dot {
  position:absolute;
  right:2px;
  top:1px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--color-navy);
  border:1px solid var(--color-surface);
}
.page-content {
  max-width:1560px;
  margin:0 auto;
  padding:32px 40px;
}
.page-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:32px;
}
.date-label {
  color:var(--color-slate);
  font-size:14px;
  font-weight:500;
  margin:0 0 8px;
}
h1 {
  color:var(--color-navy);
  font-size:30px!important;
  font-weight:600!important;
  line-height:1.5!important;
  letter-spacing:-.03em;
  margin:0;
}
.page-subtitle {
  margin-top:6px;
  font-size:14px;
  color:var(--color-slate);
}
.button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  border:1px solid var(--color-light);
  border-radius:8px;
  padding:8px 14px;
  background:var(--color-surface);
  color:var(--color-slate);
  font-size:12px;
  line-height:16px;
  font-weight:600;
  box-shadow:0 1px 2px #102a560d;
  white-space:nowrap;
  transition:background .15s;
}
.button:hover {
  background:var(--color-soft);
}
.button-primary {
  background:var(--color-navy);
  color:var(--color-on-accent);
  border-color:var(--color-navy);
}
.button-primary:hover {
  background:var(--color-navy-hover);
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px;
}
.stat-card {
  background:var(--color-surface);
  border:1px solid var(--color-light);
  border-radius:18px;
  padding:22px 20px;
  box-shadow:0 3px 12px #102a5604;
}
.stat-value {
  margin-top:20px;
  font-size:30px;
  line-height:36px;
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--color-ink);
}
[data-page="overview"] .stats-grid .stat-card:nth-child(n+3) {
  container-type:inline-size;
}
[data-page="overview"] .stats-grid .stat-card:nth-child(n+3) .stat-value {
  font-size:clamp(18px,10cqw,30px);
  line-height:1.2;
  overflow-wrap:anywhere;
}
.panel {
  background:var(--color-surface);
  border:1px solid var(--color-light);
  border-radius:18px;
  padding:24px;
}
.charts-grid {
  display:grid;
  grid-template-columns:1.65fr 1fr;
  gap:24px;
}
.performance-panel,.income-panel {
  min-height:342px;
}
.period-toggle {
  display:flex;
  gap:2px;
  align-items:center;
  border:1px solid var(--color-light);
  border-radius:8px;
  background:var(--color-soft);
  padding:3px;
}
.period-toggle button {
  border-radius:6px;
  padding:6px 12px;
  font-size:11px;
  font-weight:600;
  color:var(--color-slate);
  white-space:nowrap;
}
.period-toggle button.selected {
  color:var(--color-on-accent);
  background:var(--color-navy);
  box-shadow:0 1px 3px #102a5615;
}
.line-chart {
  position:relative;
  height:226px;
  margin-top:24px;
}
.chart-grid {
  position:absolute;
  inset:0 0 24px 40px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.chart-grid>div {
  border-top:1px solid var(--color-light);
  position:relative;
}
.chart-grid span {
  position:absolute;
  right:calc(100% + 10px);
  top:-7px;
  font-size:10px;
  color:var(--color-slate);
  white-space:nowrap;
}
.chart-line {
  position:absolute;
  bottom:24px;
  left:40px;
  width:calc(100% - 40px);
  height:170px;
}
.chart-months {
  position:absolute;
  bottom:0;
  left:40px;
  right:0;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:var(--color-slate);
}
.income-chart {
  display:flex;
  align-items:flex-end;
  gap:7px;
  height:112px;
  margin-top:24px;
}
.income-bar {
  background:var(--color-chart-fill);
  opacity:0.75;
  flex:1;
  min-width:0;
  min-height:2px;
  padding:0;
  border:0;
  border-radius:2px 2px 0 0;
  cursor:pointer;
}
.income-bar-scheduled {
  background:transparent;
  border:1.5px dashed var(--color-navy);
  border-bottom:0;
  opacity:0.55;
}
.income-bar.is-active {
  background:var(--color-navy);
  opacity:1;
}
.income-bar-scheduled.is-active {
  border-style:solid;
  opacity:0.6;
}
.income-axis {
  display:flex;
  gap:7px;
  margin-top:10px;
  font-size:10px;
  color:var(--color-slate);
}
.income-axis span {
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:visible;
}
.text-link {
  color:var(--color-navy);
  font-size:12px;
  font-weight:600;
}
.text-link:hover {
  text-decoration:underline;
}
.investment-table-heading {
  display:grid;
  grid-template-columns:1.7fr 1fr 1fr .8fr .85fr;
  gap:20px;
  padding:14px 12px;
  border-bottom:1px solid var(--color-light);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:500;
  color:var(--color-slate);
}
.investment-row {
  display:grid;
  grid-template-columns:1.7fr 1fr 1fr .8fr .85fr;
  gap:20px;
  align-items:center;
  min-height:72px;
  padding:14px 12px;
  border-bottom:1px solid var(--color-light);
  transition:background .15s;
}
.investment-row:last-child {
  border-bottom:0;
}
.investment-row:hover {
  background:var(--color-soft);
  border-radius:8px;
}
.property-icon {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:9px;
  flex-shrink:0;
  box-shadow:inset -8px 0 0 #ffffff17;
}
.property-icon svg {
  opacity:.85;
}
.mint {
  background:var(--color-navy);
  color:var(--color-light);
}
.blue {
  background:var(--color-slate);
  color:var(--color-light);
}
.gold {
  background:#94a3b8;
  color:#ffffff;
}
.investment-number {
  font-size:14px;
  font-variant-numeric:tabular-nums;
  color:var(--color-ink);
  white-space:nowrap;
}
.mobile-label {
  display:none;
}
/* Status colors stay distinct from monetary values and return percentages. */
.badge {
  display:inline-flex;
  gap:6px;
  align-items:center;
  white-space:nowrap;
  padding:5px 9px;
  border:1px solid #86c9a3;
  border-radius:20px;
  background:#dcfce7;
  color:#14532d;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
}
.badge>span {
  width:6px;
  height:6px;
  flex-shrink:0;
  border-radius:50%;
  background:currentColor;
}
.badge-amber {
  border-color:#e3b341;
  background:#fef3c7;
  color:#78350f;
}
.page-footer {
  text-align:center;
  font-size:11px;
  color:var(--color-slate);
  margin-top:26px;
  line-height:20px;
}
.page-footer button {
  font-weight:500;
  color:var(--color-navy);
}
.page-footer button:hover {
  text-decoration:underline;
}
.dropdown {
  position:absolute;
  z-index:45;
  top:calc(100% + 14px);
  right:0;
  padding:20px;
  background:var(--color-surface);
  border:1px solid var(--color-light);
  border-radius:14px;
  box-shadow:0 14px 40px #102a5618;
}
.notification-panel {
  width:300px;
  max-width:calc(100vw - 40px);
  right:-45px;
}
.modal-backdrop {
  position:fixed;
  inset:0;
  z-index:60;
  background:#102a5666;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(3px);
}
.modal-card {
  position:relative;
  width:100%;
  max-width:500px;
  max-height:90vh;
  overflow:auto;
  background:var(--color-surface);
  border-radius:20px;
  padding:32px;
  box-shadow:0 24px 80px #102a5630;
}
.modal-close {
  position:absolute;
  right:18px;
  top:18px;
  padding:5px;
  color:var(--color-slate);
}
.modal-card h2 {
  padding-right:20px;
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:70;
  background:var(--color-navy);
  color:var(--color-on-accent);
  border-radius:12px;
  padding:16px 20px;
  box-shadow:0 8px 30px #102a5625;
  font-size:13px;
  display:flex;
  gap:20px;
  align-items:center;
  max-width:calc(100vw - 32px);
}
.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:100;
  transform:translateY(-150%);
  padding:12px;
  background:var(--color-navy);
  color:var(--color-on-accent);
  border-radius:8px;
}
.skip-link:focus {
  transform:translateY(0);
}
.filter-form {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.search-field {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--color-light);
  border-radius:8px;
  padding:9px 12px;
  color:var(--color-slate);
  background:var(--color-surface);
}
.search-field input {
  background:transparent;
  outline:none!important;
  min-width:0;
  width:180px;
  color:var(--color-navy);
  font-size:12px;
}
.filter-form select {
  border:1px solid var(--color-light);
  border-radius:8px;
  padding:8px 12px;
  color:var(--color-slate);
  background:var(--color-surface);
  font-size:12px;
}
.status-filter {
  position:relative;
  min-width:190px;
}
.status-filter-trigger {
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  height:100%;
  min-height:38px;
  padding:9px 12px;
  border:1px solid var(--color-light);
  border-radius:10px;
  background:var(--color-surface);
  color:var(--color-navy);
  font-size:12px;
  font-weight:600;
}
.status-filter-trigger:hover,
.status-filter-trigger[aria-expanded="true"] {
  border-color:#94a3b8;
  background:var(--color-soft);
}
.status-filter-dot {
  width:8px;
  height:8px;
  flex-shrink:0;
  border-radius:50%;
  background:#94a3b8;
}
.status-filter-dot.is-performing { background:#16a34a; }
.status-filter-dot.is-stabilizing { background:#d97706; }
.status-filter-chevron { margin-left:auto; transition:transform .15s; }
.status-filter-chevron.is-open { transform:rotate(180deg); }
.status-filter-menu {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:25;
  width:320px;
  max-width:calc(100vw - 48px);
  padding:8px;
  border:1px solid var(--color-light);
  border-radius:14px;
  background:var(--color-surface);
  box-shadow:0 12px 32px #102a561a;
}
.status-filter-heading { padding:6px 10px 2px; font-size:12px; font-weight:700; }
.status-filter-hint { padding:0 10px 12px; font-size:11px; color:var(--color-slate); }
.status-filter-option {
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 10px;
  border-radius:9px;
  cursor:pointer;
}
.status-filter-option:hover { background:var(--color-soft); }
.status-filter-option:has(input:checked) { background:#edf3fb; }
.status-filter-option:has(input:focus-visible) { outline:2px solid var(--color-navy); outline-offset:-2px; }
.status-filter-option input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}
.status-filter-copy { flex:1; min-width:0; font-size:12px; font-weight:600; }
.status-filter-copy small { display:block; margin-top:3px; font-size:11px; line-height:1.5; font-weight:400; color:var(--color-slate); }
.status-filter-check { color:var(--color-navy); visibility:hidden; }
.status-filter-option:has(input:checked) .status-filter-check { visibility:visible; }
@media(max-width:639px) {
  .status-filter { width:100%; }
  .status-filter-menu { width:100%; }
}
.table-scroll {
  overflow-x:auto;
}
table {
  width:100%;
  text-align:left;
  border-collapse:collapse;
  font-size:13px;
}
th {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:500;
  color:var(--color-slate);
  padding:14px;
  border-bottom:1px solid var(--color-light);
  white-space:nowrap;
}
td {
  padding:20px 14px;
  border-bottom:1px solid var(--color-light);
  color:var(--color-slate);
  white-space:nowrap;
}
tr:last-child td {
  border:0;
}
.document-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:20px 0;
  border-bottom:1px solid var(--color-light);
}
.document-row:last-child {
  border:0;
}
.document-icon {
  padding:12px;
  border-radius:10px;
  color:var(--color-navy);
  background:var(--color-soft);
}
.project-art {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  height:160px;
  opacity:.85;
}
.field-label {
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
  font-weight:500;
  color:var(--color-slate);
}
.field-label input {
  border:1px solid var(--color-light);
  border-radius:8px;
  background:var(--color-surface);
  padding:12px;
  color:var(--color-navy);
  font-size:14px;
  font-weight:400;
  min-width:0;
}
.faq summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  cursor:pointer;
  padding:20px 0;
  font-size:14px;
  list-style:none;
}
.faq summary::-webkit-details-marker {
  display:none;
}
.faq[open] summary svg {
  transform:rotate(180deg);
}
.faq p {
  font-size:13px;
  line-height:1.8;
  color:var(--color-slate);
  padding:0 20px 20px 0;
}
.htmx-request {
  cursor:progress;
}
.htmx-request .selected {
  opacity:.6;
}
@media(min-width:1600px) {
  .page-content {
    padding-top:40px;
  }
}
@media(max-width:1199px) {
  [data-page="overview"] .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .charts-grid {
    grid-template-columns:1.4fr 1fr;
  }
  .investment-row,
  .investment-table-heading {
    gap:12px;
    grid-template-columns:1.8fr 1fr 1fr .7fr .9fr;
  }
  .stat-card {
    padding:20px 16px;
  }
  .stat-value {
    font-size:24px;
  }
}
@media(max-width:1023px) {
  .sidebar {
    transform:translateX(-100%);
  }
  .sidebar-open {
    transform:translateX(0);
  }
  .app-shell {
    padding-left:0;
  }
  .topbar {
    padding:0 32px;
  }
  .page-content {
    padding:32px;
  }
  .charts-grid {
    grid-template-columns:1.5fr 1fr;
  }
  .investment-row,
  .investment-table-heading {
    padding-inline:0;
  }
}
@media(max-width:767px) {
  .investment-table-heading {
    display:none;
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .charts-grid {
    grid-template-columns:1fr;
  }
  .investment-row {
    grid-template-columns:1fr;
    gap:12px;
    padding:20px 0;
  }
  .investment-number {
    display:flex;
    justify-content:space-between;
  }
  .mobile-label {
    display:inline;
    color:var(--color-slate);
    font-weight:400;
    font-size:12px;
  }
  .investment-row>div:first-child {
    margin-bottom:4px;
  }
  .investment-row>div:last-child {
    margin-top:3px;
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
  }
  .income-chart {
    height:125px;
    margin-top:28px;
  }
  .income-panel {
    min-height:320px;
  }
  .modal-card {
    padding:28px 24px;
  }
}
@media(max-width:639px) {
  [data-page="overview"] .stats-grid {
    grid-template-columns:1fr;
  }
  .topbar {
    height:74px;
    padding:0 20px;
  }
  .page-content {
    padding:32px 20px;
  }
  .stats-grid {
    grid-template-columns:1fr;
    gap:16px;
  }
  .stat-card {
    padding:22px 20px;
  }
  .stat-value {
    font-size:26px;
  }
  .panel {
    padding:24px 20px;
  }
  .page-heading {
    gap:16px;
    margin-bottom:32px;
  }
  h1 {
    font-size:28px!important;
  }
  .line-chart {
    height:216px;
  }
  .chart-months {
    font-size:8px;
  }
  .performance-panel {
    min-height:340px;
  }
  .notification-panel {
    right:-60px;
  }
  .filter-form {
    width:100%;
  }
  .search-field {
    flex:1;
  }
  .search-field input {
    width:100%;
  }
  .filter-form select {
    max-width:100%;
  }
  .document-row h3 {
    font-size:13px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important;
  }
}

@media(max-width:1023px) {
  .brand { padding-right:26px; }
}

/* Separate supporting copy, monetary values, and positive performance. */
.stat-label { color:var(--color-slate); font-size:12px; font-weight:600; }
.section-title { color:var(--color-navy); font-size:16px; font-weight:700; }
.metric-value { color:var(--color-ink); font-size:30px; font-weight:700; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.stat-value { font-variant-numeric:tabular-nums; }
.positive-change { display:inline-flex; align-items:center; gap:4px; width:fit-content; padding:4px 8px; border-radius:6px; background:var(--color-positive-soft); color:var(--color-positive); font-size:12px; font-weight:700; }
.investment-number.current-value { color:var(--color-ink); font-weight:700; }
.investment-number.return-value { color:var(--color-positive); font-weight:700; }
.chart-grid span, .chart-months { font-weight:500; }
.chart-grid span { font-size:11px; }
.chart-months { font-size:10px; }

/* Project layouts use the shared portal panels, controls, and color tokens. */
.opportunities { --op-muted:#64748b; }
/* Muted text colors create hierarchy without fading entire content blocks. */
.op-detail { --color-slate:var(--op-muted); }
.op-detail .stat-label { font-weight:500; }
.op-detail .stat-value { margin-top:14px; }
.op-detail .op-location { font-size:14px; }
.op-detail .section-title { font-weight:600; }
.op-detail .op-progress { height:8px; }
.opportunities .section-title { color:var(--color-navy); }
.op-return-stat .stat-card { height:100%; }
.op-return-stat .stat-value { color:var(--color-positive); }
.op-filters { margin-bottom:24px; }
.op-search { flex:1; min-width:220px; }
.op-search input { width:100%; }
.op-search:focus-within { outline:2px solid var(--color-navy); outline-offset:2px; }
.op-section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.op-section-heading p { color:var(--color-slate); font-size:12px; margin-top:4px; }
.op-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.op-card { display:block; min-width:0; transition:border-color .15s,box-shadow .15s; }
.op-card:hover { border-color:var(--color-chart); box-shadow:0 3px 12px #102a560a; }
.op-art { height:145px; border-radius:10px; position:relative; margin-bottom:20px; background:linear-gradient(110deg,#dbe7f5,#b9cce3); }
.op-art.marina { background:linear-gradient(110deg,#d9e8e6,#b7cfca); }
.op-art.meridian { background:linear-gradient(110deg,#e2e8f0,#c3cfdf); }
.op-art.west-end { background:linear-gradient(110deg,#eee8da,#d9cbb2); }
.op-strategy,.op-open { position:absolute; border-radius:6px; font-size:11px; font-weight:600; padding:5px 10px; }
.op-strategy { top:14px; left:14px; background:var(--color-surface); color:var(--color-slate); }
.op-open { bottom:14px; right:14px; background:var(--color-positive-soft); color:var(--color-positive); }
.op-card-title { display:flex; justify-content:space-between; gap:12px; align-items:start; }
.op-card-title>span { color:var(--color-navy); font-size:20px; line-height:1; }
.op-location { display:flex; align-items:center; gap:5px; margin-top:6px; font-size:12px; color:var(--color-slate); }
.op-location svg { width:14px; height:14px; flex-shrink:0; }
.op-card-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; border-block:1px solid var(--color-light); padding:18px 0; margin:20px 0 16px; }
.op-card-metrics dt { font-size:11px; color:var(--color-slate); margin-bottom:6px; }
.op-card-metrics dd { font-size:16px; font-weight:700; margin:0; color:var(--color-ink); font-variant-numeric:tabular-nums; }
.op-card-metrics .op-positive { color:var(--color-positive); }
.op-funding-label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:var(--color-slate); font-size:11px; margin-bottom:10px; }
.op-funding-label>span:last-child { display:flex; align-items:center; gap:4px; }
.op-funding-label svg { width:14px; height:14px; }
.op-progress { display:block; width:100%; height:7px; border:0; border-radius:8px; overflow:hidden; background:var(--color-light); appearance:none; }
.op-progress::-webkit-progress-bar { background:var(--color-light); border-radius:8px; }
.op-progress::-webkit-progress-value { background:var(--color-chart); border-radius:8px; }
.op-progress::-moz-progress-bar { background:var(--color-chart); border-radius:8px; }
.op-back { display:inline-block; margin-bottom:20px; }
.op-status { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--color-slate); margin-bottom:12px; }
.op-detail-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:24px; align-items:start; }
.op-detail-aside { display:grid; gap:24px; }
.op-activity-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.op-timeline { list-style:none; padding:0; margin:32px 0 0; }
.op-timeline li { display:flex; gap:18px; position:relative; padding-bottom:36px; }
.op-timeline li:last-child { padding-bottom:0; }
.op-timeline li:not(:last-child)::before { content:""; position:absolute; left:19px; top:40px; bottom:0; width:1px; background:var(--color-light); }
.op-event-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:14px; flex-shrink:0; color:var(--color-navy); background:var(--color-soft); position:relative; }
.op-event-icon.green { color:#277354; background:#e3f2eb; }
.op-event-icon.blue { color:var(--color-chart); background:#e9eff9; }
.op-event-icon.peach { color:#96613d; background:#fbede2; }
.op-event-icon.purple { color:#78549c; background:#f0eafa; }
.op-event-content { flex:1; min-width:0; padding-top:4px; }
.op-event-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; color:var(--op-muted); font-size:11px; }
.op-event-meta>span { text-transform:uppercase; letter-spacing:.12em; font-weight:600; }
.op-event-meta time { white-space:nowrap; font-size:12px; font-weight:400; }
.op-event-content h3 { color:var(--color-ink); font-size:15px; font-weight:600; line-height:1.5; margin:8px 0; }
.op-event-content p { color:var(--op-muted); font-size:13px; line-height:1.8; margin:0 0 10px; }
.op-event-content summary { font-size:12px; list-style:none; cursor:pointer; }
.op-event-content summary::-webkit-details-marker { display:none; }
.op-event-content details[open] p { margin-top:12px; padding:12px 14px; border-left:2px solid var(--color-light); background:var(--color-soft); border-radius:0 8px 8px 0; }
.op-progress-heading { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:20px 0 12px; }
.op-progress-heading strong { font-size:30px; font-weight:700; letter-spacing:-.03em; color:var(--color-ink); }
.op-progress-heading span { font-size:12px; color:var(--color-slate); }
.op-progress-copy { font-size:13px; line-height:1.8; color:var(--color-slate); margin:14px 0 20px; }
.op-commit { width:100%; justify-content:center; }
.op-dates-heading { display:flex; align-items:center; gap:8px; }
.op-dates { margin:20px 0 0; font-size:13px; }
.op-dates>div { display:flex; justify-content:space-between; gap:16px; margin-top:12px; }
.op-dates dt { color:var(--color-slate); }
.op-dates dd { margin:0; font-weight:600; color:var(--color-slate); text-align:right; }
.op-empty { text-align:center; }
.op-empty p { margin:10px 0; color:var(--color-slate); font-size:13px; }
@media(max-width:1199px) {
  .op-detail-grid { grid-template-columns:1fr; }
  .op-detail-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:639px) {
  .op-grid,.op-detail-aside { grid-template-columns:1fr; }
  .op-section-heading { align-items:start; flex-direction:column; gap:12px; }
  .op-search { flex-basis:100%; min-width:0; }
  .op-filters select { flex:1; min-width:0; }
  .op-timeline li { gap:12px; }
}

/* Sign-in uses the same palette and card language as the investor portal. */
.login-page { min-height:100vh; display:flex; flex-direction:column; }
.login-header { display:flex; align-items:center; justify-content:space-between; padding:28px 6%; border-bottom:1px solid var(--color-light); background:var(--color-surface); }
.login-header img { display:block; max-width:100%; }
.login-header > span,.login-footer { font-size:12px; color:var(--color-slate); }
.login-main { width:min(1080px,88%); margin:auto; padding:64px 0; display:grid; grid-template-columns:1fr 440px; gap:88px; align-items:center; }
.login-eyebrow { font-size:10px; letter-spacing:1.8px; font-weight:600; }
.login-intro h1 { font-size:44px; line-height:1.2; letter-spacing:-1.5px; margin:22px 0; font-weight:600; }
.login-intro > p { font-size:15px; line-height:1.8; color:var(--color-slate); margin-bottom:36px; }
.login-feature { display:flex; align-items:flex-start; gap:16px; margin-top:26px; font-size:13px; }
.login-feature > svg { width:22px; height:22px; flex-shrink:0; }
.login-feature p { font-size:12px; color:var(--color-slate); line-height:1.6; margin:6px 0 0; }
.login-card { padding:36px; border:1px solid var(--color-light); border-radius:20px; background:var(--color-surface); box-shadow:0 12px 40px #102a5606; overflow:hidden; }
.login-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--color-canvas); margin-bottom:24px; }
.login-icon svg { width:24px; height:24px; }
.login-card h2 { font-size:25px; letter-spacing:-.6px; margin:10px 0; }
.login-description { color:var(--color-slate); font-size:13px; line-height:1.7; min-height:44px; margin-bottom:26px; }
.login-card label { display:block; font-size:12px; font-weight:600; margin-bottom:10px; }
.login-card input { width:100%; height:50px; border:1px solid #cbd5e1; border-radius:10px; padding:0 14px; color:var(--color-navy); background:var(--color-surface); font:inherit; font-size:15px; }
.login-card input[aria-invalid="true"] { border-color:#b42318; }
.login-card .login-code { letter-spacing:12px; font-size:23px; }
.login-link { display:block; border:0; padding:0; background:none; font:inherit; font-size:12px; font-weight:600; color:var(--color-navy); text-decoration:underline; text-underline-offset:4px; margin:14px 0 20px; }
.login-error { color:#b42318; font-size:12px; line-height:1.6; margin:12px 0; }
.login-error:empty { margin:0; height:20px; }
.login-submit { width:100%; justify-content:center; min-height:48px; font:inherit; font-size:13px; margin-top:20px; }
.login-demo { background:var(--color-soft); border:1px solid var(--color-light); padding:18px; border-radius:12px; margin-top:24px; font-size:12px; }
.login-demo p { color:var(--color-slate); line-height:1.9; margin:8px 0 0; }
.login-demo b { font-weight:500; }
.login-note { color:var(--color-slate); font-size:11px; line-height:1.7; margin:18px 0 0; }
.login-footer { text-align:center; padding:0 24px 24px; }
@media(max-width:900px) { .login-main { gap:36px; grid-template-columns:1fr 400px; } .login-intro h1 { font-size:34px; } }
@media(max-width:720px) { .login-header { padding:22px 6%; } .login-header img { width:128px; } .login-header .brand-tagline { letter-spacing:.42em; } .login-header > span { display:none; } .login-main { grid-template-columns:1fr; max-width:440px; padding:36px 0; gap:28px; } .login-intro h1 { font-size:30px; margin:14px 0; } .login-intro > p { margin:0; font-size:13px; } .login-feature { display:none; } .login-card { padding:26px; } }

/* Keep the dark theme's blue accents subdued against the navy surfaces. */
:root[data-theme="dark"] {
  color-scheme:dark;
  --color-surface:#111827;
  --color-on-accent:#ffffff;
  --color-navy:#5a86ca;
  --color-ink:#ffffff;
  --color-positive:#4ade80;
  --color-positive-soft:#052e16;
  --color-chart:#3271d0;
  --color-chart-fill:#172554;
  --color-slate:#d1d5db;
  --color-light:#1f2937;
  --color-canvas:#030712;
  --color-soft:#1f2937;
  --color-accent-fill:#1e4fc0;
  --color-navy-hover:#2a5ecb;
  --header-muted:#d1d5db;
  --header-heading:#ffffff;
  --header-divider:#1f2937;
}
.theme-toggle { display:grid; place-items:center; width:36px; height:36px; padding:8px; border:1px solid var(--color-light); border-radius:8px; background:var(--color-surface); color:var(--color-slate); }
.theme-toggle:hover { background:var(--color-soft); }
.theme-sun { display:none; }
[data-theme="dark"] .theme-sun { display:block; }
[data-theme="dark"] .theme-moon { display:none; }
[data-theme="dark"] .opportunities { --op-muted:#9ca3af; }
[data-theme="dark"] .badge { background:#052e16; color:#86efac; border-color:#166534; }
[data-theme="dark"] .badge-amber { background:#451a03; color:#fcd34d; border-color:#92400e; }
[data-theme="dark"] .status-filter-option:has(input:checked) { background:var(--color-soft); }
[data-theme="dark"] .op-art { background:linear-gradient(110deg,#111827,#1e3a5f); }
[data-theme="dark"] .op-art.marina { background:linear-gradient(110deg,#111827,#134e4a); }
[data-theme="dark"] .op-art.meridian { background:linear-gradient(110deg,#111827,#374151); }
[data-theme="dark"] .op-art.west-end { background:linear-gradient(110deg,#1c1917,#44403c); }
[data-theme="dark"] .op-event-icon.green { color:#86efac; background:#052e16; }
[data-theme="dark"] .op-event-icon.blue { background:#172554; }
[data-theme="dark"] .op-event-icon.peach { color:#fdba74; background:#431407; }
[data-theme="dark"] .op-event-icon.purple { color:#d8b4fe; background:#3b0764; }
[data-theme="dark"] .login-card input { border-color:var(--color-light); }
[data-theme="dark"] .login-error { color:#fca5a5; }
[data-theme="dark"] .login-card input[aria-invalid="true"] { border-color:#fca5a5; }
[data-theme="dark"] .modal-backdrop { background:#030712cc; }
[data-theme="dark"] .border-t { border-color:var(--color-light); }

/* Keep titles bright while blue marks interactive controls. */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] .section-title,
[data-theme="dark"] .opportunities .section-title { color:var(--color-ink); }
[data-theme="dark"] .stat-label { color:#d1d5db; }
[data-theme="dark"] .sidebar,
[data-theme="dark"] .topbar { background:#030712; }
[data-theme="dark"] .nav-item.active { background:#1f2937; color:#ffffff; }
[data-theme="dark"] .panel,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .login-card {
  background:linear-gradient(rgb(96 165 250 / 3%),rgb(96 165 250 / 3%)),var(--color-surface);
  border-color:rgb(96 165 250 / 14%);
  box-shadow:0 4px 16px #00000026;
}
[data-theme="dark"] .op-card:hover { border-color:var(--color-navy); }
[data-theme="dark"] .search-field,
[data-theme="dark"] .filter-form select,
[data-theme="dark"] .field-label input { background:#030712; }

[data-theme="dark"] { color:var(--color-slate); }
[data-theme="dark"] .button-primary,
[data-theme="dark"] .period-toggle button.selected,
[data-theme="dark"] .toast,
[data-theme="dark"] .skip-link { background:var(--color-accent-fill); border-color:var(--color-accent-fill); }
[data-theme="dark"] .button-primary:hover { background:var(--color-navy-hover); border-color:var(--color-navy-hover); }
[data-theme="dark"] .login-card input { color:var(--color-ink); }

/* Shared browser and installed-app foundations. Keep user zoom enabled. */
:root { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { min-height:100vh; min-height:100dvh; line-height:1.5; }
button,input,select,textarea { font-family:inherit; }
button,input[type="submit"],input[type="button"] { -webkit-appearance:none; appearance:none; }
img,svg { vertical-align:middle; }
button svg,.button svg { flex-shrink:0; }
.app-shell,.panel,.stat-card,.charts-grid>* { min-width:0; }
.charts-grid { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); }
.button { min-height:44px; justify-content:center; }
.nav-item { min-height:44px; }
.theme-toggle,.modal-close,.topbar button,.sidebar>button {
  min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center;
}
.period-toggle button { min-height:38px; }
.search-field,.filter-form select,.status-filter-trigger { min-height:44px; }
.search-field { min-width:0; max-width:100%; }
.search-field input { -webkit-appearance:none; appearance:none; border-radius:0; }
.search-field:focus-within { outline:2px solid var(--color-navy); outline-offset:2px; }
.document-row>div,.document-row>div>div { min-width:0; }
.document-row .button,.document-icon { flex-shrink:0; }
.document-row h3,.document-row p { overflow-wrap:anywhere; }
.table-scroll { max-width:100%; overscroll-behavior-x:contain; }
.sidebar {
  padding-top:calc(24px + env(safe-area-inset-top));
  padding-bottom:calc(24px + env(safe-area-inset-bottom));
  padding-left:calc(20px + env(safe-area-inset-left));
  overscroll-behavior-y:contain;
}
@media(max-height:700px) {
  .sidebar { padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
  .sidebar-footer { padding-top:8px; }
  .sidebar .security-box { display:none; }
}
.topbar {
  height:calc(76px + env(safe-area-inset-top));
  padding-top:env(safe-area-inset-top);
  padding-right:max(40px,env(safe-area-inset-right));
}
.page-content { padding-bottom:calc(32px + env(safe-area-inset-bottom)); }
.modal-backdrop {
  padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
}
.modal-card { max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overscroll-behavior:contain; }
.toast { bottom:calc(24px + env(safe-area-inset-bottom)); }
.login-page { min-height:100vh; min-height:100dvh; }
.login-header { padding-top:calc(28px + env(safe-area-inset-top)); }
.login-main { min-width:0; }
.login-footer { padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
@media(max-width:1023px) {
  .topbar { padding-left:max(20px,env(safe-area-inset-left)); padding-right:max(20px,env(safe-area-inset-right)); }
  .page-content { padding-left:max(24px,env(safe-area-inset-left)); padding-right:max(24px,env(safe-area-inset-right)); }
  .charts-grid { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
  .sidebar { width:min(288px,calc(100vw - 48px)); }
  .search-field input,.filter-form select,.field-label input,.login-card input { font-size:16px; }
}
@media(max-width:767px) {
  .charts-grid { grid-template-columns:minmax(0,1fr); }
  .performance-panel>div:first-child { flex-wrap:wrap; gap:12px; }
  .period-toggle { max-width:100%; }
  .period-toggle button { flex:1; min-height:44px; padding-inline:10px; }
  .notification-panel { position:fixed; top:calc(70px + env(safe-area-inset-top)); right:max(16px,env(safe-area-inset-right)); max-width:calc(100vw - 32px); }
}
@media(max-width:639px) {
  .topbar { height:calc(68px + env(safe-area-inset-top)); }
  .topbar>div:last-child { gap:10px; }
  .page-content { padding-top:24px; padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
  .page-heading { margin-bottom:24px; }
  .panel { padding:20px 16px; }
  .document-row { gap:10px; }
  .document-icon { padding:8px; }
  .login-main { width:calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .login-card { padding:24px 20px; }
  .login-card .login-code { letter-spacing:8px; }
  .op-search { min-width:0; width:100%; flex-basis:100%; }
}
/* Preserve responsive visibility when shared touch-control styles apply. */
@media(min-width:1024px) {
  .topbar button.lg\:hidden,.sidebar>button.lg\:hidden { display:none; }
}

/* Select logo assets from the application theme, including on iOS Safari. */
img.brand-image-light { display:block; }
img.brand-image-dark { display:none; }
[data-theme="dark"] img.brand-image-light { display:none; }
[data-theme="dark"] img.brand-image-dark { display:block; }
[data-theme="dark"] .brand-tagline { color:var(--color-ink); }

.document-preview-trigger {
  width:100%;
  text-align:left;
  color:inherit;
  cursor:pointer;
  transition:background-color .15s;
}
.document-preview-trigger:hover { background:var(--color-soft); }
.document-preview-trigger:focus-visible,
.document-preview-table:focus-visible {
  outline:2px solid var(--color-navy);
  outline-offset:3px;
  border-radius:8px;
}
.document-preview-arrow { flex-shrink:0; color:var(--color-slate); transform:rotate(-90deg); }
.modal-card.document-modal { max-width:1000px; }
.document-preview-table { border:1px solid var(--color-light); border-radius:12px; }
.document-preview-table th { background:var(--color-soft); }
