.cmp{--cmp-ink:var(--color-ink);--cmp-link:var(--color-ink);--cmp-line:var(--color-rule-gray);max-width:1180px;padding:26px clamp(18px,4vw,55px) 80px;margin:auto;color:var(--cmp-ink)}
.cmp *, .cmp *::before,.cmp *::after{box-sizing:border-box}
.cmp [hidden]{display:none!important}.cmp a,.cmp-link{color:var(--cmp-link)}
.cmp-note,.cmp small,.cmp-selected{font-size:.86rem;color:var(--color-graphite);line-height:1.55}
.cmp-crumb{margin:8px 0 32px}.cmp-crumb a{text-decoration:underline}
.cmp h1{margin:0;color:var(--cmp-ink)}
.cmp-lead{max-width:64ch;font-size:1.12rem;line-height:1.6;color:var(--color-graphite);margin:18px 0 28px}
.cmp h2{font-size:clamp(1.25rem,3vw,1.75rem);line-height:1.18;letter-spacing:-.035em;margin:0}
.cmp select{display:block;max-width:100%;min-width:0;width:100%;font:inherit;font-weight:500;color:var(--cmp-ink);background:#fff;border:1px solid var(--color-edge-gray);border-radius:var(--radius-inputs);padding:9px 38px 9px 10px;min-height:42px;appearance:none;background-image:var(--select-arrow);background-repeat:no-repeat;background-size:14px 14px;background-position:right 12px center}
.cmp label{display:grid;gap:5px;color:var(--color-graphite);font-size:.87rem;font-weight:600}
.cmp button{font:inherit;font-size:.88rem;font-weight:600;cursor:pointer;color:var(--cmp-link);background:white;border:1px solid var(--color-edge-gray);border-radius:var(--radius-buttons);padding:9px 13px}
.cmp button[aria-pressed=true]{color:#fff;background:var(--color-ink)}.cmp button:disabled{opacity:.5;cursor:default}
.cmp :focus-visible{outline:3px solid var(--color-network-green);outline-offset:3px}
.cmp-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#cmp-filters,#cmp-pair{padding:clamp(16px,3vw,28px);background:var(--color-ice-panel);border:1px solid var(--cmp-line);border-radius:var(--radius-cards)}
.cmp-title .cmp-link{border:0;background:transparent;text-decoration:underline;padding:6px}
.cmp-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:14px;margin:18px 0}
.cmp details summary{cursor:pointer;color:var(--cmp-link);font-weight:600;min-height:32px}
.cmp-results-title{margin:30px 0 13px}.cmp-horizon{display:flex!important;align-items:center;white-space:nowrap}.cmp-horizon select{width:auto}
.cmp-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--cmp-line);font-size:.93rem}
.cmp-table caption{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.cmp-table thead{background:var(--color-ice-panel)}.cmp-table th,.cmp-table td{text-align:left;padding:12px 10px;border:0;vertical-align:middle}.cmp-table thead th{font-size:.8rem}
.cmp-table td:nth-child(2){width:36%}.cmp-table select{font-size:.84rem}
.cmp-table .cmp-proof td{padding:0 8px 8px;border-bottom:1px solid var(--cmp-line)}
.cmp-source{display:block;font-size:.74rem!important;overflow-wrap:anywhere}.cmp-source a{text-decoration:underline;text-underline-offset:2px}
.cmp-selected,.cmp-pair-names{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px}.cmp-selected{background:var(--color-ice-panel)}
.cmp-selected a{font-weight:600}.cmp-note{margin:14px 0 28px}
#cmp-pair{background:white;scroll-margin-top:20px}#cmp-pair>p{color:var(--color-graphite)}
#cmp-pickers,.cmp-spec>div,.cmp-pair-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#cmp-pickers>div{min-width:0;display:grid;align-content:start;gap:8px}
.cmp-toggle{display:flex!important;align-items:center;gap:9px!important;margin:18px 0;cursor:pointer}.cmp-toggle input{width:19px;height:19px;accent-color:var(--color-ink)}
.cmp-pair-names{background:var(--color-ice-panel)}.cmp-spec{padding:12px;border-bottom:1px solid var(--cmp-line)}
.cmp-spec h3{font-size:.84rem;color:var(--color-graphite);margin:0 0 6px}.cmp-spec>div>div{overflow-wrap:anywhere}.cmp-empty{border:1px dashed var(--color-edge-gray);padding:24px;border-radius:8px}
@media(max-width:767px){
.cmp{padding:14px 16px 40px}.cmp-crumb{margin-bottom:20px}.cmp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cmp-fields label:first-child:last-child{grid-column:1/-1}.cmp-table,.cmp-table tbody,.cmp-table tr,.cmp-table th,.cmp-table td{display:block;width:100%!important}.cmp-table{border:0;background:none}.cmp-table thead{display:none}.cmp-table tr:not(.cmp-proof){border:1px solid var(--cmp-line);border-bottom:0;padding:14px 14px 0;border-radius:8px 8px 0 0}.cmp-table .cmp-proof{margin-bottom:10px;border:1px solid var(--cmp-line);border-top:0;border-radius:0 0 8px 8px;padding:0 14px 10px}.cmp-table .cmp-proof td{padding:0;border:0}.cmp-table th,.cmp-table td{padding:5px 0}.cmp-table .cmp-name{font-size:1.16rem}.cmp-table td[data-label]{display:grid;grid-template-columns:65px 1fr;align-items:center;gap:8px}.cmp-table td[data-label]::before{content:attr(data-label);color:var(--color-graphite);font-size:.8rem}.cmp-selected{align-items:start;flex-direction:column}.cmp-spec{padding:10px 3px}.cmp-spec>div,#cmp-pickers{gap:10px}.cmp-pair-names{padding:8px 3px}.cmp-crumb,.cmp-source{overflow-wrap:anywhere}
}
@media(max-width:380px){.cmp-fields{grid-template-columns:1fr}}

@media(forced-colors:active){.cmp select{appearance:auto;background-image:none}}

.cmp-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:120px}
.cmp .provider-cta{font-size:13px;min-height:40px;width:100%;color:var(--action-text)}
.cmp-provider-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 8px}
.cmp-provider-links .provider-cta{width:fit-content}
@media(max-width:767px){.cmp-actions{flex-direction:row;flex-wrap:wrap;margin:8px 0}.cmp-actions>*{flex:1;min-width:110px}.cmp .provider-cta{min-height:44px}.cmp-provider-links{gap:10px}.cmp-provider-links .provider-cta{width:100%}}

