html.psq-open { overflow: hidden; }

dialog.ps-quote {
  box-sizing: border-box;
  width: min(38rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #cbd2dc;
  border-radius: .65rem;
  box-shadow: 0 1.5rem 5rem rgba(13, 27, 42, .28);
  background: #fff;
  color: #0d1b2a;
  font-family: inherit;
  text-align: left;
}

.ps-quote::backdrop { background: rgba(13, 27, 42, .7); }
.ps-quote [hidden] { display: none !important; }
.ps-quote *, .ps-quote *::before, .ps-quote *::after { box-sizing: border-box; }
.ps-quote .psq-shell { position: relative; padding: clamp(1.25rem, 4vw, 2.25rem); border-top: .3rem solid #f57c00; }
.ps-quote h2 {
  margin: 0 2.75rem .6rem 0;
  max-width: none;
  color: #0d1b2a;
  font: inherit;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.045em;
  text-transform: none;
}
.ps-quote h2:focus { outline: none; }
.ps-quote #psq-description {
  margin: 0 0 1.5rem;
  color: #445366;
  font-size: .94rem;
  line-height: 1.55;
}
.ps-quote button, .ps-quote input, .ps-quote select, .ps-quote textarea, .ps-quote a { font-family: inherit; }
.ps-quote button, .ps-quote .psq-whatsapp { cursor: pointer; }
.ps-quote .psq-close {
  display: grid;
  place-items: center;
  position: absolute;
  inset: .75rem .75rem auto auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #0d1b2a;
  border: 0;
  border-radius: .3rem;
  background: transparent;
}
.ps-quote .psq-close:hover { background: #edf1f6; }
.ps-quote .psq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ps-quote .psq-wide { grid-column: 1 / -1; }
.ps-quote .psq-contact { margin: 0; border: 0; }
.ps-quote .psq-contact summary { display: list-item; padding: .65rem 0; cursor: pointer; color: #17283e; font-size: .88rem; font-weight: 650; }
.ps-quote .psq-contact .psq-fields { margin-top: .5rem; }
.ps-quote .psq-preview-label { margin-top: 1.25rem; }
.ps-quote label {
  display: grid;
  align-content: start;
  gap: .38rem;
  min-width: 0;
  margin: 0;
  color: #17283e;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.45;
}
.ps-quote input, .ps-quote textarea, .ps-quote select {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: .68rem .75rem;
  color: #0d1b2a;
  border: 1px solid #8997a7;
  border-radius: .28rem;
  background: #fff;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.4;
}
.ps-quote textarea { resize: vertical; }
.ps-quote input::placeholder, .ps-quote textarea::placeholder { color: #5a697a; opacity: 1; }
.ps-quote .psq-preview { background: #f6f8fb; }
.ps-quote :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid #1e3a8a; outline-offset: 3px; }
.ps-quote .psq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.25rem; }
.ps-quote .psq-primary, .ps-quote .psq-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.ps-quote .psq-primary { color: #0d1b2a; background: #f57c00; }
.ps-quote .psq-primary:hover { background: #ff942a; }
.ps-quote .psq-secondary { border-color: #a9b6c8; color: #1e3a8a; background: #fff; }
.ps-quote .psq-secondary:hover { background: #eef2f8; }
.ps-quote .psq-status { margin: .75rem 0 0; color: #334966; font-size: .85rem; line-height: 1.5; }
.ps-quote .psq-status:empty { margin: 0; }
@media (max-width: 34rem) {
  .ps-quote .psq-fields { grid-template-columns: 1fr; gap: .8rem; }
  .ps-quote .psq-actions > * { flex: 1 1 auto; }
}
