/* ============================================================
   JP1009 — CONTENT2 stylesheet (loaded after app.css)
   Namespace: .ac-*   Depends on: Gilded Signal 1001 tokens
   Nothing in this file targets an existing selector.
   ------------------------------------------------------------
   AttentionCode — Content tab, v3.1
   Namespace: .ac-*   Depends on: Gilded Signal 1001 tokens
   Replaces earlier ac-content.css files entirely.

   v3.1 (David's notes):
   - a real section divider: 2px accent rule, not another hairline
   - one accent colour per section via --ac-accent; kicker, divider,
     ring, chart line and driver bars all take it
   - type scale up ~12% throughout
   - spice category filter lives in the legend (no pill row)
   - Top fixes sit before the score/chart in WHY and Closeness
   - Golden Triangle: bar + three visible columns, evidence folded
   ============================================================ */

.ac-tab{
  --ac-hair: rgba(228,186,97,.16);
  --ac-hair-soft: rgba(228,186,97,.09);
  --ac-section-gap: 68px;
  --ac-accent: var(--gilded-gold);
  --ac-accent-dim: rgba(228,186,97,.14);
  color: var(--text);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* per-section accents — mirrors the colours the app already uses */
.ac-section--structure{ --ac-accent: var(--violet);       --ac-accent-dim: rgba(209,180,255,.14) }
.ac-section--spices{    --ac-accent: var(--gilded-teal);  --ac-accent-dim: rgba(91,215,196,.14) }
.ac-section--triangle{  --ac-accent: var(--amber);        --ac-accent-dim: rgba(239,198,110,.14) }
.ac-section--why{       --ac-accent: var(--gilded-teal);  --ac-accent-dim: rgba(91,215,196,.14) }
.ac-section--closeness{ --ac-accent: var(--gilded-blue);  --ac-accent-dim: rgba(145,186,255,.14) }
.ac-section--argument{  --ac-accent: #ff9984;              --ac-accent-dim: rgba(255,153,132,.12) } /* JP1013 */

/* ---------- section shell + the divider ---------- */
.ac-section{ position: relative; padding: var(--ac-section-gap) 0 }
.ac-section::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--ac-accent), var(--ac-accent-dim) 45%, transparent 90%);
}
.ac-section:first-child{ padding-top: 8px }
.ac-section:first-child::before{ display: none }

.ac-section__head{ margin-bottom: 24px }
.ac-section__kicker{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ac-accent); margin-bottom: 8px;
}
.ac-section__title{
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 31px; line-height: 1.15; margin: 0;
}
.ac-section__sub{ margin: 8px 0 0; color: var(--text-dim); font-size: 15px; max-width: 76ch; line-height: 1.55 }
.ac-section__bar{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap }

/* ---------- chips ---------- */
.ac-chip{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap;
}
.ac-chip--state{ border-color: var(--ac-accent); color: var(--ac-accent) }
.ac-chip--state[data-verdict="weak"]{ border-color: var(--orange); color: var(--orange) }
.ac-chip--state[data-verdict="missing"]{ border-color: var(--red); color: var(--red) }
.ac-chip b{ color: var(--text); font-weight: 600 }

/* ---------- prose ---------- */
.ac-prose{ margin: 0; color: var(--text-dim); font-size: 16.5px; line-height: 1.7; max-width: 70ch }
.ac-prose + .ac-prose{ margin-top: 12px }
.ac-prose strong{ color: var(--text) }
.ac-summary{ font-size: 19px; line-height: 1.55; color: var(--text); margin: 0 0 28px; max-width: 70ch }
.ac-indent{ margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--ac-accent) }
.ac-indent .ac-kicker{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ac-accent); display: block; margin-bottom: 6px;
}
.ac-indent p{ margin: 0; color: var(--text); font-size: 16px; line-height: 1.65; max-width: 64ch }

