/* Features ▸ Progress tracking (/progress-tracking).
   Shares the `cx` product-showcase system used by the other feature pages; the
   `pt-` rules below are this page's own interactive demo. */

.cx { overflow-x: clip; }
.cx .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;
}
.cx h3 { font-family: var(--font-display); color: var(--fg); letter-spacing: -0.01em; }
.cx :focus-visible { outline: 3px solid var(--color-violet-500); outline-offset: 3px; border-radius: 10px; }
.cx code {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.92em; padding: 1px 6px; border-radius: 6px;
  background: var(--color-violet-100); color: var(--color-violet-700);
}
.cx-overview { background: var(--color-ivory); }

/* ---------- frame around real product screens ---------- */
.cx-frame {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.cx-frame-bar {
  display: flex; align-items: center; gap: 14px;
  height: clamp(26px, 1.6vw + 20px, 34px); padding: 0 clamp(10px, 0.5vw + 8px, 14px);
  background: var(--color-mist);
  border-bottom: 1px solid var(--border-strong);
}
.cx-frame-dots { display: inline-flex; gap: 6px; flex: none; }
.cx-frame-dots i { width: clamp(7px, 0.3vw + 6px, 9px); aspect-ratio: 1; border-radius: 50%; background: var(--color-slate-300); }
.cx-frame-url {
  flex: 1; min-width: 0; max-width: 340px; margin: 0 auto;
  height: clamp(16px, 0.8vw + 13px, 20px); line-height: clamp(16px, 0.8vw + 13px, 20px); padding: 0 12px;
  border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border);
  font-size: clamp(10px, 0.2vw + 9.4px, 11px); color: var(--fg-muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* The shots on this page are not all 1440x900; _cert_shot passes each one's own
   ratio so the box is reserved at the right height and nothing shifts on load. */
.cx-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; background: var(--color-mist); }

/* ---------- hero ---------- */
.cx-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em;
  color: var(--fg); margin: 14px 0 20px; text-wrap: balance;
}
.cx-hero .lede { margin: 0 0 28px; }
.cx .hero-ctas { display: grid; gap: 12px; }
.cx-hero-copy, .cx-split-copy { max-width: 680px; }
.cx-hero-points {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.cx-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--fg-body); }
.cx-hero-points i, .cx-hero-points svg { width: 16px; height: 16px; flex: none; color: var(--color-violet-600); }
.cx-hero-art { position: relative; }
/* ---------- icon tile + feature cards ---------- */
.cx-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: inline-grid; place-items: center;
}
.cx-ico svg { width: 20px; height: 20px; }
.cx-ico.teal    { background: var(--color-teal-50);    color: var(--color-teal-700); }
.cx-ico.violet  { background: var(--color-violet-100); color: var(--color-violet-700); }
.cx-ico.blue    { background: var(--color-blue-50);    color: var(--color-blue-700); }
.cx-ico.emerald { background: var(--color-emerald-50); color: var(--color-emerald-700); }
.cx-ico.amber   { background: var(--color-amber-50);   color: var(--color-amber-600); }
.cx-ico.rose    { background: var(--color-rose-50);    color: var(--color-rose-600); }

.cx-cards, .cx-uses-grid { list-style: none; padding: 0; }
.cx-card, .cx-use {
  height: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(22px, 0.6vw + 20px, 26px); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base, .2s) var(--ease-out), box-shadow var(--dur-base, .2s) var(--ease-out), border-color .2s;
}
.cx-card:hover, .cx-use:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.cx-card h3, .cx-use h3 { font-size: 18px; margin: 16px 0 8px; }
.cx-card p, .cx-use p { font-size: 14.5px; line-height: 1.6; color: var(--fg-body); margin: 0; }

/* ---------- shared split / list bits ---------- */
.cx-split-copy h2, .cx-split-copy .display-lg { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.025em; margin: 0 0 16px; }

.cx-num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: var(--color-violet-600); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.cx-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 24px 0 0; padding: 12px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 13.5px; line-height: 1.55; color: var(--fg-body);
}
.cx-note i, .cx-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--color-violet-600); }

.cx-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cx-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--fg-body); }
.cx-checks i, .cx-checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--color-emerald-600); }
.cx-checks strong { color: var(--fg); }

