.ppr-cm {
  --navy: #0f2744;
  --navy-2: #1a3a63;
  --ink: #142a47;
  --gold: #c9a227;
  --gold-deep: #86680f;
  --gold-light: #ecd27a;
  --line: #ebe5d8;
  --text: #4a5666;
  --muted: #5f6876;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(40, 30, 10, 0.06);
  --shadow-md:
    0 1px 1px rgba(40, 30, 10, 0.04), 0 2px 6px -2px rgba(40, 30, 10, 0.06),
    0 24px 48px -28px rgba(40, 30, 10, 0.32);
  --shadow-ribbon: drop-shadow(0 1px 0.5px rgba(40, 30, 10, 0.28))
    drop-shadow(0 7px 6px rgba(40, 30, 10, 0.16))
    drop-shadow(0 18px 14px rgba(40, 30, 10, 0.12));

  /* The linen every ribbon is laid on. */
  --linen:
    radial-gradient(70% 80% at 50% 40%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 75%),
    repeating-linear-gradient(0deg, rgba(110, 90, 50, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(110, 90, 50, 0.016) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #f7f3ea, #efe8d9);

  /* Satin, shared by every ribbon: "-h" runs along a horizontal ribbon, "-v" a hanging one. */
  --sheen-h: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0 1px,
    rgba(0, 0, 0, 0.16) 1px 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(255, 255, 255, 0) 14%,
    rgba(255, 255, 255, 0.32) 32%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 0, 0, 0.04) 72%,
    rgba(0, 0, 0, 0.18) calc(100% - 2px),
    rgba(0, 0, 0, 0.32) calc(100% - 1px)
  );
  --sheen-v: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0 1px,
    rgba(0, 0, 0, 0.14) 1px 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(255, 255, 255, 0) 16%,
    rgba(255, 255, 255, 0.34) 34%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(0, 0, 0, 0.05) 74%,
    rgba(0, 0, 0, 0.2) calc(100% - 1px),
    rgba(0, 0, 0, 0.3)
  );
  --grain-h: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    rgba(0, 0, 0, 0.04) 1px 2px
  );
  --grain-v: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    rgba(0, 0, 0, 0.04) 1px 2px
  );

  max-width: 1180px;
  margin: 40px auto;
  padding: 0 18px;
  /* Layout follows the space the theme gives the matcher, not the screen. */
  container-type: inline-size;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.ppr-cm *,
.ppr-cm *:before,
.ppr-cm *:after {
  box-sizing: border-box;
}

/* ===================================================================== */
/* Hero: deep navy satin, the search on the left and a swatch fan deck.  */
/* ===================================================================== */
.ppr-cm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas:
    "header fan"
    "search fan";
  column-gap: 48px;
  padding: 58px 56px 54px;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(42% 70% at 86% 62%, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0) 70%),
    radial-gradient(60% 80% at 0% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.018) 0 2px,
      rgba(0, 0, 0, 0.02) 2px 4px
    ),
    linear-gradient(135deg, #0c213b 0%, #14335a 55%, #0f2744 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -34px rgba(15, 39, 68, 0.7);
  overflow: hidden;
  isolation: isolate;
}
/* A broad satin sheen falls diagonally across the panel. */
.ppr-cm-hero:before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.015) 50%,
    transparent 58%
  );
  pointer-events: none;
}
.ppr-cm-header {
  grid-area: header;
  text-align: left;
}
.ppr-cm-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ppr-cm-line:before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(236, 210, 122, 0), var(--gold-light));
}
.ppr-cm-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.ppr-cm-header p {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

/* ---------- Search ---------- */
.ppr-cm-search {
  grid-area: search;
  position: relative;
  min-width: 0;
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 16px;
}
.ppr-cm-label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ppr-cm-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 0;
  margin-bottom: 12px;
}
.ppr-cm-type {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ppr-cm-type + .ppr-cm-type:before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--gold);
}
.ppr-cm-searchrow,
.ppr-cm-help,
.ppr-cm-error {
  grid-column: 1 / -1;
}
/* One bar: swatch, field and action in a single white frame. */
.ppr-cm-searchrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 18px 40px -16px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.2s ease;
}
.ppr-cm-searchrow:focus-within {
  box-shadow:
    0 0 0 4px rgba(201, 162, 39, 0.45),
    0 18px 40px -16px rgba(0, 0, 0, 0.55);
}
.ppr-cm-picker-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 6px 0 2px;
  box-shadow: 0 2px 6px rgba(15, 39, 68, 0.18);
  transition: transform 0.2s ease;
}
/* Satin sheen over the picked colour. */
.ppr-cm-picker-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.14));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.ppr-cm-picker-wrap:hover {
  transform: scale(1.05);
}
.ppr-cm-picker {
  display: block;
  width: 150%;
  height: 150%;
  margin: -25%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}
