.process-section .portfolio-version-surface { container: process-preview / inline-size; }
.process-intro { width: min(100%, 260px); }
.process-intro p { margin: 0; color: var(--muted); font: 12px/1.8 var(--sans); }
.process-playback { position: relative; display: inline-flex; align-items: center; justify-self: center; gap: 8px; min-width: 104px; min-height: 40px; padding: 7px 13px 11px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: inherit; font: 11px var(--sans); }
.process-playback[data-running="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.process-playback svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process-play-label { min-width: 38px; text-align: left; }
.process-play-icon, .process-playback[aria-pressed="false"] .process-pause-icon { display: none; }
.process-playback[aria-pressed="false"] .process-play-icon { display: block; }
.process-play-progress { position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: #17191722; overflow: hidden; }
.process-play-progress i { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.process-playback:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.process-token { display: none; }
.process-section[data-version="pro"] .process-playback { --token-ink: #171917; --token-progress: #78953d; width: 56px; min-width: 0; height: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 11px; color: inherit; background: var(--paper); box-shadow: none; scale: 1 !important; transform: none !important; transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.process-section[data-version="pro"] .process-playback > :is(svg,.process-play-label,.process-play-progress) { display: none; }
.process-section[data-version="pro"] .process-token { display: contents; }
.process-token > span { position: absolute; pointer-events: none; }
.process-token-dots { display: flex; left: 16px; top: 8px; width: 22px; gap: 4px; }
.process-token-dots > i { display: block; flex: 1; height: 3px; border-radius: 50%; background: #b7c3a454; overflow: hidden; }
.process-token-dots b { display: block; height: 100%; border-radius: inherit; background: var(--token-progress); transform: scaleX(0); transform-origin: left; }
.process-token-track { left: 10px; top: 17px; width: 34px; height: 20px; border: 1px solid var(--line); border-radius: 12px; background: #b7c3a454; }
.process-token-track > i { position: absolute; left: 2px; top: 2px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: inherit; background: var(--paper); }
.process-token-track svg { display: block; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.process-token-play { display: none; }
.process-playback[aria-pressed="true"] .process-token-track { background: #d6edac; border-color: #b1cb85; }
.process-playback[aria-pressed="true"] .process-token-track > i { color: var(--token-ink); background: #fff; transform: translateX(14px); }
.process-playback[aria-pressed="false"] .process-token-pause { display: none; }
.process-playback[aria-pressed="false"] .process-token-play { display: block; }
body[data-theme="dark"] .process-section[data-version="pro"] .process-playback { --token-progress: #9bbd5e; }
@media (hover: hover) and (pointer: fine) {
  .process-section[data-version="pro"] .process-playback:hover { border-color: #a5b98a; background: #f1f5e9; color: #304323; }
  body[data-theme="dark"] .process-section[data-version="pro"] .process-playback:hover { border-color: #7c9164; background: #2a3820; color: #edf3e5; }
}
@media (prefers-reduced-motion: no-preference) { .process-token-track > i { transition: transform 150ms cubic-bezier(.2,0,0,1); } }
.process-section .pd-desk { grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 12px; height: 550px; }
.process-section .pd-paper { --line: #e3e5df; --muted: #686b65; color: #171917; }
.process-section .pd-step { color: inherit; }
.process-section .pd-step-copy > span { max-width: 360px; }
.process-section .pd-step-copy small { color: var(--muted); }
.process-section .pd-step:focus-visible { outline-color: currentColor; }
.process-section[data-version="free"] .pd-step-copy strong { font:var(--bare-type-title); letter-spacing: normal; color: #0000ee; text-decoration: underline; }
.process-section[data-version="free"] .pd-step-copy > span { font:var(--bare-type-body); color: inherit; }
.process-section[data-version="free"] .pd-step-copy strong::after { display: none; }
.process-section[data-version="free"] .pd-step[aria-pressed="true"] .pd-number { color: inherit; text-decoration: underline; }
.process-section[data-version="free"] .pd-artifact { cursor: default; }
.process-section[data-version="free"] .pd-paper { padding: 20px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: inherit; --muted: inherit; --line: #e3e5df; }
.process-section[data-version="free"] .pd-brief-title { font:var(--bare-type-title); letter-spacing: normal; }
.process-section[data-version="free"] .pd-note strong { font:var(--bare-type-body); letter-spacing: normal; }
.process-section[data-version="free"] .pd-note strong::after { display: none; }
.process-section[data-version="free"] .pd-screen-hero { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; }
.process-section[data-version="free"] .pd-wire-flower, .process-section[data-version="free"] .pd-final-flower { display: none; }
.process-section[data-version="free"] .pd-screen-title { font:var(--bare-type-title); letter-spacing: normal; color: inherit; }
.process-section[data-version="free"] .pd-screen-action { padding: 0; border: 0; background: transparent; color: #0000ee; text-decoration: underline; font:var(--bare-type-control); }
.process-section[data-version="free"] .pd-browser > strong, .process-section[data-version="free"] .pd-task strong { font-family: var(--bare-font, Georgia); }
.process-section[data-version="free"] .pd-task-check { border-radius: 0; border-color: currentColor; background: transparent; }
.process-section[data-version="free"] .pd-paper-status i { background: currentColor; border-radius: 0; }
.process-section[data-version="free"] .pd-paper-status, .process-section[data-version="free"] .pd-brief-title > span, .process-section[data-version="free"] .pd-screen-title > span { color: inherit; }
.process-section[data-version="enterprise"] .pd-artifact { width: min(100% - 16px, 480px); }
.process-section[data-version="enterprise"] .pd-paper { height: 470px; padding: 25px; border-radius: 16px; border-color: #c9cec2; box-shadow: 0 4px 8px #17191704, 0 20px 48px #17191708; }
.process-section[data-version="enterprise"] .pd-paper-top { font-size: 9px; padding-bottom: 14px; }
.process-section[data-version="enterprise"] .pd-paper-top > span:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--lime); border: 1px solid #9cb856; border-radius: 50%; }
.process-section[data-version="enterprise"] .pd-brief-title { font-size: 43px; letter-spacing: -2.2px; }
.process-section[data-version="enterprise"] .pd-note strong { font-size: 19px; letter-spacing: -.6px; }
.process-section[data-version="enterprise"] .pd-browser > strong { font-size: 21px; }
.process-section[data-version="enterprise"] .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 125px; gap: 11px 12px; }
.process-section[data-version="enterprise"] .pd-screen-title { font-size: 34px; letter-spacing: -1.8px; }
.process-section[data-version="enterprise"] .pd-wire-flower, .process-section[data-version="enterprise"] .pd-final-flower { width: 125px; height: 125px; }
.process-section[data-version="enterprise"] .pd-screen-text { font-size: 11px; }
.process-section[data-version="enterprise"] .pd-screen-action { min-height: 37px; padding-inline: 14px; font-size: 11px; }
.process-section[data-version="enterprise"] .pd-task { min-height: 47px; }
body[data-theme="dark"] .process-section[data-version="free"] .pd-step-copy strong,
body[data-theme="dark"] .process-section[data-version="free"] .pd-screen-action { color: #9eb0ff; }
body[data-theme="dark"] .process-section .pd-step-copy strong::after { background: #405323; }
.process-section.is-keyboard *, body[data-motion-paused="true"] .process-section * { transition: none !important; }
@media (hover: hover) and (pointer: fine) {
  .process-playback:hover { border-color: currentColor; }
}
@media (prefers-reduced-motion: no-preference) {
  .process-playback { transition: scale 150ms ease-out, background-color 150ms ease-out; }
  .process-playback:active:not(:focus-visible) { scale: .97; }
}
@container process-preview (max-width: 900px) {
  .process-section[data-version="enterprise"] .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 90px; }
  .process-section[data-version="enterprise"] .pd-screen-title { font-size: 29px; letter-spacing: -1.4px; }
  .process-section[data-version="enterprise"] .pd-wire-flower, .process-section[data-version="enterprise"] .pd-final-flower { width: 90px; height: 90px; }
  .process-section[data-version="enterprise"] .pd-brief-title { font-size: 35px; letter-spacing: -1.7px; }
}
@container process-preview (max-width: 600px) {
  .process-section .pd-desk { height: 490px; }
  .process-section .pd-step { grid-template-columns: 20px minmax(0, 1fr); }
  .process-section .pd-step-arrow { display: none; }
  .process-section[data-version="enterprise"] .pd-desk { height: 550px; }
  .process-section[data-version="enterprise"] .pd-paper { padding: 21px; }
  .process-section[data-version="enterprise"] .pd-artifact { width: min(100% - 8px, 420px); }
  .process-section[data-version="enterprise"] .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 78px; }
  .process-section[data-version="enterprise"] .pd-wire-flower, .process-section[data-version="enterprise"] .pd-final-flower { width: 78px; height: 78px; }
  .process-section[data-version="enterprise"] .pd-screen-title { font-size: 26px; letter-spacing: -1.3px; }
}
@container process-preview (max-width: 360px) {
  .process-section[data-version="enterprise"] .pd-note strong { font-size: 16px; }
  .process-section[data-version="enterprise"] .pd-paper { padding: 18px; }
  .process-section[data-version="enterprise"] .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 60px; gap: 9px 10px; }
  .process-section[data-version="enterprise"] .pd-wire-flower, .process-section[data-version="enterprise"] .pd-final-flower { width: 60px; height: 60px; }
  .process-section[data-version="enterprise"] .pd-screen-title { font-size: 23px; }
}
@media (max-width: 540px) {
  .process-intro { margin-top: 20px; gap: 12px; }
}
