:root {
  color-scheme: dark;
  --ink: #f5efe5;
  --muted: #9b9995;
  --dim: #666663;
  --surface: #141615;
  --raised: #1a1d1b;
  --panel: #202320;
  --line: rgba(255, 255, 255, 0.09);
  --amber: #d8a64c;
  --amber-soft: rgba(216, 166, 76, 0.14);
  --green: #7fb487;
  --red: #d56f63;
  --blue: #7199b5;
  --radius: 14px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0d0f0e;
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body, #taskboard-root { width: 100%; min-height: 100%; margin: 0; }
body { background: radial-gradient(circle at 76% 12%, rgba(216, 166, 76, 0.07), transparent 28rem), #0d0f0e; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}
.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; }
.muted, .field-help, .empty-copy { color: var(--muted); }
.loading-copy { color: var(--muted); }
.detail-error { display: grid; gap: 9px; padding: 11px; color: #e4aaa3; background: rgba(213,111,99,.08); border: 1px solid rgba(213,111,99,.22); border-radius: 7px; }
.detail-error p { margin: 0; word-break: break-word; }
.detail-error button { justify-self: start; }
.eyebrow { margin: 0 0 8px; color: var(--amber); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
.brand-block { padding: clamp(48px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.brand-block h1 { max-width: 700px; margin: 28px 0 16px; font-family: Georgia, serif; font-size: clamp(54px, 8vw, 108px); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.login-lede { max-width: 600px; color: #c8c3ba; font-size: clamp(18px, 2vw, 24px); line-height: 1.5; }
.brand-mark { width: 72px; height: 72px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border: 1px solid var(--amber); color: var(--amber); }
.brand-mark span { display: grid; place-items: center; height: 100%; border-right: 1px solid rgba(216,166,76,.35); font-family: Georgia, serif; }
.brand-mark span:last-child { border: 0; }
.brand-mark.small { width: 42px; height: 42px; font-size: 11px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 850px; margin-top: 56px; }
.principles article { display: flex; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.principles article > span { color: var(--amber); font-family: ui-monospace, monospace; font-size: 11px; }
.principles strong { display: block; margin-bottom: 7px; }
.principles p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-card { align-self: center; margin: 48px; padding: 40px; background: rgba(26,29,27,.92); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 32px 80px rgba(0,0,0,.3); }
.login-card h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 36px; font-weight: 400; }
.login-card .muted { line-height: 1.55; }
.field-label { display: grid; gap: 9px; margin-top: 30px; font-size: 13px; font-weight: 700; }
.key-input, .filters input, .filters select, textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #0f1110; border: 1px solid #333733; border-radius: 7px; }
.field-help { margin: 8px 0 22px; font-size: 12px; }

.primary-button, .secondary-button, .ghost-button, .icon-button, .drawer-close { min-height: 42px; padding: 0 18px; border-radius: 7px; border: 1px solid transparent; cursor: pointer; font-weight: 750; }
.primary-button { width: 100%; background: var(--amber); color: #17140d; }
.primary-button:hover { background: #e7b75b; }
.secondary-button { background: #242824; border-color: var(--line); }
.secondary-button:hover, .ghost-button:hover { border-color: rgba(216,166,76,.45); }
.ghost-button, .icon-button, .drawer-close { background: transparent; border-color: var(--line); }
.compact { width: auto; min-height: 36px; padding: 0 13px; font-size: 12px; }
button:disabled { opacity: .42; cursor: not-allowed; }
button:active:not(:disabled) { transform: translateY(1px); }

.workspace { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px; border-right: 1px solid var(--line); background: rgba(15,17,16,.94); backdrop-filter: blur(18px); overflow-y: auto; }
.sidebar-brand { display: flex; align-items: center; gap: 14px; padding: 0 8px 28px; }
.sidebar-brand p { margin-bottom: 2px; }
.sidebar nav { display: grid; gap: 4px; }
.nav-section-label { margin: 24px 10px 8px; color: var(--dim); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nav-item { width: 100%; display: grid; grid-template-columns: 35px 1fr; gap: 10px; align-items: center; padding: 10px; color: #b8b5ae; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.nav-item:hover { background: rgba(255,255,255,.035); }
.nav-item.active { color: var(--ink); background: var(--amber-soft); border-color: rgba(216,166,76,.2); }
.nav-key { color: var(--amber); font: 700 10px/1 ui-monospace, monospace; }
.nav-project-copy { display: grid; gap: 3px; min-width: 0; }
.nav-project-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-project-copy small { color: var(--dim); }
.session-card { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); }
.session-card div { display: grid; gap: 3px; min-width: 0; }
.session-card strong, .session-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-card small { color: var(--muted); font-size: 10px; }
.session-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(127,180,135,.12); }
.session-dot.amber { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }

.content { min-width: 0; padding: 32px clamp(20px, 3vw, 48px) 60px; overflow: hidden; }
.loading-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--amber), transparent); transform: translateX(-100%); }
.loading-bar.active { opacity: 1; animation: loading-sweep 1s ease-in-out infinite; }
@keyframes loading-sweep { to { transform: translateX(100%); } }
.content-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.content-header h1 { display: flex; gap: 14px; align-items: baseline; margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-weight: 400; }
.ticket-total { color: var(--muted); font: 600 11px/1 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.segmented { display: flex; padding: 3px; background: #101211; border: 1px solid var(--line); border-radius: 8px; }
.segmented button, .detail-tabs button { padding: 8px 12px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
.segmented button.active, .detail-tabs button.active { color: var(--ink); background: #292d29; }
.filters { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(135px, auto)) auto; gap: 9px; margin: 28px 0 20px; }
.filters input, .filters select { height: 42px; }
.board-wrap { overflow: hidden; }
.board { display: grid; grid-template-columns: repeat(7, minmax(260px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 14px; }
.board-column { min-height: 480px; padding: 12px; background: rgba(20,22,21,.75); border: 1px solid var(--line); border-radius: var(--radius); }
.board-column > header { display: flex; justify-content: space-between; align-items: center; padding: 6px 5px 14px; }
.board-column > header div { display: flex; gap: 8px; align-items: center; }
.board-column > header strong { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status-dot.in_development { background: var(--amber); }
.status-dot.agent_died { background: #d9784f; }
.status-dot.verify { background: var(--blue); }
.status-dot.human_review { background: #c4a5f5; }
.status-pill.human_review { color: #dcc8fc; background: rgba(170,126,231,.18); }
.status-dot.done { background: var(--green); }
.status-dot.escalated { background: #d4748c; }
.column-count { min-width: 27px; padding: 4px 7px; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 20px; font: 700 10px/1 ui-monospace, monospace; text-align: center; }
.ticket-list { display: grid; align-content: start; gap: 9px; }
.ticket-card { padding: 14px; background: linear-gradient(145deg, #20231f, #1a1d1b); border: 1px solid rgba(255,255,255,.075); border-radius: 10px; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.ticket-card:hover { transform: translateY(-2px); border-color: rgba(216,166,76,.33); }
.ticket-meta, .ticket-footer, .drawer-badges { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ticket-card h3 { margin: 14px 0 10px; font-size: 14px; line-height: 1.4; }
.ticket-key { color: var(--muted); font: 650 10px/1 ui-monospace, monospace; }
.type-badge, .priority, .status-pill, .verdict, .difficulty, .capability-required, .machine-condition { display: inline-flex; width: fit-content; align-items: center; padding: 4px 7px; border-radius: 4px; font: 750 9px/1 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.type-badge { color: #b7c6ba; background: rgba(127,180,135,.1); }
.type-badge.bug { color: #e0958c; background: rgba(213,111,99,.1); }
.type-badge.epic { color: #c6a5cf; background: rgba(164,113,181,.13); }
.priority { color: var(--muted); }
.priority.highest, .priority.high { color: #e38c7f; }
.difficulty { color: var(--muted); background: rgba(255,255,255,.055); }
.difficulty.hard { color: #e38c7f; background: rgba(213,111,99,.12); }
.difficulty.very_hard { color: #f0b6ff; background: rgba(186,104,214,.16); }
.capability-required { color: #edc16e; background: var(--amber-soft); }
.machine-condition { color: #99bfd8; background: rgba(113,153,181,.14); }
.status-pill { color: var(--muted); background: rgba(255,255,255,.055); }
.status-pill.in_development { color: #edc16e; background: var(--amber-soft); }
.status-pill.agent_died { color: #f0a17e; background: rgba(217,120,79,.14); }
.status-pill.verify { color: #99bfd8; background: rgba(113,153,181,.14); }
.status-pill.done { color: #9ac9a0; background: rgba(127,180,135,.14); }
.status-pill.escalated { color: #eba1b3; background: rgba(212,116,140,.14); }
.labels { display: flex; gap: 4px; min-width: 0; }
.labels span { max-width: 80px; padding: 3px 6px; overflow: hidden; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 4px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.claim { color: var(--muted); font: 650 9px/1 ui-monospace, monospace; white-space: nowrap; }
.claim.held { color: var(--amber); }
.claim.unavailable { color: var(--red); }
.claim.unknown { opacity: .6; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 14px 2px; color: var(--muted); font-size: 12px; }
.pagination .queue-range { flex: 1 1 auto; min-width: 0; }

.hierarchy-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hierarchy-panel h2 { margin-top: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.hierarchy-node { margin-left: calc(var(--depth) * 25px); }
.hierarchy-node > button { width: calc(100% - var(--depth) * 25px); display: grid; grid-template-columns: auto 90px 1fr auto; gap: 12px; align-items: center; margin: 6px 0; padding: 12px; text-align: left; background: #191c1a; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }

.detail-drawer { position: fixed; inset: 0 0 0 auto; z-index: 20; width: min(720px, 92vw); display: flex; flex-direction: column; background: #131514; border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.drawer-header { display: flex; justify-content: space-between; gap: 24px; padding: 28px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 32px; font-weight: 400; line-height: 1.15; }
.drawer-badges { justify-content: start; }
.claim-controls { min-height: 62px; display: flex; align-items: center; padding: 10px 28px; background: rgba(216,166,76,.04); border-bottom: 1px solid var(--line); }
.claim-summary { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.claim-summary > div { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; align-items: center; }
.claim-summary small { grid-column: 2; color: var(--muted); }
.claim-summary.other { padding-left: 10px; border-left: 2px solid var(--red); }
.claim-summary.expired { opacity: .72; }
.claim-unavailable { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 12px; }
.detail-tabs { display: flex; gap: 4px; padding: 10px 20px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.drawer-content { flex: 1; padding: 26px 28px 60px; overflow-y: auto; }
.detail-stack { display: grid; gap: 16px; }
.detail-stack > section, .evidence-card, .comment { padding: 19px; background: var(--raised); border: 1px solid var(--line); border-radius: 9px; }
.detail-stack > section.escalation-card { background: rgba(212,116,140,.07); border-color: rgba(212,116,140,.32); }
.escalation-card small { color: var(--muted); }
.detail-stack h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.markdown { color: #c8c4bc; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.markdown p:first-child { margin-top: 0; }
.markdown p:last-child { margin-bottom: 0; }
.markdown pre { padding: 14px; overflow-x: auto; background: #0b0d0c; border-radius: 6px; }
dl { display: grid; grid-template-columns: 110px 1fr; gap: 9px 16px; margin: 0; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; }
.dependency-row { display: flex; gap: 9px; }
.transition-list { display: flex; flex-wrap: wrap; gap: 8px; }
.blocked-state { width: 100%; display: flex; gap: 9px; padding: 11px; color: #e4aaa3; background: rgba(213,111,99,.08); border: 1px solid rgba(213,111,99,.22); border-radius: 7px; }
.comment header, .evidence-card header, .timeline header, .review-matrix article header { display: flex; justify-content: space-between; gap: 14px; }
.comment time, .timeline time { color: var(--muted); font-size: 11px; }
.comment-form { display: grid; gap: 10px; }
.comment-form label { display: grid; gap: 9px; font-size: 12px; font-weight: 700; }
.comment-form button { justify-self: end; }
.evidence-card { display: grid; gap: 14px; }
.evidence-card a { color: var(--amber); }
.verdict.passed { color: var(--green); background: rgba(127,180,135,.12); }
.verdict.failed { color: var(--red); background: rgba(213,111,99,.12); }
/* Outstanding, not verified and not broken: amber keeps it visually distinct from both, so a reader scanning a
   ticket cannot mistake "nobody could run this" for either a pass or a defect. */
.verdict.blocked_on_capability { color: var(--amber); background: var(--amber-soft); }
.timeline { display: grid; }
.timeline article { display: grid; grid-template-columns: 15px 1fr; gap: 14px; min-height: 75px; }
.timeline-marker { width: 9px; height: 9px; margin-top: 4px; background: var(--amber); border: 2px solid #131514; border-radius: 50%; box-shadow: 0 0 0 1px var(--amber); }
.timeline article:not(:last-child) .timeline-marker::after { content: ""; display: block; width: 1px; height: 64px; margin: 8px 0 0 2px; background: var(--line); }
.timeline p { color: var(--muted); font-size: 12px; }
.timeline .override { color: var(--amber); }
.review-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.review-summary div { display: grid; gap: 5px; padding: 14px; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; }
.review-summary small { color: var(--muted); }
.review-summary strong { font-size: 20px; }
.review-matrix article { padding: 14px; border-bottom: 1px solid var(--line); }
.review-matrix article header span { color: var(--muted); }
.criterion { display: flex; gap: 10px; font-size: 12px; }
.criterion span { min-width: 50px; color: var(--muted); }
.criterion.pass span { color: var(--green); }
.criterion.fail span { color: var(--red); }
/* Amber, matching the evidence badge: waiting on a capable host is neither verified nor broken. */
.criterion.outstanding span { color: var(--amber); }
.notice { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin: 12px 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.notice.info { color: #b5cad8; background: rgba(113,153,181,.08); }
.notice.error { color: #e4aaa3; background: rgba(213,111,99,.08); }
.notice button { color: inherit; background: transparent; border: 0; cursor: pointer; }
.global-notice { position: fixed; z-index: 50; bottom: 12px; left: 50%; width: min(620px, calc(100vw - 28px)); transform: translateX(-50%); }
.global-notice .notice { margin: 0; background: #171b19; box-shadow: 0 16px 45px rgba(0,0,0,.45); }

@media (max-width: 1050px) {
  .login-layout { grid-template-columns: 1fr; }
  .brand-block { padding: 60px 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-block h1 { font-size: 68px; }
  .principles { margin-top: 28px; }
  .login-card { width: min(600px, calc(100% - 48px)); margin: 40px auto 72px; }
  .workspace { grid-template-columns: 82px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  .sidebar-brand > div:last-child, .nav-item > span:not(.nav-key), .nav-section-label, .session-card div, .session-card button { display: none; }
  .nav-item { grid-template-columns: 1fr; text-align: center; }
  .session-card { grid-template-columns: 1fr; justify-items: center; }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .brand-block { padding: 42px 22px; }
  .brand-block h1 { font-size: 50px; }
  .principles { grid-template-columns: 1fr; }
  .login-card { width: calc(100% - 28px); margin: 24px auto 50px; padding: 26px; }
  .workspace { display: block; }
  .sidebar { position: static; width: 100%; height: auto; display: flex; flex-direction: row; padding: 10px 14px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-brand { padding: 0 12px 0 0; }
  .sidebar nav { display: flex; }
  .nav-item { min-width: 70px; }
  .session-card { margin: 0 0 0 auto; padding: 0 0 0 12px; border: 0; }
  .content { padding: 24px 14px 48px; }
  .content-header { align-items: start; }
  .content-header h1 { display: grid; font-size: 34px; }
  .header-actions { display: grid; }
  .filters { grid-template-columns: 1fr; }
  .board { scroll-snap-type: x mandatory; }
  .board-column { width: calc(100vw - 45px); scroll-snap-align: start; }
  .detail-drawer { width: 100vw; }
  .drawer-header, .drawer-content { padding-inline: 18px; }
  .claim-controls { padding-inline: 18px; }
  .hierarchy-node { margin-left: 0; }
  .hierarchy-node > button { width: 100%; grid-template-columns: auto 72px 1fr; }
  .hierarchy-node .status-pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Public workflow guide shares the board palette but uses a reading layout. */
.workflow-link { display: inline-block; color: var(--amber); text-underline-offset: 4px; line-height: 1.5; }
.brand-block > .workflow-link { margin-top: 12px; }
.sidebar nav > .workflow-link { margin: 12px 10px; }
.workflow-page { width: min(1120px, 100%); margin: 0 auto; padding: 28px clamp(20px, 5vw, 60px) 48px; }
.workflow-page a { color: var(--amber); text-underline-offset: 5px; }
.workflow-page a:focus-visible, .workflow-page summary:focus-visible, .workflow-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; border-radius: 2px; }
.workflow-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.workflow-nav span { color: var(--muted); font-size: 13px; }
.workflow-hero { padding: 66px 0 42px; }
.workflow-hero h1 { max-width: 780px; margin: 16px 0 24px; font: 400 clamp(38px, 6vw, 66px)/1.08 Georgia, serif; letter-spacing: -.025em; }
.workflow-lede { max-width: 690px; color: #bbb8b2; font-size: 19px; line-height: 1.7; }
.workflow-jump-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; font-size: 14px; }
.workflow-page section { padding: 34px 0; scroll-margin-top: 20px; }
.workflow-page h2 { margin: 0 0 16px; font: 400 clamp(27px, 4vw, 36px)/1.2 Georgia, serif; }
.workflow-page h3 { font-size: 19px; line-height: 1.4; margin: 10px 0 12px; }
.workflow-page p, .workflow-page li { line-height: 1.75; }
.workflow-page section > p, .workflow-page article > p:not(.eyebrow), .workflow-two-column p, .workflow-two-column li, .workflow-proof-list li, .workflow-page details p { color: #bbb8b2; }
.workflow-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 26px 0; }
.workflow-flow > li { border: 1px solid var(--line); border-top: 2px solid var(--amber); border-radius: 3px 3px 12px 12px; background: var(--surface); padding: 22px 18px; }
.workflow-flow > li:last-child { border-top-color: var(--green); }
.workflow-step-number { display: block; color: var(--dim); font: 400 30px/1 Georgia, serif; margin-bottom: 24px; }
.workflow-flow .eyebrow, .workflow-state-grid .eyebrow { color: var(--amber); font-size: 11px; }
.workflow-flow > li > p:last-child { color: #bbb8b2; font-size: 14px; margin-bottom: 0; }
.workflow-note { padding: 20px 24px; border-left: 2px solid var(--amber); background: rgba(216,166,76,.055); color: #bbb8b2; line-height: 1.75; border-radius: 0 8px 8px 0; }
.workflow-note strong, .workflow-proof-list strong { color: var(--ink); }
.workflow-state-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 26px 0; }
.workflow-state-grid article { padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.workflow-state-grid article p { font-size: 15px; }
.workflow-page details { border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; }
.workflow-page summary { cursor: pointer; line-height: 1.5; }
.workflow-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin: 22px 0; }
.workflow-two-column ol { padding-left: 22px; }
.workflow-proof-list { padding-left: 22px; }
.workflow-proof-list li { margin: 14px 0; }
.workflow-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.workflow-footer p { max-width: 520px; color: var(--muted); }
@media (max-width: 900px) { .workflow-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .workflow-hero { padding-top: 42px; }
  .workflow-lede { font-size: 17px; }
  .workflow-flow, .workflow-state-grid, .workflow-two-column { grid-template-columns: 1fr; }
  .workflow-flow > li { padding: 22px; }
  .workflow-step-number { margin-bottom: 16px; }
  .workflow-state-grid, .workflow-two-column { gap: 14px; }
}