.ppr-cm-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}
.ppr-cm-picker::-webkit-color-swatch {
  border: 0;
}
.ppr-cm-picker::-moz-color-swatch {
  border: 0;
}
.ppr-cm-input {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  font-size: 17px;
  color: var(--ink);
  text-overflow: ellipsis;
}
.ppr-cm-input:focus {
  box-shadow: none;
  outline: 0;
}
.ppr-cm-input::placeholder {
  color: #9aa1ab;
  font-size: 13.5px;
  opacity: 1;
}
.ppr-cm-button {
  height: 50px;
  margin: 0;
  padding: 0 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #dcb945 0%, #c29b22 55%, #a9841a 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px rgba(0, 0, 0, 0.1),
    0 6px 14px -6px rgba(140, 105, 15, 0.8);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: 0 1px 1px rgba(90, 65, 5, 0.35);
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    filter 0.2s ease;
}
.ppr-cm-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.ppr-cm-button:active {
  transform: translateY(0);
}
.ppr-cm-button:focus-visible,
.ppr-cm-brand-btn:focus-visible,
.ppr-cm-product-btn:focus-visible,
.ppr-cm-cta:focus-visible,
.ppr-cm-full-width:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.6);
  outline-offset: 2px;
}
.ppr-cm-button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.ppr-cm-help {
  font-size: 12.5px;
  line-height: 1.55;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.ppr-cm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ppr-cm-error {
  display: none;
  margin-top: 16px;
  padding: 13px 16px 13px 44px;
  position: relative;
  background: #fff7ef;
  border-radius: 12px;
  color: #6b4628;
  font-size: 14px;
  line-height: 1.55;
}
.ppr-cm-error:before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d9823f;
  color: #fff;
  font:
    700 13px/20px Georgia,
    serif;
  text-align: center;
}

/* ---------- The swatch fan deck ---------- */
.ppr-cm-fan {
  grid-area: fan;
  position: relative;
  align-self: center;
  height: 300px;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25))
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.3));
}
.ppr-cm-fan i {
  --c: #c9a227;
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 54px;
  height: 262px;
  margin-left: -27px;
  border-radius: 0 0 27px 27px;
  transform-origin: 50% calc(100% - 27px);
  /* A satin colour blade with a swallowtail top, darkening towards the pivot. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.22)),
    var(--sheen-v),
    var(--c);
  clip-path: polygon(0 0, 50% 26px, 100% 0, 100% 100%, 0 100%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ppr-cm-fan i:nth-child(1) {
  z-index: 1;
  --c: #7a2030;
  transform: rotate(-45deg);
}
.ppr-cm-fan i:nth-child(2) {
  z-index: 2;
  --c: #ed7b1b;
  transform: rotate(-30deg);
}
.ppr-cm-fan i:nth-child(3) {
  z-index: 3;
  --c: #e1b92f;
  transform: rotate(-15deg);
}
.ppr-cm-fan i:nth-child(4) {
  z-index: 4;
  --c: #17704f;
}
.ppr-cm-fan i:nth-child(5) {
  z-index: 3;
  --c: #16aebb;
  transform: rotate(15deg);
}
.ppr-cm-fan i:nth-child(6) {
  z-index: 2;
  --c: #3159a2;
  transform: rotate(30deg);
}
.ppr-cm-fan i:nth-child(7) {
  z-index: 1;
  --c: #ef3c96;
  transform: rotate(45deg);
}
/* The deck opens a little further on hover. */
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(1) {
  transform: rotate(-50deg);
}
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(2) {
  transform: rotate(-33deg);
}
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(3) {
  transform: rotate(-16.5deg);
}
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(5) {
  transform: rotate(16.5deg);
}
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(6) {
  transform: rotate(33deg);
}
.ppr-cm-hero:hover .ppr-cm-fan i:nth-child(7) {
  transform: rotate(50deg);
}
/* The brass rivet the blades turn on. */
.ppr-cm-fan:after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 5;
  bottom: 36px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6cf, #d9b23c 40%, #8a6a12 100%);
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.08),
    inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

