/* Mobile-aligned ASEAN Fair feedback rating inputs, 2026-11-02.
   Presentation only. No field names, values, or submission handling changed. */
#feedbackForm,
#feedbackForm fieldset,
#feedbackForm .rating-row,
#feedbackForm .scale-options,
#feedbackForm .choice-row {
  min-width:0;
  max-width:100%;
}
#feedbackForm .rating-row,
#feedbackForm .scale-options {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
  width:100%;
  gap:clamp(4px,1.5vw,9px);
  margin-top:12px;
}
#feedbackForm .rating-row label {
  position:relative;
  display:grid;
  place-items:center;
  min-width:0;
  min-height:48px;
  width:100%;
  margin:0;
  padding:0;
  cursor:pointer;
}
#feedbackForm .rating-row input[type="radio"] {
  position:absolute !important;
  left:50%;
  top:50%;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  opacity:0;
  clip-path:inset(50%);
}
#feedbackForm .rating-row label span {
  display:grid;
  place-items:center;
  aspect-ratio:1 / 1;
  width:100%;
  max-width:50px;
  min-height:0;
  padding:0;
  border:1.5px solid #c9d6e5;
  border-radius:50%;
  background:#f8fafc;
  color:#102a56;
  font-size:16px;
  font-weight:800;
  line-height:1;
}
#feedbackForm .rating-row input[type="radio"]:checked + span {
  background:#6a367a;
  color:#ffffff;
  border-color:#6a367a;
}
#feedbackForm .rating-row input[type="radio"]:focus-visible + span {
  outline:3px solid #dbb0df;
  outline-offset:3px;
}
#feedbackForm .scale-options label {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:0;
  min-height:67px;
  width:100%;
  padding:8px 2px;
  gap:8px;
  margin:0;
  border:1.5px solid #d7e0ec;
  border-radius:12px;
  background:#f8fafc;
  color:#102a56;
  font-size:15px;
  font-weight:800;
  line-height:1.1;
  text-align:center;
  cursor:pointer;
}
#feedbackForm .scale-options input[type="radio"],
#feedbackForm .choice-row input[type="radio"] {
  appearance:auto !important;
  -webkit-appearance:radio !important;
  display:block;
  position:static;
  flex:0 0 20px;
  width:20px !important;
  min-width:20px !important;
  height:20px !important;
  min-height:20px !important;
  max-width:20px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50%;
  box-shadow:none !important;
  accent-color:#972478;
  background:transparent;
  cursor:pointer;
}
#feedbackForm .scale-options label:has(input:checked),
#feedbackForm .choice-row label:has(input:checked) {
  background:#f8edf8;
  border-color:#972478;
}
#feedbackForm .scale-options label:focus-within,
#feedbackForm .choice-row label:focus-within {
  outline:2px solid #b491ba;
  outline-offset:2px;
}
#feedbackForm .choice-row {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  width:100%;
  margin-top:10px;
}
#feedbackForm .choice-row label {
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 43%;
  min-width:0;
  min-height:46px;
  padding:10px 11px;
  margin:0;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
#feedbackForm .rating-fieldset,
#feedbackForm .mne-scale,
#feedbackForm .mne-choice {
  min-width:0;
}
#feedbackForm .rating-fieldset legend,
#feedbackForm .mne-scale legend,
#feedbackForm .mne-choice legend {
  max-width:100%;
  line-height:1.45;
  overflow-wrap:break-word;
}
@media (max-width:430px) {
  #feedbackForm .rating-row,
  #feedbackForm .scale-options { gap:5px; }
  #feedbackForm .scale-options label {
    min-height:64px;
    padding:7px 1px;
    gap:7px;
    font-size:14px;
  }
  #feedbackForm .choice-row label { flex:1 1 43%; }
}
@media (max-width:350px) {
  #feedbackForm .rating-row,
  #feedbackForm .scale-options { gap:4px; }
  #feedbackForm .rating-row label span { font-size:15px; }
  #feedbackForm .scale-options label { font-size:13px; }
}
