.mr-compare-button,.mr-compare-bar button,.mr-compare-dialog button{font:inherit;font-size:14px;line-height:20px;padding:8px 12px;border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);cursor:pointer;min-height:44px}
.mr-compare-button[aria-pressed=true],.mr-compare-bar button:first-of-type{background:var(--ink);color:var(--surface)}
.ec-property-actions [data-mr-compare]{--ec-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='4' width='7' height='16'/%3E%3Crect x='14' y='4' width='7' height='16'/%3E%3C/svg%3E")}
.mr-compare-button:hover,.mr-compare-dialog button:hover,.mr-compare-bar button:hover{border-color:var(--ink)}
.mr-compare-button:focus-visible,.mr-compare-bar button:focus-visible,.mr-compare-dialog :focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.mr-compare-bar{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:calc(100vw - 32px);width:max-content;padding:12px 16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 24px #0002}
.mr-compare-bar[hidden]{display:none}.mr-compare-bar button{width:104px}.mr-compare-status{flex-basis:100%;max-width:360px;font-size:14px;margin:0}.mr-compare-status:empty{display:none}
.mr-compare-dialog{padding:clamp(10px,3vw,24px);width:min(1200px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);background:var(--surface);color:var(--ink);border:1px solid var(--line);box-sizing:border-box}
.mr-compare-dialog[open]{display:flex;flex-direction:column}
html:has(.mr-compare-dialog[open]){overflow:hidden}
.mr-compare-dialog::backdrop{background:#0009}
.mr-compare-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.mr-compare-heading h2{font:inherit;font-size:24px;line-height:32px;margin:0}
.mr-compare-heading button{flex-shrink:0}
.mr-compare-dialog > [role=status]{flex:none;margin:0 0 8px}
.mr-compare-dialog > [role=status]:empty{display:none}
.mr-compare-content{container-type:inline-size;display:flex;flex-direction:column;min-height:0;min-width:0}
.mr-compare-scroll{overflow:auto;min-height:0;max-width:100%;overscroll-behavior:contain;scroll-padding-inline-start:var(--mr-compare-label)}
.mr-compare-content{--mr-compare-label:clamp(76px,26cqw,152px)}
.mr-compare-dialog table{
  /* Leave room for the inner vertical scrollbar, even on narrow screens. */
  --mr-compare-listing:min(210px,calc(100cqw - var(--mr-compare-label) - 18px));
  border-collapse:separate;border-spacing:0;table-layout:fixed;
  width:calc(var(--mr-compare-label) + var(--mr-compare-columns, 1) * var(--mr-compare-listing));
  min-width:100%;font-size:14px;line-height:20px;
}
.mr-compare-dialog th,.mr-compare-dialog td{box-sizing:border-box;padding:8px 12px;text-align:left;vertical-align:top;border:1px solid var(--line);border-width:0 1px 1px 0;overflow-wrap:anywhere}
.mr-compare-dialog thead :is(th,td){border-top-width:1px}
.mr-compare-dialog :is(th,td):first-child{position:sticky;inset-inline-start:0;z-index:1;width:var(--mr-compare-label);border-inline-start-width:1px;background:var(--ground)}
.mr-compare-dialog thead th a{display:block;color:var(--ink);margin-bottom:8px}
.mr-compare-dialog tbody th{font-weight:600}
.mr-compare-dialog button:disabled,.mr-compare-bar button:disabled{opacity:.6;cursor:default}
.mr-compare-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){
  .mr-compare-content{--mr-compare-label:clamp(92px,26cqw,108px)}
  .mr-compare-heading h2{font-size:20px;line-height:28px}
  .mr-compare-bar{gap:8px;padding:8px 12px}.mr-compare-bar button{width:88px}
  .mr-compare-dialog th,.mr-compare-dialog td{padding-inline:8px}
}
.mr-compare-photo{display:block;width:100%;max-width:176px;aspect-ratio:16/9;margin-bottom:8px;background:var(--ground);overflow:hidden}
.mr-compare-photo img{display:block;width:100%;height:100%;object-fit:cover}
.mr-compare-dialog tbody td strong{font-weight:700;color:var(--ink)}
.mr-compare-dialog td:has(> strong){
  --mr-compare-highlight:var(--ec-choice,var(--bronze,var(--ink)));
  background-color:color-mix(in srgb,var(--mr-compare-highlight) 16%,var(--surface));
  box-shadow:inset 3px 0 var(--mr-compare-highlight);
}
html[data-ec-appearance=dark] .mr-compare-dialog td:has(> strong){
  --mr-compare-highlight:var(--ec-choice-hero,var(--bronze,var(--ink)));
  background-color:color-mix(in srgb,var(--mr-compare-highlight) 23%,var(--surface));
}
.mr-compare-tax-source{display:block;margin-top:4px;color:var(--ink);font-size:12px;font-weight:400;text-decoration:underline}
.mr-compare-dialog summary{cursor:pointer;text-decoration:underline}
.mr-compare-dialog details p{margin:8px 0 0;white-space:pre-line}
@media(min-width:1160px){
  .mr-compare-dialog table{--mr-compare-listing:min(210px,calc((100cqw - var(--mr-compare-label) - 18px) / var(--mr-compare-columns, 1)))}
}
