.route-controls h2 { margin: 4px 0 8px; }
.route-controls p { line-height: 1.5; }
.route-control-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.route-control-buttons button { min-height: 46px; }
.route-control-note { color: #52677c; font-size: .88rem; }
.route-selection-summary {padding:14px 16px;margin:0 0 18px;border-radius:9px;background:#f0f3f7;color:#52677c;border:1px solid #d8e0e9;font-weight:650;line-height:1.5}
.route-selection-summary[data-selection="primary"],.route-selection-summary[data-selection="backup"] {background:#eaf3ff;color:#195d9f;border-color:#bfd7f1}
.route-selection-summary[data-selection="mixed"],.route-selection-summary[data-selection="changing"] {background:#fff3df;color:#845716;border-color:#ead1a7}
.route-selection-badge {padding:6px 9px;border-radius:20px;background:#edf1f5;color:#60738a;font-size:.72rem;white-space:nowrap;font-weight:650}
.route-selection-badge[data-selected="true"] {background:#237fdf;color:white}
.route-choice-button {width:100%;min-height:46px!important;margin-top:auto}
.iq-card[data-selected="true"] .route-choice-button {background:#eaf3ff;border-color:#b7d2ee;color:#195d9f}
#route-control-dialog { width: min(520px, calc(100vw - 32px)); max-width: min(520px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 40px); margin: auto; border-radius: 12px; overflow-y: auto; padding: 24px; }
.route-control-dialog p { overflow-wrap: anywhere; line-height: 1.5; }
#route-confirm-script { font-weight: 650; }
#route-confirm-error { color: #a32721; }
#route-control-result:empty { display: none; }
@media(max-width: 600px) { .route-control-buttons { flex-direction: column; } .route-control-buttons button { width: 100%; } #route-control-dialog { padding: 20px; } }
