/* Case figures are relative to the page width, including in the shadow preview. */
.proposal .slide.cmp-slide { aspect-ratio:auto; min-height:56.25cqw; }
.proposal .slide.cmp-slide .slide-inner { padding:2.4cqw 4cqw 4cqw; }
.slide .cmp { font:400 1.42cqw/1.32 Onest,sans-serif; color:#101c3e; }
.cmp * { box-sizing:border-box; min-width:0; overflow-wrap:anywhere; }
.cmp [data-comparison-field] { white-space:pre-line; }
.cmp-project { display:flex; align-items:baseline; gap:1.1cqw; flex-wrap:wrap; color:#52637b; }
.cmp-project strong { color:#101c3e; font-size:1.6cqw; }
.proposal .slide .cmp h2 { font:700 3.05cqw/1.15 Unbounded,Onest,sans-serif; letter-spacing:-.035em; max-width:none; margin:1.7cqw 0; }
.cmp-problem { display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr); gap:2cqw; align-items:baseline; }
.proposal .slide .cmp p { font:inherit; color:#3b4a62; margin:0; }
.cmp-main { display:grid; grid-template-columns:minmax(0,61fr) minmax(0,39fr); gap:2.3cqw; align-items:start; margin:1.95cqw 0 1.8cqw; }
.cmp-results { width:100%; border-spacing:0; border-collapse:separate; table-layout:fixed; text-align:left; color:#101c3e; font:inherit; }
.cmp-results col:nth-child(1){width:41%} .cmp-results col:nth-child(2){width:30%} .cmp-results col:nth-child(3){width:29%}
.cmp-results th,.cmp-results td { padding:.72cqw 1.25cqw; background:#eef2f8; text-align:left; vertical-align:middle; }
.cmp-results th:last-child,.cmp-results td:last-child { background:#2b4fd9; color:#fff; }
.cmp-results thead th { font-size:1.55cqw; padding-top:.92cqw; padding-bottom:.92cqw; }
.cmp-results thead th:first-child { border-radius:.9cqw 0 0 0; }
.cmp-results thead th:last-child { border-radius:.9cqw .9cqw 0 0; }
.cmp-results tbody:last-child tr:last-child th { border-radius:0 0 0 .9cqw; }
.cmp-results tbody:last-child tr:last-child td:last-child { border-radius:0 0 .9cqw .9cqw; }
.cmp-results .cmp-group>* { background:#e0e7f1; font-size:1.27cqw; padding-block:.48cqw; }
.cmp-results .cmp-group td:last-child { background:#2445bf; }
.cmp-results tbody+tbody .cmp-group>* { border-top:2px solid white; }
.cmp-group th>span { border-left:.25cqw solid #f69a12; padding-left:.55cqw; display:block; }
.cmp-data+.cmp-data>* { border-top:1px solid #d0d9e8; }
.cmp-data+.cmp-data td:last-child { border-color:#728af0; }
.cmp-value { font:700 2.2cqw/1.12 Onest,sans-serif; display:block; }
.cmp-unit { font:600 .62em/1.2 Onest,sans-serif; }
.cmp-row-1 .cmp-value { font-family:Unbounded,Onest,sans-serif; font-size:2.55cqw; }
.cmp-period,.cmp-group-date,.cmp-site small { display:block; color:#52637b; font-size:1.08cqw; line-height:1.35; }
.cmp-period:not(:empty) { margin-top:.3cqw; }
.cmp-results td:last-child small,.cmp-results td:last-child .cmp-group-date { color:#edf2ff; }
.cmp-site-caption { display:grid; gap:.25cqw; border-left:.33cqw solid #ffa010; padding-left:1.2cqw; }
.cmp-site-caption a,.cmp-site-caption>span { color:inherit; text-decoration:none; font-weight:700; font-size:2.03cqw; line-height:1.2; }
.cmp-site img { display:block; width:100%; height:21.8cqw; object-fit:contain; margin-top:1.5cqw; }
.cmp-works { border-top:1px solid #d0d9e8; padding-top:1cqw; }
.cmp-works-bar { display:flex; align-items:center; gap:1cqw; justify-content:space-between; }
.proposal .slide .cmp h3 { font:700 1.7cqw/1.25 Onest,sans-serif; margin:0; letter-spacing:normal; }
.cmp-cta { background:#eef2f8; border-radius:.45cqw; color:#254ed8; text-decoration:none; font-weight:700; display:inline-block; padding:.55cqw 1.1cqw; }
.cmp-work-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2cqw; margin-top:1.12cqw; }
.cmp-work-grid strong { display:block; margin-bottom:.55cqw; }
.cmp-empty-image,.cmp-add-url { display:inline-block; font-size:.86em; color:#52637b; margin:.6em 0; }
.cmp-add-url { margin-inline-start:.65em; }
.cmp-editable [data-comparison-field]:empty { display:inline-block; min-width:1.1em; min-height:.8em; vertical-align:middle; }
.cmp-editable small[data-comparison-field]:empty { display:block; min-height:.35em; }
.cmp-library-card > img { object-fit:contain; background:#eef2f8; }
#caseFormPanel .preview-edit-layer button { min-height:0; }
.cmp-form,.cmp-form-row,.cmp-form-group { display:grid; gap:10px; min-width:0; }
.cmp-form fieldset { margin:5px 0; padding:10px; border:1px solid #cdd8e8; border-radius:9px; min-width:0; }
.cmp-form legend { color:#34415e; font-size:13px; font-weight:700; }
.cmp-form-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.cmp-form label { min-width:0; }
.cmp-form-pair > label { display:flex; flex-direction:column; justify-content:flex-end; }
.cmp-form textarea,.cmp-form input { width:100%; min-width:0; box-sizing:border-box; }
.cmp-form-row { background:#f8faff; }
.cmp-library-results { display:grid; gap:6px; margin:12px 0; }
.cmp-library-results dt,.cmp-library-results dd { overflow-wrap:anywhere; }
.cmp-library-results dd { margin:0; font-weight:700; }
.proposal.mobile .slide.cmp-slide .slide-inner { padding:6cqw 5.6cqw 13cqw; }
.proposal.mobile .slide .cmp { font-size:3.95cqw; }
.proposal.mobile .cmp-project { gap:1.4cqw; }
.proposal.mobile .cmp-project strong { font-size:4.2cqw; }
.proposal.mobile .slide .cmp h2 { font-size:6.7cqw; margin:4cqw 0; }
.proposal.mobile .cmp-problem,.proposal.mobile .cmp-main,.proposal.mobile .cmp-work-grid { grid-template-columns:minmax(0,1fr); }
.proposal.mobile .cmp-main { gap:5cqw; margin:4cqw 0; }
.proposal.mobile .cmp-results th,.proposal.mobile .cmp-results td { padding:1.8cqw; }
.proposal.mobile .cmp-results thead th,.proposal.mobile .cmp-results .cmp-group>* { font-size:3.35cqw; }
.proposal.mobile .cmp-group th>span { padding-left:1cqw; border-width:.75cqw; }
.proposal.mobile .cmp-value { font-size:5cqw; }
.proposal.mobile .cmp-period,.proposal.mobile .cmp-group-date,.proposal.mobile .cmp-site small { font-size:3.15cqw; }
.proposal.mobile .cmp-site-caption { border-width:1cqw; padding-left:2cqw; }
.proposal.mobile .cmp-site-caption a,.proposal.mobile .cmp-site-caption>span,.proposal.mobile .slide .cmp h3 { font-size:5.2cqw; }
.proposal.mobile .cmp-site img { height:auto; max-height:90cqw; margin-top:3cqw; }
.proposal.mobile .cmp-works { padding-top:4cqw; }
.proposal.mobile .cmp-works-bar { flex-direction:column; align-items:flex-start; gap:3cqw; }
.proposal.mobile .cmp-work-grid { gap:4cqw; margin-top:4cqw; }
.proposal.mobile .cmp-cta { padding:2.5cqw 3.5cqw; border-radius:1cqw; }
