/* RC233.98EF: Mobile References polish only. No desktop changes. */
@media(max-width:850px){
  /* The blue edge came from a nested shell/card border. Keep controls' focus outlines. */
  .personal-home.wdu-profile .wds-hero.wea-mobile-basic.wee-mobile-references {
    border:0!important; outline:0!important; box-shadow:0 12px 30px rgba(97,54,145,.10)!important;
    max-width:470px!important; border-radius:22px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-right,
  .personal-home.wdu-profile .wee-mobile-references .wdv-details,
  .personal-home.wdu-profile .wee-mobile-references .pxp-details-panel {
    outline:0!important; box-shadow:none!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-illustration {
    min-height:190px!important; padding:13px 16px 25px!important;
    background:linear-gradient(133deg,#bfd8ff 0%,#e3d6ff 58%,#f6d2f5 100%)!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-illustration h2 {
    max-width:62%!important;font-size:clamp(22px,6vw,28px)!important;line-height:1.04!important;
    margin:3px 0 6px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-illustration p {
    max-width:61%!important;font-size:10.5px!important;line-height:1.33!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-art {
    width:41%!important;height:138px!important;bottom:5px!important;right:0!important;
    border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wds-art img {
    width:100%!important;height:100%!important;object-fit:contain!important;
    object-position:center bottom!important;background:transparent!important;border-radius:0!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wdv-step-nav {margin-bottom:8px!important;}
  /* Replace repetitive introduction with a single concise guideline. */
  .personal-home.wdu-profile .wee-mobile-references .pxp-details-panel > p {display:none!important;}
  .personal-home.wdu-profile .wee-mobile-references .wee-mobile-summary {
    padding:9px 11px!important;margin:3px 0 11px!important;display:flex!important;align-items:center;gap:10px;
    border-radius:10px;background:#f0e2ff;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-mobile-summary span {font-size:18px;flex:0 0 auto;}
  .personal-home.wdu-profile .wee-mobile-references .wee-mobile-summary strong {font-size:13px!important;white-space:nowrap;}
  .personal-home.wdu-profile .wee-mobile-references .wee-mobile-summary small {display:none!important;}
  .personal-home.wdu-profile .wee-mobile-references .wee-mobile-summary strong:after {
    content:' · Up to 3 referees';font-family:'Nunito Sans',sans-serif;font-size:10px;font-weight:500;
  }
  .personal-home.wdu-profile .wee-mobile-references .pxp-reference-row,
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-card {
    padding:0!important;margin:0 0 9px!important;overflow:hidden!important;
    border:1px solid #e3d4f2!important;border-radius:11px!important;
    background:#fff!important;box-shadow:none!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-accordion-toggle {
    display:flex!important;align-items:center!important;gap:8px!important;width:100%;padding:10px 11px!important;
    min-height:47px;background:#eddefc!important;color:#2a1247;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-accordion-toggle span:first-child {
    font-size:13px!important;flex:0 0 auto;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-accordion-toggle small {
    font-size:11px!important;text-align:right;flex:1;min-width:0;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-approved-indicator {
    border-radius:50%;background:#dcf6e9;color:#14784a;font-weight:800;font-size:11px;
    width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-ref-fields {display:none!important;padding:11px!important;}
  .personal-home.wdu-profile .wee-mobile-references .wee-expanded > .wee-ref-fields {display:block!important;}
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-main {
    display:flex!important;flex-direction:column!important;gap:7px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-person {gap:3px!important;min-width:0!important;}
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-name {font-size:15px!important;}
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-side {
    display:flex!important;align-items:flex-start!important;max-width:100%!important;gap:4px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-status {
    font-size:10px!important;padding:5px 8px!important;white-space:normal!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-footer {
    margin-top:8px!important;padding-top:9px!important;gap:7px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .pxp-approved-reference-footer > span {
    font-size:10px!important;min-width:0!important;line-height:1.35!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wee-accordion-toggle:focus-visible {
    outline:2px solid #7436d6!important;outline-offset:-2px!important;
  }
  .personal-home.wdu-profile .wee-mobile-references .wdv-footer {margin-top:9px;padding-top:9px;}
}
