/* Homepage only. No shared workflow, article or typography overrides. */
.workflow-explorer { background: #192f28; color: #f2f6ef; padding: 72px 0 52px; scroll-margin-top: 96px; }
.workflow-explorer * { min-width: 0; }
.workflow-explorer [hidden] { display: none !important; }
.workflow-explorer .section-intro { margin-bottom: 36px; }
.workflow-explorer .section-intro h2 { color: #f2f6ef; }
.workflow-explorer .section-intro em { color: #b9dd92; }
.workflow-explorer .section-intro > p { color: #d3ded5; }
.workflow-explorer button { font: inherit; color: inherit; cursor: pointer; }
.workflow-explorer :is(button, a, summary, input):focus-visible { outline: 3px solid #d5ef9d; outline-offset: 5px; }
.workflow-explorer :is(button, a, summary, input) { scroll-margin-block: 120px; }
.workflow-explorer button:disabled { cursor: default; opacity: .5; }
.workflow-explorer :is(p, li) { text-wrap: pretty; }
.we-examples { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid #53665b; margin-bottom: 24px; }
.we-examples button { padding: 14px 0; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 18px; line-height: 1.5; }
.we-examples button[aria-pressed=true] { border-color: #c3e897; color: #d5efb3; }
.we-examples button:hover { color: #d5efb3; }
.we-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.we-toolbar > p { font-size: 16px; line-height: 1.6; color: #d3ded5; }
.we-modes { display: inline-flex; border: 1px solid #627866; padding: 4px; border-radius: 8px; flex-shrink: 0; }
.we-modes button { background: none; border: 0; padding: 10px 16px; border-radius: 4px; font-size: 16px; line-height: 1.5; }
.we-modes button[aria-pressed=true] { background: #d1e8b7; color: #193328; }
.we-preview { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 28px; font-size: 16px; line-height: 1.65; color: #d3ded5; }
.we-preview strong { font-weight: 500; color: #d5efb3; }
.we-preview a { text-decoration: underline; text-underline-offset: 4px; margin-left: auto; }
#we-balance-heading { scroll-margin-top: 120px; }
.we-path { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 0; margin: 0 0 32px; }
.we-path li { position: relative; }
.we-path li:not(:last-child)::after { content: ''; position: absolute; height: 1px; background: #627866; left: 52px; right: -20px; top: 22px; }
.we-path button { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 0; border-bottom: 3px solid transparent; background: none; width: 100%; padding: 0 8px 16px 0; height: 100%; gap: 14px; }
.we-path .we-number { display: grid; place-items: center; border: 1px solid #7a927f; border-radius: 50%; height: 44px; width: 44px; background: #192f28; font-size: 16px; flex-shrink: 0; position: relative; z-index: 1; transition: background .15s, color .15s; }
.we-path button[aria-pressed=true] { border-bottom-color: #c3e897; }
.we-path button[aria-pressed=true] .we-number { background: #d1e8b7; color: #193328; border-color: #d1e8b7; }
.we-path button:hover .we-number { border-color: #d1e8b7; }
.we-actor { display: block; font-size: 14px; line-height: 1.5; color: #bdcdc0; margin-bottom: 4px; }
.we-path button[data-human=true] .we-actor { color: #d7eeb9; }
.we-path strong { display: block; font-size: 18px; line-height: 1.45; font-weight: 550; }
.we-columns { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); border-top: 1px solid #53665b; }
.we-detail { padding: 32px 40px 24px 0; }
.we-kicker { font-size: 16px; line-height: 1.6; color: #c3d5c4; }
.we-detail h3 { font-size: 28px; line-height: 1.25; margin: 12px 0; color: #f2f6ef; }
.we-detail > p { font-size: 18px; line-height: 1.7; max-width: 52ch; }
.we-detail .we-context { font-size: 16px; line-height: 1.65; color: #d3ded5; margin-top: 16px; }
.we-approval { margin-top: 24px; padding-left: 18px; border-left: 2px solid #b9dd92; }
.we-approval > p { font-size: 16px; line-height: 1.65; margin-bottom: 16px; }
.we-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.workflow-explorer .we-primary { background: #d1e8b7; color: #193328; border: 1px solid #d1e8b7; border-radius: 5px; padding: 12px 18px; font-size: 16px; line-height: 1.5; text-align: left; }
.workflow-explorer .we-primary[aria-disabled=true] { background: transparent; color: #d1e8b7; cursor: default; }
.workflow-explorer .we-link { background: none; border: none; padding: 8px 0; font-size: 16px; line-height: 1.6; text-align: left; text-decoration: underline; text-underline-offset: 5px; }
.we-run-state { border-left: 2px solid #b9dd92; padding-left: 16px; margin-bottom: 24px; }
.we-run-state strong { display: block; font-size: 16px; line-height: 1.5; color: #d5efb3; }
.we-run-state p { font-size: 16px; line-height: 1.65; color: #d3ded5; margin-top: 8px; }
.we-run-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.we-detail #we-position { margin-top: 24px; padding-top: 16px; border-top: 1px solid #53665b; }
.we-path button[data-done=true] .we-number { border-color: #c3e897; color: #d5efb3; }
.we-path button[data-done=true][aria-pressed=true] .we-number { color: #193328; }
.we-balance { background: #233d31; padding: 28px 32px; border-radius: 0 0 8px 8px; }
.we-balance h3 { font-size: 22px; line-height: 1.4; color: #f2f6ef; margin: 0 0 4px; }
.workflow-explorer .we-caption { font-size: 14px; line-height: 1.6; color: #c5d5c7; }
.we-times { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.we-times > div { flex: 1; }
.we-times div span { display: block; font-size: 14px; line-height: 1.5; color: #d3ded5; }
.we-times strong { font-size: 23px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.we-result { margin: 22px 0; border-top: 1px solid #536f5a; padding-top: 22px; }
.we-result > strong { display: block; font-size: clamp(36px,4vw,52px); line-height: 1.1; font-weight: 500; letter-spacing: -.04em; color: #d5efb3; overflow-wrap: anywhere; }
.we-result > span { display: block; font-size: 16px; line-height: 1.6; margin-top: 8px; }
.we-result > p { font-size: 16px; line-height: 1.65; color: #d3ded5; margin-top: 12px; }
.we-balance details { border-top: 1px solid #536f5a; padding-block: 12px; }
.we-balance summary { font-size: 16px; line-height: 1.6; cursor: pointer; padding: 4px 0; }
.we-balance details p { font-size: 16px; line-height: 1.65; margin-top: 16px; }
.we-balance details h4 { font-size: 18px; line-height: 1.5; margin-top: 20px; }
.we-balance details a { display: inline-block; font-size: 16px; line-height: 1.65; text-decoration: underline; text-underline-offset: 4px; margin-top: 16px; }
.we-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.we-inputs label { font-size: 16px; line-height: 1.5; color: #f2f6ef; }
.we-inputs input { display: block; width: 100%; margin-top: 8px; background: #f4f7ee; color: #192f28; border: 2px solid transparent; border-radius: 4px; padding: 10px; font-size: 18px; }
.we-inputs input[aria-invalid=true] { border-color: #ffbc9d; background: #fff1e9; }
#we-error { color: #ffcfb6; }
.we-balance .we-caveat { margin-top: 10px; }
.we-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; }
.we-foot > p { font-size: 14px; line-height: 1.6; color: #c3d5c4; }
.we-follow { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #53665b; }
.we-follow > p { max-width: 64ch; font-size: 16px; line-height: 1.65; color: #d3ded5; }
.we-follow a { color: #d5efb3; flex-shrink: 0; }
.we-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.we-fallback { padding-left: 22px; font-size: 18px; line-height: 1.7; }
@media(max-width:1000px) {
  .we-toolbar { align-items: flex-start; flex-direction: column; }
  .we-detail { padding-right: 24px; }
  .we-balance { padding: 24px; }
  .we-inputs { grid-template-columns: 1fr; }
  .we-follow { flex-wrap: wrap; gap: 16px; }
}
@media(max-width:720px) {
  .workflow-explorer { padding-block: 48px 36px; }
  .workflow-explorer .section-intro { margin-bottom: 28px; }
  .we-examples { gap: 4px 20px; margin-bottom: 20px; }
  .we-examples button { font-size: 16px; padding-block: 10px; }
  .we-toolbar { gap: 12px; margin-bottom: 24px; }
  .we-modes { max-width: 100%; }
  .we-modes button { padding: 10px 12px; }
  .we-path { grid-template-columns: 1fr; gap: 0; margin-bottom: 20px; }
  .we-path li:not(:last-child)::after { height: auto; width: 1px; left: 21px; top: 44px; bottom: 0; right: auto; }
  .we-path button { flex-direction: row; align-items: center; gap: 16px; padding: 10px 8px 10px 0; border-bottom: 0; border-right: 3px solid transparent; }
  .we-path button[aria-pressed=true] { border-right-color: #c3e897; background: #233d31; }
  .we-path .we-actor { margin-bottom: 0; }
  .we-columns { grid-template-columns: 1fr; }
  .we-detail { padding: 24px 0; }
  .we-detail h3 { font-size: 26px; }
  .we-balance { border-radius: 6px; padding: 24px; }
  .we-foot { align-items: flex-start; flex-direction: column; gap: 12px; }
  .we-follow { margin-top: 24px; padding-top: 24px; }
}
@media(max-width:360px) {
  .we-balance { padding: 20px 16px; }
  .we-modes button { padding-inline: 8px; }
  .we-times { gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { .workflow-explorer * { transition: none !important; animation: none !important; } }
.motion-paused .workflow-explorer * { transition: none !important; animation: none !important; }
