.quote-page {
  --quote-ink: #1a2921;
  --quote-pine: #163a2a;
  --quote-green: #23543c;
  --quote-paper: #f4f2e9;
  --quote-rule: #cbd0c5;
  --quote-brass: #be8741;
  --quote-muted: #566358;
  color-scheme: light;
  color: var(--quote-ink);
  background: var(--quote-paper);
}
.quote-page * { box-sizing: border-box; }
.quote-page .page-shell { width: min(1160px, calc(100% - 40px)); }
.quote-page .site-header { min-height: 66px; }
.quote-page .site-header, .quote-page .site-nav, .quote-page .brand { color: var(--quote-ink); }
.quote-main { padding-top: 18px; padding-bottom: 56px; }
.quote-crumb { margin: 0 0 14px; color: var(--quote-muted); font-size: .78rem; }
.quote-crumb a, .quote-page a { color: var(--quote-green); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.quote-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 12px 0 18px; border-bottom: 1px solid var(--quote-rule); }
.quote-intro h1 { max-width: 760px; margin: 0; color: var(--quote-ink); font: 700 clamp(2rem, 4.2vw, 3.2rem)/1.03 Georgia, 'Times New Roman', serif; letter-spacing: -.034em; }
.quote-lead { max-width: 700px; margin: 12px 0 0; color: var(--quote-muted); font-size: 1rem; line-height: 1.55; }
.quote-stamp { display: grid; min-width: 174px; gap: 5px; border-left: 2px solid var(--quote-brass); padding: 8px 0 8px 14px; color: var(--quote-green); font-size: .68rem; font-weight: 750; line-height: 1.4; }
.quote-tool { margin-top: 20px; border: 1px solid var(--quote-rule); background: #fbfaf5; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(370px, .97fr); grid-template-areas: "result inputs"; align-items: stretch; }
.quote-result { grid-area: result; display: flex; flex-direction: column; min-width: 0; padding: 23px 24px 21px; color: #f8f5e9; background: var(--quote-pine); }
.quote-result > * { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.quote-overline { margin: 0 0 9px; color: #e9c07f; font-size: .69rem; font-weight: 760; letter-spacing: .045em; }
.quote-result h2 { margin: 0; color: #fffdf6; font: 650 1.46rem/1.18 Georgia, 'Times New Roman', serif; }
.quote-status { min-height: 39px; margin: 8px 0 12px; color: #dbe3da; font-size: .76rem; line-height: 1.45; }
.quote-checks { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(239,237,220,.28); }
.quote-check { min-width: 0; border-bottom: 1px solid rgba(239,237,220,.28); padding: 12px 0 13px; }
.quote-check-heading { display: flex; align-items: center; gap: 9px; }
.quote-check-mark { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(239,237,220,.54); color: #f4cd86; font: 700 .72rem/1 Georgia, 'Times New Roman', serif; }
.quote-check h3 { margin: 0; color: #e6eadf; font-size: .78rem; font-weight: 680; }
.quote-check > strong { display: block; margin: 7px 0 3px 31px; color: #f4cd86; font: 700 clamp(1.36rem, 2.3vw, 1.8rem)/1.12 Georgia, 'Times New Roman', serif; font-variant-numeric: tabular-nums; }
.quote-check p { margin: 0 0 0 31px; color: #dbe3da; font-size: .73rem; line-height: 1.45; }
.quote-check.is-alert > strong { color: #ffd18a; }
.quote-ledger { display: grid; margin: 12px 0 9px; border-top: 1px solid rgba(239,237,220,.24); }
.quote-ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(239,237,220,.2); padding: 7px 0; }
.quote-ledger dt { color: #cbd8cc; font-size: .72rem; }
.quote-ledger dd { margin: 0; color: #fffdf6; font-size: .78rem; font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.quote-ledger-total dt, .quote-ledger-total dd { color: #f4cd86; font-weight: 780; }
.quote-copy { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; margin-top: auto; border: 1px solid #e7bd77; border-radius: 0; padding: 9px 12px; color: var(--quote-pine); background: #efc77f; font: inherit; font-size: .78rem; font-weight: 760; text-align: left; cursor: pointer; }
.quote-copy:hover:not(:disabled) { background: #ffdc9d; }
.quote-copy:disabled { cursor: not-allowed; opacity: .58; }
.quote-copy-status { min-height: 1em; margin: 5px 0 0; color: #dbe3da; font-size: .68rem; }
.quote-copy-fallback { width: 100%; margin-top: 6px; border: 1px solid #8ea18f; padding: 8px; color: #fff; background: #254633; font: inherit; font-size: .72rem; }
.quote-boundary { margin: 10px 0 0; color: #bfcfc1; font-size: .68rem; line-height: 1.45; }
.quote-inputs { grid-area: inputs; min-width: 0; padding: 22px 23px 21px; border-left: 1px solid var(--quote-rule); }
.quote-input-heading { margin: 0 0 14px; }
.quote-input-heading h2 { margin: 0; color: var(--quote-ink); font-size: 1.08rem; line-height: 1.25; }
.quote-input-heading p { margin: 5px 0 0; color: var(--quote-muted); font-size: .76rem; line-height: 1.45; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 11px; min-width: 0; margin: 0 0 13px; border: 0; border-top: 1px solid var(--quote-rule); padding: 9px 0 0; }
.quote-fields legend { padding: 0 8px 0 0; color: var(--quote-green); font-size: .76rem; font-weight: 760; }
.quote-field { display: grid; min-width: 0; align-content: start; gap: 6px; color: var(--quote-ink); font-size: .76rem; font-weight: 730; }
.quote-measurements .quote-field, .quote-offer .quote-field:first-of-type, .quote-offer .quote-field:nth-of-type(4), .quote-offer .quote-field:nth-of-type(5) { grid-column: 1 / -1; }
.quote-capacity[hidden] { display: none; }
.quote-field small { color: var(--quote-muted); font-size: .66rem; font-weight: 430; line-height: 1.4; }
.quote-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-width: 0; border: 1px solid #9ba69a; background: #fffef9; }
.quote-entry > span { padding: 0 9px; color: var(--quote-muted); font-size: .75rem; font-weight: 650; white-space: nowrap; }
.quote-entry input, .quote-field select, .quote-field > input { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #9ba69a; border-radius: 0; padding: 8px 9px; color: var(--quote-ink); background: #fffef9; font: inherit; font-size: .89rem; font-variant-numeric: tabular-nums; }
.quote-entry input { border: 0; }
.money-entry { grid-template-columns: 26px minmax(0, 1fr); }
.money-entry > span { padding-right: 0; }
.quote-page button:focus-visible, .quote-page input:focus-visible, .quote-page select:focus-visible, .quote-page a:focus-visible { outline: 3px solid #ad7433; outline-offset: 2px; }
.quote-page fieldset:focus-within { border-color: #94a495; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.quote-button { min-height: 43px; border: 1px solid var(--quote-green); border-radius: 0; padding: 9px 12px; color: var(--quote-green); background: transparent; font: inherit; font-size: .77rem; font-weight: 750; cursor: pointer; }
.quote-button:hover { color: #fffdf7; background: var(--quote-green); }
.quote-button.secondary { border-color: var(--quote-rule); color: var(--quote-muted); }
.quote-hint { margin: 12px 0 0; border-left: 2px solid var(--quote-brass); padding-left: 10px; color: var(--quote-muted); font-size: .72rem; line-height: 1.5; }
.quote-tool-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border-top: 1px solid var(--quote-rule); padding: 10px 16px; color: var(--quote-muted); background: #eeeee4; font-size: .67rem; }
.quote-tool-footer strong { color: var(--quote-green); }
.quote-figure { max-width: 980px; margin: 30px auto 36px; }
.quote-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--quote-rule); background: #faf9f4; }
.quote-figure figcaption { margin-top: 7px; color: var(--quote-muted); font-size: .74rem; line-height: 1.45; text-align: center; }
.quote-section { max-width: 1000px; margin: 0 auto 31px; }
.quote-section h2 { margin: 0 0 10px; color: var(--quote-pine); font: 700 clamp(1.34rem, 3vw, 1.8rem)/1.16 Georgia, 'Times New Roman', serif; }
.quote-section p { margin: 0 0 10px; color: var(--quote-muted); font-size: .86rem; line-height: 1.62; }
.quote-formula { margin: 14px 0; border-left: 2px solid var(--quote-brass); padding: 11px 13px; color: var(--quote-ink); background: #efeee5; font-size: .84rem; line-height: 1.75; font-variant-numeric: tabular-nums; }
.quote-method-note { font-size: .78rem !important; }
.quote-ledger-example { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--quote-rule); border-left: 1px solid var(--quote-rule); }
.quote-ledger-example article { min-width: 0; border-right: 1px solid var(--quote-rule); border-bottom: 1px solid var(--quote-rule); padding: 13px 14px; background: rgba(255,255,255,.22); }
.quote-ledger-example h3 { margin: 0 0 7px; color: var(--quote-green); font-size: .83rem; }
.quote-ledger-example p { margin: 0; font-size: .77rem; line-height: 1.55; }
.quote-faq details { border-top: 1px solid var(--quote-rule); padding: 11px 0; }
.quote-faq details:last-child { border-bottom: 1px solid var(--quote-rule); }
.quote-faq summary { color: var(--quote-green); font-size: .9rem; font-weight: 750; cursor: pointer; }
.quote-faq details p { max-width: 860px; margin: 7px 0 0; font-size: .82rem; }
.quote-related { border-top: 1px solid var(--quote-rule); padding-top: 18px; }
.quote-related a { color: var(--quote-green); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.quote-page .site-footer { margin-top: 0; }
@media (max-width: 920px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "result" "inputs"; }
  .quote-inputs { border-top: 1px solid var(--quote-rule); border-left: 0; }
}
@media (max-width: 650px) {
  .quote-page .page-shell { width: min(100% - 24px, 1160px); }
  .quote-page .site-header.page-shell { width: 100%; min-height: 0; padding: 8px 10px; flex-direction: column; align-items: stretch; gap: 4px; }
  .quote-page .brand { gap: 6px; font-size: 15px; letter-spacing: -.45px; }
  .quote-page .brand-symbol { flex-basis: 24px; width: 24px; height: 24px; }
  .quote-page .brand-symbol svg { width: 19px; height: 19px; }
  .quote-page .site-nav { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; padding: 0; }
  .quote-page .site-nav a { min-height: 40px; padding: 4px 1px; font-size: 11.5px; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .quote-main { padding-top: 12px; }
  .quote-intro { align-items: start; gap: 12px; }
  .quote-intro h1 { font-size: clamp(1.8rem, 7.6vw, 2.5rem); }
  .quote-lead { margin-top: 9px; font-size: .9rem; }
  .quote-stamp { min-width: 148px; padding-left: 10px; font-size: .62rem; }
  .quote-tool { margin-top: 14px; }
  .quote-result, .quote-inputs { padding: 17px 14px; }
  .quote-fields { gap: 11px 9px; }
  .quote-check > strong { font-size: 1.5rem; }
  .quote-actions { align-items: stretch; flex-direction: column; }
  .quote-button { width: 100%; }
  .quote-tool-footer { padding: 9px 12px; }
  .quote-figure { margin: 22px auto 28px; }
  .quote-section { margin-bottom: 26px; }
  .quote-ledger-example { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .quote-page .page-shell { width: calc(100% - 20px); }
  .quote-page .site-header.page-shell { width: 100%; }
  .quote-intro { display: block; }
  .quote-stamp { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; border-left: 0; border-top: 1px solid var(--quote-rule); padding: 7px 0 0; }
  .quote-intro h1 { font-size: 1.9rem; overflow-wrap: anywhere; }
  .quote-result h2 { font-size: 1.29rem; }
  .quote-check > strong { font-size: 1.42rem; }
  .quote-ledger dt { font-size: .69rem; }
  .quote-ledger dd { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-page *, .quote-page *::before, .quote-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
