:root {
  color-scheme: light;
  --ink: #171a18;
  --muted: #5d6560;
  --line: #d9dfda;
  --line-strong: #aeb8b1;
  --paper: #ffffff;
  --surface: #f4f7f4;
  --surface-2: #eaf0eb;
  --green: #176b43;
  --green-strong: #0f5534;
  --blue: #235f9e;
  --amber: #9b6200;
  --red: #a33131;
  --focus: #1b68b3;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(23, 26, 24, 0.08);
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.6; letter-spacing: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 2px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.narrow-shell { width: min(calc(100% - 40px), 640px); margin: 0 auto; }

.site-header { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px); }
.top-nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 210px; }
.brand > span:last-child { display: grid; line-height: 1.15; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); margin-top: 4px; font-size: 11px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 3px; width: 19px; height: 19px; }
.brand-mark span { display: block; background: var(--ink); }
.brand-mark span:nth-child(2) { background: var(--green); }
.brand-mark span:nth-child(3) { background: var(--blue); }
.brand-mark span:nth-child(4) { background: #c83f38; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 700; }

.status-ribbon { background: var(--ink); color: white; }
.ribbon-grid { min-height: 38px; display: grid; grid-template-columns: repeat(5, max-content); justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; }
.ribbon-grid span { color: #cdd4cf; }
.ribbon-grid strong { color: white; margin-right: 4px; }

.intro-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.intro-grid { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); align-items: center; gap: 70px; padding: 54px 0 62px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.intro-copy h1 { margin: 0; max-width: 780px; font-size: 58px; line-height: 1.08; font-weight: 800; }
.lede { max-width: 720px; margin: 24px 0 0; font-size: 18px; color: #3f4742; line-height: 1.75; }
.intro-actions { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { min-height: 42px; border: 1px solid transparent; border-radius: var(--radius); padding: 9px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; font-weight: 750; font-size: 13px; transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: white; border-color: var(--green); }
.button.primary:hover { background: var(--green-strong); border-color: var(--green-strong); }
.button.secondary { background: white; color: var(--ink); border-color: var(--line-strong); }
.button.secondary:hover { border-color: var(--ink); }
.button.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.button.danger { background: var(--red); color: white; }
.button.full { width: 100%; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.text-link span { color: var(--green); margin-left: 4px; }
.principle-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.principle-line span::before { content: ""; width: 5px; height: 5px; display: inline-block; background: var(--green); margin: 0 8px 2px 0; }

.cohort-visual { border-left: 1px solid var(--line-strong); padding-left: 40px; }
.visual-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.visual-header span { color: var(--muted); font-size: 12px; }
.visual-header strong { font-size: 13px; }
.cohort-grid { display: grid; grid-template-columns: repeat(5, minmax(42px, 1fr)); gap: 8px; }
.cohort-cell { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line-strong); background: white; color: #8a938d; font-size: 11px; }
.cohort-cell.is-filled { background: var(--green); border-color: var(--green); color: white; }
.cohort-visual > p { color: var(--muted); font-size: 12px; margin: 18px 0 0; }

.section-band { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(320px, 0.65fr); gap: 60px; align-items: end; margin-bottom: 34px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2, .evidence-grid h2, .apply-context h2, .boundary-grid h2 { margin: 0; font-size: 30px; line-height: 1.2; }
.section-heading > p { margin: 0; color: var(--muted); }
.work-band { background: white; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.work-item { min-height: 260px; padding: 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.work-id { color: var(--green); font-size: 11px; font-weight: 800; }
.work-item h3 { margin: 36px 0 10px; font-size: 18px; line-height: 1.35; }
.work-item p { margin: 0; color: var(--muted); font-size: 13px; }
.work-meta { margin-top: auto; padding-top: 24px; display: grid; gap: 4px; font-size: 11px; }
.work-meta span { color: var(--muted); }
.work-meta strong { color: var(--green); }
.work-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.work-footer p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }

.artifact-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.artifact-hero-grid { min-height: 470px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 76px; align-items: center; padding: 64px 0; }
.artifact-hero h1 { max-width: 760px; margin: 0; font-size: 48px; line-height: 1.12; }
.artifact-facts { margin: 0; border-top: 1px solid var(--line-strong); }
.artifact-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.artifact-facts dt { color: var(--muted); font-size: 11px; }
.artifact-facts dd { margin: 0; font-size: 12px; font-weight: 750; }
.artifact-question-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.artifact-question-grid article { min-height: 230px; padding: 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.artifact-question-grid article > span, .artifact-track-grid article > span { color: var(--green); font-size: 10px; font-weight: 800; }
.artifact-question-grid h3, .artifact-track-grid h3 { margin: 34px 0 10px; font-size: 19px; line-height: 1.35; }
.artifact-question-grid p, .artifact-track-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.artifact-track-band { background: #edf2f5; }
.artifact-track-grid { display: grid; grid-template-columns: 0.7fr repeat(2, 1fr); border-top: 1px solid #b9c5cd; border-left: 1px solid #b9c5cd; }
.artifact-track-grid > * { min-height: 270px; padding: 26px; border-right: 1px solid #b9c5cd; border-bottom: 1px solid #b9c5cd; }
.artifact-track-grid .track-intro { background: #e2e9ed; }
.artifact-track-grid h2 { margin: 0; font-size: 28px; line-height: 1.25; }
.artifact-track-grid .track-intro > p:last-child { color: var(--muted); font-size: 12px; }
.artifact-track-grid article { display: flex; flex-direction: column; }
.artifact-track-grid article strong { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: 11px; }
.artifact-task-band { background: white; }
#tasks { scroll-margin-top: 88px; }
.artifact-task-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.artifact-task-list li { min-height: 76px; display: grid; grid-template-columns: 70px minmax(220px, 0.55fr) 1fr; align-items: center; gap: 26px; border-bottom: 1px solid var(--line); }
.artifact-task-list li > span { color: var(--green); font-size: 11px; font-weight: 800; }
.artifact-task-list strong { font-size: 14px; }
.artifact-task-list p { margin: 0; color: var(--muted); font-size: 12px; }
.artifact-protocol-band { background: var(--ink); color: white; }
.artifact-protocol-band .eyebrow { color: #7dd8aa; }
.artifact-protocol-grid { display: grid; grid-template-columns: minmax(230px, 0.45fr) 1fr; gap: 70px; }
.artifact-protocol-grid h2 { margin: 0; font-size: 30px; line-height: 1.25; }
.artifact-protocol-grid ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #414744; }
.artifact-protocol-grid li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid #414744; }
.artifact-protocol-grid li > span { color: #7dd8aa; font-size: 10px; font-weight: 800; }
.artifact-protocol-grid strong { font-size: 14px; }
.artifact-protocol-grid p { margin: 3px 0 0; color: #b8c0bb; font-size: 11px; }
.artifact-contribute-band { background: var(--surface); }
.artifact-role-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.artifact-role-grid span { min-height: 76px; display: grid; place-items: center start; padding: 18px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: white; font-size: 12px; font-weight: 750; }
.artifact-role-grid span::before { content: ""; width: 7px; height: 7px; margin-bottom: 10px; background: var(--green); }
.artifact-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.artifact-cta > div { display: grid; gap: 4px; }
.artifact-cta p { margin: 0; color: var(--muted); font-size: 12px; }

.evidence-band { background: #edf2f5; }
.evidence-grid { display: grid; grid-template-columns: 0.8fr 1.3fr 0.55fr; gap: 60px; align-items: start; }
.evidence-grid > div:first-child > p:last-child { color: var(--muted); }
.role-bars { display: grid; gap: 12px; }
.role-row > div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.role-row strong { color: var(--muted); }
.role-track { display: block; height: 6px; background: #d8e0e5; margin-top: 5px; }
.role-track span { display: block; height: 100%; background: var(--blue); min-width: 2px; }
.source-stat { border-left: 1px solid #b9c5cd; padding-left: 30px; }
.source-stat > strong { display: block; font-size: 58px; line-height: 1; }
.source-stat > span { font-weight: 800; }
.source-stat p { color: var(--muted); font-size: 12px; }

.process-band { background: var(--ink); color: white; }
.process-band .eyebrow { color: #7dd8aa; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #414744; border-left: 1px solid #414744; }
.process-list li { min-height: 190px; padding: 22px; border-right: 1px solid #414744; border-bottom: 1px solid #414744; display: flex; flex-direction: column; gap: 36px; }
.process-list li > span { color: #7dd8aa; font-size: 11px; font-weight: 800; }
.process-list strong { font-size: 16px; }
.process-list p { color: #b8c0bb; font-size: 12px; margin: 7px 0 0; }

.apply-band { background: var(--surface); padding-top: 88px; }
.apply-layout { display: grid; grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr); align-items: start; gap: 72px; }
.apply-context { position: sticky; top: 106px; }
.apply-context > p:not(.eyebrow):not(.privacy-note) { color: var(--muted); font-size: 16px; }
.apply-context dl { margin: 28px 0; border-top: 1px solid var(--line); }
.apply-context dl div { display: grid; grid-template-columns: 110px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.apply-context dt { color: var(--muted); }
.apply-context dd { margin: 0; font-weight: 700; }
.privacy-note { font-size: 11px; color: var(--muted); }
.privacy-note.centered { text-align: center; max-width: 520px; }
.form-panel { background: white; border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.application-form fieldset { border: 0; margin: 0; padding: 30px; border-bottom: 1px solid var(--line); }
.application-form legend { width: 100%; margin: 0 0 22px; padding: 0; font-size: 17px; font-weight: 800; }
.application-form legend span { color: var(--green); font-size: 11px; margin-right: 10px; }
.form-grid { display: grid; gap: 20px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-grid { margin-top: 24px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 750; }
.field > span small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; background: white; color: var(--ink); padding: 10px 11px; min-height: 42px; }
.field textarea { min-height: 126px; resize: vertical; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: 2px solid color-mix(in srgb, var(--focus) 15%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field > small, .field-help { color: var(--muted); font-size: 10px; }
.field-error { color: var(--red); font-size: 11px; margin: 0; font-weight: 700; }
.textarea-field + .textarea-field { margin-top: 20px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check-option { min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12px; }
.check-option:has(input:checked) { border-color: var(--green); background: #eff8f2; }
.check-option input, .consent-row input { accent-color: var(--green); width: 16px; height: 16px; flex: 0 0 auto; }
.number-field { display: grid; grid-template-columns: 1fr 50px; align-items: center; border: 1px solid var(--line-strong); border-radius: 4px; }
.number-field input { border: 0; }
.number-field span { color: var(--muted); font-size: 12px; }
.commitment-fieldset { display: grid; gap: 11px; }
.consent-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; cursor: pointer; }
.consent-row input { margin-top: 2px; }
.submit-row { padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.submit-row > div { display: grid; }
.submit-row span { color: var(--muted); font-size: 11px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 22px 30px 0; border-left: 3px solid var(--red); background: #fff1f1; color: #731f1f; padding: 12px 14px; font-size: 12px; }
.form-alert.success { border-color: var(--green); background: #eff8f2; color: var(--green-strong); }

.boundary-band { background: #f7f1e4; }
.boundary-grid { display: grid; grid-template-columns: 0.5fr 1fr; gap: 70px; }
.boundary-grid ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cdbf9d; }
.boundary-grid li { padding: 13px 0 13px 25px; border-bottom: 1px solid #cdbf9d; position: relative; }
.boundary-grid li::before { content: "×"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

.result-band { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 70px 0; background: var(--surface); }
.result-layout { display: flex; flex-direction: column; align-items: flex-start; }
.result-mark { width: 54px; height: 54px; display: grid; place-items: center; background: var(--green); color: white; font-size: 25px; margin-bottom: 24px; }
.result-layout h1, .narrow-shell h1 { margin: 0; font-size: 38px; line-height: 1.2; }
.result-layout > p:not(.eyebrow):not(.privacy-note), .narrow-shell > p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.receipt-block { width: 100%; margin: 24px 0; border: 1px solid var(--line-strong); background: white; }
.receipt-block > div { padding: 16px; display: grid; gap: 5px; border-bottom: 1px solid var(--line); }
.receipt-block > div:last-child { border: 0; }
.receipt-block span { color: var(--muted); font-size: 11px; }
.receipt-block code { overflow-wrap: anywhere; font-size: 13px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.withdraw-form { margin-top: 26px; padding: 24px; background: white; border: 1px solid var(--line-strong); display: grid; gap: 18px; }

.document-band { padding: 72px 0 100px; background: var(--surface); }
.document-layout { display: grid; grid-template-columns: 280px minmax(0, 700px); gap: 80px; align-items: start; }
.document-layout aside { position: sticky; top: 110px; }
.document-layout aside h1 { margin: 0 0 24px; font-size: 36px; line-height: 1.2; }
.prose { background: white; border-top: 4px solid var(--ink); padding: 10px 40px 42px; }
.prose h2 { margin: 32px 0 8px; font-size: 19px; }
.prose p { margin: 0; color: #454d48; }

.site-footer { background: var(--ink); color: white; }
.footer-inner { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner > div { display: grid; gap: 3px; }
.footer-inner > div:last-child { text-align: right; }
.footer-inner span { color: #9fa8a2; font-size: 10px; }
.footer-inner a { color: white; font-size: 12px; }

.admin-body { background: var(--surface); }
.admin-nav .nav-links { gap: 18px; }
.admin-band { min-height: calc(100vh - 178px); padding: 44px 0 80px; }
.admin-shell { width: min(calc(100% - 36px), 1320px); }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }
.admin-heading h1, .detail-heading h1 { margin: 0; font-size: 32px; line-height: 1.2; }
.admin-heading p:not(.eyebrow), .detail-heading p { margin: 8px 0 0; color: var(--muted); }
.detail-heading > div { min-width: 0; }
.detail-heading h1, .detail-heading p, .candidate-evidence a { overflow-wrap: anywhere; word-break: break-word; }
.admin-actions { display: flex; align-items: center; gap: 9px; }
.admin-actions form { margin: 0; }
.quiet-label { color: var(--muted); font-size: 12px; }
.metrics-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); background: white; }
.metric { min-height: 120px; padding: 16px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); display: grid; align-content: space-between; }
.metric > span, .metric > small { color: var(--muted); font-size: 10px; }
.metric > strong { font-size: 28px; }
.table-toolbar { margin: 24px 0 10px; overflow-x: auto; }
.filter-links { display: flex; gap: 7px; min-width: max-content; }
.filter-links a { padding: 6px 9px; border: 1px solid var(--line); background: white; border-radius: 4px; text-decoration: none; color: var(--muted); font-size: 10px; }
.filter-links a[aria-current="page"] { color: white; background: var(--ink); border-color: var(--ink); }
.data-table-wrap { width: 100%; overflow-x: auto; background: white; border: 1px solid var(--line-strong); }
.data-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.data-table th { text-align: left; padding: 10px 13px; background: #eef2ef; color: var(--muted); font-size: 10px; border-bottom: 1px solid var(--line-strong); }
.data-table td { padding: 13px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 12px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #fafcfb; }
.table-primary { display: block; font-weight: 800; }
.data-table small { display: block; color: var(--muted); margin-top: 3px; font-size: 9px; }
.empty-cell { color: var(--muted); text-align: center; padding: 42px !important; }
.status { display: inline-flex; min-height: 23px; align-items: center; padding: 2px 7px; border-radius: 3px; background: #e9eeeb; color: #4f5852; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-new, .status-discovered { background: #e8f0fa; color: var(--blue); }
.status-interview, .status-ready_for_outreach { background: #fff2d8; color: var(--amber); }
.status-committed, .status-replied, .status-applied { background: #e1f3e8; color: var(--green); }
.status-declined, .status-do_not_contact { background: #f9e3e3; color: var(--red); }

.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: 12px; text-decoration: none; }
.detail-heading { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 24px; }
.detail-grid, .candidate-review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.detail-content, .candidate-evidence { background: white; border: 1px solid var(--line-strong); }
.detail-content section { padding: 24px; border-bottom: 1px solid var(--line); }
.detail-content section:last-child { border-bottom: 0; }
.detail-content h2, .candidate-evidence h2, .review-panel h2, .brief-layout h2 { margin: 0 0 12px; font-size: 16px; }
.detail-content p { margin: 0; color: #3f4742; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 5px 8px; border: 1px solid var(--line); background: var(--surface); font-size: 10px; }
.review-panel { background: white; border: 1px solid var(--line-strong); padding: 22px; position: sticky; top: 92px; }
.review-facts { margin: 0; border-top: 1px solid var(--line); }
.review-facts div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.review-facts dt { color: var(--muted); font-size: 9px; }
.review-facts dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 12px; }
.review-form { display: grid; gap: 15px; margin-top: 22px; }
.review-form textarea { min-height: 130px; }
.candidate-evidence { padding: 24px; }
.source-list { border-top: 1px solid var(--line-strong); }
.source-row { display: grid; grid-template-columns: 50px 1fr minmax(300px, 0.7fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.source-priority { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--ink); font-weight: 800; font-size: 10px; }
.source-row h2 { margin: 3px 0 5px; font-size: 16px; }
.source-row p { margin: 0; color: var(--muted); font-size: 11px; }
.source-row span, .source-row small { color: var(--muted); font-size: 9px; }
.source-row > div:last-child strong { color: var(--green); font-size: 10px; }

.brief-layout { display: grid; grid-template-columns: 1.4fr repeat(2, 0.7fr); gap: 16px; }
.brief-primary, .brief-panel, .brief-boundary { background: white; border: 1px solid var(--line-strong); padding: 20px; }
.brief-primary { grid-row: span 2; }
.brief-actions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.brief-actions li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.brief-actions li > span { width: 28px; height: 28px; display: grid; place-items: center; background: var(--green); color: white; font-size: 10px; font-weight: 800; }
.brief-actions p { margin: 4px 0; color: var(--muted); font-size: 11px; }
.brief-actions small { color: var(--blue); }
.brief-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.brief-boundary { background: #f7f1e4; }
.brief-boundary ul { margin: 0; padding-left: 18px; font-size: 11px; }
.audit-table code { display: block; max-width: 520px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 9px; color: var(--muted); }

.admin-login-band { min-height: calc(100vh - 178px); display: grid; place-items: center; padding: 50px 20px; background: var(--surface); }
.admin-login-panel { width: min(100%, 420px); background: white; border: 1px solid var(--line-strong); padding: 30px; box-shadow: var(--shadow); }
.admin-login-panel h1 { margin: 0; font-size: 27px; }
.admin-login-panel > p:not(.eyebrow) { color: var(--muted); }
.admin-login-panel form { display: grid; gap: 18px; margin-top: 24px; }

@media (max-width: 980px) {
  .ribbon-grid { grid-template-columns: repeat(3, max-content); justify-content: start; padding: 8px 0; }
  .intro-grid, .apply-layout, .evidence-grid, .document-layout, .artifact-hero-grid, .artifact-protocol-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 42px; }
  .artifact-hero-grid { gap: 42px; }
  .cohort-visual { border-left: 0; border-top: 1px solid var(--line-strong); padding: 30px 0 0; }
  .work-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .artifact-track-grid { grid-template-columns: 1fr 1fr; }
  .artifact-track-grid .track-intro { grid-column: span 2; min-height: 0; }
  .artifact-role-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-context, .document-layout aside { position: static; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid, .candidate-review-grid { grid-template-columns: 1fr; }
  .review-panel { position: static; }
  .brief-layout { grid-template-columns: 1fr 1fr; }
  .brief-primary { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 720px) {
  .shell, .admin-shell, .narrow-shell { width: min(calc(100% - 24px), var(--shell)); }
  .site-header { position: static; }
  .top-nav { align-items: flex-start; padding: 13px 0; flex-direction: column; gap: 12px; }
  .nav-links { width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .status-ribbon { overflow-x: auto; }
  .ribbon-grid { min-width: max-content; grid-template-columns: repeat(5, max-content); }
  .intro-grid { min-height: 0; padding: 42px 0 48px; }
  .intro-copy h1 { font-size: 38px; }
  .artifact-hero h1 { font-size: 36px; }
  .lede { font-size: 16px; }
  .section-band { padding: 54px 0; }
  .section-heading, .boundary-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-grid, .process-list { grid-template-columns: 1fr; }
  .work-footer, .artifact-cta { align-items: stretch; flex-direction: column; }
  .work-footer .button, .artifact-cta .button { width: 100%; }
  .work-item { min-height: 210px; }
  .artifact-question-grid, .artifact-track-grid, .artifact-role-grid { grid-template-columns: 1fr; }
  .artifact-track-grid .track-intro { grid-column: auto; }
  .artifact-question-grid article, .artifact-track-grid > * { min-height: 0; }
  .artifact-task-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; }
  .artifact-task-list p { grid-column: 2; }
  .process-list li { min-height: 150px; gap: 22px; }
  .form-grid.two, .check-grid { grid-template-columns: 1fr; }
  .application-form fieldset { padding: 24px 18px; }
  .submit-row { padding: 20px 18px; align-items: stretch; flex-direction: column; }
  .submit-row .button { width: 100%; }
  .source-stat { border-left: 0; border-top: 1px solid #b9c5cd; padding: 22px 0 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; }
  .footer-inner > div:last-child { text-align: left; }
  .admin-heading, .detail-heading { align-items: flex-start; flex-direction: column; }
  .detail-heading h1 { font-size: 28px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .source-row { grid-template-columns: 42px 1fr; }
  .source-row > div:last-child { grid-column: 2; }
  .brief-layout { grid-template-columns: 1fr; }
  .brief-primary { grid-column: auto; }
  .prose { padding: 8px 20px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