/* ---------- final CTA ---------- */
.cx-final-inner { text-align: center; max-width: 860px; }
.cx-final .cta-lede { margin-left: auto; margin-right: auto; }
.cx-final .hero-ctas { gap: 12px; }
.cx-final .btn-on-dark:focus-visible, .cx-final .btn-ghost-dark:focus-visible { outline-color: #fff; }

/* ---------- this page: the interactive progress demo (pt-) ----------
   Colours come from the site theme (colors_and_type.css). */
.pt {
  --pt-primary: var(--color-violet-600);
  --pt-soft: var(--color-violet-50);
  --pt-heading: var(--fg);
  --pt-body: var(--fg-body);
  --pt-muted: var(--fg-muted);
  --pt-border: var(--border);
  --pt-ok: var(--color-emerald-600);
  --pt-ok-ink: var(--color-emerald-700);
  --pt-ok-soft: var(--color-emerald-50);
  --pt-warn: var(--color-amber-500);
  --pt-warn-ink: #92400E;
  --pt-warn-soft: var(--color-amber-50);
  --section-y: clamp(48px, 7vw, 88px);
  background: var(--bg);
  color: var(--pt-body);
}
.pt h1, .pt h2, .pt h3, .pt h4 { font-family: var(--font-display); color: var(--pt-heading); }
.pt .final-cta h2 { color: #fff; text-wrap: balance; }
.pt-final-link a:focus-visible { outline-color: #fff; }
.pt [hidden] { display: none !important; }
.pt .btn { min-height: 44px; border-radius: 11px; transition: background .15s, box-shadow .15s, border-color .15s, color .15s; }
.pt .btn-lg { min-height: 48px; }
.pt .btn-primary { background: var(--color-violet-600); color: #fff; box-shadow: var(--shadow-violet-soft); }
.pt .btn-primary:hover { background: var(--color-violet-500); box-shadow: var(--shadow-violet); }
.pt .btn-primary:disabled { background: #94A3B8; box-shadow: none; cursor: progress; }
.pt .btn-secondary { background: #fff; color: var(--color-violet-700); border: 1px solid var(--color-violet-200); }
.pt .btn-secondary:hover { background: var(--pt-soft); }
.pt .btn-link { background: none; border: 0; color: var(--pt-muted); text-decoration: underline; text-underline-offset: 3px; }
.pt .btn svg { width: 17px; height: 17px; }

.pt-eyebrow { color: var(--color-violet-700); }
.pt-accent { background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 60%, #A78BFA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt .section-head h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.pt .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.pt .lede { color: var(--pt-body); font-size: 17px; }
.pt-h { font-size: 15px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.005em; }
.pt-h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; margin: 0 0 14px; }
.pt-k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pt-muted); }
.pt-kicker { font-size: 13px; font-weight: 600; color: var(--pt-muted); }
.pt-kicker strong { color: var(--pt-heading); }
.pt-fine { font-size: 13px; line-height: 1.6; color: var(--pt-muted); margin: 16px 0 0; }
.pt-fine a { display: inline-block; padding-block: 6px; margin-block: -6px; color: var(--color-violet-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-center { text-align: center; max-width: 760px; margin-inline: auto; }
.pt-plain { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; }
.pt-tag { font-size: 11px; font-weight: 600; color: var(--pt-warn-ink); background: #FFFBEB; border: 1px solid #FDE68A; padding: 1px 6px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }

/* demo-integrity flags */
.pt-flag {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 3px 9px; border-radius: 999px; border: 1px solid;
  font-size: 11.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; vertical-align: middle;
}
.pt-flag svg { width: 12px; height: 12px; }
.pt-flag--live        { color: #047857; background: #ECFDF5; border-color: #A7F3D0; }
.pt-flag--data        { color: #475569; background: #F1F5F9; border-color: #CBD5E1; }
.pt-flag--interactive { color: var(--color-violet-700); background: var(--color-violet-50); border-color: var(--color-violet-200); }
.pt-flag--concept     { color: #92400E; background: #FFFBEB; border-color: #FDE68A; }
.pt-flags { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* card */
.pt-card {
  background: #fff; border: 1px solid var(--pt-border); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .06);
  padding: clamp(18px, 2.4vw, 28px);
}
.pt-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pt-card-top .pt-h { margin: 0; }
.pt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.pt-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--color-violet-100); color: var(--color-violet-700); }
.pt-ico svg { width: 19px; height: 19px; }
.pt-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-violet-100); color: var(--color-violet-700); font-weight: 700; font-size: 13px; }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pt-chip svg { width: 14px; height: 14px; }
.pt-chip--ok { background: var(--pt-ok-soft); color: var(--pt-ok-ink); }
.pt-chip--warn { background: var(--pt-warn-soft); color: var(--pt-warn-ink); }
.pt-chip--done { background: var(--color-violet-100); color: var(--color-violet-700); }

/* hero */
.pt-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; margin: 14px 0 18px; text-wrap: balance; }
.pt-hero .lede { margin: 0 0 26px; }
.pt-hero .hero-ctas { gap: 12px; }
.pt-micro { margin: 14px 0 0; font-size: 13.5px; color: var(--pt-muted); }
.pt-hero-copy { max-width: 600px; }
.pt-hcard { box-shadow: var(--shadow-xl); scroll-margin-top: 96px; }
.pt-hcard:focus-visible { outline-offset: 4px; }
.pt-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-who strong { display: block; font-family: var(--font-display); color: var(--pt-heading); font-size: 15px; }
.pt-who small { display: block; font-size: 12.5px; color: var(--pt-muted); }
.pt-hcard-main { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.pt-hcard .pt-act { padding: 7px 12px; }
.pt-hcard .pt-pacebar { margin-top: 12px; padding-top: 12px; }
.pt-hcard .pt-actions { margin-top: 14px; }
.pt-ring {
  --p: 75; width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--color-violet-600) calc(var(--p) * 1%), var(--color-violet-100) 0);
  transition: background .2s;
}
.pt-ring.is-complete { background: conic-gradient(var(--pt-ok) calc(var(--p) * 1%), var(--color-emerald-100) 0); }
.pt-ring > span { width: 82px; height: 82px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.pt-ring strong { font-family: var(--font-display); font-size: 24px; color: var(--pt-heading); line-height: 1; }
.pt-ring small { font-size: 11px; color: var(--pt-muted); }
.pt-hcard-status { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.pt-hcard-headline { font-family: var(--font-display); font-size: 20px; color: var(--pt-heading); letter-spacing: -0.015em; }
.pt-hcard-sub { font-size: 14px; color: var(--pt-body); }

.pt-acts, .pt-week-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pt-act, .pt-wrow {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
  background: var(--color-mist, #F8FAFC); border: 1px solid transparent; font-size: 13.5px;
  transition: background .3s, border-color .3s;
}
.pt-act.is-now, .pt-wrow.is-now { background: var(--pt-soft); border-color: var(--color-violet-200); }
.pt-act.is-session { background: transparent; border: 1px dashed var(--pt-border); }
.pt-act-mark { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid #CBD5E1; position: relative; background: #fff; }
.is-done > .pt-act-mark { border-color: var(--color-emerald-500); background: var(--pt-ok-soft); }
.is-done > .pt-act-mark::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--pt-ok-ink); }
.is-now > .pt-act-mark { border-color: var(--color-violet-500); }
.is-now > .pt-act-mark::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--color-violet-700); }
.is-review > .pt-act-mark { border-color: var(--pt-warn); background: var(--pt-warn-soft); }
.is-session > .pt-act-mark { border-style: dashed; }
.pt-act-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-act-text strong { font-weight: 600; color: var(--pt-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-act-text small { font-size: 12px; color: var(--pt-muted); }
.pt-act-meta { flex: none; font-size: 12.5px; font-weight: 600; color: var(--pt-muted); text-align: right; }
.is-done > .pt-act-meta { color: var(--pt-ok-ink); }
.is-now > .pt-act-meta { color: var(--color-violet-700); }
.pt-act.is-flash, .pt-wrow.is-flash { animation: pt-flash 1.2s var(--ease-out); }
@keyframes pt-flash { 0% { background: var(--color-emerald-100); } 100% { background: var(--color-mist, #F8FAFC); } }

.pt-pacebar { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pt-border); }
.pt-pacebar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; }
.pt-pacebar-head strong { color: var(--pt-heading); }
.pt-pacebar-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12.5px; color: var(--pt-muted); }
.pt-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.pt-dot--you { background: var(--color-violet-600); }
.pt-dot--cohort { background: #fff; border: 2px solid var(--fg); }
.pt-track { position: relative; height: 8px; border-radius: 999px; background: var(--color-violet-100); }
.pt-track--lg { height: 10px; margin-bottom: 18px; }
.pt-track-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--color-violet-600); transition: width .9s var(--ease-out); }
.pt-track-mark { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: var(--fg); box-shadow: 0 0 0 2px #fff; }

.pt-hcard-step { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--pt-warn-soft); color: var(--pt-warn-ink); font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.pt-hcard-step.is-ok { background: var(--pt-ok-soft); color: var(--pt-ok-ink); }
.pt-hcard-step svg { width: 16px; height: 16px; flex: none; }
.pt-hcard-done { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--pt-ok-soft); border: 1px solid var(--color-emerald-100); }
.pt-hcard-done strong { display: block; color: var(--pt-ok-ink); font-family: var(--font-display); }
.pt-hcard-done small { font-size: 13px; color: var(--pt-body); }
.pt-hcard-done-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--pt-ok); color: #fff; }
.pt-hcard-done-ico svg { width: 18px; height: 18px; }
.pt-hcard-done.is-entering { animation: pt-pop .45s var(--ease-out) both; }
@keyframes pt-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* philosophy + loop */
.pt-philo { background: var(--color-ivory); }
.pt-philo-flow { list-style: none; padding: 0; margin: 0; }
.pt-philo-card { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--pt-border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.pt-philo-top { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.pt-philo-n { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--pt-muted); }
.pt-philo-card h3 { font-size: 19px; margin: 14px 0 2px; }
.pt-philo-q { margin: 0 0 12px; font-size: 14.5px; color: var(--pt-body); }
.pt-philo-ex { margin: 0 0 14px; flex: 1; font-size: 13.5px; font-weight: 600; color: var(--color-violet-700); background: var(--pt-soft); border-radius: 10px; padding: 8px 10px; width: 100%; }
.pt-loop { margin-top: clamp(28px, 4vw, 44px); padding: clamp(18px, 2.4vw, 26px); background: #fff; border: 1px solid var(--pt-border); border-radius: 18px; }
.pt-loop-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: loop; }
.pt-loop-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; border-radius: 14px; background: var(--color-mist, #F8FAFC); }
.pt-loop-steps li:not(:last-child)::after { content: "›"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--pt-muted); font-size: 18px; }
.pt-loop-steps strong { font-family: var(--font-display); color: var(--pt-heading); }
.pt-loop-steps small { font-size: 12.5px; color: var(--pt-muted); }
.pt-loop-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--pt-border); color: var(--pt-muted); }
.pt-loop-ico svg { width: 18px; height: 18px; }
.pt-loop-steps .is-done .pt-loop-ico { background: var(--pt-ok-soft); border-color: var(--color-emerald-100); color: var(--pt-ok-ink); }
.pt-loop-steps .is-done small { color: var(--pt-ok-ink); }
.pt-loop-steps .is-now { background: var(--pt-soft); box-shadow: inset 0 0 0 1px var(--color-violet-200); }
.pt-loop-steps .is-now .pt-loop-ico { background: var(--color-violet-600); border-color: var(--color-violet-600); color: #fff; }
.pt-loop-steps .is-now small { color: var(--color-violet-700); font-weight: 600; }

/* weekly progress */
.pt-week-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pt-week-big { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--pt-heading); margin-right: 10px; }
.pt-week-count { font-size: 14px; color: var(--pt-body); }
.pt-due { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pt-warn-ink); background: var(--pt-warn-soft); padding: 5px 10px; border-radius: 999px; }
.pt-due svg { width: 15px; height: 15px; }
.pt-segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 16px; }
.pt-seg { height: 8px; border-radius: 999px; background: var(--color-violet-100); transition: background .4s; }
.pt-seg.is-done { background: var(--pt-ok); }
.pt-seg.is-now, .pt-seg.is-review { background: repeating-linear-gradient(135deg, var(--color-violet-300, #C4B5FD) 0 6px, var(--color-violet-100) 6px 12px); }
.pt-wrow-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1px solid var(--pt-border); color: var(--pt-muted); }
.pt-wrow-ico svg { width: 15px; height: 15px; }
.pt-week-msg { display: flex; gap: 8px; align-items: center; margin: 14px 0; font-size: 14px; font-weight: 600; color: var(--color-violet-700); }
.pt-week-msg.is-done { color: var(--pt-ok-ink); }
.pt-week-msg svg { width: 17px; height: 17px; flex: none; }
.pt-breakdown { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--pt-border); }
.pt-breakdown.is-entering { animation: pt-pop .3s var(--ease-out) both; }
.pt-bd { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pt-bd li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--color-mist, #F8FAFC); font-size: 13.5px; }
.pt-bd-name { font-weight: 600; color: var(--pt-heading); }
.pt-bd-name small { font-weight: 500; color: var(--pt-muted); margin-left: 4px; }
.pt-bd-share { color: var(--pt-muted); font-variant-numeric: tabular-nums; }
.pt-bd-state { font-weight: 700; font-size: 12.5px; color: var(--pt-muted); }
.pt-bd li.is-done .pt-bd-state { color: var(--pt-ok-ink); }
.pt-bd-rule { grid-column: 1 / -1; font-size: 12.5px; color: var(--pt-muted); }
.pt-bd-sum { margin: 12px 0 0; font-size: 14px; line-height: 1.55; }
.pt-bd-sum strong { color: var(--pt-heading); }
.pt-calc { background: linear-gradient(180deg, var(--pt-soft), #fff 60%); }
.pt-calc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--color-violet-600); color: #fff; margin-bottom: 14px; }
.pt-calc-ico svg { width: 20px; height: 20px; }
.pt-calc-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 700; color: var(--pt-heading); }
.pt-calc-formula span:not([aria-hidden]) { padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--color-violet-200); font-size: 14px; }
.pt-calc-formula span[aria-hidden] { font-size: 20px; color: var(--color-violet-600); }

/* program journey */
.pt-journey-section { background: var(--color-ivory); }
.pt-weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.pt-wk {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 10px; text-align: left;
  border-radius: 12px; border: 1px solid var(--pt-border); background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.pt-wk:hover { border-color: var(--color-violet-200); }
.pt-wk[aria-selected="true"] { border-color: var(--color-violet-500); box-shadow: 0 0 0 1px var(--color-violet-500); }
.pt-wk-n { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--pt-heading); white-space: nowrap; }
.pt-wk-state { font-size: 11.5px; color: var(--pt-muted); }
.pt-wk.is-done { background: var(--pt-ok-soft); }
.pt-wk.is-done .pt-wk-state { color: var(--pt-ok-ink); font-weight: 600; }
.pt-wk.is-now .pt-wk-state { color: var(--color-violet-700); font-weight: 600; }
.pt-wk-panel { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--color-mist, #F8FAFC); }
.pt-wk-panel .pt-wrow { background: #fff; }
.pt-wk-detail.is-entering { animation: pt-pop .28s var(--ease-out) both; }
.pt-wk-detail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pt-wk-detail-head .pt-h2 { margin-bottom: 10px; }
.pt-wk-dates { font-size: 13px; color: var(--pt-muted); }
.pt-wk-note { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 13.5px; color: var(--pt-body); }
.pt-wk-note svg { width: 16px; height: 16px; flex: none; color: var(--color-violet-600); }
.pt-miles { margin-top: 24px; padding: clamp(18px, 2.4vw, 26px); background: #fff; border: 1px solid var(--pt-border); border-radius: 18px; }
.pt-miles-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.pt-miles-list::before { content: ""; position: absolute; left: 8%; right: 8%; top: 8px; height: 2px; background: var(--pt-border); }
.pt-mile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px; font-size: 13px; }
.pt-mile-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #CBD5E1; margin-bottom: 6px; position: relative; z-index: 1; }
.pt-mile strong { color: var(--pt-heading); font-size: 13.5px; }
.pt-mile small { color: var(--pt-muted); font-size: 12px; }
.pt-mile.is-done .pt-mile-dot { background: var(--pt-ok); border-color: var(--pt-ok); }
.pt-mile.is-now .pt-mile-dot { background: var(--color-violet-600); border-color: var(--color-violet-600); box-shadow: 0 0 0 4px var(--color-violet-100); }
.pt-mile.is-next .pt-mile-dot { border-color: var(--color-violet-500); }
.pt-mile.is-locked .pt-mile-dot { border-style: dashed; }

/* activity types */
.pt-types .pt-type-list { margin-bottom: 16px; }
.pt-type {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; text-align: left;
  background: #fff; border: 1px solid var(--pt-border); border-radius: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.pt-type:hover { border-color: var(--color-violet-200); }
.pt-type[aria-selected="true"] { border-color: var(--color-violet-500); box-shadow: 0 0 0 1px var(--color-violet-500), var(--shadow-md); }
.pt-type .pt-ico { margin-bottom: 8px; }
.pt-type-title { font-weight: 600; font-size: 14px; color: var(--pt-heading); }
.pt-type-count { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--pt-heading); letter-spacing: -0.02em; }
.pt-type-note { font-size: 12.5px; color: var(--pt-muted); }
.pt-type.is-uncounted { border-style: dashed; }
.pt-type.is-uncounted .pt-ico { background: var(--color-cloud, #F1F5F9); color: var(--pt-muted); }
.pt-type-panel .btn { margin-top: 16px; }
.pt-type-panel.is-entering { animation: pt-pop .28s var(--ease-out) both; }

/* pace */
.pt-pace-section { background: var(--color-ivory); }
.pt-seg-ctl { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--color-cloud, #F1F5F9); flex-wrap: wrap; }
.pt-seg-ctl button { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: 14px; color: var(--pt-body); cursor: pointer; }
.pt-seg-ctl button[aria-selected="true"] { background: #fff; color: var(--color-violet-700); box-shadow: var(--shadow-sm); }
.pt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.pt-stats > div { padding: 12px; border-radius: 12px; background: var(--color-mist, #F8FAFC); }
.pt-stats dt { font-size: 12px; color: var(--pt-muted); font-weight: 600; }
.pt-stats dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--pt-heading); }
.pt-gauge { position: relative; height: 12px; border-radius: 999px; background: var(--color-violet-100); margin-bottom: 24px; }
.pt-gauge-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transition: width .6s var(--ease-out); }
.pt-gauge-fill--ahead, .pt-gauge-fill--ontrack { background: var(--pt-ok); }
.pt-gauge-fill--behind { background: var(--pt-warn); }
.pt-gauge-mark { position: absolute; top: -5px; width: 3px; height: 22px; margin-left: -1.5px; background: var(--fg); border-radius: 2px; }
.pt-gauge-mark small { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 11.5px; color: var(--pt-muted); white-space: nowrap; }
.pt-pace-head { margin: 12px 0 6px; }
.pt-pace-state p { margin: 0 0 10px; font-size: 15px; }
.pt-pace-state.is-entering { animation: pt-pop .28s var(--ease-out) both; }
.pt-pace-next { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--color-violet-700); }
.pt-pace-next svg { width: 16px; height: 16px; flex: none; }
.pt-pace-notes { margin-top: 6px; border-top: 1px solid var(--pt-border); }
.pt-context { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--pt-soft); font-size: 14px; font-weight: 600; color: var(--color-violet-700); }
.pt-context svg { width: 18px; height: 18px; flex: none; }

/* instructor screens + scope */
.pt-scope { background: var(--color-ivory); }
.pt-scope-inner { max-width: 980px; margin: 0 auto; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--pt-border); border-radius: 18px; }
.pt-legend { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 14px; }
.pt-legend li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- R7–R20 ---------- */
.pt-time-section, .pt-cohort-section, .pt-learner-section, .pt-recovery-section,
.pt-compare-section, .pt-complete-section, .pt-ai-section { background: var(--color-ivory); }
.pt-mt { margin-top: 18px; }
.pt .btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; border-radius: 9px; }
.pt .btn-ai { background: var(--gradient-ai-soft); color: var(--color-violet-700); border: 1px solid var(--color-violet-200); font-weight: 600; }
.pt .btn-ai:hover { background: var(--color-violet-100); }
.pt-chip--bad { background: #FEF2F2; color: #B91C1C; }

/* deadlines */
.pt-deadline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; }
.pt-deadline .pt-h2 { margin: 8px 0 0; }
.pt-deadline-state { margin: 0; font-size: 14px; font-weight: 600; color: var(--color-violet-700); }
.pt-inline.is-review { color: var(--pt-warn-ink); }
.pt-inline.is-done { color: var(--pt-ok-ink); }
.pt-deadline-msg { margin: 4px 0 12px; font-size: 15px; color: var(--pt-body); }

/* timeline + weekly bars */
.pt-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--pt-border); display: grid; gap: 14px; }
.pt-timeline li { position: relative; display: grid; gap: 1px; }
.pt-timeline li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #CBD5E1; }
.pt-timeline li.is-done::before { background: var(--pt-ok); border-color: var(--pt-ok); }
.pt-timeline li.is-now::before { background: var(--color-violet-600); border-color: var(--color-violet-600); box-shadow: 0 0 0 4px var(--color-violet-100); }
.pt-timeline time { font-size: 12px; font-weight: 600; color: var(--pt-muted); }
.pt-timeline strong { font-size: 14.5px; color: var(--pt-heading); }
.pt-timeline small { font-size: 12.5px; color: var(--pt-muted); }
.pt-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 220px; align-items: end; }
.pt-bars--sm { height: 170px; }
.pt-bar { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.pt-bar-col { flex: 1; width: 100%; max-width: 56px; display: flex; align-items: flex-end; background: var(--color-violet-50); border-radius: 10px; overflow: hidden; }
.pt-bar-fill { display: block; width: 100%; background: var(--pt-ok); border-radius: 10px 10px 0 0; transition: height .8s var(--ease-out); }
.pt-bar.is-now .pt-bar-fill { background: var(--color-violet-600); }
.pt-bar strong { font-size: 13.5px; color: var(--pt-heading); }
.pt-bar small { font-size: 12px; color: var(--pt-muted); }

/* role switcher */
.pt-context-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pt-context-bar span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--color-mist, #F8FAFC); border: 1px solid var(--pt-border); font-size: 13px; font-weight: 600; color: var(--pt-heading); }
.pt-context-bar svg { width: 14px; height: 14px; color: var(--color-violet-600); }
.pt-roles .pt-seg-ctl button { display: inline-flex; align-items: center; gap: 6px; }
.pt-roles .pt-seg-ctl svg { width: 16px; height: 16px; }
.pt-role-panel { margin-top: 18px; }
.pt-role-panel.is-entering { animation: pt-pop .28s var(--ease-out) both; }
.pt-role-q { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--pt-heading); letter-spacing: -0.015em; }
.pt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pt-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pt-tiles > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--color-mist, #F8FAFC); border: 1px solid var(--pt-border); }
.pt-tiles > div.is-warn { background: var(--pt-warn-soft); border-color: #FDE68A; }
.pt-tiles dt { font-size: 12.5px; font-weight: 600; color: var(--pt-muted); }
.pt-tiles dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--pt-heading); letter-spacing: -0.015em; }
.pt-next { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--pt-soft); border: 1px solid var(--color-violet-200); }
.pt-next strong { color: var(--color-violet-700); font-size: 15px; }
.pt-role-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* cohort dashboard */
.pt-stack { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--color-violet-50); }
.pt-stack span { display: block; height: 100%; }
.pt-stack .is-done, .pt-stack-legend .is-done { background: var(--pt-ok); }
.pt-stack .is-now, .pt-stack-legend .is-now { background: var(--color-violet-400, #A78BFA); }
.pt-stack .is-todo, .pt-stack-legend .is-todo { background: #CBD5E1; }
.pt-stack-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.pt-stack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.pt-stack-legend strong { color: var(--pt-heading); margin-left: 4px; }
.pt-callout { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--pt-warn-soft); color: var(--pt-warn-ink); font-size: 14px; }
.pt-callout svg { width: 17px; height: 17px; flex: none; }
.pt-callout .btn { margin-left: auto; }
.pt-insight { margin: 14px 0; font-size: 14px; line-height: 1.55; color: var(--pt-body); }

/* attention queue */
.pt-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-person { padding: 16px 18px; }
.pt-person-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pt-person-main { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.pt-person-main strong { font-family: var(--font-display); color: var(--pt-heading); }
.pt-person-main small { font-size: 12.5px; color: var(--pt-muted); }
.pt-signal-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 3px; font-size: 14px; }
.pt-why { margin-top: 10px; }
.pt-why summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--color-violet-200); color: var(--color-violet-700); font-weight: 600; font-size: 13.5px; cursor: pointer; list-style: none; }
.pt-why summary::-webkit-details-marker { display: none; }
.pt-why summary::after { content: "▾"; margin-left: 6px; font-size: 11px; }
.pt-why[open] summary::after { content: "▴"; }
.pt-why p { margin: 10px 0; font-size: 14px; line-height: 1.55; }
.pt-rule-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pt-rule-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--pt-border); }
.pt-rule-list li:last-child { border-bottom: 0; }
.pt-rule-list strong { font-size: 14px; color: var(--pt-heading); }
.pt-rule-list small { font-size: 12.5px; color: var(--pt-muted); }