.cmp-table .cmp-name{display:block;min-width:140px}
.cmp-pair-names .provider-identity{font-size:16px}
.cmp .provider-cta{justify-content:flex-start;text-align:left}
@media(max-width:767px){.cmp-pair-names .provider-identity{gap:6px;flex-wrap:wrap;justify-content:flex-start}.cmp-provider-links .provider-cta{flex-wrap:wrap}}

.cmp-table tbody tr{border-bottom:1px solid var(--cmp-line)}
@media(max-width:767px){.cmp-table tr:not(.cmp-proof){border-bottom:1px solid var(--cmp-line);border-radius:8px;padding-bottom:14px;margin-bottom:12px}}

.cmp-name .provider-identity,.cmp-pair-names .provider-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;max-width:none}
.cmp-name .provider-identity>span:first-child,.cmp-pair-names .provider-identity>span:first-child{min-width:0;overflow-wrap:anywhere}
.cmp-name .provider-logo,.cmp-pair-names .provider-logo{justify-self:end;margin-left:0}
.cmp-pair-names>b{min-width:0}

/* Keep the action column on desktop; stack touch targets on mobile. */
@media(max-width:767px){
 .cmp-actions{flex-direction:column;align-items:stretch}
 .cmp-actions>*{flex:0 0 auto;width:100%;min-width:0}
 .cmp .provider-cta{min-height:48px;justify-content:center;text-align:center}
}

