.edition-page{box-sizing:border-box;padding:var(--pad-y) var(--pad-x);height:100%;min-height:0;font-family:var(--face-body);color:var(--text);flex-direction:column;display:flex}.routes-head .page-head-actions{gap:16px}.routes-tabs{border:1px solid var(--frame);border-radius:var(--r-button);background:var(--surface);display:inline-flex;overflow:hidden}.routes-tabs button{height:42px;font:500 15px/1 var(--face-body);color:var(--text-muted);cursor:pointer;transition:background-color .2s var(--e-state), color .2s var(--e-state);background:0 0;border:0;padding:0 16px}.routes-tabs button[aria-pressed=true]{background:var(--primary);color:var(--on-primary)}.routes-tabs .number-roll{display:inline-block}.routes-tab-count.is-empty{display:none}.routes-body{flex:1;grid-template-columns:592px minmax(0,1fr);gap:24px;min-height:0;display:grid;position:relative}.routes-page.is-narrow .routes-body{grid-template-columns:minmax(0,1fr)}.routes-card{background:var(--surface);border:1px solid var(--frame);border-radius:var(--r-card);color:var(--text)}.routes-map-card{background:var(--land);min-height:0;position:relative;overflow:hidden}.routes-map,.routes-map svg{width:100%;height:100%;display:block}.routes-map svg{-webkit-user-select:none;user-select:none}.routes-map-foot{color:var(--text-muted);background:color-mix(in srgb, var(--surface) 86%, transparent);border-radius:var(--r-chip);pointer-events:none;margin:0;padding:4px 10px;font-size:14px;position:absolute;bottom:12px;left:14px}.map-land{fill:var(--land)}.map-water{fill:var(--water);fill-rule:evenodd;stroke:var(--water-line);stroke-width:1px;stroke-linejoin:round}.map-road{fill:none;stroke:var(--road);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.map-road-ring{stroke-width:2.4px}.map-road-main{stroke:var(--road-main);stroke-width:3.4px}.map-shield rect{fill:var(--surface);stroke:var(--road-main)}.map-shield text{font:600 11.5px/1 var(--face-body);fill:var(--text-muted);text-anchor:middle;dominant-baseline:central}.map-district{font:500 13.5px/1 var(--face-body);fill:var(--text-quiet);paint-order:stroke;stroke:var(--land);stroke-width:3px;stroke-linejoin:round}.map-road-label{text-anchor:middle;font-size:12px}.map-water-label{font:italic 400 14px/1 var(--face-body);fill:color-mix(in srgb, var(--ink) 45%, var(--surface));text-anchor:middle}[data-mode=dark] .map-water-label{fill:var(--text-quiet)}.map-depot rect{fill:var(--depot)}.map-depot{color:var(--on-depot);pointer-events:none}.tone-one{--tone:var(--route-one);--on-tone:var(--on-route-one)}.tone-two{--tone:var(--route-two);--on-tone:var(--on-route-two)}.map-route{transition:opacity .3s var(--e-state)}.map-route.is-dimmed,.map-pin.is-dimmed,.map-leader.is-dimmed{opacity:.22}.map-route-mask{fill:none;stroke:#fff;stroke-width:12px;stroke-linecap:round;stroke-linejoin:round}.map-route-line,.map-route-leg{fill:none;stroke:var(--tone);stroke-linejoin:round;stroke-linecap:round}.map-route-line{stroke-width:3.2px}.map-route-line.is-dashed{stroke-dasharray:7 6;stroke-linecap:butt}.map-route-leg{stroke-width:2px;opacity:.32;stroke-dasharray:3 5}.map-pin{cursor:pointer;transition:opacity .3s var(--e-state)}.map-pin.is-unplanned circle,.map-pin.is-unplanned rect{fill:var(--surface);stroke:var(--text-quiet);stroke-width:2px}.map-pin-shape{fill:var(--tone);stroke:var(--tone);stroke-width:2.4px}.map-pin.is-hollow .map-pin-shape,.map-pin.is-done .map-pin-shape{fill:var(--surface)}.map-pin-badge{fill:var(--surface);stroke:var(--tone);stroke-width:2px}.map-pin-number{font:600 12px/1 var(--face-body);text-anchor:middle;dominant-baseline:central;fill:var(--on-tone);pointer-events:none}.map-pin.is-hollow .map-pin-number{fill:var(--tone)}.map-pin-check{fill:none;stroke:var(--tone);stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round}.map-pin-pulse{fill:none;stroke:var(--tone);stroke-width:2px;pointer-events:none}.map-leader{pointer-events:none;transition:opacity .3s var(--e-state)}.map-leader-line{stroke:var(--tone);stroke-width:1.4px;stroke-linecap:round}.map-leader-dot{fill:var(--tone)}.map-leader.is-unplanned{--tone:var(--text-quiet)}.routes-pop-anchor{pointer-events:none;width:1px;height:1px;position:absolute}.routes-pop{width:268px;padding:14px 16px!important}.routes-pop h3{font:500 15px/1.3 var(--face-body);margin:0}.routes-pop p{color:var(--text-muted);margin:2px 0 0;font-size:14px}.routes-pop .routes-pop-label{margin:10px 0 6px}.routes-pop-moves{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.routes-pop-moves button{border:1px solid var(--frame);border-radius:var(--r-control);background:var(--surface);height:36px;color:var(--text);font:500 14px/1 var(--face-body);cursor:pointer;transition:background-color .2s var(--e-state)}.routes-pop-moves button:hover:not(:disabled){background:var(--hover)}.routes-pop-moves button:disabled{cursor:default;color:var(--text-quiet)}.routes-pop-moves button.is-current{background:var(--well-strong)}.routes-trips{flex-direction:column;gap:8px;min-height:0;padding-bottom:62px;display:flex}.routes-page.is-narrow .routes-trips{padding-bottom:0}.routes-empty,.routes-next-list{flex-direction:column;flex:1;gap:14px;min-height:0;padding:22px;display:flex}.routes-empty p,.routes-next-list p{color:var(--text-muted);margin:0;font-size:15px;line-height:1.5}.routes-empty-title{font:500 18px/1.3 var(--face-body);margin:0}.routes-empty-trips{color:var(--text-quiet);flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.routes-empty-trips li{align-items:center;gap:12px;display:flex}.routes-trip-run{margin-left:auto;font-size:14px}.routes-swatch{border-top:3.2px solid var(--tone,var(--text-quiet));flex:none;width:26px;height:0}.routes-swatch.is-dashed{border-top-style:dashed}.routes-swatch.is-quiet{border-top-color:var(--text-quiet)}.routes-trip-name{height:1lh;font:500 16px/1.2 var(--face-body);color:inherit;white-space:nowrap;flex-wrap:wrap;flex:auto;align-items:baseline;min-width:0;display:flex;overflow:hidden}.routes-trip-title{flex:none}.routes-trip-driver{color:var(--text-muted);flex:none;margin-left:6px;font-size:15px;font-weight:400}.routes-trip{transition:border-color .2s var(--e-state);flex:none;padding:14px 18px;container-type:inline-size}.routes-trip:hover,.routes-trip.is-dropping{border-color:var(--text-quiet)}.routes-trip.is-dropping{background:var(--hover)}.routes-trip.is-selected{border-color:var(--text-quiet);flex-direction:column;flex:1;min-height:0;display:flex}.routes-trip.is-small{align-items:center;gap:12px;height:52px;padding:0 12px 0 18px;display:flex}.routes-trip-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.routes-trip-head .routes-trip-select{min-width:auto}.routes-trip-head .routes-trip-right{margin-left:auto}.routes-trip-head.is-joined .routes-trip-name{flex-flow:column;align-items:flex-start;height:auto}.routes-trip-head.is-joined .routes-trip-driver{margin-left:0}.routes-trip-select{text-align:left;min-width:0;color:var(--text);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:stretch;gap:6px;padding:0;display:flex}.routes-trip-top{align-items:center;gap:12px;min-height:32px;display:flex}.routes-trip-short{color:var(--text-muted);white-space:nowrap;margin-left:auto;font-size:14px}.routes-trip-short.is-over{color:var(--attention-text)}@container (max-width:400px){.routes-trip.is-small .routes-trip-short,.routes-trip-short-stops,.routes-trip .routes-trip-driver,.routes-trip-head .chip-planned-outline{display:none}.is-joined .routes-trip-title{white-space:normal;max-width:100%}}.routes-trip.is-small .routes-trip-top{flex-wrap:wrap;align-content:flex-start;height:32px;overflow:hidden}.routes-trip.is-small .routes-trip-top>.routes-swatch{margin-block:14.4px}.routes-trip.is-small .routes-trip-name,.routes-trip.is-small .routes-trip-short{line-height:32px}@container (max-width:400px){.routes-trip.is-small.is-joined .routes-trip-top{flex-wrap:nowrap;align-items:center;height:auto}.routes-trip.is-small.is-joined .routes-trip-name{height:auto;line-height:1.2}.routes-trip.is-small.is-joined .routes-trip-title{flex:0 auto}}.routes-trip-meta-row{flex-wrap:wrap;align-items:center;column-gap:12px;margin:2px 0 0 38px;display:flex}.routes-trip-meta{min-width:0;color:var(--text-muted);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;flex:100%;margin:0;font-size:14px;overflow:hidden}.routes-trip-right{flex:none;align-items:center;gap:10px;display:flex}.routes-capacity{color:var(--text-muted);align-items:center;gap:12px;margin:8px 0 0 38px;font-size:14px;display:flex}.routes-trip-note{color:var(--text-muted);margin:4px 0 0 38px;font-size:14px}.routes-join{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0 38px;display:flex}.routes-join-question{color:var(--text);flex:100%;margin:0;font-size:14px}.routes-join-actions{gap:8px;display:flex}.routes-capacity-bar{border-radius:var(--r-mark);background:var(--well-strong);flex:1;height:6px;overflow:hidden}.routes-capacity-bar i{border-radius:var(--r-mark);background:var(--tone);transform-origin:0;height:100%;display:block}.routes-capacity-label{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;min-width:16ch}.routes-capacity-label .chip-square{margin-right:6px;display:inline-block}.routes-capacity.is-over{color:var(--attention-text)}.routes-capacity.is-over .routes-capacity-bar i{background:var(--attention)}.routes-trip-rest{flex:100%;justify-content:flex-end;margin-top:8px;display:flex}@container (max-width:400px){.routes-trip-meta-row .routes-trip-meta{flex:1 1 0}.routes-trip-rest{flex:none;margin-top:0}}.routes-stops{border-top:1px solid var(--rule);scrollbar-width:thin;--stops-fade:40px;flex:1;min-height:0;margin:12px -18px 0;padding:0;list-style:none;overflow-y:auto}.routes-stops[data-short]{--stops-fade:16px}.routes-stops[data-more]{-webkit-mask-image:linear-gradient(to bottom, black calc(100% - var(--stops-fade)), transparent);mask-image:linear-gradient(to bottom, black calc(100% - var(--stops-fade)), transparent)}.routes-stops[data-before]{-webkit-mask-image:linear-gradient(to top, black calc(100% - var(--stops-fade)), transparent);mask-image:linear-gradient(to top, black calc(100% - var(--stops-fade)), transparent)}.routes-stops[data-before][data-more]{-webkit-mask-image:linear-gradient(to bottom, transparent, black var(--stops-fade), black calc(100% - var(--stops-fade)), transparent);mask-image:linear-gradient(to bottom, transparent, black var(--stops-fade), black calc(100% - var(--stops-fade)), transparent)}.routes-next-list .routes-stops{margin:0 -22px}.routes-stop{box-sizing:border-box;border-bottom:1px solid var(--rule);cursor:grab;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:0 12px;min-height:44px;padding:4px 18px;scroll-margin-block:44px;display:grid;overflow:hidden}.routes-stop.is-fixed,.routes-next-list .routes-stop{cursor:default}.routes-stop.is-hot{animation:routes-wash 1.6s var(--e-state) .3s both}@keyframes routes-wash{0%{background:var(--wash-hot)}to{background:0 0}}.routes-stop-name{flex-direction:column;min-width:0;line-height:1.3;display:flex}.routes-stop-name b{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.routes-stop-name small{color:var(--text-muted);font-size:14px}.routes-stop-note{font-style:italic}.routes-stop.is-done .routes-stop-name b{color:var(--text-muted)}.routes-stop-right{color:var(--text-muted);white-space:nowrap;align-items:center;gap:10px;font-size:14px;display:flex}.routes-lock{align-items:center;gap:4px;display:inline-flex}.routes-wish.is-missed{color:var(--attention-text);align-items:center;gap:6px;display:inline-flex}.routes-badge{width:24px;height:24px;font:600 14px/1 var(--face-body);background:var(--tone);color:var(--on-tone);box-sizing:border-box;border-radius:50%;place-items:center;display:grid}.routes-badge.is-square{border-radius:var(--r-chip)}.routes-badge.is-hollow{background:var(--surface);border:2.4px solid var(--tone);color:var(--tone)}.routes-next-day{text-align:left;min-height:52px;color:var(--text);cursor:pointer;flex:none;align-items:center;gap:12px;padding:0 18px;display:flex}.routes-next-day.is-hot{animation:routes-wash 1.6s var(--e-state) .3s both}.routes-next-day-arrow{transform:scaleX(-1)}.routes-next-day-text{font:500 15px/1.2 var(--face-body);flex-direction:column;display:flex}.routes-next-day-text small{color:var(--text-muted);font-size:14px;font-weight:400}.routes-next-day-units{color:var(--text-muted);white-space:nowrap;margin-left:auto;font-size:14px}.routes-freight{flex:none;overflow:hidden}.routes-freight-top{align-items:center;gap:10px;padding-right:18px;display:flex}.routes-trip.is-small~.routes-freight .routes-freight-top{padding-right:12px}.routes-freight-top .routes-trip-right .btn-sm{height:30px}.routes-freight-head{min-width:0;height:36px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:0 0 0 18px;display:flex}.routes-freight-mark{width:26px;color:var(--text-muted);flex:none}.routes-freight-list{border-top:1px solid var(--rule);margin:0;padding:0;list-style:none}.routes-freight-list li:last-child .routes-stop{border-bottom:0}.routes-stop.routes-freight-shipment{color:var(--text);cursor:pointer;grid-template-columns:minmax(0,1fr) auto;padding-left:56px;text-decoration:none}.routes-freight-shipment:hover{background:var(--hover)}@media (prefers-reduced-motion:reduce){.routes-stop.is-hot,.routes-next-day.is-hot{animation-duration:.15s}}.routes-freight-line{min-width:0;font:500 15px/1.2 var(--face-body);white-space:nowrap;align-items:baseline;gap:10px;display:flex}.routes-freight-carrier{border-radius:var(--r-chip);background:var(--well-strong);color:var(--text-muted);margin-left:8px;padding:0 6px;font-size:14px;font-weight:400}.routes-freight-line small{text-overflow:ellipsis;color:var(--text-muted);font-size:14px;font-weight:400;overflow:hidden}.routes-drivers{width:min(480px,100vw - 32px);padding:14px 16px!important}.routes-drivers h3{font:500 15px/1.3 var(--face-body);margin:0 0 10px}.routes-drivers-rows{gap:8px;margin:0;padding:0;list-style:none;display:grid}.routes-drivers-row{justify-content:space-between;align-items:center;gap:12px;min-height:36px;display:flex}.routes-drivers-trip{color:var(--text);white-space:nowrap;font-size:14px}.routes-drivers-choice button{height:32px;padding:0 12px;font-size:14px}.routes-drivers-fixed{align-items:center;gap:8px;font-size:14px;display:inline-flex}.routes-drivers-fixed b{font-weight:500}.routes-drivers-fixed small{color:var(--text-muted);white-space:nowrap;font-size:14px}.routes-drivers-row.is-locked .routes-drivers-trip{color:var(--text-muted)}.routes-drivers-foot{color:var(--text-muted);margin:12px 0 0;font-size:14px}.routes-beyond-entry{cursor:default}.routes-beyond-orders{flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.routes-beyond-orders a{color:var(--text);text-underline-offset:3px;text-decoration:underline}
