#quote-app { --q-ink: var(--ink, #45272d); --q-paper: var(--paper, #f7f2e8); --q-muted: var(--muted, #76666b); --q-accent: var(--coral, #ed6547); --q-line: var(--line, #dcd0c8); --q-lime: #dbeaa0; --q-surface: #fffaf2; width: 100%; scroll-margin-top: 100px; color: var(--q-ink); font-family: 'Manrope', sans-serif; }
#quote-app *, #quote-app *::before, #quote-app *::after { box-sizing: border-box; }
#quote-app [hidden] { display: none !important; }
#quote-app button, #quote-app input, #quote-app select, #quote-app textarea { font: inherit; }
#quote-app button { cursor: pointer; }
#quote-app button:disabled { cursor: default; }
#quote-app button:focus-visible, #quote-app a:focus-visible { outline: 3px solid var(--q-ink); outline-offset: 4px; }
#quote-app [tabindex='-1']:focus { outline: none; }
.q-card { display: flex; flex-direction: column; min-height: 510px; max-height: min(670px, calc(100dvh - 155px)); background: var(--q-surface); border: 1px solid var(--q-ink); border-radius: 0; overflow: hidden; }
.q-progress { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 0 0 auto; padding: 18px 28px; color: var(--q-paper); background: var(--q-ink); border-bottom: 1px solid var(--q-ink); }
.q-progress ol { display: flex; align-items: center; flex: 1; gap: 22px; margin: 0; padding: 0; list-style: none; }
.q-progress li { position: relative; }
.q-progress li + li::before { position: absolute; content: ''; width: 12px; height: 1px; top: 50%; left: -17px; background: #bca5a4; }
#quote-app .q-progress button { display: flex; align-items: center; gap: 9px; padding: 0; color: var(--q-paper); border: 0; background: none; font-size: 11px; font-weight: 650; white-space: nowrap; }
#quote-app .q-progress button:focus-visible { outline-color: var(--q-lime); }
.q-step-number { display: grid; place-items: center; width: 27px; height: 27px; color: var(--q-paper); border: 1px solid #bca5a4; border-radius: 0; font-size: 10px; }
.q-step-number svg { width: 15px; height: 15px; }
#quote-app .q-progress .is-current button { color: var(--q-lime); }
.q-progress .is-current .q-step-number { background: var(--q-lime); border-color: var(--q-lime); color: var(--q-ink); }
.q-progress .is-done .q-step-number { background: var(--q-paper); border-color: var(--q-paper); color: var(--q-ink); }
#quote-app .q-progress button:disabled { color: #c6b6b4; }
.q-step-count { color: #ddcbc6; font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
.q-form { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.q-step-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #c8aaa4 transparent; padding: 23px 28px 22px; animation: q-enter 240ms ease-out both; }
.q-step-heading { margin: 0 0 24px; }
.q-kicker { display: block; margin-bottom: 9px; color: var(--q-ink); font-size: 9px; font-weight: 800; line-height: 1.5; letter-spacing: .12em; }
#quote-app .q-step-heading h2 { margin: 0; font-family: inherit; font-size: clamp(24px, 2vw, 31px); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; }
.q-step-heading p { margin: 10px 0 0; color: var(--q-muted); font-size: 12px; line-height: 1.65; }
.q-fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
#quote-app .q-label, #quote-app .q-field > label { display: block; padding: 0; margin: 0 0 9px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.q-required { margin-left: 2px; color: var(--q-ink); }
.q-optional { margin-left: 5px; color: var(--q-muted); font-size: 9px; font-weight: 450; }
.q-priorities { margin-bottom: 17px; }
.q-priority-options { display: flex; flex-wrap: wrap; gap: 7px; }
#quote-app .q-priority { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 11px; color: var(--q-ink); background: transparent; border: 1px solid #baa3a0; border-radius: 0; font-family: inherit; font-size: 11px; line-height: 1.4; font-weight: 600; text-align: left; transition: background-color 160ms, border-color 160ms; }
#quote-app .q-priority:hover { border-color: var(--q-ink); background: #f3e5db; }
#quote-app .q-priority[aria-pressed='true'] { border-color: var(--q-ink); background: var(--q-lime); font-weight: 750; }
.q-priority-check { display: inline-grid; place-items: center; width: 13px; height: 13px; flex: 0 0 13px; font-size: 15px; line-height: 1; }
.q-priority-status { min-height: 15px; margin: 7px 0 0; color: var(--q-muted); font-size: 9px; line-height: 1.6; }
.q-type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.q-type-choice { position: relative; display: block; cursor: pointer; }
.q-type-choice > input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.q-type-surface { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 82px; padding: 12px; border: 1px solid var(--q-line); border-radius: 0; font-size: 10px; font-weight: 650; transition: border-color 160ms, background-color 160ms; }
.q-type-surface > svg { width: 25px; height: 25px; margin-bottom: 10px; }
.q-choice-dot { position: absolute; top: 12px; right: 10px; width: 10px; height: 10px; border: 1px solid #b69c99; border-radius: 50%; }
.q-type-choice input:checked + .q-type-surface { border-color: var(--q-ink); background: #f7d1c5; }
.q-type-choice input:checked + .q-type-surface .q-choice-dot { border: 3px solid var(--q-ink); background: white; }
.q-type-choice input:focus-visible + .q-type-surface { outline: 3px solid var(--q-ink); outline-offset: 3px; }
.q-type-choice input[aria-invalid='true'] + .q-type-surface { border-color: #a6422d; }
.q-type-choice:hover .q-type-surface { border-color: #986c6b; }
.q-fields-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.q-field { min-width: 0; margin-bottom: 18px; }
#quote-app .q-field input:not([type='checkbox']):not([type='radio']):not([type='file']), #quote-app .q-field select, #quote-app .q-field textarea { display: block; width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #c6b2aa; border-radius: 0; outline: none; color: var(--q-ink); background: #fffdf8; font-size: 12px; line-height: 1.5; transition: border-color 160ms, box-shadow 160ms; }
#quote-app .q-field select { padding-right: 30px; }
#quote-app .q-field input:focus, #quote-app .q-field select:focus, #quote-app .q-field textarea:focus { border-color: var(--q-ink); box-shadow: 0 0 0 3px #45272d12; }
#quote-app .q-field input[aria-invalid='true'], #quote-app .q-field textarea[aria-invalid='true'] { border-color: #a6422d; }
#quote-app .q-field textarea { min-height: 91px; max-height: 180px; resize: vertical; }
#quote-app .q-field input::placeholder, #quote-app .q-field textarea::placeholder { color: #807277; opacity: 1; }
#quote-app .q-field input:disabled { background: #eee4dc; color: #76666b; opacity: .7; }
.q-input-unit { position: relative; }
#quote-app .q-input-unit input { padding-right: 35px !important; }
.q-input-unit > span { position: absolute; right: 13px; top: 14px; color: var(--q-muted); font-size: 11px; }
.q-hint { margin: 7px 0 0; color: var(--q-muted); font-size: 9px; line-height: 1.65; }
#quote-app .q-checkbox { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 10px; font-weight: 450; cursor: pointer; }
.q-checkbox input, .q-channel-choices input { width: 15px; height: 15px; margin: 0; accent-color: var(--q-ink); }
.q-reassurance { display: flex; align-items: center; gap: 12px; margin-top: 2px; padding: 11px 14px; background: #f1eadf; border-radius: 0; }
.q-reassurance > svg { flex: 0 0 25px; width: 25px; height: 25px; color: var(--q-ink); }
.q-reassurance p { margin: 0; color: var(--q-muted); font-size: 10px; line-height: 1.7; }
.q-reassurance strong { color: var(--q-ink); font-weight: 600; }
.q-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex: 0 0 auto; padding: 16px 28px; background: var(--q-paper); border-top: 1px solid var(--q-line); }
.q-required-note { color: var(--q-muted); font-size: 9px; }
#quote-app .q-primary { display: inline-flex; justify-content: center; align-items: center; gap: 26px; min-height: 45px; padding: 13px 19px; color: var(--q-ink); background: var(--q-accent); border: 1px solid var(--q-accent); border-radius: 0; font-size: 11px; font-weight: 750; text-decoration: none; transition: background-color 160ms, color 160ms, transform 160ms; }
.page-quote #quote-app .q-primary { color: #2d191e; background: var(--q-accent); border-color: var(--q-accent); }
.page-quote #quote-app .q-primary:hover, #quote-app .q-primary:hover { color: var(--q-paper); background: var(--q-ink); border-color: var(--q-ink); }
#quote-app .q-primary:active { transform: translateY(1px); }
#quote-app .q-primary:disabled { opacity: .65; }
.q-primary svg { width: 18px; height: 18px; }
#quote-app .q-back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 0; color: var(--q-ink); border: 0; background: none; font-size: 11px; }
.q-back span { font-size: 19px; }
#quote-app .q-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-bottom-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 15px; margin: 9px 0 0; text-align: center; color: var(--q-muted); font-size: 10px; line-height: 1.6; }
.q-bottom-note .q-reset-draft { min-height: 30px; }
.q-error-summary { margin: 0 0 18px; padding: 12px 14px; color: #843e2d; background: #fff2ec; border-left: 2px solid #a04b33; font-size: 11px; line-height: 1.55; }
.q-error-summary strong { font-weight: 700; }
.q-error-summary ul { margin: 7px 0 0; padding-left: 16px; }
.q-error-summary li + li { margin-top: 4px; }
#quote-app .q-error-summary button { padding: 0; color: inherit; text-align: left; text-decoration: underline; text-underline-offset: 2px; border: 0; background: none; font-size: inherit; line-height: inherit; }
.q-field-error { margin: 7px 0 0; color: #943e2b; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.q-fields-row--compact .q-field { margin-bottom: 16px; }
.q-upload-field { margin-bottom: 0; }
.q-upload { position: relative; padding: 13px 16px 11px; text-align: center; border: 1px dashed #bca29b; border-radius: 0; background: var(--q-paper); transition: border-color 160ms, background-color 160ms; }
.q-upload:hover, .q-upload.is-dragging { border-color: var(--q-ink); background: #eef0d0; }
.q-upload > input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.q-upload:focus-within { outline: 3px solid var(--q-ink); outline-offset: 3px; }
.q-upload-label { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 28px; cursor: pointer; color: var(--q-muted); font-size: 10px; }
.q-upload-label > svg { width: 23px; height: 23px; color: var(--q-ink); }
.q-upload-label strong { color: var(--q-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.q-upload > .q-hint { margin-top: 4px; font-size: 9px; }
.q-files-list { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.q-files-list:empty { display: none; }
.q-files-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--q-line); border-radius: 0; }
.q-file-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; color: var(--q-ink); background: #f7d1c5; border-radius: 0; font-size: 8px; font-weight: 750; }
.q-file-icon img { width: 100%; height: 100%; object-fit: cover; }
.q-file-details { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 3px; }
.q-file-details strong { overflow: hidden; color: var(--q-ink); font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.q-file-details > span { color: var(--q-muted); font-size: 9px; }
#quote-app .q-file-remove { flex: 0 0 30px; width: 30px; height: 30px; color: var(--q-muted); border: 0; border-radius: 0; background: none; font-size: 21px; line-height: 1; }
#quote-app .q-file-remove:hover { color: var(--q-ink); background: #f7d1c5; }
.q-local-hint { margin-top: 7px; }
.q-request-summary { margin-bottom: 20px; padding: 0 14px; border: 1px solid var(--q-line); border-radius: 0; background: var(--q-paper); }
.q-summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; }
.q-summary-row + .q-summary-row { border-top: 1px solid var(--q-line); }
.q-summary-row > div { min-width: 0; }
.q-summary-label { display: block; color: var(--q-muted); font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.q-summary-row p { margin: 5px 0 0; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
#q-idea-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.q-summary-row .q-summary-detail { color: var(--q-muted); font-size: 9px; }
#quote-app .q-text-button { padding: 0; flex: 0 0 auto; color: var(--q-ink); background: none; border: 0; font-size: 10px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--q-accent); text-underline-offset: 3px; }
#quote-app .q-summary-priorities { padding-top: 4px; color: var(--q-ink); font-size: 10px; font-weight: 700; }
.q-summary-row .q-text-button { margin-top: 10px; }
.q-contact-method { margin-bottom: 17px; }
.q-channel-choices { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.q-channel-choices label { display: flex; align-items: center; gap: 7px; font-size: 11px; cursor: pointer; }
.q-demo-note { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; padding: 11px 13px; color: var(--q-muted); background: #f1eadf; border-radius: 0; font-size: 9px; line-height: 1.7; }
.q-demo-note strong { color: var(--q-ink); font-size: 10px; font-weight: 700; }
.q-success { align-items: stretch; min-height: 330px; padding: 0; text-align: center; overflow: hidden; }
.q-success-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 23px 30px 15px; scrollbar-width: thin; scrollbar-color: #c8aaa4 transparent; }
.q-success-mark { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 15px; background: var(--q-lime); color: var(--q-ink); border-radius: 0; }
.q-success-mark svg { width: 30px; height: 30px; }
#quote-app .q-success h2 { margin: 0; font-family: inherit; font-size: clamp(28px, 2.4vw, 35px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.q-success-intro { margin: 13px 0 16px; color: var(--q-muted); font-size: 12px; line-height: 1.8; }
.q-success-intro strong { color: var(--q-ink); font-weight: 650; }
.q-success-summary { align-self: stretch; margin: 0 0 16px; padding: 15px 18px; text-align: left; background: #edf0d6; border: 1px solid #cbd39f; border-radius: 0; }
.q-success-summary p { margin: 7px 0 0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
#q-success-idea { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--q-muted); font-size: 10px; }
.q-success-explanation { max-width: 420px; margin: 0 auto; color: var(--q-muted); font-size: 10px; line-height: 1.8; }
.q-success-actions { flex: 0 0 auto; padding: 16px 22px; border-top: 1px solid var(--q-line); background: var(--q-paper); }
.q-success-buttons { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 22px; }
.q-success .q-primary { flex: 0 0 auto; }
.q-start-over { min-height: 30px; }
.q-download-status { margin: 9px 0 0; color: var(--q-muted); font-size: 9px; }
.q-download-status:empty { margin: 0; }
@keyframes q-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 701px) and (max-height: 730px) {
  .q-card { min-height: 430px; max-height: calc(100dvh - 120px); }
  .q-progress { padding-top: 15px; padding-bottom: 15px; }
  .q-step-body { padding-top: 20px; padding-bottom: 20px; }
  .q-footer { padding-top: 13px; padding-bottom: 13px; }
}
@media (max-width: 1050px) and (min-width: 701px) {
  .q-progress { gap: 9px; padding-right: 22px; padding-left: 22px; }
  .q-progress ol { gap: 15px; }
  .q-progress li + li::before { width: 7px; left: -11px; }
  #quote-app .q-progress button { gap: 6px; font-size: 10px; }
  .q-step-body { padding-right: 22px; padding-left: 22px; }
  .q-footer { padding-right: 22px; padding-left: 22px; }
}
@media (max-width: 700px) {
  #quote-app { scroll-margin-top: 85px; }
  .q-card { min-height: 0; max-height: none; overflow: visible; border-radius: 0; }
  .q-progress { gap: 8px; padding: 19px 18px; }
  .q-progress ol { gap: 15px; justify-content: space-between; }
  #quote-app .q-progress button { gap: 6px; font-size: 10px; }
  .q-progress li + li::before { display: none; }
  .q-step-number { width: 24px; height: 24px; font-size: 9px; }
  .q-step-count { display: none; }
  .q-step-body { overflow: visible; padding: 23px 20px 24px; }
  .q-step-heading { margin-bottom: 23px; }
  #quote-app .q-step-heading h2 { font-size: 29px; }
  .q-step-heading p { font-size: 12px; }
  #quote-app .q-priority { min-height: 38px; font-size: 11px; }
  .q-priority-status { font-size: 10px; }
  .q-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .q-type-surface { min-height: 86px; padding: 13px; font-size: 11px; }
  .q-type-surface > svg { width: 25px; height: 25px; margin-bottom: 7px; }
  .q-fields-row { grid-template-columns: 1fr; gap: 0; }
  #quote-app .q-label, #quote-app .q-field > label { font-size: 12px; }
  #quote-app .q-field input:not([type='checkbox']):not([type='radio']):not([type='file']), #quote-app .q-field select, #quote-app .q-field textarea { min-height: 46px; font-size: 16px; }
  #quote-app .q-field textarea { min-height: 112px; }
  .q-input-unit > span { top: 15px; font-size: 12px; }
  .q-hint, .q-upload > .q-hint { font-size: 10px; }
  #quote-app .q-checkbox { min-height: 25px; font-size: 12px; }
  .q-reassurance p { font-size: 11px; }
  .q-footer { gap: 10px; padding: 17px 20px; border-radius: 0; }
  #quote-app .q-primary { gap: 14px; min-height: 46px; padding: 12px 16px; font-size: 11px; }
  #quote-app .q-back { font-size: 12px; }
  .q-required-note { font-size: 9px; }
  .q-bottom-note { padding: 0 8px; font-size: 10px; }
  .q-upload-label { min-height: 33px; font-size: 11px; }
  .q-upload-label > span > span { display: none; }
  .q-channel-choices { gap: 15px; }
  .q-channel-choices label { min-height: 30px; font-size: 12px; }
  .q-demo-note { padding: 13px; font-size: 10px; }
  .q-demo-note strong { font-size: 11px; }
  .q-summary-row p { font-size: 11px; }
  .q-summary-row .q-summary-detail { font-size: 10px; }
  .q-summary-label { font-size: 9px; }
  #quote-app .q-text-button { font-size: 11px; }
  .q-field-error { font-size: 11px; }
  .q-card.q-success { padding: 0; overflow: hidden; }
  .q-success-body { padding: 22px 22px 18px; }
  .q-success-actions { padding: 15px 20px; }
  .q-success-buttons { gap: 7px 14px; }
  #quote-app .q-success h2 { font-size: 35px; }
  .q-success-explanation { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #quote-app *, #quote-app *::before, #quote-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
