@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Taska Korean";
  src: url("/fonts/taska-korean.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3;
}
:root {
  color-scheme: light;
  --canvas: #f9f9f9;
  --panel: #fff;
  --ink: #191919;
  --muted: rgba(0, 0, 0, 0.6);
  --line: rgba(0, 0, 0, 0.08);
  --soft: rgba(0, 0, 0, 0.03);
  --ok: #006c10;
  --ok-bg: rgba(0, 108, 16, 0.08);
  --warn: #794c02;
  --warn-bg: rgba(121, 76, 2, 0.08);
  --bad: #a42528;
  --bad-bg: rgba(164, 37, 40, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --control-radius: 8px;
  --fast: 120ms;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --section-space: 28px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --pipeline-gutter: 52px;
  --connector-size: 16px;
  --connector-icon: 9px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-lg: 15px;
  --text-label: 11px;
  --title: 22px;
  --metric: 28px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0b0b0b;
  --panel: #1a1a1a;
  --ink: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.06);
  --soft: rgba(255, 255, 255, 0.03);
  --ok: #72d071;
  --ok-bg: rgba(114, 208, 113, 0.08);
  --warn: #fbb315;
  --warn-bg: rgba(251, 179, 21, 0.08);
  --bad: #f49090;
  --bad-bg: rgba(244, 144, 144, 0.08);
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    color-scheme: dark;
    --canvas: #0b0b0b;
    --panel: #1a1a1a;
    --ink: rgba(255, 255, 255, 0.9);
    --muted: rgba(255, 255, 255, 0.6);
    --line: rgba(255, 255, 255, 0.06);
    --soft: rgba(255, 255, 255, 0.03);
    --ok: #72d071;
    --ok-bg: rgba(114, 208, 113, 0.08);
    --warn: #fbb315;
    --warn-bg: rgba(251, 179, 21, 0.08);
    --bad: #f49090;
    --bad-bg: rgba(244, 144, 144, 0.08);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--s6);
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    var(--text-sm) / 1.6 Inter,
    "Taska Korean",
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
a {
  color: inherit;
  text-underline-offset: var(--s1);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h1 {
  font-size: var(--title);
  font-weight: 600;
}
h2 {
  font-size: var(--text-lg);
}
h3 {
  font-size: var(--text-sm);
}
p {
  color: var(--muted);
}
button,
input,
textarea {
  font: inherit;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--panel);
  color: var(--ink);
  padding: var(--s3);
  min-height: 44px;
  resize: vertical;
}
label {
  display: block;
  font-weight: 550;
}
textarea {
  line-height: 1.7;
}
pre {
  background: var(--soft);
  padding: var(--s4);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--text-xs);
  max-width: 100%;
}
img {
  max-width: 100%;
  display: block;
}
main {
  padding-top: var(--section-space);
  min-height: 60vh;
}
dl {
  margin: var(--s5) 0;
}
dt {
  font-size: var(--text-xs);
  color: var(--muted);
}
dd {
  margin: var(--s1) 0 0;
  overflow-wrap: anywhere;
}
details {
  margin-top: var(--s5);
}
summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 550;
}
footer {
  padding: var(--s6) 0;
  border-top: 1px solid var(--line);
  margin-top: var(--s10);
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  color: var(--muted);
  font-size: var(--text-xs);
}
.business-footer .business-details {
  display: grid;
  gap: var(--s1);
  min-width: 0;
  overflow-wrap: anywhere;
}
.business-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--s2) var(--s4);
  flex-shrink: 0;
}
.business-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.support-channels {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
}
.support-channels a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.faq-support {
  margin-top: var(--s6);
}
.support-launcher {
  position: fixed;
  right: var(--s4);
  bottom: var(--s4);
  z-index: 10;
}
:where(#support-dialog) {
  width: min(420px, calc(100vw - 32px));
  max-width: 100%;
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}
:where(#support-dialog) form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--s2);
}
:where(#support-dialog) iframe {
  width: 100%;
  height: min(560px, 65dvh);
  border: 0;
}
:where(#support-dialog) p {
  font-size: var(--text-xs);
}
.legal-copy {
  max-width: 100%;
}
.legal-copy section + section {
  margin-top: var(--section-space);
}
.legal-copy h2 {
  margin-bottom: var(--s2);
}
input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
form > label {
  margin-top: var(--s5);
  margin-bottom: var(--s2);
}
dl > div {
  border-top: 1px solid var(--line);
  padding: var(--s3) 0;
}
button,
.button,
.theme-button,
.filter {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--control-radius);
  padding: var(--s2) var(--s4);
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 550;
  cursor: pointer;
  gap: var(--s2);
  transition:
    opacity var(--fast),
    transform var(--fast),
    background var(--fast);
}
form > button {
  margin-top: var(--s6);
}

