.hky-workflow { display: block; width: 100%; margin: 2rem 0; padding: 1.25rem 0; border-block: 1px solid var(--border); color: var(--primary); font: 400 14px/1.7 var(--zine-mono); }
.hky-workflow .hky-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hky-phases { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 12px; margin-bottom: 12px; color: var(--secondary); font-size: 12px; }
.hky-phases span { border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.hky-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hky-workflow button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--secondary); font: inherit; cursor: pointer; }
.hky-stages button { display: flex; flex-direction: column; align-items: flex-start; padding: 8px; text-align: left; }
.hky-stages button span { font-size: 12px; }
.hky-stages button .hky-step-label { font-size: 14px; }
.hky-stages button .hky-step-short { display: none; }
.hky-stages button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hky-workflow button:enabled:hover { border-color: var(--accent); }
.hky-workflow button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hky-workflow button:disabled { cursor: default; opacity: .55; }
.hky-board { margin: 1rem 0; }
.hky-board svg { display: block; width: 100%; height: auto; overflow: visible; }
.hky-board .box { fill: var(--entry); stroke: var(--secondary); stroke-width: .5; }
.hky-board .accent-box { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.hky-board .line { fill: none; stroke: var(--secondary); stroke-width: 1; }
.hky-board .accent-line { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.hky-board .dashed { stroke-dasharray: 4 4; }
.hky-board .t, .hky-board .th { fill: var(--primary); font: 400 14px var(--zine-mono); }
.hky-board .th { font-weight: 500; }
.hky-board .ts { fill: var(--secondary); font: 400 12px var(--zine-mono); }
.hky-board .accent-text { fill: var(--accent); }
.hky-handoff { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 12px; border-block: 1px solid var(--border); }
.hky-handoff div { display: flex; flex-direction: column; gap: 4px; }
.hky-handoff span, .hky-status, .hky-workflow figcaption { color: var(--secondary); font-size: 12px; }
.hky-handoff strong { font-weight: 500; }
.hky-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hky-controls > div { display: flex; gap: 8px; }
.hky-workflow figcaption { margin-top: 12px; font-weight: 400; }
@media (max-width: 560px) {
  .hky-workflow { padding-block: 12px; scroll-margin-top: 84px; }
  .hky-phases { gap: 6px; margin-bottom: 8px; }
  .hky-stages { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .hky-stages button { align-items: center; padding: 4px; gap: 0; }
  .hky-stages button .hky-step-label { display: none; }
  .hky-stages button .hky-step-short { display: inline; font-size: 12px; }
  .hky-board { margin: 10px 0; }
  .hky-board svg { max-width: 380px; margin-inline: auto; }
  .hky-board .t, .hky-board .th, .hky-board .ts { font-size: 16px; }
  .hky-handoff { gap: 12px; padding-block: 8px; font-size: 13px; }
  .hky-controls { margin-top: 10px; gap: 8px; }
  .hky-controls > div { gap: 6px; }
  .hky-controls button { padding-inline: 10px; }
  .hky-workflow figcaption { margin-top: 8px; }
}
