#handoff-view {
  --hf-panel: var(--surface, #161f22);
  --hf-panel-strong: var(--surface, #161f22);
  --hf-line: var(--line, #2d3b3e);
  --hf-line-soft: rgb(45 59 62 / 58%);
  --hf-cyan-wash: rgb(196 231 144 / 9%);
  --hf-green: var(--cyan, #c4e790);
  --hf-amber: var(--warning, #ffca5c);
  --hf-red: var(--danger, #ff6f79);
  color: var(--text, #eef1e9);
}

#handoff-view .hf-shell {
  display: grid;
  gap: 18px;
}

#handoff-view .hf-mono,
#handoff-view code,
#handoff-view pre {
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-variant-numeric: tabular-nums;
}

#handoff-view .hf-hero,
#handoff-view .hf-section,
#handoff-view .hf-boundary {
  border: 1px solid var(--hf-line);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow, 0 24px 70px rgb(2 8 9 / 32%));
}

#handoff-view .hf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  gap: 34px;
  padding: clamp(32px, 5vw, 62px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgb(196 231 144 / 12%), transparent 26rem),
    linear-gradient(130deg, rgb(24 34 36 / 98%), rgb(14 22 24 / 98%));
}

#handoff-view .hf-hero::before,
#handoff-view .hf-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

#handoff-view .hf-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgb(126 153 145 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(126 153 145 / 5%) 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: linear-gradient(105deg, transparent 7%, #000 76%, transparent 100%);
}

#handoff-view .hf-hero::after {
  top: -150px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 1px solid rgb(196 231 144 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgb(196 231 144 / 2.5%), 0 0 0 92px rgb(196 231 144 / 2%);
}

#handoff-view .hf-hero-copy,
#handoff-view .hf-export-card,
#handoff-view .hf-snapshot-strip {
  position: relative;
  z-index: 1;
}

#handoff-view .hf-eyebrow,
#handoff-view .hf-section-index {
  margin: 0;
  color: var(--cyan, #c4e790);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

#handoff-view .hf-eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
}

#handoff-view .hf-eyebrow > span {
  width: 22px;
  height: 1px;
  background: var(--cyan, #c4e790);
  box-shadow: 0 0 10px rgb(196 231 144 / 58%);
}

#handoff-view .hf-hero h1 {
  max-width: 760px;
  margin: 16px 0 18px;
  color: var(--text, #eef1e9);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
}

#handoff-view .hf-hero h1 em {
  color: var(--cyan, #c4e790);
  font-style: normal;
  text-shadow: 0 0 30px rgb(196 231 144 / 20%);
}

#handoff-view .hf-lead {
  max-width: 780px;
  margin: 0;
  color: var(--muted, #a3b0ad);
  font-size: 15px;
  line-height: 1.8;
}

#handoff-view .hf-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

#handoff-view .hf-hero-tags span {
  padding: 6px 9px;
  border: 1px solid rgb(91 112 106 / 48%);
  border-radius: 6px;
  background: rgb(13 21 23 / 48%);
  color: var(--muted, #a3b0ad);
  font-size: 11px;
}

#handoff-view .hf-export-card {
  align-self: center;
  padding: 21px;
  border: 1px solid rgb(196 231 144 / 27%);
  border-radius: 12px;
  background: rgb(13 21 23 / 72%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%), 0 18px 45px rgb(2 8 9 / 28%);
  backdrop-filter: blur(14px);
}

#handoff-view .hf-export-heading {
  display: flex;
  gap: 11px;
  align-items: center;
}

#handoff-view .hf-live-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan, #c4e790);
  box-shadow: 0 0 0 5px rgb(196 231 144 / 8%), 0 0 16px rgb(196 231 144 / 48%);
}

#handoff-view .hf-export-heading div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#handoff-view .hf-export-heading small {
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

#handoff-view .hf-export-heading strong {
  overflow: hidden;
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#handoff-view .hf-export-card > p {
  margin: 17px 0 19px;
  color: var(--muted, #a3b0ad);
  font-size: 12px;
  line-height: 1.65;
}