/* ---------- fold: closed by default ---------- */
.ac-folds{ margin-top: 28px; border-top: 1px solid var(--ac-hair-soft) }
.ac-fold{ border-bottom: 1px solid var(--ac-hair-soft) }
.ac-fold__btn{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 17px 2px; cursor: pointer; text-align: left;
  color: var(--text); font-family: inherit; font-size: 17px; font-weight: 700;
}
.ac-fold__btn:hover{ color: var(--ac-accent) }
.ac-fold__meta{
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; color: var(--text-dim); font-weight: 400;
}
.ac-fold__caret{
  width: 0; height: 0; flex: none;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--text-dim); transition: transform .25s ease;
}
.ac-fold.is-open .ac-fold__caret{ transform: rotate(180deg); border-top-color: var(--ac-accent) }
.ac-fold__panel{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease }
.ac-fold.is-open .ac-fold__panel{ grid-template-rows: 1fr }
.ac-fold__panel > div{ overflow: hidden }
.ac-fold__inner{ padding: 2px 2px 24px }

.ac-list{ margin: 0; padding: 0; list-style: none; max-width: 74ch }
.ac-list li{ padding: 12px 0; border-top: 1px solid var(--ac-hair-soft); color: var(--text); font-size: 16px; line-height: 1.6 }
.ac-list li:first-child{ border-top: 0; padding-top: 4px }
.ac-list--num{ counter-reset: acn }
.ac-list--num li{ display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px }
.ac-list--num li::before{
  counter-increment: acn; content: counter(acn, decimal-leading-zero);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--ac-accent); padding-top: 4px;
}
.ac-list .ac-time{ margin-right: 8px }
.ac-list b{ font-weight: 700 }
.ac-list .ac-quote{ margin: 6px 0 4px }
.ac-list .ac-sub{ display: block; color: var(--text-dim); font-size: 15px; margin-top: 4px }
.ac-list .ac-try{ display: block; color: var(--ac-accent); font-size: 15px; margin-top: 5px }
.ac-time{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px;
  color: var(--ac-accent); background: var(--ac-accent-dim); border-radius: 4px; padding: 2px 7px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ac-quote{
  margin: 0; padding-left: 13px; border-left: 2px solid var(--ac-hair);
  font-size: 15.5px; color: var(--text); line-height: 1.55; max-width: 66ch;
}
.ac-empty{ color: var(--text-dim); font-size: 15px }

/* ---------- training video strip ---------- */
.ac-strip{
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0 18px; padding: 10px 14px 10px 10px;
  border: 1px solid var(--ac-hair); border-left: 2px solid var(--ac-accent);
  border-radius: 10px; background: var(--ac-accent-dim);
}
.ac-strip__thumb{ position: relative; width: 136px; height: 84px; border-radius: 8px; overflow: hidden; flex: none; background: #000; padding: 0; border: 0; cursor: pointer; font: inherit }
.ac-strip__thumb:focus-visible{ outline: 2px solid var(--ac-accent); outline-offset: 2px }
.ac-strip__thumb img{ display: block; width: 100%; height: 100%; object-fit: cover }
.ac-strip__thumb::after{ content: ""; position: absolute; inset: 0; background: radial-gradient(circle,rgba(0,0,0,.12),rgba(0,0,0,.5)) }
.ac-strip__thumb i{
  position: absolute; inset: 0; margin: auto; width: 0; height: 0; z-index: 2;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; transform: translateX(2px);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.ac-strip__txt{ min-width: 0; flex: 1 }
.ac-strip__t{ font-weight: 700; font-size: 15.5px }
.ac-strip__s{ font-size: 14px; color: var(--text-dim) }
.ac-dur{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--text-dim); font-variant-numeric: tabular-nums }
.ac-watch{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px;
  border: 1px solid var(--ac-accent); color: var(--ac-accent); background: transparent;
  border-radius: 999px; padding: 7px 16px; cursor: pointer; white-space: nowrap;
}
.ac-watch:hover{ background: var(--ac-accent-dim) }
.ac-player{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s ease }
.ac-player.is-open{ grid-template-rows: 1fr }
.ac-player > div{ overflow: hidden }
.ac-player__frame{ position: relative; aspect-ratio: 16/9; width: 100%; margin: 0 0 20px; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--ac-hair) }
.ac-player__frame video, .ac-player__frame img{ display: block; width: 100%; height: 100%; object-fit: cover }

/* ---------- spice chart: legend doubles as the category filter ---------- */
.ac-chart{ background: var(--surface); border: 1px solid var(--ac-hair); border-radius: 10px; padding: 14px 12px 10px }
.ac-chart svg{ display: block; width: 100%; height: auto }
.ac-chart__foot{ display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 10px; padding: 0 4px; align-items: center }
.ac-legend{ display: flex; gap: 6px; flex-wrap: wrap }
.ac-legend__item{
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px;
  color: var(--text-dim); background: transparent; border: 1px solid transparent;
  border-radius: 999px; padding: 4px 11px 4px 8px; cursor: pointer;
}
.ac-legend__item i{ width: 10px; height: 10px; border-radius: 2px; display: block; background: var(--c, var(--text-dim)) }
.ac-legend__item i.ac-legend__line{ width: 16px; height: 2px; background: var(--ac-accent) }
.ac-legend__item.is-on{ color: var(--text); border-color: var(--c, var(--border)); background: rgba(255,255,255,.04) }
.ac-legend__item.is-static{ cursor: default }
.ac-legend__item.is-static.is-on{ border-color: transparent; background: transparent }
.ac-readout{ font-size: 14px; color: var(--text-dim) }
.ac-readout b{ color: var(--text) }

/* ---------- Golden Triangle ---------- */
.ac-share{ display: flex; height: 36px; border-radius: 8px; overflow: hidden; margin: 8px 0 22px }
.ac-share__seg{
  display: grid; place-items: center; min-width: 0; overflow: hidden; white-space: nowrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px;
  color: var(--gilded-ink); font-weight: 500;
}
.ac-share__seg--ethos{ background: #c9a86a }
.ac-share__seg--logos{ background: var(--gilded-blue) }
.ac-share__seg--pathos{ background: #d9a2c4 }
.ac-modes{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px }
.ac-mode__name{ display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px }
.ac-mode__name i{ width: 9px; height: 9px; border-radius: 2px; display: block; flex: none }
.ac-mode__name span{ margin-left: auto; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--text-dim) }
.ac-mode p{ margin: 0 0 10px; font-size: 15.5px; color: var(--text-dim); line-height: 1.55 }
.ac-mode .ac-quote{ font-size: 15px; margin-bottom: 9px }

/* ---------- WHY + Closeness: identical layout ---------- */
.ac-scorechart{ display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 22px; align-items: stretch }
.ac-ring{
  border: 1px solid var(--ac-hair); border-radius: 12px; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px;
}
.ac-ring__dial{
  width: 136px; height: 136px; border-radius: 50%; padding: 8px;
  background: conic-gradient(var(--ac-accent) calc(var(--v) * 1%), var(--surface3) 0);
  display: grid; place-items: center;
}
.ac-ring__dial > div{ width: 100%; height: 100%; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center }
.ac-ring__num{ font-family: 'Instrument Serif', Georgia, serif; font-size: 46px; line-height: .95; color: var(--text) }
.ac-ring__of{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: var(--ac-accent); margin-top: 5px }
.ac-ring__label{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-dim); margin-top: 13px; text-align: center;
}
.ac-ring__grade{ margin-top: 5px; font-size: 14.5px; color: var(--text) }
.ac-tl{ border: 1px solid var(--ac-hair); border-radius: 12px; background: var(--surface); padding: 14px 14px 10px; min-width: 0 }
.ac-tl__kicker{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px;
}
.ac-tl svg{ display: block; width: 100%; height: auto; overflow: visible }
.ac-tl__legend{ display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 13.5px; color: var(--text-dim) }
.ac-tl__legend span{ display: flex; align-items: center; gap: 7px }
.ac-tl__legend i{ display: block; width: 18px; height: 2px; background: var(--ac-accent) }
.ac-tl__legend i.ac-tl__shade{ width: 12px; height: 10px; background: rgba(245,164,111,.22); border: 1px solid rgba(245,164,111,.5) }

.ac-block{ margin-top: 32px }
.ac-block__title{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ac-accent); margin-bottom: 14px;
}
.ac-block--first{ margin-top: 0; margin-bottom: 32px }

