/* Review controls use the existing tables, dialogs and validation tokens. */
@media screen{
 .crew-review-dialog{max-width:calc(100vw - 24px);font-family:var(--ui-font);max-height:calc(100dvh - 24px);overflow:auto}
 .crew-review-dialog form{display:grid;gap:var(--ui-gap,6px)}
 .crew-review-rating{border:1px solid var(--line);border-radius:var(--ui-radius,8px);padding:10px;margin:0;min-width:0}
 .crew-review-rating legend{font-weight:var(--ui-heading-weight,600)}.crew-review-stars{display:flex;gap:4px;flex-wrap:wrap}
 .crew-review-stars label{box-sizing:border-box;position:relative;display:grid;place-items:center;cursor:pointer;width:36px;height:36px;color:var(--muted);border:1px solid var(--line);border-radius:var(--ui-radius,8px)}
 .crew-review-stars label:has(input:checked),.crew-review-stars label:has(~ label input:checked){color:var(--brand-deep);background:var(--brand-soft);outline:2px solid var(--brand-deep)}
 .crew-review-stars input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}
 .crew-review-stars span[aria-hidden]{font-size:var(--ui-title,24px);pointer-events:none}.crew-review-stars label:focus-within{outline:2px solid var(--brand-deep)}
 .crew-review-zero{display:flex;align-items:center;gap:6px;min-height:36px}.crew-review-rating output{font-size:var(--ui-small,11px)}
 .crew-review-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .crew-review-comment{white-space:pre-wrap;overflow-wrap:anywhere;max-width:360px}.crew-review-scale{padding:8px 0}.crew-review-scale ol{list-style:none;padding:0;margin:8px 0}
 .crew-review-dialog textarea{width:100%;height:auto;min-height:90px;resize:vertical}
 .crew-review-table td{vertical-align:top}.crew-review-dialog [role=alert]{color:var(--red)}
}