#handoff-view .hf-export-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#handoff-view .hf-button {
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid var(--line-strong, #3b5f83);
  border-radius: 8px;
  background: rgb(28 41 42 / 76%);
  color: var(--text, #eef1e9);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

#handoff-view .hf-button:hover {
  border-color: var(--cyan, #c4e790);
  background: rgb(35 51 51 / 90%);
  transform: translateY(-1px);
}

#handoff-view .hf-button.is-primary {
  border-color: var(--cyan, #c4e790);
  background: var(--cyan, #c4e790);
  color: #032037;
}

#handoff-view .hf-button.is-primary:hover {
  background: var(--cyan-soft, #a5eafa);
}

#handoff-view .hf-export-live {
  display: block;
  min-height: 17px;
  margin-top: 9px;
  color: var(--cyan-soft, #a5eafa);
  font-size: 10px;
  text-align: center;
}

#handoff-view .hf-snapshot-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.1fr .9fr 1fr 1.2fr;
  margin: 7px 0 -26px;
  border: 1px solid var(--hf-line-soft);
  border-radius: 10px;
  background: rgb(12 20 22 / 54%);
}

#handoff-view .hf-snapshot-strip > div {
  min-width: 0;
  padding: 13px 17px;
}

#handoff-view .hf-snapshot-strip > div + div {
  border-left: 1px solid var(--hf-line-soft);
}

#handoff-view .hf-snapshot-strip dt {
  margin-bottom: 5px;
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

#handoff-view .hf-snapshot-strip dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text, #f3f7ff);
  font-size: 11px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#handoff-view .hf-inline-state.is-verified { color: var(--hf-green); }
#handoff-view .hf-inline-state.is-running { color: var(--cyan, #35d3f1); }
#handoff-view .hf-inline-state.is-blocked { color: var(--hf-red); }
#handoff-view .hf-inline-state.is-neutral { color: var(--muted, #9aabc2); }
#handoff-view .hf-divider { padding: 0 6px; color: var(--muted-quiet, #72839c); }

#handoff-view .hf-section {
  padding: clamp(23px, 3vw, 35px);
  background: linear-gradient(145deg, var(--hf-panel-strong), var(--hf-panel));
}

#handoff-view .hf-section-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 25px;
}

#handoff-view .hf-section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -.025em;
}

#handoff-view .hf-section-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted, #9aabc2);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

#handoff-view .hf-bridge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

#handoff-view .hf-capability-card,
#handoff-view .hf-scope-card,
#handoff-view .hf-schema-card {
  border: 1px solid var(--hf-line-soft);
  border-radius: 11px;
  background: rgb(4 17 38 / 50%);
}

#handoff-view .hf-capability-card > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--hf-line-soft);
}

#handoff-view .hf-card-kicker {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--hf-line);
  border-radius: 8px;
  color: var(--cyan, #35d3f1);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .05em;
}

#handoff-view .hf-capability-card > header div {
  display: grid;
  gap: 3px;
}

#handoff-view .hf-capability-card > header strong {
  font-size: 15px;
}

#handoff-view .hf-capability-card > header small {
  color: var(--muted, #9aabc2);
  font-size: 10px;
}

#handoff-view .hf-card-state {
  padding: 5px 7px;
  border: 1px solid currentcolor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
}

#handoff-view .hf-capability-card.is-ready .hf-card-state { color: var(--hf-green); }
#handoff-view .hf-capability-card.is-pending .hf-card-state { color: var(--hf-amber); }
#handoff-view .hf-capability-card.is-pending .hf-card-kicker { color: var(--hf-amber); }

#handoff-view .hf-capability-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 17px 12px;
  list-style: none;
}

#handoff-view .hf-capability-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 0;
}

#handoff-view .hf-capability-list li + li {
  border-top: 1px solid var(--hf-line-soft);
}

#handoff-view .hf-capability-list li > span {
  padding-top: 2px;
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 9px;
}

#handoff-view .hf-capability-list li div {
  display: grid;
  gap: 5px;
}

#handoff-view .hf-capability-list strong {
  font-size: 12px;
}

#handoff-view .hf-capability-list small {
  color: var(--muted, #9aabc2);
  font-size: 10px;
  line-height: 1.55;
}

#handoff-view .hf-bridge {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--cyan, #35d3f1);
}

#handoff-view .hf-bridge span {
  margin-bottom: 8px;
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#handoff-view .hf-bridge i {
  width: 1px;
  height: 58px;
  background: linear-gradient(transparent, var(--cyan, #35d3f1), transparent);
}

#handoff-view .hf-bridge b {
  display: grid;
  width: 27px;
  height: 27px;
  margin-top: 4px;
  place-items: center;
  border: 1px solid rgb(53 211 241 / 42%);
  border-radius: 50%;
  background: var(--hf-cyan-wash);
  font-size: 15px;
}

#handoff-view .hf-evidence-layout {
  display: grid;
  grid-template-columns: minmax(235px, .66fr) minmax(0, 1.34fr);
  gap: 14px;
}

#handoff-view .hf-scope-card {
  padding: 17px;
}

#handoff-view .hf-scope-label {
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

