.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;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
.prompt-area {
  padding: 30px 34px 0;
  background: #e9ecdf;
}
.prompt-composer {
  border: 1px solid #bec7b1;
  background: #f8f9f3;
}
.prompt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #dbe0d1;
  padding: 15px 21px;
}
.prompt-toolbar > .mono {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  color: #5c6b50;
  font-size: 10px;
}
.prompt-agent-icon {
  color: var(--accent);
  font-size: 23px;
  line-height: 1;
}
.replay-button {
  border: 0;
  background: transparent;
  padding: 5px 0 5px 9px;
  color: #637059;
  font: 10px var(--mono);
  white-space: nowrap;
}
.replay-button:hover {
  color: var(--accent);
}
.replay-button:disabled {
  opacity: 0.4;
  cursor: default;
}
.replay-button span {
  margin-right: 4px;
}
.prompt-copy {
  position: relative;
  margin: 25px 25px 20px;
  max-width: 950px;
  font-size: 19px;
  line-height: 1.65;
}
.prompt-full p {
  margin: 0;
}
.prompt-full .prompt-lead {
  margin-bottom: 1.65em;
}
.prompt-typed {
  position: absolute;
  inset: 0;
  white-space: pre-wrap;
}
.typing-cursor {
  color: var(--accent);
  animation: cursor-blink 0.8s steps(1) infinite;
}
.is-typing .prompt-full {
  visibility: hidden;
}
.prompt-footer {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 25px 19px;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
}
.prompt-corner {
  color: #879577;
  font-size: 16px;
}
.creation-bridge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 105px;
  background: linear-gradient(#e9ecdf, #fafaf6);
}
.bridge-wire {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 21px;
  background: #a9b49c;
}
.bridge-agent {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #c4cdb8;
  background: var(--paper);
  font-size: 21px;
  color: var(--accent);
}
.creation-bridge .mono {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}
.creation-bridge strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 3px;
}
.bridge-arrow {
  position: absolute;
  bottom: 3px;
  left: calc(50% - 5px);
  color: #859574;
  font-size: 18px;
}
.is-typing .bridge-agent {
  border-color: #a0ad8c;
}
.workflow {
  padding-top: 14px;
}
.workflow-head > div > strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
}
.workflow-head .pill {
  transition:
    color 0.2s,
    border-color 0.2s;
}
.example-panel.is-generating .workflow-head .pill {
  border-color: #96a782;
  color: #5e7845;
}
.workflow-graph {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "event amount notify wait" "amountEnd . status read" ". resolvedEnd escalate finalEnd";
  grid-auto-rows: minmax(126px, auto);
  gap: 56px 32px;
  margin: 32px 0;
}
.graph-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.graph-edge {
  transition: opacity 0.25s;
}
.graph-edge > path {
  fill: none;
  stroke: #8a987e;
  stroke-width: 1.25;
  marker-end: url(#workflow-arrow);
}
.graph-edge > text {
  font: 10px var(--mono);
  fill: #6c7b5e;
}
.graph-edge.is-selected > path {
  stroke: #789448;
  stroke-width: 2;
}
.graph-edge.is-selected > text {
  fill: #536f32;
}
.graph-edge.is-muted {
  opacity: 1;
}
.graph-edge.is-muted > path {
  stroke: #bbc3b0;
}
.graph-edge.is-muted > text {
  fill: #69765c;
}
.graph-node {
  position: relative;
  z-index: 1;
  padding: 15px;
  border: 1px solid #ccd3c0;
  background: var(--paper);
  min-width: 0;
  transition:
    opacity 0.25s,
    border-color 0.25s,
    background 0.25s;
}
[data-node="event"] {
  grid-area: event;
}
[data-node="amount"] {
  grid-area: amount;
}
[data-node="amountEnd"] {
  grid-area: amountEnd;
}
[data-node="notify"] {
  grid-area: notify;
}
[data-node="wait"] {
  grid-area: wait;
}
[data-node="read"] {
  grid-area: read;
}
[data-node="status"] {
  grid-area: status;
}
[data-node="resolvedEnd"] {
  grid-area: resolvedEnd;
}
[data-node="escalate"] {
  grid-area: escalate;
}
[data-node="finalEnd"] {
  grid-area: finalEnd;
}
.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 18px;
}
.node-number {
  font: 9px var(--mono);
  color: var(--muted);
}
.node-kind {
  font: 9px/1.3 var(--mono);
  letter-spacing: 0.025em;
  color: #6c795e;
}
.event-kind {
  color: #547369;
}
.condition-kind {
  color: #7d623e;
}
.action-kind {
  color: #5e764e;
}
.wait-kind {
  color: #716c34;
}
.graph-node > strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.graph-node > small {
  display: block;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 9px;
}
.condition-node {
  background: #f3f0e5;
  border-color: #d7cfb7;
}
.graph-node.wait-node {
  background: #f0f1db;
  border-color: #d7d9b2;
}
.terminal-node {
  border-radius: 40px;
  padding: 13px 14px;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 160px;
  text-align: center;
}
.terminal-node > strong {
  font-size: 11px;
  margin-top: 6px;
}
.graph-node.is-muted {
  border-color: #e0e4d8;
  background: #f8f8f4;
}
.graph-node.is-muted > strong {
  color: var(--muted);
}
.graph-node.is-selected {
  border-color: #8ea36f;
  background: #edf1e3;
}
.example-panel.is-pending .graph-node,
.example-panel.is-pending .graph-edge,
.example-panel.is-generating .graph-node:not(.is-revealed),
.example-panel.is-generating .graph-edge:not(.is-revealed) {
  opacity: 0;
}
.outcome-control > div > .mono {
  font-size: 9px;
  color: var(--muted);
}
.outcome-control > div > p {
  margin: 7px 0 0;
  font-size: 10px;
  color: #7b866e;
}
.approval-heading .approval-context {
  color: #bfc9b6;
  font-size: 16px;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 0 25px;
}
.approval-heading h2 {
  margin-bottom: 0;
}
.review-questions {
  padding: 0;
  margin: 25px 0;
  list-style: none;
}
.review-questions li {
  padding: 12px 0;
  border-top: 1px solid #46523d;
  font-size: 13px;
  line-height: 1.6;
}
.review-questions li::before {
  content: "↳";
  color: var(--lime);
  margin-right: 10px;
}
.coverage-note {
  margin: 18px 20px 0;
  padding-left: 12px;
  border-left: 2px solid #81906e;
}
.coverage-note .mono {
  color: #b6c6a6;
  font-size: 8px;
}
.coverage-note p {
  color: #aeba9f;
  font-size: 10px;
  line-height: 1.7;
  margin: 6px 0 0;
}
.evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin-top: 42px;
  padding-top: 27px;
  border-top: 1px solid #47533d;
}
.evidence-pair .mono {
  color: #a4b196;
  font-size: 9px;
}
.evidence-pair h3 {
  font-size: 20px;
  margin: 12px 0;
}
.evidence-pair p {
  color: #b3bdae;
  font-size: 12px;
  line-height: 1.8;
  max-width: 420px;
  margin: 0;
}
.direction-strip {
  margin-top: 28px;
  padding-top: 23px;
}
.direction-strip p {
  font-size: 13px;
}
@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 1100px) {
  .workflow-graph {
    gap: 54px 26px;
  }
  .graph-node {
    padding: 12px;
  }
  .node-kind {
    font-size: 9px;
  }
  .graph-node > strong {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .workflow-graph {
    grid-template-columns: minmax(0, 1fr) 120px;
    grid-template-areas: "event ." "amount amountEnd" "notify ." "wait ." "read ." "status resolvedEnd" "escalate ." "finalEnd .";
    grid-auto-rows: auto;
    gap: 37px 34px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }
  .graph-node {
    padding: 17px;
    min-height: 115px;
  }
  .node-kind {
    font-size: 10px;
  }
  .graph-node > strong {
    font-size: 14px;
  }
  .graph-node > small {
    font-size: 10px;
  }
  .terminal-node {
    min-height: 0;
    padding: 13px 9px;
  }
  .terminal-node > strong {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .prompt-area {
    padding: 19px 18px 0;
  }
  .prompt-toolbar {
    padding: 12px 12px;
    gap: 7px;
  }
  .prompt-toolbar > .mono {
    font-size: 8px;
    letter-spacing: 0;
    gap: 7px;
  }
  .prompt-agent-icon {
    font-size: 19px;
  }
  .replay-button {
    font-size: 8px;
    padding-left: 5px;
  }
  .replay-button span {
    margin-right: 0;
  }
  .prompt-copy {
    margin: 19px 15px 17px;
    font-size: 16px;
    line-height: 1.7;
  }
  .prompt-footer {
    padding: 0 15px 14px;
    font-size: 8px;
    gap: 7px;
  }
  .creation-bridge {
    min-height: 100px;
  }
  .creation-bridge strong {
    font-size: 11px;
  }
  .workflow {
    padding-top: 14px;
  }
  .workflow-head {
    flex-direction: row;
    align-items: flex-start;
  }
  .workflow-head > div > strong {
    font-size: 13px;
    line-height: 1.5;
  }
  .workflow-head .pill {
    font-size: 8px;
    padding: 6px;
    max-width: 110px;
    white-space: normal;
    line-height: 1.5;
  }
  .workflow-graph {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 35px 26px;
    margin-top: 27px;
  }
  .graph-node {
    padding: 14px 12px;
    min-height: 124px;
  }
  .node-top {
    margin-bottom: 16px;
    gap: 5px;
  }
  .node-kind {
    font-size: 9px;
  }
  .node-number {
    font-size: 8px;
  }
  .graph-node > strong {
    font-size: 13px;
  }
  .graph-node > small {
    font-size: 9px;
  }
  .terminal-node {
    padding: 12px 8px;
    min-height: 0;
  }
  .terminal-node > strong {
    font-size: 10px;
  }
  .graph-edge > text {
    font-size: 9px;
  }
  .outcome-control {
    gap: 17px;
  }
  .outcome-control > div > .mono {
    font-size: 8px;
  }
  .outcome-control > div > p {
    font-size: 9px;
  }
  .approval-heading .approval-context {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .review-questions li {
    font-size: 12px;
  }
  .coverage-note {
    margin: 17px 14px 0;
  }
  .coverage-note p {
    font-size: 9px;
  }
  .evidence-pair {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
    padding-top: 24px;
  }
  .evidence-pair h3 {
    font-size: 19px;
  }
  .evidence-pair p {
    font-size: 12px;
  }
  .direction-strip p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-cursor {
    animation: none;
  }
  .graph-node,
  .graph-edge,
  .workflow-head .pill {
    transition: none;
  }
}
