.merchant-summary {
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
}

.merchant-summary::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--green);
}

.merchant-summary.review::before {
  background: #e09b24;
}

.merchant-summary.working::before {
  background: var(--blue);
}

.merchant-summary.attention::before {
  background: #f75b52;
}

.merchant-summary.privacy::before {
  background: #4da2ff;
}

.merchant-summary .section-label {
  margin: 0 0 11px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.merchant-summary h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.merchant-summary > p:last-child {
  max-width: 500px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.merchant-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.merchant-outcome {
  position: relative;
  min-width: 0;
  min-height: 138px;
  padding: 15px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  border-radius: 10px;
}

.merchant-outcome::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green);
}

.merchant-outcome.review::before,
.merchant-outcome.next-step::before {
  background: #e09b24;
}

.merchant-outcome.working::before {
  background: var(--blue);
}

.merchant-outcome.attention::before {
  background: var(--red);
}

.merchant-outcome.privacy::before {
  background: var(--blue);
}

.merchant-outcome-label,
.merchant-outcome strong,
.merchant-outcome p {
  display: block;
}

.merchant-outcome-label {
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 500;
}

.merchant-outcome strong {
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.merchant-outcome p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.merchant-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px;
  gap: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 10px;
}

.merchant-next-step strong,
.merchant-next-step span {
  display: block;
}

.merchant-next-step strong {
  font-size: 12px;
}

.merchant-next-step span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.4;
}

.merchant-next-step .secondary-button {
  flex: 0 0 auto;
}

.technical-footnote {
  margin: 14px 0 2px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.technical-footnote button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  font-weight: 500;
}

.destination-stack {
  display: grid;
  gap: 12px;
}

.destination-card {
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  border-radius: 10px;
}

.destination-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  gap: 12px;
  box-shadow: 0 1px 0 var(--line);
}

.destination-card-header h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.destination-card-header p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 10px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.result-badge.clear {
  color: var(--green);
  background: var(--green-soft);
}

.result-badge.blocked {
  color: var(--red);
  background: var(--red-soft);
}

.result-badge.review {
  color: var(--amber);
  background: var(--amber-soft);
}

.result-badge.working {
  color: var(--blue);
  background: var(--blue-soft);
}

.destination-content {
  padding: 14px;
}

.destination-outcome {
  padding: 13px;
  background: var(--green-soft);
  border-radius: 8px;
}

.destination-outcome.review,
.destination-outcome.next-step {
  background: var(--amber-soft);
}

.destination-outcome.working {
  background: var(--blue-soft);
}

.destination-outcome.attention {
  background: var(--red-soft);
}

.destination-outcome strong,
.destination-outcome p {
  display: block;
}

.destination-outcome strong {
  font-size: 13px;
  line-height: 1.35;
}

.destination-outcome p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.real-world-note {
  margin: 9px 2px 0;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.5;
}

.merchant-finding-group {
  margin-top: 16px;
}

.merchant-finding-group > h4 {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
}

.merchant-finding-list {
  display: grid;
  gap: 8px;
}

.merchant-finding {
  padding: 13px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 8px;
}

.merchant-finding > strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.merchant-finding > p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.merchant-action {
  padding-top: 8px;
  box-shadow: 0 -1px 0 var(--line);
}

.merchant-action span {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-muted);
  font-family: "Geist Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.technical-disclosure {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 9.5px;
}

.technical-disclosure summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 500;
}

.technical-disclosure-body {
  margin-top: 8px;
  padding: 10px;
  overflow: hidden;
  color: var(--ink-soft);
  background: var(--paper);
  box-shadow: var(--shadow-border);
  border-radius: 6px;
}

.technical-disclosure-body strong,
.technical-disclosure-body p {
  display: block;
}

.technical-disclosure-body p {
  margin: 5px 0 0;
  line-height: 1.45;
}

.technical-disclosure-body pre {
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px;
  overflow: auto;
  color: var(--ink-soft);
  background: var(--surface);
  border-radius: 5px;
  font-family: "Geist Mono", monospace;
  font-size: 8.5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.finding-group {
  margin-top: 14px;
}

.finding-group-title {
  display: flex;
  align-items: center;
  margin: 0 0 7px;
  gap: 6px;
  color: var(--ink-soft);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.finding-dot {
  width: 7px;
  height: 7px;
  background: var(--ink-muted);
  border-radius: 50%;
}

.finding-group.blockers .finding-dot {
  background: var(--red);
}

.finding-group.recommendations .finding-dot {
  background: var(--amber);
}

.finding-group.observations .finding-dot {
  background: var(--blue);
}

.finding-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.finding-item {
  padding: 10px 11px;
  background: var(--surface);
  border-radius: 7px;
}

.finding-item strong,
.finding-item span {
  display: block;
}

.finding-item strong {
  margin-bottom: 3px;
  font-size: 11px;
}

.finding-item span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.data-table-wrap {
  overflow-x: auto;
  box-shadow: var(--shadow-border);
  border-radius: 8px;
}

.data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 10px;
}

.data-table th,
.data-table td {
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  box-shadow: 0 1px 0 var(--line);
}

.data-table th {
  color: var(--ink-muted);
  background: var(--surface);
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.data-table td {
  color: var(--ink-soft);
  line-height: 1.4;
}

.data-table td.mono {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
}

.data-table tr:last-child td {
  box-shadow: none;
}

.name-value {
  color: var(--ink);
  font-weight: 500;
}

.validator-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.validator-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  padding: 10px;
  gap: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 7px;
}

.validator-severity {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  background: var(--ink-muted);
  border-radius: 50%;
}

.validator-item.severity-error .validator-severity {
  background: var(--red);
}

.validator-item.severity-warning .validator-severity {
  background: var(--amber);
}

.validator-item.severity-information .validator-severity {
  background: var(--blue);
}

.validator-code {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.validator-message {
  display: block;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.validator-pointer {
  display: block;
  margin-top: 5px;
  color: var(--ink-muted);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.empty-section {
  padding: 24px;
  color: var(--ink-muted);
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 40px));
  padding: 13px 15px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}
