@font-face {
  font-family: Geist;
  src: url('./fonts/geist-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101012;
  --sidebar: #0c0c0e;
  --surface: #151517;
  --raised: #1d1d20;
  --hover: #222225;
  --border: #29292d;
  --subtle: #212124;
  --text: #ededf0;
  --muted: #9b9ba3;
  --quiet: #93939b;
  --accent: #b8b5fb;
  --accent-bg: #262438;
  --success: #64c998;
  --error: #f08585;
  --warning: #d7b467;
  --primary: #ededf0;
  --on-primary: #161618;
  --focus: #aaa3ff;
  font:
    14px/1.5 Geist,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #fff;
  --sidebar: #f8f8f8;
  --surface: #fafafa;
  --raised: #f3f3f5;
  --hover: #ececee;
  --border: #dedee3;
  --subtle: #ededf0;
  --text: #202023;
  --muted: #62626c;
  --quiet: #65656f;
  --accent: #6259bc;
  --accent-bg: #efedfc;
  --success: #237c53;
  --error: #bb3434;
  --warning: #876017;
  --primary: #232326;
  --on-primary: #fff;
  --focus: #7565d2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.25;
  font-weight: 550;
}
h2 {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.15px;
}
h3 {
  font-size: 13px;
  font-weight: 550;
}
p {
  line-height: 1.6;
}
strong {
  font-weight: 550;
}
.icon {
  width: 17px;
  height: 17px;
  display: block;
  flex: none;
}
[data-icon] {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
}
.muted {
  color: var(--muted);
}
.mono,
code,
pre,
kbd {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
}
code {
  font-size: 0.9em;
}
kbd {
  font-size: 10px;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
}
button,
a {
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
button:hover,
a:hover {
  color: var(--text);
}
.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-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 30;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  padding: 8px 12px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: var(--hover);
  border-color: var(--quiet);
}
.button.primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.button.primary:hover {
  opacity: 0.88;
  color: var(--on-primary);
}
.button.quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.button.quiet:hover {
  background: var(--hover);
  color: var(--text);
}
.button.small {
  padding: 6px 10px;
  min-height: 30px;
  font-size: 11px;
}
.button .icon {
  width: 14px;
  height: 14px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  color: var(--muted);
  flex: none;
}
.icon-button:hover {
  background: var(--hover);
  color: var(--text);
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.text-link:hover,
.text-button:hover {
  color: var(--accent);
}
.text-link .icon,
.text-button .icon {
  width: 14px;
  height: 14px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: var(--sidebar);
  padding: 25px 16px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--subtle);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.6px;
  padding: 0 8px;
  margin-bottom: 32px;
}
.brand .icon {
  width: 27px;
  height: 27px;
}
.workspace-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.workspace-identity:hover {
  background: var(--hover);
}
.workspace-identity > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.workspace-identity strong {
  display: block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-identity small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.workspace-identity > [data-icon] {
  color: var(--quiet);
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  flex: none;
}
.search-launch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: var(--muted);
  border: 1px solid var(--subtle);
  background: transparent;
  border-radius: 5px;
  font-size: 11px;
  text-align: left;
  margin-bottom: 28px;
}
.search-launch .icon {
  width: 14px;
  height: 14px;
}
.search-launch kbd {
  margin-left: auto;
}
.search-launch:hover {
  background: var(--hover);
}
.nav-label {
  font-size: 11px;
  color: var(--quiet);
  padding: 0 10px;
  margin-bottom: 9px;
}
.main-nav {
  display: grid;
  gap: 3px;
}
.main-nav a,
.new-project-nav,
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 5px;
}
.main-nav a:hover,
.new-project-nav:hover,
.sidebar-bottom > a:hover {
  background: var(--raised);
  color: var(--text);
}
.main-nav a[aria-current='page'] {
  background: var(--raised);
  color: var(--text);
}
.new-project-nav[aria-current='page'] {
  background: var(--raised);
  color: var(--text);
}
.mobile-resources {
  display: grid;
  gap: 12px;
  padding: 16px 4px 4px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}
