/* A tactile ivory rocker. The existing button opens the Liberté dialog. */
.pl-header .brand-group { gap: 25px; }
.pl-header .liberte-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: auto;
  min-width: 44px;
  height: 58px;
  min-height: 44px;
  padding: 0 8px 0 23px;
  border: 0;
  border-left: 1px solid #bac8d62e;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  touch-action: manipulation;
}
.pl-header .liberte-switch[hidden] { display: none; }
.pl-header .switch-body {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 56px;
  padding: 5px 6px 9px;
  border: 1px solid #8a9cab61;
  border-radius: 8px;
  background: linear-gradient(145deg, #344457 0%, #18283a 50%, #101f30 100%);
  box-shadow: 0 3px 6px #030b1680, inset 0 1px 1px #dbe3e62e, inset 0 -1px 1px #050c1770;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pl-header .switch-rocker {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 29px;
  height: 39px;
  padding: 6px 0 5px;
  border: 1px solid #f8f3e7;
  border-radius: 4px;
  background: linear-gradient(180deg, #fffdf5 0%, #eee8dc 48%, #ded5c4 52%, #eee7d9 100%);
  box-shadow: 0 3px 0 #080f1bc7, 0 4px 5px #0006, inset 0 1px 1px #fff, inset 0 -1px 1px #b2a58a;
  transform: perspective(100px) rotateX(-12deg);
  transform-origin: 50% 50%;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pl-header .switch-rocker::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 19px;
  height: 1px;
  background: #aa9d8338;
  box-shadow: 0 1px 0 #ffffff70;
}
.pl-header .switch-rocker .switch-on {
  display: block;
  width: 2px;
  height: 7px;
  border-radius: 1px;
  background: #5c594c;
  box-shadow: 0 1px 0 #fff9;
}
.pl-header .switch-rocker .switch-off {
  display: block;
  width: 7px;
  height: 7px;
  border: 1.25px solid #817b6b;
  border-radius: 50%;
  background: transparent;
}
.pl-header .switch-light {
  position: absolute;
  bottom: 3px;
  left: calc(50% - 4px);
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #e0bd74;
  box-shadow: 0 0 6px #e6bd7399;
  transition: background .18s ease, box-shadow .18s ease;
}
.pl-header .switch-invitation {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 1;
  transform: none;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #a6b7c9;
}
.pl-header .switch-invitation strong {
  color: #e0c38c;
  font-weight: 500;
  font-size: 13px;
  transition: color .2s ease;
}
.pl-header .switch-mobile-label { display: none; }
@media (hover: hover) {
  .pl-header .liberte-switch:hover .switch-body {
    border-color: #d5b778a6;
    box-shadow: 0 3px 6px #030b1680, 0 0 16px #d5b77812, inset 0 1px 1px #e7dfc84d;
  }
  .pl-header .liberte-switch:hover .switch-invitation strong { color: #f2dbad; }
}
.pl-header .liberte-switch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 5px; }
.pl-header .liberte-switch:active .switch-rocker,
.pl-header .liberte-switch.is-off .switch-rocker {
  transform: perspective(100px) rotateX(14deg);
  background: linear-gradient(180deg, #ddd3bf 0%, #e6dfd1 48%, #f6f1e5 52%, #fffdf5 100%);
  box-shadow: 0 -2px 0 #080f1bb3, 0 -3px 4px #0004, inset 0 1px 1px #b2a58a, inset 0 -1px 1px #fff;
}
.pl-header .liberte-switch.is-off .switch-light { background: #61717f; box-shadow: none; }
@media (max-width: 1100px) {
  .pl-header .brand-group { gap: 16px; }
  .pl-header .liberte-switch { padding-left: 16px; padding-right: 0; gap: 10px; }
  .pl-header .switch-invitation strong { font-size: 12px; }
}
@media (max-width: 950px) {
  .pl-header .brand-group { gap: 15px; }
  .pl-header .liberte-switch { flex-direction: column; gap: 4px; padding: 0; height: auto; border-left: 0; width: 52px; }
  .pl-header .switch-body { width: 38px; height: 49px; flex-basis: auto; padding: 4px 4px 8px; border-radius: 7px; }
  .pl-header .switch-rocker { width: 26px; height: 34px; padding: 5px 0 4px; }
  .pl-header .switch-rocker::after { top: 16px; }
  .pl-header .switch-invitation { display: none; }
  .pl-header .switch-mobile-label { display: block; color: #e0c38c; font-size: 10px; line-height: 1.3; font-weight: 400; letter-spacing: .01em; }
}
@media (max-width: 700px) {
  .pl-header.site-header { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .pl-header .brand-group { gap: 16px; }
}
@media (max-width: 360px) {
  .pl-header.site-header { padding-left: 18px; padding-right: 18px; }
  .pl-header .brand-group { gap: 10px; }
  .pl-header .liberte-switch { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-header .liberte-switch,
  .pl-header .liberte-switch * { transition: none; }
}
@media (forced-colors: active) {
  .pl-header .switch-body, .pl-header .switch-rocker { border: 1px solid ButtonText; }
  .pl-header .switch-rocker .switch-on { background: ButtonText; }
  .pl-header .switch-rocker .switch-off { border-color: ButtonText; }
}
