.review-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 18px;
}
.review-controls fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.review-controls legend {
  color: #546861;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 6px;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.size-options label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.size-options label,
.review-controls button {
  border: 1px solid #b7c1b5;
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 42px;
  color: #253538;
  background: #fffaf0;
  font: inherit;
  cursor: pointer;
}
.size-options input { accent-color: #326658; margin: 0; }
.size-options label:has(:checked) { background: #e1ece1; border-color: #6e9081; }
.review-controls button:focus-visible,
.review-notes summary:focus-visible { outline: 2px solid #326658; outline-offset: 3px; }
#load-status:empty { display: none; }
.proof-grid { gap: 12px; }
#trunk-comparison { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#mixed-comparison { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-grid figure {
  margin: 0;
  border: 1px solid #d9d9cc;
  background: #fffaf0;
  border-radius: 12px;
  overflow: hidden;
}
.proof-image {
  display: grid;
  place-items: center;
  background: #eae6da;
  padding: 0;
}
.proof-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.proof-grid figcaption { padding: 10px 12px 12px; }
.proof-grid figcaption strong { display: block; }
.proof-grid figcaption span { display: block; font-size: 13px; color: #546861; margin-top: 4px; }
[data-size="128"] .proof-image,
[data-size="64"] .proof-image { padding: 14px 0; }
[data-size="128"] .proof-image img { width: 128px; }
[data-size="64"] .proof-image img { width: 64px; }
[data-size="600"] #trunk-comparison,
[data-size="600"] #mixed-comparison { grid-template-columns: repeat(auto-fit, minmax(min(100%, 600px), 1fr)); }
[data-size="600"] .proof-image img { width: 600px; max-width: 100%; }
.review-notes {
  margin-top: 36px;
  border-top: 1px solid #cfd6cb;
  padding-top: 16px;
}
.review-notes summary { cursor: pointer; font-weight: 700; }
.review-notes p { color: #546861; }
.decision-table-wrap { overflow-x: auto; }
.review-notes table { border-collapse: collapse; width: 100%; background: #fffaf0; }
.review-notes caption { text-align: left; padding: 6px 0; color: #546861; font-size: 13px; }
.review-notes th, .review-notes td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dedfd4; vertical-align: top; }
.review-notes td:nth-child(2) { font-weight: 650; white-space: nowrap; }
@media (max-width: 1100px) {
  #trunk-comparison { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  #trunk-comparison, #mixed-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-notes th, .review-notes td { padding: 8px; }
}
@media (max-width: 320px) {
  [data-size="128"] #trunk-comparison, [data-size="128"] #mixed-comparison { grid-template-columns: 1fr; }
}

.comparison-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px 16px; }