code,
.package {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: var(--s5) var(--s10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-lg);
  font-weight: 650;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.brand-label {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0;
}
.header-controls,
.languages {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.languages {
  gap: var(--s1);
}
.theme-button {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  font-size: var(--text-xs);
  padding: var(--s2) var(--s3);
}
.workspace {
  max-width: 1440px;
  margin: auto;
  padding: 0 var(--s10);
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-xs);
}
.app-heading {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s8) 0 var(--s6);
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--canvas);
  font-size: var(--metric);
  font-weight: 650;
  flex: none;
}
.eyebrow {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.package {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--s1);
}
.page-heading {
  padding: var(--s8) 0 var(--s6);
}
.section-nav {
  display: flex;
  gap: var(--s8);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin: var(--section-space) 0 var(--s4);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  box-shadow: var(--shadow);
  min-width: 0;
}
.pill {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: var(--s1) 10px;
  background: var(--soft);
  font-size: var(--text-xs);
  line-height: 1.6;
  white-space: nowrap;
  font-weight: 500;
}
.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
}
.chips {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  min-width: 0;
}
.exception-bar {
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  display: flex;
  gap: var(--s4);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kpi {
  padding: var(--s4) var(--s5);
  border-left: 1px solid var(--line);
  min-width: 0;
}
.metric-label {
  font-size: var(--text-xs);
  color: var(--muted);
}
.metric-number {
  font-size: var(--metric);
  font-weight: 650;
  line-height: 1.15;
  margin: var(--s2) 0;
  letter-spacing: -0.035em;
}
.metric-hint {
  font-size: var(--text-xs);
  color: var(--muted);
}
.pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--pipeline-gutter) minmax(0, 1fr) var(--pipeline-gutter) minmax(
      0,
      1fr
    ) var(--pipeline-gutter) minmax(0, 1fr);
  align-items: stretch;
  margin: var(--s4) 0 0;
}
.stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  box-shadow: var(--shadow);
  min-width: 0;
}

