runloopable / web /src /styles /wave42 /route-nav.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
7e977bc verified
Raw History Blame Contribute Delete
25.1 kB
/* Route navigation overrides live here so MapView can remain a self-contained surface. The
current wave owns this stylesheet; index.css imports it before its own route rules, so every
override below intentionally carries a more specific selector.
Tokens live in index.css :root and customer-grid/theme.ts -- declare there, consume here.
IMPORTANT, AND IT IS A RULE ABOUT TIES: index.css @imports this sheet from the top of the file,
because an @import must precede every other at-rule. Everything index.css declares is therefore
LATER than everything here, so at EQUAL specificity index.css WINS and a rule written here is
dead on arrival. Raise specificity deliberately, or put the rule in index.css and say so in the
ticket. Landed EMPTY in the baseline commit so lane D never has to touch index.css to be seen. */
/* Route asides mount in the map toolbar, not in `.cg-map-frame`. The same panel owns scroll in
both the index and editor states, so an empty or loading index holds the same top-to-bottom
geometry as a populated route and no child creates another vertical wheel target.
β›”β›” INERT SINCE W51-T32, AND KEPT ON PURPOSE. The two rules below aim at the Route aside as a
TOOLBAR CHILD, and the navigator panels are not toolbar children any more: they are items in
the map row, and their live declarations are at the END of this sheet. Both selectors here
match no element in the shipped DOM.
They are not deleted because `verify_grid_ux.py` still greps the first one's eight
declarations by text, and that file belongs to another lane's fence, so lane G may not re-aim
the leg that reads it. Re-aiming it at the row chain, and deleting these two rules once that
lands, is booked as a register row.
⚠ AND NOTHING NEW GOES ABOVE THEM. A negative control in that same gate mutates the FIRST
vertical-scroll declaration in this sheet and needs it to land inside the first rule below; an
earlier rule carrying one would steal the mutation, leave that rule untouched, and turn a gate
lane G does not own red for no visible reason. Append, never prepend. */
.cg-mapview > .cg-map-bar > .cg-route-popover.cg-route-nav-panel {
top: 0;
bottom: 0;
left: 0;
width: min(380px, 100%);
max-height: none;
box-sizing: border-box;
overflow-y: auto;
border-radius: 0;
}
.cg-mapview > .cg-map-bar > .cg-route-popover.cg-route-nav-panel .cg-map-stoplist,
.cg-mapview > .cg-map-bar > .cg-route-popover.cg-route-nav-panel .cg-route-picker-list {
max-height: none;
overflow: visible;
}
.cg-route-index-create,
.cg-route-index-back,
.cg-route-index-name,
.cg-route-index-gear,
.cg-route-copy-links {
border: 0;
background: transparent;
font: inherit;
color: inherit;
cursor: pointer;
}
.cg-route-index-create {
padding: 4px 7px;
border-radius: var(--lp-r-sm);
background: var(--lp-primary);
color: var(--cg-white);
font-size: var(--lp-fs-3xs);
font-weight: 600;
}
.cg-route-index-create:hover { opacity: 0.9; }
.cg-route-index-create:focus-visible,
.cg-route-index-back:focus-visible,
.cg-route-index-name:focus-visible,
.cg-route-index-gear:focus-visible,
.cg-route-copy-links:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; }
.cg-route-index-back {
padding: 0;
color: var(--lp-blue-solid);
font-size: var(--lp-fs-xs);
font-weight: 600;
}
.cg-route-index-list,
.cg-route-index-schedules,
.cg-route-index-edit {
display: flex;
flex-direction: column;
gap: 6px;
}
.cg-route-index-list { padding-top: 8px; }
.cg-route-index-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 3px 6px;
padding: 8px 0;
border-bottom: 1px solid var(--lp-line);
}
.cg-route-index-name {
min-width: 0;
padding: 0;
overflow: hidden;
color: var(--lp-blue-solid);
font-weight: 600;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
.cg-route-index-name:hover { text-decoration: underline; }
.cg-route-index-gear {
display: grid;
width: 24px;
height: 24px;
padding: 4px;
place-items: center;
border-radius: var(--lp-r-sm);
color: var(--lp-muted);
}
.cg-route-index-gear:hover { background: var(--lp-blue-tint); color: var(--lp-blue-deep); }
.cg-route-index-gear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.cg-route-index-detail,
.cg-route-index-empty,
.cg-route-index-label {
display: block;
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
line-height: 1.4;
}
.cg-route-index-detail { grid-column: 1 / -1; }
.cg-route-index-empty { padding-top: 10px; }
.cg-route-index-schedules { padding-top: 12px; }
.cg-route-index-label { color: var(--lp-ink); font-weight: 600; }
.cg-route-index-edit { grid-column: 1 / -1; padding-top: 4px; }
.cg-route-index-actions { display: flex; gap: 6px; }
.cg-route-popover .cg-map-google-links,
.cg-route-popover .cg-route-schedule {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 5px;
}
.cg-route-copy-links {
align-self: flex-start;
padding: 3px 0;
color: var(--lp-blue-solid);
font-size: var(--lp-fs-3xs);
}
.cg-route-copy-links:hover { text-decoration: underline; }
/* W44 lineage repair: the folder browser is a path whose rows replace the current level.
These selectors outrank the earlier map.css grid without introducing a second panel/tree. */
#cg-route-popover .cg-w44-route-path {
display: flex;
min-width: 0;
align-items: center;
gap: 4px;
overflow-x: auto;
padding: 6px 0;
border-bottom: 1px solid var(--lp-line);
white-space: nowrap;
}
#cg-route-popover .cg-w44-route-path span { display: inline-flex; align-items: center; gap: 4px; }
#cg-route-popover .cg-w44-route-path b { color: var(--lp-muted); font-weight: 400; }
#cg-route-popover .cg-w44-route-path button,
#cg-route-popover .cg-w44-route-folder-open,
#cg-route-popover .cg-w44-route-open,
#cg-route-popover .cg-w44-route-toggle,
#cg-route-popover .cg-w44-route-more,
#cg-route-popover .cg-w44-route-row-actions button,
#cg-route-popover .cg-w44-route-menu button {
border: 0;
background: transparent;
color: inherit;
font: inherit;
cursor: pointer;
}
#cg-route-popover .cg-w44-route-path button {
padding: 2px 3px;
border-radius: var(--lp-r-sm);
color: var(--lp-blue-deep);
}
#cg-route-popover .cg-w44-route-path button[aria-current="page"] {
color: var(--lp-ink);
font-weight: 600;
}
#cg-route-popover .cg-w44-route-folder-tools,
#cg-route-popover .cg-w44-route-folder-create {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
}
#cg-route-popover .cg-w44-route-filtered {
align-self: flex-start;
padding: 3px 0;
border: 0;
background: transparent;
color: var(--lp-blue-deep);
font: inherit;
cursor: pointer;
}
#cg-route-popover .cg-w44-route-filtered:disabled {
color: var(--lp-muted);
cursor: not-allowed;
}
#cg-route-popover .cg-w44-route-level { display: grid; gap: 2px; }
#cg-route-popover .cg-w44-route-folder-row,
#cg-route-popover .cg-w44-route-row {
position: relative;
display: flex;
min-width: 0;
flex-wrap: wrap;
align-items: center;
gap: 5px;
padding: 6px 4px;
border-bottom: 1px solid var(--lp-line);
}
#cg-route-popover .cg-w44-route-folder-open,
#cg-route-popover .cg-w44-route-open {
min-width: 0;
flex: 1 1 auto;
overflow: hidden;
padding: 2px;
color: var(--lp-ink);
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
#cg-route-popover .cg-w44-route-folder-open .cg-w44-route-folder-mark {
display: inline-block;
width: 12px;
height: 9px;
margin-right: 7px;
border: 1px solid var(--lp-primary);
border-radius: var(--lp-r-sm);
background: var(--lp-primary-tint);
vertical-align: middle;
}
#cg-route-popover .cg-w44-route-toggle {
display: grid;
flex: 0 0 auto;
padding: 4px;
place-items: center;
border-radius: var(--lp-r-pill);
}
#cg-route-popover .cg-w44-route-toggle i {
display: block;
width: 10px;
height: 10px;
border: 2px solid var(--lp-surface);
border-radius: var(--lp-r-pill);
box-shadow: 0 0 0 1px var(--lp-line);
}
#cg-route-popover .cg-w44-route-toggle[aria-pressed="true"] { background: var(--lp-primary-tint); }
#cg-route-popover .cg-w44-route-share-mark,
#cg-route-popover .cg-w44-route-meta {
margin: 0;
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
}
#cg-route-popover .cg-w44-route-more {
flex: 0 0 auto;
padding: 3px 5px;
border-radius: var(--lp-r-sm);
color: var(--lp-muted);
letter-spacing: 1px;
}
#cg-route-popover .cg-w44-route-more:hover { background: var(--lp-surface-2); color: var(--lp-ink); }
#cg-route-popover .cg-w44-route-menu {
display: grid;
flex: 1 0 100%;
min-width: 170px;
margin-top: 3px;
padding: 4px;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-md);
background: var(--lp-surface);
box-shadow: var(--shell-shadow-overlay);
}
#cg-route-popover .cg-w44-route-menu button {
padding: 6px 8px;
border-radius: var(--lp-r-sm);
text-align: left;
}
#cg-route-popover .cg-w44-route-menu button:hover { background: var(--lp-surface-2); }
#cg-route-popover .cg-w44-route-menu button:disabled,
#cg-route-popover .cg-w44-route-row-actions button:disabled { color: var(--lp-muted); cursor: not-allowed; opacity: 0.55; }
#cg-route-popover .cg-w44-route-row-actions { display: inline-flex; flex: 0 0 auto; gap: 2px; }
#cg-route-popover .cg-w44-route-row-actions button { padding: 3px; color: var(--lp-blue-deep); }
#cg-route-popover .cg-w44-route-created {
display: grid;
gap: 7px;
padding: 9px;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-md);
background: var(--lp-primary-tint);
}
#cg-route-popover .cg-w44-route-created p { margin: 0; }
#cg-route-popover .cg-w44-route-path button:focus-visible,
#cg-route-popover .cg-w44-route-folder-open:focus-visible,
#cg-route-popover .cg-w44-route-open:focus-visible,
#cg-route-popover .cg-w44-route-toggle:focus-visible,
#cg-route-popover .cg-w44-route-more:focus-visible,
#cg-route-popover .cg-w44-route-menu button:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
/* Generated hand-off links live in the same normalized Route detail. The complete Route either
renders in ordered chunks or renders one named refusal; missing coordinates never disappear. */
#cg-route-popover .cg-w44-route-map-links {
display: grid;
gap: 7px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--lp-line);
}
#cg-route-popover .cg-w44-route-map-links h3,
#cg-route-popover .cg-w44-route-map-links p { margin: 0; }
#cg-route-popover .cg-w44-route-map-links h3 { font-size: var(--lp-fs-xs); }
#cg-route-popover .cg-w44-route-map-links p {
margin-top: 2px;
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
line-height: 1.4;
}
#cg-route-popover .cg-w44-route-map-links ol {
display: grid;
gap: 4px;
margin: 0;
padding: 0;
list-style: none;
}
#cg-route-popover .cg-w44-route-map-links li {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: baseline;
gap: 8px;
padding: 5px 0;
border-bottom: 1px solid var(--lp-line);
}
#cg-route-popover .cg-w44-route-map-links a {
color: var(--lp-blue-solid);
font-size: var(--lp-fs-xs);
font-weight: 600;
}
#cg-route-popover .cg-w44-route-map-links small {
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
}
/* A delivery is a property of the normalized Route detail, not another navigator. The parent
panel remains the only vertical scroll owner; this list grows in normal document flow. */
#cg-route-popover .cg-w44-route-delivery {
display: grid;
gap: 8px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--lp-line);
}
#cg-route-popover .cg-w44-route-delivery h3,
#cg-route-popover .cg-w44-route-delivery p { margin: 0; }
#cg-route-popover .cg-w44-route-delivery h3 { font-size: var(--lp-fs-xs); }
#cg-route-popover .cg-w44-route-delivery p {
margin-top: 2px;
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
line-height: 1.4;
}
#cg-route-popover .cg-w44-route-delivery-list ul {
display: grid;
gap: 6px;
margin: 0;
padding: 0;
list-style: none;
}
#cg-route-popover .cg-w44-route-delivery-list li {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 8px;
padding: 7px 0;
border-top: 1px solid var(--lp-line);
}
#cg-route-popover .cg-w44-route-delivery-list li > span,
#cg-route-popover .cg-w44-route-delivery-audit { min-width: 0; }
#cg-route-popover .cg-w44-route-delivery-list strong,
#cg-route-popover .cg-w44-route-delivery-list small { display: block; }
#cg-route-popover .cg-w44-route-delivery-list strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#cg-route-popover .cg-w44-route-delivery-list small {
margin-top: 2px;
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
}
#cg-route-popover .cg-w44-route-delivery-audit { flex: 1 1 auto; }
#cg-route-popover .cg-w44-route-delivery-audit dl {
display: grid;
gap: 3px;
margin: 7px 0 0;
font-size: var(--lp-fs-3xs);
}
#cg-route-popover .cg-w44-route-delivery-audit dl > div {
display: grid;
grid-template-columns: 84px minmax(0, 1fr);
gap: 6px;
}
#cg-route-popover .cg-w44-route-delivery-audit dt { color: var(--lp-muted); }
#cg-route-popover .cg-w44-route-delivery-audit dd {
min-width: 0;
margin: 0;
color: var(--lp-ink);
overflow-wrap: anywhere;
}
#cg-route-popover .cg-w44-route-delivery-audit code {
font-family: var(--lp-font-mono, ui-monospace, monospace);
font-size: inherit;
white-space: normal;
}
/* ═══════ OWNER 2026-08-31 β€” THE ROUTES RAIL IS THE VIEWS RAIL ════════════════════════════════
Owner: *"I need the routes LIST navigation and the routes itself to have the exact same
interface just like how we have it with view ... Make it the exact same layout. The only
difference is the icon."*
⭐ SO THERE IS ALMOST NO CSS HERE, AND THAT IS THE POINT. `RouteNav` now renders the Views
rail's own classes (`.cg-view-row`, `.cg-view-main`, `.cg-fold*`, `.cg-create-new`,
`.cg-find-view`), which index.css already sizes, spaces and hovers. Anything restated below
would be a second copy free to drift, so the only rules here are the ones that describe what
this rail has and the Views rail does not: a colour checkbox on the row, and the Route mark.
β›” `#cg-route-popover` PREFIXES EVERY SELECTOR because this sheet is @imported at the top of
index.css and therefore loses every equal-specificity tie with it β€” the rule stated at the
head of this file. An id beats a class, so these land. */
/* β›” `display` IS THE LOAD-BEARING DECLARATION HERE, and leaving it out is what put the swatch
UNDER the checkbox on the first deployed build. The older `.cg-w44-route-toggle` rule above
sets `display: grid; place-items: center` for the row shape this rail used to have; that rule
still matches, and an override that names only `flex` and `padding` inherits the grid. */
#cg-route-popover .cg-view-row > .cg-w44-route-toggle {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 5px;
padding: 0 0 0 6px;
background: transparent;
}
/* The Route's colour rides the checkbox itself (`accentColor`, set inline from the record), so
the row carries ONE mark rather than a checkbox and a coloured dot beside it. */
#cg-route-popover .cg-view-row .cg-w44-route-toggle input { margin: 0; cursor: pointer; }
/* The Route mark takes the gutter a view's mode dot occupies, so the two rails' NAMES start at
the same x. That alignment is what makes "the exact same layout" true rather than approximate. */
#cg-route-popover .cg-view-main > .cg-view-route-mark {
flex: 0 0 16px;
color: var(--lp-primary);
}
/* A Route whose stops sit outside the current filter. The row still reads normally; the mark is
the `.cg-view-desc` line the row already carries, so nothing here paints. */
#cg-route-popover .cg-view-row.is-outside .cg-view-desc { color: var(--lp-yellow-deep); }
/* ── OWNER 2026-08-31 item 2: the per-Route colour editor ──────────────────────────────────── */
#cg-route-popover .cg-w44-route-colors {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
padding-top: 4px;
}
#cg-route-popover .cg-w44-route-swatch {
width: 22px;
height: 22px;
padding: 0;
border: 2px solid transparent;
border-radius: var(--lp-r-sm);
cursor: pointer;
}
/* The selected swatch is marked by a RING outside its own fill, never by a tick drawn on top:
half these colours are dark and half are not, so an inked mark would vanish on three of six. */
#cg-route-popover .cg-w44-route-swatch.is-on {
border-color: var(--lp-ink);
box-shadow: 0 0 0 2px var(--lp-surface);
}
#cg-route-popover .cg-w44-route-swatch:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
#cg-route-popover .cg-w44-route-colorpick {
width: 28px;
height: 22px;
padding: 0;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-sm);
background: transparent;
cursor: pointer;
}
/* ── OWNER 2026-08-31: the stop list is the rail, with an x and an add door ─────────────────
Owner: *"Same as the rail, same formatting too i believe"* / *"The only difference with the
rail is that route you can have an x button to remove a record, and also an add record button
where it provides the dropdown."* The rows already wear `.cg-view-row` and `.cg-view-main`, so
index.css sizes and hovers them; only the two differences and the list reset live here. */
#cg-route-popover .cg-w44-route-stops.cg-view-list {
margin: 0;
padding: 0;
list-style: none;
}
#cg-route-popover .cg-w46-stop-row.is-viewdrag { opacity: 0.45; }
/* The x. It takes `.cg-view-more`'s box, so it appears on hover exactly as the rail's "..." does
and cannot widen the row. */
#cg-route-popover .cg-w46-stop-remove {
display: grid;
place-items: center;
color: var(--lp-muted);
}
#cg-route-popover .cg-w46-stop-remove:hover { color: var(--lp-red-deep, #b3261e); }
#cg-route-popover .cg-w46-stop-remove svg {
width: 12px;
height: 12px;
fill: none;
stroke: currentColor;
stroke-width: 1.6;
stroke-linecap: round;
}
/* The add-record door and its menu. `position: relative` is what keeps the popover tied to the
button rather than to the scrolling panel, which is where a menu goes wandering. */
#cg-route-popover .cg-w46-stop-add { position: relative; }
#cg-route-popover .cg-w46-stop-addmenu {
position: absolute;
z-index: var(--cg-z-menu);
left: 0;
right: 0;
max-height: 280px;
overflow-y: auto;
}
/* One row per candidate, ellipsised: a customer name is arbitrary length and a menu that grows
sideways pushes the panel off the map. */
#cg-route-popover .cg-w46-stop-addmenu button[role="menuitem"] {
display: block;
width: 100%;
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
/* One way / Round trip, inside the drive-time card it changes. */
#cg-route-popover .cg-w46-timer-trip { padding-top: 8px; }
/* β›” `.w46-recur-pill` IS A 28x28 SQUARE, sized for the seven single-letter weekday initials it
was built for, so borrowing it for "One way" / "Round trip" wrapped both words inside a circle.
Observed on the deployed build before this rule existed. The pill's paint, hover, selected
state and focus ring are all still the date editor's - only the box grows to fit a word, which
is the whole reason to reuse the class rather than mint a second kind of pill. */
#cg-route-popover .cg-w46-timer-trip .w46-recur-pill {
width: auto;
min-width: 0;
height: 26px;
padding: 0 10px;
white-space: nowrap;
}
/* ══════════════════════════════════════════════════════════════════════════════════════════════
W51-T32 β€” THE MAP AND THE ROUTE COLUMN SHARE ONE ROW, WHICH IS THE WHOLE FIX.
Wave 50's QA measured 427 px of live map lying under the floating Route column, and a
coordinate click on a pin inside that rectangle opened nothing at all. The mechanism is
document order inside an SVG, so no stacking value on either side could have repaired it; the
panel had to stop being painted over the canvas. `MapView.tsx` now wraps the canvas and the
three navigator asides in one row element, and the rules below are what make that row behave.
⭐ MOVING THE PANEL OUT OF THE TOOLBAR ALSO RETIRES FOUR COMPETING DECLARATIONS AT NO COST.
Every one of them, in this sheet and in two others lane G may not edit, is keyed on the
toolbar-child path, so all four simply stop matching instead of needing an override. The PRD's
380 px right-panel anatomy governs by default and there is no specificity fight to win.
⚠ These rules are APPENDED. Read the note beside the inert rules at the top of this sheet
before adding anything above them.
════════════════════════════════════════════════════════════════════════════════════════════ */
.cg-mapview > .cg-map-stage { display: flex; flex: 1; min-height: 0; align-items: stretch; }
/* index.css gives the frame `min-height: 0`, which is the right guard in a COLUMN and does
nothing in a ROW: without `min-width: 0` a flex item refuses to shrink below its content, and
the canvas would push the column off the edge instead of yielding the width it takes. */
.cg-mapview > .cg-map-stage > .cg-map-frame { flex: 1 1 0; min-width: 0; }
/* The panel as a COLUMN IN THE FLOW rather than a floating overlay. `position` and `z-index` are
the two declarations that carry the whole ticket: everything else preserves what the panel
already had. index.css declares the popover absolute at 0,1,0 and this chain is 0,4,0, so the
override needs no doubled class and no !important. */
.cg-mapview > .cg-map-stage > .cg-route-popover.cg-route-nav-panel {
position: static;
inset: auto;
flex: 0 0 min(300px, 100%);
width: auto;
max-height: none;
box-sizing: border-box;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
border: 1px solid var(--lp-line);
border-radius: 0;
box-shadow: none;
z-index: auto;
margin-left: 8px;
}
/* Zones retain their panel scroll while Routes bound each navigation region below. */
.cg-mapview > .cg-map-stage > .cg-route-popover.cg-route-nav-panel > .cg-route-panel-scroll {
flex: 1 1 0;
min-height: 0;
min-width: 0;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior-y: contain;
scrollbar-gutter: stable;
}
.cg-mapview > .cg-map-stage > .cg-route-popover.cg-route-nav-panel .cg-map-stoplist,
.cg-mapview > .cg-map-stage > .cg-route-popover.cg-route-nav-panel .cg-route-picker-list {
max-height: none;
overflow: visible;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-route-stop-scroll,
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-route-index-scroll {
min-height: 0;
max-height: none;
overflow: visible;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover > .cg-route-panel-scroll {
display: flex;
overflow: hidden;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-w44-route-nav {
border: 0;
border-radius: 0;
padding: 0;
}
/* The Routes list and its actions share the rail until a Route opens in their place. */
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover > .cg-route-panel-scroll > .cg-w44-route-nav {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
flex: 1 1 0;
min-width: 0;
min-height: 0;
overflow: hidden;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover > .cg-route-panel-scroll > .cg-w44-route-nav:has(> .cg-w44-route-nav) {
grid-template-rows: minmax(0, 1fr);
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-route-index-scroll,
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-w44-route-nav > .cg-w44-route-nav {
min-width: 0;
min-height: 0;
max-height: 100%;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior-y: contain;
scrollbar-gutter: stable;
}
/* Route rows clear the App footer during focus and scrolling. */
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-w44-route-nav > .cg-w44-route-nav {
display: block;
padding-bottom: 16px;
scroll-padding-block: 16px;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > #cg-route-popover .cg-route-stop-scroll {
margin-top: 6px;
}