/* ---------- lead row: one card, summary left, Top fixes right ---------- */
.ac-lead{
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0; align-items: stretch; margin-bottom: 34px;
  border: 1px solid var(--ac-accent); border-radius: 12px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}
.ac-lead > *{ padding: 24px 26px }
.ac-lead > * + *{ border-left: 1px solid var(--ac-hair); background: var(--ac-accent-dim) }
.ac-lead .ac-summary{ margin: 0; font-size: 18px; line-height: 1.55; max-width: none }
.ac-lead .ac-needs-field{ max-width: none; border: 0; padding: 0 }
.ac-fixes-card .ac-block__title{ color: var(--ac-accent); font-size: 12.5px; margin-bottom: 14px }
.ac-fixes-card .ac-list li{ font-size: 16.5px; color: var(--text); padding: 12px 0; border-top-color: rgba(255,255,255,.08) }
.ac-fixes-card .ac-list li:first-child{ padding-top: 0 }
.ac-fixes-card .ac-list--num li::before{ font-size: 13px; padding-top: 3px }
.ac-fixes-card .ac-needs-field{ border: 1px dashed rgba(245,164,111,.5); padding: 13px 15px }
.ac-list--num li > span{ min-width: 0 }
.ac-lead--coach{ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) }
.ac-lead--coach .ac-block__title{ margin-bottom: 12px }
.ac-prose--coach{ color: var(--text); font-size: 16px; max-width: none }
.ac-exercise__name{ font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 25px; line-height: 1.15; margin: 0 0 4px }
.ac-exercise__meta{ font-size: 14px; color: var(--text-dim); margin-bottom: 14px }
.ac-exercise__src{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gilded-gold); margin-right: 8px }

