/* Existing Member billing accepts Member Number or Policy Number.
   Both blank fields retain the shared missing treatment, while the single
   asterisk stays with Member Number to communicate the alternate choice. */
@media screen {
  .paper .line.member-identifier-attention .field {
    border-bottom-color: #c85764;
    box-shadow: inset 0 -1px 0 rgba(200, 87, 100, .25);
    background: rgba(255, 248, 248, .7);
  }

  /* The legacy Policy icon circle is retained for protected print parity,
     but it is the source of the rogue on-screen dot beside the hash glyph. */
  .paper .line > label:has(+ .field[data-f="policyNumber"]) .field-icon circle {
    display: none;
  }

  .paper .line.member-identifier-attention > label:has(+ .field[data-f="memberNumber"]) {
    position: relative;
  }

  .paper .line.member-identifier-attention > label:has(+ .field[data-f="memberNumber"])::after {
    content: "*";
    position: absolute;
    top: 0;
    left: calc(100% + 2px);
    color: #c9192c;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
  }
}

@media print {
  .paper .line.member-identifier-attention .field {
    box-shadow: none !important;
    background: transparent !important;
  }

  .paper .line.member-identifier-attention > label:has(+ .field[data-f="memberNumber"])::after {
    content: none !important;
    display: none !important;
  }
}
