/* _content/AspireChatApp.LiveTraffic/Components/Tools/Common/HelpTipComp.razor.rz.scp.css */
/* The "?" help button and its balloon (HelpTipComp.razor). */
.help-tip[b-dw8o59cyu5] {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.help-tip-button[b-dw8o59cyu5] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--mud-palette-primary);
    background: transparent;
    color: var(--mud-palette-primary);
    font: 700 13px/1 Roboto, Helvetica, Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.help-tip-button:hover[b-dw8o59cyu5],
.help-tip-button.open[b-dw8o59cyu5] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

/* Over the page, invisible: a press outside the balloon closes it. */
.help-tip-backdrop[b-dw8o59cyu5] {
    position: fixed;
    inset: 0;
    z-index: 29;
}

/* Under the button, toward the panel's middle (it sits at a row's end), with a pointer up to the button. */
.help-tip-balloon[b-dw8o59cyu5] {
    position: absolute;
    top: calc(100% + 9px);
    inset-inline-end: -6px;
    z-index: 30;
    width: max-content;
    max-width: min(300px, 78vw);
    padding: 9px 11px;
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
}

.help-tip-balloon[b-dw8o59cyu5]::before {
    content: "";
    position: absolute;
    top: -6px;
    inset-inline-end: 11px;
    width: 10px;
    height: 10px;
    background: var(--mud-palette-surface);
    /* Its top-left corner, turned 45 degrees, points up to the button - in either direction of the page. */
    border-left: 1px solid var(--mud-palette-primary);
    border-top: 1px solid var(--mud-palette-primary);
    transform: rotate(45deg);
}
/* _content/AspireChatApp.LiveTraffic/Components/Tools/Common/TwinFeaturePopupComp.razor.rz.scp.css */
/* The clicked 3D Tiles object's popup. Absolutely positioned: the host's globe container must be
   position: relative. */
.twin-feature-popup[b-va2uzo5h44] {
    position: absolute;
    z-index: 12;
    width: 316px;
    max-height: 326px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    border-top: 3px solid #ffd54f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    font-size: 0.78rem;
}

.twin-feature-head[b-va2uzo5h44] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 6px 4px 10px;
}

.twin-feature-titles[b-va2uzo5h44] {
    flex: 1;
    min-width: 0;
}

.twin-feature-title[b-va2uzo5h44] {
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.twin-feature-kind[b-va2uzo5h44] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.72rem;
}

.twin-feature-rows[b-va2uzo5h44] {
    overflow-y: auto;
    padding: 2px 10px 8px;
}

.twin-feature-row[b-va2uzo5h44] {
    display: flex;
    gap: 8px;
    padding: 2px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.twin-feature-label[b-va2uzo5h44] {
    flex: 0 0 42%;
    color: var(--mud-palette-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.twin-feature-value[b-va2uzo5h44] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.twin-feature-note[b-va2uzo5h44] {
    padding: 4px 10px 8px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-style: italic;
}
/* _content/AspireChatApp.LiveTraffic/Components/Tools/LiveTrafficTool/Cards/RouteStoryComp.razor.rz.scp.css */
/* THE ROUTE STORY's tree (moved from LiveTrafficToolComp.razor.css with the list): each step a row to press, its leg's
   colour on its inline-start edge, the turn's arrow, the words and the distance to the next step. */
.pt-story-loading[b-uf3vmgewey] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 4px 0;
}

.pt-story-steps[b-uf3vmgewey] {
    list-style: none;
    margin: 4px 0 6px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* A TREE BY LEG (LiveTrafficToolComp.RouteStory.cs): a node per leg in its mode's colour, its steps indented under it */
.pt-story-node-head[b-uf3vmgewey] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    border: 1px solid var(--pt-chip-color, var(--mud-palette-lines-default));
    border-inline-start: 6px solid var(--pt-chip-color, var(--mud-palette-primary));
    border-radius: 8px;
    background: color-mix(in srgb, var(--pt-chip-color, var(--mud-palette-primary)) 14%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}

.pt-story-node-head .pt-step-icon[b-uf3vmgewey] {
    background: var(--pt-chip-color, var(--mud-palette-primary));
}

.pt-story-node-title[b-uf3vmgewey] {
    flex: 1;
    min-width: 0;
}

.pt-story-node-meta[b-uf3vmgewey] {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.75;
    white-space: nowrap;
}

.pt-story-child[b-uf3vmgewey] {
    margin-inline-start: 18px;
}

.pt-step[b-uf3vmgewey] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-inline-start: 4px solid var(--pt-chip-color, var(--mud-palette-primary));
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 0.85rem;
    text-align: start;
    cursor: pointer;
}

.pt-step:hover[b-uf3vmgewey] {
    background: var(--mud-palette-action-default-hover);
}

.pt-step.selected[b-uf3vmgewey] {
    border-color: var(--mud-palette-primary);
    border-inline-start-color: var(--pt-chip-color, var(--mud-palette-primary));
    background: var(--mud-palette-primary-hover);
}

.pt-step-icon[b-uf3vmgewey] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--pt-chip-color, var(--mud-palette-primary));
}

/* A roundabout's exit number, on its arrow's corner. */
.pt-step-exit[b-uf3vmgewey] {
    position: absolute;
    inset-block-end: -4px;
    inset-inline-end: -4px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 8px;
    background: #00b0ff;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
}

.pt-step-text[b-uf3vmgewey] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.pt-step-distance[b-uf3vmgewey] {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

/* _content/AspireChatApp.LiveTraffic/Components/Tools/LiveTrafficTool/Dialogs/LocationNoticeDialog.razor.rz.scp.css */
/* The location privacy notice over the whole tool (see LocationNoticeDialog.razor) */
.ltn-scrim[b-7n4bmzqrjg] {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 10, 20, 0.55);
}

