/* AI team product-cycle composition. The standalone study is the visual source. */
.cycle-map .cycle-intro { padding-bottom: 24px; }
.cycle-map .cycle-lede { max-width: 780px; font-size: 18px; line-height: 1.55; }
.cycle-map .cycle-controls { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter) 20px; }
.cycle-map .cycle-graphic { width: 100%; margin: 0; }
.cycle-map .cycle-foot { padding-top: 34px; }
.cycle-map .cycle-caption { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cycle-map .cycle-caption p { margin: 0; color: var(--text-secondary); font-size: 17px; line-height: 1.55; }
.cycle-map .cycle-caption strong { color: var(--text-primary); }
.cycle-map .cycle-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cycle-map .role-button { appearance: none; }
.cycle-map .role-button:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.cycle-map .control-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 18px; }
.cycle-map .control-title { max-width: 420px; }
.cycle-map .control-title h3 { margin: 0 0 2px; font: 700 21px/1.2 var(--f-display); }
.cycle-map .control-title p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.cycle-map .roles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 860px; }
.cycle-map .role-button { border: 1px solid var(--border); border-radius: 100px; background: var(--card); color: var(--text-primary); padding: 10px 13px; min-height: 44px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, opacity .2s; }
.cycle-map .role-button:hover { border-color: var(--quiet); }
.cycle-map .role-button[aria-pressed="true"] { background: var(--depth); border-color: var(--depth); color: var(--card); }
.cycle-map .role-button .swatch { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 100%; vertical-align: 1px; background: var(--role); }
.cycle-map .role-button[aria-pressed="true"] .swatch { background: var(--card); }
.cycle-map .stage-scroll { width: 100%; margin: 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.cycle-map .stage { min-width: 1320px; background: var(--surface); overflow: hidden; }
.cycle-map .stage-head { display: flex; align-items: baseline; justify-content: space-between; padding: 27px 44px 0; }
.cycle-map .stage-head strong { font: 700 14px/1.3 var(--f-display); letter-spacing: .025em; }
.cycle-map .stage-head span { color: var(--text-secondary); font-size: 13px; }
.cycle-map .braid { position: relative; margin: 4px 44px 0; }
.cycle-map .braid > svg { width: 100%; height: auto; display: block; overflow: visible; }
.cycle-map .braid .guide { stroke: #D7D6D0; stroke-width: 1; stroke-dasharray: 3 8; }
.cycle-map .braid .join-link { stroke: var(--text-primary); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .7; }
.cycle-map .braid .thread { fill: none; stroke: var(--color); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .88; transition: opacity .22s, stroke-width .22s; }
.cycle-map .braid .thread.secondary { stroke-width: 2.4; stroke-dasharray: 5 8; opacity: .75; }
.cycle-map .braid .node { fill: var(--surface); stroke: var(--color); stroke-width: 3; transition: opacity .22s; }
.cycle-map .braid .thread-label { font: 700 16px var(--f-body); fill: var(--text-primary); paint-order: stroke; stroke: var(--surface); stroke-width: 8px; stroke-linejoin: round; }
.cycle-map .braid .loop-label { font: 600 16px var(--f-body); fill: var(--text-secondary); }
.cycle-map .braid .join-label { font: 700 16px var(--f-body); fill: var(--text-primary); }
.cycle-map .braid .join-caption { font: 400 16px var(--f-body); fill: var(--text-secondary); }
.cycle-map .braid .join-mark { fill: var(--card); stroke: var(--text-primary); stroke-width: 1.5; }
.cycle-map .braid .feedback { fill: none; stroke: var(--text-secondary); stroke-width: 1.4; stroke-dasharray: 4 5; }
.cycle-map .braid .gate-line { stroke: var(--depth); stroke-width: 1.5; stroke-dasharray: 4 5; }
.cycle-map .braid .gate { fill: var(--depth); }
.cycle-map .braid .gate-note { font: 700 16px var(--f-body); fill: var(--depth); }
.cycle-map .stage[data-focus] .thread-group:not(.active) { opacity: .12; }
.cycle-map .stage[data-focus] .thread-group.active .thread { stroke-width: 6; opacity: 1; }
.cycle-map .stage[data-focus] .thread-group.active .thread.secondary { stroke-width: 3; }
.cycle-map .stage[data-focus] .thread-group:not(.active) .thread-label,
.cycle-map .stage[data-focus] .thread-group:not(.active) .node { opacity: .15; }
.cycle-map .outcome { padding: 17px 44px 35px; background: var(--bg); }
.cycle-map .outcome-header { display: flex; align-items: center; gap: 15px; margin: 0 0 24px; }
.cycle-map .outcome-header strong { font: 700 14px var(--f-display); white-space: nowrap; }
.cycle-map .outcome-header .axis { height: 2px; background: var(--depth); flex: 1; position: relative; }
.cycle-map .outcome-header .axis::after { content: ''; position: absolute; right: 0; top: -4px; width: 10px; height: 10px; border-top: 2px solid var(--depth); border-right: 2px solid var(--depth); transform: rotate(45deg); }
.cycle-map .outcome-header span { font-size: 13px; font-weight: 700; color: var(--depth); }
.cycle-map .cycle-artifacts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; }
.cycle-map .cycle-artifact { position: relative; min-width: 0; padding: 0 12px 0 0; }
.cycle-map .cycle-artifact + .cycle-artifact { padding-left: 9px; }
.cycle-map .cycle-artifact:not(:last-child)::after { content: ''; position: absolute; top: 68px; left: calc(100% - 20px); width: 23px; height: 1px; background: var(--quiet); }
.cycle-map .cycle-artifact .icon-frame { display: flex; align-items: center; justify-content: center; width: 142px; height: 145px; margin-bottom: 9px; }
.cycle-map .cycle-artifact .icon-frame svg { display: block; width: 138px; height: 132px; overflow: visible; }
.cycle-map .cycle-artifact .phase { line-height: 1.4; color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.cycle-map .cycle-artifact h3 { margin: 8px 0 6px; font: 700 18px/1.15 var(--f-display); letter-spacing: -.015em; }
.cycle-map .cycle-artifact .phase > span, .cycle-map .cycle-artifact p > span { display: block; }
.cycle-map .cycle-artifact p { max-width: 160px; margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.35; }
.cycle-map .cycle-artifact .icon-ink { fill: var(--card); stroke: var(--text-primary); stroke-width: 1.8; stroke-linejoin: round; }
.cycle-map .cycle-artifact .icon-line { fill: none; stroke: var(--text-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cycle-map .cycle-artifact .icon-light { fill: none; stroke: var(--quiet); stroke-width: 1.3; stroke-linecap: round; }
.cycle-map .cycle-artifact .icon-cobalt { fill: var(--depth); }
.cycle-map .cycle-artifact .icon-teal { fill: var(--primary); }
.cycle-map .cycle-artifact .icon-amber { fill: var(--signal); }
.cycle-map .cycle-artifact .icon-sage { fill: var(--sage); }
.cycle-map .cycle-artifact .icon-frost { fill: var(--frost); }
.cycle-map .cycle-artifact .icon-surface { fill: var(--surface); }
.cycle-map .cycle-artifact .icon-white { fill: var(--card); }
.cycle-map .cycle-artifact .icon-muted { fill: #ADB9C7; }
.cycle-map .cycle-artifact .icon-soft { fill: #D9E8E3; }
.cycle-map .cycle-artifact .icon-dark { fill: var(--text-primary); }
@media (max-width: 1080px) {
  .cycle-map .control-bar { align-items: flex-start; flex-direction: column; }
  .cycle-map .roles { justify-content: flex-start; }
}
@media (max-width: 1024px) {
  .cycle-map .cycle-controls { padding-left: var(--s-32); padding-right: var(--s-32); }
}
@media (max-width: 700px) {
  .cycle-map .cycle-caption { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .cycle-map .cycle-controls { padding-left: var(--s-24); padding-right: var(--s-24); }
  .cycle-map .roles { flex-wrap: nowrap; max-width: calc(100vw - 48px); overflow-x: auto; padding-bottom: 4px; }
  .cycle-map .role-button { flex: 0 0 auto; }
  .cycle-map .control-title p { font-size: 13px; }
  .cycle-map .cycle-lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .cycle-map .thread, .cycle-map .node, .cycle-map .role-button { transition-duration: .01ms !important; }
}
