.route-assignment-card{min-width:0;border:1px solid var(--border);border-top:3px solid var(--route-color);border-radius:9px;background:#fff;overflow:hidden}.route-assignment-card .route-card{border:0;border-radius:0}.route-card-heading{display:flex;flex-direction:column;gap:2px;min-width:0}.route-card-heading small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.route-assignment-field{margin:0;padding:0 18px 18px}.route-assignment-field select{width:100%;min-width:0}.route-assignment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.route-count-field{margin-top:16px}
.route-count-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.route-count-heading output{min-width:28px;padding:2px 6px;border-radius:5px;background:var(--soft);color:var(--primary);font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.route-count-field input.route-count-range{--route-count-accent:var(--primary);appearance:none;height:32px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
.route-count-field input.route-count-range:disabled{--route-count-accent:#94a3b8;cursor:default}
.route-count-range:focus{outline:none}
.route-count-range::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:#dbe4f2}
.route-count-range::-moz-range-track{height:6px;border-radius:999px;background:#dbe4f2}
.route-count-range::-webkit-slider-thumb{appearance:none;box-sizing:border-box;width:18px;height:18px;margin-top:-6px;border:2px solid #fff;border-radius:50%;background:var(--route-count-accent);box-shadow:0 0 0 1px var(--route-count-accent)}
.route-count-range::-moz-range-thumb{box-sizing:border-box;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:var(--route-count-accent);box-shadow:0 0 0 1px var(--route-count-accent)}
.route-count-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px var(--primary),0 0 0 4px #bfdbfe}
.route-count-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 1px var(--primary),0 0 0 4px #bfdbfe}
.route-count-marks{position:relative;height:16px;margin:-5px 9px 0;color:var(--muted);font-size:11px;line-height:16px;font-variant-numeric:tabular-nums;pointer-events:none}
.route-count-marks span{position:absolute;transform:translateX(-50%)}
.planner-map-heading h2{line-height:1.3}
.planner-map-heading h2 svg{flex:none}
.planner-map-heading .map-head-note{display:inline-flex;align-items:center;gap:8px;padding:3px 3px 3px 9px;border:1px solid #dbe6f5;border-radius:8px;background:#f8faff;color:#52637b;font-size:12px;font-weight:600;line-height:1.25;text-align:right}
.map-head-note strong{display:grid;place-items:center;flex:none;min-width:30px;min-height:28px;padding:2px 5px;border-radius:5px;background:#e5efff;color:#1d4ed8;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
.planner-grid .map-label{display:none}
@media(max-width:480px){.planner-map-heading .map-head-note{gap:5px;padding-inline-start:6px}.map-head-note strong{font-size:15px}}

.results.results-standalone{flex:1 1 0;margin-top:0}.results-standalone .results-heading{flex-wrap:wrap;gap:12px}.results-standalone .results-heading>div{min-width:0}.results-standalone .results-heading p{white-space:normal;overflow-wrap:anywhere}.route-map-view{display:flex;flex:1;flex-direction:column;min-height:0}.route-map-view>.panel-heading{flex-wrap:wrap;gap:12px}.results-standalone[hidden],#app>.route-map-view[hidden]{display:none}
.route-assignment-value{font-size:14px;color:var(--dark);line-height:1.5;overflow-wrap:anywhere}
.route-stop-dialog .dialog-heading{position:sticky;top:0;z-index:1;align-items:center;justify-content:flex-start;gap:8px;padding:12px clamp(14px,5vw,25px);background:var(--surface)}
.route-stop-dialog .dialog-heading>div{min-width:0;overflow-wrap:anywhere}
.route-stop-dialog .dialog-heading h2{font-size:clamp(16px,5vw,20px);line-height:1.25}
.route-stop-dialog .dialog-heading>.icon-button{flex:none;margin-inline-start:auto}
.route-stop-dialog .dialog-content{padding-block:14px 18px}.route-stop-dialog .dialog-error{margin:0 0 10px}
.route-stop-location{margin:0 0 10px;color:var(--dark);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.route-stop-overview{margin-bottom:12px}.route-stop-summary{font-size:13px;line-height:1.4;font-weight:600;color:#52637b;overflow-wrap:anywhere}
.button.route-stop-add,.button.route-stop-remove{flex-shrink:0;min-height:34px;gap:5px;padding:5px 9px;font-size:13px;font-weight:650}
.route-stop-add svg,.route-stop-remove svg{width:14px;height:14px}
.button.route-stop-remove{max-width:54%;color:#b91c1c;white-space:normal;line-height:1.25}.button.route-stop-remove:hover{border-color:#fecaca;background:#fef2f2}
.route-stop-button{text-align:left;padding:0;overflow-wrap:anywhere}.route-stop-button:hover{text-decoration:underline}.route-stop-items{list-style:none;padding:0;margin:0;display:grid;gap:10px}.route-stop-items li{padding:12px;border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}.route-stop-items dl{display:grid;gap:8px;margin:8px 0 0}.route-stop-items dt{font-size:12px;color:var(--muted)}.route-stop-items dd{margin:2px 0 0;white-space:pre-wrap}
.timeline-item .route-stop-button small{color:#52637b}
.route-stop-order-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.route-stop-order-heading strong{flex:1 1 112px;min-width:0;font-size:15px;line-height:1.35}
.route-stop-items .route-stop-order-boxes{display:flex;align-items:center;gap:6px;margin:0;padding:4px 8px;border-radius:6px;background:var(--soft);color:#2558a5}.route-stop-order-boxes dt{color:inherit}.route-stop-order-boxes dd{margin:0;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.route-stop-items .route-stop-order-details{gap:8px;margin-top:10px}.route-stop-order-details dt{color:#64748b}.route-stop-order-details dd{font-size:14px;line-height:1.45}
.route-order-note{display:grid;gap:3px;padding:8px 10px;border:1px solid #e6ebf2;border-radius:7px;background:#f8fafc}
.route-order-note-delivery{border-color:#dce8fa;background:#f3f7ff}
.route-order-note>:is(dt,strong){color:#52637b;font-size:12px;font-weight:650;line-height:1.35}
.route-order-note-delivery>:is(dt,strong){color:#2558a5}
.route-order-note>:is(dd,span){margin:0;color:#354762;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.route-order-note>.route-stop-comment-empty{color:#64748b}
