:root {
  color-scheme: light;
  --ink: #171714;
  --ink-soft: #55544d;
  --paper: #fffdf7;
  --canvas: #efede5;
  --line: #d8d5ca;
  --line-dark: #a9a69c;
  --signal: #ff7448;
  --signal-soft: #ffe4da;
  --success: #11745a;
  --success-soft: #dff2eb;
  --warning: #aa4a29;
  --muted: #77756d;
  --shadow: 0 24px 80px rgba(33, 31, 25, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.topbar {
  height: 78px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 23, 20, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-left: 6px solid var(--signal);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.08em;
}

.brand-word {
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.topbar-label,
.eyebrow {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  padding: 72px 0 58px;
}

.eyebrow {
  margin: 0 0 24px;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(58px, 9vw, 112px);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero-intro {
  max-width: 680px;
  margin: 35px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.018em;
}

.hero-intro strong {
  color: var(--ink);
  font-weight: 650;
}

.review-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 38px;
}

.review-fields label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-fields input {
  min-width: 0;
  padding: 13px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  text-transform: none;
}

.review-fields input:focus {
  border-color: var(--signal);
  box-shadow: 0 2px 0 var(--signal);
}

.progress-panel {
  min-height: 370px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.progress-ring {
  --progress: 0deg;
  width: 178px;
  height: 178px;
  padding: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--signal) var(--progress),
    #383833 var(--progress)
  );
  transition: background 350ms ease;
}

.progress-ring-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--ink);
}

.progress-ring strong {
  font-size: 48px;
  letter-spacing: -0.06em;
}

.progress-ring span {
  margin-top: 3px;
  color: #aaa9a1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.progress-copy {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  text-align: center;
}

.progress-copy strong {
  font-size: 21px;
}

.progress-copy > span {
  color: #aaa9a1;
  font-size: 14px;
}

.progress-meta {
  width: 100%;
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #3c3c37;
  color: #c2c1ba;
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
}

.dot-critical {
  background: var(--signal);
}

.dot-muted {
  background: #85847d;
}

.identity-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr 1fr;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.identity-strip article {
  min-width: 0;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
}

.identity-strip article:first-child {
  padding-left: 0;
}

.identity-strip article:last-child {
  border-right: 0;
}

.identity-strip span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.identity-strip strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.working-note {
  margin: 55px 0 30px;
  padding: 27px 30px;
  display: flex;
  gap: 18px;
  border: 1px solid #efb9a5;
  border-radius: 16px;
  background: var(--signal-soft);
}

.working-note-icon {
  font-size: 24px;
  line-height: 1;
}

.working-note strong {
  font-size: 15px;
}

.working-note p {
  max-width: 880px;
  margin: 6px 0 0;
  color: #6d3c2c;
  font-size: 14px;
  line-height: 1.55;
}

.toolbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 24px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 36px rgba(32, 31, 26, 0.09);
  backdrop-filter: blur(18px);
}

.search-wrap {
  flex: 1 1 210px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
}

.search-wrap svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.filter-group {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.filter {
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.filter.active {
  background: var(--ink);
  color: white;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.button {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.button-quiet {
  background: transparent;
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button:hover,
.filter:hover,
.text-button:hover,
.na-button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.filter:focus-visible,
.na-button:focus-visible,
.text-button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 116, 72, 0.35);
  outline-offset: 2px;
}

.sync-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--ink-soft);
  font-size: 13px;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.sync-indicator {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--line-dark);
}

.sync-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sync-copy strong {
  color: var(--ink);
  font-size: 13px;
}

.sync-copy > span {
  color: var(--ink-soft);
  font-size: 12px;
}

.sync-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sync-actions button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-weight: 650;
  font-size: 11px;
}

.sync-banner[data-status='synced'],
.sync-banner[data-status='viewer'] {
  border-color: #a8d4c5;
  background: var(--success-soft);
  color: #174e40;
}

.sync-banner[data-status='synced'] .sync-indicator,
.sync-banner[data-status='viewer'] .sync-indicator {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(17, 116, 90, 0.12);
}

.sync-banner[data-status='saving'],
.sync-banner[data-status='loading'] {
  border-color: #efb9a5;
  background: var(--signal-soft);
  color: #6d3c2c;
}

.sync-banner[data-status='saving'] .sync-indicator,
.sync-banner[data-status='loading'] .sync-indicator {
  border: 2px solid rgba(170, 74, 41, 0.25);
  border-top-color: var(--warning);
  background: transparent;
  animation: spin 800ms linear infinite;
}

