html.aq-lock { overflow: hidden; }

.adara-quote {
  --aq-ink: #14203d;
  --aq-muted: #4d5a70;
  background: white;
  color: var(--aq-ink);
  border: 0;
  border-radius: 8px;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  box-shadow: 0 16px 80px rgba(5, 16, 42, .35);
  font-family: inherit;
  overscroll-behavior: contain;
}
.adara-quote:not([open]) { display: none; }
.adara-quote::backdrop { background: rgba(9, 21, 43, .72); }
.aq-shell { border-top: 5px solid #267ac3; padding: clamp(20px, 4.4vw, 38px); }
.aq-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.aq-heading h2 {
  color: var(--aq-ink);
  font: inherit;
  font-size: clamp(1.8rem, 4.3vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
  margin: 0;
  text-transform: none;
}
.adara-quote button, .adara-quote input, .adara-quote select, .adara-quote textarea {
  font: inherit;
  letter-spacing: normal;
}
.adara-quote button { cursor: pointer; }
.aq-close {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; margin: -4px -5px 0 0;
  background: #f2f5f8; color: var(--aq-ink);
  border: 1px solid #d4deea; border-radius: 50%; padding: 0;
}
.aq-close span { font: 400 1.7rem/1 Arial, sans-serif; }
.aq-close:hover { background: #e1edf6; }
.aq-intro, .aq-note, .aq-feedback {
  color: var(--aq-muted); font-size: .99rem; line-height: 1.5; font-weight: 400; max-width: none;
}
.aq-intro { margin: 10px 0 24px; }
.aq-form { display: block; margin: 0; padding: 0; }
.aq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.aq-fields label {
  display: flex; flex-flow: column; gap: 6px; margin: 0;
  font-size: .96rem; line-height: 1.4; font-weight: 650; color: var(--aq-ink);
}
.aq-fields small { color: var(--aq-muted); font-size: .82rem; font-weight: 400; }
.aq-wide { grid-column: 1 / -1; }
.aq-fields input, .aq-fields select, .aq-fields textarea, .aq-manual {
  width: 100%; min-width: 0; box-sizing: border-box; border-radius: 4px;
  background-color: #fff; color: var(--aq-ink); border: 1px solid #9eaebf;
  padding: 10px 12px; font-size: 1rem; font-weight: 400; line-height: 1.3;
}
.aq-fields input, .aq-fields select { height: 46px; }
.aq-fields select { appearance: auto; }
.aq-fields textarea { resize: vertical; min-height: 80px; }
.aq-fields input::placeholder, .aq-fields textarea::placeholder { color: #677489; opacity: 1; }
.aq-note { margin: 18px 0; }
.aq-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.aq-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 17px; min-height: 45px; border-radius: 4px; font-size: 1rem;
  line-height: 1.3; font-weight: 680; text-transform: none;
}
.aq-send { background: #142846; color: white; border: 1px solid #142846; }
.aq-send:hover { background: #204382; border-color: #204382; }
.aq-copy { background: white; color: var(--aq-ink); border: 1px solid #98abbe; }
.aq-copy:hover { background: #edf3f8; }
.aq-feedback { margin: 12px 0 0; overflow-wrap: anywhere; }
.aq-feedback:empty { margin: 0; }
.aq-feedback a { color: #145b9b; text-decoration: underline; text-underline-offset: 2px; }
.aq-manual:not([hidden]) { display: block; margin-top: 10px; resize: vertical; }
.aq-manual[hidden] { display: none; }
.adara-quote :focus-visible { outline: 3px solid #2a78c1; outline-offset: 2px; }
@media (max-width: 540px) {
  .adara-quote { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .aq-shell { padding: 19px; }
  .aq-fields { gap: 13px; grid-template-columns: minmax(0, 1fr); }
  .aq-wide { grid-column: auto; }
  .aq-actions button { flex: 1 1 auto; }
}