/* ---------- chart header toggle: moments on the timeline, off by default ---------- */
.ac-tl__head{ display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap }
.ac-tl__head .ac-tl__kicker{ margin-bottom: 0 }
.ac-toggle{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px;
  color: var(--text-dim); background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px 5px 8px; cursor: pointer;
}
.ac-toggle i{
  width: 26px; height: 14px; border-radius: 999px; background: var(--surface3); position: relative; display: block; transition: background .2s ease;
}
.ac-toggle i::after{
  content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-dim); transition: transform .2s ease, background .2s ease;
}
.ac-toggle[aria-pressed="true"]{ color: var(--text); border-color: var(--ac-accent) }
.ac-toggle[aria-pressed="true"] i{ background: var(--ac-accent-dim) }
.ac-toggle[aria-pressed="true"] i::after{ transform: translateX(12px); background: var(--ac-accent) }
.ac-driver.is-clickable{ cursor: pointer; transition: border-color .15s ease, background .15s ease }
.ac-driver.is-clickable:hover{ border-color: var(--c, var(--ac-accent)) }
.ac-driver.is-active{ border-color: var(--c, var(--ac-accent)); background: rgba(255,255,255,.045) }

/* what drives the score — same component, per-card colour via --c */
.ac-drivers{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px }
.ac-driver{ padding: 14px 15px; border: 1px solid var(--ac-hair-soft); border-radius: 10px; background: rgba(255,255,255,.02) }
.ac-driver__top{ display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--text) }
.ac-driver__top span:last-child{ font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--c, var(--ac-accent)); font-weight: 500 }
.ac-driver__bar{ height: 5px; border-radius: 999px; background: var(--surface3); overflow: hidden; margin: 9px 0 8px }
.ac-driver__bar i{ display: block; height: 100%; background: var(--c, var(--ac-accent)); border-radius: inherit }
.ac-driver p{ margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.5 }
.ac-driver p em{ font-style: normal; color: var(--text) }

.ac-fixes__foot{
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ac-hair-soft);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--text-dim);
}
.ac-fixes__foot b{ color: var(--text); font-weight: 500 }

.ac-needs-field{
  border: 1px dashed rgba(245,164,111,.5); border-radius: 10px; padding: 13px 15px;
  font-size: 15px; color: var(--text-dim); line-height: 1.5; max-width: 72ch;
}
.ac-needs-field b{ color: var(--orange); font-weight: 700 }
.ac-needs-field code{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--text) }

