.comparison-tray{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;margin:16px 0;border:1px solid #d4d6cc;background:#f7f6ee;color:#18372f;border-radius:12px}.comparison-tray p{flex-basis:100%;margin:0}.comparison-tray select{max-width:100%;padding:8px}.comparison-dialog{width:min(1150px,94vw);max-height:90dvh;padding:24px;border:1px solid #b7c0b4;border-radius:16px;background:#fffdf5;color:#18372f;overflow:auto}.comparison-dialog::backdrop{background:#10241c99}.comparison-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}.comparison-grid article{min-width:0;border:1px solid #cdd4c9;border-radius:10px;padding:16px;overflow-wrap:anywhere}.comparison-grid img{width:100%;height:180px;object-fit:cover}.comparison-grid dt{font-weight:700;margin-top:12px}.comparison-grid dd{margin:4px 0}.comparison-grid p{font-size:1rem}.comparison-grid label{display:block;margin:10px 0}.comparison-grid input{box-sizing:border-box;width:100%;padding:10px;font:inherit}.comparison-dialog button,.comparison-tray button{min-height:44px;font:inherit;cursor:pointer}.comparison-dialog button:disabled{cursor:default}.comparison-dialog :focus-visible,.comparison-tray :focus-visible{outline:3px solid #ad632b;outline-offset:3px}@media(max-width:600px){.comparison-dialog{padding:14px;width:96vw;box-sizing:border-box}.comparison-dialog header{align-items:flex-start}.comparison-grid{grid-template-columns:1fr}.comparison-tray{align-items:flex-start}.comparison-tray label{width:100%}.comparison-tray select{display:block;width:100%}}

.comparison-dialog header{position:sticky;top:-24px;z-index:2;background:#fffdf5;padding:12px 0;border-bottom:1px solid #d4d6cc;margin-bottom:16px}.comparison-dialog header h2{font-size:1.6rem;line-height:1.2;margin:0}.comparison-grid h3{font-size:1.35rem;line-height:1.25;margin:0 0 12px}.comparison-dialog fieldset{min-width:0;margin:14px 0;padding:10px}.comparison-dialog input{font-size:16px}.comparison-dialog header button{flex-shrink:0}.comparison-dialog button{white-space:normal}@media(max-width:600px){.comparison-dialog header{top:-14px;flex-direction:row;padding:10px 0;gap:10px}.comparison-dialog header h2{font-size:1.3rem}.comparison-dialog header button{max-width:120px}.comparison-grid h3{font-size:1.25rem}}

.comparison-dialog header{flex-wrap:nowrap;align-items:center}.comparison-dialog h2,.comparison-dialog h3{letter-spacing:normal;font-weight:600}.comparison-dialog header h2{min-width:0}

/* Beta evidence comparison: contained horizontal scrolling, never page overflow. */
.property-fact-comparison{min-width:0;margin:24px 0}.property-fact-comparison>p{font-size:1rem;max-width:85ch}.property-fact-table-scroll{overflow:auto;max-width:100%;border:1px solid #cdd4c9;border-radius:10px;max-height:65dvh;overscroll-behavior:contain}.property-fact-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:650px;font-size:1rem}.property-fact-table caption{text-align:left;padding:12px;font-weight:700}.property-fact-table th,.property-fact-table td{padding:12px;vertical-align:top;border-bottom:1px solid #d4d6cc;border-right:1px solid #d4d6cc;overflow-wrap:anywhere;background:#fffdf5}.property-fact-table thead th{position:sticky;top:0;z-index:2;background:#edf0e6;text-align:left}.property-fact-table th:first-child{width:145px}.property-fact-table tbody th{position:sticky;left:0;z-index:1;background:#f1f1e8;text-align:left}.property-fact-table thead th:first-child{left:0;z-index:3}.property-fact-table small{display:block;font-size:.85rem;margin:5px 0}.property-fact-table summary{cursor:pointer;min-height:44px;line-height:1.4}.property-fact-table blockquote{margin:10px 0;padding-left:10px;border-left:2px solid #ad632b;line-height:1.5;white-space:pre-line}.property-fact-pickers{gap:10px;flex-wrap:wrap;margin:12px 0}.property-fact-pickers label{min-width:0;flex:1}.property-fact-pickers select{display:block;width:100%;max-width:100%;min-height:44px;font-size:16px;padding:8px}.property-fact-table-scroll:focus-visible,.property-fact-table summary:focus-visible{outline:3px solid #ad632b;outline-offset:2px}.fact-mobile{display:none}@media(max-width:600px){.fact-desktop{display:none}.fact-mobile{display:block}.property-fact-pickers.fact-mobile{display:flex}.property-fact-table{min-width:540px}.property-fact-table th:first-child{width:100px}.property-fact-table td,.property-fact-table th{padding:10px}.property-fact-table-scroll{max-height:65dvh}}

/* Mobile comparison keeps both values visible: feature label above paired cells. */
@media(max-width:600px){
 .fact-mobile.property-fact-table-scroll{overflow-x:hidden;overflow-y:auto;max-width:100%}
 .fact-mobile .property-fact-table{display:block;min-width:0;width:100%;table-layout:auto}
 .fact-mobile .property-fact-table caption{display:block}
 .fact-mobile .property-fact-table thead{display:block;position:sticky;top:0;z-index:3;background:#edf0e6}
 .fact-mobile .property-fact-table tbody{display:block}
 .fact-mobile .property-fact-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}
 .fact-mobile .property-fact-table thead th{position:static;width:auto;min-width:0;font-size:.9rem}
 .fact-mobile .property-fact-table thead th:first-child{display:none}
 .fact-mobile .property-fact-table tbody th{position:static;grid-column:1 / -1;width:auto;min-width:0;padding:9px 10px}
 .fact-mobile .property-fact-table td{min-width:0;width:auto;font-size:.9rem;line-height:1.45;padding:10px 8px}
 .fact-mobile .property-fact-table blockquote{margin:8px 0;padding-left:6px}
 .fact-mobile .property-fact-table summary{font-size:.9rem}
}
