/* UX12AG — H-02 + U-03. Standalone local CSS. No shared theme/Matrix/scoring/storage changes. */
@media screen {
  /* H-02: questionnaire uses light answer tiles also in dark theme, so their
     numbers must remain dark; the selected answer has a distinct navy surface. */
  html[data-reguspace-theme="dark"] body #attachmentScreen .attach-questionnaire .attach-q .attach-scale label:not(:has(input[type="radio"]:checked)) {
    background:#f4f7fa !important;
    color:#253b4e !important;
    border:1px solid #bdccd9 !important;
    opacity:1 !important;
  }
  html[data-reguspace-theme="dark"] body #attachmentScreen .attach-questionnaire .attach-q .attach-scale label:has(input[type="radio"]:checked) {
    background:#155b83 !important;
    color:#fff !important;
    border:2px solid #9fdcff !important;
    box-shadow:0 0 0 1px #155b83 !important;
    font-weight:900 !important;
    opacity:1 !important;
  }
  html[data-reguspace-theme="dark"] body #attachmentScreen .attach-questionnaire .attach-q .attach-scale label:focus-within {
    outline:3px solid #e5a83a !important;
    outline-offset:2px;
  }
}
/* U-03: 820–980px tablet Matrix contains ~913px of content but was fixed to
   980px. Reduce that minimum only in this range; grid/axes/dot untouched.
   The 701–800px route uses a different layout and is deliberately unchanged. */
@media screen and (min-width:801px) and (max-width:980px) {
  #modelScreen .sheet { min-height:0 !important; }
}
