/* MH customer contrast audit 2026-11-02. White document cards need dark, readable text
   even while the enclosing portal uses the dark glass theme. */
html.mh-glass-live body #app .mh64-file-row,
html.mh-glass-live body #app .mh14922-files .mh64-file-row {
 background:#fffdfd!important;
 color:#261c26!important;
 border:1px solid #d8cdd4!important;
}
html.mh-glass-live body #app .mh64-file-row .mh64-file-description,
html.mh-glass-live body #app .mh64-file-row .mh64-file-description > *,
html.mh-glass-live body #app .mh64-file-row .mh64-file-description small,
html.mh-glass-live body #app .mh64-file-row .mh64-file-description span,
html.mh-glass-live body #app .mh64-file-row .mh64-file-description strong {
 color:#241a25!important;
 -webkit-text-fill-color:#241a25!important;
 opacity:1!important;
 text-shadow:none!important;
}
html.mh-glass-live body #app .mh64-file-row .mh64-file-description {
 font-size:max(14px, .96rem)!important;
 font-weight:650!important;
 line-height:1.6!important;
 overflow-wrap:anywhere!important;
 white-space:normal!important;
}
html.mh-glass-live body #app .mh64-file-row .mh64-file-description small {
 color:#50424c!important;
 -webkit-text-fill-color:#50424c!important;
 font-size:max(13px, .86rem)!important;
 font-weight:550!important;
 display:block!important;
}
html.mh-glass-live body #app .mh64-file-row a,
html.mh-glass-live body #app .mh64-file-row button {
 color:#a10829!important;
 -webkit-text-fill-color:#a10829!important;
}
html.mh-glass-live body #app .mh64-file-row button.primary,
html.mh-glass-live body #app .mh64-file-row a.primary {
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 background:#ac092d!important;
}
html.mh-glass-live body #app .mh14922-files summary {
 font-size:clamp(15px, 1.3vw, 19px)!important;
 font-weight:800!important;
 opacity:1!important;
}

/* R226/PBL-03: services helper copy on the light portal canvas. */
html.mh-glass-live.mh-glass-customer:not(.mh-glass-dark) body #app #services > p.muted {
 color:#554b51!important;
 -webkit-text-fill-color:#554b51!important;
}

/* MH R228: accessible contrast for task-file "View" on red backgrounds, 2026-11-17.
   Narrow scope: only file preview controls inside customer Work; no change to file actions. */
body #app #mh14922WorkList .mh64-file-row button[data-mh64-view],
html.mh-glass-live body #app #mh14922WorkList .mh64-file-row button[data-mh64-view] {
  background:#971827!important;
  border:1px solid #971827!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
  font-weight:750!important;
  min-height:42px;
}
body #app #mh14922WorkList .mh64-file-row button[data-mh64-view]:hover,
html.mh-glass-live body #app #mh14922WorkList .mh64-file-row button[data-mh64-view]:hover {
  background:#761321!important;
  border-color:#761321!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
body #app #mh14922WorkList .mh64-file-row button[data-mh64-view]:focus-visible {
  outline:3px solid #1e65be!important;
  outline-offset:3px;
}
/* Keep download as dark red on white, unlike the white-on-red preview button. */
body #app #mh14922WorkList .mh64-file-row a.mh64-file-download {
  background:#ffffff!important;
  color:#871528!important;
  -webkit-text-fill-color:#871528!important;
  border:1px solid #971827!important;
  opacity:1!important;
}
body #app #mh14922WorkList .mh64-file-row a.mh64-file-download:hover {
  background:#971827!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
