.application-nav{border-bottom:1px solid #dce3ed;background:#fff;scroll-margin-top:90px}.application-nav .wrap{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding-block:16px}.application-nav a{padding:10px 16px;border:1px solid #c9d3e1;border-radius:5px;font-size:1rem;color:#132d4e}.application-nav a.case-link{background:#132d4e;color:white}.wpc-case{scroll-margin-top:110px}.wpc-case h2{max-width:850px}.wpc-case figure{margin:0}.wpc-case img{display:block;width:100%;height:auto;border-radius:10px}.wpc-case figcaption{font-size:1rem;line-height:1.7;margin-top:14px}
.wpc-case .case-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.wpc-case .case-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #e8edf2;
}
.wpc-case .case-gallery h3 { font-size: 1.15rem; margin-block: 0 8px; }
@media (max-width: 700px) {
  .wpc-case .case-gallery {
    grid-template-columns: repeat(4, 76%);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
  }
  .wpc-case .case-gallery figure { scroll-snap-align: start; }
  .application-nav .wrap { gap: 8px; }
  .application-nav a { padding: 9px 12px; }
}

/* Keep the callout on the pictured roll, including in letterboxed thumbnails. */
.wpc-roll-frame {
  --frame-height: 170px;
  min-height: var(--frame-height);
  container-type: inline-size;
  background: #e8edf2;
  border-radius: 10px;
}
.wpc-roll-photo {
  width: min(100%, calc(var(--frame-height) * 4 / 3));
  margin-inline: auto;
  padding-top: max(0px, calc((var(--frame-height) - 75cqw) / 2));
}
.compact-door .wpc-case .case-gallery .wpc-roll-photo img {
  height: auto;
  aspect-ratio: 4 / 3;
}
.wpc-roll-note {
  position: relative;
  border: 0;
  padding: 0;
}
.wpc-roll-note summary {
  position: absolute;
  left: calc(13% - 10px);
  bottom: 100%;
  /* Vertical percentage margins use the photo width: 39% of its 4:3 height. */
  margin-bottom: 29.25%;
  transform: translateY(50%);
  display: inline-flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0 4px;
  min-height: 44px;
  max-width: 87%;
  box-sizing: border-box;
  line-height: 1.15;
}
.wpc-roll-note summary::after,
.wpc-roll-note[open] summary::after {
  content: none;
}
.wpc-roll-dot {
  flex: 0 0 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #20384a;
  box-shadow: 0 0 0 1px #24333e99;
}
.wpc-roll-name {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 3px;
  background: #fffffff2;
  color: #192c3c;
  font: 600 .8125rem/1.2 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.wpc-roll-name::before {
  content: "";
  position: absolute;
  right: 100%;
  width: 7px;
  border-top: 1px solid #fff;
  box-shadow: 0 1px 0 #24333e80;
}
.wpc-roll-note summary:focus-visible {
  outline: 2px solid #fff;
  box-shadow: 0 0 0 4px #193d57;
  border-radius: 4px;
}
.wpc-roll-label {
  display: block;
  padding: 8px 10px;
  border-inline-start: 2px solid #b17d2c;
  background: #f7f9fa;
  color: #192c3c;
  font-size: .875rem;
  line-height: 1.4;
  text-align: start;
}
@media (max-width: 700px) {
  .wpc-roll-frame { --frame-height: 125px; }
}
