/* Existing r22 UI with a local white-page treatment; no new UI framework. */
body[data-second-preview="r15"] { --qs-ink:#202621; --qs-muted:#747a72; --qs-tint:#fff; }
body[data-second-preview="r15"].qs-mode .wb-workspace,
body[data-second-preview="r15"].qs-mode .wb-stage,
body[data-second-preview="r15"] .qs-pair { background:#fff!important; }
body[data-second-preview="r15"].qs-mode .wb-workspace { border-color:transparent!important; box-shadow:none!important; }
body[data-second-preview="r15"] .qs-view-switch { background:#fff; padding:4px; }
body[data-second-preview="r15"] .qs-view-switch button[aria-pressed=true] { box-shadow:none; color:#202621; }
body[data-second-preview="r15"] .qs-view-switch button[aria-pressed=false] { font-weight:400; color:#747a72; }
body[data-second-preview="r15"] .qs-primary { color:#fff; }
#qs-price-first { padding:0 0 20px; margin:0 0 20px; border-bottom:1px solid var(--qs-line); color:#202621; }
#qs-price-first .qs-field > label { display:block; font-size:14px; font-weight:650; line-height:1.5; margin:0 0 8px; }
#qs-price-first input[type=number] { min-height:48px; border:1px solid #c6cec0; border-radius:8px; background:#fff; color:#202621; font:inherit; font-size:16px; padding:12px; line-height:1.5; }
#qs-price-first label.qs-check { display:flex; align-items:center; gap:8px; font-size:13px; cursor:pointer; flex:none; min-height:44px; white-space:nowrap; }
#qs-price-first .qs-check input { width:18px; height:18px; flex:none; margin:0; accent-color:#202621; }
#qs-price-first .qs-field { margin:0; }
#qs-price-first .qs-count-line { gap:10px; }
#qs-price-first .qs-count-line input[type=number] { width:96px; flex:0 0 96px; }
#qs-price-first .qs-check { margin-left:auto; }
#qs-price-first .qs-price-first-summary { background:#fff; border:0; border-radius:0; padding:14px 0 0; margin:0; }
#qs-price-first .qs-summary-heading { align-items:baseline; }
#qs-price-first .qs-total { font-size:26px; font-weight:650; letter-spacing:-.025em; }
#qs-price-first #qs-price-note { font-size:13px; line-height:1.6; }
body[data-second-preview="r15"] .qs-progress { margin-bottom:20px; }
body[data-second-preview="r15"] .qs-intro { margin-bottom:16px; }
body[data-second-preview="r15"] .qs-content-group { margin-top:0; }
body[data-second-preview="r15"] .qs-preview-note { display:none; }
body[data-second-preview="r15"] .qs-print-row { margin-top:16px; }
body[data-second-preview="r15"] .qs-actions { margin-top:16px; }
@media(max-width:800px) {
 #qs-price-first { padding-bottom:16px; margin-bottom:16px; }
 .example-grid > #qs-price-first { margin-top:12px; }
 #qs-price-first .qs-total { font-size:24px; }
}
@media(hover:hover) {
 body[data-second-preview="r15"] .qs-view-switch button:hover,
 body[data-second-preview="r15"] .qs-upload button:hover,
 body[data-second-preview="r15"] .qs-link:hover { background:#fff; }
}
