.sr-webb-mat {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  padding: clamp(18px, 4vw, 58px);
  border-radius: clamp(12px, 1.3vw, 22px);
  background: #b7cad0;
  color: #283847;
}
.sr-webb-sheet {
  width: 100%;
  max-width: 860px;
  padding: clamp(12px, 2.2vw, 30px);
  border-radius: 7px;
  background: #fffdf7;
  box-shadow: 0 3px 0 rgb(52 52 48 / 14%);
}
.sr-webb-sheet > strong {
  display: block;
  border-bottom: 1px solid #c6cdd1;
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.2;
}
.sr-webb-comparison {
  --split: 50%;
  position: relative;
  aspect-ratio: 420 / 197;
  isolation: isolate;
  cursor: ew-resize;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.sr-webb-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.sr-webb-layer + .sr-webb-layer { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.sr-webb-divider {
  position: absolute;
  inset-block: 0;
  left: var(--split);
  width: 3px;
  transform: translateX(-50%);
  background: #fffdf7;
  pointer-events: none;
}
.sr-webb-divider > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #283847;
  color: #283847;
  background: #fffdf7;
  font: 700 20px/1 system-ui, sans-serif;
  white-space: nowrap;
}
.sr-webb-comparison input[type=range] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.sr-webb-comparison:focus-within { outline: 3px solid #68579b; outline-offset: 3px; }
.sr-webb-legend { display: flex; justify-content: space-between; padding-top: 8px; font-size: .88rem; font-weight: 600; }
.sr-webb-mat p { font-size: .92rem; text-align: center; }