/* ---------- actions ---------- */
.ac-actions{ display: flex; gap: 12px; padding: 36px 0 4px; border-top: 1px solid var(--ac-hair); flex-wrap: wrap }
.ac-btn{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; border-radius: 999px; padding: 10px 19px; cursor: pointer; border: 1px solid transparent }
.ac-btn--primary{ background: var(--gilded-teal); color: var(--gilded-ink); font-weight: 500 }
.ac-btn--primary:hover{ filter: brightness(1.07) }
.ac-btn--ghost{ background: transparent; border-color: var(--border); color: var(--text-dim) }
.ac-btn--ghost:hover{ color: var(--text); border-color: var(--gilded-gold) }

/* ---------- focus + motion + narrow + print ---------- */
.ac-tab :focus-visible{ outline: 2px solid var(--gilded-teal); outline-offset: 3px; border-radius: 4px }
@media (prefers-reduced-motion: reduce){ .ac-tab *{ transition-duration: .01ms !important } }
@media (max-width: 860px){
  .ac-tab{ --ac-section-gap: 46px }
  .ac-scorechart, .ac-lead, .ac-lead--coach{ grid-template-columns: minmax(0,1fr) }
  .ac-modes{ grid-template-columns: minmax(0,1fr) }
}
@media print{
  .ac-fold__panel, .ac-player{ grid-template-rows: 1fr !important }
  .ac-fold__caret, .ac-actions, .ac-watch{ display: none !important }
  .ac-section{ break-inside: avoid }
}


/* ============================================================
   v3.2 — alive: the talk plays from the page
   ============================================================ */

/* ---------- the talk video, docks to a corner when you scroll past it ---------- */
.ac-dock{ margin-bottom: 8px }
.ac-dock__frame{ padding: 8px 0 0 }
.ac-dock__frame video{ display: block; width: 100%; max-height: 340px; background: #000; border-radius: 12px }
.ac-dock__frame audio{ display: block; width: 100%; padding: 14px }
.ac-dock__bar{ display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--text-dim) }
.ac-dock__now{ color: var(--text) }
.ac-dock__now:empty{ display: none } /* JP1028: the bar only appears once something is playing */
.ac-dock__bar:has(.ac-dock__now:empty){ display: none }
.ac-dock__now em{ font-style: normal; color: var(--gilded-gold) }
.ac-dock.is-floating .ac-dock__frame{
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 320px; padding: 0;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--gilded-gold);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.ac-dock.is-floating .ac-dock__frame video{ max-height: none; border-radius: 0 }
.ac-dock__spacer{ display: none }
.ac-dock.is-floating .ac-dock__spacer{ display: block; border-radius: 12px; border: 1px dashed var(--ac-hair); margin-top: 8px }

/* ---------- the moment that landed ---------- */
.ac-hero{
  margin: 30px 0 4px; padding: 30px 34px 26px;
  border: 1px solid rgba(228,186,97,.4); border-radius: 14px;
  background: radial-gradient(circle at 12% 0%, rgba(228,186,97,.12), transparent 55%), var(--surface);
}
.ac-hero__kicker{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--gilded-gold); margin-bottom: 14px }
.ac-hero__quote{
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 34px; line-height: 1.25; color: var(--text); margin: 0 0 16px; max-width: 26ch; text-wrap: balance;
}
.ac-hero__why{ margin: 0; color: var(--text-dim); font-size: 16px; max-width: 64ch; line-height: 1.6 }
.ac-hero__row{ display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap }

/* ---------- their words as the texture of the page ---------- */
.ac-quote{
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 21px; line-height: 1.35; color: var(--text);
  margin: 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--ac-accent); max-width: 40ch;
  position: relative;
}
.ac-quote::before{ content: "\201C"; position: absolute; left: 6px; top: -2px; color: var(--ac-accent); font-size: 26px; line-height: 1; opacity: .7 }
.ac-quote cite{
  display: block; margin-top: 6px; font-style: normal;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .06em; color: var(--text-dim);
}
.ac-mode .ac-quote{ font-size: 18.5px; margin-bottom: 14px; max-width: none }
.ac-list .ac-quote{ margin: 8px 0 6px }

