/* Generated by scripts/quote-sheet-css.mjs from pergolas.css (the QuoteSheet rules), for pages that do not
   load pergolas.css. Do not edit: change pergolas.css and run the script. */

.qsheet-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(11,20,24,0.5);

  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: qsheetFadeIn .3s ease-out;
}
@keyframes qsheetFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.qsheet {
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  background: var(--paper);
  overflow-y: auto;
  position: relative;
  animation: qsheetSlideUp .4s cubic-bezier(.2,.7,.2,1);
  padding: 32px 36px 36px;
}
@keyframes qsheetSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.qsheet-close {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s;
  z-index: 5;
}
.qsheet-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.qsheet-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.qsheet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.qsheet-kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,182,193,0.22);
}
.qsheet-kicker strong {
  color: var(--ink);
  font-weight: 600;
}
.qsheet-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: calc(clamp(26px, 3vw, 34px) * var(--a11y-font-scale, 1));
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.qsheet-sub {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0;
}
.qsheet-ctx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--turq-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink);
}
.qsheet-ctx strong {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-ink);
}
.qsheet-ctx .extra-count {
  color: var(--ink-mute);
  margin-inline-start: auto;
}
.qsheet-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.qsheet-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.qsheet-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qsheet-field > span {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.qsheet-field input[type="text"],
.qsheet-field input[type="tel"],
.qsheet-field input[type="email"],
.qsheet-field select,
.qsheet-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s, background .2s;
  border-radius: 0;
  outline: none;
}
.qsheet-field input:focus,
.qsheet-field select:focus,
.qsheet-field textarea:focus {
  border-color: var(--ink);
  background: var(--bone);
}
.qsheet-field input:focus-visible,
.qsheet-field select:focus-visible,
.qsheet-field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}
.qsheet-field textarea {
  resize: vertical;
  min-height: 70px;
  font-family: var(--font-body);
}
.qsheet-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qsheet-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--line);
  background: var(--bone);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .875rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.qsheet-upload:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--bone-deep);
  color: var(--ink);
}
.qsheet-upload:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.qsheet-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.qsheet-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--turq-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink);
  max-width: 200px;
}
.qsheet-file-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qsheet-file-chip button {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-mute);
  cursor: pointer;
  display: inline-flex;
}
.qsheet-file-chip button:hover { color: var(--danger); }
.qsheet-tag-visible {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink-mute);
}
.qsheet-tag-visible strong {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
}
.qsheet-submit {
  margin-top: 8px;
  height: 56px;
  font-size: 1rem;
}
.qsheet-legal {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink-mute);
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
  padding-top: 6px;
}
.qsheet-success {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  animation: successPop .5s cubic-bezier(.2,.7,.2,1);
}
@keyframes successPop {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
.qsheet-check {
  color: var(--navy);
  animation: successTick .6s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes successTick {
  from { transform: scale(0) rotate(-90deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
.qsheet-success-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.qsheet-success-sub {
  font-size: .9375rem;
  color: var(--ink-soft);
}
.qsheet-success-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
@media (max-width: 640px) {
  .qsheet { padding: 24px 20px 28px; }
  .qsheet-row { grid-template-columns: 1fr; }
}
.qsheet-kicker,
.qsheet-field > span,
.qsheet-legal,
.qsheet-success-meta {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: .015em;
  line-height: 1.5;
}
.qsheet-sub,
.qsheet-success-sub,
.qsheet-field input,
.qsheet-field select,
.qsheet-field textarea { font-size: 1rem; }
.qsheet-selection { padding:14px 18px; background:#edf7f8; border-right:3px solid var(--navy); display:flex; flex-wrap:wrap; gap:8px 20px; font-size:1rem; margin:18px 0; color:var(--ink); }
.qsheet-overlay { z-index: 10050; }
