.ryla-language-bar{display:flex;justify-content:flex-end;align-items:center;width:100%;padding:12px 24px;background:linear-gradient(115deg,#c9c2b8,#ada493);border-bottom:1px solid #4c454d24;position:relative;z-index:25;box-sizing:border-box}
.ryla-language-switch{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ryla-language-switch button{display:inline-flex;align-items:center;gap:9px;min-width:104px;min-height:44px;padding:8px 13px;border:1px solid #1b4c5340;border-radius:9px;background:linear-gradient(150deg,#d8d1c8,#c9c2b8);color:#1b4c53;font:700 16px/1.2 'Ryla Manrope',Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #fff8,0 3px 0 #4c454d75,0 7px 11px #4c454d18;transition:transform .15s,box-shadow .15s}
.ryla-language-switch button[aria-pressed=true]{background:linear-gradient(145deg,#117489,#1b4c53);color:#fff;border-color:#117489}
.ryla-language-switch button:hover{transform:translateY(-1px)}
.ryla-language-switch button:active{transform:translateY(3px);box-shadow:inset 0 2px 4px #0003,0 0 0 #4c454d75,0 2px 4px #4c454d18}
.ryla-language-switch button:focus-visible{outline:3px solid #117489;outline-offset:5px}
.ryla-language-switch img{display:block;border-radius:3px;box-shadow:0 1px 4px #0003;flex:0 0 30px;object-fit:cover}
body .masthead.ryla-brandbar>.ryla-language-bar{grid-column:4;grid-row:1;justify-self:end;align-self:center;width:auto;background:transparent;padding:0;border:0;box-shadow:none}
body .masthead.ryla-brandbar>.home-header-controls{grid-row:2}
body .masthead.ryla-brandbar .ryla-language-switch{gap:6px;flex-wrap:nowrap}
body .masthead.ryla-brandbar .ryla-language-switch button{flex-direction:column;gap:3px;min-width:44px;min-height:48px;padding:5px 7px;font-size:16px;line-height:1;border-radius:7px}
body .masthead.ryla-brandbar .ryla-language-switch img{width:26px;height:17px;flex:none}
.ryla-english-motto{font-family:Arial,sans-serif;font-style:italic;font-weight:900;font-size:clamp(19px,2.2vw,35px);letter-spacing:-.045em;line-height:1.1;color:#fff;white-space:nowrap}
html[lang=en] .ryla-theme-wordmark .ryla-motto-word{display:none!important}
.ryla-source-language-notice{font:500 15px/1.6 'Ryla Manrope',Arial,sans-serif;background:#c9c2b8;color:#1b4c53;border-left:4px solid #117489;border-radius:6px;padding:14px 18px;margin:16px auto;max-width:1120px;box-sizing:border-box}
.ryla-source-language-notice a{color:#1b4c53;font-weight:800;text-underline-offset:3px}
html[lang=en] .side-nav a,html[lang=en] .home-header-controls nav a{overflow-wrap:normal}
@media(max-width:900px){body .masthead.ryla-brandbar>.ryla-language-bar{grid-column:3;grid-row:1;justify-self:end;justify-content:flex-end}body .masthead.ryla-brandbar>.home-header-controls{grid-column:3;grid-row:2}html[lang=en] body .masthead.ryla-brandbar .ryla-theme-mark{grid-column:1/-1;justify-self:stretch;width:100%;padding-right:54px;box-sizing:border-box}.ryla-english-motto{font-size:clamp(18px,3.6vw,29px)}.ryla-source-language-notice{margin:14px 12px;max-width:calc(100% - 24px);font-size:15px}}
@media(max-width:400px){body .masthead.ryla-brandbar .ryla-language-switch{gap:4px}body .masthead.ryla-brandbar .ryla-language-switch button{min-width:42px;padding-inline:6px}.ryla-english-motto{font-size:19px}}
@media(max-width:360px){body .masthead.ryla-brandbar .ryla-language-switch button{min-width:40px;padding-inline:5px}.ryla-english-motto{font-size:17px}}
@media(max-width:600px){.ryla-english-motto{font-size:clamp(14px,4.8vw,19px)}}
@media print{.ryla-language-bar{display:none!important}.ryla-source-language-notice{break-inside:avoid}}
@media(prefers-reduced-motion:reduce){.ryla-language-switch button{transition:none}}
/* Shared navigation works on the form, result, management and static guide pages. */
body .masthead.ryla-brandbar .home-menu-toggle{flex-direction:column;cursor:pointer}
body .masthead.ryla-brandbar .home-menu-toggle>span{display:block;width:100%;height:2px;flex:none;background:#1b4c53;transition:transform .2s}
body .masthead.ryla-brandbar .home-menu-toggle[aria-expanded=true]>span:first-child{transform:translateY(4px) rotate(45deg)}
body .masthead.ryla-brandbar .home-menu-toggle[aria-expanded=true]>span:last-child{transform:translateY(-4px) rotate(-45deg)}
body .masthead.ryla-brandbar .home-header-controls :is(a,button):focus-visible{outline:3px solid #117489;outline-offset:4px}
body .masthead.ryla-brandbar .home-header-controls nav>a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
@media(max-width:900px){body .masthead.ryla-brandbar .home-header-controls:not([data-main-menu-ready]) nav{display:grid;position:static;max-width:100%;width:auto}body .masthead.ryla-brandbar .home-header-controls:not([data-main-menu-ready]) .home-menu-toggle{display:none}}
@media(prefers-reduced-motion:reduce){body .masthead.ryla-brandbar .home-menu-toggle>span{transition:none}}
