.pl-working-draft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr); align-items: center; gap: clamp(32px, 5cqw, 76px); }
.pd-steps { display: grid; }
.pd-step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) 22px; gap: 17px; width: 100%; padding: 27px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.pd-step:first-child { padding-top: 0; }
.pd-step:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-number { margin-top: 7px; color: var(--muted); font: 10px var(--mono); }
.pd-step-copy { display: grid; gap: 13px; }
.pd-step-copy strong { position: relative; isolation: isolate; width: fit-content; font: 600 clamp(25px, 3.1cqw, 38px)/1.08 var(--sans); letter-spacing: -.055em; }
.pd-step-copy strong::after { content: ''; position: absolute; z-index: -1; left: -2px; right: -4px; bottom: -.04em; height: .28em; background: var(--lime); opacity: 0; }
.pd-step[aria-pressed="true"] .pd-step-copy strong::after { opacity: 1; }
.pd-step-copy > span { max-width: 315px; color: var(--muted); font: 15px/1.6 var(--sans); }
.pd-step-copy small { color: #53594b; font: 10px/1.5 var(--mono); }
.pd-step-arrow { align-self: start; margin-top: 5px; opacity: 0; }
.pd-step-arrow svg, .pd-screen-action svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-step[aria-pressed="true"] .pd-step-arrow { opacity: 1; }
.pd-step:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
.pd-artifact button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.pd-desk { position: relative; display: grid; place-items: center; height: 475px; min-width: 0; }
.pd-artifact { display: block; width: min(100%, 410px); padding: 0; border: 0; background: transparent; text-align: left; }
.pd-artifact button { color: inherit; -webkit-tap-highlight-color: transparent; }
.pd-artifact button:disabled { cursor: default; }
.pd-show-compass, .pd-wire-machine, .pd-show-bloom { display: none; }
.pd-paper { display: grid; position: relative; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; width: 100%; height: 420px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 4px #17191703, 0 12px 32px #17191705; }
.pd-paper-top, .pd-paper-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; font: 8px/1.5 var(--mono); letter-spacing: .25px; }
.pd-paper-top { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pd-draft-count { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-paper-bottom { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.pd-paper-status { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--ink); }
.pd-paper-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.pd-view { position: relative; min-height: 0; min-width: 0; }
.pd-notes { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 18px; }
.pd-brief-title { position: relative; display: block; padding-top: 4px; font: 600 34px/1.05 var(--sans); letter-spacing: -1.7px; }
.pd-brief-title > span { color: var(--ink); }
.pd-questions { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.pd-note { position: relative; display: grid; align-content: center; gap: 7px; width: 100%; padding: 10px 28px 10px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.pd-note small { color: var(--muted); font: 8px/1.3 var(--mono); letter-spacing: .4px; }
.pd-note strong { position: relative; isolation: isolate; width: fit-content; font: 550 17px/1.2 var(--sans); letter-spacing: -.5px; }
.pd-note strong::after { content: ''; position: absolute; z-index: -1; left: -1px; right: -1px; bottom: -.05em; height: .35em; background: var(--lime); opacity: 0; }
.pd-note[aria-pressed="true"] strong::after { opacity: 1; }
.pd-note-check { position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; color: transparent; font: 11px var(--sans); transform: translateY(-50%); }
.pd-note[aria-pressed="true"] .pd-note-check { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.pd-interface { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.pd-browser { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.pd-browser > strong { font: 650 17px/1 var(--sans); letter-spacing: -.75px; }
.pd-browser > span { color: var(--muted); font: 7px/1.4 var(--mono); white-space: nowrap; }
.pd-browser > strong > span { color: var(--ink); }
.pd-screen-hero { display: grid; grid-template-columns: minmax(0, 1fr) 80px; grid-template-rows: auto auto auto; align-content: center; align-items: center; gap: 9px 12px; min-height: 0; }
.pd-screen-title { display: block; font: 650 28px/1.04 var(--sans); letter-spacing: -1.3px; }
.pd-screen-title > span { color: var(--ink); }
.pd-screen-text { grid-column: 1 / -1; color: var(--muted); font: 10px/1.45 var(--sans); }
.pd-screen-action { position: relative; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 136px; width: fit-content; min-height: 32px; padding: 0 11px; border: 1px dashed #a5aaa1; border-radius: 2px; background: transparent; font: 550 10px var(--sans); text-align: left; }
.pd-screen-action svg { width: 14px; height: 14px; }
.pd-wire-flower, .pd-final-flower { display: block; width: 80px; height: 80px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.pd-wire-flower svg { display: block; width: 100%; height: 100%; fill: none; stroke: #93998e; stroke-width: 1; stroke-dasharray: 3 3; }
.pd-final-flower svg { width: 100%; height: 100%; overflow: visible; }
.pd-final-flower g { fill: var(--ink); stroke: var(--ink); stroke-width: .7; transform-origin: 70px 70px; }
.pd-final-flower circle { fill: var(--lime); }
.pd-wire-flower[aria-pressed="true"] svg { transform: rotate(22deg); }
.pd-final-flower[aria-pressed="true"] svg { transform: rotate(22deg) scale(1.04); }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(1) { translate: 0 -8px; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(2) { translate: 5.7px -5.7px; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(3) { translate: 8px 0; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(4) { translate: 5.7px 5.7px; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(5) { translate: 0 8px; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(6) { translate: -5.7px 5.7px; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(7) { translate: -8px 0; }
.pd-final-flower[aria-pressed="true"] ellipse:nth-child(8) { translate: -5.7px -5.7px; }
.pd-task { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 41px; padding: 11px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.pd-task > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.pd-task small { color: var(--muted); font: 7px/1 var(--mono); }
.pd-task strong { font: 550 12px/1.2 var(--sans); letter-spacing: -.2px; }
.pd-task > svg { display: block; width: 15px; height: 15px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pd-task-check { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid #a5aaa1; border-radius: 2px; color: transparent; font-size: 12px; }
.pd-task[aria-pressed="true"] .pd-task-check { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.pd-task[aria-pressed="true"] strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.pd-prototype .pd-screen-title { font-weight: 500; color: #555b50; }
.pd-finished .pd-screen-title > span { color: var(--ink); }
.pd-finished .pd-screen-action { border-style: solid; border-color: var(--ink); background: var(--ink); color: #fff; border-radius: 18px; }
.pd-finished .pd-screen-action svg { color: var(--lime); }
.pd-finished .pd-task-check { border-radius: 50%; }
.pd-screen-action[aria-pressed="true"] svg { transform: translateX(3px); }
.pl-keyboard .pd-artifact * { transition: none !important; }
@media (hover: hover) and (pointer: fine) {
  .pd-step:hover .pd-step-arrow { opacity: 1; }
  .pd-step:hover .pd-step-copy strong::after { opacity: .55; }
  .pd-step[aria-pressed="true"]:hover .pd-step-copy strong::after { opacity: 1; }
  .pd-note:enabled:hover strong::after { opacity: .5; }
  .pd-note[aria-pressed="true"]:hover strong::after { opacity: 1; }
  .pd-screen-action:enabled:hover svg { transform: translateX(3px); }
  .pd-task:enabled:hover .pd-task-check { border-color: var(--ink); }
  .pd-wire-flower:enabled:hover svg { transform: rotate(12deg); }
  .pd-wire-flower[aria-pressed="true"]:hover svg { transform: rotate(34deg); }
  .pd-final-flower:enabled:hover svg { transform: rotate(12deg) scale(1.04); }
  .pd-final-flower[aria-pressed="true"]:hover svg { transform: rotate(34deg) scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .pd-step-copy strong::after, .pd-step-arrow, .pd-note strong::after { transition: opacity 150ms ease-out; }
  .pd-screen-action, .pd-wire-flower, .pd-final-flower { transition: scale 150ms ease-out; }
  .pd-screen-action svg { transition: transform 150ms ease-out; }
  .pd-wire-flower svg, .pd-final-flower svg { transition: transform 300ms cubic-bezier(.2,0,0,1); }
  .pd-final-flower ellipse { transition: translate 300ms cubic-bezier(.2,0,0,1); }
  body:not(.pl-keyboard) .pd-artifact button:enabled:active:not(:focus-visible):is(.pd-screen-action, .pd-wire-flower, .pd-final-flower) { scale: .96; }
}
@container process-preview (max-width: 900px) {
  .pl-working-draft { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(290px, 1fr); }
  .pd-step { gap: 12px; grid-template-columns: 20px minmax(0, 1fr) 19px; }
}
@container process-preview (max-width: 600px) {
  .pl-working-draft { grid-template-columns: 1fr; gap: 28px; }
  .pd-step { padding: 22px 0; gap: 13px; }
  .pd-step-copy { gap: 10px; }
  .pd-step-copy strong { font-size: clamp(26px, 7.5cqw, 34px); }
  .pd-step-copy > span { max-width: 100%; font-size: 14px; }
  .pd-desk { height: 452px; }
  .pd-artifact { width: min(100% - 8px, 390px); }
  .pd-paper-top, .pd-paper-bottom { font-size: 7px; }
  .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 65px; }
  .pd-screen-title { font-size: 26px; }
  .pd-wire-flower, .pd-final-flower { width: 65px; height: 65px; }
}
@container process-preview (max-width: 360px) {
  .pd-brief-title { font-size: 29px; }
  .pd-note strong { font-size: 15px; }
  .pd-screen-hero { grid-template-columns: minmax(0, 1fr) 52px; gap: 9px 10px; }
  .pd-screen-title { font-size: 22px; }
  .pd-wire-flower, .pd-final-flower { width: 52px; height: 52px; }
}
