.quote-page { color-scheme: dark; --quote-error: #f29b8b; --quote-soft: #c4beb0; }
.quote-page [hidden] { display: none !important; }
.quote-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.quote-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; padding-top: 8.5rem; padding-bottom: 3.5rem; }
.quote-hero h1 { font-size: clamp(2rem, 4.4vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.055em; }
.quote-hero h1 span { color: var(--amber); white-space: nowrap; }
.quote-intro { padding-top: 2rem; }
.quote-intro > p:first-child { color: var(--text-secondary); font-size: 1.125rem; line-height: 1.7; max-width: 28rem; }
.quote-promise { color: var(--quote-soft); font-size: .8125rem; margin-top: 0.75rem; }
.quote-jump { display: inline-flex; gap: 0.25rem; align-items: center; font-weight: 600; margin-top: 1rem; font-size: .875rem; }
.quote-workspace { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; scroll-margin-top: 6rem; }
.quote-estimate { grid-column: 1 / -1; display: grid; grid-template-columns: inherit; gap: inherit; align-items: start; }
.quote-builder { background: var(--surface-inset); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.quote-controls, .quote-scenario-controls { border: 0; min-width: 0; }
.quote-builder-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.75rem 1.75rem 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.quote-builder h2 { font-size: 1.125rem; letter-spacing: -.025em; }
.quote-builder-head p { color: var(--text-secondary); font-size: .8125rem; margin-top: .35rem; }
.quote-currency { flex-shrink: 0; }
.quote-currency label { display: block; font-size: .75rem; color: var(--text-secondary); margin-bottom: .25rem; }
.quote-page input, .quote-page select, .quote-page button { font-family: inherit; }
.quote-page button { font-weight: 700; }
.quote-page input:not([type=radio]):not([type=range]), .quote-page select { width: 100%; min-width: 0; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-inset); min-height: 2.75rem; padding: .6rem .7rem; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.quote-page select { cursor: pointer; padding-right: .5rem; }
.quote-page select option { background: var(--surface-raised); color: var(--text); }
.quote-page input::placeholder { color: var(--text-dim); }
.quote-page input:focus, .quote-page select:focus { border-color: var(--amber); }
.quote-page :is(input, select, button, a, summary):focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.quote-page input[aria-invalid=true] { border-color: var(--quote-error) !important; }
.quote-page button:disabled { opacity: .45; cursor: not-allowed; }
.quote-step { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border-light); }
.quote-step-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.quote-step-number { color: var(--amber); font-size: .75rem; letter-spacing: .04em; border: 1px solid var(--amber-border); width: 1.8rem; height: 1.8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.quote-step h3 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.quote-help { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; }
.quote-row-head, .quote-activity { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) 1.75rem; gap: .5rem; align-items: center; }
.quote-row-head { font-size: .75rem; color: var(--text-secondary); margin-top: 1.25rem; margin-bottom: .5rem; }
.quote-row-head span:nth-child(4) { text-align: right; }
.quote-activity { margin-bottom: .65rem; }
.quote-line-total { font-size: .875rem; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.quote-remove { background: transparent; color: var(--text-secondary); border: 0; min-height: 2.75rem; font-size: 1.35rem !important; cursor: pointer; }
.quote-remove:hover { color: var(--quote-error); }
.quote-mobile-label { display: none; }
.quote-work-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; font-size: .8125rem; color: var(--text-secondary); }
.quote-work-footer strong { color: var(--text); font-weight: 500; }
.quote-text-button { border: 0; background: transparent; color: var(--amber); font-size: .875rem !important; cursor: pointer; padding: .5rem 0; text-align: left; }
.quote-text-button:hover { color: var(--amber-hover); text-decoration: underline; }
.quote-cost-help { margin-top: .85rem; font-size: .8125rem; }
.quote-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; gap: 1.25rem; align-items: center; margin-top: 1rem; }
.quote-field-label { display: block; font-size: .9375rem; font-weight: 550; margin-bottom: .2rem; }
.quote-money-input, .quote-percent-input { position: relative; }
.quote-money-input > span, .quote-percent-input > span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: .875rem; pointer-events: none; }
.quote-money-input > span { left: .75rem; }
.quote-money-input input { padding-left: 2rem !important; }
.quote-percent-input > span { right: .75rem; }
.quote-percent-input input { padding-right: 1.8rem !important; }
.quote-mode { display: flex; padding: .25rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: .55rem; margin: 1rem 0; }
.quote-mode label { position: relative; flex: 1; cursor: pointer; }
.quote-mode input { position: absolute; opacity: 0; }
.quote-mode span { font-weight: 700; display: block; padding: .6rem; text-align: center; border-radius: .35rem; font-size: .875rem; color: var(--text-secondary); }
.quote-mode input:checked + span { background: var(--surface-raised); color: var(--text); box-shadow: 0 1px 3px #0003; }
.quote-mode input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.quote-form-footer { padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 1.5rem; }
.quote-form-footer p { color: var(--text-secondary); font-size: .8125rem; flex: 1; }
.quote-form-footer button { flex-shrink: 0; }
.quote-results { position: sticky; top: 5.5rem; }
.quote-summary { position: relative; padding: 1.75rem; border: 1px solid var(--amber-border); border-radius: var(--radius-xl); background: linear-gradient(145deg, #302a20 0%, #24221d 45%, #211f1b 100%); box-shadow: 0 16px 50px #0002; overflow: hidden; }
.quote-summary::before { content: ''; position: absolute; height: 2px; top: 0; left: 1.75rem; right: 1.75rem; background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.quote-summary-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: .875rem; font-weight: 550; }
.quote-live { display: inline-flex; align-items: center; gap: .4rem; color: var(--quote-soft); font-size: .75rem; font-weight: 400; }
.quote-live > span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--amber); }
.quote-fee-label { color: var(--quote-soft); font-size: .875rem; margin-top: 2rem; }
.quote-fee { font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 750; color: var(--amber-hover); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: .35rem; }
.quote-fee-caption { color: var(--text-secondary); font-size: .8125rem; margin-top: .5rem; }
.quote-fee-caption > span:first-child { padding: 0 .3rem; }
.quote-split { display: flex; height: .55rem; overflow: hidden; border-radius: 1rem; background: var(--border); margin: 1.75rem 0 1.5rem; gap: 3px; }
.quote-split > span:first-child { width: 70%; background: #756d5b; }
.quote-split > span:last-child { width: 30%; background: var(--amber); }
.quote-split > span { transition: width .25s ease; }
.quote-breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: .65rem 0; font-size: .875rem; }
.quote-breakdown dt { color: var(--quote-soft); }
.quote-breakdown dd { font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.quote-dot { display: inline-block; width: .45rem; height: .45rem; margin-right: .5rem; background: #a69a82; border-radius: 2px; }
.quote-dot-other { background: #726b5f; }
.quote-breakdown .quote-total { padding-top: .8rem; border-top: 1px solid #494236; margin-top: .8rem; }
.quote-breakdown .quote-profit { font-size: 1rem; margin-top: .75rem; }
.quote-profit dt, .quote-profit dd { color: var(--text); font-weight: 650; }
.quote-margin-result { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; margin-top: 1.2rem; border-top: 1px solid #494236; }
.quote-margin-result > span { font-size: .875rem; color: var(--quote-soft); }
.quote-margin-result strong { color: var(--amber-hover); font-size: 2.25rem; letter-spacing: -.04em; line-height: 1.2; }
.quote-result-note { color: var(--quote-soft); font-size: .8125rem; margin-top: .5rem; }
.quote-export { display: flex; align-items: center; gap: .8rem; margin-top: 1.75rem; }
.quote-export .btn { flex: 1; padding: .9rem 1rem; gap: .75rem; font-size: .875rem; }
.quote-private, .quote-assumption { font-size: .75rem; line-height: 1.6; color: var(--text-secondary); margin-top: .85rem; }
.quote-assumption { padding: 0 1rem; }
.quote-validation { color: var(--quote-error); font-size: .875rem; border-left: 2px solid var(--quote-error); padding-left: .75rem; margin-top: 1rem; }
.quote-page .is-loss { color: var(--quote-error); }
.quote-scenarios { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 3rem; padding: 2.5rem 2rem 1.5rem; margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--bg-alt); }
.quote-scenario-intro h2 { font-size: 1.85rem; line-height: 1.2; letter-spacing: -.035em; }
.quote-scenario-intro p { color: var(--text-secondary); font-size: .9375rem; margin-top: .65rem; }
.quote-scenario-controls { grid-column: 1; }
.quote-slider-field + .quote-slider-field { margin-top: 1.25rem; }
.quote-slider-field > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9375rem; }
.quote-slider-field output { color: var(--amber-hover); font-variant-numeric: tabular-nums; border: 1px solid var(--border); border-radius: .35rem; padding: .2rem .55rem; min-width: 3.4rem; text-align: center; }
.quote-slider-field input { appearance: none; -webkit-appearance: none; width: 100%; background: transparent; border: 0; padding: 0; accent-color: var(--amber); cursor: pointer; height: 2rem; margin-top: .4rem; }
.quote-slider-field input::-webkit-slider-runnable-track { height: .375rem; border-radius: 1rem; background: linear-gradient(to right, var(--amber) 0%, var(--amber) var(--quote-fill, 0%), var(--text-dim) var(--quote-fill, 0%), var(--text-dim) 100%); }
.quote-slider-field input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 1rem; height: 1rem; margin-top: -.3125rem; border: 0; border-radius: 50%; background: var(--amber); }
.quote-slider-field input::-moz-range-track { height: .375rem; border-radius: 1rem; background: var(--text-dim); }
.quote-slider-field input::-moz-range-progress { height: .375rem; border-radius: 1rem; background: var(--amber); }
.quote-slider-field input::-moz-range-thumb { width: 1rem; height: 1rem; border: 0; border-radius: 50%; background: var(--amber); }
.quote-slider-field p { color: var(--text-secondary); font-size: .8125rem; }
.quote-comparison { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 0; }
.quote-comparison table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.quote-comparison th, .quote-comparison td { padding: .75rem .6rem; border-bottom: 1px solid var(--border-light); text-align: right; overflow-wrap: anywhere; }
.quote-comparison th:first-child { text-align: left; padding-left: 0; font-weight: 400; color: var(--text-secondary); }
.quote-comparison thead th { font-size: .75rem; color: var(--text-secondary); font-weight: 500; }
.quote-comparison td:last-child, .quote-comparison thead th:last-child { background: var(--amber-glow); }
.quote-comparison .quote-comparison-profit > * { font-weight: 650; color: var(--text); }
.quote-scenario-takeaway { margin-top: 1.25rem; font-size: .9375rem; color: var(--amber-hover); line-height: 1.5; }
.quote-scenario-footnote { grid-column: 1 / -1; color: var(--text-secondary); font-size: .75rem; padding-top: .6rem; }
.quote-guide { padding-top: 5rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.quote-guide h2 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.quote-guide-intro > p { color: var(--text-secondary); margin-top: 1.2rem; max-width: 20rem; }
.quote-faq details { border-bottom: 1px solid var(--border); }
.quote-faq summary { cursor: pointer; font-weight: 550; padding: 1.2rem 0; font-size: .9375rem; }
.quote-faq summary::marker { color: var(--amber); }
.quote-faq details p { color: var(--text-secondary); font-size: .875rem; padding-bottom: 1rem; line-height: 1.75; }
.quote-faq .quote-formula { color: var(--text); font-variant-numeric: tabular-nums; }
.quote-next { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; padding-top: 3rem; padding-bottom: 4.5rem; border-top: 1px solid var(--border); }
.quote-next h2 { font-size: 2.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.quote-next p { color: var(--text-secondary); margin: 1.25rem 0 1.75rem; max-width: 32rem; }
.quote-next .btn { gap: 0.25rem; }
.quote-pricing-link { font-size: .875rem; margin-left: 1.5rem; }
.quote-next-visual { padding: 1.5rem; border-left: 1px solid var(--amber-border); align-self: center; }
.quote-next-visual > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); padding: .7rem 0; }
.quote-next-visual p { font-size: 1.65rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.quote-next-visual strong { color: var(--amber); font-weight: 800; }
.quote-notice { border: 1px solid var(--amber-border); padding: 1rem; margin-bottom: 1rem; }
@media (max-width: 1000px) {
  .quote-hero { gap: 2rem; }
  .quote-workspace { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; }
  .quote-builder-head, .quote-step, .quote-form-footer, .quote-summary { padding-left: 1.25rem; padding-right: 1.25rem; }
  .quote-row-head { display: none; }
  .quote-activity { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 2rem; margin: 1rem 0; }
  .quote-activity-name { grid-column: 1 / 4; }
  .quote-remove { grid-column: 4; grid-row: 1 / 3; }
  .quote-mobile-label { display: block; font-size: .75rem; color: var(--text-secondary); margin-bottom: .25rem; }
  .quote-line-total { align-self: end; padding-bottom: .8rem; }
  .quote-field-pair { grid-template-columns: minmax(0, 1fr) 7rem; gap: .8rem; }
  .quote-export { flex-wrap: wrap; gap: .3rem; }
  .quote-export .btn { flex-basis: 100%; }
  .quote-form-footer { display: block; }
  .quote-form-footer button { margin-top: .5rem; }
}
@media (max-width: 760px) {
  .quote-hero { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 7rem; padding-bottom: 2rem; }
  .quote-hero h1 { font-size: clamp(1.8rem, 7.3vw, 3.5rem); }
  .quote-intro { padding-top: 0; }
  .quote-intro > p:first-child { max-width: 100%; font-size: 1rem; }
  .quote-promise { margin-top: .75rem; }
  .quote-workspace { grid-template-columns: 1fr; }
  .quote-results { position: static; }
  .quote-summary { padding: 1.75rem; }
  .quote-fee { font-size: 3rem; }
  .quote-export { flex-wrap: nowrap; gap: 1rem; }
  .quote-export .btn { flex-basis: auto; }
  .quote-scenarios { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.25rem; }
  .quote-comparison { grid-column: 1; grid-row: auto; }
  .quote-guide { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .quote-guide h2 br { display: none; }
  .quote-guide-intro > p { max-width: 100%; }
  .quote-next { grid-template-columns: 1fr; gap: 1rem; }
  .quote-next-visual { display: none; }
}
@media (max-width: 420px) {
  .quote-page .container { padding-left: 1rem; padding-right: 1rem; }
  .quote-builder-head { gap: .7rem; }
  .quote-builder-head h2 { font-size: 1rem; }
  .quote-currency select { font-size: .8125rem; }
  .quote-field-pair { grid-template-columns: 1fr; }
  .quote-field-pair > div:last-child { max-width: 12rem; }
  .quote-comparison table { font-size: .8125rem; }
  .quote-comparison th, .quote-comparison td { padding: .65rem .3rem; }
  .quote-scenario-intro h2 { font-size: 1.65rem; }
  .quote-next h2, .quote-guide h2 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-page *, .quote-page *::before { transition: none !important; scroll-behavior: auto; }
}
.quote-print-document, .quote-print-unavailable { display: none; }
@media print {
  @page { size: auto; margin: 14mm; }
  html, body { background: #fff !important; color: #292720 !important; overflow: visible; }
  .nav, .footer, .quote-page > section, .quote-page > noscript, .quote-workspace > :not(.quote-print-document):not(.quote-print-unavailable) { display: none !important; }
  .quote-page { color-scheme: light; --quote-error: #9b2110; }
  .quote-workspace { display: block; max-width: none; margin: 0; padding: 0 !important; }
  .quote-print-document:not([hidden]), .quote-print-unavailable:not([hidden]) { display: block; }
  .quote-print-document { font-size: 9pt; line-height: 1.35; font-variant-numeric: tabular-nums; }
  .quote-print-document a { color: inherit; text-decoration: none; }
  .quote-print-header { display: flex; justify-content: space-between; gap: 8mm; align-items: center; padding-bottom: 5mm; border-bottom: 1.5pt solid #a57c2e; break-inside: avoid; }
  .quote-print-brand { font-size: 24pt; font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; line-height: 1; }
  .quote-print-brand span { color: #a57c2e; }
  .quote-print-header p { font-size: 8pt; color: #645f53; margin-top: 1.5mm; }
  .quote-print-heading { text-align: right; }
  .quote-print-heading h1 { font-size: 20pt; line-height: 1.1; letter-spacing: -.035em; }
  .quote-print-highlights { display: grid; grid-template-columns: 1.35fr 1.15fr .8fr; gap: 5mm; padding: 5mm 0 3mm; break-inside: avoid; }
  .quote-print-highlights dt { font-size: 8pt; color: #645f53; margin-bottom: 1mm; }
  .quote-print-highlights dd { font-size: 23pt; font-weight: 750; line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .quote-print-highlights > div:first-child dd { color: #795719; }
  .quote-print-context { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1mm 4mm; font-size: 7.5pt; color: #645f53; padding-bottom: 3mm; border-bottom: .5pt solid #cfc9bb; }
  .quote-print-document h2 { font-size: 11pt; line-height: 1.2; letter-spacing: -.015em; margin: 5mm 0 2mm; break-after: avoid; }
  .quote-print-document table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9pt; }
  .quote-print-document thead { display: table-header-group; }
  .quote-print-document th, .quote-print-document td { padding: 1.7mm 2mm; border-bottom: .5pt solid #e1ddd4; text-align: right; overflow-wrap: anywhere; vertical-align: top; }
  .quote-print-document th:first-child { text-align: left; padding-left: 0; }
  .quote-print-document td:last-child, .quote-print-document th:last-child { padding-right: 0; }
  .quote-print-document thead th { color: #645f53; font-size: 7.5pt; font-weight: 600; border-bottom-color: #b8b1a1; }
  .quote-print-document tbody th { font-weight: 400; }
  .quote-print-document tr { break-inside: avoid; }
  .quote-print-activity-col { width: 46%; }
  .quote-print-totals { break-inside: avoid; }
  .quote-print-document .quote-print-total > * { font-weight: 700; border-bottom: 1pt solid #aaa08a; }
  .quote-print-scenario { break-inside: avoid; }
  .quote-print-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 4mm; }
  .quote-print-section-heading p { font-size: 8pt; color: #645f53; }
  .quote-print-scenario td:last-child, .quote-print-scenario thead th:last-child { border-left: 1pt solid #c6ab77; padding-left: 3mm; }
  .quote-print-takeaway { margin-top: 2mm; font-size: 8pt; color: #795719; }
  .quote-print-closing { break-inside: avoid; }
  .quote-print-assumptions { margin-top: 4mm; color: #645f53; font-size: 7.5pt; line-height: 1.4; }
  .quote-print-footer { display: flex; justify-content: space-between; align-items: end; gap: 6mm; border-top: 1pt solid #a57c2e; margin-top: 4mm; padding-top: 3mm; }
  .quote-print-footer strong { font-size: 9pt; }
  .quote-print-footer p { color: #645f53; font-size: 7.5pt; margin-top: 1mm; }
  .quote-print-footer > a { font-size: 7.5pt; text-align: right; flex-shrink: 0; }
  .quote-print-footer > a span { display: block; font-size: 11pt; font-weight: 750; color: #795719; }
}
