/* SparCrowd workspace. Loaded after sparcrowd.css (Direction D) and built only from its tokens:
   serif headlines and big numbers, plain sans interface text, mono labels, hairline tables,
   the yellow highlighter on quoted lines. Both themes come from the tokens; nothing here names a theme. */

.app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.app-main { flex: 1; padding: clamp(20px, 4vw, 48px) 0 clamp(40px, 7vw, 96px); min-width: 0; }
.app-main:focus { outline: none; }
.app-main h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1; overflow-wrap: anywhere; }
.app-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.app-main h3 { font-size: 1.375rem; }
.app code { font-family: var(--f-mono); font-size: .875em; }
.app-foot { margin-top: 0; }

.link { color: var(--hot); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.link.strong { color: var(--ink); }
.link-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--hot);
  font: inherit; text-decoration: underline; text-underline-offset: 3px; text-align: left;
}
.strong { font-weight: 600; }
.muted { color: var(--ink-2); }
.mono, .link-btn.mono { font-family: var(--f-mono); font-size: .8125rem; }
.wrap-any { overflow-wrap: anywhere; word-break: break-word; }
.rid { font: 500 .8125rem/1.4 var(--f-mono); letter-spacing: .02em; }

/* ---------- top bar ---------- */
.app-top { border-bottom: 1px solid var(--ink); background: var(--page); }
.app-top-in {
  max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px;
}
.app-nav { flex: 1 1 auto; min-width: 0; }
.app-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
.app-nav a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 999px;
  font: 500 .875rem/1.2 var(--f-body); text-decoration: none; white-space: nowrap; color: var(--ink);
}
.app-nav a:hover { background: var(--page-2); }
.app-nav a[aria-current="page"] { background: var(--ink); color: var(--page); }
.nav-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--c-mint); color: var(--on-mint); font: 500 .6875rem/1 var(--f-mono);
}
.app-who { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.who-org { display: grid; text-align: right; line-height: 1.3; min-width: 0; }
.who-name { font: 600 .875rem/1.3 var(--f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.who-user { font: 400 .6875rem/1.3 var(--f-mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30ch; }
.app-menu-btn {
  display: none; margin-left: auto; min-height: 40px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 .8125rem/1 var(--f-body);
}
.app-menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--page); }
@media (max-width: 1180px) {
  .app-menu-btn { display: inline-flex; align-items: center; }
  .app-nav, .app-who { display: none; flex: 1 1 100%; }
  .menu-open .app-nav { display: block; }
  .menu-open .app-who { display: flex; justify-content: space-between; padding: 10px 0 6px; border-top: 1px solid var(--line); }
  .app-nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .app-nav a { display: flex; border-radius: 8px; min-height: 44px; }
  .who-org { text-align: left; }
}

/* ---------- pages ---------- */
.page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
  padding-bottom: clamp(16px, 2.4vw, 26px); margin-bottom: clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--ink);
}
.page-head-text { min-width: 0; flex: 1 1 320px; }
.page-head .eyebrow { color: var(--hot); margin-bottom: 10px; }
.page-back { margin-bottom: 16px; font-size: .875rem; }
.page-lead { max-width: 62ch; margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 5px; }
.page-narrow .page-body { max-width: 680px; }
.page-after-range { margin-top: clamp(24px, 4vw, 44px); }
.page-after-range:empty { display: none; }
.page-after-range > div:not(:empty) ~ div:not(:empty) { margin-top: clamp(32px, 5vw, 56px); }
.summary-line { margin-bottom: 18px; max-width: 90ch; }
.table-note { margin-top: 12px; max-width: 90ch; }

.block { margin-top: clamp(32px, 5vw, 56px); min-width: 0; }
.block:first-child { margin-top: 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 14px; }
.block-head .fine { max-width: 62ch; }
.sub-title { margin: 26px 0 8px; }
.block > .fine { margin-top: 10px; max-width: 90ch; }

