/* OpsGrid "Full breakdown" sections (added 2026-12-04, site-changes/OPSGRID-BREAKDOWN-REWRITE-PLAN.md).
   Pain moment, ledger line, "What's missing" three-column block and the stage list wrapper.
   Loaded after exception-page.css or workflow-page.css, whose :root tokens it reads.
   The stage list and the before/after table reuse .xf-stages and .xf-table from exception-flow.css. */

/* THE MOMENT IT HURTS */
.xp-pain { background: var(--surface); padding: 3rem 1.5rem; border-bottom: 1px solid var(--border) }
.xp-pain-inner { max-width: 1040px; margin: 0 auto }
.xp-beats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem }
.xp-beat { background: var(--s2); border-radius: var(--rl); padding: 1rem 1.1rem }
.xp-beat-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.35rem }
.xp-beat p { font-size: 0.92rem; color: var(--ink2); line-height: 1.65 }
.xp-illustrative { font-size: 0.78rem; color: var(--ink3); margin-top: 0.75rem }
.xp-quote { margin-top: 1.75rem; max-width: 720px; padding-top: 1.25rem; border-top: 1px solid var(--border) }
.xp-quote > p:first-child { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--ink) }
.xp-quote .xp-quote-src { font-size: 0.82rem; color: var(--ink3); margin-top: 0.45rem }
.xp-quote a { color: var(--ah); text-decoration: underline }
.xp-quote a:hover { color: var(--accent) }

/* COST: ledger line and tool link under .wp-cost-text */
.xp-ledger { font-size: 0.92rem; color: var(--ink); line-height: 1.7; margin-top: 0.75rem; max-width: 680px }
.xp-ledger strong { font-weight: 600 }
.xp-ledger a { color: var(--ah); text-decoration: underline }
.xp-ledger a:hover { color: var(--accent) }

/* WHAT'S MISSING */
.xp-missing { background: var(--s2); padding: 3rem 1.5rem; border-bottom: 1px solid var(--border) }
.xp-missing-inner { max-width: 1040px; margin: 0 auto }
.xp-missing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem }
.xp-missing-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 1.1rem 1.15rem }
.xp-missing-col h3 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink3); margin-bottom: 0.6rem }
.xp-missing-col--gap { border-color: var(--accent) }
.xp-missing-col--gap h3 { color: var(--accent) }
.xp-missing-col ul { list-style: none; display: grid; gap: 0.5rem }
.xp-missing-col li { font-size: 0.9rem; color: var(--ink2); line-height: 1.6; padding-left: 0.9rem; position: relative }
.xp-missing-col li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.35rem; height: 1px; background: var(--ink3) }

/* STAGE STATUS PILLS inside .xf-stage-head */
.xp-stage-status { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; border-radius: var(--r); padding: 0.25rem 0.6rem; background: var(--s2); color: var(--ink2) }
.xp-stage-status--live { color: var(--navy) }
.xp-stage-status--roadmap { color: var(--ah) }

/* Shared headings, for workflow pages that do not carry exception-page.css */
.xp-h2 { font-family: var(--serif); font-size: clamp(1.5rem, 1.37rem + 0.56vw, 1.875rem); font-weight: 400; color: var(--ink); line-height: 1.15; margin-bottom: 0.5rem }
.xp-eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ah); font-weight: 600; margin-bottom: 0.55rem }
.xp-sub { font-size: 0.92rem; color: var(--ink2); max-width: 680px; line-height: 1.65 }

/* Workflow pages: FAQ wrapper (exception-page.css carries the same rules) and linked stage names */
.xp-faq { background: var(--surface); padding: 3rem 1.5rem; border-top: 1px solid var(--border) }
.xp-faq-inner { max-width: 1040px; margin: 0 auto }
.xp-faq .iq-faq-list { margin-top: 1.25rem; max-width: 760px }
.wp-di-step-name a, .wp-di-eyebrow a { color: inherit; text-decoration: none }
.wp-di-step-name a:hover, .wp-di-eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px }
.wp-signal-note a { color: var(--ah); text-decoration: underline }
.wp-signal-note a:hover { color: var(--accent) }

@media (max-width: 760px) {
  .xp-beats, .xp-missing-grid { grid-template-columns: 1fr }
  .xp-pain, .xp-missing { padding: 2.5rem 1.25rem }
}