.ltn-dialog[b-7n4bmzqrjg] {
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 18px 20px 16px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.ltn-title[b-7n4bmzqrjg] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.ltn-intro[b-7n4bmzqrjg] {
    margin: 0 0 8px;
    color: var(--mud-palette-text-secondary);
}

.ltn-points[b-7n4bmzqrjg] {
    margin: 0 0 12px;
    padding-inline-start: 20px;
    line-height: 1.45;
}

.ltn-points li + li[b-7n4bmzqrjg] {
    margin-top: 6px;
}

.ltn-error[b-7n4bmzqrjg] {
    margin-bottom: 10px;
    color: var(--mud-palette-error);
}

.ltn-actions[b-7n4bmzqrjg] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ltn-btn[b-7n4bmzqrjg] {
    padding: 8px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.ltn-btn.primary[b-7n4bmzqrjg] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.ltn-btn:disabled[b-7n4bmzqrjg] {
    opacity: 0.6;
    cursor: default;
}
/* _content/AspireChatApp.LiveTraffic/Components/Tools/LiveTrafficTool/LiveTrafficToolComp.razor.rz.scp.css */
/* ================================================================= */
/*               LiveTrafficToolComp.razor.css                    */
/*   Layout of the LiveTrafficTool (RTL aware): PLAN / OPTIONS /   */
/*   ABOUT | toolbar + globe | ROUTE / STOP | chat.                   */
/*                                                                    */
/*   The dstool-* panel rules are a copy of the Adventure tool's: CSS */
/*   isolation is per component, so they cannot be inherited - they   */
/*   are duplicated here deliberately. The planner's own rules (pt-*) */
/*   follow at the end.                                               */
/* ================================================================= */

/* ----------------------------------------------------------------- */
/*                      MAIN CONTAINER                                */
/* ----------------------------------------------------------------- */

.dstool-container[b-xn7h138pfx] {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--mud-palette-background);
}

/* RTL Support - editor on the right, instruments on the left.
   The dir="rtl" attribute alone reverses the flex row (a flex row lays its
   items along the writing direction). Do NOT add flex-direction: row-reverse
   here: on an rtl container that reverses a SECOND time and cancels out,
   leaving the LTR layout. */
.dstool-container[dir="rtl"][b-xn7h138pfx] {
    flex-direction: row;
}

/* ----------------------------------------------------------------- */
/*                      LEFT PANEL                                    */
/* ----------------------------------------------------------------- */

/* The editor / globe / instruments panels open at 25% / 50% / 25%
   (flex: 1 / 2 / 1, so the free space is split with the globe getting half).
   A splitter drag writes inline width/min/max, which overrides the flex basis
   and pins that panel — the others keep sharing the remainder. */
.dstool-left-panel[b-xn7h138pfx] {
    flex: 1 1 0;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background-color: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    transition: width 0.3s ease, min-width 0.3s ease, max-width 0.3s ease;
    overflow: hidden;
}

[dir="rtl"] .dstool-left-panel[b-xn7h138pfx] {
    border-right: none;
    border-left: 1px solid var(--mud-palette-lines-default);
}

.dstool-left-panel.collapsed[b-xn7h138pfx] {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
}

/* The MudTabs host must flex so the tab panels can scroll.
   ::deep everywhere here: MudTabs is a child COMPONENT, so its rendered
   elements (root div, .mud-tabs-panels, panel divs) never receive this
   component's CSS scope attribute — unscoped rules would silently not match
   and the editor content gets clipped with no scrollbar. */
[b-xn7h138pfx] .dstool-tabs {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* SIX TABS IN ONE ROW ON A PHONE (2026-11-26: HISTORY joined the first panel - MAP PLAN ROUTE MODEL CAMERA HISTORY): each tab's
   icon above its one-word label, so the row fits a phone's width instead of wrapping into two rows of 4 + 2 (main.css lets
   every tab strip wrap). Only this panel's own strip - the tabs inside its tabs keep the shared look. */
@media (max-width: 600px) {
    [b-xn7h138pfx] .dstool-tabs > .mud-tabs-tabbar .mud-tabs-tabbar-wrapper {
        flex-wrap: nowrap !important;
        gap: 2px !important;
    }

    [b-xn7h138pfx] .dstool-tabs > .mud-tabs-tabbar .mud-tab {
        flex-direction: column;
        justify-content: center;
        padding: 4px 3px !important;
        min-height: 50px;
        font-size: 0.72rem;
        letter-spacing: 0.02em;
        line-height: 1.1;
    }

    [b-xn7h138pfx] .dstool-tabs > .mud-tabs-tabbar .mud-tab .mud-icon-root {
        margin: 0 0 2px 0 !important;
        font-size: 1.15rem;
    }
}

/* THE ADVANCED PANEL'S SEVEN TABS IN TWO ROWS ON A PHONE (user, 2026-11-28: "In the Advanced tab - break the tab headers
   into 2 lines, so all captions will be clearly visible" - in one row HISTORY was cut to "HIS"): four tabs a row, each a
   quarter of the strip, its icon above its whole label. */
@media (max-width: 600px) {
    [b-xn7h138pfx] .dstool-tabs.lt-tabs-two-rows > .mud-tabs-tabbar .mud-tabs-tabbar-wrapper {
        flex-wrap: wrap !important;
        row-gap: 4px !important;
        column-gap: 0 !important;
        justify-content: flex-start !important;
    }

    [b-xn7h138pfx] .dstool-tabs.lt-tabs-two-rows > .mud-tabs-tabbar .mud-tabs-tabbar-wrapper > .mud-tooltip-root {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        min-width: 0 !important;
        padding: 0 1px;
        box-sizing: border-box;
    }

    [b-xn7h138pfx] .dstool-tabs.lt-tabs-two-rows > .mud-tabs-tabbar .mud-tab {
        overflow: hidden;
        font-size: 0.7rem;
        letter-spacing: 0 !important;
    }

    /* (a hidden tab - MODEL in public transport - takes no place in its row) */
    [b-xn7h138pfx] .dstool-tabs.lt-tabs-two-rows > .mud-tabs-tabbar .mud-tabs-tabbar-wrapper > .mud-tooltip-root:has(> .mud-tab.d-none) {
        display: none !important;
    }
}

[b-xn7h138pfx] .dstool-tabs .mud-tabs-panels {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* EVERY TAB SCROLLS (user request 2026-10-18: "The tabs in the LiveTrafficTool all need vertical scroll bars to allow user
   scroll down and up"): a tab taller than its panel scrolls up and down in it, never sideways - it was clipped. */
[b-xn7h138pfx] .dstool-tab-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Glass-cockpit tab host — the PFD/MFD canvas fills its whole tab panel.
   Without an explicit flex chain the canvas wrapper collapses and the
   instrument is drawn into a sliver at the top of the panel.
   ::deep because MudTabPanel renders the wrapper this div sits in, so that
   wrapper never carries this component's scoped-CSS attribute — styling only
   the inner div leaves an unstretched parent between it and the panel, which
   is exactly what pinned the PFD to 237px inside a 730px tab. */
[b-xn7h138pfx] .dstool-tab-panel > div {
    display: flex;
    flex-direction: column;
    /* At least the panel's height (the MAP and MODEL views fill it), never shrunk below its content - so a long tab
       scrolls rather than being cut off. */
    flex: 1 0 auto;
    min-height: 0;
}

.dstool-display-host[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

/* CHAT tab host — lets the embedded per-tool ChatBotComp fill the panel */
.dstool-chat-host[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

/* ----------------------------------------------------------------- */
/*                      PANEL HEADER                                  */
/* ----------------------------------------------------------------- */

.panel-header[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    gap: 8px;
}

/* NO PURPLE TITLE BARS WHERE THE PANEL TABS SHOW (user, 2026-11-26: "In the webapp adopt the style of the mobile application,
   that the outer tabs will not have a textual purple header line"): in the phone and tablet display modes (body
   data-display-mode set - the layout's panel tabs name the panel) the bar only repeated the tab chosen, as in LiveTrafficApp
   (its app.css .lt-app .panel-header). The panel tabs' names beside their icons: main.css (THE LIVE TRAFFIC PAGE'S PANEL TABS). */
body[data-display-mode] .panel-header[b-xn7h138pfx] {
    display: none !important;
}

.panel-title[b-xn7h138pfx] {
    flex: 1;
    display: flex;
    align-items: center;
    font-weight: 600;
}

/* ----------------------------------------------------------------- */
/*                      SPLITTERS                                     */
/* ----------------------------------------------------------------- */

.panel-splitter[b-xn7h138pfx] {
    width: 5px;
    min-width: 5px;
    cursor: col-resize;
    background: var(--mud-palette-lines-default);
    touch-action: none;
    transition: background 0.15s;
    position: relative;
    z-index: 10;
    align-self: stretch;
}

.panel-splitter:hover[b-xn7h138pfx],
.panel-splitter:active[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
}

.panel-splitter.collapsed[b-xn7h138pfx] {
    display: none;
}

/* ----------------------------------------------------------------- */
/*                  CENTER PANEL (Globe + HUD)                        */
/* ----------------------------------------------------------------- */

.dstool-center-panel[b-xn7h138pfx] {
    flex: 2 1 0;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    min-height: 0;
    position: relative;
    overflow: hidden;
    /* Sized by flex, never by its content, so it can be the query container
       the toolbar compacts against (the panel narrows with the splitters and
       the display mode, not just with the window). */
    container: ptool-center / inline-size;
}

.map-toolbar[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background-color: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    gap: 4px;
    z-index: 10;
    /* The toolbar holds a button group and a hint chip; on a narrow panel it
       wraps rather than pushing the zoom buttons off the edge. */
    flex-wrap: wrap;
}

/* ----------------------------------------------------------------- */
/*              CAMERA-MODE EXCLUSIVE TOGGLE GROUP                    */
/* ----------------------------------------------------------------- */

/* A hand-built segmented control rather than MudButtonGroup: the group
   normalises its children's variant/colour, which is exactly what has to
   DIFFER here — the active segment must read as pressed. Buttons are joined
   by collapsing the borders between them. */
.map-area[b-xn7h138pfx] {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

/* position: relative is load-bearing — the JS helper appends the absolutely
   positioned HUD overlay INSIDE this element, so this is what the HUD's
   inset: 0 resolves against. Without it the HUD would size to the page. */
.map-container[b-xn7h138pfx] {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    /* No fixed floor: a 300 px minimum overflowed the globe out of its own
       area on a landscape phone, clipping the glasses frame and the controls. */
    min-height: 0;
    height: 100%;
    /* The globe takes keyboard focus so the flight controls work; the default
       focus ring around the whole 3D view is noise, and the HUD already makes
       it obvious the simulator is live. */
    outline: none;
}

/* ----------------------------------------------------------------- */
/*                  COMPACT TOOLBAR (narrow / touch)                  */
/* ----------------------------------------------------------------- */

/* The keyboard hint means nothing on a touch screen. */
@media (pointer: coarse) {
    [b-xn7h138pfx] .map-toolbar-keys-hint {
        display: none;
    }
}

/* A narrow globe panel: the toolbar wrapped to three rows, which on a
   landscape phone left the globe 179 px of a 290 px panel. Drop the hint and
   the dividers and make the labelled buttons icon-only, so it keeps to one
   row. The label stays in the DOM (font-size 0, not display: none), so the
   buttons keep their accessible names. */
@container ptool-center (max-width: 720px) {
    [b-xn7h138pfx] .map-toolbar-keys-hint,
    [b-xn7h138pfx] .map-toolbar-divider {
        display: none;
    }

    [b-xn7h138pfx] .map-toolbar-labelled {
        min-width: 0;
        padding-inline: 8px;
    }

    [b-xn7h138pfx] .map-toolbar-labelled .mud-button-label {
        font-size: 0;
    }

    [b-xn7h138pfx] .map-toolbar-labelled .mud-button-icon-start {
        margin: 0;
    }
}

/* Narrower still (a portrait phone): zoom and home give way too — the globe
   pinch-zooms on a touch screen. */
@container ptool-center (max-width: 400px) {
    [b-xn7h138pfx] .map-toolbar-zoom {
        display: none;
    }
}

/* Cesium credit container is noisy; keep it small and out of the way */
.map-container[b-xn7h138pfx]  .cesium-viewer-bottom {
    z-index: 5;
}

/* ----------------------------------------------------------------- */
/*                  INSTRUMENTS PANEL (host)                          */
/* ----------------------------------------------------------------- */

.dstool-side-panel[b-xn7h138pfx] {
    flex: 1 1 0;
    min-width: 280px; /* equal third alongside the editor and globe panels */
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--mud-palette-surface);
    overflow: hidden;
}

/* The host between the panel and the instruments MUST be a bounded flex
   child. Without a rule of its own it sized to its content, and Plotly's
   responsive resize then grew the chart to fit the host that grew to fit the
   chart — an 11,800 px plot clipped by the panel, showing only its legend. */
.dstool-instruments-host[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ----------------------------------------------------------------- */
/*   RIGHT-MOST PANEL (this tool's dedicated ChatBot instance).       */
/*   Toggled from the app-bar chat button (ToolChatPanelService).     */
/* ----------------------------------------------------------------- */

.dstool-chat-panel[b-xn7h138pfx] {
    width: 380px;
    min-width: 300px;
    max-width: 520px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--mud-palette-surface);
    border-left: 1px solid var(--mud-palette-lines-default);
    overflow: hidden;
    /* Animated open/close from the app-bar chat button. The element stays mounted and is
       collapsed to zero width, so both directions transition. */
    transition: width 0.8s cubic-bezier(0.32, 0, 0.2, 1), min-width 0.8s cubic-bezier(0.32, 0, 0.2, 1), max-width 0.8s cubic-bezier(0.32, 0, 0.2, 1), opacity 0.5s ease;
}

/* Collapsed (chat closed): zero out ALL THREE width properties — min-width alone would
   otherwise hold the panel open at 300px and nothing would appear to animate.
   !important: after a splitter drag the panel carries INLINE width/min/max styles, which
   would otherwise outrank this class and leave the chat stuck open. */
.dstool-chat-panel.collapsed[b-xn7h138pfx] {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    opacity: 0;
    border-left-width: 0;
    pointer-events: none;
}

[dir="rtl"] .dstool-chat-panel.collapsed[b-xn7h138pfx] {
    border-right-width: 0;
}

[dir="rtl"] .dstool-chat-panel[b-xn7h138pfx] {
    border-left: none;
    border-right: 1px solid var(--mud-palette-lines-default);
}

/* ----------------------------------------------------------------- */
/*        RIGHT PANEL collapsed to a rail (its header button)         */
/* ----------------------------------------------------------------- */

/* The tabs stay MOUNTED (hidden), so the social lists and the journal chart
   keep their state; only the header's expand button shows on the rail. */
.dstool-side-panel[b-xn7h138pfx] {
    transition: width 0.3s ease, min-width 0.3s ease, max-width 0.3s ease;
}

.dstool-side-panel.collapsed[b-xn7h138pfx] {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px !important;
    max-width: 48px;
}

.dstool-side-panel.collapsed > :not(.panel-header)[b-xn7h138pfx] {
    display: none !important;
}

.dstool-side-panel.collapsed .panel-title[b-xn7h138pfx],
.dstool-left-panel.collapsed .panel-title[b-xn7h138pfx] {
    display: none;
}

.dstool-side-panel.collapsed .panel-header[b-xn7h138pfx],
.dstool-left-panel.collapsed .panel-header[b-xn7h138pfx] {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

/* ----------------------------------------------------------------- */
/*                    THE TRANSPORT BAR                               */
/* ----------------------------------------------------------------- */

/* Pedestrian / Driver / Pilot: a segmented control of three icon buttons. */

/* ================================================================= */
/*                    THE PLANNER (pt-*)                              */
/* ================================================================= */

/* A click arms "pick on the globe": the cursor says so. */
.map-container.picking[b-xn7h138pfx] {
    cursor: crosshair;
}

.pt-pick-hint[b-xn7h138pfx] {
    margin-inline-start: 8px;
    font-size: 0.75rem;
    color: var(--mud-palette-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-plan[b-xn7h138pfx],
.pt-options[b-xn7h138pfx],
.pt-route[b-xn7h138pfx],
.pt-board[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.8rem;
}

/* ---- from / to ----
   THE TRIP'S ENDS STAND OUT (user, 2026-10-28: "The source and destination text boxes should be bigger and more
   emphasized"): the panel's main inputs - tall, larger bold text, a thick border in the tool's colour, their dots
   larger; the other inputs keep .pt-input's compact size. */
.pt-endpoint[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 3px 0;
}

.pt-endpoint .pt-input[b-xn7h138pfx] {
    height: 46px;
    padding: 0 12px;
    border: 2px solid color-mix(in srgb, var(--mud-palette-primary) 55%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--mud-palette-primary) 7%, var(--mud-palette-background));
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.pt-endpoint .pt-input[b-xn7h138pfx]::placeholder {
    font-weight: 500;
    opacity: 0.7;
}

.pt-endpoint .pt-input:focus[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary) 30%, transparent);
}

.pt-endpoint-dot[b-xn7h138pfx] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #2e7d32;
}

.pt-endpoint-dot.to[b-xn7h138pfx] {
    border-color: #c62828;
    border-radius: 2px;
}

/* Compact native inputs (the left panel must fit without scrolling). */
.pt-input[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    box-sizing: border-box;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    padding: 0 8px;
    font-size: 0.8rem;
}

.pt-input:focus[b-xn7h138pfx] {
    outline: none;
    border-color: var(--mud-palette-primary);
}

.pt-time[b-xn7h138pfx] {
    flex: 0 0 110px;
    direction: ltr;
}

.pt-suggestions[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    margin-inline-start: 16px;
    max-height: 220px;
    overflow-y: auto;
    background: var(--mud-palette-surface);
}

.pt-suggestion[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: none;
    background: none;
    color: var(--mud-palette-text-primary);
    font-size: 0.78rem;
    text-align: start;
    cursor: pointer;
}

.pt-suggestion:hover[b-xn7h138pfx] {
    background: var(--mud-palette-action-default-hover);
}

/* SEARCH AS ADDRESS (user, 2026-11-10: "highlight the 'search as address' button with a glow around it. Also make it
   taller"): offered once something is typed - taller, framed and glowing; the margin keeps the glow inside the list's scroll. */
.pt-suggestion.address[b-xn7h138pfx] {
    color: var(--mud-palette-primary);
    min-height: 44px;
    margin: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 8px;
    box-shadow: 0 0 8px 1px var(--mud-palette-primary);
    animation: pt-address-glow-b-xn7h138pfx 1.6s ease-in-out infinite alternate;
}

@keyframes pt-address-glow-b-xn7h138pfx {
    from { box-shadow: 0 0 4px 0 var(--mud-palette-primary); }
    to { box-shadow: 0 0 12px 2px var(--mud-palette-primary); }
}

.pt-suggestion-name[b-xn7h138pfx] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-suggestion-code[b-xn7h138pfx] {
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: 0.72rem;
}

.pt-swap-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 10px;
}

/* ---- when / how ---- */
.pt-section-title[b-xn7h138pfx] {
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.pt-when[b-xn7h138pfx],
.pt-modes[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pt-chip-toggle[b-xn7h138pfx] {
    flex: 1 1 0;
    min-width: 0;
    height: 28px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: none;
    color: var(--mud-palette-text-primary);
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-chip-toggle.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.pt-mode[b-xn7h138pfx] {
    width: 40px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    background: none;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
    opacity: 0.55;
}

.pt-mode.on[b-xn7h138pfx] {
    opacity: 1;
    color: #fff;
    background: var(--pt-mode-color);
    border-color: var(--pt-mode-color);
}

/* A mode button with its on/off checkbox centred underneath. */
.pt-mode-cell[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pt-mode-check[b-xn7h138pfx] {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

.pt-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
}

.pt-row-label[b-xn7h138pfx] {
    flex: 1 1 auto;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ROUTE panel's MAP tab: the top-down viewer fills the tab; its zoom / whole-route buttons over it */
.pt-topmap-wrap[b-xn7h138pfx] {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 320px;
}

.pt-topmap[b-xn7h138pfx] {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
    border-radius: 6px;
    overflow: hidden;
}

/* THE ARRIVAL PANEL UNDER THE MAP (user, 2026-11-28 - live_traffic_guidance.js THE ARRIVAL BAR): in the MAP tab's column
   under the map's frame, so it takes the map's room rather than covering it and the map's own buttons; the arrival clock
   on its top row, the time and the way left on its bottom row. Shown only while a planned trip runs (data-shown 1). */
.lt-eta-panel[b-xn7h138pfx] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    padding: 6px 12px 8px;
    border-radius: 10px;
    background: rgba(10, 24, 40, 0.94);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: #ffffff;
    line-height: 1.15;
}

.lt-eta-panel:not([data-shown="1"])[b-xn7h138pfx] {
    display: none;
}

.lt-eta-panel[b-xn7h138pfx]  .lt-eta-row1 {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.lt-eta-panel[b-xn7h138pfx]  .lt-eta-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
}

.lt-eta-panel[b-xn7h138pfx]  .lt-eta-clock {
    font-size: 1.7rem;
    font-weight: 800;
    color: #00b0ff;
    letter-spacing: 0.02em;
}

.lt-eta-panel[b-xn7h138pfx]  .lt-eta-row2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.lt-eta-panel[b-xn7h138pfx]  .lt-eta-dot {
    opacity: 0.5;
}

/* THE MAP LOADING (user, 2026-11-17): its words and a running bar in the middle of the dark map until the viewer is made. */
.pt-topmap-loading[b-xn7h138pfx] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 48px;
    pointer-events: none;
    z-index: 2;
}

.pt-topmap-loading-text[b-xn7h138pfx] {
    color: #e6edf7;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
}

.pt-topmap-loading[b-xn7h138pfx]  .mud-progress-linear {
    width: 100%;
    max-width: 240px;
}

/* At the TOP LEFT in both languages (user, 2026-10-17): at the start side (the right, in Hebrew) they covered Cesium's
   own toolbar there - the base map and projection buttons. */
/* THE CONTROLS BEHIND A ROUND BUTTON (user, 2026-11-06): the round button at the top left; the row slides open to its
   right from it (grows out of the button, fading in), and folds back into it. Folded, it takes no taps (inert). */
.pt-topmap-tools-toggle[b-xn7h138pfx] {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 8;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(20, 24, 36, 0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.25s ease;
}

.pt-topmap-tools-toggle.open[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
}

.pt-topmap-tools-toggle:active[b-xn7h138pfx] {
    transform: scale(0.92);
}

.pt-topmap-tools[b-xn7h138pfx] {
    position: absolute;
    top: 4px;
    left: 52px;
    right: auto;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 8px;
    background: rgba(20, 20, 28, 0.88);
    transform-origin: left center;
    transform: translateX(-30px) scaleX(0.1);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, visibility 0s linear 0.28s;
}

.pt-topmap-credit-slot[b-xn7h138pfx] {
    display: contents;
}

.pt-topmap-credit-slot:empty[b-xn7h138pfx] {
    display: none;
}

.pt-topmap-tools.open[b-xn7h138pfx] {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, visibility 0s;
}

/* COMMUNITY tab: the location privacy notice's line under the safety alerts (confirmed / not, and its button) */
.pt-notice-ok[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--mud-palette-success);
}

.pt-notice-missing[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--mud-palette-warning);
}

.pt-notice-read[b-xn7h138pfx] {
    padding: 3px 10px;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 6px;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    cursor: pointer;
}

/* ONE ROW OF CONTROLS (user, 2026-10-27): zoom, the whole route, follow; 2D / 3D; THE MAP'S OPTIONS menu; SIMULATE - each
   as one of its icons (28 px), groups apart by a thin line, the pressed one in the primary colour. Short enough for a
   phone with the look and the buildings in the menu: no scrolling (the menu hangs under the row, which must not clip
   it). */
.pt-topmap-tools[b-xn7h138pfx] {
    flex-wrap: nowrap;
    direction: ltr;
}

.pt-topmap-tools[b-xn7h138pfx]  .mud-icon-button {
    flex: 0 0 auto;
    padding: 7px;
}

/* BIGGER ICONS (user, 2026-11-10: "Make the upper menu contain bigger icons of the remaining buttons and menus" - the zoom
   in / out went): 28 px icons in 42 px buttons - the icon buttons, the menus' buttons and the map's credit. */
.pt-topmap-tools[b-xn7h138pfx]  .mud-icon-button .mud-icon-root,
.pt-topmap-tools .pt-tool-btn[b-xn7h138pfx]  .mud-icon-root {
    font-size: 28px;
}

.pt-topmap-tools .pt-tool-btn[b-xn7h138pfx] {
    min-width: 42px;
    height: 42px;
}

.pt-topmap-tools .pt-tool-sep[b-xn7h138pfx] {
    height: 28px;
}

.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit"],
.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit-button"] {
    width: 42px !important;
    height: 42px !important;
}

.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit-button"] svg {
    width: 28px;
    height: 28px;
}

/* THE NAVIGATION CARD OUT OF THE WAY while the row is open (user, 2026-11-10: "When the upper menu extends - hide the
   navigation card, and when it retracts - redisplay the navigation card"): faded out and back with the row. */
.pt-topmap-wrap[b-xn7h138pfx]  [data-testid="lt-guidance-card"] {
    transition: opacity 0.2s ease;
}

.pt-topmap-wrap.tools-open[b-xn7h138pfx]  [data-testid="lt-guidance-card"] {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* THE MAP'S OPTIONS: a menu button in the row; its panel under it - the map's look by name, then the 3D buildings. Open,
   its row is above everything on the map (the directions card covered it), and each choice is one line (in a 190 px
   panel the Hebrew names broke into three). The panel hangs from the row's left edge, not from the button (far along the
   row, it ran off the map's right edge). */
.pt-topmap-tools:has(.pt-tool-menu[open])[b-xn7h138pfx] {
    z-index: 1000;
}

.pt-tool-menu[b-xn7h138pfx] {
    position: static;
    flex: 0 0 auto;
}

.pt-tool-menu > summary[b-xn7h138pfx] {
    list-style: none;
}

.pt-tool-menu > summary[b-xn7h138pfx]::-webkit-details-marker {
    display: none;
}

.pt-tool-menu[open] > summary[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    color: #fff;
}

.pt-tool-menu-panel[b-xn7h138pfx] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: max-content;
    min-width: 190px;
    max-width: calc(100vw - 40px);
    padding: 6px;
    border-radius: 10px;
    background: rgb(24, 24, 32);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.pt-tool-menu-note[b-xn7h138pfx] {
    max-width: 210px;
    padding: 0 8px 4px;
    color: rgba(232, 232, 240, 0.6);
    font: 400 10.5px/1.3 Roboto, Arial, sans-serif;
}

.pt-tool-menu-title[b-xn7h138pfx] {
    padding: 2px 8px 4px;
    color: rgba(232, 232, 240, 0.7);
    font: 600 11px/1.2 Roboto, Arial, sans-serif;
}

.pt-tool-menu-group[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pt-tool-menu-sep[b-xn7h138pfx] {
    height: 1px;
    margin: 4px 2px;
    background: rgba(255, 255, 255, 0.15);
}

.pt-tool-item[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #e8e8f0;
    font: 500 14px/1.2 Roboto, Arial, sans-serif;
    text-align: start;
    white-space: nowrap;
    cursor: pointer;
}

.pt-tool-item.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    color: #fff;
}

.pt-tool-item:disabled[b-xn7h138pfx] {
    opacity: 0.45;
    cursor: default;
}

.pt-tool-item[b-xn7h138pfx]  .mud-icon-root {
    font-size: 18px;
}

/* Under the row: the 3D view's directions card and its announcements (live_traffic_guidance.js CARD_TOP_PX,
   public_transport_community.js THE TOP STACK - both 10 px from the top when nothing else places them). */
.map-area[b-xn7h138pfx]  [data-testid="lt-guidance-card"][style*="top: 10px"],
.map-area[b-xn7h138pfx]  .lt-top-stack[style*="top: 10px"] {
    top: 48px !important;
}

/* (A tooltip wraps each icon button in its own box: that box must not shrink either - the icons overlapped.) */
.pt-topmap-tools[b-xn7h138pfx]  .mud-tooltip-root {
    flex: 0 0 auto;
}

.pt-tool-group[b-xn7h138pfx] {
    display: flex;
    flex: 0 0 auto;
    gap: 1px;
}

.pt-tool-sep[b-xn7h138pfx] {
    flex: 0 0 auto;
    width: 1px;
    height: 20px;
    margin: 0 3px;
    background: rgba(255, 255, 255, 0.2);
}

.pt-tool-btn[b-xn7h138pfx] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #e8e8f0;
    cursor: pointer;
}

.pt-tool-btn.pt-tool-text[b-xn7h138pfx] {
    font: 700 12px/1 Roboto, Arial, sans-serif;
}

.pt-tool-btn.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    color: #fff;
}

/* Under the ROADS map the twin's 3D Tiles are hidden: their toggle greyed (LiveTrafficToolComp.RoadMap.cs) */
.pt-tool-btn:disabled[b-xn7h138pfx] {
    opacity: 0.45;
    cursor: default;
}

.pt-tool-btn[b-xn7h138pfx]  .mud-icon-root {
    display: block;
    font-size: 18px;
}

/* SIMULATE tab: the scenarios' toggle buttons (a sketch and its name), pressed in when chosen - as the mode toggles */
.pt-scenario-toggles[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 2px;
}

.pt-scenario-toggle[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
    color: inherit;
    cursor: pointer;
    transition: transform 0.08s ease;
}

.pt-scenario-toggle:hover[b-xn7h138pfx] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.pt-scenario-toggle.on[b-xn7h138pfx] {
    transform: translateY(3px);
    background: linear-gradient(180deg, color-mix(in srgb, #1e88e5 70%, #000), #1e88e5);
    border-color: color-mix(in srgb, #1e88e5 60%, #fff);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.pt-scenario-toggle:disabled[b-xn7h138pfx] {
    opacity: 0.55;
    cursor: wait;
}

/* WHICH RECORDINGS the recorded walks' button plays (user, 2026-11-02) */
.pt-walk-sets[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pt-walk-set[b-xn7h138pfx] {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    color: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.pt-walk-set.on[b-xn7h138pfx] {
    background: linear-gradient(180deg, color-mix(in srgb, #1e88e5 70%, #000), #1e88e5);
    border-color: color-mix(in srgb, #1e88e5 60%, #fff);
    color: #fff;
}

.pt-walk-set:disabled[b-xn7h138pfx] {
    opacity: 0.55;
    cursor: wait;
}

.pt-scenario-sketch[b-xn7h138pfx] {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background: #23272f;
}

.pt-scenario-name[b-xn7h138pfx] {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}

/* A group's "?" (HelpTipComp) at the end of its head */
.pt-help-end[b-xn7h138pfx] {
    margin-inline-start: auto;
    display: inline-flex;
}

/* SIMULATE tab: its kinds of scenario - four inner tabs, compact, the four buttons of the one shown under them (MudTabs is
   a child component: ::deep). The Start button is gone (2026-11-01) - a scenario's button plays it. */
[b-xn7h138pfx] .pt-scenario-categories .mud-tabs-tabbar {
    min-height: 0;
}

[b-xn7h138pfx] .pt-scenario-categories .mud-tab {
    min-width: 0;
    min-height: 36px;
    padding: 4px 6px;
    font-size: 12px;
    text-transform: none;
}

[b-xn7h138pfx] .pt-scenario-categories .mud-tab .mud-icon-root {
    font-size: 18px;
    margin-inline-end: 4px;
}

[b-xn7h138pfx] .pt-scenario-categories .mud-tabs-panels {
    padding-top: 8px;
}

/* PLAN tab: "travel by" - public transport or car, a two-button segmented choice */
.pt-travel-by[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.pt-travel-by-option[b-xn7h138pfx] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pt-travel-by-option.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

/* COMMUNITY tab: the "show other users" checkbox, its text wrapping instead of being cut */
.pt-row-label.pt-check[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: normal;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
}

.pt-check input[b-xn7h138pfx] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    accent-color: var(--mud-palette-primary);
}

.pt-row .pt-input:not(.pt-day):not(.pt-time)[b-xn7h138pfx] {
    flex: 0 0 150px;
}

.pt-feed-status[b-xn7h138pfx],
.pt-stats[b-xn7h138pfx],
.pt-source[b-xn7h138pfx] {
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}

.pt-source[b-xn7h138pfx] {
    padding: 0 12px 12px;
}

/* GUIDED TOURS' note above the TUTORIALS list (LiveTrafficToolComp.Tours.cs) */
.lt-tours-note[b-xn7h138pfx] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 6px;
}

/* TUTORIALS (the ABOUT tab's second inner tab - LiveTrafficToolComp.Tours.cs): the clip's title card with a play mark and its
   length, the title */
.lt-tutorials[b-xn7h138pfx] {
    margin: 0 8px 12px;
}

.lt-tutorials-list[b-xn7h138pfx] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lt-tutorials-list a[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

.lt-tutorials-list a:hover[b-xn7h138pfx] {
    background: var(--mud-palette-action-default-hover);
}

.lt-tutorial-thumb[b-xn7h138pfx] {
    position: relative;
    flex: 0 0 auto;
    width: 112px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--mud-palette-background-gray);
}

.lt-tutorial-thumb img[b-xn7h138pfx] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lt-tutorial-play[b-xn7h138pfx] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-tutorial-play[b-xn7h138pfx]  .mud-icon-root {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.lt-tutorial-length[b-xn7h138pfx] {
    position: absolute;
    bottom: 3px;
    right: 3px;
    padding: 0 4px;
    border-radius: 3px;
    font-size: 0.7rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
}

.lt-tutorial-text[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lt-tutorial-title[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lt-tutorial-source[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.lt-tutorial-source[b-xn7h138pfx]  .mud-icon-root {
    color: var(--mud-palette-primary);
}

/* SOFTWARE (the ABOUT tab's third inner tab - LiveTrafficToolComp.Software.cs): the logo and version, the changes, the
   developer, the license */
.lt-software[b-xn7h138pfx] {
    margin: 0 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-software-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-software-logo[b-xn7h138pfx] {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #0B3D64;
    padding: 8px;
    box-sizing: border-box;
}

.lt-software-logo[b-xn7h138pfx]  svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lt-software-name[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lt-software-product[b-xn7h138pfx] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.lt-software-number[b-xn7h138pfx] {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

.lt-software-sub[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
}

.lt-software-changes[b-xn7h138pfx] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lt-software-changes li[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.lt-software-change-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lt-software-chip[b-xn7h138pfx] {
    padding: 0 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--mud-palette-primary);
}

.lt-software-date[b-xn7h138pfx] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.lt-software-change-text[b-xn7h138pfx] {
    font-size: 0.8rem;
}

.lt-software-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.lt-software-row[b-xn7h138pfx]  .mud-icon-root {
    color: var(--mud-palette-primary);
}

.lt-software-label[b-xn7h138pfx] {
    min-width: 84px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
}

.lt-software-row a[b-xn7h138pfx] {
    color: var(--mud-palette-primary);
    word-break: break-all;
}

.lt-software-accepted[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lt-software-license-text[b-xn7h138pfx] {
    max-height: 55vh;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    font-size: 0.8rem;
}

.pt-empty[b-xn7h138pfx] {
    padding: 16px 4px;
    color: var(--mud-palette-text-secondary);
    text-align: center;
}

/* ---- option cards ---- */
.pt-card[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-align: start;
    cursor: pointer;
}

.pt-card.selected[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 1px var(--mud-palette-primary);
}

.pt-card-head[b-xn7h138pfx],
.pt-card-foot[b-xn7h138pfx],
.pt-route-summary[b-xn7h138pfx] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.pt-card-times[b-xn7h138pfx] {
    font-weight: 700;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.pt-card-duration[b-xn7h138pfx] {
    font-weight: 600;
}

.pt-card-foot[b-xn7h138pfx] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.pt-card-chips[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

[b-xn7h138pfx] .pt-chip-sep {
    color: var(--mud-palette-text-secondary);
}

.pt-chip[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 6px 1px 4px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pt-chip.ride[b-xn7h138pfx] {
    background: var(--pt-chip-color);
    color: #fff;
}

.pt-chip.foot[b-xn7h138pfx] {
    color: var(--mud-palette-text-secondary);
}

.pt-card-tags[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pt-tag[b-xn7h138pfx] {
    font-size: 0.68rem;
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(126, 111, 255, 0.15);
    color: var(--mud-palette-primary);
}

/* ---- the route timeline ---- */
.pt-timeline[b-xn7h138pfx] {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.pt-leg[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px;
    position: relative;
    padding-bottom: 10px;
}

.pt-leg-time[b-xn7h138pfx] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    direction: ltr;
}

.pt-leg-body[b-xn7h138pfx] {
    border-inline-start: 4px solid var(--pt-chip-color);
    padding-inline-start: 8px;
    min-width: 0;
}

.pt-leg.foot .pt-leg-body[b-xn7h138pfx] {
    border-inline-start-style: dotted;
}

.pt-leg.end .pt-leg-body[b-xn7h138pfx] {
    border-inline-start-color: transparent;
}

.pt-leg-from[b-xn7h138pfx] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pt-leg-what[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--mud-palette-text-secondary);
}

.pt-leg-stops summary[b-xn7h138pfx] {
    cursor: pointer;
    font-size: 0.72rem;
    color: var(--mud-palette-primary);
}

.pt-leg-stops ul[b-xn7h138pfx] {
    margin: 2px 0;
    padding-inline-start: 16px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

/* ---- a ride as Moovit shows it: the line's badge, its stops on the line with their times, the stop he gets off at ---- */
.pt-leg.ride .pt-leg-body[b-xn7h138pfx] {
    border-inline-start-width: 5px;
}

.pt-ride-line[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 2px;
    min-width: 0;
}

.pt-ride-badge[b-xn7h138pfx] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    border: 2px solid var(--mud-palette-lines-default);
    border-bottom: 4px solid var(--pt-chip-color);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.pt-ride-headsign[b-xn7h138pfx] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.pt-ride-stops summary[b-xn7h138pfx] {
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--mud-palette-primary);
}

.pt-ride-stops ol[b-xn7h138pfx] {
    list-style: none;
    margin: 2px 0;
    padding: 0;
}

.pt-ride-stops li[b-xn7h138pfx],
.pt-ride-off[b-xn7h138pfx] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    padding-inline-start: 10px;
    font-size: 0.78rem;
}

/* (each stop a tick across the line, as on Moovit) */
.pt-ride-stops li[b-xn7h138pfx]::before {
    content: "";
    position: absolute;
    inset-inline-start: -16px;
    top: calc(50% - 2px);
    width: 12px;
    height: 4px;
    background: var(--pt-chip-color);
}

.pt-ride-stop-name[b-xn7h138pfx] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.pt-ride-stop-time[b-xn7h138pfx] {
    flex: none;
    direction: ltr;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--mud-palette-success);
}

.pt-ride-off[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 700;
}

.pt-ride-off-dot[b-xn7h138pfx] {
    position: absolute;
    inset-inline-start: -17px;
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pt-chip-color);
}

.pt-ride-off-name[b-xn7h138pfx] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* ---- the stop board ---- */
.pt-board-title[b-xn7h138pfx] {
    font-weight: 700;
    font-size: 0.9rem;
}

.pt-board-actions[b-xn7h138pfx] {
    display: flex;
    gap: 4px;
}

.pt-board-row[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: 44px auto 1fr auto;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.pt-board-time[b-xn7h138pfx] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    direction: ltr;
}

.pt-board-headsign[b-xn7h138pfx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-board-in[b-xn7h138pfx] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

/* ---- simulation HUD (over the globe; .map-area is position: relative) ---- */
.pt-sim-hud[b-xn7h138pfx] {
    /* At the bottom of the 3D view (user, 2026-10-16: "move the simulation time panel to the lower part, so it
       will not obscure the directions and the Protector's announcements"), on the left in both languages - the
       globe's compass and full-screen buttons hold the bottom right - above the imagery credits. */
    position: absolute;
    bottom: 34px;
    left: 10px;
    z-index: 10;
    width: min(440px, calc(100% - 20px));
    padding: 8px 10px 4px;
    border-radius: 10px;
    background: rgba(20, 20, 32, 0.84);
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.pt-sim-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pt-sim-clock[b-xn7h138pfx] {
    flex: 0 0 auto;
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.pt-sim-step[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The time bar: click to jump the trip to that moment (a taller hit area than the 4 px it draws). */
/* The time line (user, 2026-10-14: "a coloured and clickable progress bar showing the simulation's
   progress; clicking it jumps all vehicles to that time"): the legs in their colours, bright where played
   and darkened ahead, a playhead; the bar itself takes the click - its parts let it through, so the
   click's offset is measured on the bar (seekSimulationAt). */
.pt-sim-bar[b-xn7h138pfx] {
    position: relative;
    margin: 6px 0 0;
    padding: 4px 0;
    cursor: pointer;
}

.pt-sim-bar-track[b-xn7h138pfx] {
    position: relative;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.pt-sim-bar-seg[b-xn7h138pfx] {
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

/* The part still to come: darkened (the part played shows the legs' own colours). */
.pt-sim-bar-rest[b-xn7h138pfx] {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    background: rgba(10, 10, 20, 0.62);
    transition: inset-inline-start 0.4s linear;
    pointer-events: none;
}

.pt-sim-bar-head[b-xn7h138pfx] {
    position: absolute;
    top: -2px;
    width: 4px;
    height: 16px;
    margin-inline-start: -2px;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    transition: inset-inline-start 0.4s linear;
    pointer-events: none;
}

.pt-sim-bar:hover .pt-sim-bar-track[b-xn7h138pfx] {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.pt-sim-bar-times[b-xn7h138pfx] {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

/* Loading the trip and its simulated traffic: progress bars at the bottom of the 3D view,
   so the scene being loaded stays visible behind them. */
.pt-sim-loading[b-xn7h138pfx] {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    width: min(360px, calc(100% - 32px));
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(20, 20, 32, 0.88);
    color: #fff;
    font-size: 0.85rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.pt-sim-loading-row[b-xn7h138pfx] {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.pt-sim-hud .pt-sim-speed[b-xn7h138pfx] {
    flex: 0 0 120px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.pt-sim-hud[b-xn7h138pfx]  .mud-icon-button,
.pt-sim-hud[b-xn7h138pfx]  .mud-button-root {
    color: #fff;
}

/* ---- PLAN group boxes: where / when / how / preferences ----
   A bordered box per topic, its header an icon in the group's accent colour and a title,
   the accent repeated as a thin bar on the box's inline-start edge (mirrors under RTL). */
.pt-group[b-xn7h138pfx] {
    --pt-group-accent: var(--mud-palette-primary);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 8px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-inline-start: 3px solid var(--pt-group-accent);
    border-radius: 6px;
    background: var(--mud-palette-background-gray, rgba(127, 127, 127, 0.04));
}

.pt-group.where[b-xn7h138pfx] { --pt-group-accent: #2e7d32; }
.pt-group.when[b-xn7h138pfx] { --pt-group-accent: #ef6c00; }
.pt-group.how[b-xn7h138pfx] { --pt-group-accent: #1565c0; }
.pt-group.prefs[b-xn7h138pfx] { --pt-group-accent: #7b1fa2; }
.pt-group.you[b-xn7h138pfx] { --pt-group-accent: #00838f; }

/* ---- "You": how I move - four mutually exclusive toggle buttons, raised; the chosen one pressed in ---- */
.lt-transport-label[b-xn7h138pfx] {
    font-size: 12px;
    opacity: 0.75;
    margin: 6px 0 4px;
}

/* SMALLER (user, 2026-10-28: "The transportation type buttons should be smaller"): a 24 px badge and a one-line name,
   ~44 px high where they were ~62. */
.lt-transport-toggles[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 4px;
}

.lt-transport-toggle[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    padding: 4px 2px 3px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    /* Raised: a lit top edge, a dark ledge under it. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 3px 0 rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 80ms ease, box-shadow 80ms ease, background 120ms ease;
}

.lt-transport-toggle:hover[b-xn7h138pfx] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.lt-transport-toggle:active[b-xn7h138pfx],
.lt-transport-toggle.on[b-xn7h138pfx] {
    /* Pressed in: sunk by its ledge's height, shaded inside, in its mode's colour. */
    transform: translateY(3px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--lt-mode-color) 70%, #000), var(--lt-mode-color));
    border-color: color-mix(in srgb, var(--lt-mode-color) 60%, #fff);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5), 0 0 0 rgba(0, 0, 0, 0);
    color: #fff;
}

.lt-transport-icon[b-xn7h138pfx] {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lt-mode-color);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.lt-transport-toggle.on .lt-transport-icon[b-xn7h138pfx] {
    background: rgba(255, 255, 255, 0.22);
}

.lt-transport-name[b-xn7h138pfx] {
    font-size: 10.5px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.pt-group-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1px;
}

.pt-group-icon[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: var(--pt-group-accent);
    flex: 0 0 auto;
}

.pt-group-icon[b-xn7h138pfx]  .mud-icon-root {
    font-size: 0.95rem;
}

.pt-group-title[b-xn7h138pfx] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pt-group-accent);
}

/* MODEL tab: the traveller's car in 3D (live_traffic_vehicle_model.js) fills its tab. */
.pt-vehicle-model[b-xn7h138pfx] {
    position: relative;
    flex: 1 1 auto;
    min-height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

/* The PLANNED tab's "show route on 2D / 3D map" buttons: side by side, wrapping on a narrow panel. */
.pt-route-maps[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 8px;
}

/* The MAP tab's copy of the simulation panel (SimHud(true)): at the bottom of the top view, clear of the camera pad's
   compass in the bottom right corner (cesium_camera_pad.js .gv-campad: right 12px, above the panel - it covered the
   panel's buttons); the 2D / 3D and 3D Tiles buttons lifted above it while a trip plays. */
.pt-sim-hud.pt-sim-hud-top[b-xn7h138pfx] {
    bottom: 26px;
    left: 6px;
    width: min(440px, calc(100% - 72px));
}

/* The MAP tab's copy of the trip's loading bars (SimLoading(true)): across the top of the top view, under its zoom
   buttons' row. */
.pt-sim-loading.pt-sim-loading-top[b-xn7h138pfx] {
    position: absolute;
    top: 44px;
    bottom: auto;
    left: 6px;
    right: 6px;
    width: auto;
    transform: none;
    z-index: 13;
}

/* THE SPEED LIMIT ON A REAL DRIVE (LiveTrafficToolComp.SpeedLimit.cs): a round road sign - white, a red ring, the limit -
   on the right under the view's globe / base-map buttons, his speed under it; too fast, the sign glows yellow and a banner
   says it. Over the 3D view and in the MAP tab's top view (-top). Laid out left to right whatever the page's language (its
   texts keep theirs): in Hebrew "flex-end" was the left, and the sign stood at the left end of the banner's width. */
.lt-speed-limit[b-xn7h138pfx] {
    position: absolute;
    top: 64px;
    right: 12px;
    z-index: 14;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
    direction: ltr;
}

/* The MAP tab: in its lower left corner (user, 2026-10-31: "the speed limit sign should be in the lower left corner of the
   map panel" - at the top it covered the guidance card), the sign at the bottom, his speed and the banner above it; above
   the trip's panel while one plays (the debug panel, live_traffic_vector_map.js, is above the sign). */
.lt-speed-limit.lt-speed-limit-top[b-xn7h138pfx] {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 10px;
    flex-direction: column-reverse;
    align-items: flex-start;
}

.pt-topmap-wrap.sim-on .lt-speed-limit.lt-speed-limit-top[b-xn7h138pfx] {
    bottom: 150px;
}

.lt-speed-sign[b-xn7h138pfx] {
    width: 58px;
    height: 58px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #ffffff;
    border: 7px solid #d32f2f;
    color: #111111;
    font-weight: 800;
    font-size: 21px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.lt-speed-sign.over[b-xn7h138pfx] {
    animation: lt-speed-halo-b-xn7h138pfx 1s ease-in-out infinite;
}

@keyframes lt-speed-halo-b-xn7h138pfx {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.95), 0 0 18px 8px rgba(255, 214, 0, 0.75); }
    50% { box-shadow: 0 0 0 9px rgba(255, 214, 0, 0.6), 0 0 30px 16px rgba(255, 214, 0, 0.45); }
}

.lt-speed-now[b-xn7h138pfx] {
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(20, 20, 32, 0.85);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.lt-speed-now.over[b-xn7h138pfx] {
    color: #ffd600;
}

.lt-speed-banner[b-xn7h138pfx] {
    max-width: min(280px, calc(100vw - 40px));
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(20, 20, 32, 0.94);
    border: 2px solid #ffd600;
    color: #ffd600;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* THE ROUTE STORY (LiveTrafficToolComp.RouteStory.cs): the PLANNED tab's steps - each a row to press, its leg's colour on
   its inline-start edge, the turn's arrow, the words and the distance to the next step. */
.pt-story-count[b-xn7h138pfx] {
    margin-inline-start: auto;
    font-size: 0.72rem;
    opacity: 0.7;
}

/* The MAP tab's own SIMULATE button: the row's last icon, filled in the secondary colour. */
.pt-topmap-tools[b-xn7h138pfx]  .pt-topmap-simulate {
    padding: 4px;
}

/* MY PLACES (LiveTrafficToolComp.Places.cs): his kept places under From / To - Home and Work first, each a row that
   makes it the destination, with its menu (Home, Work, name, remove). */
.pt-places[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* Its head is the button that opens and folds it (folded by default). */
.pt-places-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
    text-align: start;
    cursor: pointer;
}

.pt-places-count[b-xn7h138pfx] {
    font-weight: 500;
    opacity: 0.8;
}

.pt-places-head[b-xn7h138pfx]  .pt-places-chevron {
    margin-inline-start: 4px;
}

.pt-places-where[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-inline-start: auto;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
}

.pt-places-where[b-xn7h138pfx]  .mud-icon-root {
    font-size: 0.9rem;
}

.pt-place[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
}

.pt-place-go[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.pt-place-go:hover[b-xn7h138pfx] {
    background: var(--mud-palette-action-default-hover);
}

.pt-place.named[b-xn7h138pfx]  .pt-place-icon {
    color: var(--mud-palette-primary);
}

.pt-place-text[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pt-place-title[b-xn7h138pfx] {
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-place.named .pt-place-title[b-xn7h138pfx] {
    font-weight: 700;
}

.pt-place-address[b-xn7h138pfx] {
    font-size: 0.74rem;
    color: var(--mud-palette-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-place-name-input[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
}

/* (none kept yet - the line saying how one gets there) */
.pt-places-empty[b-xn7h138pfx] {
    padding: 6px 10px 8px;
    font-size: 0.8rem;
    opacity: 0.75;
}

.pt-places-more[b-xn7h138pfx] {
    align-self: flex-start;
    padding: 2px 6px;
    border: none;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

/* The one-press destinations under the destination box (Home, Work, his named places). */
.pt-quick-places[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 2px;
    padding-inline-start: 18px;
}

/* THE PANELS UNDER THEIR HANDLES (user, 2026-11-28: "The travel type and defined placed panels should each be placed inside an
   exapnadable handle, that collapse smoothly when source or destination textbox are edited"): the travel type panel's head and
   MY PLACES' head are the handles; the body under each folds and opens by its height (interpolate-size - Chrome 129 and the
   Android WebView; at once elsewhere), its chevron turning. A From / To box getting the cursor folds both
   (LiveTrafficToolComp.Places.cs OnAddressFocus). */
.pt-fold-head[b-xn7h138pfx] {
    width: 100%;
    padding: 2px 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: start;
    cursor: pointer;
}

.pt-fold-head[b-xn7h138pfx]  .pt-fold-chevron,
.pt-places-head[b-xn7h138pfx]  .pt-fold-chevron {
    margin-inline-start: auto;
    transition: rotate 0.3s ease;
}

.pt-group.you.open > .pt-fold-head[b-xn7h138pfx]  .pt-fold-chevron,
.pt-places.open > .pt-places-head[b-xn7h138pfx]  .pt-fold-chevron {
    rotate: 180deg;
}

.pt-fold-body[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    interpolate-size: allow-keywords;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.25s ease;
}

.pt-places > .pt-fold-body[b-xn7h138pfx] {
    gap: 2px;
}

.pt-group.you:not(.open) > .pt-fold-body[b-xn7h138pfx],
.pt-places:not(.open) > .pt-fold-body[b-xn7h138pfx] {
    height: 0;
    opacity: 0;
}

/* (the travel type panel's head no longer pushed off by an empty body's gap) */
.pt-group.you:not(.open)[b-xn7h138pfx] {
    gap: 0;
}

/* TYPING AN ADDRESS: the quick places (Home, Work) hidden while a From / To box has the cursor - folded, animated. */
.pt-plan .pt-quick-places[b-xn7h138pfx] {
    interpolate-size: allow-keywords;
    transition: height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}

.pt-plan.typing .pt-quick-places[b-xn7h138pfx] {
    height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.pt-quick-place[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 3px 10px;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 16px;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.pt-quick-place span[b-xn7h138pfx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-quick-place:hover[b-xn7h138pfx] {
    background: var(--mud-palette-primary-hover);
}

.pt-quick-place.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

/* THE PROFILE TAB (LiveTrafficToolComp.Profile.cs): his photo and name, then his fields, then saving. */
.lt-profile[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 4px;
}

.lt-profile-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lt-profile-who[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lt-profile-name[b-xn7h138pfx] {
    font-size: 1.1rem;
    font-weight: 700;
}

.lt-profile-handle[b-xn7h138pfx],
.lt-person-handle[b-xn7h138pfx] {
    font-size: 0.82rem;
    color: var(--mud-palette-text-secondary);
}

.lt-profile-photo-actions[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.lt-file-button[b-xn7h138pfx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 6px;
    color: var(--mud-palette-primary);
    font-size: 0.82rem;
    cursor: pointer;
    overflow: hidden;
}

.lt-file-button.busy[b-xn7h138pfx] {
    opacity: 0.6;
}

.lt-file-button[b-xn7h138pfx]  .lt-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.lt-profile-fields[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-field[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.lt-field textarea[b-xn7h138pfx] {
    resize: vertical;
    font: inherit;
}

.lt-check[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.lt-profile-note[b-xn7h138pfx],
.lt-person-note[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

/* ACCIDENT DETECTION in the PROFILE tab: the switch, then each emergency contact in a box of its own. */
.lt-emergency[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.lt-emergency-title[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.lt-emergency-sub[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 600;
}

/* THE EMERGENCY CONTACTS' LIST (user, 2026-11-28: "inside a vertical scrollable control"): the cards scroll by themselves,
   about two and a half in sight on a phone, so the add / test buttons and Save under them stay reachable. */
.lt-ec-list[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: min(42vh, 330px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: 2px;
}

.lt-ec-list:empty[b-xn7h138pfx] {
    display: none;
}

/* An emergency contact's card (lt-ec-*): avatar, name + relation chip, phone and language on one line; the fields open in
   place under the pencil. (Not .lt-contact - that is the friend card's reach buttons.) */
.lt-ec-card[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.lt-ec-card.editing[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
}

.lt-ec-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lt-ec-avatar[b-xn7h138pfx] {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    background: #78909c;
}

.lt-ec-avatar.spouse[b-xn7h138pfx] { background: #e53935; }
.lt-ec-avatar.parent[b-xn7h138pfx] { background: #8e24aa; }
.lt-ec-avatar.child[b-xn7h138pfx] { background: #fb8c00; }
.lt-ec-avatar.sibling[b-xn7h138pfx] { background: #1e88e5; }
.lt-ec-avatar.friend[b-xn7h138pfx] { background: #43a047; }

.lt-ec-main[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lt-ec-name[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.lt-ec-name-text[b-xn7h138pfx] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-ec-chip[b-xn7h138pfx] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 8px 0 6px;
    border-radius: 10px;
    font-size: 0.72rem;
    line-height: 20px;
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-secondary);
}

.lt-ec-chip[b-xn7h138pfx]  .mud-icon-root,
.lt-ec-detail[b-xn7h138pfx]  .mud-icon-root,
.lt-ec-field[b-xn7h138pfx]  .mud-icon-root {
    font-size: 0.95rem;
}

.lt-ec-details[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.lt-ec-detail[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.lt-ec-detail.first[b-xn7h138pfx] {
    color: var(--mud-palette-success);
    font-weight: 600;
}

.lt-ec-tools[b-xn7h138pfx] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.lt-ec-fields[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.lt-ec-field[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lt-ec-field.wide[b-xn7h138pfx] {
    grid-column: 1 / -1;
}

.lt-ec-field > span[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.lt-ec-field .pt-input[b-xn7h138pfx] {
    width: 100%;
    box-sizing: border-box;
}

.lt-emergency-actions[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* A FRIEND'S CARD: a window over the tool, the four ways to reach him at its bottom. */
.lt-person-backdrop[b-xn7h138pfx] {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(0, 0, 0, 0.45);
}

.lt-person-card[b-xn7h138pfx] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1401;
    transform: translate(-50%, -50%);
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px 16px;
    border-radius: 16px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.lt-person-card[b-xn7h138pfx]  .lt-person-close {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
}

.lt-person-name[b-xn7h138pfx] {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}

.lt-person-facts[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin: 6px 0;
    font-size: 0.88rem;
}

.lt-person-facts > div[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lt-person-about[b-xn7h138pfx] {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    white-space: pre-wrap;
}

/* TEXT / CALL in the app, on a friend's card (user, 2026-11-28): two large buttons above the phone's own ways. */
.lt-person-reach[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.lt-reach[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font: 700 1rem/1.2 Roboto, Arial, sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.lt-reach.text[b-xn7h138pfx] { background: #1e88e5; }
.lt-reach.call[b-xn7h138pfx] { background: #2E7D32; }
.lt-reach:disabled[b-xn7h138pfx] { opacity: 0.4; cursor: default; }

.lt-person-actions[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.lt-person-actions.video-only[b-xn7h138pfx] {
    grid-template-columns: 1fr;
}

.lt-contact.video[b-xn7h138pfx] {
    flex-direction: row;
    justify-content: center;
}

.lt-person-actions:not(.video-only) .lt-contact.video[b-xn7h138pfx] {
    flex-direction: column;
}

.lt-contact[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.lt-contact.sms[b-xn7h138pfx] { background: #1e88e5; }
.lt-contact.whatsapp[b-xn7h138pfx] { background: #25d366; }
.lt-contact.call[b-xn7h138pfx] { background: #43a047; }
.lt-contact.video[b-xn7h138pfx] { background: #8e24aa; }

.lt-contact.off[b-xn7h138pfx] {
    opacity: 0.35;
    pointer-events: none;
}

/* VOICE COMMANDS (LiveTrafficToolComp.Voice.cs): a round microphone at the lower right of each view, just left of the
   camera pad's compass (cesium_camera_pad.js .gv-campad: 48 px at right 12 px, bottom 34 px - user, 2026-10-28: "move
   the microphone speech button to the lower right part of the top view and 3D map views, to the left of the
   navigation compass button"), bottoms aligned; what was heard in a bubble above it, right-aligned; red while
   listening, amber while thinking. */
.lt-voice[b-xn7h138pfx] {
    position: absolute;
    right: 72px;
    bottom: 32px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

.lt-voice-button[b-xn7h138pfx] {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.lt-voice.listening .lt-voice-button[b-xn7h138pfx] {
    background: #e53935;
    animation: lt-voice-pulse-b-xn7h138pfx 1s ease-in-out infinite;
}

.lt-voice.thinking .lt-voice-button[b-xn7h138pfx] {
    background: #fb8c00;
}

@keyframes lt-voice-pulse-b-xn7h138pfx {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6); }
    50% { box-shadow: 0 0 0 12px rgba(229, 57, 53, 0); }
}

/* The bubble floats above the microphone, out of the layout: the button never moves when it shows (user, 2026-10-28:
   "The microphone button should not move when pressed" - in the column, the wider bubble set the column's width, and in
   a right-to-left page its flex-end lined the button up on the LEFT: 34 px over on every press). */
.lt-voice-heard[b-xn7h138pfx] {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    width: max-content;
    max-width: min(320px, 80vw);
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(20, 20, 32, 0.9);
    color: #fff;
    font-size: 0.88rem;
    text-align: center;
}

/* The vector map's row at its bottom - its credit behind a help button (live_traffic_vector_map.js THE CREDIT BEHIND A
   HELP BUTTON), its compass 48 px at right 12 px, bottom 12 px: the microphone between them, centres level. */
.pt-topmap-wrap.vector .lt-voice-top[b-xn7h138pfx] {
    bottom: 10px;
}

/* THE SEARCH (LiveTrafficToolComp.Search.cs - user, 2026-11-12: "to the left of the navigation button"): the magnifier right
   next to the compass (48 px at right 12 px), 12 px apart; the microphone and the 2D / 3D button move left of it. */
.lt-voice-top[b-xn7h138pfx] {
    right: 128px;
}

/* While a trip plays its panel is at the bottom: the microphone above it. */
.pt-topmap-wrap.sim-on .lt-voice-top[b-xn7h138pfx],
.map-area .pt-sim-hud ~ .lt-voice[b-xn7h138pfx] {
    bottom: 150px;
}

/* THE MAP TAB'S 2D / 3D (LiveTrafficToolComp.razor TopMapModeToggle): a round button left of the microphone (52 px at right
   72 px), 8 px apart, centres level - its words the view now; filled while in 3D. */
.lt-mode-toggle[b-xn7h138pfx] {
    position: absolute;
    right: 188px;
    bottom: 36px;
    z-index: 7;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(20, 24, 36, 0.88);
    color: #fff;
    font: 800 15px/1 var(--mud-typography-default-family, sans-serif);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.lt-mode-toggle.is-3d[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
}

.pt-topmap-wrap.vector .lt-mode-toggle[b-xn7h138pfx] {
    bottom: 14px;
}

.pt-topmap-wrap.sim-on .lt-mode-toggle[b-xn7h138pfx] {
    bottom: 154px;
}

/* THE NAVIGATION TAB (live_traffic_nav_view.js): its view fills the tab. */
.lt-nav-view[b-xn7h138pfx] {
    height: 100%;
    min-height: 420px;
    padding: 6px 8px;
}

/* Picking the start / destination on the top view (LiveTrafficToolComp.PhoneGlobe.cs): what a tap does, at the top. */
.pt-topmap-pick-hint[b-xn7h138pfx] {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    max-width: calc(100% - 24px);
    padding: 6px 14px;
    border-radius: 14px;
    background: var(--mud-palette-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* The traffic-camera alert's distance, beside its checkbox (LiveTrafficToolComp.Cameras.cs). */
.lt-camera-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lt-camera-distance[b-xn7h138pfx] {
    width: 80px;
    flex: 0 0 auto;
}

.lt-camera-unit[b-xn7h138pfx] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

/* THE PHONE'S CAMERA (LiveTrafficToolComp.CameraVision.cs, user 2026-10-22): the CAMERA tab - the video with what it
   sees boxed (live_traffic_vision.js draws it), the counts, the settings and the dash cam. */
.lt-vision[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.lt-vision-bar[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lt-vision-stat[b-xn7h138pfx] {
    font-size: 0.78rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
}

.lt-vision-rec[b-xn7h138pfx] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ff1744;
}

.lt-vision-error[b-xn7h138pfx] {
    font-size: 0.85rem;
    color: var(--mud-palette-error);
}

.lt-vision-view[b-xn7h138pfx] {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.lt-vision-canvas[b-xn7h138pfx] {
    width: 100%;
    height: 100%;
    display: block;
}

.lt-vision-idle[b-xn7h138pfx] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    color: #cfd8dc;
    font-size: 0.85rem;
    text-align: center;
}

.lt-vision-counts[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.lt-vision-privacy[b-xn7h138pfx] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.lt-dashcam-clips[b-xn7h138pfx] {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.lt-dashcam-clips li[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.lt-dashcam-clips li.on[b-xn7h138pfx] {
    background: var(--mud-palette-action-default-hover);
}

.lt-dashcam-when[b-xn7h138pfx] {
    flex: 1 1 auto;
    font-size: 0.8rem;
}

.lt-dashcam-player[b-xn7h138pfx] {
    width: 100%;
    margin-top: 6px;
    border-radius: 6px;
    background: #000;
}

/* The small camera window over the 3D view (top left - the speed sign and Cesium's buttons hold the top right) and
   over the MAP tab's view (under its zoom buttons). Pressed: the CAMERA tab. */
/* The camera's small window: in the middle of the view's RIGHT edge (user, 2026-10-22: "The camera viewport is obscuring
   the navigation instruction card") - the top left is the turn card's, the top right the globe's buttons, the speed sign
   and the warnings, the bottom the microphone, the compass and the 2D / 3D buttons. */
.lt-cam-pip[b-xn7h138pfx] {
    position: absolute;
    top: 50%;
    right: 8px;
    left: auto;
    transform: translateY(-50%);
    z-index: 8;
    width: min(30%, 200px);
    padding: 0;
    border: 2px solid #00e5ff;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.lt-cam-pip canvas[b-xn7h138pfx] {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.lt-cam-pip.lt-cam-pip-top[b-xn7h138pfx] {
    width: min(32%, 170px);
}

/* GeoView users the camera recognises by position (live_traffic_vision.js WHO IT IS) - the community's purple. */
.lt-vision-matched[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b388ff;
}

/* PLAN RIDE always in sight (user, 2026-10-23): the button and the timetable line under it stay at the bottom of the
   PLAN tab (its panel, .dstool-tab-panel, is what scrolls) while the groups above scroll beneath them. margin-top: auto
   puts them at the bottom also when the groups are short; the negative side/bottom margins reach .pt-plan's padding. */
.pt-plan-actions[b-xn7h138pfx] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: auto -10px -8px;
    padding: 8px 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--mud-palette-surface);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.18);
}

/* THE OPENING SCREEN ON A PHONE (user, 2026-10-29: "Remove unnecessary text lines, to save vertical space. Give the
   locations listview that extra vertical space to extend into"): the buttons say what they are without their labels
   (the groups' icons and titles stay - user, 2026-10-29); the GPS line shows only while something is wrong (no fix yet, refused, unavailable), the
   timetable line only until the timetable is in (it is why PLAN RIDE is still greyed). With MY PLACES open (folded by
   default - user, 2026-10-28), the WHERE group stretches down to PLAN RIDE, the list with it; folded, no empty box. */
body[data-display-mode="PHONE"] .pt-plan[b-xn7h138pfx] {
    min-height: 100%;
}

body[data-display-mode="PHONE"] .pt-plan .lt-transport-label[b-xn7h138pfx],
body[data-display-mode="PHONE"] .pt-plan .pt-feed-status[data-status="gps"][b-xn7h138pfx],
body[data-display-mode="PHONE"] .pt-plan-actions > .pt-feed-status[data-loaded="yes"][b-xn7h138pfx] {
    display: none;
}

body[data-display-mode="PHONE"] .pt-plan .pt-group.where:has(> .pt-places.open)[b-xn7h138pfx] {
    flex: 1 0 auto;
}

body[data-display-mode="PHONE"] .pt-plan .pt-group.where > .pt-places.open[b-xn7h138pfx] {
    flex: 1 0 auto;
}

/* WARNINGS tab (LiveTrafficToolComp.RouteDeviation.cs): DEBUG MODE's readout and the warnings said lately */
.lt-deviation-readout[b-xn7h138pfx] {
    font: 12.5px/1.5 Roboto, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lt-deviation-readout.alarm[b-xn7h138pfx] {
    border-color: #ff5252;
}

/* THE WARNINGS TAB for GeoSmart members only (LiveTrafficToolComp IsStaff): its header hidden for everyone else. */
[b-xn7h138pfx] .lt-tab-staff-only {
    display: none !important;
}

/* THE WARNINGS SAID LATELY scroll in their own box (user, 2026-11-09: "The warning list view refuses to scroll down, and the
   save and replay buttons are not reachable") - the recording's buttons above it stay in reach. */
.lt-deviation-log[b-xn7h138pfx] {
    max-height: 45vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* (user, 2026-11-10: "should have a vertical scroll bar") - a bar always drawn, also in the phone's WebView (overlay bars
   otherwise show only while moving); the recording's analysis scrolls in its own box too. */
.lt-deviation-log[b-xn7h138pfx],
.lt-deviation-readout.scroll[b-xn7h138pfx] {
    scrollbar-width: thin;
    scrollbar-color: var(--mud-palette-primary) rgba(255, 255, 255, 0.08);
}

.lt-deviation-readout.scroll[b-xn7h138pfx] {
    max-height: 30vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-top: 6px;
}

.lt-deviation-log[b-xn7h138pfx]::-webkit-scrollbar,
.lt-deviation-readout.scroll[b-xn7h138pfx]::-webkit-scrollbar {
    width: 6px;
}

.lt-deviation-log[b-xn7h138pfx]::-webkit-scrollbar-thumb,
.lt-deviation-readout.scroll[b-xn7h138pfx]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-primary);
    border-radius: 3px;
}

.lt-deviation-log[b-xn7h138pfx]::-webkit-scrollbar-track,
.lt-deviation-readout.scroll[b-xn7h138pfx]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}

.lt-deviation-log-row[b-xn7h138pfx] {
    font-size: 12.5px;
    line-height: 1.4;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lt-deviation-time[b-xn7h138pfx] {
    opacity: 0.65;
    font-variant-numeric: tabular-nums;
    margin-inline-end: 4px;
}

.lt-deviation-actions[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* HOW HE TRAVELS, DETECTED (LiveTrafficToolComp.TravelChange.cs): the question over every panel, at the top. */
/* THE PROGRESS BAR (LiveTrafficToolComp.DrivingSide.cs): the road data's download, over every panel at the top */
.lt-road-progress[b-xn7h138pfx] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(440px, calc(100vw - 24px));
    z-index: 2090;
    background: #1f2235;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
    padding: 10px 14px 9px;
    pointer-events: none;
}

.lt-road-progress-title[b-xn7h138pfx] {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 7px;
}

.lt-road-progress-detail[b-xn7h138pfx] {
    font-size: 12.5px;
    opacity: 0.85;
    margin-top: 6px;
    text-align: center;
}

.lt-road-progress.is-failed .lt-road-progress-title[b-xn7h138pfx] {
    color: #ffb4b4;
}

/* THE MESSAGE CARDS' column - at the top of the screen, one under the other (user, 2026-11-23: never over the lower map,
   where his own vehicle is) */
.lt-top-cards[b-xn7h138pfx] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 56px);
    left: 50%;
    transform: translateX(-50%);
    width: min(440px, calc(100vw - 24px));
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.lt-travel-ask[b-xn7h138pfx] {
    pointer-events: auto;
    background: #1f2235;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    padding: 14px 16px 10px;
}

.lt-stop-notice[b-xn7h138pfx] {
    border: 2px solid #00bcd4;
}

/* THE ACCIDENT CHECK card (the rear-end crash scenario) - red, at the top like a travel question */
.lt-accident-ask[b-xn7h138pfx] {
    border: 2px solid #ff5252;
}

.lt-accident-ask .lt-travel-ask-head[b-xn7h138pfx] {
    color: #ff8a80;
}

.lt-accident-round[b-xn7h138pfx] {
    margin-inline-start: auto;
    font-weight: 700;
    color: #ffffff;
}

.lt-accident-line[b-xn7h138pfx] {
    font-size: 13px;
    color: #ffcc80;
}

.lt-stop-notice .lt-travel-ask-head[b-xn7h138pfx] {
    color: #4dd0e1;
}

.lt-travel-ask-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd54f;
}

.lt-travel-ask-title[b-xn7h138pfx] {
    font-weight: 700;
    font-size: 0.95rem;
}

.lt-travel-ask-text[b-xn7h138pfx] {
    margin: 8px 0 12px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.lt-travel-ask-buttons[b-xn7h138pfx] {
    display: flex;
    gap: 10px;
}

/* YES ON THE RIGHT (user, 2026-11-26: "place the Yes button to the right of the No button, because most people are right
   handed"): Yes is first in the markup - on the right in Hebrew by itself, turned round in English */
.lt-travel-ask[dir=ltr] .lt-travel-ask-buttons[b-xn7h138pfx] {
    flex-direction: row-reverse;
}

/* YES, THE DEFAULT, BIGGER (user, 2026-11-26): twice No's width and a little taller - easy for the thumb while walking or
   driving; No stays a full-height target */
.lt-travel-ask-buttons .lt-travel-yes[b-xn7h138pfx] {
    flex: 2 1 0;
    min-height: 56px;
    font-size: 1.15rem;
}

.lt-travel-ask-buttons button[b-xn7h138pfx] {
    flex: 1 1 0;
    min-height: 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

/* Yes fills up (white over green) toward the answer taken when the countdown ends. */
.lt-travel-yes[b-xn7h138pfx] {
    position: relative;
    overflow: hidden;
    background: #2e7d32;
    color: #ffffff;
}

/* THE TIMED BUTTON'S FILL, FLUENT (user, 2026-11-28: "Make sure the timer progressing is fluent"): grown by a transform
   (scaleX - run by the GPU, no layout) rather than by its width (laid out again on every frame, so it stuttered while the
   map drew). */
.lt-travel-fill[b-xn7h138pfx] {
    position: absolute;
    inset: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
    animation-name: lt-travel-fill-b-xn7h138pfx;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

[dir="rtl"] .lt-travel-fill[b-xn7h138pfx] {
    transform-origin: right center;
}

.lt-travel-label[b-xn7h138pfx] {
    position: relative;
}

@keyframes lt-travel-fill-b-xn7h138pfx {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.lt-travel-no[b-xn7h138pfx] {
    background: #455a64;
    color: #ffffff;
}

.lt-travel-ask-hint[b-xn7h138pfx] {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #b0b6cc;
    text-align: center;
}

/* THE WARNINGS' SWITCHES (LiveTrafficToolComp.WarningToggles.cs): animation | name | ? | switch. */
.lt-wtoggle[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lt-wtoggle:last-child[b-xn7h138pfx] {
    border-bottom: none;
}

.lt-wanim[b-xn7h138pfx] {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    border-radius: 10px;
    overflow: hidden;
    transition: filter 0.2s, opacity 0.2s;
}

.lt-wtoggle.off .lt-wanim[b-xn7h138pfx] {
    filter: grayscale(1);
    opacity: 0.45;
}

.lt-wtoggle-label[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.95rem;
}

.lt-wtoggle.disabled .lt-wtoggle-label[b-xn7h138pfx] {
    opacity: 0.5;
}

.lt-switch[b-xn7h138pfx] {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 30px;
    border: none;
    border-radius: 15px;
    background: #5c6378;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.lt-switch[aria-checked="true"][b-xn7h138pfx] {
    background: #2e7d32;
}

.lt-switch:disabled[b-xn7h138pfx] {
    cursor: default;
    opacity: 0.45;
}

.lt-switch-knob[b-xn7h138pfx] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}

.lt-switch[aria-checked="true"] .lt-switch-knob[b-xn7h138pfx] {
    transform: translateX(22px);
}

[dir="rtl"] .lt-switch-knob[b-xn7h138pfx] {
    left: auto;
    right: 3px;
}

[dir="rtl"] .lt-switch[aria-checked="true"] .lt-switch-knob[b-xn7h138pfx] {
    transform: translateX(-22px);
}

/* THE NETWORKS TAB (LiveTrafficToolComp.Networks.cs): the two views' buttons, the map, the view's explanations. */
.lt-networks[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    height: 100%;
    box-sizing: border-box;
}

.lt-networks-views[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
}

.lt-networks-view[b-xn7h138pfx] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 18px;
    border: 1px solid var(--mud-palette-lines-default);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: 500 13px/1.2 Roboto, Arial, sans-serif;
    cursor: pointer;
}

.lt-networks-view.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.lt-networks-map[b-xn7h138pfx] {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #0e1b30;
}

.lt-networks-info[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.lt-networks-big[b-xn7h138pfx] {
    font-size: 16px;
    font-weight: 700;
}

.lt-networks-tag[b-xn7h138pfx] {
    margin-inline-start: 8px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.lt-networks-idea[b-xn7h138pfx] {
    font-weight: 500;
}

.lt-networks-counts[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lt-networks-counts span[b-xn7h138pfx] {
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--mud-palette-background-gray);
}

.lt-networks-counts span.near b[b-xn7h138pfx] {
    color: #16a34a;
}

.lt-networks-counts span.friend b[b-xn7h138pfx] {
    color: #2563eb;
}

.lt-networks-points[b-xn7h138pfx] {
    margin: 0;
    padding-inline-start: 18px;
}

/* The view's explanations behind an expander (closed): the numbers and the legend stay in sight. */
.lt-networks-more summary[b-xn7h138pfx] {
    cursor: pointer;
    font-size: 12px;
    color: var(--mud-palette-primary);
}

.lt-networks-more > * + *[b-xn7h138pfx] {
    margin-top: 6px;
}

.lt-networks-legend[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

.lt-networks-legend i[b-xn7h138pfx] {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-inline-end: 4px;
    border-radius: 50%;
    vertical-align: -1px;
    border: 1px solid #0a1220;
}

.lt-networks-legend i.cell[b-xn7h138pfx] {
    border-radius: 2px;
    background: rgba(34, 211, 238, 0.35);
    border-color: #22d3ee;
}

/* ---------------------------------------------------------------------------------------------------------------------
   THE SEARCH (LiveTrafficToolComp.Search.cs - user, 2026-11-12: "Add a search button to the bottom right corner of the
   map (to the left of the navigation button) which opens a tab to enter a destination, using a Waze like interface"):
   the round magnifier beside the compass, and its sheet - over the whole map, or over its lower half while a
   category's places are shown on the map above it. Light, rounded, large rows to press while stopped.
   --------------------------------------------------------------------------------------------------------------------- */
/* (above the navigation compass since 2026-11-28 - user: "Move the lower right 'Search' button above the 'Navigation' lower
   right button": the compass is 48 px at right 12 px, bottom 34 px - 12 px on the vector map; hidden while its panel is open) */
.lt-search-fab[b-xn7h138pfx] {
    position: absolute;
    right: 12px;
    bottom: 94px;
    z-index: 7;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.pt-topmap-wrap.vector .lt-search-fab[b-xn7h138pfx] {
    bottom: 72px;
}

.pt-topmap-wrap.sim-on .lt-search-fab[b-xn7h138pfx] {
    bottom: 212px;
}

/* THE NAVIGATION PANEL OPEN (the compass pressed): the search button hidden until it closes (user, 2026-11-28: "Pressing the
   'Navigation' button will show the navigation panel and temporarily hide the Search button") */
.pt-topmap-wrap:has(.gv-campad--open) .lt-search-fab[b-xn7h138pfx] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.lt-search-sheet[b-xn7h138pfx] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #111827;
    font-family: var(--mud-typography-default-family, sans-serif);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

/* SLIDING (user, 2026-11-13 - see SearchSheet): up from the foot when made, down while closing; between the full and
   the half sheet it moves down / up (always the map's full height, the half one translated 48% down with its view in
   its upper 52%), and each view fades in a little way up. Transform and opacity only - nothing laid out again while it
   moves (moving its top re-laid the sheet out every frame, and on a phone the end of it jumped). */
.lt-search-sheet[b-xn7h138pfx] {
    top: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(0);
    will-change: transform;
    animation: lt-search-up-b-xn7h138pfx 360ms cubic-bezier(0.22, 0.9, 0.3, 1) backwards;
    transition: transform 360ms cubic-bezier(0.33, 0, 0.2, 1), border-radius 360ms ease;
}

.lt-search-sheet.full[b-xn7h138pfx] {
    padding-top: 10px;
}

.lt-search-sheet.half[b-xn7h138pfx] {
    transform: translateY(48%);
    border-radius: 20px 20px 0 0;
}

.lt-search-sheet.half .lt-search-view[b-xn7h138pfx] {
    flex: none;
    height: 52%;
}

/* (from wherever it is - the full or the half sheet - down out of sight) */
.lt-search-sheet.closing[b-xn7h138pfx] {
    animation: lt-search-down-b-xn7h138pfx 300ms cubic-bezier(0.4, 0, 0.7, 0.2) forwards;
    pointer-events: none;
}

@keyframes lt-search-up-b-xn7h138pfx {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes lt-search-down-b-xn7h138pfx {
    to { transform: translateY(100%); }
}

/* (the phone's Back presses it - window.gvBack, public_transport_tool_cesium_helper.js) */
.lt-search-hide[b-xn7h138pfx] { display: none; }

.lt-search-view[b-xn7h138pfx] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    animation: lt-search-view-in-b-xn7h138pfx 300ms ease-out both;
}

@keyframes lt-search-view-in-b-xn7h138pfx {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .lt-search-sheet[b-xn7h138pfx],
    .lt-search-sheet.closing[b-xn7h138pfx],
    .lt-search-view[b-xn7h138pfx] {
        animation: none;
        transition: none;
    }
}

.lt-search-grip[b-xn7h138pfx] {
    width: 44px;
    height: 5px;
    margin: 8px auto 2px;
    border-radius: 3px;
    background: #9ca3af;
}

.lt-search-warn[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 12px 8px;
    color: #dc2626;
    font-weight: 800;
    font-size: 1.1rem;
}

.lt-search-box[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 14px 10px;
    padding: 4px 8px;
    border-radius: 28px;
    background: #f1f3f6;
}

.lt-search-input[b-xn7h138pfx] {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 1.15rem;
}

.lt-search-input[b-xn7h138pfx]::placeholder {
    color: #6b7280;
}

.lt-search-input[b-xn7h138pfx]::-webkit-search-cancel-button {
    display: none;
}

.lt-search-round[b-xn7h138pfx] {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f1f3f6;
    color: #1f2937;
    cursor: pointer;
}

.lt-search-round.flat[b-xn7h138pfx] {
    background: transparent;
}

.lt-search-chips[b-xn7h138pfx] {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 14px 12px;
    scrollbar-width: none;
}

.lt-search-chips[b-xn7h138pfx]::-webkit-scrollbar {
    display: none;
}

.lt-search-chip[b-xn7h138pfx] {
    flex: 0 0 auto;
    min-width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    border: none;
    border-radius: 14px;
    background: #f1f3f6;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.lt-search-list[b-xn7h138pfx] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 6px 16px;
}

.lt-search-section[b-xn7h138pfx] {
    padding: 18px 12px 6px;
    color: #4b5563;
    font-size: 1rem;
}

.lt-search-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.lt-search-row.sel[b-xn7h138pfx] {
    background: #eef4ff;
}

.lt-search-row-main[b-xn7h138pfx] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 10px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    color: inherit;
    text-align: start;
    cursor: pointer;
}

.lt-search-row .lt-search-row-main[b-xn7h138pfx] {
    border-bottom: none;
}

[b-xn7h138pfx] .lt-search-row-icon {
    flex: 0 0 auto;
    color: #4b5563;
}

[b-xn7h138pfx] .lt-search-row-icon.home {
    color: #e65100;
}

[b-xn7h138pfx] .lt-search-row-icon.work {
    color: #8d4004;
}

[b-xn7h138pfx] .lt-search-row-icon.add {
    color: #1e88e5;
}

.lt-search-text[b-xn7h138pfx] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lt-search-name[b-xn7h138pfx] {
    font-size: 1.05rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-search-name.big[b-xn7h138pfx] {
    font-size: 1.2rem;
}

.lt-search-address[b-xn7h138pfx] {
    color: #4b5563;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-search-dist[b-xn7h138pfx] {
    flex: 0 0 auto;
    color: #4b5563;
    font-size: 0.9rem;
}

.lt-search-tags[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lt-search-tag[b-xn7h138pfx] {
    padding: 2px 8px;
    border-radius: 8px;
    background: #f1f3f6;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
}

.lt-search-tag.open[b-xn7h138pfx] {
    background: #e8f5e9;
    color: #1b7f3b;
}

.lt-search-tag.closed[b-xn7h138pfx] {
    background: #fdecec;
    color: #c62828;
}

.lt-search-num[b-xn7h138pfx] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
}

.lt-search-go[b-xn7h138pfx] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 8px;
    padding: 8px 12px;
    border: none;
    border-radius: 18px;
    background: #1e88e5;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.lt-search-cat-head[b-xn7h138pfx],
.lt-search-top[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 8px;
}

.lt-search-cat-title[b-xn7h138pfx],
.lt-search-page-title[b-xn7h138pfx] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
}

.lt-search-page-title.small[b-xn7h138pfx] {
    flex: none;
    padding: 0 18px 4px;
    font-size: 1.1rem;
}

.lt-search-empty[b-xn7h138pfx] {
    padding: 18px 12px;
    color: #6b7280;
    text-align: center;
}

.lt-experimental-note[b-xn7h138pfx] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
}

/* ONLY TWO BUTTONS AT THE LOWER RIGHT (user, 2026-11-12: "The bottom right corner of the map should contain only 2 buttons
   ... The search and navigation buttons should be equal size. The search button should be magenta, and the navigation
   button - purple"): the search (48 px, magenta) and the compass (cesium_camera_pad.js .gv-campad-toggle, 48 px, purple).
   The 2D / 3D button is hidden - its switch is in the compass panel (public_transport_tool_cesium_helper.js THE 2D / 3D
   IN THE COMPASS PANEL); the microphone shows over the map only while it listens or thinks, at the bottom centre. */
.pt-topmap-wrap .lt-mode-toggle[b-xn7h138pfx] {
    display: none;
}

.pt-topmap-wrap .lt-search-fab[b-xn7h138pfx] {
    background: #d81b9c;
    color: #ffffff;
}

.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-toggle,
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad--open .gv-campad-toggle {
    background: #6a1b9a;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad--open .gv-campad-toggle {
    background: #8e24aa;
}

.pt-topmap-wrap .lt-voice-top[b-xn7h138pfx] {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.pt-topmap-wrap .lt-voice-top .lt-voice-heard[b-xn7h138pfx] {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.lt-search-mic[b-xn7h138pfx] {
    color: #d81b9c;
}

/* ZOOM TO USER AND ZOOM TO ROUTE (user, 2026-11-12): the hidden buttons the compass panel presses (TopMapCameraProxies); */
/* its row under 2D / 3D, "zoom to route" dimmed with no route. */
.pt-topmap-wrap .lt-cam-proxy[b-xn7h138pfx] { display: none; }
.pt-topmap-wrap[b-xn7h138pfx]  .lt-pad-camrow { margin-top: 4px; }
.pt-topmap-wrap[b-xn7h138pfx]  .lt-pad-camrow .gv-campad-modeseg { white-space: normal; line-height: 1.15; }
.pt-topmap-wrap[b-xn7h138pfx]  .lt-pad-camrow .gv-campad-modeseg:disabled { opacity: 0.38; cursor: default; background: transparent; }

/* THE UPPER LEFT BUTTON LIKE THE LOWER RIGHT ONES (user, 2026-11-12: "Make the upper left button, in cyan color, and in same
   size as bottom right buttons. It should open to the right and reveal other menu buttons"): 48 px, cyan, the same white
   rim and shadow; the row it opens slides out to its right as separate round buttons of the same size. */
.pt-topmap-tools-toggle[b-xn7h138pfx] {
    top: 10px;
    left: 10px;
    width: 48px;
    height: 48px;
    background: #00acc1;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.pt-topmap-tools-toggle.open[b-xn7h138pfx] {
    background: #00838f;
}

.pt-topmap-tools-toggle[b-xn7h138pfx]  .mud-icon-root {
    font-size: 26px;
}

/* THE ARROW BUTTON (user, 2026-11-28: "Add to the map top part a button with an arrow pointing downwards, that when pressed
   expands the top tab headers using animation. When tab headers are extended the arrow should point upwards"): the headers
   above the map shown / folded - at the map's top right, the upper left button's mirror (48 px, cyan, white rim). Its arrow
   points down while they are folded (data-open 0 - live_traffic_map_chrome.js) and turns up, animated with the fold, while
   they are shown (data-open 1, or not set yet - shown at the start). Out of the way while the row of controls is open (the row runs to the map's right edge). */
.lt-chrome-toggle[b-xn7h138pfx] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: #00acc1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0s;
}

.lt-chrome-toggle[b-xn7h138pfx]  .mud-icon-root {
    font-size: 32px;
    transition: rotate 0.38s cubic-bezier(0.33, 0, 0.2, 1);
}

.lt-chrome-toggle:not([data-open="0"])[b-xn7h138pfx] {
    background: #00838f;
}

.lt-chrome-toggle:not([data-open="0"])[b-xn7h138pfx]  .mud-icon-root {
    rotate: 180deg;
}

.lt-chrome-toggle:active[b-xn7h138pfx] {
    transform: scale(0.92);
}

.pt-topmap-wrap.tools-open .lt-chrome-toggle[b-xn7h138pfx] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.pt-topmap-tools[b-xn7h138pfx] {
    top: 10px;
    left: 66px;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.pt-topmap-tools .pt-tool-sep[b-xn7h138pfx] {
    display: none;
}

.pt-topmap-tools[b-xn7h138pfx]  .mud-icon-button,
.pt-topmap-tools .pt-tool-btn[b-xn7h138pfx],
.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit-button"] {
    width: 48px !important;
    min-width: 48px;
    height: 48px !important;
    padding: 0;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    background: rgba(20, 24, 36, 0.88) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit"] {
    width: 48px !important;
    height: 48px !important;
}

.pt-topmap-tools[b-xn7h138pfx]  .pt-topmap-simulate {
    background: var(--mud-palette-secondary) !important;
}

.pt-topmap-tools[b-xn7h138pfx]  .pt-topmap-simulate.mud-disabled {
    opacity: 0.5;
}

.pt-topmap-tools[b-xn7h138pfx]  .mud-icon-button .mud-icon-root,
.pt-topmap-tools .pt-tool-btn[b-xn7h138pfx]  .mud-icon-root {
    font-size: 26px;
}

.pt-topmap-tools[b-xn7h138pfx]  [data-testid="lt-vector-credit-button"] svg {
    width: 26px;
    height: 26px;
}

/* THE COMPASS PANEL'S SIZES (user, 2026-11-12: "Make all mode switching buttons in navigation panel - taller. Make The
   navigation direction buttons - smaller"): every switch's segments (2D | 3D, zoom to user | route, position | attitude,
   relative | absolute) 40 px tall and a little larger in type; the direction cross 34 px buttons in place of 44 px
   (cesium_camera_pad.js .gv-campad-cross). This tool only - the other tools' pads keep their sizes. */
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-modeseg,
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-frameswitch .gv-campad-modeseg {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 13px;
}
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-cross {
    grid-template-columns: auto repeat(3, 34px) auto;
    grid-template-rows: auto repeat(3, 34px) auto;
}
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-cross .gv-campad-btn {
    min-width: 32px;
    min-height: 32px;
    border-radius: 10px;
}
.pt-topmap-wrap[b-xn7h138pfx]  .gv-campad-cross .gv-campad-btn svg {
    width: 16px;
    height: 16px;
}

/* THE SETTINGS' INNER TABS SCROLL ON THEIR OWN (user, 2026-11-12: "All Settings inner tabs (Common, Advanced, Experimental)
   should have a vertical scrollbar to scroll the warning listview up and down"). A tab panel's div never shrinks below its
   content (flex 1 0 auto above), so a nested tab control grew to its whole list and the OUTER panel scrolled it - the inner
   tab headers scrolled away with it, or the list was cut off. The panel that holds the SETTINGS / WARNINGS tab control is
   held to its panel's height instead, so the inner .dstool-tab-panel is what scrolls, under headers that stay put. */
[b-xn7h138pfx] .dstool-tab-panel > div:has(> .lt-settings-tabs),
[b-xn7h138pfx] .dstool-tab-panel > div:has(> .lt-warnings-tabs),
[b-xn7h138pfx] .dstool-tab-panel > div:has(> .lt-learning-tabs),
[b-xn7h138pfx] .dstool-tab-panel > div:has(> .lt-game.playing) {
    flex: 1 1 0;
    min-height: 0;
}

[b-xn7h138pfx] .lt-warnings-tabs > .mud-tabs-panels {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/* ================================================================= */
/*        FRIENDS tab, chat and the call bar (LiveTrafficToolComp.Friends.cs) */
/* ================================================================= */
.lt-friends[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    height: 100%;
    min-height: 0;
}

.lt-friends-share[b-xn7h138pfx] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 10px;
    background: var(--mud-palette-background-gray);
    cursor: pointer;
}

.lt-friends-share input[b-xn7h138pfx] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--mud-palette-primary);
    flex: 0 0 auto;
}

.lt-friends-share span[b-xn7h138pfx], .lt-friend-text[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lt-friends-share small[b-xn7h138pfx], .lt-friend-text small[b-xn7h138pfx] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
}

.lt-friend-text small.seen[b-xn7h138pfx] {
    color: var(--mud-palette-success-darken);
}

.lt-friends-search[b-xn7h138pfx], .lt-chat-input[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* The people search and the message box: as tall and as large as the address search (.lt-search-input) - typed on a
   phone, the 28 px / 0.8rem form field was too small (user 2026-11-24). */
.lt-friends-search input.pt-input[b-xn7h138pfx], input.pt-input.lt-chat-text[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: 22px;
    font-size: 1.15rem;
}

.lt-friends-search input.pt-input[b-xn7h138pfx]::placeholder, input.pt-input.lt-chat-text[b-xn7h138pfx]::placeholder {
    color: #6b7280;
}

/* FRIEND CATEGORIES ON THE MAP in a panel of their own, collapsed by default (user, 2026-11-28); it opens and closes with
   an animation where the browser can (::details-content - Chrome 131, the Android WebView), at once elsewhere. */
.lt-friends-mapfilter-panel[b-xn7h138pfx] {
    margin: 4px 0 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    interpolate-size: allow-keywords;
}

.lt-friends-mapfilter-panel > summary[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mud-palette-text-primary);
}

.lt-friends-mapfilter-panel > summary[b-xn7h138pfx]::-webkit-details-marker {
    display: none;
}

.lt-friends-mapfilter-panel > summary[b-xn7h138pfx]  .lt-friends-mapfilter-chevron {
    margin-inline-start: auto;
    transition: rotate 0.25s ease;
}

.lt-friends-mapfilter-panel[open] > summary[b-xn7h138pfx]  .lt-friends-mapfilter-chevron {
    rotate: 180deg;
}

.lt-friends-mapfilter-panel[b-xn7h138pfx]::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
}

.lt-friends-mapfilter-panel[open][b-xn7h138pfx]::details-content {
    block-size: auto;
}

/* the categories' checkboxes, wrapped */
.lt-friends-mapfilter[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 0 12px 12px;
    font-size: 0.85rem;
}

.lt-friends-mapfilter-title[b-xn7h138pfx] {
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.lt-friends-mapfilter-box[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.lt-friends-mapfilter-box input[b-xn7h138pfx] {
    width: 16px;
    height: 16px;
    accent-color: var(--mud-palette-primary);
}

/* A friend's categories as words under his name (chosen in his edit form) */
.lt-friend-cats-line[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

/* THE EDIT FORM: a window over the tool - under MudBlazor's popovers (1200), so its combo box's list opens over it */
.lt-friend-edit-backdrop[b-xn7h138pfx] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.45);
}

.lt-friend-edit[b-xn7h138pfx] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1101;
    transform: translate(-50%, -50%);
    width: min(360px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 16px;
    border-radius: 16px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.lt-friend-edit[b-xn7h138pfx]  .lt-friend-edit-close {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
}

.lt-friend-edit-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-friend-edit-name[b-xn7h138pfx] {
    font-size: 1.1rem;
    font-weight: 700;
}

/* THE EDIT FORM's photo and names (user, 2026-11-28): scrolls when the phone's keyboard leaves it little room */
.lt-friend-edit[b-xn7h138pfx] {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.lt-friend-edit-headtext[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lt-friend-edit-photo-actions[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lt-friend-edit-photo-btn[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    border: 1px solid var(--mud-palette-primary);
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.lt-friend-edit-photo-btn input[type="file"][b-xn7h138pfx] {
    display: none;
}

.lt-friend-edit-note[b-xn7h138pfx] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.lt-friend-edit-names[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lt-friend-edit-names .pt-input[b-xn7h138pfx] {
    min-width: 0;
}

.lt-friend-edit-label[b-xn7h138pfx] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* (its text the whole width - MudSelect's input took 91 px and clipped "Family, Neighbors" to "Family, N") */
.lt-friend-edit[b-xn7h138pfx]  .lt-friend-cats .mud-input {
    width: 100%;
}

/* (MudSelect's empty value slot beside its input - 100 px of nothing that squeezed the text) */
.lt-friend-edit[b-xn7h138pfx]  .lt-friend-cats div.mud-input-slot {
    /* (MudBlazor gives it style="display:none", but a theme rule forces display:flex with !important) */
    display: none !important;
}

.lt-friend-edit[b-xn7h138pfx]  .lt-friend-cats input.mud-select-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0;
    font-size: 0.9rem;
    text-overflow: ellipsis;
}

.lt-friends-section[b-xn7h138pfx] {
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.lt-friends-empty[b-xn7h138pfx], .lt-friends-status[b-xn7h138pfx] {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    padding: 4px 2px;
}

.lt-friends-status[b-xn7h138pfx] {
    color: var(--mud-palette-primary);
}

.lt-friend-row[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* THE FRIENDS AS CARDS (user, 2026-11-24): a vertical list of cards - each friend's face, name, where he is, his
   categories and his buttons on a raised surface; search hits and requests (.lt-friend-row) look the same. */
.lt-friend-cards[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lt-friend-row[b-xn7h138pfx] {
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.lt-friend-card[b-xn7h138pfx] {
    align-items: flex-start;
    flex-wrap: wrap;
}

/* THE ROUND BUTTONS (user, 2026-11-28): a row of their own under his name, at the card's end */
.lt-friend-card .lt-friend-actions[b-xn7h138pfx] {
    flex: 1 0 100%;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.lt-friend-btn[b-xn7h138pfx] {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.lt-friend-btn[b-xn7h138pfx]  .mud-icon-root {
    font-size: 24px;
}

.lt-friend-btn:active[b-xn7h138pfx] {
    transform: scale(0.92);
}

.lt-friend-btn.edit[b-xn7h138pfx] { background: #5c6bc0; }
.lt-friend-btn.map[b-xn7h138pfx] { background: #00897b; }
.lt-friend-btn.chat[b-xn7h138pfx] { background: #1e88e5; }
.lt-friend-btn.call[b-xn7h138pfx] { background: #2e7d32; }

.lt-friend-btn:disabled[b-xn7h138pfx] {
    background: #4b5060;
    color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
    cursor: default;
}

.lt-friend-row.incoming[b-xn7h138pfx] {
    background: var(--mud-palette-background-gray);
    border-radius: 8px;
}

.lt-friend-row .lt-friend-text[b-xn7h138pfx] {
    flex: 1 1 auto;
}

.lt-friend-row .lt-friend-text b[b-xn7h138pfx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-friend-avatar[b-xn7h138pfx] {
    position: relative;
    flex: 0 0 auto;
}

.lt-friend-online[b-xn7h138pfx] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--mud-palette-success);
    border: 2px solid var(--mud-palette-surface);
}

.lt-friend-actions[b-xn7h138pfx] {
    display: flex;
    flex: 0 0 auto;
}

.lt-friend-tag[b-xn7h138pfx] {
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

.lt-chat[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    gap: 6px;
}

.lt-chat-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding-bottom: 6px;
}

.lt-chat-name[b-xn7h138pfx] {
    flex: 1 1 auto;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-chat-messages[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 2px;
}

.lt-msg[b-xn7h138pfx] {
    max-width: 82%;
    padding: 6px 10px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    word-break: break-word;
}

.lt-msg.mine[b-xn7h138pfx] {
    align-self: flex-end;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-end-end-radius: 4px;
}

.lt-msg.theirs[b-xn7h138pfx] {
    align-self: flex-start;
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-primary);
    border-end-start-radius: 4px;
}

.lt-msg-time[b-xn7h138pfx] {
    font-size: 0.68rem;
    opacity: 0.75;
    align-self: flex-end;
}

.lt-voice-msg[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.lt-recording[b-xn7h138pfx] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-error);
    font-weight: 600;
}

.lt-recording .dot[b-xn7h138pfx] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mud-palette-error);
    animation: lt-rec-blink-b-xn7h138pfx 1s infinite;
}

@keyframes lt-rec-blink-b-xn7h138pfx {
    50% { opacity: 0.2; }
}

.lt-callbar[b-xn7h138pfx] {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    width: min(420px, calc(100vw - 16px));
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #1b5e20;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.lt-callbar.incoming[b-xn7h138pfx] {
    background: #0d47a1;
    animation: lt-call-pulse-b-xn7h138pfx 1.2s infinite;
}

@keyframes lt-call-pulse-b-xn7h138pfx {
    50% { box-shadow: 0 6px 32px rgba(13, 71, 161, 0.9); }
}

.lt-callbar-text[b-xn7h138pfx] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lt-callbar-text b[b-xn7h138pfx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-callbar-text small[b-xn7h138pfx] {
    opacity: 0.85;
}

/* THE LEARNING TAB (user, 2026-11-24): the country's signs by category (the safety-critical first) and the game. */
.lt-learn[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.lt-learn-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.lt-learn-title[b-xn7h138pfx] {
    font-size: 1.05rem;
    font-weight: 600;
}

.lt-learn-note[b-xn7h138pfx] {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.lt-learn-cat[b-xn7h138pfx] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
    padding: 6px 10px;
}

.lt-learn-cat.critical[b-xn7h138pfx] {
    border-color: var(--mud-palette-error);
}

.lt-learn-cat > summary[b-xn7h138pfx] {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 4px 0;
    list-style: none;
}

.lt-learn-cat-count[b-xn7h138pfx] {
    margin-inline-start: auto;
    font-size: 0.8rem;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--mud-palette-action-default-hover);
}

.lt-learn-grid[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    padding: 8px 0 4px;
}

.lt-learn-sign[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 10px;
    background: var(--mud-palette-background);
}

.lt-learn-sign img[b-xn7h138pfx] {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.lt-learn-sign-name[b-xn7h138pfx] {
    font-size: 0.78rem;
    line-height: 1.15;
}

.lt-learn-sign-code[b-xn7h138pfx] {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* THE GAME, PLAYFUL (user, 2026-11-26: "i want the Traffic Signs learning game, feel more like a Duolingo game, with playful and
   colorful animations"): its own palette, chunky "pressable" buttons and tiles (a thick bottom edge that sinks when pressed),
   the round's bar, the traffic-light mascot, the sheet sliding up with the verdict, streak / XP pops and the end's confetti. */
.lt-game[b-xn7h138pfx] {
    --g-green: #4cc73a;
    --g-green-dark: #379e2a;
    --g-red: #ff5a5a;
    --g-red-dark: #d63c3c;
    --g-blue: #29a8ef;
    --g-blue-dark: #1b84c2;
    --g-yellow: #ffc93c;
    --g-orange: #ff9a1f;
    --g-purple: #b77cff;
    --g-tile-edge: rgba(127, 127, 127, 0.35);
    position: relative;
    gap: 12px;
    overflow-x: hidden;
}

/* A ROUND HELD TO ITS PANEL (user, 2026-11-26: "the game screen lower part should not be hidden from view, because it
   contains the 'CONTINUE' button. make the screen lower part with an automatic vertical scroll-bar. and make the lower
   button always visible"): the bar on top and the footer stay; the middle (.lt-game-scroll) scrolls by itself. */
.lt-game.playing[b-xn7h138pfx] {
    flex: 1 1 0;
    min-height: 0;
    padding-bottom: 0;
}

/* (the round's end: its stars and stats scroll, Play again stays below) */
.lt-game.ended .lt-game-end[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.lt-game-scroll[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 2px 2px 8px;
}

/* ---- the chunky button ---- */
.lt-game-btn[b-xn7h138pfx] {
    border: none;
    border-radius: 16px;
    padding: 12px 22px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}

.lt-game-btn.green[b-xn7h138pfx] {
    background: var(--g-green);
    box-shadow: 0 4px 0 var(--g-green-dark);
}

.lt-game-btn.red[b-xn7h138pfx] {
    background: var(--g-red);
    box-shadow: 0 4px 0 var(--g-red-dark);
}

.lt-game-btn:active:not([disabled])[b-xn7h138pfx] {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
}

.lt-game-btn:hover:not([disabled])[b-xn7h138pfx] {
    filter: brightness(1.07);
}

.lt-game-btn[disabled][b-xn7h138pfx] {
    background: var(--mud-palette-action-disabled-background);
    color: var(--mud-palette-action-disabled);
    box-shadow: 0 4px 0 rgba(127, 127, 127, 0.25);
    cursor: default;
}

.lt-game-btn.big[b-xn7h138pfx] {
    min-width: 200px;
    min-height: 54px;
    font-size: 1.15rem;
}

.lt-game-btn.wide[b-xn7h138pfx] {
    width: 100%;
    min-height: 52px;
}

/* ---- the start ---- */
.lt-game-intro[b-xn7h138pfx],
.lt-game-end[b-xn7h138pfx] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 10px 24px;
}

.lt-game-intro-title[b-xn7h138pfx],
.lt-game-end-title[b-xn7h138pfx] {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--g-green), var(--g-blue), var(--g-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: lt-game-pop-b-xn7h138pfx 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.lt-game-intro-text[b-xn7h138pfx] {
    font-size: 1.05rem;
    max-width: 340px;
}

.lt-game-chips[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.lt-game-chip[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(127, 127, 127, 0.16);
    animation: lt-game-pop-b-xn7h138pfx 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.lt-game-chip.hearts[b-xn7h138pfx] {
    color: var(--g-red);
    background: rgba(255, 90, 90, 0.15);
}

.lt-game-chip.xp[b-xn7h138pfx] {
    color: var(--g-yellow);
    background: rgba(255, 201, 60, 0.15);
}

.lt-game-chip.best[b-xn7h138pfx] {
    color: var(--g-orange);
    background: rgba(255, 154, 31, 0.15);
}

.lt-game-chip.streak[b-xn7h138pfx] {
    color: var(--g-orange);
    background: rgba(255, 154, 31, 0.18);
}

.lt-game-chip.cat[b-xn7h138pfx] {
    color: var(--g-purple);
    background: rgba(183, 124, 255, 0.16);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lt-game-chip.cat.critical[b-xn7h138pfx] {
    color: var(--g-red);
    background: rgba(255, 90, 90, 0.16);
}

/* ---- the round's bar: quit, progress, hearts ---- */
.lt-game-top[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lt-game-quit[b-xn7h138pfx] {
    display: inline-flex;
    border: none;
    background: none;
    color: var(--mud-palette-text-secondary);
    padding: 4px;
    cursor: pointer;
    border-radius: 50%;
}

.lt-game-quit:hover[b-xn7h138pfx] {
    background: rgba(127, 127, 127, 0.15);
}

.lt-game-progress[b-xn7h138pfx] {
    flex: 1 1 auto;
    height: 16px;
    border-radius: 999px;
    background: rgba(127, 127, 127, 0.22);
    overflow: hidden;
}

.lt-game-progress i[b-xn7h138pfx] {
    position: relative;
    display: block;
    height: 100%;
    min-width: 16px;
    border-radius: 999px;
    background: var(--g-green);
    transition: width 0.55s cubic-bezier(0.3, 1.4, 0.5, 1);
}

/* (the bar's shine) */
.lt-game-progress i[b-xn7h138pfx]::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 3px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.lt-game-hearts[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    color: var(--g-red);
    font-size: 1.05rem;
}

.lt-game-heart[b-xn7h138pfx] {
    display: inline-block;
    animation: lt-game-beat-b-xn7h138pfx 1.6s ease-in-out infinite;
}

.lt-game-hearts.lost .lt-game-heart[b-xn7h138pfx] {
    animation: lt-game-heart-lost-b-xn7h138pfx 0.7s ease-out both;
}

.lt-game-meta[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lt-game-meta-end[b-xn7h138pfx] {
    display: inline-flex;
    gap: 6px;
}

.lt-game-q[b-xn7h138pfx] {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
}

/* ---- the mascot and its bubble ---- */
.lt-game-stage[b-xn7h138pfx] {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--g-tile-edge);
}

.lt-game-bubble[b-xn7h138pfx] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 26px;
    border: 2px solid var(--g-tile-edge);
    border-radius: 16px;
    background: var(--mud-palette-surface);
    animation: lt-game-pop-b-xn7h138pfx 0.45s 0.1s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

/* (the bubble's tail, toward the mascot) */
.lt-game-bubble[b-xn7h138pfx]::before {
    content: "";
    position: absolute;
    inset-inline-start: -9px;
    bottom: 18px;
    width: 14px;
    height: 14px;
    background: var(--mud-palette-surface);
    border-inline-start: 2px solid var(--g-tile-edge);
    border-bottom: 2px solid var(--g-tile-edge);
    transform: rotate(45deg);
}

[dir=rtl] .lt-game-bubble[b-xn7h138pfx]::before {
    transform: rotate(-45deg);
}

.lt-game-speak[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: none;
    border-radius: 50%;
    background: var(--g-blue);
    color: #fff;
    box-shadow: 0 3px 0 var(--g-blue-dark);
    cursor: pointer;
}

.lt-game-speak:active[b-xn7h138pfx] {
    transform: translateY(3px);
    box-shadow: none;
}

.lt-game-sign[b-xn7h138pfx] {
    width: 104px;
    height: 104px;
    object-fit: contain;
    animation: lt-game-wiggle-b-xn7h138pfx 2.8s 0.6s ease-in-out infinite;
}

.lt-game-bubble-text[b-xn7h138pfx] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--g-purple);
}

/* the traffic light */
.lt-mascot[b-xn7h138pfx] {
    position: relative;
    width: 58px;
    height: 128px;
    flex: 0 0 auto;
    transform-origin: 50% 100%;
    animation: lt-mascot-bob-b-xn7h138pfx 2.2s ease-in-out infinite;
}

.lt-mascot-body[b-xn7h138pfx] {
    position: absolute;
    left: 6px;
    top: 0;
    width: 46px;
    height: 104px;
    border-radius: 16px;
    background: linear-gradient(160deg, #3b4252, #232833);
    border: 3px solid #12151b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
    gap: 3px;
    z-index: 1;
}

.lt-mascot-eyes[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
    margin-bottom: 1px;
}

.lt-mascot-eyes b[b-xn7h138pfx] {
    width: 11px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    animation: lt-mascot-blink-b-xn7h138pfx 4s infinite;
}

.lt-mascot-eyes b[b-xn7h138pfx]::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 6px;
    border-radius: 50%;
    background: #111;
    left: 3px;
    top: 4px;
}

.lt-mascot-mouth[b-xn7h138pfx] {
    width: 14px;
    height: 6px;
    border: 3px solid #fff;
    border-top: none;
    border-radius: 0 0 14px 14px;
    margin-bottom: 3px;
}

.lt-mascot-lamp[b-xn7h138pfx] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    opacity: 0.25;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.lt-mascot-lamp.red[b-xn7h138pfx] {
    background: #ff4d4d;
}

.lt-mascot-lamp.amber[b-xn7h138pfx] {
    background: #ffc12e;
}

.lt-mascot-lamp.green[b-xn7h138pfx] {
    background: #3ee05a;
}

.lt-mascot-pole[b-xn7h138pfx] {
    position: absolute;
    left: 25px;
    bottom: 0;
    width: 8px;
    height: 28px;
    border-radius: 3px;
    background: #7b8494;
}

.lt-mascot-pole[b-xn7h138pfx]::after {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -2px;
    width: 28px;
    height: 6px;
    border-radius: 4px;
    background: #5d6573;
}

.lt-mascot-arm[b-xn7h138pfx] {
    position: absolute;
    top: 52px;
    width: 18px;
    height: 6px;
    border-radius: 3px;
    background: #12151b;
    transform-origin: 100% 50%;
}

.lt-mascot-arm.left[b-xn7h138pfx] {
    left: -8px;
    transform: rotate(-20deg);
}

.lt-mascot-arm.right[b-xn7h138pfx] {
    right: -8px;
    transform-origin: 0 50%;
    transform: rotate(20deg);
}

/* the moods: a lamp lit, arms and a face */
.lt-mascot.idle .lt-mascot-lamp.amber[b-xn7h138pfx],
.lt-mascot.wave .lt-mascot-lamp.green[b-xn7h138pfx],
.lt-mascot.happy .lt-mascot-lamp.green[b-xn7h138pfx],
.lt-mascot.cheer .lt-mascot-lamp.green[b-xn7h138pfx] {
    opacity: 1;
    box-shadow: 0 0 10px currentColor;
}

.lt-mascot.idle .lt-mascot-lamp.amber[b-xn7h138pfx] {
    color: #ffc12e;
}

.lt-mascot.wave .lt-mascot-lamp.green[b-xn7h138pfx],
.lt-mascot.happy .lt-mascot-lamp.green[b-xn7h138pfx],
.lt-mascot.cheer .lt-mascot-lamp.green[b-xn7h138pfx] {
    color: #3ee05a;
}

.lt-mascot.sad .lt-mascot-lamp.red[b-xn7h138pfx] {
    opacity: 1;
    color: #ff4d4d;
    box-shadow: 0 0 10px currentColor;
}

.lt-mascot.wave .lt-mascot-arm.right[b-xn7h138pfx] {
    animation: lt-mascot-wave-b-xn7h138pfx 0.9s ease-in-out infinite;
}

.lt-mascot.happy[b-xn7h138pfx] {
    animation: lt-mascot-hop-b-xn7h138pfx 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.lt-mascot.happy .lt-mascot-arm.left[b-xn7h138pfx],
.lt-mascot.cheer .lt-mascot-arm.left[b-xn7h138pfx] {
    transform: rotate(40deg);
}

.lt-mascot.happy .lt-mascot-arm.right[b-xn7h138pfx],
.lt-mascot.cheer .lt-mascot-arm.right[b-xn7h138pfx] {
    transform: rotate(-40deg);
}

.lt-mascot.happy .lt-mascot-mouth[b-xn7h138pfx],
.lt-mascot.cheer .lt-mascot-mouth[b-xn7h138pfx],
.lt-mascot.wave .lt-mascot-mouth[b-xn7h138pfx] {
    width: 18px;
    height: 9px;
    background: #ff7a8a;
}

.lt-mascot.cheer[b-xn7h138pfx] {
    animation: lt-mascot-cheer-b-xn7h138pfx 0.9s ease-in-out infinite;
}

.lt-mascot.sad[b-xn7h138pfx] {
    animation: lt-mascot-droop-b-xn7h138pfx 0.6s ease-out both;
}

.lt-mascot.sad .lt-mascot-arm.left[b-xn7h138pfx] {
    transform: rotate(-60deg);
}

.lt-mascot.sad .lt-mascot-arm.right[b-xn7h138pfx] {
    transform: rotate(60deg);
}

.lt-mascot.sad .lt-mascot-mouth[b-xn7h138pfx] {
    border-top: 3px solid #fff;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    margin-top: 3px;
}

.lt-mascot.sad .lt-mascot-eyes b[b-xn7h138pfx] {
    height: 9px;
    animation: none;
}

/* ---- the options ---- */
.lt-game-options[b-xn7h138pfx] {
    display: grid;
    gap: 10px;
}

.lt-game-options.text[b-xn7h138pfx] {
    grid-template-columns: 1fr;
}

.lt-game-options.icons[b-xn7h138pfx] {
    grid-template-columns: repeat(2, 1fr);
}

.lt-game-option[b-xn7h138pfx] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 12px;
    border: 2px solid var(--g-tile-edge);
    border-bottom-width: 5px;
    border-radius: 16px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    animation: lt-game-pop-b-xn7h138pfx 0.4s calc(0.06s * var(--i, 0)) cubic-bezier(0.3, 1.6, 0.5, 1) both;
    transition: transform 0.08s, border-color 0.15s, background 0.15s;
}

.lt-game-options.text .lt-game-option[b-xn7h138pfx] {
    justify-content: flex-start;
    text-align: start;
}

.lt-game-options.icons .lt-game-option[b-xn7h138pfx] {
    flex-direction: column;
    gap: 4px;
}

.lt-game-option:active:not([disabled])[b-xn7h138pfx] {
    transform: translateY(3px);
    border-bottom-width: 2px;
    margin-top: 3px;
}

.lt-game-option-key[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border: 2px solid var(--g-tile-edge);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.lt-game-option img[b-xn7h138pfx] {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.lt-game-option-name[b-xn7h138pfx] {
    font-size: 0.8rem;
}

.lt-game-option.selected[b-xn7h138pfx] {
    border-color: var(--g-blue);
    background: rgba(41, 168, 239, 0.15);
    color: var(--g-blue);
}

.lt-game-option.selected .lt-game-option-key[b-xn7h138pfx] {
    border-color: var(--g-blue);
    color: var(--g-blue);
}

.lt-game-option.right[b-xn7h138pfx] {
    border-color: var(--g-green);
    background: rgba(76, 199, 58, 0.18);
    color: var(--g-green);
    animation: lt-game-bounce-b-xn7h138pfx 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.lt-game-option.wrong[b-xn7h138pfx] {
    border-color: var(--g-red);
    background: rgba(255, 90, 90, 0.16);
    color: var(--g-red);
    animation: lt-game-shake-b-xn7h138pfx 0.45s ease-in-out both;
}

.lt-game-option.dim[b-xn7h138pfx] {
    opacity: 0.45;
    animation: none;
}

.lt-game-option[disabled][b-xn7h138pfx] {
    cursor: default;
}

/* the points floating up */
.lt-game-xp-float[b-xn7h138pfx] {
    position: absolute;
    inset-inline-end: 18px;
    bottom: 150px;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--g-yellow);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
    pointer-events: none;
    animation: lt-game-float-b-xn7h138pfx 1.3s ease-out both;
    z-index: 3;
}

/* ---- the footer: CHECK, then the verdict sliding up ---- */
.lt-game-footer[b-xn7h138pfx] {
    flex: 0 0 auto;
    margin: 0 -10px;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--mud-palette-surface);
    border-top: 2px solid var(--g-tile-edge);
    z-index: 2;
}

.lt-game-footer.good[b-xn7h138pfx],
.lt-game-footer.bad[b-xn7h138pfx] {
    border-top: none;
    animation: lt-game-slide-up-b-xn7h138pfx 0.35s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.lt-game-footer.good[b-xn7h138pfx] {
    background: color-mix(in srgb, var(--g-green) 22%, var(--mud-palette-surface));
}

.lt-game-footer.bad[b-xn7h138pfx] {
    background: color-mix(in srgb, var(--g-red) 20%, var(--mud-palette-surface));
}

.lt-game-feedback[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-game-feedback-icon[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    animation: lt-game-pop-b-xn7h138pfx 0.45s 0.1s cubic-bezier(0.3, 1.8, 0.5, 1) both;
}

.lt-game-footer.good .lt-game-feedback-icon[b-xn7h138pfx] {
    color: var(--g-green-dark);
}

.lt-game-footer.bad .lt-game-feedback-icon[b-xn7h138pfx] {
    color: var(--g-red-dark);
}

.lt-game-msg[b-xn7h138pfx] {
    font-size: 1.1rem;
    font-weight: 800;
}

.lt-game-footer.good .lt-game-msg[b-xn7h138pfx] {
    color: var(--g-green);
}

.lt-game-footer.bad .lt-game-msg[b-xn7h138pfx] {
    color: var(--g-red);
}

/* ---- the end: stars, stats, confetti ---- */
.lt-game-stars[b-xn7h138pfx] {
    display: flex;
    gap: 6px;
    font-size: 2.6rem;
    line-height: 1;
}

.lt-game-star[b-xn7h138pfx] {
    color: rgba(127, 127, 127, 0.35);
    animation: lt-game-star-in-b-xn7h138pfx 0.6s calc(0.25s * var(--i, 1)) cubic-bezier(0.3, 1.8, 0.5, 1) both;
}

.lt-game-star.on[b-xn7h138pfx] {
    color: var(--g-yellow);
    text-shadow: 0 0 14px rgba(255, 201, 60, 0.7);
}

.lt-game-stats[b-xn7h138pfx] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 380px;
}

.lt-game-stat[b-xn7h138pfx] {
    border: 2px solid currentColor;
    border-radius: 14px;
    overflow: hidden;
    animation: lt-game-pop-b-xn7h138pfx 0.45s calc(0.6s + 0.15s * var(--i, 0)) cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.lt-game-stat.xp[b-xn7h138pfx] {
    color: var(--g-yellow);
}

.lt-game-stat.acc[b-xn7h138pfx] {
    color: var(--g-green);
}

.lt-game-stat.streak[b-xn7h138pfx] {
    color: var(--g-orange);
}

/* (the label's text white on its colour) */
.lt-game-stat-label[b-xn7h138pfx] {
    padding: 4px 2px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.lt-game-stat.xp .lt-game-stat-label[b-xn7h138pfx] {
    background: var(--g-yellow);
}

.lt-game-stat.acc .lt-game-stat-label[b-xn7h138pfx] {
    background: var(--g-green);
}

.lt-game-stat.streak .lt-game-stat-label[b-xn7h138pfx] {
    background: var(--g-orange);
}

.lt-game-stat-value[b-xn7h138pfx] {
    padding: 8px 2px;
    font-size: 1.15rem;
    font-weight: 900;
    background: var(--mud-palette-surface);
}

.lt-game-final[b-xn7h138pfx] {
    font-size: 1.2rem;
    font-weight: 800;
}

.lt-game-end .lt-game-msg[b-xn7h138pfx] {
    max-width: 360px;
}

.lt-game-end.fail .lt-game-end-title[b-xn7h138pfx] {
    background: linear-gradient(90deg, var(--g-red), var(--g-orange));
    -webkit-background-clip: text;
    background-clip: text;
}

.lt-confetti[b-xn7h138pfx] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.lt-confetti i[b-xn7h138pfx] {
    position: absolute;
    top: -16px;
    width: 9px;
    height: 14px;
    border-radius: 2px;
    background: var(--c);
    transform: rotate(var(--r));
    animation: lt-confetti-fall-b-xn7h138pfx var(--f) var(--d) cubic-bezier(0.3, 0.6, 0.6, 1) both;
}

.lt-confetti i:nth-child(3n)[b-xn7h138pfx] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lt-game-end > :not(.lt-confetti)[b-xn7h138pfx] {
    position: relative;
    z-index: 1;
}

/* ---- the motions ---- */
@keyframes lt-game-pop-b-xn7h138pfx {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes lt-game-bounce-b-xn7h138pfx {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes lt-game-shake-b-xn7h138pfx {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

@keyframes lt-game-wiggle-b-xn7h138pfx {
    0%, 80%, 100% { transform: rotate(0); }
    85% { transform: rotate(-6deg); }
    90% { transform: rotate(6deg); }
    95% { transform: rotate(-3deg); }
}

@keyframes lt-game-beat-b-xn7h138pfx {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.18); }
    30% { transform: scale(1); }
}

@keyframes lt-game-heart-lost-b-xn7h138pfx {
    0% { transform: scale(1); filter: none; }
    30% { transform: scale(1.5) rotate(-12deg); }
    60% { transform: scale(0.8) rotate(10deg); filter: grayscale(1); }
    100% { transform: scale(1); filter: none; }
}

@keyframes lt-game-float-b-xn7h138pfx {
    0% { transform: translateY(10px) scale(0.6); opacity: 0; }
    25% { transform: translateY(0) scale(1.15); opacity: 1; }
    100% { transform: translateY(-60px) scale(1); opacity: 0; }
}

@keyframes lt-game-slide-up-b-xn7h138pfx {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

@keyframes lt-game-star-in-b-xn7h138pfx {
    0% { transform: scale(0) rotate(-90deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes lt-confetti-fall-b-xn7h138pfx {
    0% { transform: translateY(0) rotate(var(--r)); opacity: 1; }
    100% { transform: translateY(620px) rotate(calc(var(--r) + 540deg)); opacity: 0; }
}

@keyframes lt-mascot-bob-b-xn7h138pfx {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes lt-mascot-blink-b-xn7h138pfx {
    0%, 92%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes lt-mascot-wave-b-xn7h138pfx {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(-70deg); }
}

@keyframes lt-mascot-hop-b-xn7h138pfx {
    0% { transform: translateY(0) scale(1, 1); }
    30% { transform: translateY(-18px) scale(0.95, 1.05); }
    60% { transform: translateY(0) scale(1.06, 0.94); }
    100% { transform: translateY(0) scale(1, 1); }
}

@keyframes lt-mascot-cheer-b-xn7h138pfx {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-14px) rotate(-5deg); }
    50% { transform: translateY(0) rotate(0); }
    75% { transform: translateY(-14px) rotate(5deg); }
}

@keyframes lt-mascot-droop-b-xn7h138pfx {
    0% { transform: rotate(0); }
    100% { transform: rotate(-8deg) translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .lt-game *[b-xn7h138pfx],
    .lt-game *[b-xn7h138pfx]::before,
    .lt-game *[b-xn7h138pfx]::after {
        animation: none !important;
        transition: none !important;
    }
}

/* THE DRIVES' HISTORY (user, 2026-11-24/25): the summary, the drives as cards, and the replay's sheet over the MAP tab. */
.lt-drive-live[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
}

.lt-drive-dot[b-xn7h138pfx] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: lt-drive-blink-b-xn7h138pfx 1.2s infinite;
}

@keyframes lt-drive-blink-b-xn7h138pfx {
    50% { opacity: 0.25; }
}

.lt-drive-summary[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.lt-drive-summary-title[b-xn7h138pfx] {
    font-weight: 600;
}

.lt-drive-summary-text[b-xn7h138pfx] {
    font-size: 0.85rem;
}

.lt-drive-cards[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lt-drive-card[b-xn7h138pfx] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.lt-drive-card:hover[b-xn7h138pfx],
.lt-drive-card.on[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
}

/* (a CIRCLE, not an ellipse - user, 2026-11-26: its width was a min-width, so "10.0" and the card's stretch widened it) */
.lt-drive-score[b-xn7h138pfx] {
    flex: 0 0 auto;
    align-self: center;
    box-sizing: border-box;
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.lt-drive-score.big[b-xn7h138pfx] {
    width: 58px;
    min-width: 58px;
    max-width: 58px;
    height: 58px;
    font-size: 1.35rem;
}

.lt-drive-body[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lt-drive-when[b-xn7h138pfx] {
    font-weight: 600;
}

.lt-drive-figures[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 0.82rem;
    opacity: 0.9;
}

.lt-drive-figures span[b-xn7h138pfx] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.lt-drive-warnings[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.lt-drive-kinds[b-xn7h138pfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lt-drive-kind[b-xn7h138pfx] {
    font-size: 0.72rem;
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.18);
}

.lt-drive-kind.scored[b-xn7h138pfx] {
    background: rgba(249, 115, 22, 0.22);
}

.lt-drive-sheet[b-xn7h138pfx] {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-height: 42%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 30;
}

/* THE DRIVES' ORDER box over the cards, and each card's small map of its route (2026-11-26) */
.lt-drive-sort[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
    font-size: 0.85rem;
}

.lt-drive-sort select[b-xn7h138pfx] {
    flex: 0 1 200px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--mud-palette-surface);
    color: inherit;
    font-size: 0.85rem;
}

[b-xn7h138pfx] .lt-drive-minimap {
    flex: 0 0 auto;
    align-self: center;
    border-radius: 8px;
}

/* THE DRIVE REPORT's button under the drive sheet's head (2026-11-26) */
.lt-drive-actions[b-xn7h138pfx] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 2px 8px 6px;
}

.lt-drive-report-lang[b-xn7h138pfx] {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    overflow: hidden;
}

.lt-drive-report-lang button[b-xn7h138pfx] {
    background: transparent;
    color: inherit;
    border: 0;
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.lt-drive-report-lang button.on[b-xn7h138pfx] {
    background: var(--mud-palette-primary);
    color: #fff;
}

.lt-drive-sheet-head[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lt-drive-events-toggle[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid rgba(139, 92, 246, 0.6);
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.16);
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
}

.lt-drive-events-toggle:hover[b-xn7h138pfx],
.lt-drive-events-toggle.open[b-xn7h138pfx] {
    background: rgba(139, 92, 246, 0.28);
}

.lt-drive-events[b-xn7h138pfx] {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

.lt-drive-event[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: start;
    padding: 6px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-inline-start: 5px solid #3b82f6;
    border-radius: 8px;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font-size: 0.85rem;
}

.lt-drive-event.major[b-xn7h138pfx] {
    border-inline-start-color: #ef4444;
}

.lt-drive-event.minor[b-xn7h138pfx] {
    border-inline-start-color: #f97316;
}

.lt-drive-event.on[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
    background: rgba(124, 58, 237, 0.15);
}

.lt-drive-event-time[b-xn7h138pfx],
.lt-drive-event-speed[b-xn7h138pfx] {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    opacity: 0.85;
}

.lt-drive-event-text[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lt-drive-event-text span[b-xn7h138pfx] {
    font-size: 0.78rem;
    opacity: 0.85;
}

/* THE STATUS MENU, SELECTABLE (LiveTrafficToolComp.StatusMenu.cs): each row its state now, then its choices as icons */
.lt-status-panel[b-xn7h138pfx] {
    gap: 8px;
    min-width: min(300px, calc(100vw - 40px));
}

.lt-status-row[b-xn7h138pfx] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.lt-status-now[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e8e8f0;
    font: 500 13px/1.2 Roboto, Arial, sans-serif;
    white-space: nowrap;
}

.lt-status-now[b-xn7h138pfx]  .mud-icon-root {
    font-size: 18px;
}

.lt-status-seg[b-xn7h138pfx] {
    display: flex;
    gap: 4px;
}

.lt-status-choice[b-xn7h138pfx] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    padding: 5px 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: transparent;
    color: #d6d6e2;
    font: 500 11.5px/1.15 Roboto, Arial, sans-serif;
    cursor: pointer;
}

.lt-status-choice span[b-xn7h138pfx] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-status-choice[b-xn7h138pfx]  .mud-icon-root {
    font-size: 20px;
}

.lt-status-choice.on[b-xn7h138pfx] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary);
    color: #fff;
}

/* CLEAR HISTORY and THE HISTORY FOLDER's files (2026-11-28) */
.lt-history-bar[b-xn7h138pfx] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lt-history-files[b-xn7h138pfx] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    padding: 6px 8px;
    margin-bottom: 10px;
    max-height: 45vh;
    overflow-y: auto;
}

.lt-history-folder[b-xn7h138pfx] {
    font-size: 0.75rem;
    opacity: 0.75;
    margin-bottom: 4px;
}

.lt-history-file[b-xn7h138pfx] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.lt-history-file-text[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
}

.lt-history-file-name[b-xn7h138pfx] {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: start;
}

.lt-history-file-meta[b-xn7h138pfx] {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* THE MAP'S LOWER LEFT CORNER (2026-11-28): the RECORD button above the speed limit sign's stack */
.lt-map-corner-bl[b-xn7h138pfx] {
    position: absolute;
    bottom: 12px;
    left: 10px;
    z-index: 14;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
    /* (left-aligned in Hebrew too - the corner is the map's left) */
    direction: ltr;
}

.pt-topmap-wrap.sim-on .lt-map-corner-bl[b-xn7h138pfx] {
    bottom: 150px;
}

/* (the sign's stack in the column - not placed on its own) */
.lt-map-corner-bl .lt-speed-limit.lt-speed-limit-top[b-xn7h138pfx],
.pt-topmap-wrap.sim-on .lt-map-corner-bl .lt-speed-limit.lt-speed-limit-top[b-xn7h138pfx] {
    position: static;
}

/* RECORDING THIS SESSION: the map's red button (2026-11-28) */
.lt-record-toggle[b-xn7h138pfx] {
    pointer-events: auto;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(30, 30, 30, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.lt-record-dot[b-xn7h138pfx] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #ef4444;
    background: transparent;
}

.lt-record-toggle.on[b-xn7h138pfx] {
    background: #dc2626;
}

.lt-record-toggle.on .lt-record-dot[b-xn7h138pfx] {
    border-color: #ffffff;
    background: #ffffff;
    animation: lt-record-pulse-b-xn7h138pfx 1.4s ease-in-out infinite;
}

@keyframes lt-record-pulse-b-xn7h138pfx {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.8); }
}

.lt-history-save[b-xn7h138pfx] {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* (the switch's row takes the rest of the line beside DELETE) */
.lt-history-save > .lt-wtoggle[b-xn7h138pfx] {
    flex: 1 1 auto;
    min-width: 0;
}

/* (the row: label, switch, help, DELETE - the help between the switch and DELETE; no animation dot - 2026-11-28) */
.lt-history-save .lt-wanim[b-xn7h138pfx] {
    display: none;
}

.lt-history-save .lt-wtoggle-label[b-xn7h138pfx] {
    order: 1;
}

.lt-history-save .lt-switch[b-xn7h138pfx] {
    order: 2;
}

.lt-history-save[b-xn7h138pfx]  .lt-wtoggle > :not(.lt-wtoggle-label):not(.lt-switch):not(.lt-wanim) {
    order: 3;
    margin-inline: 10px;
}

[b-xn7h138pfx] .lt-history-delete {
    flex: 0 0 auto;
    order: 2;
}

[b-xn7h138pfx] .lt-history-tabs .mud-tabs-panels {
    padding-top: 8px;
}

.lt-ride-mode[b-xn7h138pfx] {
    vertical-align: -3px;
    margin-inline-end: 4px;
    opacity: 0.85;
}