/* ---------- loading, empty, error ---------- */
.state { padding: clamp(18px, 4vw, 40px); border-radius: 14px; border: 1px dashed var(--ink-2); }
.state-loading {
  padding: 22px 0; border: 0; color: var(--ink-2);
  font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.state-loading::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%;
  background: var(--c-saffron); box-shadow: 0 0 0 1.5px var(--ink); animation: app-pulse 1s ease-in-out infinite alternate;
}
@keyframes app-pulse { from { opacity: .25; } to { opacity: 1; } }
.run-progress { text-transform: none; letter-spacing: 0; font: 400 1rem/1.5 var(--f-body); }
.run-progress .state-title { display: inline; font: 400 clamp(1.5rem, 3vw, 2.25rem)/1.1 var(--f-display); color: var(--ink); }
.run-progress p + p { margin-top: 8px; }
.state-empty .state-title { font: 400 clamp(1.625rem, 3.2vw, 2.5rem)/1.08 var(--f-display); letter-spacing: -.01em; }
.state-empty p { max-width: 64ch; margin-top: 10px; color: var(--ink-2); }
.state-action { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.state-error { border: 1.5px solid var(--c-vermilion); }
.state-error .eyebrow { color: var(--fail-text); margin-bottom: 8px; }

.notice {
  margin: 0 0 16px; padding: 12px 14px; font-size: .9375rem; line-height: 1.45;
  background: var(--surface); border-left: 4px solid var(--ink-2); border-radius: 4px 10px 10px 4px;
  box-shadow: 0 0 0 1px var(--line); overflow-wrap: anywhere;
}
.notice-good { border-left-color: var(--ink); }
.notice-warn, .notice-key { border-left-color: var(--c-saffron); }
.notice-bad { border-left-color: var(--c-vermilion); }
.notice-key { display: grid; gap: 10px; }
.action-out { margin-top: 12px; }
.action-out:empty { display: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { font: 600 .875rem/1.35 var(--f-body); padding: 0; }
.field > legend { margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--ink-2); }
.field-hint { max-width: 70ch; }
.input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--ink-2); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--f-body);
}
.input:hover { border-color: var(--ink); }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
textarea.input { resize: vertical; min-height: 72px; }
.code-input { font: 400 .8125rem/1.6 var(--f-mono); white-space: pre; overflow: auto; tab-size: 2; }
.form-error {
  padding: 10px 12px; border-left: 4px solid var(--c-vermilion); border-radius: 4px 10px 10px 4px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--fail-text); font-weight: 500; overflow-wrap: anywhere;
}
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.btn-wide { width: 100%; }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: .8125rem; }
.btn:disabled { opacity: .55; cursor: progress; }
.start-row { padding-bottom: 2px; }
.confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.confirm-q { font-size: .875rem; font-weight: 500; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: #2747B0; }
.check-list label { font-size: .9375rem; line-height: 1.35; cursor: pointer; }
.check-note { display: block; font-size: .75rem; color: var(--ink-2); }
.narrow-form { max-width: 540px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside { min-width: 0; }
.aside-title { font: 400 1.375rem/1.2 var(--f-display) !important; margin-bottom: 8px; }
.aside .fine { margin: 8px 0; }

/* ---------- sign in ---------- */
.auth {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); gap: clamp(24px, 6vw, 96px);
  align-items: start; padding-top: clamp(4px, 4vw, 56px);
}
.auth-side .eyebrow { color: var(--hot); margin-bottom: 14px; }
.auth-side .lead { margin-top: 16px; max-width: 46ch; color: var(--ink-2); }
.auth-back { margin-top: 28px; }
.auth-card { background: var(--surface); border-radius: 16px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 0 0 1px var(--line), var(--shadow); min-width: 0; }
.auth-switch { margin-top: 20px; font-size: .9375rem; }
@media (max-width: 820px) {
  .auth { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .auth-side .hand-note, .auth-back { display: none; }
}

/* ---------- hairline tables that become labelled cards on a phone ---------- */
.table-wrap { overflow-x: auto; min-width: 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.data-table thead th {
  text-align: left; vertical-align: bottom; padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink);
  font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.data-table td, .data-table tbody th { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table .num { text-align: right; }
.data-table td.num { font: 400 1.3125rem/1.15 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table.compact td { padding-top: 9px; padding-bottom: 9px; }
.cell-note { display: block; margin-top: 3px; font: 400 .6875rem/1.4 var(--f-mono); color: var(--ink-2); }
.cell-pct { display: block; margin-top: 2px; font: 400 .6875rem/1.3 var(--f-mono); color: var(--ink-2); }
.cell-text { min-width: 16rem; }
.cell-looks { color: var(--ink-2); font-size: .875rem; }
.cell-quote { min-width: 14rem; max-width: 34rem; }
.rid-cell { white-space: nowrap; }
@media (min-width: 761px) {
  .reg-table td:nth-child(2), .reg-table td:nth-child(3), .reg-table td:nth-child(4) { min-width: 9.5rem; }
  .reg-table td:nth-child(5) { min-width: 8rem; }
  .gate-table td:nth-child(3) { min-width: 22rem; }
  .audit-table td:nth-child(1) { white-space: nowrap; }
}
.lines { list-style: decimal; padding-left: 1.3em; display: grid; gap: 4px; font-size: .875rem; }
.reasons { display: grid; gap: 4px; }
.reasons li { padding-left: 14px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-vermilion); }
.checks-list { display: grid; gap: 8px; margin-top: 8px; font-size: .875rem; }
.lang-note { white-space: normal; }

@media (max-width: 760px) {
  .table-wrap { overflow-x: visible; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr { display: block; width: 100%; }
  .data-table tr { padding: 12px 0; border-bottom: 1px solid var(--ink); }
  .data-table tbody tr:first-child { padding-top: 0; }
  .data-table td, .data-table tbody th {
    display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; text-align: left;
  }
  .data-table td::before, .data-table tbody th::before {
    content: attr(data-label); font: 500 .6875rem/1.6 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2);
  }
  .data-table .num { text-align: left; }
  .data-table td.num { font-size: 1.1875rem; white-space: normal; }
  .data-table.compact td { padding-top: 4px; padding-bottom: 4px; }
  .cell-text, .cell-quote { min-width: 0; max-width: none; }
  .cell { min-width: 0; overflow-wrap: anywhere; }
}

.looks { margin-top: 8px; }
.looks > summary {
  width: fit-content; cursor: pointer; padding: 4px 0; color: var(--hot);
  font: 500 .6875rem/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
}
.looks > p { margin-top: 6px; max-width: 72ch; font-size: .875rem; color: var(--ink-2); }

/* ---------- the report ---------- */
.run-head { margin-bottom: clamp(16px, 3vw, 28px); }
.run-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px clamp(24px, 5vw, 64px); align-items: start; }
.run-head .spec-table { margin-top: 0; }
.run-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.run-tags .tag { white-space: normal; }
@media (max-width: 800px) { .run-head-grid { grid-template-columns: minmax(0, 1fr); } }
.spec-sub { display: block; margin-top: 2px; font-size: .75rem; color: var(--ink-2); }
.spec-wide > div { grid-template-columns: 15rem minmax(0, 1fr); }
.spec-table dd { overflow-wrap: anywhere; }
.spec-table dd.is-na { color: var(--ink-2); }
@media (max-width: 600px) { .spec-wide > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.range-host:empty { display: none; }
.range-host { max-width: var(--max); margin: clamp(8px, 2vw, 20px) auto 0; padding: 0 var(--gutter); }

.stats { --cols: 6; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin: 0 0 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stats-small { --cols: 4; }
.stat { min-width: 0; padding: 14px 12px 16px 16px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.stat dd { margin-top: 8px; }
.stat-n { display: block; font: 400 clamp(2rem, 4.4vw, 3.5rem)/1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stats-small .stat-n { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.stat-sub { display: block; margin-top: 6px; font: 400 .6875rem/1.35 var(--f-mono); color: var(--ink-2); }
.s-fail .stat-n { color: var(--fail-text); }
.s-review .stat-n { color: var(--review-text); }
@media (min-width: 521px) and (max-width: 1000px) {
  .stats:not(.stats-small) { --cols: 3; }
  .stats:not(.stats-small) .stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .stats:not(.stats-small) .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .stats { --cols: 2; }
  .stat:nth-child(n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .stat:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.score { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 14px clamp(24px, 5vw, 64px); align-items: start; padding-top: 14px; border-top: 1px solid var(--ink); }
.score-big { font: 400 clamp(3rem, 8vw, 6rem)/.95 var(--f-display); letter-spacing: -.015em; }
.score-big.is-na { font-size: clamp(2.25rem, 5vw, 3.5rem); font-style: italic; color: var(--ink-2); }
.score p { max-width: 70ch; }
@media (max-width: 700px) { .score { grid-template-columns: minmax(0, 1fr); } }

.causes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cause { min-width: 0; padding: 12px 14px 14px; background: var(--surface); border-left: 4px solid var(--c-vermilion); border-radius: 4px 10px 10px 4px; box-shadow: 0 0 0 1px var(--line); }
.cause-label { font: 700 1.4375rem/1.15 var(--f-hand); }
.cause-count { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.conv-links { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink-2); background: transparent; color: var(--ink); font: 500 .8125rem/1.2 var(--f-body);
}
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.filter-btn:disabled { opacity: .45; cursor: default; }
.filter-n { font: 500 .75rem/1 var(--f-mono); }

.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); border-top: 1px solid var(--ink); padding-top: 18px; }
.action { display: grid; gap: 12px; align-content: start; min-width: 0; }
.action > p { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 800px) { .action-grid { grid-template-columns: minmax(0, 1fr); } }
.gate-result {
  display: grid; gap: 10px; min-width: 0; padding: 14px 16px 16px; background: var(--surface);
  border-left: 4px solid var(--ink); border-radius: 4px 12px 12px 4px; box-shadow: 0 0 0 1px var(--line);
}
.gate-result.is-blocked { border-left-color: var(--c-vermilion); }
.gate-big { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -.01em; }
.is-blocked .gate-big { color: var(--fail-text); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; }
.card { display: grid; gap: 12px; min-width: 0; padding: clamp(14px, 2.4vw, 24px); background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.card-head .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.card .spec-table { margin-top: 0; }
.card .tag { white-space: normal; }
.review-card { border-left: 4px solid var(--c-mint); border-radius: 4px 14px 14px 4px; }
.review-card.is-unverified { border-left-color: var(--c-saffron); }
.review-rule { font-weight: 500; max-width: 80ch; }
.review-quote { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.token { padding: 3px 6px; border-radius: 4px; background: var(--page-2); font: 500 .8125rem/1.6 var(--f-mono); }

.codeblock {
  max-width: 100%; margin: 10px 0; padding: 14px 16px; overflow-x: auto; border-radius: 10px;
  background: var(--c-deep); color: #DCE2FF; font: 400 .8125rem/1.7 var(--f-mono); white-space: pre; tab-size: 2;
}
.codeblock code { font-size: inherit; }
.codeblock:focus-visible { outline-offset: 2px; }

.tabs ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--ink); }
.tabs a {
  display: block; padding: 10px 14px 9px; margin-bottom: -1px; border-bottom: 3px solid transparent;
  font: 500 .875rem/1.3 var(--f-body); text-decoration: none; color: var(--ink-2);
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

/* ---------- the replay dialog, as used by the workspace ---------- */
.app-replay .replay-head .tag-warn, .app-replay .replay-head .tag-plain, .app-replay .replay-head .tag-high { color: #FFFFFF; }
.app-replay .replay-head .eyebrow { color: var(--stage-ink-2); }
/* visually hidden labels are absolutely placed: keep them inside the pane that scrolls, or they stretch the dialog */
.app-replay .transcript, .app-replay .evidence, .app-replay .replay-body,
.range-host .replay .transcript, .range-host .replay .evidence { position: relative; }
.replay-wait { padding: clamp(20px, 4vw, 40px); display: grid; gap: 14px; }
.ev-sentence { margin: -6px 0 6px; font-size: .9375rem; }
.ev-title { margin: 22px 0 6px; font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ev.is-rejected { opacity: .75; }
.ev dd .tag { vertical-align: 1px; }
.ev .where { overflow-wrap: anywhere; }
.review-box { display: grid; gap: 12px; }
.evidence .data-table { font-size: .875rem; }
.evidence .data-table td { font-size: .875rem; }
.app-replay .turn .by .flag { font-weight: 500; }

/* ---------- starting again and deleting ---------- */
.page-notes:empty { display: none; }
.cell-action { margin-top: 8px; }
.state-error .fine { margin-top: 12px; max-width: 70ch; }
.btn-danger { background: var(--c-vermilion); color: var(--on-vermilion); border-color: var(--c-vermilion); }
.btn-danger:hover { background: #FF7A64; border-color: #FF7A64; }
.btn-danger.needs-match:disabled { cursor: not-allowed; }
.confirm-delete { min-width: 0; }
.confirm-panel {
  display: grid; gap: 10px; max-width: 36rem; padding: 12px 14px 14px; text-align: left; white-space: normal;
  background: var(--surface); color: var(--ink); font: 400 .9375rem/1.45 var(--f-body);
  border-left: 4px solid var(--c-vermilion); border-radius: 4px 10px 10px 4px; box-shadow: 0 0 0 1px var(--line);
}
.confirm-title { font-weight: 600; overflow-wrap: anywhere; }
.card .confirm-panel { background: var(--page); }
.delete-row { margin-top: clamp(20px, 3vw, 32px); padding-top: 16px; border-top: 1px solid var(--line); }
.card .delete-row { margin-top: 0; padding-top: 12px; }
.danger-zone { margin-top: clamp(48px, 8vw, 96px); padding-top: clamp(18px, 3vw, 28px); border-top: 3px solid var(--c-vermilion); }
.danger-text { max-width: 70ch; margin-bottom: 18px; }
.org-name { padding: 2px 6px; border-radius: 4px; background: var(--page-2); font: 500 .8125rem/1.6 var(--f-mono); overflow-wrap: anywhere; }

/* what the plan allows, above the New run form */
.plan-note { max-width: 34rem; margin: 0 0 28px; }