/* ===================================================================== */
/* Results: the brand colour as a reference chip beside ribbon reels.    */
/* ===================================================================== */
.ppr-cm-results {
  display: none;
  grid-template-columns: 290px minmax(0, 1fr);
  margin-top: 28px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ppr-cm-panel {
  padding: 30px;
  min-width: 0;
}
.ppr-cm-results > .ppr-cm-panel {
  display: flex;
  flex-direction: column;
}
.ppr-cm-results > .ppr-cm-panel:first-child {
  background: var(--linen);
  border-right: 1px solid #ebe3d2;
  align-items: center;
}
.ppr-cm-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 18px;
}
.ppr-cm-results > .ppr-cm-panel:first-child .ppr-cm-title {
  align-self: stretch;
}
/* A colour-reference chip, set down slightly askew on the linen. */
.ppr-cm-chip {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 188px;
  min-height: 300px;
  margin: 6px 0 4px;
  padding: 10px 10px 0;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-2.5deg);
  box-shadow:
    0 1px 1px rgba(40, 30, 10, 0.12),
    0 10px 18px -8px rgba(40, 30, 10, 0.3),
    0 28px 40px -24px rgba(40, 30, 10, 0.35);
}
.ppr-cm-requested-swatch {
  flex: 1;
  min-height: 180px;
  border-radius: 2px;
  background-color: #b69455;
  /* Coated card: a soft light falloff, no satin. */
  background-image: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0) 40%,
    rgba(0, 0, 0, 0.06)
  );
  /* A hairline edge keeps white and near-white references visible on the white chip. */
  box-shadow:
    inset 0 0 0 1px rgba(40, 30, 10, 0.12),
    inset 0 -18px 24px -20px rgba(40, 30, 10, 0.12);
  transition: background-color 0.35s ease;
}
.ppr-cm-requested-info {
  padding: 14px 4px 16px;
  text-align: left;
}
.ppr-cm-requested-code {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.ppr-cm-requested-type {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-top: 4px;
}
.ppr-cm-brand-route {
  align-self: stretch;
  padding-top: 28px;
}
.ppr-cm-brand-route p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.ppr-cm-brand-btn,
.ppr-cm-product-btn,
.ppr-cm-cta,
.ppr-cm-full-width {
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    filter 0.2s ease;
}
/* Secondary action: an outlined button. */
.ppr-cm-brand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  border: 1px solid rgba(15, 39, 68, 0.22);
  color: var(--navy) !important;
  text-decoration: none !important;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}
.ppr-cm-brand-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
  transform: translateY(-1px);
}
.ppr-cm-matches-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.ppr-cm-matches-top .ppr-cm-title {
  margin-bottom: 20px;
}
.ppr-cm-disclaimer {
  max-width: 400px;
  text-align: right;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ppr-cm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
  align-items: stretch;
}

