/* Editorial treatment for Automation Is Not the Goal. */
body.insight-page.automation-goal-page {
  --ia-bg: #fff;
  --ia-ink: #11161d;
  --ia-muted: #46505d;
  --ia-accent: #1957a6;
  --ia-line: #d9dfe6;
  --ia-panel: #f2f6fb;
}
.automation-goal-page .ia-hero {
  background-image: radial-gradient(#8099b133 .7px, transparent .7px);
  background-size: 24px 24px;
}
.automation-goal-page .ia-hero h1 span { color: var(--ia-accent); }
.automation-goal-page .ia-hero-title { gap: 7vw; padding-block: 50px; }
.automation-goal-page .ia-dek { font-size: clamp(20px, 2vw, 28px); line-height: 1.5; }
.automation-goal-page .ia-read-link { border-color: var(--ia-line); }
.ag-byline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; color: var(--ia-muted); font-size: 12px; line-height: 1.7; }
.automation-goal-page .ia-cover { background: #fff; }
.automation-goal-page .ia-cover img { background: #06080b; }
.automation-goal-page .article-shell { grid-template-columns: 210px minmax(0, 780px); justify-content: center; }
.automation-goal-page .section { margin-bottom: 62px; padding-bottom: 48px; }
.automation-goal-page .section p { max-width: 70ch; }
.automation-goal-page .section .ag-source-note { font-size: 12px; line-height: 1.7; }
.automation-goal-page .section p a, .automation-goal-page .ag-sources a { color: var(--ia-accent); }
.automation-goal-page .toc { scrollbar-width: thin; scrollbar-color: #c4cdd8 #fff; }
.automation-goal-page .toc-link[aria-current="location"] { color: var(--ia-accent); }
.automation-goal-page .ag-list, .automation-goal-page .ag-sources ol { margin: 25px 0; padding-left: 22px; color: var(--ia-muted); font-size: 16px; line-height: 1.8; }
.automation-goal-page .ag-list li { padding: 13px 0 13px 8px; border-bottom: 1px solid var(--ia-line); }
.automation-goal-page .ag-list li::marker { color: var(--ia-accent); }
.automation-goal-page .ag-sources li { margin-bottom: 15px; padding-left: 8px; font-size: 14px; }
.ag-label { display: block; font: 11px/1.6 'Share Tech Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.ag-flow { margin: 38px 0 10px; padding: 28px; background: #101a28; color: #fff; }
.ag-flow .ag-label { color: #a8bfdd; }
.ag-flow figcaption h3 { margin: 10px 0 26px; font-size: 27px; line-height: 1.2; }
.ag-flow-controls { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 30px; padding: 0; border: 0; }
.ag-flow-controls legend { font-size: 13px; margin-bottom: 12px; }
.ag-flow-controls label { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #5a718e; font-size: 12px; cursor: pointer; }
.ag-flow-controls label:has(input:checked) { background: #fff; border-color: #fff; color: #101a28; }
.ag-flow-controls input { margin: 0; accent-color: #1957a6; }
.ag-flow-controls input:focus-visible { outline-color: #4a99fa; }
.ag-flow-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ag-stage { min-width: 0; }
.automation-goal-page .ag-stage strong { display: block; margin: 12px 0 5px; color: #fff; font-size: clamp(32px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ag-stage > span:last-of-type { display: block; font-size: 11px; color: #cfdae8; line-height: 1.7; }
.ag-bar { height: 5px; margin-top: 20px; background: #304359; }
.ag-bar i { display: block; height: 100%; background: #72aef7; transition: width .2s ease; }
.ag-stage-waiting .ag-bar i { background: #eab576; }
.automation-goal-page .section .ag-flow-status { color: #fff; margin: 25px 0 17px; font-size: 15px; line-height: 1.7; }
.automation-goal-page .section .ag-flow-note { color: #b1bfd0; margin: 0; font-size: 11px; line-height: 1.7; }
.ag-cycle-table { margin: 28px 0 14px; }
.ag-cycle-table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.ag-cycle-table caption { text-align: left; margin-bottom: 14px; font: 11px/1.6 'Share Tech Mono', monospace; text-transform: uppercase; color: var(--ia-accent); letter-spacing: .06em; }
.ag-cycle-table th, .ag-cycle-table td { text-align: left; vertical-align: top; padding: 15px 12px; border-bottom: 1px solid var(--ia-line); }
.ag-cycle-table thead th { background: var(--ia-panel); font-weight: 500; }
.ag-cycle-table tbody th { font-weight: 500; width: 34%; }
.ag-cycle-table td:nth-child(2) { white-space: nowrap; }
.automation-goal-page .ia-story img { object-fit: contain; background: #080b0e; }
@media (max-width: 800px) {
  .automation-goal-page .article-shell { grid-template-columns: minmax(0, 1fr); }
  .automation-goal-page .ia-hero-title { padding-block: 34px; gap: 25px; }
  .automation-goal-page .section { margin-bottom: 42px; padding-bottom: 36px; }
}
@media (max-width: 540px) {
  .automation-goal-page .ia-topline { flex-wrap: wrap; gap: 5px; }
  .automation-goal-page .ia-cover figcaption { flex-direction: column; gap: 5px; }
  .automation-goal-page .ia-cover figcaption > span:last-child { text-align: left; }
  .ag-flow { padding: 22px; }
  .ag-flow-stages { grid-template-columns: 1fr; gap: 23px; }
  .ag-stage { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; }
  .ag-stage .ag-label { align-self: center; }
  .automation-goal-page .ag-stage strong { margin: 0; grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 38px; }
  .ag-stage > span:last-of-type { grid-column: 1; }
  .ag-bar { grid-column: 1 / -1; margin-top: 10px; }
  .ag-cycle-table th, .ag-cycle-table td { padding: 12px 6px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ag-bar i { transition: none; } }
@media print {
  .automation-goal-page .ia-hero { background: none; }
  .ag-flow { background: #fff; border: 1px solid #777; color: #111; break-inside: avoid; }
  .automation-goal-page .ag-flow .ag-label, .automation-goal-page .ag-stage strong, .ag-stage > span:last-of-type, .automation-goal-page .section .ag-flow-status, .automation-goal-page .section .ag-flow-note { color: #111; }
  .ag-flow-controls { display: none; }
}
