/* SmutCore Sngine 5 Nova: focused auth accessibility improvements.
   Preserves native theme, settings, CSP and private indexing policy. */
body.auth-body :is(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline: 3px solid #0b4da3 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff !important;
}
body.auth-body.night-mode :is(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline-color: #ffda63 !important;
  box-shadow: 0 0 0 2px #10243a !important;
}
body.auth-body .link.link-primary { color: #0956ad !important; }
body.auth-body.night-mode .link.link-primary { color: #a6d4ff !important; }
body.auth-body .heroui.button.button--primary {
  background-color: #0958bc !important;
  color: #fff !important;
}
body.auth-body .heroui.button.button--primary:hover { background-color: #07499c !important; }
body.auth-body .input { border: 2px solid #808b9b !important; }
body.auth-body.night-mode .input { border-color: #9aabbf !important; }
body.auth-body button.dropdown-toggle, body.auth-body button.js_theme-mode {
  min-height: 36px !important;
  min-width: 36px !important;
}
/* Native Sngine Nova select control must have a visible boundary, including in dark mode. */
body.auth-body select.select, body.auth-body .select { border: 2px solid #808b9b !important; }
body.auth-body.night-mode select.select, body.auth-body.night-mode .select { border-color: #9aabbf !important; }

/* Reset screen: Nova primary link is an anchor, not a HeroUI button. */
body.auth-body a.button.button--primary { background-color: #0958bc !important; color: #fff !important; }
body.auth-body a.button.button--primary:hover { background-color: #07499c !important; }

/* SC-NOVA-PUBLIC-ROUTES-20261030: Sngine 5 contact and legal pages only.
   Preserve native Nova and the separate authenticated shell. */
body:has(.static-page-content) :is(a,button,input,select,textarea,[role="button"]):focus-visible,
body:has(form[data-url="core/contact.php"]) :is(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline:3px solid #0b4da3 !important;
  outline-offset:3px !important;
  box-shadow:0 0 0 2px #fff !important;
}
body.night-mode:has(.static-page-content) :is(a,button,input,select,textarea,[role="button"]):focus-visible,
body.night-mode:has(form[data-url="core/contact.php"]) :is(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline-color:#ffda63 !important;
  box-shadow:0 0 0 2px #10243a !important;
}
body:has(.static-page-content) .static-page-content {max-width:55ch;margin-inline:auto;}
body:has(.static-page-content) .static-page-content :is(h1,h2,h3,h4) {text-wrap:balance;}
body:has(.static-page-content) .static-page-content :is(p,li) {text-wrap:pretty;}body:has(.static-page-content) .static-page-content a {color:#0956ad !important;}
body.night-mode:has(.static-page-content) .static-page-content a {color:#a6d4ff !important;}
body:is(:has(.static-page-content),:has(form[data-url="core/contact.php"])) :is(a.button.button--primary,button.heroui.button.button--primary) {background-color:#0958bc !important;color:#fff !important;}
body:is(:has(.static-page-content),:has(form[data-url="core/contact.php"])) :is(a.button.button--primary,button.heroui.button.button--primary):hover {background-color:#07499c !important;}
body:is(:has(.static-page-content),:has(form[data-url="core/contact.php"])) :is(button.dropdown-toggle,button.js_theme-mode) {min-height:36px !important;min-width:36px !important;}
body:has(form[data-url="core/contact.php"]) label.input {border:2px solid #808b9b !important;}
body:has(form[data-url="core/contact.php"]) textarea.textarea {border:2px solid #808b9b !important;}
body.night-mode:has(form[data-url="core/contact.php"]) :is(label.input,textarea.textarea) {border-color:#9aabbf !important;}
body:has(form[data-url="core/contact.php"]) aside :is(h2.mt-4,p.mt-1) {background-color:rgba(244,250,255,.96);color:#182d42 !important;padding:.375rem .65rem;border-radius:.35rem;}
/* SC-NOVA-PUBLIC-END */