/* v3-agentic-support-triage.css — page-local additions for
   agentic-support-triage.html ONLY. Loaded LAST, after every shared stylesheet.
   Everything the DESIGN-FIT spec marks as NIEUW lives here. Shared css is never
   edited; where a shared rule is bound to a landing section id (#system .bento),
   this file rebinds the same pattern to this page's own section ids.
   All colour/space/type values come from tokens.css. */

/* ---- B1 hero-question: the micro-question is the lead, no claim above the fold ---- */
#hero .hero-sub { max-width: 60ch; }

/* CRO: the hero repeats the shape of the promise, subordinate to the button. */
.v3 .hero-inner .micro { margin-top: .75rem; opacity: .72; }

/* ---- shared body rhythm: running prose uses the shared .signal-copy wrapper,
        so only the link colour is page-local here. ---- */
#probleem .signal-copy,
#aanpak .signal-copy { margin-top: 1.75rem; }
#aanpak .signal-copy a { color: var(--sky); }

/* ---- B2 problem-quantified: the rekenregel as one highlighted block.
        The deler 60 stays in the running text, never in a tooltip.
        Class name converged with agentic-content-hergebruik.html: .calc-callout. ---- */
.calc-callout {
  margin: 2rem 0 0;
  border-left: 2px solid var(--sky);
  padding: 1.1rem 0 1.1rem 1.15rem;
  background: rgba(94, 154, 200, .07);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 62ch;
}
.calc-callout .calc-label {
  display: block; margin-bottom: .6rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sky);
}
.calc-callout p { color: var(--pale); font-weight: var(--w-light); }
.calc-callout p + p { margin-top: .9rem; color: var(--text-2); }
.calc-callout .num { font-variant-numeric: tabular-nums; }

/* ---- imagery: full-measure bands that break the prose runs, plus the
        image strip that closes the sector cascade. Decoration and pacing. ---- */
.v3 figure.page-band {
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(200px, 30vw, 380px);
}
.v3 figure.page-band.band-tall { height: clamp(220px, 34vw, 440px); }
.v3 figure.page-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
#cascade .cascade-grid .cascade-img {
  grid-column: 1 / -1;
  padding: 0; overflow: hidden; border: var(--hairline); border-radius: var(--radius);
  height: clamp(180px, 24vw, 320px); margin: 0;
}
#cascade .cascade-grid .cascade-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* subheads inside the mechanism section keep the prose measure */
#aanpak > h3 { max-width: 62ch; margin-top: clamp(2.2rem, 5vh, 3.2rem); }

/* ---- B3 diagnostic-list: the shared .worksheet pattern (question as h3 plus a
        writing rule), widened to this page's light band. ---- */
.alethia #diagnose .worksheet { width: min(920px, 92vw); margin: 0 auto; }
.alethia #diagnose .section-title { color: var(--ink); }

/* ---- B4 mechanism-explainer + embedded governance-panel.
        Own visual edge, on the page itself, never behind an accordion. ---- */
.governance-panel {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  border: 1px solid rgba(169, 196, 222, .26);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.2vw, 2.4rem);
  background: rgba(19, 38, 54, .5);
  max-width: 74ch;
}
.governance-panel .hud {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); display: block;
}
.governance-panel h3 { margin-top: .7rem; }
.governance-panel p { margin-top: 1.1rem; max-width: 66ch; }

/* ---- B5 sector-cascade: three columns, each with its own meeteenheid,
        instrument and klok above the numbered steps ---- */
#cascade .cascade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
#cascade .cell {
  border: var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  min-width: 0;
}
#cascade .cell h3 { margin-bottom: .9rem; }
#cascade .cell .meta { color: var(--steel); font-size: .92rem; max-width: none; }
#cascade ol.steps { counter-reset: s; list-style: none; margin-top: 1.2rem; }
#cascade ol.steps li {
  counter-increment: s; position: relative; padding-left: 2.4rem;
  margin-top: .9rem; color: var(--text-2); font-size: .95rem; line-height: 1.55;
}
#cascade ol.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: .2rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--sky);
}

