#compare-frame-overlay{margin:1.8rem 0 1.4rem;min-width:0}
#compare-frame-overlay[hidden]{display:none}
#compare-frame-overlay h2{font-size:clamp(1.35rem,2.2vw,1.8rem);margin:0}
.cfo-panel{border:1px solid #c6d0be;background:#f8f9f5;padding:clamp(.78rem,2vw,1.3rem);color:#232e20}
#geo-art .cfo-svg{display:block;width:100%;height:auto}
#geo-art svg{display:block;width:100%;height:auto;max-height:36rem;background:#f5f7f8;border:1px solid #dae0de}
#geo-art .cfo-wheel,#geo-art .cfo-rim{fill:none;stroke:#64716b;stroke-opacity:.38;stroke-width:10}
#geo-art .cfo-rim{stroke-width:3}
.cfo-layer{fill:none;stroke:var(--frame);stroke-linejoin:round;stroke-linecap:round;stroke-width:11}
.cfo-node{fill:var(--frame);stroke:none}
.cfo-pivot{stroke:#41513f;fill:#f5f7f8;stroke-width:4}
.cfo-guide,.cfo-active-line{fill:none;stroke:#53604b;stroke-width:3.5;stroke-dasharray:11 9}
.cfo-active-line{stroke:var(--frame);stroke-width:8;stroke-dasharray:16 9}
.cfo-marker [data-cfo-control]{cursor:pointer;outline:none}
.cfo-marker rect{fill:#fff;stroke:#303c30;stroke-width:3}
.cfo-marker text{fill:#151b15;font-size:34px;text-anchor:middle;dominant-baseline:middle;pointer-events:none;font-weight:750}
.cfo-marker :is([data-cfo-active],:focus-visible) rect{fill:#e4efae;stroke-width:5}
#geo-art svg[data-focus]:not([data-focus=""]) .cfo-layer{opacity:.42}
#geo-art svg[data-focus]:not([data-focus=""]) .cfo-guide{opacity:.28}
.cfo-panel .geo-note{margin:.55rem 0 0;font-size:.86rem;color:#43523e}
.cfo-letter{display:inline-grid;place-items:center;border:1px solid #839278;border-radius:.2rem;background:#fff;color:#222f1d;font:inherit;font-size:.82rem;font-weight:750;width:1.56rem;min-height:1.52rem;margin-right:.4rem;cursor:pointer}
.cfo-letter:is([aria-pressed=true],:focus-visible),.geometry-table tr[data-cfo-active] > *{background:#edf2da}
.cfo-parts{stroke-width:8;opacity:.8}
#geo-table thead th[style*="--overlay-frame"]{box-shadow:inset 0 3px 0 var(--overlay-frame)}
/* Dedicated geometry comparison: diagram and measurement columns share colours. */
#compare-frame-overlay{margin:clamp(2rem,5vw,4rem) 0}
#compare-frame-overlay h2{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.055em;line-height:1.05}
.cfo-intro{margin:.7rem 0 1.35rem}
.cfo-panel{margin:0;padding:0;border:0;background:transparent}
#geo-art svg{max-height:38rem;background:#f6f8fa}
#geo-art>p{padding:1rem 1.2rem;margin:0;background:#f1f4ec;border:1px solid #dfe5d8}
.cfo-table-heading{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:.6rem 1rem;margin:1.4rem 0 .75rem}
.cfo-table-heading h3{margin:0;font-size:clamp(1.28rem,2.4vw,1.65rem)}
.cfo-table-heading p{margin:.25rem 0 0}
#geo-table .table-scroll{max-width:100%;overflow:auto}
#geo-table .geometry-table tbody td{background:color-mix(in srgb,var(--overlay-frame) 5%,white);font-variant-numeric:tabular-nums}
#geo-table .geometry-table tbody tr[data-cfo-active] td{background:color-mix(in srgb,var(--overlay-frame) 19%,white)}
#geo-table .geometry-table tbody tr[data-cfo-active] th{background:#edf2da}
#geo-table .cfo-source{display:block;font-size:.82rem;margin-top:.45rem}
@media(max-width:600px){
 #geo-table .geometry-table th:first-child{position:static}
 #geo-table .geometry-table td,#geo-table .geometry-table th{padding:.55rem .65rem}
}

/* The same compact size/mode grid as the single-bike geometry tables. */
#geo-table .cfo-matrix{table-layout:fixed;width:100%;border-collapse:collapse;border:0}
#geo-table .cfo-label-col{width:248px}
#geo-table .cfo-matrix :is(th,td){width:auto;vertical-align:middle;padding:.53rem .72rem;border:0;border-bottom:1px solid #dcded7;text-align:left;line-height:1.37}
#geo-table .cfo-matrix .cfo-measures-heading{background:#fff;box-shadow:none;vertical-align:top}
#geo-table .cfo-matrix .cfo-bike-heading{background:color-mix(in srgb,var(--overlay-frame) 9%,white);box-shadow:inset 0 -3px var(--overlay-frame);vertical-align:top}
#geo-table .cfo-bike-heading .compare-build-link{display:inline;white-space:normal;text-decoration:underline;text-underline-offset:.12em;color:inherit}
#geo-table .cfo-bike-heading .compare-table-meta{font-size:.8rem;color:#43523e;white-space:normal}
#geo-table .cfo-matrix tbody th{background:#fff}
#geo-table .cfo-matrix td{white-space:nowrap}
.cfo-measure-label{font-size:.89rem;display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap}
.cfo-measure-label .cfo-letter,.cfo-letter-spacer{width:1.22rem;min-height:1.42rem;margin:0;border:0;background:transparent;padding:0}
.cfo-measure-label .cfo-letter:is(:hover,:focus-visible,[aria-pressed=true]){background:#e5eddc}
.cfo-info{box-sizing:border-box;border:1px solid #617158;background:#fff;color:#394c33;font:inherit;font-weight:760;font-size:.88rem;border-radius:50%;height:1.42rem;width:1.42rem;padding:0;cursor:pointer;display:inline-grid;place-items:center}
.cfo-info:is(:hover,:focus-visible,[aria-describedby]){background:#e8efc3}
.cfo-table-tip{position:fixed;z-index:101;max-width:min(20rem,calc(100vw - 1rem));background:#252d1c;color:#fff;padding:.68rem .8rem;border-radius:.35rem;box-shadow:0 .45rem 1.35rem #0003;font-size:.89rem;line-height:1.5;pointer-events:none}
#geo-table .cfo-size-row{display:grid;justify-items:start;gap:.32rem;margin:.4rem 0 .2rem}
#geo-table .cfo-size-control{display:inline-flex;align-items:center;gap:.38rem;margin:0;color:inherit;font-weight:750}
#geo-table .cfo-size-control select{display:block;min-width:4.1rem;max-width:100%;height:2.3rem;padding:.2rem .38rem;border:1px solid color-mix(in srgb,var(--overlay-frame) 65%,#fff);background:white;border-radius:.2rem;font:inherit;color:var(--overlay-frame)}
#geo-table .cfo-size-row .cfo-source{margin:0;color:#3f4c36;font-size:.73rem;font-weight:500}

.cfo-workspace,.cfo-table-block{min-width:0}
.cfo-mode-control{font-size:.78rem}
#geo-table .cfo-mode-control select{height:1.9rem}
@media(min-width:1220px){
 .cfo-workspace:is([data-bikes="1"],[data-bikes="2"]){display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.25fr);gap:clamp(1rem,2.7vw,2.3rem);align-items:start}
 .cfo-workspace:is([data-bikes="1"],[data-bikes="2"]) .cfo-table-heading{margin-top:0}
}
.cfo-table-tip{z-index:110;box-sizing:border-box;width:min(26rem,calc(100vw - 18px));max-width:none;max-height:75dvh;overflow:hidden;background:#252d1f;border:1px solid #526149}
.cfo-table-tip .cfo-tip-title{display:block;font-size:1.06rem}
.cfo-table-tip p{margin:.28rem 0 .45rem}
.cfo-table-tip ul{margin:.4rem 0 0;padding:0;list-style:none}
.cfo-table-tip li{display:flex;gap:.45rem;justify-content:space-between;align-items:baseline;border-left:3px solid color-mix(in srgb,var(--measure-tone) 66%,white);padding:.23rem 0 .23rem .48rem;line-height:1.2}
.cfo-table-tip li+li{border-top:1px solid #ffffff21}
.cfo-table-tip li b{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#compare-frame-overlay .geo-note{color:#485544}
.cfo-table-tip[data-pinned]{overflow:auto;pointer-events:auto;overscroll-behavior:contain}
