@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

:root {
  --bg-main: #161432;
  --bg-deep: #0b0218;
  --panel: #211433;
  --panel-soft: #33245b;
  --panel-border: rgba(206, 203, 255, 0.22);
  --text-main: #f5f5f5;
  --text-soft: #cecbff;
  --text-muted: #a4a2c5;
  --accent: #a663ff;
  --accent-strong: #643b99;
  --accent-blue: #3d8bfe;
  --accent-pale: #a9c6ff;
  --success: #54d786;
  --danger: #ef496d;
  --warning: #ffbc50;
  --shadow: 0 24px 48px rgba(5, 5, 15, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(166, 99, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(61, 139, 254, 0.16), transparent 24%),
    linear-gradient(180deg, #100a1e 0%, var(--bg-main) 34%, #120f2d 100%);
  color: var(--text-main);
}

.app-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.4;
  pointer-events: none;
}

.ambient-one {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -120px;
  background: rgba(166, 99, 255, 0.36);
}

.ambient-two {
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: 80px;
  background: rgba(61, 139, 254, 0.22);
}

.app-nav {
  backdrop-filter: blur(16px);
  background: rgba(22, 20, 50, 0.72);
}

.app-nav .navbar-brand,
.app-nav .navbar-brand:hover,
.app-nav .navbar-brand:focus {
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(166, 99, 255, 0.22);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.brand-subtitle {
  color: #ebe7ff;
  font-size: 0.78rem;
}

.app-nav .btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.app-nav .btn-outline-light:hover,
.app-nav .btn-outline-light:focus {
  color: #120f2d;
  background: #ffffff;
  border-color: #ffffff;
}

.glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(33, 20, 51, 0.92), rgba(19, 12, 37, 0.94));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dashboard-panel {
  min-height: 100%;
}

.section-kicker {
  color: var(--accent-pale);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05;
  font-weight: 750;
  margin: 0 0 0.8rem;
}

.section-copy {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}

.stack-gap {
  display: grid;
  gap: 1rem;
}

body[data-page="basket-details"] .stack-gap {
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  body[data-page="basket-details"] .stack-gap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  body[data-page="basket-details"] .stack-gap > .app-card:first-child,
  body[data-page="basket-details"] .stack-gap > .app-card:nth-child(2),
  body[data-page="basket-details"] #plansPanel,
  body[data-page="basket-details"] #stockWeightsPanel {
    grid-column: span 2;
  }
}

body[data-page="invest"] .glass-panel {
  max-width: 1040px;
  margin: 0 auto;
}

body[data-page="invest"] .stack-gap {
  max-width: 920px;
  margin: 0 auto;
}

body[data-page="portfolio"] .glass-panel {
  max-width: 1120px;
  margin: 0 auto;
}

body[data-page="basket-details"] .app-card {
  padding: 0.9rem;
  border-radius: 18px;
}

body[data-page="basket-details"] .detail-grid,
body[data-page="basket-details"] .info-grid,
body[data-page="basket-details"] .plan-grid {
  gap: 0.65rem;
}

body[data-page="basket-details"] .detail-card,
body[data-page="basket-details"] .plan-card,
body[data-page="basket-details"] .metric-card,
body[data-page="basket-details"] .response-shell,
body[data-page="basket-details"] .broker-link-box {
  padding: 0.75rem;
  border-radius: 14px;
}

body[data-page="basket-details"] .section-copy,
body[data-page="basket-details"] .detail-card span,
body[data-page="basket-details"] .detail-card strong,
body[data-page="basket-details"] .summary-value,
body[data-page="basket-details"] .summary-label,
body[data-page="basket-details"] .mini-label,
body[data-page="basket-details"] .card-header-line,
body[data-page="basket-details"] .empty-state,
body[data-page="basket-details"] .table-theme td,
body[data-page="basket-details"] .table-theme th {
  color: #f5f2ff;
}

body[data-page="basket-details"] .section-copy {
  color: #ebe7ff;
}

body[data-page="basket-details"] .detail-card strong,
body[data-page="basket-details"] .summary-label {
  color: #d7d2f7;
}

.app-card,
.status-card,
.summary-chip {
  background:
    linear-gradient(180deg, rgba(166, 99, 255, 0.12), rgba(100, 59, 153, 0.08)),
    rgba(33, 20, 51, 0.92);
  border: 1px solid rgba(206, 203, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.app-card {
  padding: 1rem;
}

.status-card {
  padding: 1rem 1.1rem;
}

.status-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-pale);
  margin-bottom: 0.45rem;
}

.status-copy {
  color: var(--text-main);
}

