/* Shared investment command-center components. */
/* Investment, business, and net-worth dashboard workspaces. */
/* ╔══════════════════════════════════════════════════════════════╗
   ║ Investment command center — overview, valuation, DCA        ║
   ╚══════════════════════════════════════════════════════════════╝ */
.inv-page {
  width: min(100%, 1440px);
  margin: 0 auto;
  color: var(--text-primary);
}
.inv-page button,
.inv-page select,
.inv-page input { font-family: inherit; }
.inv-page .is-positive { color: var(--accent-green); }
.inv-page .is-negative { color: var(--accent-red); }
.inv-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a5b4fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.inv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .12);
}
.inv-btn,
.inv-icon-btn,
.inv-link-btn {
  border: 0;
  cursor: pointer;
  font-weight: 750;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.inv-btn:hover,
.inv-icon-btn:hover { transform: translateY(-1px); }
.inv-btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 12px;
}
.inv-btn-primary {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .2);
}
.inv-btn-primary:hover { background: #4f46e5; }
.inv-btn-primary:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; transform: none; }
.inv-btn-secondary {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
}
.inv-btn-secondary:hover { border-color: #a5b4fc; }
.inv-btn-ghost {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.inv-btn-ghost:hover { background: rgba(255,255,255,.14); }
.inv-icon-btn {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
}
.inv-icon-btn.light {
  border-color: var(--border);
  background: var(--bg-input);
  color: var(--text-secondary);
}
.inv-link-btn {
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 8px;
  background: transparent;
  color: var(--accent-blue);
  font-size: 11px;
}
.inv-link-btn:hover { background: rgba(79,70,229,.08); }
.inv-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(15,23,42,.025);
}
.inv-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.inv-panel-head h3 {
  margin-top: 3px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.inv-panel-head p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.5;
}
.inv-section-kicker {
  color: #818cf8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
}
.inv-status-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.inv-status-pill.ok,
.inv-status-text.ok { color: #15803d; }
.inv-status-pill.ok { background: #f0fdf4; }
.inv-status-pill.watch,
.inv-status-text.watch { color: #b45309; }
.inv-status-pill.watch { background: #fffbeb; }
.inv-status-pill.risk,
.inv-status-text.risk { color: #be123c; }
.inv-status-pill.risk { background: #fff1f2; }
.inv-empty {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  color: var(--text-secondary);
  font-size: 11px;
  text-align: center;
}
.inv-empty strong { color: var(--text-primary); font-size: 13px; }
.inv-empty-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(99,102,241,.08);
  color: #6366f1;
  font-size: 16px;
}
.inv-empty.is-success .inv-empty-icon { background: #f0fdf4; color: #15803d; }

