/* Scoped styles for the #17 homeowner quote comparison tool. */
.rhh-qc .qc-hero{background:linear-gradient(115deg,#08283c,#125667);padding:42px 0;color:#fff}
.rhh-qc .qc-breadcrumb{font-size:.87rem;color:#def2f3;margin:0 0 13px}
.rhh-qc .qc-breadcrumb a{color:#e1f5fb}
.rhh-qc .qc-kicker{display:inline-flex;border:1px solid #8bd1cc;color:#e1fbf2;border-radius:999px;padding:5px 12px;font-weight:750;font-size:.81rem}
.rhh-qc .qc-hero h1{font-size:clamp(2rem,4.2vw,3.15rem);line-height:1.1;letter-spacing:-.03em;max-width:920px;margin:17px 0 12px}
.rhh-qc .qc-hero p{max-width:780px;line-height:1.6;color:#deeff2}
.rhh-qc .qc-hero .qc-meta{color:#c0dee7;font-size:.84rem;margin:12px 0 0}
.rhh-qc .qc-layout{max-width:1100px;padding-top:30px;padding-bottom:56px}
.rhh-qc .qc-lead h2,.rhh-qc .qc-panel h2,.rhh-qc .qc-heading h2{font-size:1.4rem;color:#123f50;line-height:1.24;margin:0 0 12px}
.rhh-qc .qc-lead p{line-height:1.65}
.rhh-qc .qc-notice,.rhh-qc .qc-warning{border-radius:0 11px 11px 0;padding:13px 17px;border-left:4px solid #25877c;background:#effaf8;font-size:.94rem;color:#254852;margin:16px 0}
.rhh-qc .qc-warning{border-left-color:#b57929;background:#fff8ec}
.rhh-qc .qc-panel,.rhh-qc .qc-bid{background:#fff;border:1px solid #d5e6e9;border-radius:16px;padding:22px;margin:20px 0;box-shadow:0 4px 14px rgba(0,38,50,.035)}
.rhh-qc .qc-project,.rhh-qc .qc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rhh-qc .qc-field{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:700;color:#2b5262}
.rhh-qc .qc-wide{grid-column:1/-1}
.rhh-qc .qc-field input:not([type=file]),.rhh-qc .qc-field textarea,.rhh-qc .qc-field select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #b7cbd2;background:#fff;border-radius:9px;color:#153747;font:inherit;font-weight:450}
.rhh-qc textarea{min-height:80px;resize:vertical}
.rhh-qc .qc-field input[type=file]{font-size:.88rem;font-weight:450;max-width:100%;padding:8px 0}
.rhh-qc .qc-field input:focus-visible,.rhh-qc .qc-field select:focus-visible,.rhh-qc button:focus-visible,.rhh-qc a:focus-visible{outline:3px solid #d39b2f;outline-offset:2px}
.rhh-qc .qc-help{color:#4a6775;font-size:.9rem;line-height:1.52}
.rhh-qc .qc-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-top:28px}
.rhh-qc .qc-heading p{max-width:750px;color:#587380;margin:5px 0}
.rhh-qc .qc-btn{cursor:pointer;appearance:none;border:1px solid #b6ced5;border-radius:9px;background:#fff;color:#17485b;min-height:42px;padding:9px 14px;font:inherit;font-size:.91rem;font-weight:750}
.rhh-qc .qc-btn:hover:not(:disabled){background:#e9f4f7}
.rhh-qc .qc-btn:disabled{opacity:.45;cursor:not-allowed}
.rhh-qc .qc-primary{background:#116175;border-color:#116175;color:#fff}
.rhh-qc .qc-primary:hover:not(:disabled){background:#0b4a5b}
.rhh-qc .qc-danger{color:#882c33;border-color:#e0bfc3}
.rhh-qc .qc-danger:hover:not(:disabled){background:#fff0f2}
.rhh-qc .qc-bid-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.rhh-qc .qc-bid h3{font-size:1.15rem;color:#124353;margin:0}
.rhh-qc .qc-bid h4{font-size:1rem;color:#154458;margin:0}
.rhh-qc .qc-fields>.qc-field:has(textarea){grid-column:1/-1}
.rhh-qc .qc-lines-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 8px}
.rhh-qc .qc-line{background:#f5f9fa;border:1px solid #d7e5ea;border-radius:12px;margin-top:12px;padding:15px}
.rhh-qc .qc-line-label{color:#28576b;font-weight:750;font-size:.87rem;margin:0 0 7px}
.rhh-qc .qc-line-fields{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin:8px 0}
.rhh-qc .qc-matrix-wrap{overflow-x:auto;max-width:100%;border:1px solid #d9e7eb;border-radius:10px;margin:18px 0;scrollbar-width:thin}
.rhh-qc .qc-matrix-table{border-collapse:collapse;min-width:690px;width:100%;table-layout:fixed;font-size:.86rem}
.rhh-qc .qc-matrix-table th,.rhh-qc .qc-matrix-table td{padding:12px 9px;border-bottom:1px solid #d9e8ec;vertical-align:middle}
.rhh-qc .qc-matrix-table th{background:#e9f5f7;color:#18495b;text-align:left;font-weight:800;overflow-wrap:anywhere}
.rhh-qc .qc-matrix-table th:first-child{width:35%}
.rhh-qc .qc-matrix-table tr:nth-child(even){background:#f9fcfc}
.rhh-qc .qc-matrix-table select{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #c6d7db;border-radius:8px;padding:8px 6px;font:inherit;font-size:.83rem;color:#17455a;background:#fff}
.rhh-qc .qc-matrix-table select[data-color=excluded]{background:#fff1ea;border-color:#eabca6}
.rhh-qc .qc-matrix-table select[data-color=included]{background:#eef9f0;border-color:#c6ddca}
.rhh-qc .qc-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:14px 0 20px}
.rhh-qc .qc-summary-card{background:#f1f8fa;border:1px solid #d5e7eb;border-radius:11px;padding:16px}
.rhh-qc .qc-summary-card h3{font-size:1.06rem;margin:0;color:#164758;overflow-wrap:anywhere}
.rhh-qc .qc-price{font-size:1.55rem;font-weight:800;margin:10px 0 6px;color:#153f51}
.rhh-qc .qc-summary-card .qc-help{margin:8px 0}
.rhh-qc .qc-caution{color:#7c4d12;font-size:.86rem;background:#fff4e7;border-radius:8px;padding:9px 10px}
.rhh-qc #quotes-followups ul{padding-left:22px;line-height:1.55;max-height:440px;overflow:auto}
.rhh-qc #quotes-followups li{margin:7px 0;overflow-wrap:anywhere}
.rhh-qc .qc-actions{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
.rhh-qc .qc-status{border:1px solid #bedadd;background:#eaf7f7;color:#204652;border-radius:11px;min-height:40px;padding:12px 15px;margin:16px 0;font-size:.91rem}
.rhh-qc .qc-related{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.rhh-qc .qc-related a{border:1px solid #cde1e5;border-radius:9px;padding:9px 12px;font-size:.87rem}
.rhh-qc details{padding:12px 0;border-bottom:1px solid #dbe8eb}
.rhh-qc details summary{font-weight:730;cursor:pointer}
.rhh-qc details p{line-height:1.55}
.rhh-qc .qc-print{display:none}
@media(max-width:680px){
.rhh-qc .qc-hero{padding:28px 0}
.rhh-qc .qc-panel,.rhh-qc .qc-bid{padding:16px}
.rhh-qc .qc-project,.rhh-qc .qc-fields,.rhh-qc .qc-summary-grid{grid-template-columns:minmax(0,1fr)}
.rhh-qc .qc-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.rhh-qc .qc-heading .qc-btn{width:100%}
.rhh-qc .qc-actions .qc-btn{flex:1 1 138px}
}
@media print{
@page{size:auto;margin:13mm}
body.rhh-qc{background:#fff!important;color:#000!important}
body.rhh-qc>header,body.rhh-qc>footer,body.rhh-qc>.scroll-progress,body.rhh-qc main>.qc-hero,body.rhh-qc main>.qc-layout{display:none!important}
body.rhh-qc #quotes-print{display:block!important;max-width:none;margin:0;padding:0}
body.rhh-qc #quotes-print h1{font-size:21pt;margin:0 0 8pt}
body.rhh-qc #quotes-print h2{font-size:12pt;margin:13pt 0 5pt;break-after:avoid}
body.rhh-qc #quotes-print h3{font-size:10pt;margin:9pt 0 4pt}
body.rhh-qc #quotes-print p,body.rhh-qc #quotes-print li{font-size:9pt;line-height:1.4}
body.rhh-qc #quotes-print table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:8pt}
body.rhh-qc #quotes-print td{border:1px solid #aaa;padding:5pt;overflow-wrap:anywhere;vertical-align:top}
body.rhh-qc #quotes-print td:first-child{width:42%;font-weight:720;background:#f4f4f4}
body.rhh-qc #quotes-print tr{break-inside:avoid}
}
