/* --- App Shell (tabs) --- */
.app-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.app-tab-link.is-active {
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.18);
}

.app-shell__content {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  padding: 18px;
}

.app-tab .section-title {
  margin-top: 0;
}

.app-ingest__panel {
  margin-top: 18px;
}

.app-ingest__platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.app-ingest__platforms-hint {
  margin: 6px 0 0;
  font-size: 12px;
  font-style: italic;
}

.platform-tile--generic {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.65);
  padding: 6px;
}

.platform-tile__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.app-ingest__upload-grid {
  margin-top: 12px;
}

.dropzone {
  border: 2px dashed rgba(15, 118, 110, 0.55);
  border-radius: 18px;
  padding: 16px;
  background: rgba(15, 118, 110, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 160px;
  cursor: pointer;
  width: 100%;
}

.app-ingest__panel .dropzone {
  margin-top: 14px;
}

.dropzone p {
  margin: 4px 0;
}

.dropzone.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.dropzone.drag-over {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.dropzone.is-uploading {
  opacity: 0.8;
}

.upload-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.upload-actions .primary {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0f766e, #0b5d57);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.upload-actions .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.34);
}

.app-ingest__note {
  padding: 0;
}

.app-ingest__note > p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

.app-ingest__note-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
}

.app-ingest__note-title::after {
  content: "▾";
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.app-ingest__note[open] .app-ingest__note-title::after {
  transform: rotate(180deg);
}

.app-ingest__note-title::marker {
  content: "";
}

.app-ingest__note-title::-webkit-details-marker {
  display: none;
}

.app-ingest__note-icon {
  font-size: 18px;
}

.status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.status.success {
  color: var(--accent);
}

.status.error {
  color: #b91c1c;
}

.status.warning {
  color: #d97706;
}

.app-ingest__reports {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.app-ingest__report {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-left-width: 4px;
  border-left-color: transparent;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-ingest__report:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.app-ingest__report-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-ingest__report-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.app-ingest__report-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.app-ingest__report h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.app-ingest__report-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-ingest__report .meta {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.app-ingest__report--success {
  border-left-color: var(--accent);
}

.app-ingest__report--running {
  border-left-color: var(--accent-warm);
}

.app-ingest__report--error {
  border-left-color: #b91c1c;
}

.empty {
  color: var(--muted);
}

@media (max-width: 960px) {
  .dropzone {
    min-height: 180px;
  }
}

:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --ink: #1a1f2e;
  --muted: #5a6475;
  --accent: #0f766e;
  --accent-strong: #0b5d57;
  --accent-warm: #f97316;
  --panel: #ffffff;
  --panel-tint: #fff7e6;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius: 22px;
  --nav-pill-h: 43px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Work Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 118, 110, 0.18), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.2), transparent 46%),
    linear-gradient(180deg, #f7f2e8 0%, #eef1f5 55%, #e9edf3 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -120px;
  left: -140px;
  background: rgba(15, 118, 110, 0.35);
}

body::after {
  bottom: -160px;
  right: -180px;
  background: rgba(249, 115, 22, 0.35);
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.brand-mark img {
  width: 22px;
  height: 30px;
}

.brand-name {
  font-family: "Fraunces", "Cormorant Garamond", serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-link,
.nav-user,
.locale-switch__btn {
  height: var(--nav-pill-h);
  min-height: var(--nav-pill-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.nav-link.is-active {
  background: var(--panel);
  border-color: rgba(15, 118, 110, 0.45);
  color: var(--accent-strong);
}

.nav-pill {
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.18), rgba(249, 115, 22, 0.16));
  border-color: rgba(15, 118, 110, 0.3);
}

.nav-user {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 13px;
}

.nav-logout {
  margin: 0;
}

.locale-switch {
  position: relative;
  z-index: 10;
}

.locale-switch__btn {
  width: var(--nav-pill-h);
  height: var(--nav-pill-h);
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #111;
  cursor: pointer;
}

.locale-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 2001;
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 6px;
  pointer-events: auto;
  touch-action: manipulation;
}

.locale-flag {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.locale-switch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.locale-switch__item.is-active {
  background: #f0f4ff;
  font-weight: 600;
}

.locale-flag--round {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locale-flag--current {
  width: 28px;
  height: 28px;
  background: #eef2f7;
}

.locale-check {
  margin-left: auto;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.login-shell {
  display: grid;
  place-items: center;
  padding: 24px 0 40px;
}

.login-card {
  width: min(520px, 100%);
  background: var(--panel);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-clauses {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clause-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
}

.clause-checkbox {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--accent);
  margin-top: 2px;
}

.google-button-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
}

.google-button-wrap.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.login-warning {
  margin: 0;
  padding: 12px 14px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 14px;
  color: #9a3412;
  font-weight: 600;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.auth-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  z-index: 1;
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 0;
}

.hero-compact {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
}

.hero-copy h1 {
  margin: 12px 0 12px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  font-family: "Fraunces", "Cormorant Garamond", serif;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
}

.lead {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, #0f766e, #0b5d57);
  color: #fff;
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.32);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.38);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.12);
}

.btn.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.4);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.visual-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: min(360px, 100%);
  position: relative;
  z-index: 0;
}

