/* Comparison-only styling: does not import the multi-page site's layout rules. */
.comparison-dialog{width:min(1180px,calc(100% - 64px));max-width:none;max-height:calc(100dvh - 64px);margin:auto;padding:0;border:1px solid #cbdce6;border-radius:18px;background:#fff;color:#283d6a;box-shadow:0 24px 90px #0c203b40;overflow:hidden;text-align:left}
.comparison-dialog[open]{display:flex;flex-direction:column}
.comparison-dialog::backdrop{background:#12243bc2}
.comparison-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 26px;border-bottom:1px solid #dce6ed;flex-shrink:0;background:#fff}
.comparison-dialog-header h2{font-size:28px;line-height:1.25;letter-spacing:-.025em;margin:0}
.comparison-close{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 13px;background:#f1f7fa;border:1px solid #c5d7e2;border-radius:8px;font-size:16px;font-weight:650;flex-shrink:0}
.comparison-close:hover{background:#e4f0f6}
.comparison-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.comparison-dialog-body{padding:24px 26px 28px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.comparison-dialog .comparison-scroll-hint{display:none;font-size:15px;line-height:1.6;margin:0 0 14px;color:#526477}
.comparison-dialog .comparison-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;border:1px solid #d8e1ee;border-radius:12px;background:#fff;contain:paint;overscroll-behavior-x:contain}
.comparison-dialog table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:16px;line-height:1.55;color:#283d6a}
.comparison-dialog th,.comparison-dialog td{padding:14px 16px;border-bottom:1px solid #d8e1ee;vertical-align:middle;overflow-wrap:break-word}
.comparison-dialog tbody:last-child tr:last-child>*{border-bottom:0}
.comparison-dialog th[scope="row"]{text-align:left;font-weight:650;background:#f5f9fc}
.comparison-dialog td{border-left:1px solid #d8e1ee}
.comparison-dialog .camera-comparison{min-width:720px}
.comparison-dialog .camera-comparison thead th{padding:17px 16px;background:#283d6a;color:#fff;text-align:center;font-weight:700}
.comparison-dialog .camera-comparison thead th:first-child{width:34%;text-align:left}
.comparison-dialog .camera-comparison .yes,.comparison-dialog .camera-comparison .dash{text-align:center}
.comparison-dialog .checkmark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#e3f4ed;border-radius:50%;color:#08778b;font-size:23px;font-weight:750;line-height:1}
.comparison-dialog .dash{color:#7b899d;font-size:21px}
.comparison-dialog .echoes-matrix{min-width:820px}
.comparison-dialog .echoes-feature-col{width:32%}
.comparison-dialog .echoes-matrix thead th{padding:23px 16px;text-align:center;background:#fff}
.comparison-dialog .echoes-matrix thead th:nth-child(2),.comparison-dialog .echoes-matrix td:nth-child(2){background:#eef8fc}
.comparison-dialog .echoes-matrix-logo{display:block;width:auto;height:20px;max-width:none;margin:0 auto 14px;object-fit:contain}
.comparison-dialog .echoes-matrix thead strong{display:block;font-size:16px;line-height:1.4;white-space:nowrap}
.comparison-dialog .echoes-matrix .echoes-capability-heading{text-align:left;font-size:25px;font-weight:750}
.comparison-dialog .echoes-matrix td{text-align:center}
.comparison-dialog .echoes-matrix th[scope="row"]{font-weight:550}
.comparison-dialog .echoes-matrix tbody tr:nth-child(odd):not(.echoes-group)>th,.comparison-dialog .echoes-matrix tbody tr:nth-child(odd):not(.echoes-group)>td{background:#f7fafc}
.comparison-dialog .echoes-matrix tbody tr:nth-child(odd):not(.echoes-group)>td:nth-child(2){background:#eef8fc}
.comparison-dialog .echoes-matrix .echoes-group th{padding:12px 18px;color:#fff;background:#283d6a;text-align:left;font-size:18px;font-weight:750}
.comparison-dialog .echoes-check{color:#167f9c;font-size:27px;font-weight:850;line-height:1}
.comparison-dialog .echoes-unavailable{color:#79869a;font-size:24px}
.comparison-dialog .echoes-optional{font-size:16px;font-weight:650}
.comparison-dialog .echoes-comparison-notes{display:grid;gap:12px;margin:20px 0 0}
.comparison-dialog .echoes-comparison-notes p,.comparison-dialog .comparison-availability{font-size:15px;line-height:1.65;margin:0;color:#526477}
.comparison-dialog .comparison-availability{margin-top:18px}
.comparison-dialog .echoes-comparison-notes strong{color:#283d6a}
.comparison-dialog .echoes-comparison-notes a{color:#283d6a;text-decoration:underline;text-underline-offset:3px}
html.comparison-open{overflow:hidden;padding-right:var(--comparison-scrollbar,0px)}
@media(max-width:900px){
 .comparison-dialog .comparison-scroll-hint{display:block}
 .comparison-dialog th[scope="row"]{position:sticky;left:0;z-index:1;box-shadow:1px 0 0 #d8e1ee}
 .comparison-dialog .echoes-feature-col{width:180px}
 .comparison-dialog .echoes-group th span{position:sticky;left:16px}
}
@media(max-width:650px){
 .comparison-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}
 .comparison-dialog-header{padding:14px;gap:12px}
 .comparison-dialog-header h2{font-size:23px;line-height:1.3}
 .comparison-close{gap:6px;padding:8px 10px;font-size:15px}
 .comparison-dialog-body{padding:16px 14px 22px}
 .comparison-dialog .camera-comparison{min-width:680px}
 .comparison-dialog .camera-comparison thead th:first-child{width:180px}
 .comparison-dialog .echoes-matrix{min-width:730px}
 .comparison-dialog th,.comparison-dialog td{padding:13px 14px}
 .comparison-dialog .echoes-matrix-logo{height:18px}
 .comparison-dialog .echoes-matrix .echoes-capability-heading{font-size:21px}
}
