/* Wervon localized language picker: a native, accessible top-right dropdown. */
.head{gap:14px}
.head nav{gap:clamp(10px,1.6vw,24px);margin-left:auto}
.wervon-lang-menu{position:relative;flex:0 0 auto;margin-left:8px;font-family:Inter,system-ui,sans-serif;z-index:55}
.wervon-lang-menu summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;padding:7px 11px;border:1px solid #cbd9d4;background:#fff;color:#1a3037;border-radius:11px;cursor:pointer;font-size:13px;font-weight:750;white-space:nowrap;box-shadow:0 4px 15px rgba(12,28,33,.05)}
.wervon-lang-menu summary::-webkit-details-marker{display:none}
.wervon-lang-menu summary:hover,.wervon-lang-menu[open] summary{border-color:#1d6f58;background:#f3faf6}
.wervon-lang-menu summary:focus-visible,.wervon-lang-options a:focus-visible{outline:3px solid #1d8064;outline-offset:2px}
.wervon-lang-options{position:absolute;right:0;top:calc(100% + 7px);min-width:190px;max-height:350px;overflow-y:auto;padding:6px;border:1px solid #d7e2de;background:#fff;color:#182c33;border-radius:13px;box-shadow:0 16px 48px rgba(6,26,28,.17)}
.wervon-lang-options a{display:flex!important;align-items:center;justify-content:space-between;gap:14px;text-decoration:none!important;padding:9px 11px!important;margin:0!important;white-space:nowrap;color:#253c43!important;border-radius:8px;font-size:14px!important;font-weight:650}
.wervon-lang-options a:hover{background:#edf6f1}
.wervon-lang-options a[aria-current]{background:#dcefe6;color:#105c44!important}
.wervon-legal-lang{position:absolute;right:18px;top:12px;z-index:30}
/* Wervon-only legal shell: keep the actual sitebar and its language switcher visible while scrolling. */
.sitebar{position:sticky;top:0;z-index:80}
.sitebar .wervon-legal-lang{position:relative;right:auto;top:auto;z-index:1;margin-left:auto}

@media(max-width:950px){
  .head{height:auto;min-height:72px;flex-wrap:wrap;gap:0 12px;padding:7px 0}
  .head .brand{order:1;min-height:44px}
  .head nav{order:3;flex:0 0 100%;min-width:0;margin-left:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:10px;padding-bottom:3px}
  .head nav::-webkit-scrollbar{display:none}
  .head nav a,.head nav a:nth-child(4),.head nav a:nth-child(5){display:flex;flex:0 0 auto;align-items:center;white-space:nowrap;min-height:44px;padding:0 8px}
  .wervon-lang-menu{order:2;margin-left:auto}
  #checker,.result-shell{scroll-margin-top:130px}
}
@media(max-width:640px){
  .head{gap:0 8px;min-height:105px}
  .head nav{gap:8px}
  .wervon-lang-menu summary{padding:7px;gap:5px}
  .wervon-lang-menu summary span{max-width:84px;overflow:hidden;text-overflow:ellipsis;font-size:12px}
  .wervon-lang-options{min-width:174px}
  .wervon-legal-lang{right:10px;top:8px}
}

@media(max-width:640px){
  .sitebar .sitebar-inner{flex-wrap:wrap;row-gap:8px}
  .sitebar .wervon-legal-lang{order:3;flex:0 0 auto;margin-left:auto}
  .sitebar .back{order:2}
}
