/* Only keyboard focus changes appearance; resting page layout is preserved. */
#page a:focus-visible,
#page button:focus-visible,
#page input:focus-visible,
#page select:focus-visible,
#page textarea:focus-visible,
#iom-search-dialog a:focus-visible,
#iom-search-dialog button:focus-visible,
#iom-search-dialog input:focus-visible {
    /* Two contrasting rings remain visible on both white and dark theme surfaces.
       The old theme otherwise forces box-shadow:none on focused search inputs. */
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 7px #082e43 !important;
}
.iom-skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100001;
    width: auto;
    height: auto;
    padding: 12px 18px;
    margin: 0;
    clip: auto;
    clip-path: none;
    overflow: visible;
    background: #082e43;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: underline;
}
body.admin-bar .iom-skip-link:focus { top: 40px; }
