.aq-dialog {
  --aq-ink: var(--text, #183431);
  --aq-forest: var(--pine, #184d43);
  --aq-muted: var(--muted, #4d625c);
  --aq-paper: #faf8f1;
  --aq-line: var(--line, #c7d1c8);
  --aq-control-edge: #7e8981;
  --aq-active: #e3ece1;
  --aq-error: #94372a;
  color-scheme: light;
  box-sizing: border-box;
  width: min(38rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--aq-line);
  border-radius: .5rem;
  background: var(--aq-paper);
  color: var(--aq-ink);
  font: 400 1rem/1.5 var(--sans, 'DM Sans', Arial, sans-serif);
}
.aq-dialog[open] { display: flex; flex-direction: column; }
.aq-dialog:not([open]), .aq-dialog [hidden] { display: none !important; }
.aq-dialog *, .aq-dialog *::before, .aq-dialog *::after { box-sizing: border-box; }
.aq-dialog::backdrop { background: rgb(16 29 25 / 66%); }
.aq-header {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem .75rem;
}
.aq-header h2 {
  margin: 0;
  color: var(--aq-ink);
  font: 400 clamp(2.25rem, 4vw, 2.85rem)/1.04 var(--serif, 'Instrument Serif', Georgia, serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.aq-header h2:focus-visible { outline: 2px solid var(--aq-forest); outline-offset: 3px; }
.aq-header p { margin: .45rem 0 0; color: var(--aq-muted); font-size: .9375rem; text-wrap: pretty; }
.aq-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  color: var(--aq-ink);
  background: transparent;
  font: 400 1.6rem/1 Arial, sans-serif;
  cursor: pointer;
}
.aq-close:hover, .aq-edit:hover { background: var(--aq-active); }
.aq-body {
  min-height: 0;
  padding: .5rem 1.75rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding: .75rem;
}
.aq-form { margin: 0; }
.aq-trip, .aq-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.aq-wide { grid-column: 1/-1; }
.aq-contact { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--aq-line); }
.aq-name-head { display: flex; align-items: center; justify-content: space-between; column-gap: .75rem; flex-wrap: wrap; }
.aq-preview-tools { margin-block: -.75rem -.25rem; }
.aq-sample {
  min-height: 2.75rem;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: var(--aq-forest);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  font: 500 .875rem/1.4 var(--sans);
  cursor: pointer;
}
.aq-field, .aq-channel { min-width: 0; }
.aq-field label, .aq-channel legend { display: block; margin: 0; color: var(--aq-ink); font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.aq-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  margin: .35rem 0 0;
  padding: .55rem .75rem;
  border: 1px solid var(--aq-control-edge);
  border-radius: .25rem;
  background-color: #fffef9;
  color: var(--aq-ink);
  font: 400 1rem/1.4 var(--sans, 'DM Sans', Arial, sans-serif);
}
.aq-field select { cursor: pointer; }
.aq-field textarea { resize: vertical; min-height: 4.5rem; }
.aq-field :is(input, textarea)::placeholder { color: var(--aq-muted); opacity: 1; }
.aq-hint { color: var(--aq-muted); margin: .3rem 0 0; font-size: .8125rem; line-height: 1.4; }
.aq-field [aria-invalid=true], .aq-choices label:has([aria-invalid=true]) { border-color: var(--aq-error); }
.aq-field input[aria-invalid=true] { box-shadow: 0 0 0 1px var(--aq-error); }
.aq-field-error, .aq-error { color: var(--aq-error); margin: .375rem 0 0; font-size: .875rem; line-height: 1.45; }
.aq-error { margin: 0 0 .875rem; }
.aq-extra { margin-top: .45rem; }
.aq-extra summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  min-height: 2.75rem;
  padding: .25rem 0;
  color: var(--aq-forest);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.aq-extra summary::-webkit-details-marker { display: none; }
.aq-extra summary::before {
  content: '';
  width: .48rem;
  height: .48rem;
  margin: 0 .35rem .2rem .15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.aq-extra[open] summary::before { margin-bottom: -.2rem; transform: rotate(225deg); }
.aq-extra summary span { color: var(--aq-muted); font-weight: 400; }
.aq-question { margin: .125rem 0 .625rem; }
.aq-channel { margin: 0; padding: 0; border: 0; }
.aq-channel legend { padding: 0; }
.aq-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .35rem; }
.aq-choices label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .5rem .25rem;
  border: 1px solid var(--aq-control-edge);
  background: #fffef9;
  color: var(--aq-ink);
  font-size: .9375rem;
  line-height: 1.25;
  cursor: pointer;
}
.aq-choices label + label { margin-inline-start: -1px; }
.aq-choices label:first-child { border-radius: .25rem 0 0 .25rem; }
.aq-choices label:last-child { border-radius: 0 .25rem .25rem 0; }
.aq-choices label:has(:checked) { z-index: 1; background: var(--aq-active); border-color: var(--aq-forest); }
.aq-choices label:has(:focus-visible) { z-index: 2; outline: 2px solid var(--aq-forest); outline-offset: 2px; }
.aq-choices input { flex: none; width: 1rem; height: 1rem; margin: 0; accent-color: var(--aq-forest); }
.aq-permission { margin: .25rem 0 .9rem; color: var(--aq-muted); font-size: .875rem; line-height: 1.45; }
.aq-permission a { color: var(--aq-forest); text-underline-offset: .18em; white-space: nowrap; }
.aq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.aq-submit, .aq-submit-progress, .aq-done, .aq-edit {
  min-height: 2.875rem;
  padding: .65rem 1.25rem;
  border: 1px solid var(--aq-forest);
  border-radius: .1875rem;
  background: var(--aq-forest);
  color: white;
  font: 600 1rem/1.3 var(--sans, 'DM Sans', Arial, sans-serif);
  cursor: pointer;
}
.aq-submit { width: 100%; }
.aq-submit-progress {
  display: grid;
  position: relative;
  isolation: isolate;
  place-items: center;
  overflow: hidden;
  text-align: center;
  cursor: progress;
}
.aq-submit-progress::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 40%;
  background: #376e60;
  animation: aq-quote-progress 1.8s ease-in-out infinite;
}
@keyframes aq-quote-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .aq-submit-progress::before {
    animation: none;
    width: 100%;
    height: .2rem;
    top: auto;
    background: repeating-linear-gradient(115deg, #a4c6b6 0 .45rem, transparent .45rem .75rem);
  }
}
@media (forced-colors: active) {
  .aq-submit-progress::before { border-bottom: .2rem solid Highlight; }
}
.aq-submit:hover, .aq-done:hover { background: var(--aq-ink); }
.aq-dialog button:disabled { opacity: .6; cursor: wait; }
.aq-dialog :is(button, input:not([type="radio"]), select, textarea, summary, a):focus-visible { outline: 3px solid var(--aq-forest); outline-offset: 2px; }
.aq-field input[aria-invalid=true]:focus-visible { outline-color: var(--aq-error); }
.aq-result dl { display: grid; grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr); gap: .65rem 1rem; margin: 0 0 1.25rem; }
.aq-result dt, .aq-result dd { margin: 0; overflow-wrap: anywhere; }
.aq-result dt { color: var(--aq-muted); }
.aq-result dd { font-weight: 550; }
.aq-end { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--aq-line); padding-top: 1rem; }
.aq-edit { color: var(--aq-ink); background: transparent; border-color: var(--aq-control-edge); }
.aq-done { margin-left: auto; }
@media (max-width: 34rem) {
  .aq-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .aq-header { gap: .5rem; padding: 1rem 1rem .75rem; }
  .aq-body { padding: .25rem 1rem max(1rem, env(safe-area-inset-bottom)); }
  .aq-trip { grid-template-columns: minmax(5.65rem, .65fr) minmax(0, 1.45fr); }
  .aq-contact .aq-field { grid-column: 1/-1; }
}
@media (max-width: 22rem) {
  .aq-trip { grid-template-columns: 5.45rem minmax(0,1fr); gap: .75rem .65rem; }
  .aq-choices label { font-size: .875rem; gap: .25rem; }
}
@media (max-height: 28rem) {
  .aq-dialog[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .aq-body { overflow: visible; }
}
