#callback-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(100% - 2rem, 33rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid #e7e2dc;
  border-radius: 1.25rem;
  background: #fff;
  color: #171715;
  padding: 2.5rem clamp(1rem, 5vw, 2.5rem) 1.5rem;
  box-shadow: 0 24px 80px #0003;
}
#callback-dialog::backdrop { background: #161411a6; }
#callback-close {
  position: absolute;
  top: .4rem;
  right: .5rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
}
#callback-title { font-size: clamp(1.45rem, 5vw, 2rem); font-weight: 800; text-align: center; }
#callback-title + p { margin: .45rem 0 1.35rem; text-align: center; color: #57534e; }
#callback-form { display: grid; gap: .45rem; }
#callback-form label { font-size: .875rem; font-weight: 700; }
#callback-form input, #callback-form textarea {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  margin-bottom: .35rem;
  padding: .65rem .85rem;
  border: 1px solid #ded9d1;
  border-radius: .55rem;
  background: #f8f7f4;
  font-size: 1rem;
}
#callback-form textarea { resize: vertical; }
.callback-phone { display: flex; align-items: center; gap: .6rem; }
.callback-phone span { padding-inline: .35rem; color: #57534e; }
#callback-form button { min-height: 48px; border-radius: .6rem; background: #a93913; color: white; font-weight: 800; }
.callback-permission, #callback-status { font-size: .82rem; color: #57534e; }
.callback-credentials { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e7e2dc; margin-top: 1rem; padding-top: .85rem; gap: .5rem; text-align: center; font-size: .82rem; }
.callback-credentials strong { display: block; font-size: 1rem; }
