/* A focused, read-only review. Colors remain readable in either application theme. */
html body dialog.qs-quote-review{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #c8d3dc;border-radius:16px;background:#fff;color:#162b3a;box-shadow:0 24px 90px #071b3b4d;font:400 14px/1.5 var(--bb-body,system-ui,sans-serif);overflow:hidden;color-scheme:light}
html body dialog.qs-quote-review[open]{display:flex;flex-direction:column}
html body dialog.qs-quote-review::backdrop{background:#0c1f35b8;backdrop-filter:blur(3px)}
html body .qs-quote-review *{box-sizing:border-box}
html body .qs-review-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:22px 24px 18px;border-bottom:1px solid #dce4ea;background:#f6f9fc}
html body .qs-review-eyebrow{margin:0 0 3px;color:#566775;font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
html body .qs-review-header h2{margin:0;color:#162b3a;font:700 24px/1.25 var(--bb-body,system-ui,sans-serif);letter-spacing:-.025em}
html body .qs-review-customer{margin:7px 0 0;color:#445967;font-size:13px;overflow-wrap:anywhere}
html body .qs-quote-review :is(.qs-review-close,.qs-review-return){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #c5d1dc;border-radius:8px;background:#fff;color:#173145;font:650 14px/1.3 var(--bb-body,system-ui,sans-serif);cursor:pointer;box-shadow:none}
html body .qs-quote-review .qs-review-close{flex:none;width:44px;height:44px;padding:0;font-size:26px;font-weight:400;line-height:1}
html body .qs-quote-review :is(.qs-review-close,.qs-review-return):hover{background:#e9f0f6;border-color:#99acbc}
html body .qs-quote-review :is(button,[tabindex]):focus-visible{outline:3px solid #1677a9;outline-offset:2px}
html body .qs-review-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 24px;scrollbar-gutter:stable}
html body .qs-review-section{margin:0 0 22px;border:1px solid #d4dfe8;border-radius:10px;overflow:hidden}
html body .qs-review-section h3{margin:0;padding:12px 14px;background:#15384d;color:#fff;font:650 16px/1.4 var(--bb-body,system-ui,sans-serif);overflow-wrap:anywhere}
html body :is(.qs-review-line,.qs-review-column-head){display:grid;grid-template-columns:minmax(0,1fr) 58px 98px;align-items:center;gap:12px;padding:11px 14px;min-width:0}
html body .qs-review-column-head{padding-top:7px;padding-bottom:7px;background:#f5f7f9;color:#536574;font-size:11px;font-weight:650}
html body .qs-review-line{border-bottom:1px solid #e2e7eb;color:#162b3a;font-size:14px}
html body .qs-review-line.is-labor{background:#ffead6}
html body .qs-review-line.is-materials{background:#fffbed}
html body .qs-review-line.is-other{background:#f4f6f9}
html body .qs-review-line.is-attached{position:relative;margin-left:18px;padding-left:14px;border-left:3px solid #dfc57e;background:#fffbed;font-size:13px}
html body .qs-review-item{min-width:0;font-weight:550;overflow-wrap:anywhere}
html body .qs-review-line.is-attached .qs-review-item{font-weight:450}
html body :is(.qs-review-quantity,.qs-review-price,.qs-review-column-head>span:not(:first-child)){text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body .qs-review-price{font-weight:650}
html body .qs-review-included{color:#586541;font-size:12px;font-weight:500}
html body .qs-review-section-totals{padding:10px 14px;background:#fff}
html body .qs-review-total-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:4px 0;font-size:13px;color:#435767}
html body .qs-review-total-row strong{flex:none;font-weight:650;font-variant-numeric:tabular-nums;color:#162b3a}
html body .qs-review-total-row.is-section-subtotal{margin-top:7px;padding-top:10px;border-top:1px solid #dce4eb;color:#162b3a;font-weight:650}
html body .qs-review-grand-totals{padding:18px;border:1px solid #c5d4df;border-radius:10px;background:#f5f8fb}
html body .qs-review-grand-totals h3{margin:0 0 8px;color:#162b3a;font:650 17px/1.4 var(--bb-body,system-ui,sans-serif)}
html body .qs-review-grand-totals .qs-review-total-row{padding:5px 0;font-size:14px}
html body .qs-review-grand-totals .is-grand-total{margin-top:10px;padding-top:14px;border-top:1px solid #b7cad9;color:#132e42;font-weight:700;font-size:19px}
html body .qs-review-empty{margin:0;padding:16px 14px;color:#526675;font-size:13px}
html body .qs-review-footer{display:flex;justify-content:flex-end;flex:none;padding:14px 24px;border-top:1px solid #dce4ea;background:#fff}
html body .qs-quote-review .qs-review-return{background:#173b51;border-color:#173b51;color:#fff;min-width:160px}
html body .qs-quote-review .qs-review-return:hover{background:#24556e;color:#fff;border-color:#24556e}
@media(max-width:520px){
  html body dialog.qs-quote-review{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
  html body .qs-review-header{padding:16px 14px;gap:10px}
  html body .qs-review-header h2{font-size:21px}
  html body .qs-review-content{padding:14px 10px}
  html body .qs-review-section{margin-bottom:16px}
  html body .qs-review-section h3{padding:10px;font-size:14px}
  html body :is(.qs-review-line,.qs-review-column-head){grid-template-columns:minmax(0,1fr) 38px 74px;gap:8px;padding-right:10px;padding-left:10px}
  html body .qs-review-line{font-size:12px}
  html body .qs-review-line.is-attached{margin-left:12px;padding-left:9px;font-size:12px}
  html body .qs-review-included{font-size:11px}
  html body .qs-review-section-totals{padding:10px}
  html body .qs-review-grand-totals{padding:14px}
  html body .qs-review-footer{padding:12px 14px}
  html body .qs-quote-review .qs-review-return{width:100%}
}
@media(prefers-reduced-motion:reduce){html body dialog.qs-quote-review::backdrop{backdrop-filter:none}}
