/* The shared Switch menu (include/portal_switch_menu.php). */
.opc-switch { position: relative; display: inline-block; }
.opc-switch > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px;
  border: 1px solid var(--bs-border-color, #ced4da); border-radius: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.opc-switch > summary::-webkit-details-marker { display: none; }
.opc-switch > summary::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.opc-switch-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 1060; min-width: 220px; padding: 6px 0;
  background: var(--bs-body-bg, #fff); color: var(--bs-body-color, #212529); border: 1px solid var(--bs-border-color, #ced4da);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.opc-switch.opc-switch-up .opc-switch-menu { top: auto; bottom: calc(100% + 4px); left: 0; right: auto; }
.opc-switch-menu a { display: flex; gap: 8px; align-items: center; padding: 7px 14px; color: inherit; text-decoration: none; font-size: 14px; }
.opc-switch-menu a:hover, .opc-switch-menu a:focus-visible { background: var(--bs-tertiary-bg, #f1f3f5); }
.opc-switch-note { padding: 6px 14px 2px; font-size: 12px; opacity: .7; border-top: 1px solid var(--bs-border-color, #dee2e6); margin-top: 4px; }
