/* PRIMED Toolbox internationalisation control */
.primed-language-control{display:flex;align-items:center;gap:7px;margin-left:14px;flex:0 0 auto;font-family:inherit;position:relative;z-index:1002}
.primed-language-control__icon{width:17px;height:17px;display:block;opacity:.78;pointer-events:none}
.primed-language-control__select{appearance:none;-webkit-appearance:none;min-width:76px;height:36px;padding:0 28px 0 10px;border:1px solid rgba(30,55,55,.18);border-radius:999px;background-color:rgba(255,255,255,.96);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23374f4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;color:#263f3f;font-size:12px;font-weight:750;letter-spacing:.02em;line-height:1;cursor:pointer;box-shadow:0 3px 12px rgba(20,50,50,.07)}
.primed-language-control__select:hover{border-color:rgba(37,123,121,.42)}
.primed-language-control__select:focus{outline:3px solid rgba(82,192,189,.22);outline-offset:2px;border-color:#52c0bd}
.primed-language-control__label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#navbarSupportedContent>.primed-language-control{margin-right:3px}
@media(max-width:991.98px){#navbarSupportedContent>.primed-language-control{margin:12px 0 4px;padding:0 15px;justify-content:flex-start}.primed-language-control__select{height:40px;min-width:118px}}
/* Standalone tools */
.header .primed-language-control{margin-left:4px}.header .primed-language-control__icon{filter:brightness(0) invert(1);opacity:.9}.header .primed-language-control__select{border-color:rgba(255,255,255,.36);background-color:rgba(255,255,255,.96)}
@media(max-width:700px){.header .primed-language-control{margin:6px 0 0}}

/* Multilingual robustness. English keeps the original composition. */
@media (min-width:992px){
  html[data-locale]:not([data-locale="en"]) #navbarSupportedContent .navbar-nav{
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    row-gap:2px;
  }
  html[data-locale]:not([data-locale="en"]) .navbar .navbar-nav .nav-item{
    margin-left:clamp(9px,1.35vw,22px);
  }
  html[data-locale]:not([data-locale="en"]) .navbar .navbar-nav .nav-item a{
    letter-spacing:.02em;
  }
}
@media (min-width:992px) and (max-width:1199.98px){
  html[data-locale]:not([data-locale="en"]) .navbar .navbar-nav .nav-item{margin-left:8px}
  html[data-locale]:not([data-locale="en"]) .primed-language-control{margin-left:8px}
}
html[data-locale]:not([data-locale="en"]) .main-btn,
html[data-locale]:not([data-locale="en"]) .primary-btn,
html[data-locale]:not([data-locale="en"]) .secondary-btn,
html[data-locale]:not([data-locale="en"]) .ghost-btn,
html[data-locale]:not([data-locale="en"]) .scenario-back-btn,
html[data-locale]:not([data-locale="en"]) button.tab{
  white-space:normal;
  height:auto;
  min-height:40px;
  line-height:1.25;
  text-align:center;
}
html[data-locale]:not([data-locale="en"]) [data-i18n],
html[data-locale]:not([data-locale="en"]) [data-i18n-aria-label],
html[data-locale]:not([data-locale="en"]) [data-i18n-placeholder]{
  overflow-wrap:break-word;
}
/* Dense domain views may contain long Finnish/Greek compounds or scientific names. */
html[data-locale]:not([data-locale="en"]) .card h1,
html[data-locale]:not([data-locale="en"]) .card h2,
html[data-locale]:not([data-locale="en"]) .card h3,
html[data-locale]:not([data-locale="en"]) .card h4,
html[data-locale]:not([data-locale="en"]) .card-title,
html[data-locale]:not([data-locale="en"]) .smallLink,
html[data-locale]:not([data-locale="en"]) th,
html[data-locale]:not([data-locale="en"]) td{
  overflow-wrap:anywhere;
  word-break:normal;
}
@media(max-width:575.98px){
  html[data-locale]:not([data-locale="en"]) .main-btn,
  html[data-locale]:not([data-locale="en"]) .primary-btn,
  html[data-locale]:not([data-locale="en"]) .secondary-btn,
  html[data-locale]:not([data-locale="en"]) .ghost-btn{
    max-width:100%;
  }
}
