/* Marketing examples follow the product's source colours and daily analytics model. */
.marketing-chart { --mc-color: #8256c5; margin: 0; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 16px -12px rgb(46 41 32 / 16%), 0 28px 64px -32px rgb(46 41 32 / 18%); overflow: hidden; color: var(--fg1); }
.mc-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.mc-heading > div { display: grid; gap: 7px; }
.mc-overline { font-size: 10px; letter-spacing: .1em; font-weight: 800; color: var(--fg2); }
.mc-heading strong { font-size: 20px; letter-spacing: -.02em; }
.mc-date { flex-shrink: 0; color: var(--fg2); font-size: 12px; border: 1px solid var(--border); padding: 7px 10px; border-radius: 6px; }
.mc-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 20px 20px 0; }
.mc-sources button { appearance: none; display: flex; flex-direction: column; align-items: start; gap: 8px; min-width: 0; padding: 14px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.mc-sources button:hover { background: var(--bg-muted); }
.mc-sources button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--mc-color) 28%, var(--border)); background: color-mix(in srgb, var(--mc-color) 5%, white); }
.mc-source-name { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mc-source-name img { width: 18px; height: 18px; }
.mc-sources button > strong { font-size: clamp(23px, 2.5vw, 32px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.mc-sources small { display: flex; flex-wrap: wrap; gap: 6px; color: var(--fg2); font-size: 11px; }
.mc-sources small span { color: #34705b; font-weight: 700; }
.mc-sources small .mc-change--down { color: #a94b45; }
.mc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 24px 28px 0; font-size: 11px; color: var(--fg2); }
.mc-legend > span { display: inline-flex; gap: 7px; align-items: center; }
.mc-swatch { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--mc-color); }
.mc-swatch--previous { border-color: #aca79c; border-top-style: dashed; }
.mc-unit { margin-left: auto; }
.mc-plot { position: relative; margin: 12px 20px 0; touch-action: pan-y; }
.mc-graph { min-height: 200px; }
.mc-graph svg { display: block; width: 100%; overflow: visible; }
.mc-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 5; }
.mc-tick { fill: var(--fg2); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.mc-line { fill: none; stroke: var(--mc-color); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.mc-previous { fill: none; stroke: #aca79c; stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linejoin: round; }
.mc-area { fill: color-mix(in srgb, var(--mc-color) 5%, transparent); }
.mc-guide { stroke: var(--mc-color); stroke-width: 1; stroke-dasharray: 3 4; opacity: .3; }
.mc-marker { fill: var(--bg-card); stroke: var(--mc-color); stroke-width: 2; }
.mc-event { fill: var(--mc-color); }
.mc-event-label { fill: var(--fg2); font-size: 10px; }
.mc-cursor { stroke: var(--fg2); stroke-width: 1; stroke-dasharray: 3 3; }
.mc-active-dot { stroke: white; stroke-width: 2.5; fill: var(--mc-color); }
[data-chart-cursor][hidden] { display: none; }
.mc-tooltip { position: absolute; top: 12px; pointer-events: none; padding: 12px 14px; background: var(--fg1); color: var(--bg-card); border-radius: 7px; box-shadow: 0 4px 16px rgb(46 41 32 / 12%); font-size: 12px; line-height: 1.7; z-index: 2; min-width: 152px; }
.mc-tooltip strong { display: block; font-size: 15px; }
.mc-tooltip small { display: block; opacity: .75; font-size: 11px; }
.mc-readout { min-height: 43px; padding: 12px 28px; border-top: 1px solid var(--border); color: var(--fg2); background: var(--bg-muted); font-size: 12px; line-height: 1.6; }
.mc-footnote { padding: 12px 28px; color: var(--fg2); font-size: 10px; line-height: 1.5; }
.mc-retention-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px 0; }
.mc-retention-summary > span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mc-retention-summary img { width: 22px; height: 22px; }
.mc-retention-summary > strong { font-size: 28px; font-weight: 900; }
.mc-retention-summary small { display: block; font-size: 10px; color: var(--fg2); font-weight: 400; }
@media (max-width: 640px) {
  .mc-heading { padding: 16px; }
  .mc-heading strong { font-size: 18px; }
  .mc-sources { padding: 16px 8px 0; gap: 3px; }
  .mc-sources button { padding: 12px 8px; }
  .mc-source-name { font-size: 12px; white-space: normal; min-height: 32px; align-items: start; line-height: 1.35; }
  .mc-source-name img { width: 16px; height: 16px; }
  .mc-source-name img { flex-shrink: 0; }
  .mc-sources small { font-size: 12px; }
  .mc-legend { padding: 16px 16px 0; gap: 10px; font-size: 12px; }
  .mc-legend .mc-unit { display: none; }
  .mc-plot { margin: 8px 10px 0; }
  .mc-readout, .mc-footnote { padding-inline: 16px; }
  .mc-footnote { font-size: 11px; }
  .mc-retention-summary { padding-inline: 16px; }
}
.mc-discovery { --mc-color: #25805d; }
.mc-discovery-body { padding: 28px; }
.mc-discovery-total { display: flex; flex-direction: column; gap: 6px; }
.mc-discovery-total strong { font-size: 40px; line-height: 1; letter-spacing: -.04em; font-weight: 900; font-variant-numeric: tabular-nums; }
.mc-discovery-total span { font-size: 12px; color: var(--fg2); }
.mc-distribution { display: flex; height: 24px; gap: 3px; overflow: hidden; border-radius: 4px; margin: 28px 0 12px; }
.mc-distribution span:nth-child(1), .mc-distribution-table tr:nth-child(1) i { background: #25805d; }
.mc-distribution span:nth-child(2), .mc-distribution-table tr:nth-child(2) i { background: #82b5a0; }
.mc-distribution span:nth-child(3), .mc-distribution-table tr:nth-child(3) i { background: #c5d8ce; }
.mc-distribution span:nth-child(4), .mc-distribution-table tr:nth-child(4) i { background: #d8d4c9; }
.mc-distribution-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mc-distribution-table caption { text-align: left; font-size: 11px; color: var(--fg2); padding-block: 8px 16px; }
.mc-distribution-table th, .mc-distribution-table td { padding: 12px 0; text-align: right; border-bottom: 1px solid var(--border); }
.mc-distribution-table th:first-child { text-align: left; }
.mc-distribution-table th { font-weight: 600; }
.mc-distribution-table thead { color: var(--fg2); font-size: 11px; }
.mc-distribution-table i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 2px; }
@media (max-width: 640px) { .mc-discovery-body { padding: 24px 16px; } }
