/* One calm focus ring across the app: off-white, never lime. Loaded last on purpose;
   text fields keep their own box focus. Dialogs take focus themselves on open, so a
   close button is only ringed once the keyboard is actually used. */
html body :is(a,button,summary,[role=button],[tabindex]:not([tabindex="-1"],input,textarea,select,dialog)):focus-visible{outline:1.5px solid #ededea!important;outline-offset:2px;box-shadow:none!important}
html body dialog:focus,html body dialog:focus-visible{outline:none}
/* No visible scrollbars anywhere: every area still scrolls, the bar stays hidden. */
html,html *{scrollbar-width:none!important}
html::-webkit-scrollbar,html *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
/* Elements that only take focus programmatically (window titles, dialogs) never show a ring. */
html body [tabindex="-1"]:focus,html body [tabindex="-1"]:focus-visible{outline:none!important;box-shadow:none!important}
/* Text fields: no coloured focus border; the box keeps its normal edge. */
html body :is(input,textarea,select):focus,html body :is(input,textarea,select):focus-visible{outline:none}
