/* MISSION 66 (W4-fixes) */

/* D-66-E2E-02 -- a long unbroken message must never widen the page.
   Grid/flex children default to min-width:auto, so one 400-char run with no
   spaces stretched /Activity to 7729px at 390px. Every message-preview
   surface uses .pb-msg-preview: single line, ellipsis, and the bdi inside
   may break anywhere. */
.pb-grid > *,
.pb-card { min-width: 0; }
.pb-msg-preview {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pb-msg-preview bdi {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* S046 back-compat quick rating on /Ratings/Write */
#pbQuickRating summary { cursor: pointer; font-weight: 700; }
#pbQuickRating select,
#pbQuickRating textarea { display: block; margin-top: 6px; }

/* S004 model reviews */
.pb-model-review bdi { overflow-wrap: anywhere; }
#pbComments > summary { cursor: pointer; }