/* a playable moment: quote, time chip, play glyph */
.ac-play{
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .04em;
  color: var(--gilded-ink); background: var(--gilded-teal); border: 0; border-radius: 999px;
  padding: 5px 12px 5px 9px; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: transform .14s ease, filter .14s ease;
}
.ac-play::before{ content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent }
.ac-play:hover{ transform: translateY(-1px); filter: brightness(1.08) }
.ac-play--ghost{ background: transparent; color: var(--gilded-teal); border: 1px solid rgba(91,215,196,.45) }
.ac-play--ghost:hover{ background: rgba(91,215,196,.12) }
.ac-play--sm{ font-size: 11px; padding: 3px 9px 3px 7px }
.ac-quote .ac-play{ margin-left: 10px; vertical-align: 2px }
.ac-quote cite .ac-play{ margin-left: 0; margin-top: 6px }

/* a timestamp inside prose becomes a link to that moment */
.ac-t{
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .86em;
  color: var(--gilded-teal); background: rgba(91,215,196,.12); border: 0; border-radius: 4px;
  padding: 1px 6px; cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ac-t::before{ content: "\25B6"; font-size: .75em; margin-right: 5px; vertical-align: 1px }
.ac-t:hover{ background: rgba(91,215,196,.22) }

@media (max-width: 860px){
  .ac-hero__quote{ font-size: 26px }
  .ac-dock.is-floating .ac-dock__frame{ width: 220px; right: 12px; bottom: 12px }
}
@media (prefers-reduced-motion: reduce){ .ac-play{ transition: none } }


/* ============================================================
   v3.3 — moments carousel + progress since the last talk
   ============================================================ */

/* ---------- three moments, scroll sideways ---------- */
.ac-moments{ margin: 30px 0 4px }
.ac-moments__head{ display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px }
.ac-moments__kicker{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--gilded-gold) }
.ac-moments__nav{ display: flex; gap: 6px }
.ac-moments__nav button{
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-dim); cursor: pointer;
  display: grid; place-items: center; font-size: 14px;
}
.ac-moments__nav button:hover{ color: var(--text); border-color: var(--gilded-gold) }
.ac-moments__track{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
.ac-moments__track.is-single{ grid-template-columns: minmax(0, 1fr) }
.ac-moments__track::-webkit-scrollbar{ display: none }
.ac-moment{
  padding: 28px 32px 24px; border: 1px solid rgba(228,186,97,.4); border-radius: 14px;
  background: radial-gradient(circle at 12% 0%, rgba(228,186,97,.12), transparent 55%), var(--surface);
  display: flex; flex-direction: column; min-height: 100%;
}
.ac-moment__quote{
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 30px; line-height: 1.25; color: var(--text); margin: 0 0 14px; text-wrap: balance;
}
.ac-moment__why{ margin: 0 0 18px; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; max-width: 60ch }
.ac-moment__row{ display: flex; align-items: center; gap: 14px; margin-top: auto; flex-wrap: wrap }
.ac-moments__dots{ display: flex; gap: 6px; justify-content: center; margin-top: 12px }
.ac-moments__dots i{ width: 6px; height: 6px; border-radius: 50%; background: var(--surface3); display: block; transition: background .2s ease, transform .2s ease }
.ac-moments__dots i.is-on{ background: var(--gilded-gold); transform: scale(1.3) }
@media (max-width: 860px){ .ac-moments__track{ grid-template-columns: minmax(0, 1fr) } }

/* ---------- since your last talk ---------- */
.ac-progress{
  margin: 26px 0 8px; padding: 20px 24px;
  border: 1px solid var(--ac-hair); border-radius: 12px; background: var(--surface);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 24px; align-items: center;
}
.ac-progress__kicker{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px }
.ac-progress__line{ font-family: 'Instrument Serif', Georgia, serif; font-size: 23px; line-height: 1.3; margin: 0; color: var(--text); text-wrap: balance }
.ac-progress__line em{ font-style: normal; color: var(--gilded-teal) }
.ac-progress__meta{ margin: 8px 0 0; font-size: 13.5px; color: var(--text-dim) }
.ac-deltas{ display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px }
.ac-delta{ padding: 10px 12px; border: 1px solid var(--ac-hair-soft); border-radius: 9px; background: rgba(255,255,255,.02) }
button.ac-delta{ appearance: none; -webkit-appearance: none; font: inherit; color: inherit; text-align: left; width: 100%; cursor: pointer; transition: border-color .15s, background .15s } /* JP1028: each card jumps to its section */
button.ac-delta:hover, button.ac-delta:focus-visible{ border-color: var(--ac-hair); background: rgba(255,255,255,.05); outline: none }
.ac-delta__label{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; white-space: nowrap }
.ac-delta__vals{ display: flex; align-items: baseline; gap: 7px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums }
.ac-delta__prev{ font-size: 13px; color: var(--text-dim) }
.ac-delta__arrow{ font-size: 12px; color: var(--text-dim) }
.ac-delta__now{ font-size: 20px; color: var(--text) }
.ac-delta__chg{ margin-left: auto; font-size: 12px; padding: 2px 7px; border-radius: 999px }
.ac-delta--up .ac-delta__chg{ color: var(--gilded-teal); background: rgba(91,215,196,.12) }
.ac-delta--down .ac-delta__chg{ color: var(--orange); background: rgba(245,164,111,.12) }
.ac-delta--flat .ac-delta__chg{ color: var(--text-dim); background: rgba(255,255,255,.05) }
.ac-delta--up.ac-delta--good-down .ac-delta__chg{ color: var(--orange); background: rgba(245,164,111,.12) }
.ac-delta--down.ac-delta--good-down .ac-delta__chg{ color: var(--gilded-teal); background: rgba(91,215,196,.12) }

/* inline delta beside a score ring */
.ac-ring__delta{ margin-top: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--text-dim) }
.ac-ring__delta b{ font-weight: 500; color: var(--gilded-teal) }
.ac-ring__delta b.is-down{ color: var(--orange) }

