/* Static HTML polish for the framework-free export. */
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Regular.07nqc_0m-k7-1.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Medium.0qhf50t_r.yfy.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-SemiBold.0v~ub_rcuvqal.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html {
  color-scheme: light;
}

body {
  min-height: 100vh;
}

number-flow-react {
  display: inline-block;
}

number-flow-react > span {
  display: inline-block;
}

[hidden] {
  display: none !important;
}

.static-chart-slot {
  min-height: 250px;
  overflow: hidden;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.static-market-chart {
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 190px;
  display: block;
  overflow: visible;
}

.static-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  color: #5b6478;
  font-size: 15px;
  line-height: 1.2;
}

.static-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.static-chart-legend-item i,
.static-chart-tooltip i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.static-chart-legend strong {
  color: #111827;
  font-weight: 700;
  margin-left: -3px;
}

.static-chart-grid line {
  stroke: #d4dbe8;
  stroke-width: 1;
  stroke-dasharray: 1 5;
}

.static-chart-y-label,
.static-chart-x-axis text {
  fill: #65708a;
  font-size: 14px;
  font-weight: 500;
}

.static-chart-x-axis text {
  fill: #bcc4d3;
  text-anchor: middle;
}

.static-chart-lines path {
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 70%));
}

.static-chart-crosshair {
  opacity: 0;
  stroke: #94a3b8;
  stroke-width: 1;
  stroke-dasharray: 3 4;
  transition: opacity 150ms ease;
}

.static-chart-markers circle {
  opacity: 0;
  stroke: #fff;
  stroke-width: 3;
  transition: opacity 150ms ease;
}

.static-chart-tooltip {
  position: absolute;
  top: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateX(-50%);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #5b6478;
  box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.static-chart-tooltip span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.static-chart-tooltip strong {
  color: #111827;
}

.static-chart-slot:hover .static-chart-crosshair,
.static-chart-slot:hover .static-chart-markers circle,
.static-chart-slot:hover .static-chart-tooltip {
  opacity: 1;
}

@media (max-width: 640px) {
  .static-chart-slot {
    min-height: 230px;
  }

  .static-chart-legend {
    gap: 8px 11px;
    font-size: 13px;
  }
}

.static-allocation-modal {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: static-modal-in 180ms ease-out both;
}

.static-allocation-modal.is-hidden {
  display: none;
}

.static-allocation-modal.is-closing {
  animation: static-modal-out 180ms ease-in both;
}

.static-allocation-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(13 18 28 / 42%);
  backdrop-filter: blur(8px);
}

.static-allocation-card {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 14px;
  background: var(--color-background, #fff);
  color: var(--color-text-primary, #111827);
  box-shadow: 0 24px 70px rgb(15 23 42 / 22%);
  padding: 36px;
  text-align: left;
}

.static-allocation-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--color-text-secondary, #64748b);
  background: var(--color-neutral-50, #f8fafc);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.static-allocation-close:hover {
  background: var(--color-neutral-100, #f1f5f9);
  color: var(--color-text-primary, #111827);
}

.static-allocation-close svg {
  width: 18px;
  height: 18px;
}

.static-allocation-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--color-bg-brand, #1652f0);
  color: #fff;
  font-weight: 800;
  font-size: 23px;
  box-shadow: 0 10px 24px rgb(22 82 240 / 24%);
}

.static-allocation-card h2 {
  margin: 0 42px 12px 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: 0;
}

.static-allocation-card p {
  margin: 0 0 28px;
  color: var(--color-text-secondary, #5b6478);
  font-size: 17px;
  line-height: 1.58;
}

.static-allocation-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  background: var(--color-bg-brand, #1652f0);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(22 82 240 / 22%);
  transition: background 150ms ease, transform 150ms ease;
}

.static-allocation-cta:hover {
  background: var(--color-bg-brand-hover, #0f46d9);
  transform: translateY(-1px);
}

html[data-theme="dark"] .static-allocation-backdrop {
  background: rgb(0 0 0 / 62%);
}

html[data-theme="dark"] .static-allocation-card {
  box-shadow: 0 24px 70px rgb(0 0 0 / 45%);
}

@media (max-width: 640px) {
  .static-allocation-modal {
    align-items: end;
    padding: 14px;
  }

  .static-allocation-card {
    width: 100%;
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    border-radius: 14px;
    padding: 26px 22px 22px;
  }

  .static-allocation-close {
    top: 12px;
    right: 12px;
  }

  .static-allocation-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 20px;
  }

  .static-allocation-card h2 {
    margin-right: 38px;
    font-size: 24px;
  }

  .static-allocation-card p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.55;
  }

  .static-allocation-cta {
    min-height: 48px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .static-allocation-card {
    padding: 22px 18px 18px;
  }

  .static-allocation-card h2 {
    font-size: 22px;
  }
}

@keyframes static-modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes static-modal-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
