#mc-country-trigger {
  box-sizing: border-box; position: relative; flex: none; min-height: 44px; margin: 0;
  display: grid; align-content: center; justify-items: start; gap: 1px;
  padding: 4px 25px 4px 10px; border: 1px solid #849e8e; border-radius: 6px;
  background: #214c3f; color: #fff; font: 600 14px/1.1 system-ui,sans-serif;
  text-align: left; cursor: pointer;
}
#mc-country-trigger .mc-country-label {
  display: block; margin: 0; padding: 0; border: 0; color: #d1e4d7;
  font: 500 11px/1.1 system-ui,sans-serif; letter-spacing: .02em;
}
#mc-country-trigger strong {color: inherit; font: inherit}
#mc-country-trigger::after {
  content: ''; position: absolute; right: 10px; top: calc(50% - 4px);
  width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
#mc-country-trigger[aria-expanded="true"]::after {top: calc(50% - 1px); transform: rotate(225deg)}
body > #mc-country-trigger {position: fixed; z-index: 145; top: 8px; left: 8px}
#mc-country-links {
  position: fixed; z-index: 12000; box-sizing: border-box; display: grid; isolation: isolate;
  gap: 2px; width: min(290px, calc(100vw - 16px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 5px; background: #f8faf5; color: #163d31; border: 1px solid #8ca395;
  border-radius: 9px; box-shadow: 0 4px 18px #09291b40; font: 15px/1.3 system-ui,sans-serif;
}
#mc-country-links[hidden] {display: none!important}
#mc-country-links a {
  position: relative; display: grid; align-content: center; gap: 2px; min-height: 54px; box-sizing: border-box;
  color: #163d31; text-decoration: none; padding: 7px 25px 7px 10px; border-radius: 5px;
}
#mc-country-links small {font: 13px/1.3 system-ui,sans-serif; color: #415849}
#mc-country-links a[aria-current] {background: #e3eee4}
#mc-country-links a[aria-current]::after {content: '✓'; position: absolute; top: 10px; right: 8px}
#mc-country-links a:hover {background: #e7eee6}
#mc-country-links a:focus-visible, #mc-country-trigger:focus-visible {outline: 3px solid #469560!important; outline-offset: -3px}

/* A single fixed anchor is available while each local map initializes its own tools. */
#mc-country-bar {
  position: fixed; z-index: 155; left: max(8px, env(safe-area-inset-left)); top: max(8px, env(safe-area-inset-top));
  display: flex; align-items: center; gap: 2px; box-sizing: border-box; height: 60px; padding: 7px;
  color: #fff; background: #173d32; border: 1px solid #496c5d; border-radius: 9px;
}
#mc-country-bar > a {display: grid; place-items: center; width: 44px; height: 44px; border-radius: 5px}
#mc-country-bar > a:focus-visible {outline: 3px solid #b5d0b4; outline-offset: -3px}
#mc-country-bar > a img {display: block; width: 32px; height: 32px}
#mc-country-trigger {width: 100px; height: 44px}
html[data-mc-country="SE"] body > header, html[data-mc-country="BR"] .br-brand {visibility: hidden; pointer-events: none}
html[data-mc-country="SE"] body > header {height: 72px}
html[data-mc-country="SE"] body > main {height: calc(100dvh - 72px)}
html[data-mc-country="MN"] .mn-brand {padding-left: 174px}
html[data-mc-country="MN"] .mn-brand picture, html[data-mc-country="MN"] #mn-country,
html[data-mc-country="CA"] #cv-workspace-header picture {display: none!important}
html[data-mc-country="CA"] #cv-area-rail .cv-workspace-header {min-height: 64px!important}
@media(max-width:600px) {
  html[data-mc-country="CA"] #cv-area-rail .cv-workspace-header {padding-left: 172px!important; gap: 0!important}
  html[data-mc-country="CA"] #cv-workspace-header .cv-workspace-brand {display:none!important}
  html[data-mc-country="CA"] #cv-workspace-province {min-width: 0}
  html[data-mc-country="MN"] body .mn-brand {inset:8px 8px auto; min-height:60px; visibility:hidden; pointer-events:none}
}
html[data-mc-country="CA"] #cv-startup {top:76px}
@media (max-width:600px) {
  html[data-mc-country="SE"] #layers-trigger {
    position: fixed; left: 8px; bottom: calc(8px + env(safe-area-inset-bottom,0px));
    width: calc(50% - 12px); height: 56px; border-radius: 7px;
    border: 1px solid #739181; background: #173d32; color: #fff; box-shadow: 0 2px 8px #203d3229;
  }
  html[data-mc-country="SE"] :is(#detail,#notice) {bottom: calc(72px + env(safe-area-inset-bottom,0px))}
  html[data-mc-country="SE"] #drill-key {right: 8px; bottom: calc(8px + env(safe-area-inset-bottom,0px)); max-width: calc(50% - 12px)}
  html[data-mc-country="SE"] #map .maplibregl-ctrl-bottom-right {bottom: 68px}
}