/* Compact comparison introduction: results before methodological detail. */
.cmp{padding-top:16px}
.cmp .cmp-crumb{margin:0 0 14px;font-size:.86rem}
.cmp h1{font-size:clamp(30px,4vw,46px);line-height:1.15}
.cmp .cmp-lead{font-size:1rem;line-height:1.5;max-width:75ch;margin:10px 0 18px}
#cmp-filter-panel{background:var(--color-ice-panel);border:1px solid var(--cmp-line);border-radius:8px}
#cmp-filter-panel>summary{padding:12px 16px;min-height:48px;font-size:.94rem}
#cmp-filter-count{font-weight:400;font-size:.85em}
#cmp-filters{padding:0 16px 14px;border:0;background:none;border-radius:0}
#cmp-filters>.cmp-title{justify-content:flex-end}
#cmp-filters .cmp-fields{margin:4px 0 12px;gap:12px}
#cmp-filters>small{display:block;font-size:.75rem;margin-top:8px}
#cmp-show-results{display:none}
.cmp .cmp-results-title{margin:18px 0 10px}
.cmp-method{margin-top:32px;padding-top:24px;border-top:1px solid var(--cmp-line)}
.cmp-method p{font-size:.94rem;line-height:1.65}
@media(max-width:767px){
 .cmp{padding-top:12px}
 .cmp .cmp-crumb{margin-bottom:10px}
 .cmp .cmp-lead{font-size:.9rem;margin:8px 0 14px}
 .cmp .cmp-results-title{margin:14px 0 8px;gap:8px}
 .cmp .cmp-results-title h2{font-size:1.3rem}
 .cmp .cmp-horizon{font-size:.78rem;gap:6px}
 #cmp-show-results{display:block;width:100%;margin-top:14px;min-height:44px;background:var(--action);color:var(--action-text);border-color:var(--action)}
}

/* One filter panel; a secondary business switch below the results. */
.cmp-plan-note{display:block;font-size:.8rem;line-height:1.45;margin-top:7px;color:var(--color-graphite)}
#cmp-filter-panel{position:relative}
#cmp-filter-panel>summary{padding:14px 110px 14px 18px}
#cmp-filters{padding:0 18px 16px}
#cmp-filters .cmp-reset{position:absolute;top:9px;right:10px;border:0;background:none;padding:8px;font-size:.8rem;text-decoration:underline;text-underline-offset:3px}
#cmp-filters .cmp-primary-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 12px}
#cmp-extra{border-top:1px solid var(--cmp-line);padding-top:10px}
#cmp-extra>summary{font-size:.85rem;min-height:30px}
#cmp-extra .cmp-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:8px 0 14px}
#cmp-filters>small{max-width:85ch;font-size:.72rem;line-height:1.5;margin-top:6px}
.cmp-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;margin-top:6px;border-bottom:1px solid var(--cmp-line)}
.cmp-switch p{margin:0;font-size:.9rem;color:var(--color-graphite)}
.cmp-switch button{white-space:nowrap;background:transparent;min-height:44px;border-color:var(--cmp-line)}
.cmp-business-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}
.cmp-business-toolbar label{display:flex;align-items:center;gap:10px}.cmp-business-toolbar select{width:85px}
#cmp-count{scroll-margin-top:24px}
@media(max-width:767px){
 #cmp-filters .cmp-primary-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #cmp-filters .cmp-primary-fields>label:first-child{grid-column:1/-1}
 #cmp-extra .cmp-fields{grid-template-columns:1fr}
 .cmp-switch{align-items:flex-start;flex-direction:column;gap:8px}
 .cmp-switch button{width:100%;text-align:center}
 .cmp-business-toolbar{align-items:flex-start}.cmp-business-toolbar label{display:grid}
 .cmp-table td .cmp-plan-note{grid-column:1/-1;margin:3px 0 7px}
}
