.ps-quote {
  --ps-ink: #201d19;
  --ps-paper: #f9f4eb;
  --ps-muted: #d4c8b9;
  --ps-border: #62574a;
  --ps-accent: #e88c58;
  --ps-deep: #9d3811;
  color: var(--ps-paper);
  display: grid;
  font-size: 1rem;
  gap: clamp(1.2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin-inline: auto;
  max-width: 77rem;
  padding: clamp(2.5rem,7vw,5.75rem) clamp(1rem,4vw,3rem);
  scroll-margin-top: 5.5rem;
}
.ps-quote :is(p,h2,h3,ol,dl) { margin: 0; }
.ps-quote h2 {
  color: var(--ps-paper);
  font-size: clamp(2.6rem, 8vw, 4.9rem);
  letter-spacing: -.06em;
  line-height: .94;
  margin-block: .65rem 1rem;
}
.ps-quote [hidden] { display: none !important; }
.ps-quote :focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 3px; }
.ps-quote__intro > p:not(.ps-quote__kicker) {
  color: var(--ps-muted);
  line-height: 1.6;
  max-width: 35ch;
}
.ps-quote .ps-quote__kicker {
  color: var(--ps-accent);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ps-quote .ps-quote__note {
  border-left: 2px solid var(--ps-accent);
  font-size: .875rem;
  margin-top: 1.5rem;
  padding-left: .85rem;
}
.ps-quote__card {
  align-self: start;
  background: var(--ps-ink);
  border: 1px solid var(--ps-border);
  border-radius: .5rem;
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.8rem);
}
.ps-quote__progress {
  display: flex;
  gap: .4rem;
  list-style: none;
  padding: 0;
}
.ps-quote__progress li {
  border-bottom: 2px solid var(--ps-border);
  color: var(--ps-muted);
  flex: 1;
  font-size: .875rem;
  padding: 0 .25rem .6rem 0;
}
.ps-quote__progress b { color: var(--ps-accent); display: block; letter-spacing: .1em; }
.ps-quote__progress [aria-current="step"] {
  border-color: var(--ps-accent);
  color: var(--ps-paper);
  font-weight: 800;
}
.ps-quote__step { border: 0; margin: 1.3rem 0 0; min-width: 0; padding: 0; }
.ps-quote__step legend { font-size: 1.35rem; font-weight: 800; margin-bottom: .7rem; padding: 0; }
.ps-quote__step label { display: block; font-weight: 700; margin-block: .85rem; }
.ps-quote__step label span,.ps-quote__hint { color: var(--ps-muted); font-size: .875rem; font-weight: 400; }
.ps-quote__step :is(input,select,textarea) {
  background: #151411;
  border: 1px solid #827365;
  border-radius: .3rem;
  color: var(--ps-paper);
  display: block;
  font: inherit;
  font-weight: 400;
  margin-top: .35rem;
  min-height: 2.8rem;
  padding: .6rem .75rem;
  width: 100%;
}
.ps-quote__step select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ps-paper) 50%), linear-gradient(135deg, var(--ps-paper) 50%, transparent 50%);
  background-position: right 1.1rem center, right .8rem center;
  background-repeat: no-repeat;
  background-size: .3rem .3rem;
  padding-right: 1.8rem;
}
.ps-quote__step input::placeholder,.ps-quote__step textarea::placeholder { color: #b9ad9c; opacity: 1; }
.ps-quote__step input::file-selector-button {
  background: #47382c;
  border: 0;
  border-radius: .2rem;
  color: var(--ps-paper);
  font: inherit;
  margin-inline-end: .6rem;
  padding: .35rem .55rem;
}
.ps-quote__row { display: grid; gap: .8rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ps-quote__controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.ps-quote__controls { margin-top: 1.25rem; }
.ps-quote .ps-quote__button {
  align-items: center;
  background: var(--ps-accent);
  border: 1px solid transparent;
  border-radius: .25rem;
  color: #21150e;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.8rem;
  padding: .55rem .9rem;
  text-align: center;
  text-decoration: none;
}
.ps-quote .ps-quote__button:hover { background: #ffc4a1; }
.ps-quote .ps-quote__button--plain { background: transparent; border-color: #827365; color: var(--ps-paper); }
.ps-quote .ps-quote__button--plain:hover { background: #493429; }
.ps-quote__summary {
  display: grid;
  gap: .25rem .7rem;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}
.ps-quote__summary dt { color: var(--ps-muted); font-size: .875rem; }
.ps-quote__summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.ps-quote__summary + .ps-quote__hint { margin-top: 1rem; }
@media(max-width: 48rem) {
  .ps-quote { grid-template-columns: minmax(0, 1fr); }
}

.ps-quote__files { list-style:none; padding:0; margin:.65rem 0; }
.ps-quote__files li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.45rem .8rem; padding:.55rem 0; border-bottom:1px solid currentColor; }
.ps-quote__files li span { flex:1 1 13rem; overflow-wrap:anywhere; }
