.route-map-actions > .btn, .route-map-actions .route-playback-hint .btn { padding: 7px 4px !important; font-size: 12px; white-space: nowrap; }
.route-playback-hint { position: relative; display: flex; flex: 1; min-width: 0; }
.route-playback-hint .btn { width: 100%; margin: 0; }
.route-playback-hint:where(:hover, :focus-within)::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 7px 9px; width: 210px; background: #172b3a; color: white; border-radius: 5px; font: 12px/1.4 Arial, sans-serif; z-index: 5000; text-align: center; pointer-events: none; }
#route-playback-open:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.route-playback-panel { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; right: auto; transform: translateX(-50%); width: min(700px, calc(100% - 32px)); z-index: 1100; padding: 9px 12px; box-sizing: border-box; border: 1px solid #94a3b866; border-radius: 10px; background: rgba(255, 255, 255, .4); box-shadow: 0 3px 16px #0f172a20; color: #808080; font: 12px/1.4 Arial, sans-serif; }
.playback-controls { display: flex; align-items: center; gap: 7px; }
.route-playback-panel button, .route-playback-panel select { min-height: 32px; padding: 4px 8px; border: 1px solid #94a3b880; border-radius: 5px; color: #808080; background: rgba(255, 255, 255, .45); cursor: pointer; font: inherit; }
.playback-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.route-playback-panel .playback-controls button, .route-playback-panel .playback-controls select { background: #808080; border-color: #808080; color: #fff; }
.route-playback-panel .playback-controls button:hover:not(:disabled), .route-playback-panel .playback-controls select:hover { background: #e2e8f0; color: #008c95; }
.route-playback-panel button:hover:not(:disabled), .route-playback-panel select:hover { background: #e2e8f0; color: #008c95; }
.route-playback-panel svg { flex: none; color: inherit; }
.route-playback-panel button:disabled { opacity: .4; cursor: not-allowed; }
.route-playback-panel :focus-visible { outline: 2px solid #5ee0f4; outline-offset: 2px; }
.playback-controls input[type="range"] { flex: 1; min-width: 40px; accent-color: #808080; }
.playback-controls input[type="range"]:hover { accent-color: #008c95; }
.route-playback-panel .playback-message { margin-top: 5px; color: #334155; background: transparent; border: 0; padding: 0; }
.playback-day-legend { display: flex; gap: 5px 12px; flex-wrap: wrap; max-height: 54px; overflow: auto; }
.playback-day-legend span::before { content: ''; display: inline-block; width: 12px; height: 4px; background: var(--day-color); margin-right: 5px; vertical-align: middle; }
.playback-calendar { position: absolute; bottom: calc(100% + 10px); right: 0; width: min(350px, 100%); max-height: min(70vh, calc(100vh - 180px)); overflow-y: auto; box-sizing: border-box; padding: 14px; background: #fff; border-radius: 8px; border: 1px solid #b2c3cd; box-shadow: 0 4px 22px #0004; color: #203a4d; }
.playback-calendar[hidden], .playback-custom[hidden] { display: none; }
.playback-calendar label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.playback-calendar select { background: #f0f6fa; color: #203a4d; width: 100%; }
.playback-presets { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.playback-presets button { text-align: left; border-color: transparent; background: transparent; }
.playback-presets button[aria-pressed="true"] { background: #e2e8f0; font-weight: 700; }
.playback-custom { margin: 10px 0; border-top: 1px solid #e2e8f0; padding-top: 10px; }
.playback-custom-dates { display: flex; gap: 10px; }
.playback-custom label { min-width: 0; flex: 1; }
.playback-custom input { box-sizing: border-box; width: 100%; padding: 7px 2px; border: 1px solid #abc; border-radius: 4px; }
.playback-calendar small { display: block; margin-bottom: 10px; }
.playback-calendar button { margin-right: 8px; }
.playback-vehicle-tooltip { padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; }
.playback-vehicle-tooltip::before { display: none; }
.playback-vehicle { display: flex; align-items: center; justify-content: center; font-size: 30px; }
.playback-vehicle .vehicle-heading-rotor { display: flex; align-items: center; justify-content: center; width: 52px; height: 60px; transform-origin: center; }
.playback-vehicle svg, .playback-vehicle img { filter: none !important; }
.playback-vehicle-label strong { display: inline-block; padding: 2px 12px; border: 0; border-radius: 14px; background: #19954d; color: white; text-shadow: none; box-shadow: none; }
.playback-vehicle-label > div { margin-top: 3px; padding: 5px 9px; border: 0; border-radius: 8px; background: rgba(22, 106, 146, .4); color: #000; font-size: 11px; text-shadow: none; box-shadow: none; }
@media (max-width: 600px) { .playback-controls { gap: 3px; flex-wrap: wrap; } .playback-controls button, .playback-controls select { padding: 4px 6px; } .playback-vehicle-label > div { white-space: normal; width: 240px; } }
@media print { .route-playback-panel { display: none !important; } }
