.customer-ratings { margin: 16px 0; min-width: 0; }
.customer-ratings-heading { font: 700 11px/1.4 var(--font-sans, system-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); margin: 0 0 10px; }
.customer-ratings-summary { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.customer-ratings-muted { font-size: 13px; color: var(--ink-3); }
.customer-ratings-history { display: grid; gap: 10px; margin-top: 12px; }
.customer-ratings-review { min-width: 0; padding: 16px; background: var(--surface-2, #f3f6fa); border: 1px solid var(--border, #dce6f2); border-radius: var(--r-lg, 16px); }
.customer-ratings-review-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-1); }
.customer-ratings-review-head > strong { min-width: 0; flex: 1 1 90px; overflow-wrap: anywhere; }
.customer-ratings-review-score { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap; font-size: 13px; }
.customer-ratings-review time, .customer-ratings-review-project { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
.customer-ratings-review p { margin: 9px 0 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; color: var(--ink-2); }
.customer-ratings-review p.customer-ratings-muted { color: var(--ink-3); font-size: 13px; }
.customer-rating-form { display: grid; gap: 10px; margin-top: 12px; }
.customer-rating-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.customer-rating-form legend { float: none; width: auto; font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.customer-rating-options { display: flex; gap: 6px; }
.customer-rating-options label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.customer-rating-options input { position: absolute; opacity: 0; width: 100%; height: 100%; }
.customer-rating-options span { display: block; padding: 9px 2px; border: 1px solid var(--border, #dce6f2); border-radius: 8px; text-align: center; font-size: 13px; white-space: nowrap; }
.customer-rating-options input:checked + span { background: #fff0e5; border-color: var(--brand, #b9511f); color: #914017; }
.customer-rating-options input:focus-visible + span { outline: 2px solid var(--brand, #b9511f); outline-offset: 2px; }
.customer-rating-form .field-label { margin: 0; }
.customer-rating-form textarea { min-width: 0; width: 100%; }
.customer-rating-received { margin-top: 16px; }
