/* SDLC 78 Routing rules. Lane E tickets add to this sheet. */ /* S78-T07: Save, Share and Delete fit one row as compact buttons with a 32 px hit target. The id plus three classes outranks route-nav.css's 44 px rule for the primary region. */ #cg-route-popover .cg-route-primary-actions .cg-route-save-actions { grid-template-columns: repeat(3, minmax(72px, max-content)); justify-content: start; gap: 8px; } #cg-route-popover .cg-route-primary-actions .cg-route-save-actions .cg-btn { min-height: 32px; padding: 0 12px; } /* S78-T08: a stop row is one line of index, name and X. The picked up row fades and settles back on drop through transform and opacity only, with the shared feedback timing. */ #cg-route-popover .cg-w46-stop-row { transition: opacity var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing), transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing); } #cg-route-popover .cg-w46-stop-row.is-viewdrag { transform: scale(0.98); } #cg-route-popover .cg-w46-stop-row[draggable="true"] > .cg-view-main { cursor: grab; } @media (prefers-reduced-motion: reduce) { #cg-route-popover .cg-w46-stop-row { transition: none; } #cg-route-popover .cg-w46-stop-row.is-viewdrag { transform: none; } } /* S78-T08: while a stop drags, the apply block keeps its box so the list does not jump. */ #cg-route-popover .cg-w46-route-timer .is-drag-held { visibility: hidden; } /* The drag figure and caption stay on one line, so the card keeps its height under the pointer. */ #cg-route-popover .cg-w46-route-timer.is-dragging .cg-w46-timer-head { flex-wrap: nowrap; min-width: 0; } #cg-route-popover .cg-w46-route-timer.is-dragging .cg-w46-timer-head > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* The timer card holds its pre-move height (set inline) until the new drive time settles. */ #cg-route-popover .cg-w46-route-timer.is-held { box-sizing: border-box; overflow: hidden; } /* No name tip floats while a stop is in the air. */ body:has(#cg-route-popover .cg-w46-stop-row.is-viewdrag) .home-name-tip { visibility: hidden; } /* S78-T09: Google's Maps mark is 16 px, decorative, and sits beside its text. */ .cg-gmaps-mark { display: block; flex: none; width: 16px; height: 16px; } #cg-route-popover .cg-w44-route-map-links h3.cg-gmaps-heading { display: flex; align-items: center; gap: 8px; } /* S78-T09: a geocode slot with nothing to offer takes no flex slot, so the bar shows no doubled gap. */ .cg-map-bar > .cg-map-geo:empty { display: none; }