/* V27: targeted UI/UX adjustments only. Business-state styles and records preserved. */
/* UI-002: do not clip the selected supplement field or the explanatory prompt. */
.modal.wide .sup-builder14{grid-template-columns:132px minmax(210px,1.1fr) minmax(230px,1.4fr) 62px 36px;gap:10px;min-width:0}
.modal.wide .sup-builder14>.input{width:100%;min-width:0;font-size:14px;padding-left:12px}
.modal.wide .sup-builder14 .prompt14{overflow-wrap:anywhere}
/* UI-003: visible validation without changing whether fields are required. */
.modal .v27-field-invalid,.modal .v27-field-invalid:focus{border:2px solid #dc3444!important;box-shadow:0 0 0 2px rgba(220,52,68,.11)!important;outline:0}
/* UI-004: status pill minimum readable size, supplement-type captions removed in markup. */
.onb-container14 .wizard-head .badge{font-size:12px!important}
/* UI-005: only own unread notifications are counted. */
.sidebar .v27-nav-unread{display:inline-grid;place-items:center;margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:#2563eb;color:#fff;font-size:12px;line-height:1;font-weight:800}
/* UI-006: preview one note, open complete history in existing modal. */
.v27-history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.v27-history-heading h4{margin:0}
.v27-modal-history{max-height:55vh;overflow:auto;display:grid;gap:10px}
.v27-note-history .internal-note-entry18{margin-top:0}
/* UI-008: both latest and complete timelines use horizontal username / time / content columns. */
.v27-timeline-scroll{width:100%;overflow-x:auto}
.v27-timeline-head,.v27-timeline-row{min-width:570px;display:grid;grid-template-columns:minmax(115px,1fr) minmax(170px,1.35fr) minmax(215px,2fr);gap:12px;align-items:start;padding:11px 4px;font-size:12px;line-height:1.6}
.v27-timeline-head{background:#f5f8fc;border-radius:8px;color:#687a92}
.v27-timeline-row{border-bottom:1px solid #e0e8f2;color:#172c47;overflow-wrap:anywhere}
.v27-timeline-row strong{font-size:12px}
.v27-timeline-row time{color:#647894;font-variant-numeric:tabular-nums}
.v27-timeline-all{max-height:57vh;overflow:auto}
/* UI-011: correct 18 px spacing below the enterprise new-project action card. */
.client-hero{margin-bottom:18px}
@media(max-width:1000px){
 .modal.wide .sup-builder14{grid-template-columns:minmax(130px,.7fr) minmax(200px,1.3fr);gap:10px}
 .modal.wide .sup-builder14 .prompt14{grid-column:1/-1}
}
@media(max-width:620px){
 .modal.wide .sup-builder14{grid-template-columns:1fr}
 .modal.wide .sup-builder14 .prompt14{grid-column:1}
}
