#compareAnalysis { display:grid; gap:1.4rem; margin:1.2rem 0 2rem; }
#compareAnalysis:empty { display:none; }
#compareAnalysis>section { border-top:1px solid var(--line,#505450); padding:1.1rem 0 0; }
#compareAnalysis h3 { font-size:clamp(1.25rem,3vw,1.65rem); margin:0 0 .5rem; }
#compareAnalysis .cm-heading,.cm-ceiling { display:flex; flex-wrap:wrap; gap:.65rem 1rem; align-items:center; }
#compareAnalysis .cm-heading { justify-content:space-between; }
#compareAnalysis .cm-heading label { display:inline-flex; gap:.4rem; align-items:center; }
#compareAnalysis input[type=checkbox] { width:auto; }
#compareAnalysis .cm-ceiling input { max-width:7em; }
.cm-scroll { overflow:auto; max-height:min(70dvh,48rem); }
.cm-scroll table { width:100%; border-collapse:separate; border-spacing:0; min-width:35rem; }
.cm-scroll th,.cm-scroll td { text-align:left; vertical-align:top; padding:.65rem; border:1px solid var(--line,#505450); }
.cm-scroll thead th { position:sticky; top:0; z-index:2; background:var(--panel,#232623); }
.cm-scroll td small,.cm-scroll td a,.cm-legend small,.cm-legend a { display:block; line-height:1.45; }
.cm-scroll td a,.cm-legend a { width:fit-content; }
.cm-key { display:inline-block; min-width:1.9rem; line-height:1.6; text-align:center; border-bottom:3px solid; margin-right:.2rem; }
.cm-key-0 { color:#f2ad76; }.cm-key-1 { color:#81d2df; border-bottom-style:dashed; }.cm-key-2 { color:#c6a9eb; border-bottom-style:dotted; }
.cm-scroll .cm-diff,#compare.cm-highlight .atlas-table tr[data-cm-different] td { background:color-mix(in srgb,var(--panel,#232623) 86%,#7bc6a0); }
.cm-legend,.cm-size-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:1rem; padding:0; }
.cm-legend { list-style:none; }
.cm-legend li { display:flex; gap:.55rem; align-items:baseline; }
.cm-size-grid article { border:1px solid var(--line,#505450); border-radius:.55rem; padding:.85rem; min-width:0; }
.cm-size-grid h4 { font-size:1rem; }.cm-size-grid dl { margin:.25rem 0; }
.cm-size-grid dl div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.25rem; padding:.4rem 0; border-top:1px solid var(--line,#505450); }
.cm-size-grid dd { margin:0; font-weight:bold; }
#compareAnalysis svg { display:block; width:100%; height:auto; }
#compareAnalysis svg text { fill:currentColor; font:12px system-ui,sans-serif; }
.cm-curves figure { margin:.75rem 0; max-width:43rem; }
.cm-curves figure svg { max-width:36rem; }
.cm-curves figcaption { font-weight:bold; }
.cm-axes,.cm-ruler { fill:none; stroke:currentColor; stroke-width:1; opacity:.5; }
.cm-ruler { stroke-width:2; opacity:.85; }
.cm-line { stroke-width:3.2; fill:none; stroke-linecap:round; }
.cm-line-0 { stroke:#f2ad76; }.cm-line-1 { stroke:#81d2df; }.cm-line-2 { stroke:#c6a9eb; }
.cm-line-1:not([stroke-dasharray]) { stroke-dasharray:9 5; }
.cm-line-2:not([stroke-dasharray]) { stroke-dasharray:3 5; }
.cm-sample-0 {fill:#f2ad76;}.cm-sample-1 {fill:#81d2df;}.cm-sample-2 {fill:#c6a9eb;}
.cm-envelope { stroke-width:1.5;fill-opacity:.25; }
.cm-envelope-0 {fill:#f2ad76;stroke:#f2ad76;}.cm-envelope-1 {fill:#81d2df;stroke:#81d2df;}.cm-envelope-2 {fill:#c6a9eb;stroke:#c6a9eb;}
#comparisonBack:not([hidden]) { display:inline-flex; margin:0 0 1rem; }
#comparisonArchive button { margin:.15rem .3rem .15rem 0; }
@media(max-width:720px) {
  #atlasFullSpecifications .comparison-scroll { overflow:auto; max-height:70dvh; }
  #atlasFullSpecifications .atlas-table thead th { position:sticky; top:0; background:var(--panel,#232623); z-index:3; }
  #atlasFullSpecifications .atlas-table thead th:first-child { z-index:4; }
  #atlasFullSpecifications .comparison-photo { max-height:2.5rem; width:auto; }
  #atlasFullSpecifications .comparison-machine-actions { font-size:.73rem; }
  #compareAnalysis .cm-scroll th:first-child { min-width:6.7rem; }
  #compareAnalysis .cm-scroll td { min-width:9rem; }
}

#compare.cm-highlight .atlas-table tr[data-same] td,#compareAnalysis td.cm-same { color:#bcc5bc; background:#1c211e; }
#compare.cm-highlight .atlas-table tr[data-same] td a,#compareAnalysis td.cm-same a { color:#c3e0d3; text-decoration:underline; }
#compare.cm-highlight .atlas-table .missing,#compareAnalysis small { color:#c6cbc6; }
#compareMachineKey:not([hidden]) {
  display:flex; position:sticky; top:0; z-index:85; isolation:isolate;
  background:#0B0B0C; border-bottom:1px solid #424642;
  padding:.45rem .5rem; gap:.75rem; align-items:center; margin-top:.9rem;
}
#compareMachineKey a { flex:1; min-width:0; font-size:.86rem; line-height:1.25; color:#ecece9; text-decoration:none; }
#compareMachineKey .cm-key {min-width:1.3rem}
.cm-presets {display:flex; flex-wrap:wrap; gap:.4rem}
.cm-presets button[aria-pressed=true] {border-color:#e6aa87; color:#f3c3a5}
.cm-floor {margin:1.2rem 0; padding:1rem; background:#171b19; border:1px solid #454b45; border-radius:.55rem}
#compareAnalysis .cm-floor svg {max-width:32rem; margin:.8rem 0}
.cm-room,#floorFeet path {stroke:#616a62;stroke-width:.4;fill-opacity:1}
#floorFeet path {fill:none}
.cm-floor-shape {fill-opacity:.15;stroke-width:1.2}
.cm-floor-shape.cm-envelope-1 {stroke-dasharray:4 1}
.cm-floor-shape.cm-envelope-2 {stroke-dasharray:1 1}
.cm-loading-zone {fill-opacity:.08;stroke-width:.6;stroke-dasharray:2 1}
.cm-floor ul {list-style:none;padding:0;margin:0;display:grid;gap:.4rem}
.cm-legend li>div {min-width:0}
.cm-setting {display:grid;gap:.25rem;margin:.4rem 0}
.cm-setting select {max-width:100%}
.cm-fit-badge {display:inline-block;padding:.15em .45em;border:1px solid;border-radius:.3em}
.cm-fit-badge.fits {color:#a6d8ac}
.cm-fit-badge.too-tall {color:#f2abaa}
.cm-delta,.atlas-table td>a {display:block}
#atlasFullSpecifications .atlas-table thead th {top:0; z-index:4; background:#0B0B0C; border-bottom:1px solid #424642; background-clip:border-box}
#atlasFullSpecifications .atlas-table thead th:first-child {z-index:5}
@media(max-width:767.98px) {
  body:has(#compare:not([hidden]))>.atlas-header {position:relative; z-index:80}
  #compareMachineKey {gap:.4rem}
  #compareMachineKey a {font-size:.81rem}
  #atlasFullSpecifications .comparison-scroll {max-width:100%;box-sizing:border-box;overflow:auto;-webkit-overflow-scrolling:touch;padding-inline-end:max(.75rem,env(safe-area-inset-right));scroll-padding-inline-end:.75rem}
  #atlasFullSpecifications .atlas-table {--attribute-width:110px; --machine-width:11rem}
  #atlasFullSpecifications .atlas-table :is(td,th,td *,th *) {word-break:normal;overflow-wrap:normal;hyphens:manual;white-space:normal;text-overflow:clip}
  #atlasFullSpecifications .atlas-table thead th a {display:block;height:auto;max-height:none;overflow:visible}
  #atlasFullSpecifications .atlas-table th[scope=row] {position:static}
}
/* The archive hero uses absolute captions. The comparison chart is in normal flow. */
#compareAnalysis .cm-curves figcaption {
  position:static; inset:auto; width:auto; height:auto; padding:0;
  background:none; color:inherit; text-align:start;
}

#compare {padding-top:clamp(.9rem,2vw,1.5rem)}
#compare .compare-heading {
  display:flex; align-items:center; justify-content:space-between; gap:.6rem 1rem; margin:0 0 .55rem;
}
#compare .compare-heading h2 {margin:0;font-size:clamp(1.4rem,3vw,2.1rem)}
#compare .comparison-tools {display:flex;align-items:center;gap:.35rem;margin:0}
#compare .comparison-tools button,#compare .comparison-starters button {padding:.42rem .6rem;font-size:.77rem}
#compareMachineKey:not([hidden]) {
  z-index:150; margin:0; padding:.35rem 0; gap:.45rem; box-shadow:0 1px 0 #0b0b0c;
}
#compareMachineKey .shortlist-picks {flex:1 1 auto;min-width:0;flex-wrap:nowrap;gap:.4rem;margin:0}
#compareMachineKey .shortlist-picks:empty {display:none}
#compareMachineKey .shortlist-chip {flex:1 1 0;min-width:0;gap:.1rem;padding:.16rem .15rem .16rem .42rem;background:#1c211f;border-color:#424842}
#compareMachineKey .shortlist-chip a {flex:1;line-height:1.26;font-weight:600;word-break:normal}
#compareMachineKey .shortlist-chip button {align-self:stretch;min-width:25px;padding:0 .22rem;color:#d4d9d2}
#shortlistAdd {flex:none;position:relative}
#shortlistAdd>summary {display:block;cursor:pointer;border:1px dashed #819378;border-radius:.35rem;padding:.55rem .7rem;font-size:.8rem;color:#dbebd1}
#shortlistAdd>summary::-webkit-details-marker {display:none}
#shortlistAdd .shortlist-search {position:absolute;z-index:2;inset-inline-end:0;top:100%;width:min(22rem,85vw);margin:.25rem 0 0;padding:.65rem;background:#191d1a;border:1px solid #555f51;border-radius:.35rem;box-shadow:0 12px 24px #0009}
.shortlist-picks:empty+#shortlistAdd .shortlist-search {inset-inline-start:0;inset-inline-end:auto}
#shortlistAdd .shortlist-search label {font-size:.8rem;margin:0 0 .35rem}
#shortlistAdd .shortlist-search input {min-height:42px}
#shortlistAdd .shortlist-search>p {margin:.3rem 0 0;min-height:0}
#shortlistAdd .shortlist-suggestions {position:static;max-height:min(40dvh,19rem)}
#compare .compare-selection-tools {display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem 1rem;margin:.45rem 0;color:#bcc4bb;font-size:.78rem}
#compare .comparison-starters {display:block;min-width:0;background:none;border:0;margin:0;padding:0}
#compare .comparison-starters div {display:flex;gap:.35rem;flex-wrap:wrap;margin:.35rem 0}
#compare .comparison-starters summary,.machine-detail-actions summary {cursor:pointer}
#compare #atlasComparison {margin-top:.65rem}
#comparisonAspects .compare-views {align-items:center;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;scroll-padding-inline:.75rem;padding:.2rem .25rem .35rem}
#comparisonAspects .compare-views>* {flex:none}
#comparisonAspects .compare-views button {white-space:nowrap;min-height:36px;padding:.4rem .65rem}
#comparisonAspects .compare-highlight-control {margin:0;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font-size:.8rem;padding:.3rem .35rem}
.compare-highlight-control input {width:auto;min-height:0}
#compare .quick-verdict {display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .85rem;margin:.5rem 0;padding:.55rem .75rem;border:1px solid #485147;border-inline-start:3px solid #9fab91;border-radius:.3rem;background:#1a201c}
.quick-verdict h3 {margin:0;font-size:.87rem}
.quick-verdict ul {flex:1;display:flex;gap:.65rem 1.2rem;justify-content:space-between;list-style:none;padding:0;margin:0}
.quick-verdict li {display:grid;align-content:start;gap:.15rem;font-size:.76rem;line-height:1.3}
.quick-verdict li>span {color:#c0c9bc}
.quick-verdict li strong {font-weight:650}
.quick-verdict .cm-key {min-width:1rem;line-height:1.1;margin-right:.12rem}
#atlasFullSpecifications .comparison-summary {margin:.65rem 0 .4rem}
#atlasFullSpecifications .comparison-summary h3 {font-size:clamp(1.2rem,2.6vw,1.65rem)}
#atlasFullSpecifications .atlas-table thead th {font-size:.86rem;line-height:1.35}
#atlasFullSpecifications .atlas-table .comparison-section-title th {padding:.36rem .65rem}
#atlasFullSpecifications .machine-detail-actions {font-weight:400;margin-top:.3rem;font-size:.75rem}
#atlasFullSpecifications .machine-detail-actions[open] .comparison-photo {display:block;margin:.5rem 0}
.cm-floor ul {display:flex;flex-wrap:wrap;align-items:stretch;gap:.45rem}
.cm-floor .footprint-chip {display:flex;align-items:center;gap:.5rem;padding:.45rem .65rem;border:1px solid #454b45;border-radius:.5rem;background:#202421}
.footprint-chip strong,.footprint-chip small {display:block;line-height:1.4}
.footprint-chip small {font-variant-numeric:tabular-nums}
.quick-verdict li {flex:1;min-width:0;padding:.35rem .55rem;border:1px solid #41483f;border-radius:.5rem;background:#212720}
.compare-gym-drawer.wiki-dialog {box-sizing:border-box;inset:0 0 0 auto;margin:0;width:min(28rem,100vw);max-width:100vw;height:100dvh;max-height:100dvh;overflow:auto;border:0;border-left:1px solid #4b524a;border-radius:0;background:#191d1a;color:#e2e7df}
.compare-gym-drawer.wiki-dialog::backdrop {background:#050706b8}
.compare-gym-list {display:grid;list-style:none;padding:0;gap:.65rem}
.compare-gym-list li {display:grid;gap:.25rem;border-bottom:1px solid #444b43;padding:.5rem 0}
@media(max-width:767.98px) {
  #compare .compare-heading {gap:.25rem;flex-wrap:wrap}
  #compareMachineKey:not([hidden]) {gap:.3rem}
  #compareMachineKey .shortlist-picks {gap:.25rem}
  #compareMachineKey .shortlist-chip {padding:.1rem 0 .1rem .24rem}
  #compareMachineKey .shortlist-chip a {font-size:.74rem}
  #compareMachineKey .shortlist-chip button {min-width:24px}
  #compareMachineKey .cm-key {min-width:.95rem;margin-right:.05rem}
  #shortlistAdd {position:static}
  #shortlistAdd .shortlist-search,.shortlist-picks:empty+#shortlistAdd .shortlist-search {inset-inline:0;width:100%;box-sizing:border-box}
  #compare .quick-verdict {display:block}
  .quick-verdict h3 {margin:0 0 .3rem}
  .quick-verdict ul {gap:.4rem}
  .quick-verdict li {flex:1;min-width:0}
  #compare .comparison-scroll-hint {display:block;margin:0 0 .35rem;font-size:.73rem}
  #atlasFullSpecifications .atlas-table th,#atlasFullSpecifications .atlas-table td {padding:.5rem .6rem}
  #atlasFullSpecifications .atlas-table thead th a {display:inline}
}
