/* Native radios keep validation and keyboard selection; CSS fills the score
   cumulatively in DOM order, including the mirrored Arabic presentation. */
.feedback-rating-field{container:pagetna-rating / inline-size}
.feedback-rating-field .feedback-rating-options{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:0;width:100%;max-width:320px}
.feedback-rating-field .feedback-rating-options .feedback-rating-choice:nth-child(n){grid-column:auto;position:relative;margin:0;min-width:44px;min-height:72px}
.feedback-rating-field .feedback-rating-choice .feedback-rating-visual{display:grid;place-items:center;gap:4px;min-height:72px;padding:10px 2px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--pf-ink,#254236);font-size:.75rem;line-height:1.4;transition:background-color 160ms ease,border-color 160ms ease}
.feedback-rating-field .feedback-rating-choice input:checked+.feedback-rating-visual{padding:10px 2px;border:1px solid var(--pf-border,#cbd7cd);background:color-mix(in srgb,var(--pf-ink,#254236) 6%,transparent);color:var(--pf-ink,#254236)}
.feedback-rating-field .feedback-rating-star{display:block;line-height:1}
.feedback-rating-field .feedback-rating-star svg{display:block;width:32px;height:32px;stroke:var(--pf-ink,#56665d);stroke-width:1.5;fill:transparent;transform:scale(1);transition:fill 240ms ease,stroke 240ms ease,transform 280ms cubic-bezier(.2,.7,.3,1);transition-delay:0ms}
.feedback-rating-field .feedback-rating-choice:nth-child(1){--rating-delay:0ms}
.feedback-rating-field .feedback-rating-choice:nth-child(2){--rating-delay:55ms}
.feedback-rating-field .feedback-rating-choice:nth-child(3){--rating-delay:110ms}
.feedback-rating-field .feedback-rating-choice:nth-child(4){--rating-delay:165ms}
.feedback-rating-field .feedback-rating-choice:nth-child(5){--rating-delay:220ms}
.feedback-rating-options:has(>label:nth-child(1) input:checked)>label:nth-child(-n+1) .feedback-rating-star svg,
.feedback-rating-options:has(>label:nth-child(2) input:checked)>label:nth-child(-n+2) .feedback-rating-star svg,
.feedback-rating-options:has(>label:nth-child(3) input:checked)>label:nth-child(-n+3) .feedback-rating-star svg,
.feedback-rating-options:has(>label:nth-child(4) input:checked)>label:nth-child(-n+4) .feedback-rating-star svg,
.feedback-rating-options:has(>label:nth-child(5) input:checked)>label:nth-child(-n+5) .feedback-rating-star svg{fill:var(--pf-rating-star,#946000);stroke:var(--pf-rating-star,#946000);transform:scale(1.08);transition-delay:var(--rating-delay)}
.feedback-rating-field .feedback-rating-choice input:focus-visible+.feedback-rating-visual{outline:3px solid var(--pf-primary,#245746);outline-offset:2px}
.feedback-rating-field .feedback-rating-choice input[aria-invalid=true]+.feedback-rating-visual{border-color:var(--pf-error,#b42c34)}
.feedback-rating-field .feedback-rating-choice input:disabled+.feedback-rating-visual{opacity:.55;cursor:default}
.feedback-rating-field .feedback-rating-caption{display:block;max-width:100%;min-width:0;text-align:center;margin-block:10px 12px;font-size:.8rem;line-height:1.6;font-weight:400;color:var(--pf-muted,#56665d);overflow-wrap:anywhere}
@container pagetna-rating (max-width:260px){.feedback-rating-field .feedback-rating-options{grid-template-columns:repeat(6,minmax(0,1fr))}.feedback-rating-field .feedback-rating-options .feedback-rating-choice:nth-child(n){grid-column:span 2}.feedback-rating-field .feedback-rating-options .feedback-rating-choice:nth-child(4){grid-column:2/span 2}.feedback-rating-field .feedback-rating-options .feedback-rating-choice:nth-child(5){grid-column:4/span 2}}
.website-feature-card--feedback .feedback-required-note,.website-feature-card--feedback .website-feature-privacy{margin:0}
.website-feature-card--feedback .website-feature-form{align-items:start;gap:24px;max-width:680px}
.website-feature-card--feedback .website-feature-form>button{justify-self:start}
.website-feature-card--feedback textarea{min-height:144px}
@media(hover:hover){.feedback-rating-field .feedback-rating-choice:has(input:not(:disabled)):hover .feedback-rating-visual{background:color-mix(in srgb,var(--pf-ink,#254236) 6%,transparent)}}
@media(prefers-reduced-motion:reduce){.feedback-rating-field .feedback-rating-star svg,.feedback-rating-field .feedback-rating-choice .feedback-rating-visual{transition:none!important;transition-delay:0ms!important}}
