/* Phase 344 — harmonisation transversale, sans modification des logiques metier. */
:root { --dfe-focus:#1469d2; }
:where(button,a,input,select,textarea,[tabindex]):focus-visible { outline:2px solid var(--dfe-focus); outline-offset:2px; }
:where(input,select,textarea,button) { max-width:100%; }
:where(img,video,canvas,svg) { max-width:100%; }
:where(table) { border-collapse:collapse; }
:where(th,td) { overflow-wrap:anywhere; }
:where(dialog,[role="dialog"],.modal-content,.popup-content) { max-width:min(96vw,920px); max-height:calc(100dvh - 28px); overflow:auto; }
@media(max-width:760px) {
  :where(body) { overflow-x:hidden; }
  :where(main,section,article,aside,header,footer) { min-width:0; }
  :where(input,select,textarea) { min-width:0; }
  :where(.table-responsive,.table-wrap,.table-container) { max-width:100%; overflow-x:auto; }
  :where(dialog,[role="dialog"],.modal-content,.popup-content) { max-width:calc(100vw - 20px); max-height:calc(100dvh - 20px); }
}
@media(prefers-reduced-motion:reduce) { :where(*, *::before, *::after) { scroll-behavior:auto!important; } }
