html.xuance-policy-contact-scroll-lock,
html.xuance-policy-contact-scroll-lock body {
  overflow: hidden !important;
  overscroll-behavior: contain;
}

.xuance-policy-contact {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 24px;
  background: #fff;
  color: #172033;
  font-family: inherit;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
}

.xuance-policy-contact:not([open]) { display: none; }
.xuance-policy-contact[open] {
  display: block;
  animation: xuance-policy-contact-enter 180ms ease-out;
}

.xuance-policy-contact::backdrop {
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(5px);
}

.xuance-policy-contact-content { padding: 30px 28px 12px; }
.xuance-policy-contact-eyebrow {
  margin: 0 0 8px;
  color: #9b1c24;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
}

.xuance-policy-contact h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
}

.xuance-policy-contact-description {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.xuance-policy-contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.xuance-policy-contact-close:hover { background: #f1f5f9; color: #9b1c24; }
.xuance-policy-contact-number-card {
  margin: 22px 0 18px;
  padding: 19px 16px 18px;
  border: 1px solid #f0dadd;
  border-radius: 17px;
  background: #fdf6f6;
  text-align: center;
}

.xuance-policy-contact-number-label {
  color: #8f4e53;
  font-size: 12px;
  line-height: 1.5;
}

.xuance-policy-contact-number {
  margin: 8px 0 0;
  color: #8f1820;
  font-size: clamp(25px, 7.8vw, 32px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .025em;
  line-height: 1.4;
  white-space: nowrap;
  user-select: all;
  -webkit-user-select: all;
}

.xuance-policy-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.xuance-policy-contact-copy,
.xuance-policy-contact-call {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.xuance-policy-contact-copy:hover { border-color: #d7a9ad; color: #9b1c24; }
.xuance-policy-contact-copy:disabled { opacity: .65; cursor: wait; }
.xuance-policy-contact-call { border-color: #9b1c24; background: #9b1c24; color: #fff; }
.xuance-policy-contact-call:hover { border-color: #80161d; background: #80161d; color: #fff; }
.xuance-policy-contact :is(button, a):focus-visible { outline: 3px solid rgba(155, 28, 36, .28); outline-offset: 3px; }
.xuance-policy-contact-status {
  min-height: 38px;
  margin: 11px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.xuance-policy-contact-status[data-tone="success"] { color: #15803d; }
.xuance-policy-contact-status[data-tone="error"] { color: #9b1c24; }
@keyframes xuance-policy-contact-enter {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 380px) {
  .xuance-policy-contact-content { padding: 28px 20px 10px; }
  .xuance-policy-contact-number-card { padding-inline: 10px; }
  .xuance-policy-contact-number { font-size: 27px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .xuance-policy-contact[open] { animation: none; }
  .xuance-policy-contact::backdrop { backdrop-filter: none; }
}
