/* Grow Admin · shared/ap-free-trial.css (Kenny 2026-11-22: the Free Trial analytics page). Daybreak tokens only
   (ds/tokens.css, shared/ap.css), light + dark, phone-first; solid token colours only (WebKit). Reuses the Funnels /
   Split Test classes (shared/ap-sched.css, shared/ap-split-test.css). */
.ap-ft-toolbar { margin-bottom: 14px; }
.ap-ft-kpis { margin-top: 4px; }
.ap-ft-kpis .ap-kpi-d { gap: 4px 6px; }
.ap-ft-kpis .ap-kpi-d > span:not(.ap-delta) { font-weight: 500; }
.ap-ft-line { margin: 4px 0 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.ap-ft-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ap-ft-line .ap-delta { vertical-align: baseline; }
.ap-ft-empty { margin: 8px 0 0; }
.ap-ft-chart { min-height: 120px; }
.ap-ft-chart .ap-fr-nodata { margin: 40px 0; text-align: center; }
.ap-ft-h4 { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.ap-ft-stack { display: grid; gap: 18px; margin-top: 14px; }
.ap-ft-stack > div { min-width: 0; }

/* activation funnel: label · bar · value, one row per step */
.ap-ft-steps { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.ap-ft-step { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(80px, 2fr) minmax(86px, auto); align-items: center; gap: 4px 14px; }
.ap-ft-sl { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13.5px; min-width: 0; }
.ap-ft-sl > small { flex-basis: 100%; margin: 0; }
.ap-ft-nt { font-size: 12px; font-weight: 600; color: var(--env-ink); }
.ap-ft-bar { display: block; height: 10px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.ap-ft-bar u { display: block; height: 100%; border-radius: 5px; background: var(--c2); text-decoration: none; }
.ap-ft-step[data-ft-step="files"] .ap-ft-bar u, .ap-ft-step[data-ft-step="video"] .ap-ft-bar u, .ap-ft-step[data-ft-step="planning"] .ap-ft-bar u { background: var(--c1); }
.ap-ft-step[data-ft-step="plans"] .ap-ft-bar u { background: var(--c4); }
.ap-ft-sv { text-align: right; font-variant-numeric: tabular-nums; }
.ap-ft-sv small { display: block; }

/* tables */
.ap-ft-tbl th[scope="row"] { text-align: left; font-weight: 500; }
/* the row label is part of the row: same hover tint, same last-row edge as the cells (base .tbl styles only td) */
.ap-ft-tbl .tbl tbody tr:hover th[scope="row"] { background: var(--bg); }
.ap-ft-tbl .tbl tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.ap-ft-tbl td small.ap-fr-ct, .ap-ft-tbl th small.ap-fr-ct { display: block; margin: 1px 0 0; }
.ap-ft-tbl .tbl thead th { white-space: normal; vertical-align: bottom; line-height: 1.25; hyphens: manual; }
.ap-ft-tbl .tbl thead th.num { min-width: 84px; }
.ap-ft-tbl th[title] { cursor: help; text-decoration: underline dotted var(--line-2); text-underline-offset: 3px; }
.ap-ft-tbl .ap-ft-src { max-width: 260px; white-space: normal; overflow-wrap: anywhere; }
/* small notes under a value (".ap-fr-ct" is nowrap for "3 of 9") wrap in the Latest sign-ups table instead of running into the next column */
[data-ft-recent] .ap-fr-ct { white-space: normal; }
.ap-ft-multi { margin-left: 4px; font-size: 11.5px; }
[data-ft-recent] .tbl td, [data-ft-recent] .tbl th[scope="row"] { vertical-align: top; }
[data-ft-recent] .tbl th[scope="row"] { white-space: nowrap; }
[data-ft-recent], [data-ft-ages], [data-ft-cohorts], [data-ft-channels], [data-ft-emails], [data-ft-plans] { overflow-x: auto; }

/* ages: each age on its own */
.ap-ft-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; font-size: 13px; }
.ap-ft-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.ap-ft-pill b { color: var(--ink); }

/* sources: three short ranked lists */
.ap-ft-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.ap-ft-mini { min-width: 0; }
.ap-ft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.ap-ft-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 10px; padding: 4px 0; border-bottom: 1px solid var(--hair, var(--line)); }
.ap-ft-list li:last-child { border-bottom: 0; }
.ap-ft-list .ap-ft-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ap-ft-list b { font-variant-numeric: tabular-nums; }
.ap-ft-list small { grid-column: 1 / -1; margin: 0; }

@container main (max-width: 760px) {
  .ap-ft-minis { grid-template-columns: minmax(0, 1fr); }
}
@container main (max-width: 600px) {
  .ap-ft-step { grid-template-columns: minmax(0, 1fr) auto; }
  .ap-ft-step .ap-ft-bar { grid-column: 1 / -1; grid-row: 2; }
  .ap-ft-sl { font-size: 13px; }
}
