.seatbelt-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seatbelt-notice {
  border-left: 3px solid #b59a48;
  background: #fffaf0;
  padding: 12px 15px;
  color: #75654c;
  font-size: 12px;
  line-height: 1.65;
}
.seatbelt-notice p {
  margin: 5px 0 0;
}
.seatbelt-pilot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #6e657b;
}
.seatbelt-reference {
  color: #867a96;
}
.seatbelt-metrics {
  display: flex;
  gap: 12px;
  margin: 4px 0;
}
.seatbelt-metric {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e9e5ef;
  border-radius: 5px;
  padding: 13px 16px;
}
.seatbelt-metric span {
  display: block;
  font-size: 12px;
  color: #796b8b;
}
.seatbelt-metric strong {
  display: block;
  font-size: 25px;
  color: #504263;
  margin-top: 8px;
  font-weight: 600;
}
.seatbelt-metric small {
  display: block;
  font-size: 10px;
  color: #9a90a5;
  margin-top: 4px;
}
.seatbelt-tabs,
.seatbelt-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.seatbelt-pagination > span {
  margin-right: auto;
  font-size: 12px;
  color: #867892;
}
.seatbelt-filter {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  border: 1px solid #e7e1ef;
  border-radius: 5px;
  padding: 14px;
}
.seatbelt-filter label {
  flex: 1;
  min-width: 130px;
}
.seatbelt-shell label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #746780;
}
.seatbelt-shell input:not([type="checkbox"]),
.seatbelt-shell select,
.seatbelt-shell textarea {
  width: 100%;
  height: 35px;
  box-sizing: border-box;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #ded6e8;
  border-radius: 3px;
  font:
    13px Arial,
    "Segoe UI",
    sans-serif;
  color: #51405d;
}
.seatbelt-shell textarea {
  height: auto;
  resize: vertical;
}
.seatbelt-message {
  font-size: 12px;
  margin: 0;
  color: #82768e;
}
.seatbelt-message.is-error {
  color: #b73f51;
}
.seatbelt-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.seatbelt-card {
  background: #fff;
  border: 1px solid #e7e1ee;
  border-radius: 5px;
  overflow: hidden;
}
.seatbelt-thumb {
  aspect-ratio: 16/9;
  background: #efedf4;
  overflow: hidden;
}
.seatbelt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seatbelt-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
}
.seatbelt-card-body > small {
  font-size: 10px;
  color: #877892;
  line-height: 1.6;
}
.seatbelt-card-body .button {
  font-size: 11px;
}
.seatbelt-status {
  font-size: 10px;
  color: #83768d;
  background: #f2eff6;
  padding: 4px 7px;
  border-radius: 3px;
}
.seatbelt-status.seatbelt-prepared {
  color: #4a7552;
  background: #edf6ee;
}
.seatbelt-status.seatbelt-insufficient {
  color: #997327;
  background: #fcf4df;
}
.seatbelt-status.seatbelt-rejected {
  color: #8a5963;
  background: #f8ecef;
}
.seatbelt-empty {
  font-size: 13px;
  color: #8d8098;
  grid-column: 1/-1;
  padding: 28px;
  background: #fff;
  text-align: center;
}
.seatbelt-editor:empty {
  display: none;
}
.seatbelt-review-panel {
  padding: 18px;
}
.seatbelt-help,
.seatbelt-footnote {
  font-size: 11px;
  line-height: 1.75;
  color: #897b96;
}
.seatbelt-stage {
  position: relative;
  min-width: 0;
  background: #16121a;
  line-height: 0;
}
.seatbelt-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.seatbelt-stage img[hidden] {
  display: none;
}
.seatbelt-stage > span {
  display: block;
  padding: 50px;
  color: #a999b5;
  line-height: 1.5;
}
.seatbelt-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.seatbelt-stage svg rect {
  stroke: #e4cf7b;
  stroke-width: 2;
  fill: #c9ac5433;
  vector-effect: non-scaling-stroke;
}
.seatbelt-stage svg text {
  font-family: Arial, sans-serif;
  font-size: 22px;
  fill: #ffefa3;
}
.seatbelt-people {
  margin: 15px 0;
}
.seatbelt-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee7f4;
}
.seatbelt-person-row strong {
  font-size: 12px;
  min-width: 72px;
}
.seatbelt-person-row label {
  flex: 1;
}
.seatbelt-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0;
}
.seatbelt-checks label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}
.seatbelt-shell input[type="checkbox"] {
  accent-color: #7569b3;
  margin-top: 2px;
}
.seatbelt-shell form .toolbar-actions {
  margin-top: 12px;
  flex-wrap: wrap;
}
.seatbelt-shell [data-editor-message] {
  font-size: 12px;
  line-height: 1.7;
  color: #b73f51;
}
.seatbelt-proof {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.seatbelt-original-proof {
  flex: 3;
  min-width: 0;
  background: #16121a;
}
.seatbelt-original-proof img {
  display: block;
  max-height: 560px;
  width: 100%;
  object-fit: contain;
}
.seatbelt-proof-crops {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seatbelt-proof-crops img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  background: #f0ecf5;
}
.seatbelt-proof-crops small {
  font-size: 11px;
  color: #887391;
}
.seatbelt-hash {
  font-size: 11px;
  color: #9683a3;
  margin: 13px 0;
}
.seatbelt-hash code {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin-top: 8px;
}
.seatbelt-audit {
  margin-top: 20px;
  border-top: 1px solid #eee7f4;
  padding-top: 12px;
}
.seatbelt-audit h3 {
  font-size: 13px;
  color: #81708f;
}
.seatbelt-audit p {
  font-size: 11px;
  line-height: 1.7;
  color: #96869f;
}
.seatbelt-overview {
  margin: 16px 0;
  padding: 16px;
}
@media (max-width: 1250px) {
  .seatbelt-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seatbelt-person-row {
    flex-wrap: wrap;
  }
  .seatbelt-person-row label {
    min-width: 210px;
  }
}
@media (max-width: 800px) {
  .seatbelt-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seatbelt-metrics {
    flex-wrap: wrap;
  }
  .seatbelt-metric {
    flex-basis: 35%;
  }
  .seatbelt-proof {
    flex-direction: column;
  }
  .seatbelt-original-proof,
  .seatbelt-proof-crops {
    width: 100%;
  }
  .seatbelt-proof-crops {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .seatbelt-proof-crops > article,
  .seatbelt-proof-crops > div {
    width: 45%;
  }
}
@media (max-width: 450px) {
  .seatbelt-feed {
    grid-template-columns: 1fr;
  }
  .seatbelt-filter {
    flex-direction: column;
    align-items: stretch;
  }
  .seatbelt-filter label {
    width: 100%;
    min-width: 0;
  }
  .seatbelt-person-row {
    align-items: stretch;
    flex-direction: column;
  }
  .seatbelt-person-row label {
    min-width: 0;
  }
  .seatbelt-review-panel {
    padding: 12px;
  }
  .seatbelt-metric {
    padding: 10px;
  }
  .seatbelt-metric small {
    font-size: 9px;
  }
  .seatbelt-stage > span {
    padding: 25px;
  }
  .seatbelt-pilot {
    line-height: 1.7;
  }
}

.seatbelt-feed {
  display: block;
}
.seatbelt-table-scroll {
  overflow-x: auto;
  border: 1px solid #e5deed;
  background: #fff;
  border-radius: 4px;
}
.seatbelt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font:
    12px Arial,
    "Segoe UI",
    sans-serif;
}
.seatbelt-table th {
  text-align: left;
  padding: 12px;
  color: #807089;
  background: #faf8fd;
  font-weight: 500;
}
.seatbelt-table td {
  vertical-align: middle;
  padding: 12px;
  border-top: 1px solid #eee7f4;
  color: #665374;
}
.seatbelt-table td small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #96829f;
  margin-top: 6px;
}
.seatbelt-table td strong {
  font-size: 11px;
}
.seatbelt-table .seatbelt-thumb {
  width: 150px;
  min-width: 150px;
}
.seatbelt-visible-confirm {
  flex-direction: row !important;
  align-items: flex-start;
  margin: 14px 0;
  padding: 12px;
  background: #f9f6ef;
  line-height: 1.7;
}
.seatbelt-stage svg {
  z-index: 2;
  pointer-events: auto !important;
}
.seatbelt-stage svg rect,
.seatbelt-stage svg text {
  pointer-events: none;
}
.seatbelt-stage img {
  pointer-events: none;
  user-select: none;
}
