/* Shared high-contrast controls for payment and language selection. */
.payment-action,
.pay-methods .pay-method,
.payment-admin-form .btn,
.resource-grid form .btn,
.membership-layout form .btn {
  border: 2px solid #075d73 !important;
  background: #ffffff !important;
  color: #073b49 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.payment-action.btn-primary,
.payment-admin-form .btn-primary,
.pay-methods .pay-method.active,
.pay-methods input:checked + span,
.resource-grid form .btn.btn-primary,
.membership-layout form .btn.btn-primary {
  background: #075d73 !important;
  border-color: #075d73 !important;
  color: #ffffff !important;
}
.payment-action.btn-outline,
.payment-admin-form .btn-outline,
.resource-grid form .btn.btn-outline,
.membership-layout form .btn.btn-outline {
  background: #ffffff !important;
  border-color: #075d73 !important;
  color: #073b49 !important;
}
.payment-action:hover,
.payment-admin-form .btn:hover,
.pay-methods .pay-method:hover,
.resource-grid form .btn:hover,
.membership-layout form .btn:hover {
  background: #043f50 !important;
  border-color: #043f50 !important;
  color: #ffffff !important;
}
.payment-action[aria-disabled="true"] {
  background: #e7eef0 !important;
  border-color: #48626b !important;
  color: #28434c !important;
  cursor: not-allowed;
}
.membership-chip.is-pending {
  background: #fff4d6 !important;
  border: 2px solid #8d5d00 !important;
  color: #553700 !important;
  font-weight: 800 !important;
}
.payment-readonly {
  border: 2px solid #8d5d00 !important;
  background: #fffaf0 !important;
  color: #362500 !important;
}
.language-switch a,
.lang-switcher .lang-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 5px 9px !important;
  background: #ffffff !important;
  color: #073b49 !important;
  border: 2px solid #075d73 !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.language-switch a.active,
.lang-switcher .lang-btn.active {
  background: #075d73 !important;
  color: #ffffff !important;
  border-color: #075d73 !important;
}
.language-switch a:hover,
.language-switch a:focus-visible,
.lang-switcher .lang-btn:hover,
.lang-switcher .lang-btn:focus-visible {
  background: #043f50 !important;
  color: #ffffff !important;
  border-color: #043f50 !important;
}
.language-switch,
.lang-switcher { gap: 6px !important; }
.lang-switcher .lang-divider { display: none !important; }
@media (prefers-contrast: more) {
  .btn,.payment-action,.language-switch a,.lang-switcher .lang-btn { outline: 2px solid currentColor; outline-offset: 2px; }
}.readonly-preview-banner{display:flex;align-items:center;gap:10px;max-width:1180px;margin:14px auto 0;padding:11px 14px;border:2px solid #8d5d00;background:#fff4d6;color:#553700;font-size:.92rem}.readonly-preview-banner strong{white-space:nowrap}.readonly-preview-banner a{color:#073b49;font-weight:800;text-decoration:underline}@media(max-width:640px){.readonly-preview-banner{margin:10px 12px 0;align-items:flex-start;flex-direction:column;gap:4px}}