.visual-card img {
  border-radius: 16px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-family: "Fraunces", "Cormorant Garamond", serif;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-cta {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
}

.stat-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--panel-tint);
  border: 1px solid rgba(249, 115, 22, 0.2);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.18);
}

.stat-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 600;
}

.stat-value {
  margin: 8px 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.stat-note {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.footer-line {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.visual-card img {
  animation: float 8s ease-in-out infinite;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-compact {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px 16px 36px;
  }
  .brand-tag {
    display: none;
  }
  .nav-link {
    padding: 8px 12px;
  }
  .hero-copy h1 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .visual-card img {
    animation: none;
  }
}


/* --- Dropdown navigation (Sandbox) --- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  z-index: 50;
}

.nav-dropdown__item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.nav-dropdown__item:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* --- Compact sections (used in app quick access) --- */
.section--compact {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* --- Public / Insights --- */
.public-insights {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.public-insights__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.public-insights__title {
  margin: 0;
  font-family: "Fraunces", "Cormorant Garamond", serif;
  font-size: 44px;
  letter-spacing: 0.01em;
}

.public-insights__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 680px;
}

.public-insights__period {
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14);
}

.pill.is-active {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 118, 110, 0.4);
  color: var(--accent-strong);
}

.public-insights__period {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.public-insights__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  .public-insights__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .public-insights__kpis {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.kpi-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kpi-card__label {
  margin: 0;
  font-size: 14px;
}

.kpi-xirr {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kpi-xirr__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kpi-xirr__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.kpi-xirr__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.kpi-xirr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.kpi-xirr__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.kpi-xirr__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.kpi-xirr__value {
  font-family: "Fraunces", "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.kpi-card__info {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: var(--muted);
  font-size: 12px;
  user-select: none;
}

.kpi-card__value {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kpi-card__meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.public-insights__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px;
}

@media (max-width: 960px) {
  .public-insights__grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.panel__title {
  margin: 0;
  font-size: 18px;
}

.panel__tabs {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chart-shell {
  margin-top: 14px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px dashed rgba(148, 163, 184, 0.55);
  min-height: 240px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
}

.chart-shell__placeholder {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px;
  text-align: center;
}

.public-cta {
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px;
  align-items: start;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

@media (max-width: 960px) {
  .public-cta {
    grid-template-columns: 1fr;
  }
}

.public-cta__title {
  margin: 0;
  font-size: 22px;
}

.public-cta__text {
  margin: 10px 0 16px;
  color: var(--muted);
}

.public-cta__platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 12px;
}

.platform-tile {
  height: 56px;
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
}

.platform-tile--link {
  cursor: pointer;
  text-decoration: none;
}

.platform-tile {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.platform-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.platform-tile img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
