/* The discussion (frontend-v4 §2.1 item 5; F3 #187; b2 direction.css "b2: the voice, open on the
   sky" and "the way into the discussion"). The hook and lead sit on the sky in sky text; on the rain
   sky a scrim sits behind them. "Read the full discussion" is plain text in the sky's own link
   colour, a 44 px target. Opened, the rest is an opaque card in place under the link. Tokens only. */
.slot-discussion.is-loading { min-height: 10rem; }
.disc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.disc-voice { display: grid; gap: 10px; padding-top: var(--space-1); }
.sky[data-sky="rain"] .disc-voice { background: var(--sky-rain-scrim); border-radius: var(--radius-l); padding: var(--space-3) var(--space-4); }
.sky .disc-hook {
  margin: 0; color: var(--on-sky); text-transform: none; letter-spacing: normal;
  font-size: calc(var(--t-head) * 1.1); font-weight: var(--weight-heavy); line-height: var(--leading-tight);
}
.disc-lead { margin: 0; color: var(--on-sky); }
.disc-trend { font-weight: var(--weight-heavy); }
.disc-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0; margin-top: -6px;
  border: 0; border-radius: 0; background: none; color: var(--on-sky-link); text-align: left;
  font-size: var(--t-body); font-weight: var(--weight-semibold);
}
.disc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.disc-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.disc-panel {
  display: grid; gap: var(--space-4); color: var(--text); text-shadow: none;
  background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-card), 0 0 0 1px var(--card-edge); padding: var(--space-4);
}
.disc-panel h3 { margin: 0 0 var(--space-1); font-size: var(--t-head); font-weight: var(--weight-heavy); line-height: var(--leading-tight); }
.disc-panel p { margin: 0; }
/* The AI write-up (#832): a section may hold more than one paragraph, and bold spans in its prose. */
.disc-sec p + p { margin-top: var(--space-2); }
.disc strong, .disc-panel strong { font-weight: var(--weight-heavy); }
.disc-callout { border-top: var(--rule) solid var(--line); padding-top: var(--space-3); }
.sky .disc-next { color: var(--text-muted); font-size: var(--t-sub); }
.disc-stale, .disc-un { margin: 0; font-weight: var(--weight-semibold); }

/* The path of our call: one row per call, oldest first, each placed across the line by its time
   (--x, 0 to 100, from the times alone). Rows never overlap, at any text size. */
.disc-path { margin: 0; }
.disc-path figcaption { font-size: var(--t-small); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-small); text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-2); }
.path-line { list-style: none; margin: 0; padding: var(--space-2) 0 0; display: grid; gap: var(--space-2); border-top: 2px solid var(--line-strong); }
.path-pt {
  position: relative; display: grid; gap: 2px; width: max-content; max-width: 60%; padding-left: 18px;
  margin-left: calc(var(--x) * 1%); transform: translateX(calc(var(--x) * -1%));
}
.path-pt::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--text-muted); }
.path-pt.is-last::before { background: var(--text); box-shadow: none; }
.path-r { font-weight: var(--weight-heavy); }
.path-t { font-size: var(--t-sub); color: var(--text-muted); }

/* The continuation in its own slot (#505): "The discussion, continued", an opaque card on a phone,
   the page's left column under the map at laptop width (app.css). */
.slot-discmore { margin-top: var(--space-3); }
.disc-cont { margin: 0; text-transform: none; letter-spacing: normal; color: var(--text); font-size: var(--t-head); font-weight: var(--weight-heavy); line-height: var(--leading-tight); }
/* On a phone the slot exists only while its panel is open; collapsed, it would be an empty card. */
@media (max-width: 1023px) {
  .slot-discmore:not(:has(> .disc-panel:not([hidden]))) { display: none; }
}
@media (min-width: 1024px) {
  .slot-discmore { margin-top: 0; }
  .slot-discmore .disc-panel { background: none; box-shadow: none; border-radius: 0; padding: 0; }
}
