/* V3.9 viewing additions stay within each existing fixed-size module. */
.comparison-line{font-size:12px;line-height:1.3;margin-top:5px;color:#c6d4e2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.comparison-line.up{color:#70e5a0}.comparison-line.down{color:#ff8b92}.comparison-line.flat,.comparison-line.muted{color:#acbfd2}
.metric-cells:has(>.metric-cell:only-child){grid-template-columns:1fr}
.distance-readable .comparison-line{font-size:var(--read-foot,16px);margin-top:5px}
.viewing-badge{font-size:10px;line-height:1.2;padding:3px 5px;border-radius:3px;background:#473521;color:#ffdaa4;white-space:nowrap;flex-shrink:0}
.viewing-badge[hidden]{display:none}.viewing-badge.adjusted{background:#213d4c;color:#99e4eb}
.distance-readable .viewing-badge{font-size:12px;padding:2px 3px}
.performance-progress{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:6px}
.performance-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.performance-values span{font-size:12px;line-height:1.1;color:#c8d8e8;min-width:0}
.performance-values strong{display:block;font:600 28px/1.15 Arial,sans-serif;color:#edd19e;white-space:nowrap;font-variant-numeric:tabular-nums;margin-top:4px}
.performance-values span:nth-child(2) strong{color:#66dfe6}.performance-values em{font-style:normal;font-size:11px;margin-left:3px;color:#c8d8e8}
.progress-caption{display:flex;justify-content:space-between;gap:8px;color:#c8d8e8;font-size:12px;line-height:1.1}
.progress-caption b{color:#66dfe6;font-variant-numeric:tabular-nums}
.progress-track{height:6px;flex-shrink:0;border-radius:3px;background:#294258;overflow:hidden}
.progress-track i{display:block;height:100%;background:#66dfe6;border-radius:3px}
.needs-check .progress-caption,.needs-check .progress-caption b{color:#ffcc91}.needs-check .progress-track i{background:#ffcc91}
.distance-readable .performance-values span,.distance-readable .progress-caption{font-size:var(--read-foot,16px)}
.distance-readable .performance-values strong{font-size:var(--read-value,36px)}
.distance-readable .performance-values em{font-size:var(--read-foot,16px)}
.module-card.single .performance-values{gap:6px}
.module-card.single .performance-values strong{font-size:24px}.distance-readable .module-card.single .performance-values strong{font-size:28px}
.module-card.single .performance-progress{gap:4px}.module-card.single .progress-caption{font-size:11px}
.distance-readable .module-card.single .progress-caption{font-size:14px}
.zone-left #source-status,.zone-right #source-status{display:inline!important}
.zone-left .board-meta time,.zone-right .board-meta time{display:none}
.zone-left .board-meta,.zone-right .board-meta{gap:7px;font-size:12px;min-width:0}
.zone-left .board-header h1 span,.zone-right .board-header h1 span{display:none}
#business-time{white-space:nowrap}#source-status{overflow:hidden;text-overflow:ellipsis;min-width:0}
@media(max-width:760px){.board-body.zone-desktop .board-meta #source-status{display:inline!important}.zone-desktop .board-meta{width:100%;min-width:0}.zone-desktop .board-meta time{display:none}.zone-desktop .demo-badge{flex-shrink:0}.zone-desktop #business-time{font-size:10px}.zone-desktop #source-status{font-size:10px}.zone-desktop .board-header{padding-left:8px;padding-right:8px}}

/* Small product cards retain the ratio and selected indicator comparison. */
.progress-inline-comparison{margin:0;font-size:12px;line-height:1.1;order:1;flex:1;text-align:center}
.progress-caption>b{order:2}.progress-caption>span:first-child{flex-shrink:0}
.distance-readable .progress-inline-comparison{font-size:var(--read-foot,16px);line-height:1.1;margin:0}
.compact-progress-caption{flex-wrap:wrap;gap:0 8px}
.compact-progress-caption>b{margin-left:auto}
.compact-progress-caption .progress-inline-comparison{order:3;flex-basis:100%;font-size:14px;line-height:1.1;text-align:left}