.sync-banner[data-status='error'] {
  border-color: #e5a392;
  background: #f9ded7;
  color: #7d2f1f;
}

.sync-banner[data-status='error'] .sync-indicator {
  background: #b9402b;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.read-only .item-check,
body.read-only .na-button,
body.read-only .evidence-input,
body.read-only .review-fields input,
body.read-only .signoff-check {
  cursor: not-allowed;
}

body.read-only .check-item {
  background: var(--paper);
}

body.read-only .item-check:disabled,
body.read-only .evidence-input:disabled,
body.read-only .review-fields input:disabled {
  opacity: 0.78;
}

.checklist {
  display: grid;
  gap: 16px;
}

.check-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(37, 36, 30, 0.035);
}

.check-section[hidden] {
  display: none;
}

.section-summary {
  list-style: none;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.section-summary::-webkit-details-marker {
  display: none;
}

.section-number {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.section-title {
  display: grid;
  gap: 5px;
}

.section-title strong {
  font-size: 21px;
  letter-spacing: -0.035em;
}

.section-title span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.section-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
}

.section-bar {
  width: 76px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.section-bar i {
  display: block;
  width: var(--section-progress);
  height: 100%;
  border-radius: inherit;
  background: var(--success);
  transition: width 250ms ease;
}

.chevron {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.check-section[open] .chevron {
  transform: rotate(225deg);
}

.section-items {
  border-top: 1px solid var(--line);
}

.check-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 15px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    opacity 180ms ease;
}

.check-item:last-child {
  border-bottom: 0;
}

.check-item:hover {
  background: #fbf9f2;
}

.check-item[hidden] {
  display: none;
}

.check-item.status-done {
  background: #f8fcfa;
}

.check-item.status-na {
  opacity: 0.63;
  background: #f4f3ee;
}

.item-check {
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  border: 1.5px solid var(--line-dark);
  border-radius: 7px;
  background: white;
  cursor: pointer;
}

.item-check::before {
  content: '';
  width: 11px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  transition:
    opacity 100ms ease,
    transform 120ms ease;
}

.item-check:checked {
  border-color: var(--success);
  background: var(--success);
}

.item-check:checked::before {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.item-body {
  min-width: 0;
}

.item-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.item-heading label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.35;
}

.status-done .item-heading label {
  color: #4e615b;
  text-decoration: line-through;
  text-decoration-color: #97ada5;
}

.badge {
  padding: 4px 6px 3px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.badge-critical {
  background: var(--signal-soft);
  color: #9b3c20;
}

.badge-conditional {
  background: #ebe9e1;
  color: #5f5c54;
}

.item-detail {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.evidence-input {
  width: min(100%, 620px);
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: 0;
  background: #f1efe8;
  color: var(--ink);
  font-size: 12px;
}

.evidence-input::placeholder {
  color: #77756d;
}

.evidence-input:focus {
  border-color: var(--line-dark);
  background: white;
}

.na-button {
  align-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.status-na .na-button {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
  color: white;
}

.empty-state {
  padding: 80px 30px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state strong {
  display: block;
  font-size: 20px;
}

.empty-state span {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 14px;
}

.signoff-card {
  margin-top: 46px;
  padding: clamp(28px, 5vw, 55px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
}

.signoff-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.055em;
}

.signoff-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 0;
  color: #aaa9a1;
  font-size: 14px;
  line-height: 1.6;
}

.signoff-card .eyebrow {
  color: var(--signal);
}

.signoff-check {
  padding: 22px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 15px;
  border: 1px solid #4b4b45;
  border-radius: 15px;
  cursor: pointer;
}

.signoff-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--signal);
}

.signoff-check span {
  display: grid;
  gap: 8px;
}

.signoff-check b {
  font-size: 14px;
  line-height: 1.45;
}

.signoff-check small {
  color: #aaa9a1;
}

.footer-actions {
  padding: 24px 0 75px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.text-button {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
}

.text-button.danger {
  color: #a9422a;
}

footer {
  padding: 25px clamp(22px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 48px));
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.share-dialog {
  width: min(620px, calc(100% - 30px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(20, 20, 17, 0.28);
}

.share-dialog::backdrop {
  background: rgba(23, 23, 20, 0.56);
  backdrop-filter: blur(5px);
}

.share-dialog-card {
  padding: 31px;
}

.share-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.share-dialog-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--signal);
}

.share-dialog-heading h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.055em;
}

.dialog-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.share-dialog-intro {
  margin: 14px 0 25px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.share-link-group {
  margin-top: 13px;
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.share-link-group > span:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.share-link-group b {
  font-size: 14px;
}

.share-link-group small {
  color: var(--ink-soft);
  font-size: 11px;
}

.share-link-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.share-link-control input {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f0e9;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.share-link-control button {
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.share-dialog-note {
  margin: 15px 0 20px;
  padding: 13px 15px;
  display: flex;
  gap: 10px;
  border-radius: 10px;
  background: var(--signal-soft);
  color: #6d3c2c;
}

.share-dialog-note span {
  color: var(--signal);
  font-size: 10px;
  line-height: 1.8;
}

.share-dialog-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.dialog-done {
  width: 100%;
}

@media (max-width: 970px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .progress-panel {
    min-height: 0;
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 30px;
  }

  .progress-ring {
    grid-row: span 2;
    width: 150px;
    height: 150px;
  }

  .progress-meta {
    margin-top: 14px;
  }

  .identity-strip {
    grid-template-columns: 1fr 1fr;
  }

  .identity-strip article:nth-child(2) {
    border-right: 0;
  }

  .identity-strip article:first-child {
    padding-left: 22px;
  }

  .identity-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .search-wrap {
    flex-basis: calc(100% - 10px);
  }

  .toolbar-actions {
    margin-left: auto;
  }

  .sync-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sync-actions {
    width: 100%;
    margin-left: 22px;
  }
}

@media (max-width: 690px) {
  .topbar {
    height: 64px;
    padding: 0 20px;
  }

  .topbar-label {
    display: none;
  }

  main {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 0;
    padding-top: 55px;
  }

  h1 {
    font-size: clamp(51px, 17vw, 74px);
  }

  .hero-intro {
    font-size: 18px;
  }

  .review-fields,
  .signoff-card {
    grid-template-columns: 1fr;
  }

  .share-dialog-card {
    padding: 24px 18px;
  }

  .share-link-group > span:first-child {
    display: grid;
    gap: 4px;
  }

  .progress-panel {
    padding: 30px 22px;
    display: flex;
  }

  .identity-strip {
    grid-template-columns: 1fr;
  }

  .identity-strip article {
    padding: 18px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .identity-strip article:first-child {
    padding-left: 10px;
  }

  .identity-strip article:last-child {
    border-bottom: 0;
  }

  .working-note {
    padding: 22px;
  }

  .toolbar {
    position: relative;
    top: 0;
  }

  .filter-group {
    width: 100%;
  }

  .filter {
    flex: 1;
  }

  .toolbar-actions {
    width: 100%;
    margin-left: 0;
  }

  .toolbar-actions .button {
    flex: 1;
  }

  .section-summary {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 21px 18px;
  }

  .section-number {
    width: 38px;
    height: 38px;
  }

  .section-title strong {
    font-size: 17px;
  }

  .section-title span,
  .section-bar {
    display: none;
  }

  .section-status {
    gap: 8px;
  }

  .check-item {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 20px 18px;
  }

  .na-button {
    grid-column: 2;
    justify-self: start;
  }

  .signoff-card {
    gap: 28px;
  }

  footer {
    flex-direction: column;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  body {
    background: white;
    font-size: 10pt;
  }

  .topbar,
  .working-note,
  .toolbar,
  .sync-banner,
  .share-dialog,
  .footer-actions,
  .toast {
    display: none !important;
  }

  main {
    width: 100%;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr 230px;
    gap: 28px;
    padding: 0 0 24px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 13px;
  }

  .review-fields {
    margin-top: 18px;
  }

  .progress-panel {
    min-height: 0;
    padding: 18px;
    color: var(--ink);
    background: white;
    border: 1px solid var(--ink);
    box-shadow: none;
  }

  .progress-ring-inner {
    background: white;
  }

  .progress-copy > span,
  .progress-meta,
  .progress-ring span {
    color: var(--ink-soft);
  }

  .identity-strip {
    margin-bottom: 24px;
  }

  .checklist {
    gap: 10px;
  }

  .check-section {
    break-inside: avoid;
    box-shadow: none;
  }

  .section-summary {
    padding: 14px 16px;
  }

  .check-item {
    padding: 12px 16px;
    break-inside: avoid;
  }

  .evidence-input {
    padding: 5px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .signoff-card {
    margin-top: 20px;
    padding: 25px;
    color: var(--ink);
    background: white;
    border: 2px solid var(--ink);
  }

  .signoff-card p:not(.eyebrow),
  .signoff-check small {
    color: var(--ink-soft);
  }

  footer {
    padding: 20px 0 0;
  }
}