.mobile-resources > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
}
.main-nav .icon,
.new-project-nav .icon,
.sidebar-bottom .icon {
  width: 15px;
  height: 15px;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.new-project-nav {
  margin-top: 14px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.sidebar-bottom > a > [data-icon]:last-child {
  margin-left: auto;
  color: var(--quiet);
}
.sidebar-bottom > a > [data-icon]:last-child .icon {
  width: 12px;
  height: 12px;
}
.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--subtle);
  margin-top: 18px;
  padding: 13px 2px 0;
}
.tiny-brand {
  font-size: 10px;
  color: var(--quiet);
}
.app-shell {
  margin-left: 224px;
  min-height: 100vh;
}
.topbar {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--subtle);
}
.breadcrumbs,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.breadcrumbs > span:first-of-type {
  color: var(--muted);
}
.slash {
  color: var(--quiet);
}
.public-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.public-label .icon {
  width: 13px;
  height: 13px;
}
.topbar-actions {
  gap: 17px;
}
#mobile-menu {
  display: none;
}
main {
  padding: 39px 40px 0;
  max-width: 1480px;
  margin: auto;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.workspace-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 29px;
}
.workspace-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.workspace-meta strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.workspace-meta .icon {
  width: 14px;
  height: 14px;
  color: var(--quiet);
}
.workspace-meta > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.workspace-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.graph-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.graph-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--subtle);
}
.graph-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.graph-heading > [data-icon] {
  color: var(--muted);
}
.graph-heading h2 {
  font-size: 12px;
  white-space: nowrap;
}
.separator {
  color: var(--quiet);
}
.quiet-select {
  max-width: 260px;
  min-width: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 4px 24px 4px 0;
  font-size: 12px;
  cursor: pointer;
  text-overflow: ellipsis;
}
.quiet-select option {
  background: var(--surface);
  color: var(--text);
}
.graph-subbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 19px 0;
  font-size: 10px;
}
.graph-subbar .mono {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.graph-declaration {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--quiet);
  white-space: nowrap;
}
.legend-line {
  width: 17px;
  border-top: 1px solid var(--quiet);
}
.graph-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  min-height: 260px;
}
.graph-inner {
  position: relative;
  margin: 0 auto;
  isolation: isolate;
}
.graph-inner > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.edge {
  fill: none;
  stroke: var(--quiet);
  stroke-width: 1.2;
  opacity: 0.55;
}
.edge.control {
  stroke-dasharray: 3 4;
  opacity: 0.45;
}
.edge.selected {
  stroke: var(--accent);
  opacity: 1;
  stroke-width: 1.6;
}
.job-node {
  position: absolute;
  width: 154px;
  height: 64px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 7px;
  text-align: left;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px #0001;
}
.job-node > .icon {
  color: var(--muted);
  width: 17px;
  height: 17px;
}
.job-node span {
  min-width: 0;
}
.job-node strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font:
    12px 'Geist Mono',
    monospace;
  color: var(--text);
}
.job-node small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.job-node:hover {
  border-color: var(--quiet);
  background: var(--raised);
}
.job-node[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.job-node[aria-pressed='true'] > .icon {
  color: var(--accent);
}
.graph-loading {
  height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.graph-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--subtle);
  font-size: 10px;
  color: var(--muted);
}
.graph-bottom > span,
.graph-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.graph-bottom .icon {
  width: 12px;
  height: 12px;
}
.graph-bottom > a {
  white-space: nowrap;
}
.job-inspector {
  border-top: 1px solid var(--subtle);
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 20px;
  font-size: 11px;
  background: var(--bg);
}
.job-inspector h3 {
  font:
    12px 'Geist Mono',
    monospace;
  margin-bottom: 7px;
}
.job-inspector dt {
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 10px;
}
.job-inspector dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.job-inspector dl {
  margin: 0;
}
.job-inspector ul {
  margin: 0;
  padding-left: 15px;
  max-height: 90px;
  overflow: auto;
  color: var(--muted);
}
.job-inspector .job-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.job-inspector .job-summary > span {
  color: var(--muted);
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.list-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 9px;
  width: 217px;
  min-height: 31px;
  color: var(--muted);
  background: var(--bg);
}
.search-input .icon {
  width: 14px;
  height: 14px;
}
.search-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  padding: 0;
  outline: none;
}
.search-input:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.search-input kbd {
  border: 1px solid var(--border);
  padding: 0 4px;
  line-height: 16px;
}
.table-wrap {
  overflow: auto;
  overscroll-behavior-x: contain;
}
.workflow-table,
.run-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.workflow-table th,
.run-table th {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  padding: 0 15px 11px;
}
.workflow-table td,
.run-table td {
  padding: 16px 15px;
  border-bottom: 1px solid var(--subtle);
  vertical-align: middle;
}
.workflow-table th:first-child,
.workflow-table td:first-child,
.run-table th:first-child,
.run-table td:first-child {
  padding-left: 0;
}
.workflow-table th:last-child,
.workflow-table td:last-child,
.run-table th:last-child,
.run-table td:last-child {
  padding-right: 0;
}
.workflow-table tr:hover td,
.run-table tr:hover td {
  background: var(--surface);
}
.workflow-name {
  display: flex;
  align-items: center;
  gap: 13px;
}
.workflow-name > .icon {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.workflow-name strong {
  display: block;
  font-size: 12px;
}
.workflow-name code {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  margin-top: 4px;
}
.workflow-name a:hover strong {
  color: var(--accent);
}
.workflow-table td:first-child {
  width: 44%;
}
.target-cell {
  color: var(--muted);
  font-size: 11px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  white-space: nowrap;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--quiet);
  flex: none;
}
.status.success {
  color: var(--success);
}
.status.success .status-dot {
  background: var(--success);
}
.status.error {
  color: var(--error);
}
.status.error .status-dot {
  background: var(--error);
}
.status.active {
  color: var(--accent);
}
.status.active .status-dot {
  background: var(--accent);
}
.status.warning {
  color: var(--warning);
}
.status.warning .status-dot {
  background: var(--warning);
}
.status.neutral {
  color: var(--muted);
}
.align-right {
  text-align: right;
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.row-actions .icon-button {
  width: 28px;
  height: 28px;
}
.row-actions .icon {
  width: 14px;
  height: 14px;
}
.loading-cell,
.empty-cell {
  color: var(--muted);
  text-align: center !important;
  padding: 32px !important;
}
.empty-cell strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 8px;
}
.empty-cell button {
  margin-top: 14px;
}
.connect-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 23px 0 4px;
  border-top: 1px solid var(--subtle);
}
.connect-mark {
  color: var(--muted);
  width: 35px;
  flex: none;
}
.connect-mark .icon {
  width: 24px;
  height: 24px;
}
.connect-strip h2 {
  font-size: 12px;
  font-weight: 500;
}
.connect-strip p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.connect-strip > a {
  margin-left: auto;
  white-space: nowrap;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 20px;
  color: var(--quiet);
  font-size: 10px;
}
.page-footer > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 24px;
  color: var(--muted);
}
.notice p {
  flex: 1;
}
.view-workflows .connect-strip {
  display: none;
}
.run-title {
  font-size: 12px;
  font-weight: 500;
}
.run-meta {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.run-table th:first-child {
  width: 50%;
}
.run-table .mono {
  font-size: 10px;
}
.run-table time {
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}
#runs-view > .text-link {
  margin-top: 22px;
}
.empty-state {
  padding: 75px 20px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
}
.empty-state > .icon {
  width: 26px;
  height: 26px;
  margin: 0 auto 18px;
  color: var(--quiet);
}
.empty-state h2 {
  font-size: 16px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  font-size: 12px;
  max-width: 380px;
  margin: auto;
}
.empty-state .button {
  margin-top: 22px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.back-link .icon {
  width: 13px;
  height: 13px;
}
.draft-label {
  color: var(--muted);
  display: flex;
  gap: 7px;
  font-size: 11px;
  align-items: center;
}
.draft-label .icon {
  width: 14px;
  height: 14px;
}
.setup-steps {
  border-bottom: 1px solid var(--border);
  margin: 32px 0 40px;
}
.setup-steps ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 32px;
}
.setup-steps a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--quiet);
  font-size: 12px;
  padding: 0 0 18px;
  position: relative;
}
.setup-steps a > span {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.setup-steps a[aria-current='step'] {
  color: var(--text);
}
.setup-steps a[aria-current='step'] > span {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.setup-steps a[aria-current='step']:after {
  content: '';
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
}
.setup-steps a.complete {
  color: var(--muted);
}
.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 64px;
  max-width: 990px;
}
.setup-layout form {
  min-width: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  padding: 0;
}
.step-description {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 29px;
}
.field {
  margin-bottom: 23px;
}
.field > label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
.field > label .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.field-context {
  margin-left: auto;
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
input,
select,
textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 11px;
  max-width: 100%;
}
.field > input,
.field > select,
.field > textarea {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.55;
}
.field > input:hover,
.field > select:hover,
.field > textarea:hover {
  border-color: var(--quiet);
}
input::placeholder,
textarea::placeholder {
  color: var(--quiet);
  opacity: 1;
}
.field > textarea {
  font:
    12px/1.8 'Geist Mono',
    monospace;
  resize: vertical;
  min-height: 105px;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}
.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 7px;
}
.field > [aria-invalid='true'] {
  border-color: var(--error);
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 25px;
  margin-top: 26px;
  border-top: 1px solid var(--subtle);
}
.wizard-actions .button {
  min-height: 36px;
}
.wizard-actions > .primary {
  margin-left: auto;
}
.draft-summary {
  align-self: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  margin-top: 4px;
}
.draft-header {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--subtle);
  font-size: 11px;
  color: var(--muted);
}
.draft-header .icon {
  width: 14px;
  height: 14px;
}
.draft-route {
  padding: 27px 22px;
}
.route-stop {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.route-stop > div {
  min-width: 0;
}
.route-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
  flex: none;
  color: var(--muted);
}
.route-icon .icon {
  width: 15px;
  height: 15px;
}
.route-stop small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}
.route-stop strong {
  font-size: 11px;
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.route-connector {
  height: 54px;
  border-left: 1px solid var(--border);
  margin-left: 15px;
  padding-left: 25px;
  display: flex;
  align-items: center;
  font:
    9px 'Geist Mono',
    monospace;
  color: var(--quiet);
}
.draft-footer {
  padding: 13px 17px;
  border-top: 1px solid var(--subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.draft-footer .icon {
  width: 13px;
  height: 13px;
}
.draft-footer code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.draft-caption {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 17px;
  border-top: 1px solid var(--subtle);
}
.delivery-options {
  display: grid;
  gap: 10px;
  margin-bottom: 25px;
}
.delivery-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  background: var(--bg);
}
.delivery-option:hover {
  background: var(--surface);
  border-color: var(--quiet);
}
.delivery-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.delivery-option > input {
  accent-color: var(--accent);
  margin: 0;
  width: 14px;
  height: 14px;
  flex: none;
}
.delivery-option .icon {
  color: var(--muted);
}
.delivery-option strong {
  display: block;
  font-size: 12px;
}
.delivery-option small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.inline-note {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.inline-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.review-heading h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 500;
}
.review-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 32px;
}
.code-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
}
.code-toolbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  min-width: 0;
}
.code-toolbar > span .mono {
  overflow-wrap: anywhere;
}
.code-toolbar .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
pre {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
  padding: 20px 20px 26px;
  max-height: 540px;
  overflow: auto;
  tab-size: 2;
  counter-reset: line;
}
.code-line {
  display: inline-block;
  min-width: 100%;
  vertical-align: top;
  min-height: 1.9em;
}
.code-line:before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  width: 25px;
  margin-right: 18px;
  text-align: right;
  color: var(--quiet);
  user-select: none;
}
.yaml-key {
  color: var(--accent);
}
.yaml-comment {
  color: var(--quiet);
}
.code-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 17px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}
.code-footer .text-button {
  font-size: 10px;
}
.review-next h3 {
  margin-bottom: 8px;
}
.review-next > p {
  font-size: 11px;
}
.credential-group {
  margin: 20px 0;
}
.credential-group h4 {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 9px;
}
.credential-group code {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
  padding: 5px 0;
}
.review-next .text-link {
  font-size: 11px;
}
.next-run {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 22px;
}
.next-run p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.review-next > .button {
  display: flex;
  width: 100%;
  font-size: 11px;
}
.review-next > .field-help {
  font-size: 10px;
}
.review-next > a:last-child {
  margin-top: 20px;
}
#wizard-error:empty {
  display: none;
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 16px 70px #0006;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #0008;
}
#command-dialog {
  width: min(560px, calc(100vw - 32px));
  margin: 15vh auto auto;
  max-height: 70vh;
  overflow: hidden;
}
.command-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.command-search input {
  width: 100%;
  min-width: 0;
  outline: none;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 13px;
}
.command-results {
  padding: 7px;
  max-height: 45vh;
  overflow: auto;
}
.command-group-label {
  font-size: 10px;
  color: var(--quiet);
  padding: 9px 10px;
}
.command-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 5px;
  font-size: 12px;
}
.command-result:hover,
.command-result:focus-visible {
  background: var(--raised);
}
.command-result > .icon {
  color: var(--muted);
  width: 15px;
  height: 15px;
}
.command-result small {
  color: var(--quiet);
  font-size: 10px;
  margin-left: auto;
}
.command-footer {
  border-top: 1px solid var(--border);
  display: flex;
  gap: 17px;
  padding: 10px 17px;
  font-size: 10px;
  color: var(--quiet);
}
#mobile-dialog {
  margin: 12px;
  width: calc(100vw - 24px);
  max-width: 350px;
}
.mobile-nav-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}
#mobile-dialog nav {
  padding: 10px;
}
#mobile-dialog nav a {
  display: block;
  padding: 12px;
  border-radius: 5px;
}
#mobile-dialog nav a:hover {
  background: var(--raised);
}
.toast {
  position: fixed;
  z-index: 30;
  bottom: 26px;
  left: calc(50% + 112px);
  transform: translateX(-50%);
  background: var(--raised);
  border: 1px solid var(--border);
  box-shadow: 0 3px 16px #0003;
  border-radius: 8px;
  padding: 12px 17px;
  max-width: calc(100vw - 30px);
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.toast .icon {
  width: 15px;
  height: 15px;
  color: var(--success);
}
.noscript {
  position: fixed;
  bottom: 0;
  background: var(--surface);
  padding: 20px;
  width: 100%;
  z-index: 20;
}
@media (min-width: 1700px) {
  main {
    padding-top: 48px;
  }
  .graph-viewport {
    padding: 12px 0;
  }
  .workspace-body {
    gap: 38px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding-inline: 12px;
  }
  .app-shell {
    margin-left: 200px;
  }
  main {
    padding: 30px 26px 0;
  }
  .topbar {
    padding-inline: 26px;
  }
  .graph-heading h2,
  .graph-heading .separator {
    display: none;
  }
  .workspace-meta {
    gap: 18px;
  }
  .setup-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 30px;
  }
  .review-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 22px;
  }
  .toast {
    left: calc(50% + 100px);
  }
}
@media (max-width: 850px) {
  .sidebar {
    display: none;
  }
  .app-shell {
    margin-left: 0;
  }
  #mobile-menu {
    display: inline-flex;
  }
  .topbar {
    padding: 0 20px;
  }
  .breadcrumbs {
    gap: 12px;
  }
  main {
    padding: 28px 24px 0;
  }
  .graph-heading h2,
  .graph-heading .separator {
    display: block;
  }
  .toast {
    left: 50%;
  }
  .setup-layout {
    gap: 32px;
  }
  .page-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 600px) {
  main {
    padding: 26px 18px 0;
  }
  .topbar {
    padding: 0 12px;
    height: 53px;
  }
  .public-label {
    display: none;
  }
  .topbar-actions {
    gap: 6px;
  }
  .breadcrumbs {
    font-size: 11px;
  }
  .page-heading {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .page-heading .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .page-heading .button .icon {
    width: 13px;
  }
  h1 {
    font-size: 24px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 240px;
  }
  .workspace-meta {
    gap: 12px;
    font-size: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .workspace-meta > .meta-branch {
    display: none;
  }
  .workspace-meta > a {
    margin-left: 0;
  }
  .workspace-meta .icon {
    width: 12px;
    height: 12px;
  }
  .graph-toolbar {
    padding: 12px;
    align-items: flex-start;
  }
  .graph-heading {
    gap: 6px;
    flex-wrap: wrap;
  }
  .graph-heading h2 {
    font-size: 11px;
  }
  .graph-heading .separator,
  .graph-heading > [data-icon] {
    display: none;
  }
  .quiet-select {
    padding-left: 0;
    font-size: 16px;
    min-height: 44px;
    max-width: 150px;
  }
  .graph-toolbar > .button {
    font-size: 10px;
    gap: 5px;
    min-height: 44px;
  }
  .graph-toolbar > .button > [data-icon]:last-child {
    display: none;
  }
  .graph-subbar {
    padding: 10px 12px 0;
    display: block;
  }
  .graph-declaration {
    display: none;
  }
  .graph-bottom {
    padding: 12px;
    font-size: 10px;
    align-items: flex-start;
  }
  .graph-bottom > span {
    max-width: 200px;
    align-items: flex-start;
  }
  .graph-bottom .icon {
    flex: none;
    margin-top: 2px;
  }
  .job-inspector {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 16px;
  }
  .job-inspector > div:last-child {
    grid-column: 1/-1;
  }
  .list-heading {
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .list-heading h2 {
    font-size: 13px;
  }
  .list-tools {
    flex: 1;
    max-width: 200px;
  }
  .search-input {
    width: 100%;
    min-height: 44px;
  }
  .search-input input {
    font-size: 16px;
    height: 26px;
  }
  .search-input kbd {
    display: none;
  }
  .workflow-table th,
  .workflow-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .workflow-table th:nth-child(2),
  .workflow-table td:nth-child(2) {
    display: none;
  }
  .workflow-name {
    gap: 8px;
  }
  .workflow-name > .icon {
    display: none;
  }
  .workflow-name strong {
    font-size: 11px;
  }
  .workflow-name code {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
  }
  .workflow-table .status {
    font-size: 10px;
    gap: 5px;
  }
  .row-actions .icon-button {
    width: 44px;
    height: 44px;
  }
  .row-actions a:first-child {
    display: none;
  }
  .connect-strip {
    flex-wrap: wrap;
    gap: 10px;
  }
  .connect-mark {
    width: 25px;
  }
  .connect-strip > div:nth-child(2) {
    flex: 1;
  }
  .connect-strip p {
    font-size: 11px;
  }
  .connect-strip > a {
    margin: 8px 0 0 35px;
    min-height: 44px;
  }
  .page-footer {
    font-size: 10px;
    padding-top: 26px;
    line-height: 1.6;
  }
  .setup-steps {
    margin: 26px 0 28px;
  }
  .setup-steps ol {
    justify-content: space-between;
    gap: 10px;
  }
  .setup-steps a {
    font-size: 10px;
    gap: 6px;
    padding-bottom: 14px;
    min-height: 44px;
  }
  .setup-steps a > span {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .setup-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .draft-summary {
    width: 100%;
    margin-top: 0;
  }
  .draft-route {
    padding: 20px;
  }
  .draft-caption {
    font-size: 12px;
  }
  .field > input,
  .field > select,
  .field > textarea {
    font-size: 16px;
  }
  .field > textarea {
    min-height: 130px;
  }
  .field > label {
    font-size: 13px;
  }
  .field-help {
    font-size: 12px;
  }
  .delivery-option {
    padding: 16px 12px;
    gap: 10px;
  }
  .delivery-option strong {
    font-size: 13px;
  }
  .delivery-option small {
    font-size: 12px;
  }
  .draft-label {
    display: none;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-heading {
    display: block;
  }
  .review-heading > .button {
    margin: 12px 0 0 -10px;
  }
  .review-next {
    padding-top: 7px;
  }
  .review-next > p,
  .next-run p {
    font-size: 12px;
  }
  .credential-group code {
    font-size: 12px;
  }
  .review-next > .button {
    min-height: 44px;
  }
  .review-next > .field-help {
    font-size: 11px;
  }
  .code-toolbar {
    padding: 10px;
  }
  .code-toolbar > span {
    font-size: 9px;
  }
  pre {
    padding: 15px 8px;
    max-height: 380px;
    font-size: 10px;
  }
  .code-line:before {
    width: 20px;
    margin-right: 12px;
  }
  .code-footer .text-button {
    min-height: 44px;
  }
  .wizard-actions .button,
  .button,
  .icon-button {
    min-height: 44px;
  }
  .icon-button {
    min-width: 44px;
  }
  .run-table th:nth-child(3),
  .run-table td:nth-child(3) {
    display: none;
  }
  .run-table th,
  .run-table td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .run-title {
    font-size: 11px;
  }
  .run-table time {
    font-size: 10px;
  }
  .command-search input {
    font-size: 16px;
  }
  .command-result {
    min-height: 44px;
  }
  .toast {
    font-size: 12px;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
