.dcm { font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; color: #161616; max-width: 1120px; margin: 0 auto; }
  .dcm *, .dcm *::before, .dcm *::after { box-sizing: border-box; }

  .dcm-search-label { display: block; font-size: 13px; font-weight: 600; color: #4a5158; margin-bottom: 9px; }
  .dcm-search-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
  .dcm-field { flex: 1; min-width: 240px; position: relative; display: flex; align-items: center; }
  .dcm-field svg { position: absolute; left: 18px; width: 19px; height: 19px; stroke: #8b9299; pointer-events: none; }
  .dcm-field input { width: 100%; padding: 17px 20px 17px 48px; border: 2px solid #d4dae0; border-radius: 8px;
    font-size: 16px; font-family: inherit; color: #161616; background: #fff; outline: none; }
  .dcm-field input:focus { border-color: #161616; }
  .dcm-clear { border: none; background: none; position: absolute; right: 12px; font-size: 22px; line-height: 1;
    color: #8b9299; cursor: pointer; padding: 6px 10px; display: none; }

  .dcm-bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin: 34px 0 22px; }
  .dcm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #7b8289; margin-bottom: 6px; }
  .dcm-count { font-size: 25px; font-weight: 600; letter-spacing: -.015em; }
  .dcm-count span { color: #9aa1a8; font-weight: 400; }
  .dcm-seg { display: inline-flex; background: #f1f4f7; border-radius: 100px; padding: 4px; }
  .dcm-seg button { border: none; border-radius: 100px; padding: 10px 20px; font-family: inherit; font-size: 14px;
    font-weight: 600; background: transparent; color: #4a5158; cursor: pointer; min-height: 40px; }
  .dcm-seg button[aria-pressed="true"] { background: #161616; color: #fff; }

  .dcm-key { display: grid; grid-template-columns: 1fr 56px 1fr 136px; padding: 0 22px 10px; }
  .dcm-key span { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #9aa1a8; }
  .dcm-key .dcm-key-ds { color: #4f8714; grid-column: 3; }

  .dcm-list { list-style: none; margin: 0; padding: 0; }
  .dcm-row { display: grid; grid-template-columns: 1fr 56px 1fr 136px; align-items: center;
    background: #fff; border: 1px solid #e6eaee; border-radius: 12px; padding: 16px 22px; margin-bottom: 10px; }
  .dcm-row:hover { border-color: #d4dae0; box-shadow: 0 2px 10px rgba(22,22,22,.05); }
  .dcm-side { display: flex; align-items: center; gap: 16px; min-width: 0; }
  .dcm-sw { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 1px solid #dfe4e9;
    flex-shrink: 0; display: block; background: #f3f5f7; }
  .dcm-sw-ds { border: 2px solid #76BC21; }
  .dcm-meta { min-width: 0; }
  .dcm-brand, .dcm-code { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; margin-bottom: 4px; }
  .dcm-lam { color: #0d47a1; } .dcm-pol { color: #5c1a8a; } .dcm-code { color: #4f8714; }
  .dcm-finish { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .dcm-mid { display: flex; justify-content: center; color: #c3c9cf; }
  .dcm-arrow { width: 20px; height: 14px; }
  .dcm-act { text-align: right; }
  .dcm-compare { border: 1px solid #d4dae0; background: #fff; border-radius: 8px; padding: 11px 17px;
    font-family: inherit; font-size: 14px; font-weight: 600; color: #24408e; cursor: pointer; min-height: 44px;
    -webkit-tap-highlight-color: rgba(36,64,142,.2); touch-action: manipulation; }
  .dcm-compare:hover { background: #24408e; color: #fff; border-color: #24408e; }

  .dcm-empty { display: none; text-align: center; padding: 48px 20px; color: #7b8289; font-size: 16px; }
  .dcm-note { font-size: 12px; line-height: 1.6; color: #9aa1a8; text-align: center; max-width: 700px; margin: 24px auto 0; }

  .dcm-modal { display: none; position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
    background: rgba(22,22,22,.72); z-index: 999999; justify-content: center; align-items: center; padding: 20px;
    overscroll-behavior: contain; }
  .dcm-card { background: #fff; border-radius: 16px; padding: 30px; width: 100%; max-width: 760px; position: relative;
    box-shadow: 0 18px 50px rgba(22,22,22,.3); max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
  .dcm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
  .dcm-card-head h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin: 0; }
  .dcm-close { border: none; background: #f1f4f7; width: 44px; height: 44px; border-radius: 50%; font-size: 20px;
    color: #4a5158; cursor: pointer; line-height: 1; flex-shrink: 0; }
  .dcm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .dcm-pair img { width: 100%; height: 260px; object-fit: cover; display: block; background: #f3f5f7; }
  .dcm-pair > div:first-child img { border-radius: 10px 0 0 10px; }
  .dcm-pair > div:last-child img { border-radius: 0 10px 10px 0; }
  .dcm-pair-meta { padding: 16px 4px 0; }
  .dcm-pair-meta .dcm-brand, .dcm-pair-meta .dcm-code { font-size: 11px; }
  .dcm-pair-meta strong { display: block; font-size: 18px; font-weight: 600; }
  .dcm-card-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #eef1f4; }
  .dcm-btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 8px; }
  .dcm-btn-dark { background: #161616; color: #fff; }
  .dcm-btn-ghost { background: #fff; color: #24408e; border: 1px solid #d4dae0; padding: 13px 25px; }

  @media (hover: none) and (pointer: coarse) {
    .dcm-row:hover { border-color: #e6eaee; box-shadow: none; }
    .dcm-compare:hover { background: #fff; color: #24408e; border-color: #d4dae0; }
    .dcm-compare:active { background: #24408e; color: #fff; border-color: #24408e; }
  }
  @media (max-width: 860px) {
    .dcm-row { grid-template-columns: 1fr 44px 1fr; }
    .dcm-act { grid-column: 1 / -1; text-align: left; margin-top: 14px; }
    .dcm-compare { width: 100%; }
    .dcm-key { grid-template-columns: 1fr 44px 1fr; }
  }
  @media (max-width: 620px) {
    .dcm-key { display: none; }
    .dcm-row { grid-template-columns: 1fr; padding: 16px; gap: 0; }
    .dcm-mid { justify-content: flex-start; padding: 10px 0 10px 24px; }
    .dcm-arrow { transform: rotate(90deg); }
    .dcm-act { margin-top: 14px; }
    .dcm-sw { width: 56px; height: 56px; }
    .dcm-pair { grid-template-columns: 1fr 1fr; gap: 2px; }
    .dcm-pair img { height: 150px; }
    .dcm-pair-meta strong { font-size: 15px; }
    .dcm-card { padding: 20px 16px; }
    .dcm-bar { gap: 14px; }
    .dcm-count { font-size: 21px; }
  }

  /* the DuraSafe side links to that colour's own page */
  .dcm-side-link { text-decoration: none; color: inherit; border-radius: 8px; }
  .dcm-side-link:hover .dcm-finish { text-decoration: underline; text-underline-offset: 2px; }
  .dcm-side-link:focus-visible { outline: 2px solid #24408E; outline-offset: 3px; }

  /* a finish whose swatch has not been uploaded yet */
  .dcm-sw-none { display: block; background: repeating-linear-gradient(45deg,#eef1f4,#eef1f4 6px,#e3e7eb 6px,#e3e7eb 12px);
    border: 1px dashed #c3c9cf; }
  .dcm-pair-none { display: flex; align-items: center; justify-content: center; height: 260px; background: #f3f5f7;
    color: #9aa1a8; font-size: 13px; text-align: center; border-radius: 10px 0 0 10px; }
  @media (max-width: 620px) { .dcm-pair-none { height: 150px; } }

  /* sample request form, revealed inside the comparison modal */
  .dcm-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef1f4; text-align: left; }
  .dcm-form[hidden] { display: none; }
  .dcm-form-for { font-size: 13px; color: #7b8289; margin: 0 0 16px; }
  .dcm-form-for strong { color: #161616; }
  .dcm-form .gform_wrapper { margin: 0; }
  .dcm-form .gform_wrapper .gform_footer { margin-bottom: 0; padding-bottom: 0; }
  #dcmSampleToggle { font-family: inherit; border: none; cursor: pointer; }
  #dcmSampleToggle[aria-expanded="true"] { background: #3d4349; }

  /* The two context fields are filled automatically and duplicate the
     "Requesting a sample of ..." line above the form, so they are hidden.
     display:none still submits the value; "hidden" via GF would not be
     available on every field type. Delete this rule to show them. */
  .dcm-form .dcm-colour-field,
  .dcm-form .dcm-finish-field { display: none; }