/* learner detail */
.pt-sig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-sig-grid li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--color-mist, #F8FAFC); }
.pt-sig-grid li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pt-sig-grid small { font-size: 12px; color: var(--pt-muted); }
.pt-sig-grid strong { font-size: 13.5px; color: var(--pt-heading); }
.pt-sig-grid li.is-warn .pt-wrow-ico { background: var(--pt-warn-soft); color: var(--pt-warn-ink); border-color: #FDE68A; }
.pt-sig-grid li.is-done .pt-wrow-ico { background: var(--pt-ok-soft); color: var(--pt-ok-ink); border-color: var(--color-emerald-100); }
.pt-reasons { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }

/* progress → action */
.pt-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pt-flow li { position: relative; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--pt-border); display: flex; flex-direction: column; gap: 4px; }
.pt-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--color-violet-500); font-weight: 700; z-index: 1; }
.pt-flow li:last-child { background: var(--pt-ok-soft); border-color: var(--color-emerald-100); }
.pt-flow strong { font-family: var(--font-display); color: var(--pt-heading); font-size: 15px; }
.pt-suggest { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 16px; font-weight: 600; color: var(--pt-heading); }
.pt-suggest svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--color-violet-600); }
.pt-side, .pt-nudge { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--color-mist, #F8FAFC); border: 1px solid var(--pt-border); }
.pt-side p { margin: 6px 0 0; font-size: 14px; }
.pt-side.is-entering, .pt-nudge.is-entering, .pt-ai-out.is-entering, .pt-comp-list.is-entering { animation: pt-pop .28s var(--ease-out) both; }
.pt-nudge textarea { width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px; border: 1px solid var(--pt-border); font: inherit; font-size: 14.5px; line-height: 1.55; color: var(--pt-heading); background: #fff; resize: vertical; }
.pt-nudge textarea:not([readonly]) { border-color: var(--color-violet-500); }
.pt-done-note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-weight: 600; color: var(--pt-ok-ink); }
.pt-done-note svg { width: 16px; height: 16px; }

/* recovery */
.pt-recovery-section .pt-chip { margin-top: 12px; }
.pt-rec-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; counter-reset: rec; }
.pt-rec-steps li { position: relative; padding: 26px 6px 0; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--pt-muted); }
.pt-rec-steps li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid #CBD5E1; transition: background .3s, border-color .3s; }
.pt-rec-steps li.is-done { color: var(--pt-ok-ink); }
.pt-rec-steps li.is-done::before { background: var(--pt-ok); border-color: var(--pt-ok); }

