.route-comparison { margin: 0 0 35px; padding: 23px 25px; border: 1px solid var(--line); background: #f0f2e8; }
.comparison-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.comparison-heading h2 { font-size: 25px; }
.comparison-heading .eyebrow { margin-bottom: 8px; }
#compare-status { margin: 12px 0; color: #536346; font-size: 13px; }
.compare-empty { font-size: 13px; line-height: 1.9; color: var(--muted); }
.compare-selection { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-remove { min-height: 44px; padding: 7px 12px; color: var(--ink); border: 1px solid #bfcbb2; background: var(--paper-light); border-radius: 3px; text-align: left; font-size: 12px; }
.compare-reading-help { margin: 17px 0 10px; color: var(--muted); font-size: 12px; }
.route-compare-table { max-width: 100%; overflow-x: auto; background: var(--paper-light); border: 1px solid #c5cebb; scrollbar-width: thin; }
.route-compare-table table { width: 100%; min-width: 630px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.9; }
.route-compare-table caption { text-align: left; padding: 10px 14px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.route-compare-table th, .route-compare-table td { vertical-align: top; text-align: left; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.route-compare-table tr > :first-child { width: 115px; background: #edf0e5; font-weight: 500; }
.route-compare-table thead th { background: #e1e8d6; font-size: 14px; }
.route-compare-table tr > :last-child { border-right: 0; }
.route-compare-table tr:last-child > * { border-bottom: 0; }
.compare-route-actions { display: flex; flex-direction: column; gap: 7px; }
.compare-route-actions a { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
.compare-blocked-note { color: #75572f; font-size: 12px; }
.route-compare-choice { display: flex; gap: 9px; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); min-height: 44px; cursor: pointer; font-size: 13px; }
.route-compare-choice input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--forest); }
.compare-dock { position: fixed; z-index: 20; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; width: min(740px, calc(100% - 40px)); padding: 12px 16px; background: #f8f8f0; border: 1px solid #a9b798; box-shadow: 0 5px 25px #26392220; }
.compare-dock p { margin: 0; flex: 1; font-size: 12px; line-height: 1.8; }
.compare-dock .button { flex-shrink: 0; font-size: 12px; }
body[data-page="routes"] .site-footer { padding-bottom: 115px; }
@media (max-width: 640px) {
 .route-comparison { padding: 18px 15px; margin-bottom: 25px; }
 .comparison-heading { display: block; }
 .comparison-heading h2 { font-size: 23px; }
 #compare-clear { padding: 6px 0; }
 .route-compare-table table { min-width: 680px; font-size: 13px; }
 .route-compare-table tr > :first-child { position: sticky; left: 0; width: 93px; z-index: 1; border-right: 2px solid #bcc8af; }
 .route-compare-table th, .route-compare-table td { padding: 11px 12px; }
 .route-compare-table thead th { font-size: 13px; }
 .compare-dock { bottom: 10px; width: calc(100% - 24px); padding: 10px 12px; gap: 10px; }
 .compare-dock .button { padding-inline: 12px; }
 .compare-dock p { font-size: 11px; }
}
@media print {
 .compare-dock, .route-compare-choice, .compare-selection, #compare-clear, .compare-reading-help { display: none !important; }
 .route-comparison { background: white; border: 0; padding: 0; }
 .route-compare-table { overflow: visible; border: 0; }
 .route-compare-table table { min-width: 0; font-size: 9pt; }
 .route-compare-table th, .route-compare-table td { position: static !important; background: white !important; border: 1px solid #999; padding: 2mm; }
 .route-compare-table tr { break-inside: avoid; }
 .route-compare-table tr > :first-child { width: 17%; }
 .route-compare-table thead { display: table-header-group; }
 .route-compare-table thead th { font-size: 9pt; }
 .compare-route-actions { display: none; }
}