/* ---------- Match cards ---------- */
.ppr-cm-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.ppr-cm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -22px rgba(40, 30, 10, 0.4);
}
.ppr-cm-card.best {
  border-color: rgba(201, 162, 39, 0.75);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.3),
    0 22px 40px -24px rgba(169, 132, 26, 0.55);
}
.ppr-cm-best-badge {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  color: #6b520c;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff8dc, #f5e3a6);
  box-shadow:
    inset 0 0 0 1px rgba(169, 132, 26, 0.35),
    0 3px 8px -3px rgba(140, 105, 15, 0.4);
}
.ppr-cm-best-badge:before {
  content: "\2605";
  color: var(--gold-deep);
  font-size: 10px;
  line-height: 1;
}
/* The reel sits on a linen shelf at the top of each card. */
.ppr-cm-ribbon {
  position: relative;
  flex-shrink: 0;
  height: 190px;
  background: var(--linen);
  border-bottom: 1px solid #efe8da;
}
.ppr-cm-strip {
  position: absolute;
  inset: 0;
  filter: var(--shadow-ribbon);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ppr-cm-card:hover .ppr-cm-strip {
  transform: translateY(-2px);
}
/*
 * The reel, seen face on: a card core with its spindle hole, then the wound satin
 * edge with its fine winding rings, a turning sheen and a rim shadow.
 */
.ppr-cm-strip:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 40px;
  left: calc(38% - 62px);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle closest-side,
      #e8dfcc 0 15%,
      rgba(0, 0, 0, 0.28) 15% 17%,
      #f3ead6 17%,
      #d9c7a0 31%,
      rgba(0, 0, 0, 0.3) 31% 33%,
      transparent 33%
    ),
    conic-gradient(
      from 30deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0) 14%,
      rgba(0, 0, 0, 0.16) 26%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0.24) 50%,
      rgba(255, 255, 255, 0) 64%,
      rgba(0, 0, 0, 0.16) 76%,
      rgba(255, 255, 255, 0) 88%,
      rgba(255, 255, 255, 0.34)
    ),
    repeating-radial-gradient(
      circle,
      rgba(0, 0, 0, 0.07) 0 1px,
      rgba(255, 255, 255, 0.03) 1px 3px
    ),
    radial-gradient(circle closest-side, transparent 88%, rgba(0, 0, 0, 0.22) 99%),
    var(--ppr-colour);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 2px 1px rgba(255, 255, 255, 0.25);
}
/* The free end, unwound from under the reel and laid out to a swallowtail. */
.ppr-cm-strip:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 130px;
  left: 38%;
  right: 16px;
  height: 34px;
  background:
    var(--sheen-h),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2),
      transparent 30%,
      rgba(255, 255, 255, 0.12) 60%,
      transparent 85%
    ),
    var(--grain-h),
    var(--ppr-colour);
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%);
}
.ppr-cm-cardbody {
  text-align: left;
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ppr-cm-cardname {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
}
.ppr-cm-standard {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-size: 9.5px;
  font-weight: 700;
  margin-top: 5px;
}
.ppr-cm-print-method {
  margin-top: 12px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
.ppr-cm-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  min-height: 39px;
}
/* "order" lines the shared parts up across cards and pushes the optional callout
   and the button to the bottom. */
.ppr-cm-width-block {
  order: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1ece2;
}
.ppr-cm-width-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 9px;
}
.ppr-cm-widths {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}
.ppr-cm-width {
  padding: 4px 8px;
  border-radius: 6px;
  background: #f5f2ec;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ppr-cm-saving-slot {
  order: 2;
  margin-top: auto;
  padding-top: 16px;
}
.ppr-cm-saving {
  position: relative;
  width: 100%;
  padding: 10px 12px 10px 34px;
  border-radius: 10px;
  background: #fbf6e6;
  color: #5f5126;
  font-size: 11.5px;
  line-height: 1.45;
}
.ppr-cm-saving:before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}
.ppr-cm-product-note-slot {
  order: 3;
}
.ppr-cm-product-fallback {
  padding: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.ppr-cm-product-wrap {
  order: 4;
  padding-top: 14px;
}
.ppr-cm-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.22);
  color: var(--navy) !important;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}
.ppr-cm-product-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
  transform: translateY(-1px);
}
/* The best match carries the primary button. */
.ppr-cm-card.best .ppr-cm-product-btn {
  border-color: transparent;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 8px 18px -10px rgba(15, 39, 68, 0.8);
  color: #fff !important;
}
.ppr-cm-card.best .ppr-cm-product-btn:hover {
  filter: brightness(1.15);
}

