.hpd {position:relative;left:50%;transform:translateX(-50%);width:min(1100px,calc(100vw - 52px))!important;max-width:none!important;margin:clamp(2rem,4vw,3.5rem) 0!important;color:#142b42;scroll-margin-top:70px}
.hpd * {box-sizing:border-box}
.hp-content .hpd h2 {font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;letter-spacing:-.045em;margin:0 0 .6rem;color:#102641}
.hpd .hpd-intro {max-width:73ch;line-height:1.5;margin:0 0 1.2rem}
.hpd [hidden] {display:none!important}
.hpd-studio {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;border:1px solid #cfd8df;border-radius:9px;overflow:clip}
.hpd-stage {min-width:0;align-self:start;display:flex;flex-direction:column;align-items:center;background:#e9e6e1;position:sticky;top:32px}
.hpd-sides {display:flex;padding:3px;gap:2px;margin:.72rem;border:1px solid #a9b3bc;border-radius:30px;background:#fbfbfb}
.hpd button {color:#183047;cursor:pointer;font-family:inherit}
.hpd-sides button {border:0;padding:.5rem 1.05rem;border-radius:26px;background:transparent;font-size:.92rem;font-weight:700;min-height:40px}
.hpd-sides button[aria-pressed=true] {background:#142c47;color:#fff}
.hpd figure {margin:0;width:100%;text-align:center}
.hpd figure img {width:100%;height:auto;display:block;aspect-ratio:512/510}
.hpd figure figcaption {font-weight:700;font-size:.93rem;background:#f6f4f1;color:#233749;padding:.6rem;margin:0}
.hpd-controls {min-width:0;padding:clamp(.9rem,2.1vw,1.65rem)}
.hpd .hpd-controls h3 {font-size:1.4rem;line-height:1.2;margin:0 0 .75rem;color:#102641}
.hpd fieldset {border:0;min-inline-size:0;margin:0 0 .85rem;padding:0}
.hpd legend {padding:0;margin:0 0 .3rem;font-size:.8rem;font-weight:700;color:#47596c}
.hpd-swatches {display:grid;grid-template-columns:repeat(auto-fill,minmax(71px,1fr));gap:4px}
.hpd-swatches button {display:flex;align-items:center;flex-direction:column;gap:4px;background:white;border:2px solid transparent;border-radius:5px;padding:3px 2px;min-height:44px;font-size:.72rem;line-height:1.15;font-weight:650}
.hpd-chip {width:100%;height:23px;display:block;border-radius:3px;box-shadow:inset 0 0 0 1px #0003;background-position:center;background-size:cover}
.hpd-swatches button[aria-pressed=true] {border-color:#183954;background:#f1f5f8}
.hpd-swatches button:disabled {opacity:.46;cursor:default}
.hpd-swatches button:hover:enabled {background:#edf2f5}
.hpd .hpd-selections,.hpd [data-limit] {font-size:.88rem;line-height:1.45;margin:.6rem 0;color:#233a4f}
.hpd .hpd-selections {font-weight:700}
.hpd .hpd-note {font-size:.81rem;line-height:1.45;margin:.7rem 0;color:#44596a}
.hpd .hpd-quote {display:inline-flex;gap:.75rem;align-items:center;min-height:44px;padding:.65rem .95rem;background:#b51e32;color:white;text-decoration:none;border-radius:4px;font-size:.94rem;font-weight:700}
.hpd :is(button,a):focus-visible {outline:3px solid #337db9;outline-offset:2px}
@media(max-width:740px) {
  .hpd {left:auto;transform:none;width:100%!important;scroll-margin-top:52px}
  .hpd-studio {grid-template-columns:minmax(0,1fr);overflow:visible}
  .hpd-stage {position:relative;top:0;border-radius:8px 8px 0 0}
  .hpd figure img {width:auto;height:clamp(155px,28vh,260px);max-width:100%;margin:auto;object-fit:contain}
  .hpd-sides {margin:.4rem}.hpd figure figcaption {padding:.3rem;font-size:.8rem}
  .hpd-swatches {grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}
}
@media(max-width:740px) and (min-height:520px) {
  .hpd-stage {position:sticky;top:0;z-index:2;box-shadow:0 2px 5px #15233521}
  .admin-bar .hpd-stage {top:46px}
}
