/* Article-specific composition extends the portfolio's established dark
   editorial system. Native HTML carries the architecture and comparisons so
   the content remains readable without scripts, at zoom, and in print. */
.actions-page .case-hero h1 { max-width: 980px; letter-spacing: -.045em; line-height: 1.04; }
.actions-page .case-hero h1 span { color: var(--cyan); }
.actions-page .case-context { border-color: var(--purple); }
.article-boundary { margin-top: 28px; padding: 22px 24px; border-left: 2px solid var(--cyan); background: #101c27; }
.article-boundary strong { color: var(--ink); }
.article-boundary p { margin: 0; font-size: 1rem; line-height: 1.8; }
.article-copy { max-width: 58rem; }
.article-copy > p { font-size: 1.0625rem; line-height: 1.92; margin-bottom: 22px; }
.article-copy .article-pullquote { margin: 34px 0; padding: 26px 30px; border-left: 3px solid var(--purple); background: #171525; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.65; }
.actions-table-wrap { overflow-x: auto; max-width: 100%; scrollbar-color: #76618b #0c101e; }
.actions-table-wrap:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.actions-table { width: 100%; min-width: 47rem; border-collapse: collapse; text-align: left; font-size: 1rem; line-height: 1.8; }
.actions-table caption { padding-bottom: 18px; color: var(--muted); text-align: left; }
.actions-table th, .actions-table td { padding: 20px; border: 1px solid var(--line); vertical-align: top; }
.actions-table thead th { color: var(--cyan); background: #111c29; }
.actions-table tbody th { width: 25%; color: var(--ink); background: #131522; font-weight: 500; }
.actions-table td { color: var(--muted); }
.workflow-architecture { margin: 38px 0 0; padding: 32px; border: 1px solid var(--line); background: var(--panel); }
.workflow-architecture figcaption { max-width: 780px; margin-bottom: 30px; }
.workflow-architecture figcaption h3 { margin-bottom: 10px; font-size: 1.4rem; line-height: 1.5; }
.workflow-architecture figcaption p { margin: 0; font-size: 1rem; line-height: 1.8; }
.workflow-layer { position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; align-items: stretch; }
.workflow-node { position: relative; padding: 24px; border: 1px solid #67507e; background: #171525; }
.workflow-node::after { content: ""; position: absolute; top: 50%; right: -29px; width: 28px; height: 1px; background: #8190a9; }
.workflow-node:last-child::after { content: none; }
.workflow-node-shared { border-color: var(--cyan); background: #10202a; }
.workflow-node-output { border-color: var(--purple); }
.workflow-node .eyebrow { margin-bottom: 10px; font-size: .8rem; }
.workflow-node h4 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.5; }
.workflow-node p { margin: 0; font-size: .96rem; line-height: 1.75; }
.workflow-policy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.workflow-policy article { padding: 26px; border: 1px solid var(--line); background: #111520; }
.workflow-policy h3 { margin-bottom: 14px; font-size: 1.25rem; }
.workflow-policy li { margin-bottom: 10px; line-height: 1.75; }
.workflow-policy .shared-side { border-top: 2px solid var(--cyan); }
.workflow-policy .repo-side { border-top: 2px solid var(--purple); }
.migration-sequence { display: grid; gap: 0; margin-top: 30px; counter-reset: sequence; }
.migration-sequence article { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: sequence; }
.migration-sequence article::before { content: counter(sequence, decimal-leading-zero); color: var(--purple); font: 600 1.35rem/1.5 Consolas, monospace; }
.migration-sequence h3 { margin-bottom: 8px; font-size: 1.2rem; }
.migration-sequence p { margin: 0; font-size: 1rem; line-height: 1.8; }
.failure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.failure-grid article { padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.failure-grid h3 { margin-bottom: 10px; font-size: 1.12rem; }
.failure-grid p { margin: 0; font-size: 1rem; line-height: 1.8; }
.evidence-statement { margin-top: 32px; padding: 28px; border: 1px solid #67507e; background: #171525; }
.evidence-statement h3 { margin: 10px 0 16px; font-size: 1.35rem; }
.evidence-statement p { margin-bottom: 14px; font-size: 1.025rem; line-height: 1.85; }
.evidence-statement .text-link { display: inline-block; margin-top: 4px; }
@media (max-width: 62rem) {
  .workflow-layer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .workflow-node::after { top: auto; bottom: -33px; right: auto; left: 50%; width: 1px; height: 32px; }
}
@media (max-width: 48rem) {
  .workflow-architecture { padding: 24px 20px; }
  .workflow-policy, .failure-grid { grid-template-columns: minmax(0, 1fr); }
  .article-copy .article-pullquote { padding: 22px; }
  .migration-sequence article { grid-template-columns: 3rem minmax(0, 1fr); gap: 14px; }
}
@media print {
  .workflow-architecture, .workflow-policy article, .failure-grid article, .migration-sequence article { break-inside: avoid; }
  .actions-table-wrap { overflow: visible; }
  .actions-table { min-width: 0; }
}