/* portfolio */
.pt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-filter { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--pt-border); background: #fff; font-weight: 600; font-size: 13.5px; color: var(--pt-body); cursor: pointer; }
.pt-filter[aria-pressed="true"] { background: var(--color-violet-600); border-color: var(--color-violet-600); color: #fff; }
.pt-port { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-port-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) 48px 140px; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--color-mist, #F8FAFC); }
.pt-port-name { display: flex; flex-direction: column; min-width: 0; }
.pt-port-name strong { color: var(--pt-heading); }
.pt-port-name small { font-size: 12.5px; color: var(--pt-muted); }
.pt-port-bar { height: 8px; border-radius: 999px; background: var(--color-violet-100); overflow: hidden; }
.pt-port-bar span { display: block; height: 100%; border-radius: inherit; }
.pt-port-bar .is-ontrack { background: var(--pt-ok); }
.pt-port-bar .is-attention { background: var(--pt-warn); }
.pt-port-bar .is-completed { background: var(--color-violet-600); }
.pt-port-pct { font-weight: 700; color: var(--pt-heading); text-align: right; }
.pt-port-row .pt-chip { justify-self: start; }
.pt-port-empty { margin: 8px 0 0; color: var(--pt-muted); }

/* comparison */
.pt-legend-inline { display: inline-flex; gap: 16px; font-size: 13px; font-weight: 600; }
.pt-dot--aug { background: #94A3B8; }
.pt-compare { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pt-compare li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 110px; align-items: center; gap: 14px; }
.pt-compare-label { font-size: 14px; font-weight: 600; color: var(--pt-heading); }
.pt-compare-bars { display: grid; gap: 4px; }
.pt-cbar { display: block; height: 8px; border-radius: 999px; }
.pt-cbar.is-sep { background: var(--color-violet-600); }
.pt-cbar.is-aug { background: #94A3B8; }
.pt-compare-vals { font-size: 13.5px; color: var(--pt-muted); text-align: right; }
.pt-compare-vals strong { color: var(--pt-heading); }

/* funnel */
.pt-funnel { display: grid; gap: 6px; }
.pt-fstage { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) 40px; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; text-align: left; cursor: pointer; }
.pt-fstage:hover { background: var(--color-mist, #F8FAFC); }
.pt-fstage[aria-selected="true"] { background: var(--pt-soft); border-color: var(--color-violet-200); }
.pt-fstage-bar { height: 22px; border-radius: 6px; background: var(--color-violet-50); overflow: hidden; }
.pt-fstage-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-violet-600), var(--color-violet-400, #A78BFA)); border-radius: inherit; }
.pt-fstage-label { font-size: 14px; font-weight: 600; color: var(--pt-heading); }
.pt-fstage-n { font-family: var(--font-display); font-size: 18px; color: var(--pt-heading); text-align: right; }
.pt-funnel-panel { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--color-mist, #F8FAFC); }
.pt-funnel-panel p { margin: 0 0 10px; font-size: 14.5px; }
.pt-funnel-panel p:last-child { margin: 0; }
.pt-funnel-panel > div.is-entering { animation: pt-pop .28s var(--ease-out) both; }

/* completion */
.pt-finish { max-width: 760px; margin: 0 auto; }
.pt-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-reqs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--color-mist, #F8FAFC); font-size: 13.5px; font-weight: 600; color: var(--pt-heading); }
.pt-reqs li.is-now { background: var(--pt-soft); color: var(--color-violet-700); box-shadow: inset 0 0 0 1px var(--color-violet-200); }

/* compliance */
.pt-comp-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pt-comp-head span { font-size: 14px; }
.pt-comp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.pt-comp-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--color-mist, #F8FAFC); font-size: 13.5px; }
.pt-comp-list small { color: var(--pt-muted); }

/* AI */
.pt-ai { height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pt-ai .pt-fine { margin-top: auto; }
.pt-ai-out { padding: 14px; border-radius: 12px; background: var(--gradient-ai-soft, var(--pt-soft)); border: 1px solid var(--color-violet-200); }
.pt-ai-out p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: var(--pt-heading); }
.pt-ai-out .pt-actions { margin-top: 0; }

/* ---------- R21 walkthrough ---------- */
.pt-video-section { background: var(--bg); }
.pt-video { max-width: 1000px; margin: 0 auto; }
.pt-track-tabs { margin: 0 auto 12px; display: flex; width: fit-content; max-width: 100%; }
.pt-track-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.pt-track-tabs svg { width: 16px; height: 16px; }
.pt-track-blurb { text-align: center; margin: 0 auto 16px; max-width: 720px; font-size: 14.5px; color: var(--pt-muted); }
.pt-browser { max-width: 1000px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--pt-border); background: #0F172A; box-shadow: 0 30px 70px rgba(15, 23, 42, .22); }
.pt-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1E293B; }
.pt-browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.pt-browser-bar em { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: #0F172A; color: #94A3B8; font-size: 12px; font-style: normal; }
.pt-video-frame { position: relative; aspect-ratio: 16 / 10; background: #0F172A; }
.pt-video-el { display: block; width: 100%; height: 100%; }
.pt-video-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: #fff; color: var(--pt-heading); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.pt-video-play svg { width: 20px; height: 20px; color: var(--color-violet-600); }
.pt-video-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--pt-soft); color: var(--color-violet-700); font-size: 12.5px; font-weight: 600; }
.pt-video-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: #CBD5E1; text-align: center; }
.pt-video-soon svg { width: 36px; height: 36px; }
.pt-video-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #E2E8F0; background: rgba(15, 23, 42, .55); font-size: 14px; }
.pt-spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: pt-spin 900ms linear infinite; }
@keyframes pt-spin { to { transform: rotate(360deg); } }
.pt-chapters { list-style: none; margin: 16px auto 0; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pt-chapters[hidden], .pt-track-blurb[hidden], .pt-transcript ol[hidden] { display: none; }
.pt-chip-btn { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pt-border); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--pt-body); cursor: pointer; }
.pt-chip-btn span { color: var(--pt-muted); font-variant-numeric: tabular-nums; }
.pt-chip-btn[aria-pressed="true"] { background: var(--pt-primary); border-color: var(--pt-primary); color: #fff; }
.pt-chip-btn[aria-pressed="true"] span { color: inherit; }
.pt-chip-btn:disabled { opacity: .6; cursor: default; }
.pt-transcript { max-width: 760px; margin: 18px auto 0; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pt-border); }
.pt-transcript summary { font-weight: 700; color: var(--pt-heading); cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.pt-transcript ol { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.6; }
.pt-transcript .pt-muted { color: var(--pt-muted); }

/* ---------- R22 use cases ---------- */
.pt-uses-section { background: var(--color-ivory); }
.pt-uses { list-style: none; padding: 0; margin: 0; }
.pt-use { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--pt-border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.pt-use h3 { font-size: 18px; margin: 14px 0 2px; }
.pt-use-sub { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--color-violet-700); }
.pt-use p:not(.pt-use-sub) { flex: 1; margin: 0; font-size: 14px; line-height: 1.55; }
.pt-use a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--color-violet-700); }
.pt-use a svg { width: 15px; height: 15px; }

/* ---------- R23 final CTA ---------- */
.pt-final-link { margin: 18px 0 0; }
.pt-final-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-final-link svg { width: 16px; height: 16px; }

/* comparison is a table */
table.pt-compare { width: 100%; border-collapse: collapse; }
table.pt-compare tr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 110px; align-items: center; gap: 14px; padding: 7px 0; }
table.pt-compare th, table.pt-compare td { padding: 0; text-align: left; font-weight: inherit; }
table.pt-compare .pt-compare-label { font-weight: 600; }
table.pt-compare .pt-compare-vals { text-align: right; }