.stage-heading h3 {
  flex: 1;
}
.stage-heading .pill {
  font-size: var(--text-label);
  padding: 2px 7px;
}
:where(.stage-heading .pill) .dot {
  display: none;
}
.stage-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-label);
}
.pipeline-loop {
  border: 1.5px dashed var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 var(--s5) var(--section-space);
  padding: var(--s3) var(--s2) 0;
  text-align: center;
}
.pipeline-loop .pill {
  transform: translateY(50%);
  white-space: normal;
}
.cell-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cell-label .dot {
  background: currentColor;
}
.run-grid .unassigned-cell {
  color: var(--muted);
  background: var(--panel);
  vertical-align: middle;
}
.stage-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
  width: 100%;
}
.step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  flex: none;
}
.connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.actions {
  padding: 0 var(--s5);
}
.action {
  padding: var(--s6) 0;
  display: flex;
  align-items: center;
  gap: var(--s6);
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.date-card {
  padding: var(--s4) var(--s5);
}
.fineprint,
.field-help {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--s3);
}
.evidence-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s8);
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--muted);
}
.notice {
  padding: var(--s4) var(--s5);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  margin-bottom: var(--s6);
  color: var(--ink);
}
.filters {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  min-width: 68px;
  border-radius: 999px;
}
.table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  max-height: 75vh;
  background: var(--panel);
  margin-top: var(--s4);
  isolation: isolate;
  scroll-padding-left: 108px;
}
.run-grid {
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-xs);
  width: 100%;
}
.run-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s2);
  background: var(--panel);
  margin-bottom: var(--s2);
}
.cell-label,
.old-label {
  font-size: 11px;
  line-height: 1.4;
  max-width: 108px;
}
.old-label {
  color: var(--warn);
}
.no-capture {
  width: 64px;
  height: 96px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  background: var(--soft);
}
.missing-mark {
  font-size: var(--metric);
  opacity: 0.5;
}
.capture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s5);
}
.capture-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  text-decoration: none;
  box-shadow: var(--shadow);
  min-width: 0;
}
.capture-image {
  padding: var(--s5);
  background: var(--soft);
  display: flex;
  justify-content: center;
}
.capture-caption {
  padding: var(--s4);
}
.text-link {
  display: block;
  font-size: var(--text-xs);
  margin-top: var(--s4);
}
.capture-empty {
  height: 320px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--s6);
}
.detail-navigation {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s6);
}
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: var(--s4);
}
.checklist {
  margin-bottom: var(--s6);
}
.check-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 44px;
  font-weight: 450;
  margin: var(--s2) 0;
}
.copy-status {
  min-height: 24px;
  color: var(--ok);
  margin-bottom: var(--s3);
}
.answers {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.release {
  display: flex;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.muted {
  color: var(--muted);
  font-weight: 450;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
.milestone-list {
  margin-top: var(--s8);
}
.milestone {
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s5);
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s12);
  align-items: start;
  max-width: 1100px;
  margin: var(--s6) auto var(--s12);
}
.form-intro {
  padding: var(--s6) 0;
  max-width: 470px;
}
.full-width {
  width: 100%;
}
.login-panel {
  max-width: 480px;
  margin: var(--s8) auto var(--s12);
}
.success-panel,
.error-panel {
  max-width: 640px;
  margin: var(--s8) auto;
}
.empty {
  padding: var(--s6) 0;
  color: var(--muted);
}
.stage-count {
  font-size: var(--metric);
  line-height: 1.2;
  font-weight: 650;
}
.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  border-top: 1px solid var(--line);
  padding: var(--s6) 0;
}
.managed-apps {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.admin-stats {
  display: flex;
  gap: var(--s6);
  flex-wrap: wrap;
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.private-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s2);
  margin-top: var(--s5);
}
.admin-stage-actions {
  margin-top: var(--s5);
}
.skip {
  position: absolute;
  left: var(--s4);
  top: -100px;
  background: var(--ink);
  color: var(--canvas);
  padding: var(--s3);
  z-index: 20;
  border-radius: var(--control-radius);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
input[readonly] {
  background: var(--soft);
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--ink);
  flex: none;
}
.languages a {
  padding: var(--s2);
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-xs);
}
.page-heading h1 {
  margin-top: var(--s2);
}
.section-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: var(--s2) var(--s4);
  margin: var(--s2) 0;
  font-weight: 550;
}
.section-head p {
  margin-top: var(--s1);
}
.chips a,
.app-chips a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.exception-bar > strong {
  font-size: var(--text-xs);
}
.metric-number small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 450;
  letter-spacing: 0;
}
.stage-heading h3 {
  padding-top: 1px;
}
.kv > span {
  color: var(--muted);
}
.connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1.5px dashed var(--line);
}
.connector b {
  position: relative;
  width: var(--connector-size);
  height: var(--connector-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--canvas);
  line-height: 1;
  font-weight: 500;
}
.connector b .icon {
  width: var(--connector-icon);
  height: var(--connector-icon);
}
.action h3 {
  margin: var(--s2) 0 var(--s1);
}
.action p {
  max-width: 78ch;
}
.date-card strong {
  display: block;
  margin: var(--s3) 0 var(--s2);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.date-card p {
  font-size: var(--text-xs);
}
.evidence-link a {
  font-size: var(--text-sm);
  color: var(--ink);
}
.run-grid th,
.run-grid td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: var(--s3);
  text-align: center;
  min-width: 132px;
  vertical-align: top;
  background: var(--panel);
}
.run-grid th {
  font-weight: 550;
}
.run-cell img {
  width: 64px;
  height: 96px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--s1);
  border: 1px solid var(--line);
}
.run-cell strong {
  font-size: var(--text-xs);
}
.missing-cell > span,
.missing-cell > small {
  display: block;
}
.missing-cell > small {
  font-size: 10px;
  margin-top: var(--s2);
}
.capture-image img {
  width: auto;
  height: 280px;
  border-radius: var(--control-radius);
  border: 1px solid var(--line);
  object-fit: contain;
}
.capture-caption p {
  font-size: var(--text-xs);
  margin-top: var(--s2);
}
.original-capture > img {
  width: auto;
  height: auto;
  max-height: 640px;
  margin: var(--s6) auto;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
}
.release h3 {
  margin-top: var(--s2);
}
.release > span {
  font-size: var(--text-xs);
  color: var(--muted);
}
.schedule-card h3 {
  font-size: var(--text-lg);
  margin: var(--s5) 0 var(--s2);
  max-width: 28ch;
  line-height: 1.6;
}
.milestone strong {
  font-size: var(--text-sm);
}
.form-intro h2 {
  font-size: var(--title);
  line-height: 1.4;
  margin: var(--s6) 0 var(--s4);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.form-intro > p {
  max-width: 42ch;
}
.form-intro dl {
  margin-top: var(--s10);
}
.form-panel h2 {
  margin-bottom: var(--s5);
}
.login-panel h2 {
  margin-top: var(--s5);
  margin-bottom: var(--s2);
}
.success-panel h2,
.error-panel h2 {
  margin: var(--s5) 0 var(--s3);
  font-size: var(--title);
}
.success-panel code {
  display: block;
  margin: var(--s5) 0;
  padding: var(--s3);
  background: var(--soft);
}
.stage-count small {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 450;
  margin-left: var(--s1);
}
.request p,
.request a {
  font-size: var(--text-xs);
  margin-top: var(--s2);
}
.managed-app h3 {
  font-size: var(--text-lg);
}
.admin-stats strong {
  margin-left: var(--s2);
}
.private-link label {
  grid-column: 1 / -1;
  font-size: var(--text-xs);
}
.private-link input {
  font-size: var(--text-xs);
}
.admin-stage-actions button {
  margin-top: 0;
}
.run-grid thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--soft);
  white-space: nowrap;
}
.run-grid th strong,
.run-grid th small {
  display: block;
}
.answer h3 {
  font-size: var(--text-lg);
  margin-top: var(--s1);
}
button:hover,
.button:hover {
  opacity: 0.82;
}
button:active,
.button:active {
  transform: translateY(1px);
}
button.secondary,
.button.secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: var(--s1);
}
.languages [aria-current] {
  color: var(--ink);
  font-weight: 650;
}
.app-heading > .pill {
  margin-left: auto;
}
.app-heading .eyebrow {
  margin-bottom: var(--s1);
}
.section-head:first-child {
  margin-top: 0;
}
.exception-bar .pill {
  white-space: normal;
  overflow-wrap: anywhere;
}
.pill.ink {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.pill.ok {
  color: var(--ok);
  background: var(--ok-bg);
  border-color: var(--ok);
}
.pill.warn {
  color: var(--warn);
  background: var(--warn-bg);
  border-color: var(--warn);
}
.pill.bad {
  color: var(--bad);
  background: var(--bad-bg);
  border-color: var(--bad);
}
.kpi:first-child {
  border-left: 0;
}
.stage.current {
  border-color: var(--ink);
}
.current .step-number {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.stage .kv {
  border-top: 1px solid var(--line);
  padding-top: var(--s3);
  display: flex;
  flex-direction: column;
  font-size: var(--text-xs);
  width: 100%;
  gap: var(--s1);
}
.stage > .pill {
  margin-top: auto;
}
.action:first-child {
  border-top: 0;
}
.action .button {
  flex: none;
}
.filter.active {
  color: var(--canvas);
  background: var(--ink);
  border-color: var(--ink);
}
.run-cell:last-child {
  margin-bottom: 0;
}
.run-cell.bad {
  border-color: var(--line);
  background: var(--panel);
  color: var(--bad);
}
.run-cell.warn {
  border-color: var(--line);
  background: var(--panel);
  color: var(--warn);
}
.run-grid .missing-cell {
  background: var(--warn-bg);
  color: var(--warn);
  vertical-align: middle;
}
.run-grid .filtered-cell {
  vertical-align: middle;
  color: var(--muted);
}
.capture-caption .row-between {
  align-items: flex-start;
  flex-direction: column;
  gap: var(--s2);
}
.capture-caption > .pill {
  margin-top: var(--s2);
}
.original-capture .row-between {
  flex-wrap: wrap;
}
.answer .row-between {
  margin-bottom: var(--s4);
  align-items: flex-start;
}
.answer .copy-button {
  flex: none;
}
.release:first-child {
  border-top: 0;
  padding-top: 0;
}
.release > div {
  min-width: 0;
}
.release:last-child {
  padding-bottom: 0;
}
.milestone:first-of-type {
  margin-top: var(--s4);
}
.admin-pipeline .stage {
  min-height: 190px;
}
.app-chips .pill {
  white-space: normal;
}
.request:first-child {
  border-top: 0;
  padding-top: 0;
}
.request:last-child {
  padding-bottom: 0;
}
.managed-app > .chips {
  margin: var(--s4) 0;
}
.skip:focus {
  top: var(--s3);
}
.section-nav a[aria-current] {
  color: var(--canvas);
  background: var(--ink);
}
.section-nav a:hover:not([aria-current]) {
  color: var(--ink);
}
.run-grid th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 108px;
  max-width: 108px;
  background: var(--soft);
}
.run-grid th .pill {
  margin-top: var(--s3);
}
a.capture-card:hover {
  border-color: var(--ink);
  text-decoration: none;
}
.run-grid thead th:first-child {
  z-index: 3;
}
.run-grid tr:last-child td,
.run-grid tr:last-child th {
  border-bottom: 0;
}
.pill.ink .dot {
  background: currentColor;
}
.pill.ok .dot,
.pill.warn .dot,
.pill.bad .dot {
  background: currentColor;
}
.run-cell.ok .cell-label {
  color: var(--ok);
}
.run-cell:target {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.app-heading > div {
  min-width: 0;
  flex: 1;
}
@media (max-width: 1100px) {
  .capture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kpi {
    padding: var(--s4);
  }
  .dates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .workspace {
    padding: 0 var(--s6);
  }
  .header-inner {
    padding: var(--s4) var(--s6);
  }
  .pipeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .connector {
    height: var(--pipeline-gutter);
  }
  .connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    border-top: 0;
    border-left: 1.5px dashed var(--line);
  }
  .connector b {
    transform: rotate(90deg);
  }
  .stage {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--s3);
  }
  .stage .kv {
    grid-column: 1 / 2;
  }
  .stage > .pill {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
  }
  .admin-pipeline .stage {
    min-height: 0;
  }
  .admin-pipeline .stage-count {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .admin-pipeline .app-chips {
    grid-row: 2 / 3;
    grid-column: 1 / -1;
  }
  .form-layout {
    gap: var(--s8);
  }
  .form-intro h2 {
    font-size: var(--title);
  }
}
@media (max-width: 720px) {
  .workspace {
    padding: 0 var(--s4);
  }
  .header-inner {
    padding: var(--s3) var(--s4);
  }
  .header-controls {
    gap: var(--s1);
  }
  .demo-bar {
    align-items: flex-start;
    font-size: 11px;
    gap: var(--s2);
  }
  .demo-bar .pill {
    font-size: 10px;
    padding: var(--s1) var(--s2);
  }
  .app-heading {
    padding: var(--s6) 0;
    gap: var(--s3);
    flex-wrap: wrap;
  }
  .app-heading > .pill {
    display: none;
  }
  .app-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .app-heading h1 {
    font-size: var(--title);
  }
  .app-heading .eyebrow {
    font-size: 10px;
  }
  .brand {
    font-size: 16px;
  }
  .languages a {
    padding: var(--s2) 6px;
  }
  .theme-button {
    padding: var(--s2);
  }
  .section-nav {
    gap: var(--s6);
  }
  .section-nav a {
    font-size: 13px;
  }
  main {
    padding-top: var(--section-space);
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: var(--section-space);
  }
  .section-head p {
    font-size: 13px;
  }
  .exception-bar {
    gap: var(--s2);
    padding: var(--s4);
  }
  .exception-bar > .chips {
    gap: 6px;
  }
  .exception-bar .pill {
    font-size: 11px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: var(--s4);
  }
  .kpi:nth-child(-n + 2) {
    border-top: 0;
  }
  .kpi:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .kpi:last-child {
    grid-column: 1 / -1;
  }
  .metric-hint {
    font-size: 11px;
  }
  .panel {
    padding: var(--s4) var(--s5);
  }
  .actions {
    padding: 0 var(--s5);
  }
  .action {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s4);
    padding: var(--s5) 0;
  }
  .dates-grid {
    gap: var(--s3);
    grid-template-columns: minmax(0, 1fr);
  }
  .date-card {
    padding: var(--s4);
  }
  .date-card .eyebrow {
    font-size: 11px;
  }
  .evidence-link {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s2);
  }
  .capture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3);
  }
  .capture-image {
    padding: var(--s3);
  }
  .capture-image img {
    height: auto;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
  }
  .capture-caption {
    padding: var(--s3);
  }
  .capture-caption .pill {
    font-size: 10px;
    padding: 3px 6px;
    white-space: normal;
  }
  .capture-caption p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .capture-empty {
    height: 240px;
  }
  .detail-grid,
  .schedule-grid,
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .original-capture > img {
    max-width: 100%;
    height: auto;
  }
  .answer .row-between {
    flex-direction: column;
    gap: var(--s3);
  }
  .answer h3 {
    font-size: var(--text-lg);
  }
  .answer textarea {
    font-size: 16px;
  }
  .answer .copy-button {
    align-self: flex-end;
  }
  .release,
  .milestone {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s2);
  }
  .form-layout {
    margin-top: 0;
    gap: var(--s6);
  }
  .form-intro {
    padding-top: 0;
  }
  .form-intro dl {
    margin-top: var(--s5);
  }
  .form-intro h2 {
    font-size: var(--title);
  }
  .form-panel input,
  .login-panel input {
    font-size: 16px;
  }
  .private-link {
    grid-template-columns: minmax(0, 1fr);
  }
  .private-link .button {
    margin-top: var(--s2);
  }
  .request {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s3);
  }
  .request form {
    width: 100%;
  }
  .request button {
    margin-top: 0;
  }
  .managed-app > .row-between {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .admin-stats {
    gap: var(--s3);
    font-size: var(--text-xs);
  }
  .login-panel {
    margin-top: var(--s4);
  }
  footer {
    flex-direction: column;
    gap: var(--s1);
    margin-top: var(--s8);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  button,
  .button,
  .theme-button,
  .filter {
    transition: none;
  }
}
@media (max-width: 900px) {
  .stage-foot {
    grid-column: 1 / -1;
  }
  .stage-heading {
    grid-column: 1 / -1;
  }
  .stage .kv {
    grid-column: 1 / -1;
  }
  .pipeline-loop {
    margin-bottom: var(--s10);
  }
}

.test-complete .step-number {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok);
}
.test-complete .step-number .icon {
  width: 14px;
  height: 14px;
}
.stage.test-complete {
  border-color: var(--ok);
}