#handoff-view .hf-scope-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 12px 0 17px;
  padding: 4px;
  border: 1px solid var(--hf-line-soft);
  border-radius: 9px;
  background: rgb(2 12 29 / 62%);
}

#handoff-view .hf-scope-tabs button {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted, #9aabc2);
  cursor: pointer;
}

#handoff-view .hf-scope-tabs button:hover {
  color: var(--text, #f3f7ff);
}

#handoff-view .hf-scope-tabs button.is-active {
  border-color: rgb(53 211 241 / 42%);
  background: var(--hf-cyan-wash);
  color: var(--cyan-soft, #a5eafa);
  box-shadow: inset 0 0 18px rgb(53 211 241 / 4%);
}

#handoff-view .hf-scope-tabs strong { font-size: 12px; }
#handoff-view .hf-scope-tabs small { font-size: 9px; }

#handoff-view .hf-target-profile {
  display: grid;
  gap: 0;
  margin: 0;
}

#handoff-view .hf-target-profile div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hf-line-soft);
}

#handoff-view .hf-target-profile dt {
  color: var(--muted-quiet, #72839c);
  font-size: 9px;
}

#handoff-view .hf-target-profile dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text, #f3f7ff);
  font-size: 9px;
  text-align: right;
}

#handoff-view .hf-scope-warning {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  margin: 15px 0 0;
  color: var(--muted, #9aabc2);
  font-size: 10px;
  line-height: 1.6;
}

#handoff-view .hf-scope-warning span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--cyan, #35d3f1);
  border-radius: 50%;
  color: var(--cyan, #35d3f1);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 9px;
}

#handoff-view .hf-claims {
  display: grid;
  gap: 7px;
}

#handoff-view .hf-claim {
  display: grid;
  grid-template-columns: 9px minmax(145px, .55fr) auto minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid var(--hf-line-soft);
  border-radius: 9px;
  background: rgb(4 17 38 / 48%);
}

#handoff-view .hf-claim-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-quiet, #72839c);
}

#handoff-view .hf-claim.is-verified .hf-claim-mark { background: var(--hf-green); box-shadow: 0 0 11px rgb(143 230 76 / 45%); }
#handoff-view .hf-claim.is-running .hf-claim-mark { background: var(--cyan, #35d3f1); box-shadow: 0 0 11px rgb(53 211 241 / 45%); }
#handoff-view .hf-claim.is-pending .hf-claim-mark { background: var(--hf-amber); }
#handoff-view .hf-claim.is-blocked .hf-claim-mark { background: var(--hf-red); }

#handoff-view .hf-claim-copy {
  display: grid;
  gap: 3px;
}

#handoff-view .hf-claim-copy span {
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

#handoff-view .hf-claim-copy strong { font-size: 12px; }

#handoff-view .hf-claim-status {
  min-width: 92px;
  padding: 5px 7px;
  border: 1px solid currentcolor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

#handoff-view .hf-claim.is-verified .hf-claim-status { color: var(--hf-green); }
#handoff-view .hf-claim.is-running .hf-claim-status { color: var(--cyan, #35d3f1); }
#handoff-view .hf-claim.is-pending .hf-claim-status { color: var(--hf-amber); }
#handoff-view .hf-claim.is-blocked .hf-claim-status { color: var(--hf-red); }
#handoff-view .hf-claim.is-none .hf-claim-status { color: var(--muted, #9aabc2); }

#handoff-view .hf-claim > p {
  margin: 0;
  color: var(--muted, #9aabc2);
  font-size: 10px;
  line-height: 1.55;
}

#handoff-view .hf-protocol-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 14px;
}

#handoff-view .hf-checklist {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#handoff-view .hf-checklist li {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 10px 13px;
  border: 1px solid var(--hf-line-soft);
  border-radius: 9px;
  background: rgb(4 17 38 / 48%);
}

#handoff-view .hf-checklist li > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--hf-line);
  border-radius: 6px;
  color: var(--muted-quiet, #72839c);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
}

#handoff-view .hf-checklist li > div {
  display: grid;
  gap: 4px;
}

#handoff-view .hf-checklist strong {
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 11px;
}

#handoff-view .hf-checklist small {
  color: var(--muted, #9aabc2);
  font-size: 9px;
  line-height: 1.5;
}

#handoff-view .hf-checklist li > b {
  max-width: 150px;
  overflow: hidden;
  color: var(--hf-green);
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#handoff-view .hf-checklist li.is-pending > b { color: var(--hf-amber); }

#handoff-view .hf-schema-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
}

#handoff-view .hf-schema-card > header {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hf-line-soft);
}

#handoff-view .hf-schema-card > header div {
  display: grid;
  gap: 3px;
}