/* ---------- media queries the Bootstrap grid classes cannot replace ---------- */
@media (min-width: 768px) {
  .cx .hero-ctas { display: flex; }
}
@media (max-width: 991.98px) {
  .pt-flow { grid-template-columns: 1fr; }
  .pt-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%); }
  .pt-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-rec-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .pt-weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pt-miles-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .pt-miles-list::before { display: none; }
}
@media (max-width: 575.98px) {
  .pt-hcard-main { gap: 14px; }
  .pt-ring { width: 88px; height: 88px; }
  .pt-ring > span { width: 70px; height: 70px; }
  .pt-ring strong { font-size: 20px; }
  .pt-loop-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-loop-steps li:nth-child(2)::after { display: none; }
  .pt-stats { grid-template-columns: 1fr; }
  .pt-stats > div { display: flex; justify-content: space-between; align-items: baseline; }
  .pt-bd li { grid-template-columns: minmax(0, 1fr) auto; }
  .pt-bd-share { display: none; }
  .pt-act-meta { max-width: 42%; }
  .pt-actions .btn { flex: 1 1 100%; }
  .pt-miles-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-track-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .pt-track-tabs button { justify-content: center; padding: 6px 8px; font-size: 13px; }
  .pt-track-tabs svg { display: none; }
  .pt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-tiles dd { font-size: 19px; }
  .pt-sig-grid { grid-template-columns: 1fr; }
  .pt-port-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pt-port-bar { grid-column: 1 / -1; order: 3; }
  .pt-port-pct { order: 2; }
  .pt-port-row .pt-chip { order: 4; }
  table.pt-compare tr { grid-template-columns: 1fr; gap: 6px; }
  table.pt-compare .pt-compare-vals { text-align: left; }
  .pt-compare-vals { text-align: left; }
  .pt-fstage { grid-template-columns: minmax(0, 1fr) 36px; }
  .pt-fstage-bar { grid-column: 1 / -1; order: 3; height: 10px; }
  .pt-rec-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-callout .btn { margin-left: 0; }
  .pt-weeks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
  .pt-wk { flex: 0 0 112px; scroll-snap-align: start; }
  body[data-page="progress-tracking"] .sl-foot { padding-bottom: calc(32px + 74px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-panel.is-entering { animation: none; }
  .pt-track-fill, .pt-gauge-fill, .pt-seg, .pt-act, .pt-wrow { transition: none; }
  .pt-hcard-done.is-entering, .pt-breakdown.is-entering, .pt-wk-detail.is-entering, .pt-type-panel.is-entering,
  .pt-pace-state.is-entering, .pt-act.is-flash, .pt-wrow.is-flash, .pt-role-panel.is-entering, .pt-side.is-entering,
  .pt-nudge.is-entering, .pt-ai-out.is-entering, .pt-comp-list.is-entering, .pt-funnel-panel > div.is-entering { animation: none; }
  .pt-bar-fill, .pt-rec-steps li::before { transition: none; }
  .pt-spinner { animation: none; }
}
