.contact-phone-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.contact-phone-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(53, 61, 58, .46);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-phone-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 30px 24px 24px;
  border: 1px solid rgba(155, 91, 70, .28);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 252, 247, .98), rgba(239, 248, 244, .98));
  box-shadow: 0 24px 72px rgba(64, 53, 48, .2);
}

.contact-phone-eyebrow {
  margin: 0 0 8px;
  color: rgba(155, 91, 70, .88);
  font-size: 12px;
  letter-spacing: .18em;
}

.contact-phone-panel h2 {
  margin: 0 0 12px;
  color: #384441;
  font-family: STKaiti, KaiTi, 'Songti SC', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-phone-panel > p:not(.contact-phone-eyebrow):not(.contact-phone-copy-feedback) {
  margin: 0 0 20px;
  color: #6f7a76;
  font-size: 14px;
  line-height: 1.75;
}

.contact-phone-panel label {
  display: block;
  margin-bottom: 7px;
  color: #4b5853;
  font-size: 14px;
}

.contact-phone-panel input {
  width: 100%;
  box-sizing: border-box;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(99, 116, 109, .28);
  border-radius: 14px;
  background: rgba(255, 255, 253, .9);
  color: #35413d;
  font-size: 18px;
  letter-spacing: .08em;
}

.contact-phone-panel input:focus {
  border-color: rgba(155, 91, 70, .68);
  outline: 2px solid rgba(155, 91, 70, .16);
  outline-offset: 2px;
}

.contact-phone-panel button {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 1px solid rgba(155, 91, 70, .88);
  border-radius: 16px;
  background: rgba(155, 91, 70, .88);
  color: #fffaf5;
  font-size: 16px;
  font-weight: 600;
}

.contact-phone-panel button:disabled { opacity: .62; }

.contact-phone-error {
  margin: 8px 0 0 !important;
  color: #9a493a !important;
  font-size: 13px !important;
}


.contact-phone-record {
  display: flex;
  align-items: center;
  margin: -5px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(155, 91, 70, .18);
  border-radius: 12px;
  background: rgba(255, 250, 244, .72);
}

.contact-phone-record-number {
  flex: 1;
  min-width: 0;
  color: #4b5853;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-all;
  -webkit-user-select: text;
  user-select: text;
}

.contact-phone-panel .contact-phone-record-copy {
  flex: none;
  width: auto;
  min-width: 58px;
  min-height: 38px;
  margin: 0 0 0 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent;
  color: #9b5b46;
  font-size: 13px;
}

.contact-phone-record-copy:focus-visible {
  outline: 2px solid rgba(155, 91, 70, .5);
  outline-offset: 2px;
}

.contact-phone-panel > .contact-phone-copy-feedback {
  margin: -8px 0 12px;
  color: #9b5b46;
  font-size: 12px;
}

.contact-phone-copy-feedback:empty { display: none; }