#handoff-view .hf-schema-card > header span {
  color: var(--cyan, #35d3f1);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .11em;
}

#handoff-view .hf-schema-card > header strong { font-size: 12px; }
#handoff-view .hf-schema-card > header small { color: var(--muted, #9aabc2); font-size: 9px; }

#handoff-view .hf-schema-card pre {
  min-height: 315px;
  max-height: 430px;
  margin: 0;
  padding: 18px;
  overflow: auto;
  background: rgb(2 12 28 / 76%);
  color: #bde9f5;
  font-size: 10px;
  line-height: 1.72;
  tab-size: 2;
}

#handoff-view .hf-schema-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 11px 16px;
  border-top: 1px solid var(--hf-line-soft);
  color: var(--muted, #9aabc2);
  font-size: 9px;
}

#handoff-view .hf-schema-card footer code { color: var(--cyan-soft, #a5eafa); }

#handoff-view .hf-boundary {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-color: rgb(255 202 92 / 30%);
  background: linear-gradient(90deg, rgb(255 202 92 / 7%), rgb(8 25 49 / 76%));
  box-shadow: none;
}

#handoff-view .hf-boundary > div {
  display: grid;
  flex: 0 0 auto;
  gap: 4px;
}

#handoff-view .hf-boundary span {
  color: var(--hf-amber);
  font-family: var(--font-mono, "SFMono-Regular", Menlo, monospace);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}

#handoff-view .hf-boundary strong { font-size: 12px; }

#handoff-view .hf-boundary p {
  max-width: 760px;
  margin: 0;
  color: var(--muted, #9aabc2);
  font-size: 10px;
  line-height: 1.65;
  text-align: right;
}

@media (max-width: 1050px) {
  #handoff-view .hf-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 25px;
  }

  #handoff-view .hf-snapshot-strip {
    grid-template-columns: 1fr 1fr;
  }

  #handoff-view .hf-snapshot-strip > div:nth-child(3) {
    border-left: 0;
  }

  #handoff-view .hf-snapshot-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--hf-line-soft);
  }

  #handoff-view .hf-evidence-layout,
  #handoff-view .hf-protocol-grid {
    grid-template-columns: 1fr;
  }

  #handoff-view .hf-scope-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px 20px;
    align-items: start;
  }

  #handoff-view .hf-scope-label { grid-column: 1 / -1; }
  #handoff-view .hf-scope-tabs { margin: 0; }
  #handoff-view .hf-scope-warning { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  #handoff-view .hf-hero {
    grid-template-columns: 1fr;
    padding: 29px 23px;
  }

  #handoff-view .hf-export-card {
    width: 100%;
  }

  #handoff-view .hf-snapshot-strip {
    margin-bottom: -12px;
  }

  #handoff-view .hf-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  #handoff-view .hf-section-heading > p { text-align: left; }

  #handoff-view .hf-bridge-grid {
    grid-template-columns: 1fr;
  }

  #handoff-view .hf-bridge {
    flex-direction: row;
    min-height: 35px;
  }

  #handoff-view .hf-bridge span { margin: 0 8px 0 0; }
  #handoff-view .hf-bridge i { width: 52px; height: 1px; }
  #handoff-view .hf-bridge b { margin: 0 0 0 4px; transform: rotate(90deg); }

  #handoff-view .hf-claim {
    grid-template-columns: 9px minmax(0, 1fr) auto;
  }

  #handoff-view .hf-claim > p {
    grid-column: 2 / -1;
  }

  #handoff-view .hf-boundary {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  #handoff-view .hf-boundary p { text-align: left; }
}

@media (max-width: 520px) {
  #handoff-view .hf-hero h1 { font-size: 32px; }

  #handoff-view .hf-export-actions,
  #handoff-view .hf-snapshot-strip,
  #handoff-view .hf-scope-card {
    grid-template-columns: 1fr;
  }

  #handoff-view .hf-snapshot-strip > div + div {
    border-top: 1px solid var(--hf-line-soft);
    border-left: 0;
  }

  #handoff-view .hf-scope-label { grid-column: auto; }
  #handoff-view .hf-scope-warning { grid-column: auto; }

  #handoff-view .hf-claim {
    grid-template-columns: 9px minmax(0, 1fr);
  }

  #handoff-view .hf-claim-status {
    grid-column: 2;
    justify-self: start;
  }

  #handoff-view .hf-claim > p { grid-column: 2; }

  #handoff-view .hf-checklist li {
    grid-template-columns: 31px minmax(0, 1fr);
  }

  #handoff-view .hf-checklist li > b {
    grid-column: 2;
    justify-self: start;
  }

  #handoff-view .hf-schema-card > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

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