.cpcs-switcher {
  --cpcs-accent: #cbb353;
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  color: #17202b;
  font: inherit;
  text-align: start;
  line-height: 1.4;
}
.cpcs-switcher *, .cpcs-popup * { box-sizing: border-box; font-family: inherit; }
.cpcs-switcher[hidden] { display: none !important; }
.cpcs-switcher__row { display: flex; align-items: center; gap: 8px; }
.cpcs-switcher label { margin: 0; font-size: 12px; }
.cpcs-switcher select.cpcs-select { min-height: 36px; width: auto; font: inherit; font-size: 12px; color: #17202b; background: #fff; border: 1px solid #dadde1; border-radius: 7px; }
.cpcs-switcher--enhanced .cpcs-switcher__row {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cpcs-switcher--enhanced > .cpcs-status { display: none; }
.cpcs-switcher button.cpcs-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cbb35370;
  border-radius: 9px;
  background: #fff;
  color: #17202b;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.cpcs-switcher button.cpcs-toggle:hover, .cpcs-switcher button.cpcs-toggle[aria-expanded="true"] { border-color: var(--cpcs-accent); background: #fbf9f1; color: #17202b; }
.cpcs-switcher button.cpcs-toggle:focus-visible { outline: 2px solid var(--cpcs-accent); outline-offset: 3px; }
.cpcs-toggle > svg { width: 12px; height: 12px; color: #69717b; flex: 0 0 auto; transition: transform .15s ease; }
.cpcs-toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }
.cpcs-current-code { font: inherit; line-height: 1; }
.cpcs-switcher img.cpcs-flag, .cpcs-popup img.cpcs-flag { display: block; width: 22px; height: 16.5px; max-width: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px #17202b12; flex: 0 0 auto; }
.cpcs-switcher--floating {
  position: fixed;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9990;
  padding: 0;
  border: 0;
  background: transparent;
}
.cpcs-switcher--floating button.cpcs-toggle { box-shadow: 0 3px 14px #17202b12; }
.cpcs-popup {
  --cpcs-accent: #cbb353;
  position: fixed;
  z-index: 100005;
  display: flex;
  flex-direction: column;
  width: 230px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  padding: 5px;
  overflow: hidden;
  border: 1px solid #e9e5d8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 36px #17202b18, 0 2px 6px #17202b06;
  color: #17202b;
  font: inherit;
  text-align: start;
  line-height: 1.4;
}
.cpcs-popup__heading { flex: 0 0 auto; padding: 6px 9px 9px; color: #7b8088; font-size: 10px; font-weight: 500; }
.cpcs-options { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ddd8c7 transparent; }
.cpcs-popup button.cpcs-option {
  display: grid;
  grid-template-columns: 22px 1fr auto 12px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 8px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #27313e;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: start;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
}
.cpcs-popup button.cpcs-option:hover, .cpcs-popup button.cpcs-option:focus-visible { background: #f6f7f8; outline: 0; color: #17202b; }
.cpcs-popup button.cpcs-option:focus-visible { box-shadow: inset 0 0 0 1px #cbb35399; }
.cpcs-popup button.cpcs-option[aria-selected="true"] { background: #f8f4e6; color: #17202b; font-weight: 600; }
.cpcs-popup button.cpcs-option:disabled { opacity: .38; cursor: default; }
.cpcs-option__name { white-space: nowrap; }
.cpcs-option__code { color: #89909a; font-size: 10px; font-weight: 500; }
.cpcs-option__check { width: 12px; height: 12px; color: #9c812c; opacity: 0; }
.cpcs-option[aria-selected="true"] .cpcs-option__check { opacity: 1; }
.cpcs-popup .cpcs-menu-status { display: block; flex: 0 0 auto; margin: 5px 4px 0; padding: 9px 4px 4px; border-top: 1px solid #f0eee6; color: #838791; font-size: 9px; font-weight: 400; line-height: 1.6; }
.cpcs-popup .cpcs-menu-status:empty { display: none; }
.cpcs-converted .cpcs-value { white-space: normal; unicode-bidi: isolate; }
.cpcs-value bdi { font: inherit; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cpcs-switcher button.cpcs-toggle, .cpcs-toggle > svg { transition: none; } }
@media print { .cpcs-switcher--floating, .cpcs-popup { display: none !important; } }
