:root {
  color-scheme: light;
  --paper: #efeee1;
  --surface: #fffefa;
  --ink: #252b25;
  --muted: #70776d;
  --line: #d9dbce;
  --green: #155724;
  --green-soft: #e8f0e4;
  --red: #a74636;
  --red-soft: #f7e8e2;
  --gold: #a87521;
  --gold-soft: #f5efd9;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "Manrope", "Trebuchet MS", sans-serif;
  --serif: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button { font: inherit; }
.topbar { display: flex; height: 66px; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 6vw, 84px); border-bottom: 1px solid #d8dace; background: var(--surface); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { display: block; width: 148px; height: auto; }
.account-area { display: flex; align-items: center; gap: 15px; }
.account-label { color: var(--muted); font-size: 12px; }
.quiet-button { min-height: 35px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.quiet-button:hover { border-color: var(--green); background: var(--green-soft); }
.shell { width: min(100% - 40px, 1000px); margin: 0 auto; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 62px 0 30px; animation: arrive .45s ease-out both; }
.eyebrow { margin: 0 0 13px; color: var(--green); font: 500 10px var(--mono); }
.eyebrow span { padding: 0 5px; color: #9a9d8e; }
h1 { margin: 0; font: 600 38px/1.16 var(--serif); }
.subtitle { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.run-control { display: grid; justify-items: end; gap: 8px; }
.run-caption { color: var(--muted); font: 10px var(--mono); }
.run-button { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 17px; border: 0; border-radius: 3px; background: var(--green); color: white; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.run-button:hover:not(:disabled) { transform: translateY(-1px); background: #0f4522; }
.run-button:disabled { background: #a8b4a8; cursor: not-allowed; }
.run-button span { font-size: 9px; }
.workflow { display: flex; max-width: 780px; flex-direction: column; margin: 0 auto; animation: arrive .55s .08s ease-out both; }
.step { position: relative; display: grid; min-height: 126px; grid-template-columns: 40px 1fr 18px; gap: 13px; align-items: start; padding: 21px 19px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); box-shadow: 0 3px 11px rgba(35, 51, 35, .035); transition: border-color .2s ease, box-shadow .2s ease; }
.step[data-state="RUNNING"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(168, 117, 33, .13); }
.step[data-state="SUCCEEDED"], .step[data-state="SKIPPED"] { border-color: #b8cbb3; }
.step[data-state="FAILED"] { border-color: #dfaaa0; }
.step-index { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #70776d; font: 10px var(--mono); }
[data-state="RUNNING"] .step-index { border-color: var(--gold); background: var(--gold-soft); color: #815a19; }
[data-state="SUCCEEDED"] .step-index, [data-state="SKIPPED"] .step-index { border-color: #bfd0ba; background: var(--green-soft); color: var(--green); }
[data-state="FAILED"] .step-index { border-color: #e3beb5; background: var(--red-soft); color: var(--red); }
.step-heading { display: flex; min-height: 25px; align-items: start; justify-content: space-between; gap: 7px; }
.step h2 { margin: 1px 0 0; font-size: 14px; font-weight: 700; }
.step p { margin: 11px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.step-meta { padding-top: 10px; border-top: 1px solid #ecece3; color: #778071; font: 9px var(--mono); }
.status { flex: 0 0 auto; padding: 4px 6px; border-radius: 2px; background: #f0f0e9; color: #687065; font: 9px var(--mono); }
[data-state="RUNNING"] .status { background: var(--gold-soft); color: #815a19; }
[data-state="SUCCEEDED"] .status, [data-state="SKIPPED"] .status { background: var(--green-soft); color: var(--green); }
[data-state="FAILED"] .status { background: var(--red-soft); color: var(--red); }
.step-indicator { display: grid; width: 18px; height: 18px; place-items: center; margin-top: 2px; border: 1px solid var(--line); border-radius: 50%; }
.step-indicator span { width: 6px; height: 6px; border-radius: 50%; background: #cdd2c7; }
[data-state="RUNNING"] .step-indicator { border-color: var(--gold); }
[data-state="RUNNING"] .step-indicator span { background: var(--gold); animation: pulse 1.1s ease-in-out infinite; }
[data-state="SUCCEEDED"] .step-indicator, [data-state="SKIPPED"] .step-indicator { border-color: var(--green); background: var(--green); }
[data-state="SUCCEEDED"] .step-indicator span { width: 8px; height: 4px; border: solid white; border-width: 0 0 1.5px 1.5px; border-radius: 0; background: transparent; transform: rotate(-45deg) translate(1px, -1px); }
[data-state="SKIPPED"] .step-indicator span { width: 8px; height: 1px; border-radius: 0; background: white; }
[data-state="FAILED"] .step-indicator { border-color: var(--red); background: var(--red); }
[data-state="FAILED"] .step-indicator span { position: relative; width: 8px; height: 1px; border-radius: 0; background: white; transform: rotate(45deg); }
[data-state="FAILED"] .step-indicator span::after { position: absolute; width: 8px; height: 1px; background: white; content: ""; transform: rotate(90deg); }
.connector { position: relative; display: flex; height: 30px; align-items: center; justify-content: center; }
.connector::before { width: 1px; height: 100%; border-left: 1px solid #bfc5b6; content: ""; }
.connector span { position: absolute; right: auto; bottom: 7px; width: 7px; height: 7px; border-top: 1px solid var(--green); border-right: 1px solid var(--green); transform: rotate(135deg); }
.feedback { margin-top: 23px; padding: 17px 19px; border-left: 3px solid var(--green); background: var(--surface); animation: arrive .3s ease-out both; }
.feedback[data-state="FAILED"] { border-color: var(--red); }
.feedback[data-state="RUNNING"] { border-color: var(--gold); }
.feedback-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.feedback p { margin: 9px 0 0; font-size: 12px; line-height: 1.55; }
.feedback pre { overflow: auto; max-height: 220px; margin: 12px 0 0; padding: 12px; border-radius: 2px; background: #f7eee9; color: #863b30; font: 10px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding: 15px 0 22px; border-top: 1px solid #d5d7ca; color: #72796e; font: 9px var(--mono); }
[hidden] { display: none !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.72); } }
@media (max-width: 720px) {
  .topbar { height: 60px; padding: 0 17px; }
  .account-area { gap: 8px; }
  .account-label { display: none; }
  .shell { width: min(100% - 32px, 520px); }
  .heading-row { align-items: start; flex-direction: column; gap: 22px; padding: 41px 0 24px; }
  h1 { font-size: 32px; }
  .run-control { width: 100%; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .run-button { grid-column: 2; grid-row: 1; }
  .run-caption { grid-column: 1; grid-row: 1; }
  .step { min-height: 130px; padding: 18px 16px; }
  .page-footer { margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
