.finance53-card { padding: 26px; min-width: 0; overflow: hidden; border-radius: 22px; background: radial-gradient(ellipse at 3% 0%, rgba(107,89,187,.08), transparent 52%), var(--surface, #111218); }
.finance53-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.finance53-kicker { margin: 0 0 16px; color: #b5a9ff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.finance53-header h2 { margin: 0; font-size: 15px; font-weight: 600; color: #c5c6d1; }
.finance53-profit { margin-top: 7px; color: #34d6a0; font-size: clamp(32px, 3.2vw, 48px); font-weight: 750; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.finance53-profit.is-negative { color: #ff7c91; }
.finance53-profit.is-unavailable { color: #a1a2b0; font-size: 30px; }
.finance53-profit-caption { margin: 9px 0 0; color: #a1a2b0; font-size: 12px; line-height: 1.5; }
.finance53-header-side { display: flex; flex-direction: column; align-items: flex-end; gap: 17px; min-width: 0; }
.finance53-controls .segmented { margin: 0; }
.finance53-controls .segment-button { white-space: nowrap; }
.finance53-sales { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.finance53-sales > span { color: #9b9caa; font-size: 11px; }
.finance53-sales > strong { color: #f5f5fb; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.finance53-delta { max-width: 230px; font-size: 10px; line-height: 1.4; color: #b5b3c9; }
.finance53-delta.is-up { color: #71c9b0; }
.finance53-delta.is-down { color: #ec9eaa; }
.finance53-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 22px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.075); border-bottom: 1px solid rgba(255,255,255,.075); }
.finance53-breakdown-item { min-width: 0; padding-right: 12px; }
.finance53-breakdown-item + .finance53-breakdown-item { border-left: 1px solid rgba(255,255,255,.065); padding-left: 16px; }
.finance53-breakdown-label { display: flex; align-items: center; gap: 7px; color: #aaaab8; font-size: 11px; line-height: 1.4; }
.finance53-dot-key { flex: 0 0 5px; height: 5px; border-radius: 50%; background: #85899b; }
.finance53-dot-key.revenue { background: #af9bff; }
.finance53-dot-key.fee { background: #f0bd70; }
.finance53-breakdown-item > strong { display: block; margin-top: 7px; font-size: 19px; color: #f4f3fa; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finance53-breakdown-item > strong em { font-style: normal; color: #747887; margin-right: 5px; }
.finance53-breakdown-item > small { display: block; margin-top: 5px; color: #9295a7; font-size: 10px; line-height: 1.5; }
.finance53-chart { min-width: 0; }
.finance53-chart-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; min-height: 37px; }
.finance53-chart-title { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #dcdae9; }
.finance53-chart-title i { display: block; width: 13px; height: 3px; background: #ac9aff; border-radius: 4px; }
.finance53-chart-heading > div > small { display: block; font-size: 10px; margin-top: 5px; color: #8e91a2; }
.finance53-chart-readout { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.finance53-chart-value { color: #c8bbff; font-size: 15px; font-variant-numeric: tabular-nums; }
.finance53-chart-label { font-size: 10px; color: #a5a3b6; }
.finance53-chart-canvas { height: 200px; position: relative; margin-top: 2px; }
.finance53-y-axis { position: absolute; inset: 0 auto 0 0; width: 55px; }
.finance53-y-axis span { position: absolute; left: 0; transform: translateY(-50%); color: #9193a4; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finance53-plot { position: absolute; inset: 0 7px 0 58px; }
.finance53-plot svg { position: absolute; width: 100%; height: 100%; overflow: visible; }
.finance53-grid-line { stroke: rgba(156,157,181,.14); stroke-width: 1px; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.finance53-line { fill: none; stroke: #af9fff; stroke-width: 2.5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; animation: finance53-reveal 450ms ease-out both; }
.finance53-hit { position: absolute; top: 0; bottom: 0; transform: translateX(-50%); padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; color: #f6f5fc; }
.finance53-hit:hover, .finance53-hit:focus-visible, .finance53-hit.is-selected { z-index: 3; }
.finance53-hit:focus-visible { outline: 1px dashed #bcafff; outline-offset: 1px; }
.finance53-crosshair { position: absolute; top: 5%; bottom: 5%; left: 50%; border-left: 1px dashed rgba(193,179,255,.55); opacity: 0; }
.finance53-dot { position: absolute; top: var(--point-y); left: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #bdacff; background: #151420; opacity: 0; transition: opacity 140ms, box-shadow 140ms; }
.finance53-hit.is-last .finance53-dot { opacity: 1; background: #bdacff; }
.finance53-hit:hover .finance53-dot, .finance53-hit:focus-visible .finance53-dot, .finance53-hit.is-selected .finance53-dot { opacity: 1; box-shadow: 0 0 0 4px rgba(163,137,255,.16); }
.finance53-hit:hover .finance53-crosshair, .finance53-hit:focus-visible .finance53-crosshair, .finance53-hit.is-selected .finance53-crosshair { opacity: 1; }
.finance53-tooltip { display: none; position: absolute; z-index: 5; left: 50%; top: 3px; transform: translateX(-50%); min-width: 104px; width: max-content; max-width: 170px; padding: 9px 11px; background: #252431; border: 1px solid #595170; border-radius: 10px; box-shadow: 0 8px 20px #0005; text-align: left; pointer-events: none; }
.finance53-tooltip small, .finance53-tooltip strong, .finance53-tooltip em { display: block; line-height: 1.4; font-style: normal; }
.finance53-tooltip small { color: #bcb8cc; font-size: 10px; }
.finance53-tooltip strong { font-size: 14px; margin-top: 3px; color: #faf7ff; }
.finance53-tooltip em { color: #b6b3c4; font-size: 10px; margin-top: 3px; }
.finance53-hit.is-start .finance53-tooltip { left: 5px; transform: none; }
.finance53-hit.is-end .finance53-tooltip { left: auto; right: 5px; transform: none; }
.finance53-hit:hover .finance53-tooltip, .finance53-hit:focus-visible .finance53-tooltip, .finance53-hit.is-selected .finance53-tooltip { display: block; }
.finance53-x-axis { display: flex; justify-content: space-between; margin: 7px 7px 0 58px; color: #9495a6; font-size: 10px; gap: 12px; }
.finance53-x-axis span:only-child { margin: auto; }
.finance53-empty { padding: 70px 20px; text-align: center; font-size: 13px; color: #9d9baa; }
.finance53-reconciliation, .finance53-planned { margin: -9px 0 18px; padding: 10px 12px; border-radius: 9px; color: #c7bdd9; background: rgba(162,132,219,.075); font-size: 11px; line-height: 1.5; }
.finance53-reconciliation { color: #ddc69d; background: rgba(219,171,79,.075); }
.finance53-footer { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-top: 17px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,.075); }
.finance53-footer > div { display: flex; flex-direction: column; gap: 5px; }
.finance53-footer > div > span { color: #989baa; font-size: 10px; }
.finance53-footer > div > strong { font-size: 14px; color: #e4e2ef; font-variant-numeric: tabular-nums; }
.finance53-method { margin-left: auto; font-size: 10px; line-height: 1.6; color: #a1a0b2; max-width: 100%; }
.finance53-method summary { color: #b9aaff; cursor: pointer; border-radius: 4px; padding: 3px 0 3px 8px; }
.finance53-method summary:focus-visible { outline: 2px solid #b9aaff; outline-offset: 4px; }
.finance53-method p { max-width: 450px; margin: 10px 0 0; padding: 12px; background: rgba(124,109,167,.08); border: 1px solid rgba(153,136,201,.12); border-radius: 9px; }
@keyframes finance53-reveal { from { opacity: .2; } to { opacity: 1; } }
@media (max-width: 700px) {
  .finance53-card { padding: 19px 17px; border-radius: 19px; }
  .finance53-header { gap: 15px; flex-wrap: wrap; }
  .finance53-header > div:first-child { flex: 1 1 160px; }
  .finance53-header-side { flex: 1 1 220px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .finance53-kicker { margin-bottom: 12px; font-size: 10px; }
  .finance53-profit { font-size: 39px; }
  .finance53-sales > strong { font-size: 19px; }
  .finance53-delta { max-width: 170px; font-size: 9px; }
  .finance53-controls .segment-button { padding: 8px 9px; font-size: 10px; }
  .finance53-breakdown { margin-top: 18px; gap: 10px; }
  .finance53-breakdown-item { padding-right: 0; }
  .finance53-breakdown-item + .finance53-breakdown-item { padding-left: 10px; }
  .finance53-breakdown-label { font-size: 10px; align-items: flex-start; }
  .finance53-dot-key { margin-top: 4px; }
  .finance53-breakdown-item > strong { font-size: 17px; }
  .finance53-breakdown-item > small { font-size: 9px; }
  .finance53-chart-canvas { height: 182px; }
  .finance53-plot { left: 49px; right: 3px; }
  .finance53-y-axis { width: 46px; }
  .finance53-y-axis span { font-size: 9px; }
  .finance53-x-axis { margin-left: 49px; margin-right: 3px; font-size: 9px; }
  .finance53-footer { gap: 20px; }
}
@media (max-width: 380px) {
  .finance53-header-side { flex-wrap: wrap; }
  .finance53-sales { flex: 1; }
  .finance53-breakdown { gap: 8px; }
  .finance53-breakdown-item + .finance53-breakdown-item { padding-left: 8px; }
  .finance53-breakdown-item > strong { font-size: 15px; }
  .finance53-breakdown-label { font-size: 9px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .finance53-line { animation: none; }
  .finance53-dot { transition: none; }
}