@media (max-width: 860px){ .ac-progress{ grid-template-columns: minmax(0,1fr) } .ac-moment__quote{ font-size: 24px } }


/* ---------- progress: matched vs no-match states ---------- */
.ac-progress--none{ grid-template-columns: minmax(0,1fr); border-style: dashed }
.ac-progress--none .ac-progress__line{ font-size: 20px; color: var(--text) }
.ac-progress__match{ display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--text-dim) }
.ac-progress__match i{ width: 64px; height: 4px; border-radius: 999px; background: var(--surface3); overflow: hidden; display: block }
.ac-progress__match i::after{ content: ""; display: block; height: 100%; width: var(--m, 0%); background: var(--gilded-teal) }
.pg-state{ display: flex; gap: 8px; align-items: center; margin: 22px 0 -10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #8a7962 }
.pg-state button{ font: inherit; background: transparent; border: 1px solid var(--border); color: var(--text-dim); border-radius: 999px; padding: 4px 11px; cursor: pointer }
.pg-state button[aria-pressed="true"]{ border-color: var(--gilded-teal); color: var(--gilded-teal) }

.ac-tab [hidden]{ display: none !important }

.ac-lead--single{ grid-template-columns: minmax(0,1fr) }
.ac-section--coach .jp-domain-coaching{ margin: 0 }


/* JP1009.1 — the original Content tab's spice hover: a tooltip on the bar and the two
   cards below it (spice + evidence, what it is / how to use it). Reuses app.css classes. */
.ac-chart{ position: relative }
.ac-spice-tip{ position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s ease; padding: 8px 10px; border-radius: 9px;
  background: rgba(7,10,18,.94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px rgba(0,0,0,.32);
  font-size: 13px; color: var(--text); z-index: 2; max-width: 200px }
.ac-spice-tip strong{ display: block; font-size: 14px; margin-bottom: 2px }
.ac-spice-tip span{ display: block; color: var(--text-dim); line-height: 1.45 }
.ac-spice-info{ margin-top: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.025) }
