.route-controls{border-top:3px solid #a4423d;border-bottom:1px solid #bbd5d1;background:#fff9f0;padding:15px 18px;color:#153d47}
.route-controls[hidden]{display:none}
.route-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.route-heading strong{font:700 17px/1.2 'Libre Baskerville',Georgia,serif}
.route-heading span{font-size:12px;font-weight:800;color:#9b5146}
.route-period{font-size:10px;letter-spacing:.08em;font-weight:700;color:#826050;margin:6px 0 14px}
.route-controls label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.route-controls input[type=range]{width:100%;margin:0;accent-color:#a4423d;cursor:pointer}
.route-current{min-height:80px;margin:9px 0 12px;display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.4}
.route-current strong{color:#9a413b;font-size:13px}
.route-actions{display:grid;grid-template-columns:1fr 1.05fr 1fr;gap:5px}
.route-actions button,.route-all{border:1px solid #b3ccc8;background:#e9f4f0;color:#14525d;border-radius:4px;padding:7px 3px;font-size:11px;font-weight:700}
.route-actions button:hover,.route-all:hover{background:#cce9e1}
.route-actions button:disabled{opacity:.45;cursor:default}
.route-all{display:block;width:100%;margin-top:6px;background:#f0dfc9;border-color:#d7b486}
.route-warning{font-size:11px;line-height:1.4;color:#586d70;margin:12px 0 0}
.atlas-marker.independencia.route-marker{background:#ad4c3e;color:#fff;font-size:11px;font-weight:800;text-align:center;line-height:20px;border-color:#fff8e9}
.atlas-marker.independencia.route-marker.captive{background:#455f74}
.atlas-marker.independencia.route-marker.regional{border-style:dashed}
.map-legend i.route-legend{width:24px;height:8px;border:0;border-top:3px dashed #a4423d;background:none;border-radius:0}
.estela-sequence-controls{border-top-color:#b7832b;background:#fffaf0}
.estela-sequence-controls input[type=range]{accent-color:#a67523}
.estela-sequence-controls .route-current strong{color:#77551c}
.atlas-marker.estelas.estela-hito{background:#d4a047;border-color:#fff7dd;color:#2f2719;text-align:center;line-height:23px;font-size:10px;font-weight:800;letter-spacing:-.04em}
.atlas-marker.estelas.estela-hito.regional{border-style:dashed}
.atlas-marker.estelas.estela-hito.selected{box-shadow:0 0 0 4px #fff,0 0 0 7px #9b6320}
.estela-context{display:flex;flex-direction:column;gap:7px;border-left:3px solid #b7832b;background:#fff8e8;padding:12px 14px;margin:14px 0;font-size:13px;line-height:1.45}
.estela-context strong{color:#694919}
.revolution-controls{border-top-color:#963c36;background:#fff5f1}
.revolution-controls input[type=range]{accent-color:#963c36}
.revolution-controls .route-current strong{color:#8b332d}
.atlas-marker.revolucion.revolution-hito{background:#963c36;border-color:#fff6ec;color:#fff;text-align:center;line-height:20px;font-size:11px;font-weight:800}
.atlas-marker.revolucion.revolution-hito.selected{box-shadow:0 0 0 4px #fff,0 0 0 7px #963c36}
.revolution-context{display:flex;flex-direction:column;gap:7px;border-left:3px solid #963c36;background:#fff2ec;padding:12px 14px;margin:14px 0;font-size:13px;line-height:1.45}
.revolution-context strong{color:#80322e}
.cristera-controls{border-top-color:#6e506c;background:#fbf5fd}
.cristera-controls input[type=range]{accent-color:#6e506c}
.cristera-controls .route-current strong{color:#643e63}
.atlas-marker.cristera.cristera-hito{background:#70526d;border-color:#fff7fc;color:#fff;text-align:center;line-height:20px;font-size:11px;font-weight:800}
.atlas-marker.cristera.cristera-hito.regional{border-style:dashed}
.atlas-marker.cristera.cristera-hito.selected{box-shadow:0 0 0 4px #fff,0 0 0 7px #70526d}
.cristera-context{display:flex;flex-direction:column;gap:7px;border-left:3px solid #70526d;background:#fbf2fc;padding:12px 14px;margin:14px 0;font-size:13px;line-height:1.45}
.cristera-context strong{color:#5c3859}