/* ===================================================================== */
/* Guidance and the two routes onward.                                   */
/* ===================================================================== */
.ppr-cm-choice {
  display: none;
  position: relative;
  margin-top: 28px;
  padding: 20px 26px 20px 74px;
  border-radius: 18px;
  background: #fbf9f4;
  border: 1px solid var(--line);
}
/* A "1 colour" print mark. */
.ppr-cm-choice:before {
  content: "1";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--gold-light);
  font: 400 18px/34px var(--serif);
  text-align: center;
  box-shadow: 0 4px 10px -4px rgba(15, 39, 68, 0.6);
}
.ppr-cm-choice strong {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
  line-height: 1.4;
}
.ppr-cm-choice p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.65;
}
.ppr-cm-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 22px;
  margin-top: 22px;
}
.ppr-cm-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ppr-cm-action h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.22;
  margin: 0 0 10px;
}
.ppr-cm-action p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
}
.ppr-cm-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 8px 18px -10px rgba(15, 39, 68, 0.8);
}
.ppr-cm-cta:after {
  content: "→";
}
.ppr-cm-cta:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  color: #fff !important;
}
/* A shelf of stocked reels above the button. */
.ppr-cm-action.standard:after {
  content: "";
  order: 1;
  align-self: stretch;
  flex: 1;
  min-height: 112px;
  margin: 6px -32px 24px;
  /* Twelve reels, each: highlight, core, winding shade, colour, shadow. */
  background:
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 24px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 24px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 24px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #172c50 31.2px, transparent 32px) 24px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 24px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 102px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 102px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 102px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #7a2030 31.2px, transparent 32px) 102px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 102px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 180px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 180px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 180px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #17704f 31.2px, transparent 32px) 180px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 180px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 258px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 258px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 258px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #e1b92f 31.2px, transparent 32px) 258px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 258px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 336px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 336px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 336px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #3159a2 31.2px, transparent 32px) 336px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 336px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 414px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 414px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 414px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #efe6d0 31.2px, transparent 32px) 414px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 414px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 492px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 492px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 492px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #151515 31.2px, transparent 32px) 492px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 492px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 570px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 570px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 570px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #ef3c96 31.2px, transparent 32px) 570px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 570px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 648px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 648px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 648px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #ed7b1b 31.2px, transparent 32px) 648px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 648px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 726px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 726px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 726px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #16aebb 31.2px, transparent 32px) 726px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 726px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 804px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 804px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 804px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #64b744 31.2px, transparent 32px) 804px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 804px 0 / 80px 100% no-repeat,
    radial-gradient(circle 20px at 31px 43px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) 882px 0 / 80px 100% no-repeat,
    radial-gradient(circle 11px at 40px 52px, #e9e0cd 0 4px, rgba(0, 0, 0, 0.35) 4px 5px, #f4ebd8 5px, #d4c096 9.5px, rgba(0, 0, 0, 0.3) 9.5px 11px, transparent 11px) 882px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, transparent 16px, rgba(0, 0, 0, 0.08) 17px, transparent 18px, rgba(255, 255, 255, 0.12) 22px, transparent 26px, rgba(0, 0, 0, 0.26) 31.5px, transparent 32px) 882px 0 / 80px 100% no-repeat,
    radial-gradient(circle 32px at 40px 52px, #713f91 31.2px, transparent 32px) 882px 0 / 80px 100% no-repeat,
    radial-gradient(28px 5px at 40px 88px, rgba(40, 30, 10, 0.3), rgba(40, 30, 10, 0)) 882px 0 / 80px 100% no-repeat,
    var(--linen);
  border-top: 1px solid #efe8da;
  border-bottom: 1px solid #efe8da;
}
.ppr-cm-action.standard .ppr-cm-cta {
  order: 2;
}
/* Full colour: a soft CMYK bloom in the corner. */
.ppr-cm-action.exact {
  background:
    radial-gradient(38% 46% at 100% 0%, rgba(0, 174, 239, 0.1), transparent 70%),
    radial-gradient(34% 42% at 88% 0%, rgba(236, 0, 140, 0.08), transparent 70%),
    radial-gradient(34% 40% at 100% 18%, rgba(255, 221, 0, 0.12), transparent 70%),
    #fff;
}
.ppr-cm-full-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 8px 0 12px;
}
/* Width tiles: each shows its ribbon width to scale above the label. */
.ppr-cm-full-widths {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-self: stretch;
  gap: 8px;
}
.ppr-cm-full-width {
  --w: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 10px;
  min-height: 92px;
  padding: 12px 10px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-sm);
}
.ppr-cm-full-width:before {
  content: "";
  height: var(--w);
  border-radius: 1px;
  background:
    var(--sheen-h),
    linear-gradient(90deg, #00a6dd, #6b4fbb 30%, #e5007e 55%, #f6a400 80%, #ffd400);
  box-shadow: 0 2px 4px -1px rgba(40, 30, 10, 0.3);
}
.ppr-cm-full-width:nth-child(1) {
  --w: 4px;
}
.ppr-cm-full-width:nth-child(2) {
  --w: 6px;
}
.ppr-cm-full-width:nth-child(3) {
  --w: 9px;
}
.ppr-cm-full-width:nth-child(4) {
  --w: 12px;
}
.ppr-cm-full-width:nth-child(5) {
  --w: 22px;
}
.ppr-cm-full-width:nth-child(6) {
  --w: 38px;
}
.ppr-cm-full-width:nth-child(7) {
  --w: 54px;
}
.ppr-cm-full-width:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -14px rgba(15, 39, 68, 0.6);
}
.ppr-cm-full-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 14px;
}
.ppr-cm-footnote {
  margin: 28px auto 0;
  max-width: 900px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .ppr-cm * {
    transition: none !important;
  }
  .ppr-cm-card:hover,
  .ppr-cm-card:hover .ppr-cm-strip,
  .ppr-cm-button:hover,
  .ppr-cm-brand-btn:hover,
  .ppr-cm-product-btn:hover,
  .ppr-cm-cta:hover,
  .ppr-cm-full-width:hover {
    transform: none;
  }
}
@container (max-width: 1044px) {
  .ppr-cm-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 32px;
    padding: 50px 44px 46px;
  }
  .ppr-cm-fan {
    transform: scale(0.82);
  }
}
@container (max-width: 944px) {
  .ppr-cm-results {
    grid-template-columns: 1fr;
  }
  /* The chip and its route sit side by side above the matches. */
  .ppr-cm-results > .ppr-cm-panel:first-child {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "chip route";
    align-items: end;
    column-gap: 40px;
    border-right: 0;
    border-bottom: 1px solid #ebe3d2;
  }
  .ppr-cm-results > .ppr-cm-panel:first-child .ppr-cm-title {
    grid-area: title;
  }
  .ppr-cm-chip {
    grid-area: chip;
    min-height: 250px;
    margin-left: 6px;
  }
  .ppr-cm-requested-swatch {
    min-height: 150px;
  }
  .ppr-cm-brand-route {
    grid-area: route;
    max-width: 300px;
  }
  .ppr-cm-actions {
    grid-template-columns: 1fr;
  }
}
@container (max-width: 784px) {
  .ppr-cm-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "header"
      "search";
  }
  .ppr-cm-fan {
    display: none;
  }
}
@container (max-width: 684px) {
  .ppr-cm-grid {
    grid-template-columns: 1fr;
  }
  .ppr-cm-full-widths {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ppr-cm {
    margin: 24px auto;
    padding: 0 12px;
  }
}
@container (max-width: 570px) {
  .ppr-cm-hero {
    padding: 36px 22px 26px;
    border-radius: 22px;
  }
  .ppr-cm-header h2 {
    font-size: 34px;
  }
  .ppr-cm-header p {
    font-size: 14.5px;
  }
  .ppr-cm-search {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .ppr-cm-label {
    margin-bottom: 6px;
  }
  .ppr-cm-types {
    justify-content: flex-start;
  }
  /* Swatch and field across the top, the button beneath. */
  .ppr-cm-searchrow {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ppr-cm-button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ppr-cm-panel,
  .ppr-cm-action {
    padding: 22px;
  }
  .ppr-cm-results > .ppr-cm-panel:first-child {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "chip"
      "route";
    justify-items: center;
  }
  .ppr-cm-chip {
    width: 170px;
    min-height: 230px;
    margin: 0;
  }
  .ppr-cm-requested-swatch {
    min-height: 140px;
  }
  .ppr-cm-brand-route {
    max-width: none;
    justify-self: stretch;
    text-align: center;
  }
  .ppr-cm-brand-btn {
    white-space: normal;
  }
  .ppr-cm-matches-top {
    display: block;
  }
  .ppr-cm-disclaimer {
    text-align: left;
    margin: -8px 0 18px;
  }
  .ppr-cm-note {
    min-height: 0;
  }
  .ppr-cm-action.standard:after {
    margin-left: -22px;
    margin-right: -22px;
  }
  .ppr-cm-choice {
    padding: 18px 20px 18px 66px;
  }
  .ppr-cm-choice:before {
    left: 18px;
  }
}