.card-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-main);
  font-weight: 650;
  margin-bottom: 1rem;
}

.mini-label,
.pill-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--text-soft);
  background: rgba(206, 203, 255, 0.09);
  border: 1px solid rgba(206, 203, 255, 0.14);
}

.pill-soft {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-control,
.app-select,
.app-input .form-control,
.app-input .input-group-text {
  min-height: 50px;
  border-radius: 14px;
  border-color: rgba(206, 203, 255, 0.16);
  background: rgba(12, 8, 23, 0.64);
  color: var(--text-main);
}

.app-input .input-group-text {
  color: var(--accent-pale);
}

.app-control:focus,
.app-select:focus,
.app-input .form-control:focus {
  color: var(--text-main);
  background: rgba(12, 8, 23, 0.82);
  border-color: rgba(166, 99, 255, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(166, 99, 255, 0.14);
}

.form-label {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.app-select option {
  color: #111;
}

.btn-gradient {
  border: 0;
  color: white;
  min-height: 48px;
  font-weight: 650;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  box-shadow: 0 14px 28px rgba(166, 99, 255, 0.25);
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: white;
  background: linear-gradient(135deg, #b57bff 0%, #4a99ff 100%);
}

.app-btn-secondary {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 650;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.dashboard-tabs {
  display: inline-flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(206, 203, 255, 0.12);
}

.dashboard-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #ebe7ff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-tab-link:hover,
.dashboard-tab-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-tab-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(166, 99, 255, 0.55), rgba(61, 139, 254, 0.38));
  box-shadow: 0 10px 20px rgba(61, 139, 254, 0.18);
}

.summary-cluster {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.summary-chip {
  padding: 0.8rem 1rem;
  min-width: 150px;
}

.summary-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.summary-value {
  font-weight: 700;
  color: var(--text-main);
}

.search-wrap {
  margin-bottom: 0.8rem;
}

.basket-list {
  display: grid;
  gap: 0.85rem;
  max-height: 920px;
  overflow: auto;
  padding-right: 0.25rem;
}

body[data-page="baskets"] .glass-panel {
  max-width: 1100px;
  margin: 0 auto;
}

body[data-page="baskets"] .basket-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  max-height: none;
  overflow: visible;
}

body[data-page="baskets"] .basket-item {
  padding: 0.85rem;
  border-radius: 16px;
  text-align: left;
}

body[data-page="baskets"] .basket-desc {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

body[data-page="baskets"] .meta-grid {
  gap: 0.55rem;
}

.basket-item {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(206, 203, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(166, 99, 255, 0.2), rgba(100, 59, 153, 0.12)),
    rgba(14, 11, 24, 0.96);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.basket-item:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 99, 255, 0.34);
  box-shadow: 0 16px 28px rgba(7, 5, 15, 0.28);
}

.basket-item.active {
  border-color: rgba(169, 198, 255, 0.44);
  box-shadow: 0 0 0 1px rgba(169, 198, 255, 0.16);
}

.basket-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.basket-name {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.basket-cagr-label {
  color: #c9c3eb;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.12rem;
}

.basket-cagr-value {
  color: #b7d3ff;
  font-size: 1rem;
  font-weight: 700;
}

.basket-desc {
  color: #ece8ff;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.basket-item .mini-label {
  color: #f5f5ff;
  background: rgba(169, 198, 255, 0.14);
  border-color: rgba(169, 198, 255, 0.22);
}

.basket-item .text-end small {
  color: #d7d2f7 !important;
}

.basket-item .accent-text {
  color: #b7d3ff;
}

.basket-item .meta-pill strong {
  color: #c9c3eb;
}

.basket-item .meta-pill span {
  color: #ffffff;
}

.meta-grid,
.metrics-grid,
.detail-grid,
.weight-table-wrap,
.plan-grid,
.ledger-list {
  display: grid;
  gap: 0.75rem;
}

.meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meta-pill,
.metric-card,
.detail-card,
.plan-card,
.response-shell,
.broker-link-box {
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(206, 203, 255, 0.12);
}

.meta-pill strong,
.detail-card strong,
.metric-card strong {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.meta-pill span,
.detail-card span,
.metric-card span {
  color: var(--text-main);
  font-weight: 650;
}

.accent-text {
  color: var(--accent-pale);
}

.success-text {
  color: var(--success);
}

.danger-text {
  color: #ff94ad;
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.plan-card {
  background: linear-gradient(180deg, rgba(166, 99, 255, 0.14), rgba(61, 139, 254, 0.06));
}

.plan-title {
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.plan-price {
  font-size: 1.3rem;
  font-weight: 800;
}

.plan-copy {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin: 0.6rem 0 0;
}

.plan-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.badge-soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
}

.weight-table-wrap {
  overflow: auto;
  width: 100%;
}

.table-theme {
  color: var(--text-main);
  margin-bottom: 0;
  width: 100%;
}

.table-theme th,
.table-theme td {
  background: transparent;
  border-color: rgba(206, 203, 255, 0.1);
  vertical-align: middle;
}

.table-theme thead th {
  color: var(--accent-pale);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stock-weights-panel {
  display: grid;
  gap: 1rem;
}

.stock-weights-footer {
  display: grid;
  gap: 0.8rem;
}

.stock-weights-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(206, 203, 255, 0.14);
}

.stock-weights-total strong {
  color: #d7d2f7;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stock-weights-total span {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.stock-weights-invest-btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
  color: var(--text-muted);
  padding: 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(206, 203, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.response-shell pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.broker-token-shell {
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.broker-link-box a {
  color: var(--accent-pale);
  word-break: break-all;
}

.toast-holder {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
}

.cors-banner {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 188, 80, 0.18);
  background: rgba(255, 188, 80, 0.08);
  color: #ffd88a;
}

.cors-banner.visible {
  display: block;
}

.graph-wrap {
  display: grid;
  gap: 1rem;
}

.portfolio-stack {
  max-width: 980px;
  margin: 0 auto;
}

.portfolio-summary-grid,
.portfolio-info-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.portfolio-basket-list {
  display: grid;
  gap: 0.9rem;
}

.portfolio-basket-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(206, 203, 255, 0.14);
}

.portfolio-basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-basket-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.portfolio-basket-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-basket-metrics {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.portfolio-holdings-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.portfolio-holding-card {
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(206, 203, 255, 0.12);
}

.portfolio-return-positive {
  color: var(--success) !important;
}

.portfolio-return-negative {
  color: #ff94ad !important;
}

.graph-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(166,99,255,0.04));
  border: 1px solid rgba(206, 203, 255, 0.1);
}

.graph-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.4rem;
}

.graph-period-btn.active {
  background: rgba(166, 99, 255, 0.18);
  border-color: rgba(166, 99, 255, 0.5);
  color: white;
}

.invest-period-btn.active {
  background: rgba(166, 99, 255, 0.18);
  border-color: rgba(166, 99, 255, 0.5);
  color: white;
}

.detail-tab-btn.active {
  background: rgba(166, 99, 255, 0.18);
  border-color: rgba(166, 99, 255, 0.5);
  color: white;
}

.period-select {
  width: 150px;
  min-height: 40px;
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(206, 203, 255, 0.12);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
}

.video-play-badge {
  width: 68px;
  height: 48px;
  border-radius: 16px;
  background: rgba(239, 73, 109, 0.95);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 16px 28px rgba(0,0,0,0.22);
}

.info-tag-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.info-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(169, 198, 255, 0.09);
  border: 1px solid rgba(169, 198, 255, 0.16);
  color: var(--text-main);
  font-size: 0.8rem;
  cursor: help;
}

.info-tag::after {
  content: attr(data-info);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: min(260px, 70vw);
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(11, 2, 24, 0.96);
  border: 1px solid rgba(206, 203, 255, 0.18);
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 3;
}

.info-tag:hover::after {
  opacity: 1;
}

.bar-list {
  display: grid;
  gap: 0.8rem;
}

.bar-item-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  font-size: 0.9rem;
}

.bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pale), var(--accent));
}

.info-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-value {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-badge {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(169, 198, 255, 0.12);
  border: 1px solid rgba(169, 198, 255, 0.2);
  color: var(--accent-pale);
  font-size: 0.72rem;
  cursor: help;
  position: relative;
}

.info-badge::after {
  content: attr(data-info);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: min(260px, 72vw);
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(11, 2, 24, 0.96);
  border: 1px solid rgba(206, 203, 255, 0.18);
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 4;
}

.info-badge:hover::after {
  opacity: 1;
}

.invest-panel {
  display: grid;
  gap: 0.85rem;
}

.invest-hero {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(166, 99, 255, 0.16), rgba(61, 139, 254, 0.08));
  border: 1px solid rgba(206, 203, 255, 0.12);
}

.invest-title {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.invest-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.invest-copy {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.link-plain {
  color: var(--accent-pale);
  text-decoration: none;
}

.link-plain:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .glass-panel {
    padding: 1.15rem;
  }

  .meta-grid,
  .detail-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .pill-soft {
    max-width: 180px;
  }
}
