.top nav { display:flex; gap:22px; }
.comparison .frame, .comparison .reference .frame {
  position:relative;
  aspect-ratio:650 / 730;
  height:auto;
}
.photo-marks { position:absolute; inset:0; pointer-events:none; }
.photo-marks[hidden] { display:none; }
.analysis-panel {
  margin-top:20px;
  display:grid;
  grid-template-columns:1.15fr 1fr 1.13fr;
  gap:16px;
}
.analysis-panel section {
  min-width:0;
  padding:15px 17px;
  border:1px solid #c1c8bb;
  border-radius:5px;
  background:#f7f3e8;
}
h2 { margin:0 0 10px; font:22px/1.18 Georgia,serif; }
p { margin:8px 0 0; }
.method { font-size:13px; color:#4d6056; }
.analysis-panel input[type="range"] { width:100%; display:block; margin:5px 0 12px; accent-color:#2f5348; }
.control-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; }
#legend { margin-top:8px; font-size:12px; }
#legend span { display:inline-block; margin:0 4px 4px 0; padding:2px 5px; border-radius:3px; }
.photo-key { background:#2f5348; color:#fff9ea; }
.collar-key { background:#ffd18d; }
.blade-key { background:#b0e7e3; }
table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
th, td { padding:5px 3px; text-align:right; border-bottom:1px solid #d4d8cb; }
th:first-child { text-align:left; }
tbody th { font-weight:500; }
@media(max-width:780px) {
  .comparison .reference .frame { max-width:380px; }
  .comparison figure:not(.reference) { display:flex; flex-direction:column; }
  .comparison figure:not(.reference) .frame { margin-top:auto; flex-shrink:0; }
  .analysis-panel { grid-template-columns:1fr; }
}