/* ---- B6 prompt-block: the data-handling warning is rendered ABOVE the code
        block, in the SAME column width. Never beside it, never below it,
        never in a disclosure. The copy button sits on the code card. ---- */
.alethia #opdracht { min-height: 0; padding: 14vh 0; }
.alethia #opdracht .inner { width: min(900px, 92vw); margin: 0 auto; }
.alethia #opdracht .sub { max-width: 66ch; margin-top: 1.3rem; color: var(--text-2); font-weight: 300; }
.data-guard {
  width: min(900px, 92vw); margin: 2.2rem auto 1.2rem;
  border: 1px solid rgba(201, 154, 62, .42);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: rgba(201, 154, 62, .08);
}
.data-guard .hud {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .7rem;
}
.data-guard p { color: var(--pale); font-weight: 300; max-width: none; }
/* .data-guard is also a .governance-panel (it IS the governance block above the
   prompt); reset the generic panel edges so it keeps the code card's width. */
.governance-panel.data-guard {
  max-width: none;
  border-left: 1px solid rgba(201, 154, 62, .42);
  background: rgba(201, 154, 62, .08);
}
.governance-panel.data-guard h3.hud { margin-top: 0; }
.codecard {
  width: min(900px, 92vw); margin: 0 auto;
  border: 1px solid rgba(169, 196, 222, .22);
  border-radius: var(--radius);
  background: rgba(12, 26, 38, .72);
  overflow: hidden;
}
.codecard .cc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .9rem; border-bottom: 1px solid rgba(169, 196, 222, .18);
}
.codecard .cc-bar .hud { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel); }
.copy-btn {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--sky); border: 0; border-radius: 40px;
  padding: .38rem .9rem; cursor: pointer;
}
.copy-btn:hover { background: var(--steel); }
.codecard pre { max-height: 24rem; overflow: auto; padding: 1.25rem; margin: 0; }
.codecard code {
  font-family: var(--mono); font-size: .78rem; line-height: 1.7; color: var(--pale);
  white-space: pre-wrap; overflow-wrap: anywhere; display: block;
}
.alethia #opdracht .after-note { width: min(900px, 92vw); margin: 1.6rem auto 0; color: var(--text-2); }
.alethia #opdracht .after-note a { color: var(--sky); }

/* ---- B7 boundary-note: muted ground, no call to action inside or under it ---- */
.boundary-note {
  margin-top: 1.75rem;
  border: var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(28, 53, 71, .45);
  max-width: 72ch;
}
.boundary-note p { color: var(--steel); max-width: 66ch; }

/* the prompt card carries both hooks: .prompt-block (js/v3-prompt.js + the gate)
   and .codecard (the visual). It must keep the SAME column width as .data-guard
   above it, so no shared .prompt-block rule may narrow or float it. */
.alethia #opdracht .prompt-block.codecard {
  display: block; float: none; clear: both;
  width: min(900px, 92vw); margin: 0 auto; max-width: none;
}

/* ---- B8 links-cta: running sentences, one primary button ---- */
#verder .cta { margin-top: 2.2rem; }
#verder ul.links-row { list-style: none; display: grid; gap: 1.15rem; max-width: 68ch; margin-top: 1.75rem; }
#verder ul.links-row li { color: var(--text-2); line-height: 1.65; }
#verder ul.links-row a { color: var(--sky); }
#verder ul.links-row a:hover { text-decoration: underline; }

/* ---- the honesty footnote ---- */
.source-note {
  margin-top: clamp(2rem, 4vh, 3rem);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--text-2); max-width: 72ch; line-height: 1.8;
}

/* ---- mobile: nothing may overflow at 375px ---- */
@media (max-width: 900px) {
  #cascade .cascade-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .calc-callout, .governance-panel, .boundary-note { max-width: 100%; }
  .v3 figure.page-band, .v3 figure.page-band.band-tall { height: clamp(170px, 46vw, 240px); }
  .codecard pre { max-height: 20rem; }
  #cascade ol.steps li { padding-left: 0; }
  #cascade ol.steps li::before { position: static; display: block; margin-bottom: .2rem; }
  .codecard .cc-bar { flex-wrap: wrap; }
}
