/* Saved Routes keep their rail when a record opens beside the fixed map. */ .cg-mapview.cg-app-route-surface { min-height: 0; min-width: 0; box-sizing: border-box; overflow: hidden; } .cg-mapview > .cg-map-stage { position: relative; overflow: hidden; min-width: 0; } .cg-mapview.cg-app-route-surface > .cg-map-bar { flex-shrink: 0; container: cgtoolbar / inline-size; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; height: auto; min-height: 0; box-sizing: border-box; } .cg-app-route-surface .cg-app-map-name { order: -1; min-width: 0; max-width: 100%; min-height: 30px; box-sizing: border-box; align-items: center; } .cg-app-route-surface .cg-app-map-name strong { max-width: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; } .cg-app-route-surface .cg-map-count { order: 2; flex: 0 1 auto; text-align: center; justify-content: center; } .cg-app-route-surface .cg-map-geo { order: 7; } .cg-app-route-surface .cg-map-geo .cg-btn { box-sizing: border-box; min-height: 28px; height: auto; padding: 4px 8px; font-size: var(--lp-fs-3xs); } .cg-app-route-surface .cg-cal-nodate { order: 6; margin-left: auto; padding-block: 0; color: var(--lp-muted); background: transparent; } .cg-app-route-surface .cg-map-hint { order: 8; margin-left: 0; flex: 0 1 auto; } .cg-app-route-surface .cg-map-count, .cg-app-route-surface .cg-cal-nodate, .cg-app-route-surface .cg-map-hint { font-size: var(--lp-fs-2xs); line-height: var(--lp-lh); } .cg-app-route-surface .cg-map-bar > span { min-width: 0; max-height: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; min-height: 30px; display: inline-flex; align-items: center; flex-wrap: wrap; } /* The App name belongs to the header, while Route actions retain their own state. */ .cg-app-route-surface .cg-route-primary-actions > .cg-app-route-context { display: none; } .cg-mapview.cg-app-route-surface > .cg-map-stage > .cg-route-nav-panel { order: -1; margin-left: 0; margin-right: 8px; } .cg-mapview > .cg-map-stage > .cg-map-frame { min-height: 0; overflow: hidden; } @media (max-width: 760px) { .cg-mapview.cg-app-route-surface > .cg-map-stage { flex-direction: column; } .cg-mapview.cg-app-route-surface > .cg-map-stage > .cg-route-popover.cg-route-nav-panel { flex: 0 0 50%; width: 100%; max-height: 420px; margin: 0 0 8px; } } .cg-app-route-surface .cg-routing-filter-bar, .cg-app-route-surface .cg-routing-filter-bar > div, .cg-app-route-surface .cg-routing-filter-bar .cg-map-settings, .cg-app-route-surface .cg-routing-filter-bar .cg-toolbar, /* Wrappers whose App controls are absent must not add empty header flex gaps. */ .cg-app-route-surface .cg-routing-filter-bar .cg-toolbar > .cg-tb-rows, .cg-app-route-surface .cg-routing-filter-bar .cg-toolbar > .cg-tb-related { display: contents; } .cg-app-route-surface .cg-routing-filter-bar .cg-toolbar { container: none; } /* Counts stay beside the filter before the search yields space on narrow surfaces. */ .cg-mapview.cg-app-route-surface .cg-toolbar > * { order: 0; } .cg-mapview.cg-app-route-surface .cg-toolbar > .cg-count { order: 1; margin-left: 0; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; min-height: 30px; display: inline-flex; align-items: center; flex-wrap: wrap; font-size: var(--lp-fs-2xs); line-height: var(--lp-lh); } .cg-mapview.cg-app-route-surface .cg-toolbar > .cg-search { order: 3; margin-left: 0; max-width: 100%; } .cg-mapview.cg-app-route-surface .cg-toolbar > .cg-tb-spacer { order: 4; } .cg-mapview.cg-app-route-surface .cg-toolbar > .cg-tb-divider { order: 4; } .cg-mapview.cg-app-route-surface .cg-toolbar > .cg-fullscreen-toggle { order: 5; } .cg-app-route-surface .cg-search-input { width: 210px; } .cg-routing-detail { position: fixed; inset: 0 0 0 auto; z-index: var(--cg-z-record); width: min(380px, 100vw); display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; padding: 12px 8px; border-left: 1px solid var(--lp-line); background: var(--lp-panel); color: var(--lp-ink); animation: cg-routing-detail-enter var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing) both; } .cg-routing-detail > header { flex: 0 0 auto; } .cg-routing-detail.is-closing { animation-name: cg-routing-detail-exit; pointer-events: none; } .cg-routing-detail-back { border: 0; background: transparent; font: inherit; color: var(--lp-blue-deep); padding: 4px 0; margin-bottom: 12px; cursor: pointer; font-size: var(--lp-fs-2xs); transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing); } .cg-routing-detail-back:active { transform: scale(0.97); } .cg-routing-detail-back:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .cg-routing-detail h2 { margin: 0 0 16px; font-size: var(--lp-fs-sm); font-weight: 600; overflow-wrap: anywhere; } .cg-routing-detail-fields { flex: 1 1 auto; min-height: 0; margin: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; } .cg-routing-detail-fields:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: -2px; } .cg-routing-detail-field { padding: 12px 0; border-bottom: 1px solid var(--lp-line); } .cg-routing-detail-field:first-child { padding-top: 0; } .cg-routing-detail dt { color: var(--lp-muted); font-size: var(--lp-fs-3xs); } .cg-routing-detail dd { margin: 4px 0 0; font-size: var(--lp-fs-2xs); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } @keyframes cg-routing-detail-enter { from { transform: translateX(8px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes cg-routing-detail-exit { from { transform: translateX(0); opacity: 1; } to { transform: translateX(8px); opacity: 0; } } .cg-route-panel-scroll:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: -2px; } .cg-mapview.cg-app-route-surface #cg-route-popover .cg-route-primary-actions { position: static; margin: 0; box-shadow: none; background: var(--lp-surface); } @media (prefers-reduced-motion: reduce) { .cg-routing-detail-back { transition: none; } .cg-routing-detail { animation: none; transform: none; opacity: 1; } }