/* ==========================================================================
   directions-map.css
   The "Get Directions" map sheet (see assets/js/directions-map.js).
   Full-screen on phones, a centred panel on desktop. Self-contained: it uses
   its own palette (with the customer app's gold as the accent when present)
   and inline SVG icons, so it works on pages that don't load Phosphor --
   including the public landing page (index.php).
   Includes the Drive / Walk / Bike tabs, the live-traffic chip, the
   compact "Trip active" card shown while navigating (.is-nav-mode), and the
   draggable bottom sheet (swipe down = peek, swipe up = full).
   ========================================================================== */

.dm{
    --dm-ink: #1f1a16;
    --dm-soft: #6b6158;
    --dm-line: #e8e2d8;
    --dm-canvas: #f4f2ee;
    --dm-surface: #ffffff;
    --dm-gold: var(--ca-gold, #c9a24e);
    --dm-gold-dark: var(--ca-gold-dark, #8f6f2b);
    --dm-gold-soft: rgba(201, 162, 78, 0.16);
    --dm-danger: #c0392b;
    --dm-ok: #2f8f5b;
    --dm-warn: #d98e04;
    --dm-blue: #2a7bf0;

    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(20, 15, 10, 0.6);
    font-family: 'Lexend', 'Poppins', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;          /* the public page sets 1.7 on body; keep the sheet compact */
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.dm[hidden]{ display: none; }
.dm *, .dm *::before, .dm *::after{ box-sizing: border-box; }

.dm-panel{
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--dm-ink);
    background: var(--dm-canvas);
}

/* -- Map ---------------------------------------------------------------------- */
/* MapLibre's own stylesheet loads AFTER this one and sets position:relative on
   .maplibregl-map. The extra ".dm" below makes this rule win, otherwise the map
   would collapse to nothing. isolation keeps the map's internal z-indexes from
   climbing over the header, status pill and bottom sheet. */
.dm .dm-map{
    position: absolute;
    inset: 0;
    z-index: 0;
    isolation: isolate;
    background: #ece8e1;
}
.dm .dm-map .maplibregl-canvas{ outline: none; }
.dm .dm-map.maplibregl-map{ font-family: inherit; }

/* -- Header ------------------------------------------------------------------- */
.dm-top{
    position: absolute;
    z-index: 600;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 68px 10px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(244, 242, 238, 0.96) 45%, rgba(244, 242, 238, 0));
}
.dm-title{
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--dm-ink);
}
.dm-back{
    position: absolute;
    left: 14px;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    pointer-events: auto;
}

/* Round floating buttons (back, locate) */
.dm-round{
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--dm-ink);
    background: var(--dm-surface);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.dm-round svg{ width: 20px; height: 20px; }
.dm-round:hover{ transform: translateY(-1px); }
.dm-round:active{ transform: scale(0.95); }
.dm-round:focus-visible,
.dm-zoom button:focus-visible,
.dm-start:focus-visible,
.dm-ext:focus-visible{ outline: 2px solid var(--dm-gold-dark); outline-offset: 3px; }
.dm-locate.is-following{ background: var(--dm-blue); color: #fff; }

/* -- Turn-by-turn banner (shown while navigating) ------------------------------------ */
.dm-nav{
    position: absolute;
    z-index: 600;
    top: calc(env(safe-area-inset-top, 0px) + 66px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    width: calc(100% - 28px);
    max-width: 460px;
    padding: 12px 16px;
    border-radius: 18px;
    color: #fff;
    background: var(--dm-ink);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}
.dm-nav[hidden]{ display: none; }
.dm-nav-ico{
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: var(--dm-blue);
}
.dm-nav-ico svg{ width: 24px; height: 24px; transition: transform 0.3s ease; }
.dm-nav-text{ display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dm-nav-text b{ font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.dm-nav-text span{
    font-size: 0.86rem;
    line-height: 1.35;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -- Status pill (loading / errors / arrival) ------------------------------------- */
.dm-status{
    position: absolute;
    z-index: 600;
    top: calc(env(safe-area-inset-top, 0px) + 68px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 28px);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--dm-ink);
    background: var(--dm-surface);
    box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.45);
}
.dm-status[hidden]{ display: none; }
/* Sit under the turn banner (and its "Then" chip) while navigating. */
.dm-panel.is-navigating .dm-status{ top: calc(env(safe-area-inset-top, 0px) + 186px); }
.dm-status-text{ min-width: 0; }
.dm-spin{
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--dm-line);
    border-top-color: var(--dm-gold-dark);
    animation: dmSpin 0.8s linear infinite;
    display: none;
}
.dm-status.is-loading .dm-spin{ display: block; }
.dm-status.is-error{ color: #7a2418; background: #fdecea; }
.dm-status.is-ok{ color: #1d6b43; background: #e6f6ee; }
@keyframes dmSpin{ to{ transform: rotate(360deg); } }

/* -- Bottom area: floating buttons + info sheet ------------------------------------- */
.dm-bottom{
    position: absolute;
    z-index: 600;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;      /* only the controls themselves take taps */
    will-change: transform;
}
.dm-bottom > *{ pointer-events: auto; }

.dm-fabs{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-right: 14px;
}
.dm-zoom{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: var(--dm-surface);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
}
.dm-zoom button{
    display: grid;
    place-items: center;
    width: 44px;
    height: 40px;
    padding: 0;
    border: 0;
    color: var(--dm-ink);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.dm-zoom button + button{ border-top: 1px solid var(--dm-line); }
.dm-zoom button:hover{ background: var(--dm-gold-soft); }
.dm-zoom svg{ width: 18px; height: 18px; }
@media (pointer: coarse){ .dm-zoom{ display: none; } }   /* pinch to zoom on touch screens */

.dm-sheet{
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: 18px 18px calc(env(safe-area-inset-bottom, 0px) + 14px);
    border-radius: 24px 24px 0 0;
    background: var(--dm-surface);
    box-shadow: 0 -14px 40px -18px rgba(0, 0, 0, 0.45);
    touch-action: none;                /* vertical drags are handled in JS */
}
.dm-sheet.is-dragging{ cursor: grabbing; user-select: none; -webkit-user-select: none; }

.dm-place{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--dm-canvas);
}
.dm-place-ico{
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--dm-gold-dark);
    background: var(--dm-gold-soft);
}
.dm-place-ico svg{ width: 22px; height: 22px; }
.dm-place-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dm-place-text strong{
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dm-place-text span{
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--dm-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Distance, time and (for driving) the live-traffic chip. Wraps on narrow phones. */
.dm-stats{ display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
.dm-stats[hidden]{ display: none; }
.dm-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    color: var(--dm-ink);
    background: var(--dm-gold-soft);
}
.dm-chip[hidden]{ display: none; }
.dm-chip svg{ width: 16px; height: 16px; color: var(--dm-gold-dark); }
.dm-chip b{ font-weight: 600; font-variant-numeric: tabular-nums; }

/* Live-traffic chip: a coloured dot + Light / Moderate / Heavy traffic. The
   words carry the meaning, so it never relies on colour alone. */
.dm-tdot{
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dm-soft);
}
.dm-traffic.is-light{    background: rgba(47, 143, 91, 0.14);  }
.dm-traffic.is-light .dm-tdot{    background: var(--dm-ok); }
.dm-traffic.is-moderate{ background: rgba(217, 142, 4, 0.16);  }
.dm-traffic.is-moderate .dm-tdot{ background: var(--dm-warn); }
.dm-traffic.is-heavy{    background: rgba(192, 57, 43, 0.14);  }
.dm-traffic.is-heavy .dm-tdot{    background: var(--dm-danger); }

.dm-start{
    display: block;
    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: var(--dm-ink);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.dm-start:hover:not(:disabled){ background: #3a3028; transform: translateY(-1px); }
.dm-start:active:not(:disabled){ transform: scale(0.99); }
.dm-start:disabled{ opacity: 0.45; cursor: not-allowed; }
/* Cancel route: a quiet red outline, like the maps people already know. */
.dm-start.is-end{
    color: var(--dm-danger);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #f1b9b2;
}
.dm-start.is-end:hover:not(:disabled){ background: #fdf1ef; box-shadow: inset 0 0 0 1.5px var(--dm-danger); }

.dm-ext{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 6px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--dm-gold-dark);
    text-decoration: none;
}
.dm-ext:hover{ text-decoration: underline; }
.dm-ext svg{ width: 16px; height: 16px; }

.dm-attrib{
    margin: 4px 0 0;
    font-size: 0.66rem;
    line-height: 1.5;
    text-align: center;
    color: var(--dm-soft);
}
.dm-attrib a{ color: inherit; text-decoration: underline; }

/* -- Trip card (only while navigating) -------------------------------------------------- */
.dm-tripbox{ display: none; }
.dm-trip-head{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.dm-trip-head span{ font-weight: 400; color: var(--dm-soft); }
.dm-live{
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dm-ok);
    box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.5);
    animation: dmLive 2s ease-out infinite;
}
@keyframes dmLive{
    0%   { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.5); }
    100% { box-shadow: 0 0 0 9px rgba(47, 143, 91, 0); }
}
.dm-trip{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dm-line);
}
.dm-trip > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 4px;
    min-width: 0;
}
.dm-trip > div + div{ border-left: 1px solid var(--dm-line); }
.dm-trip b{
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.dm-trip span{
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a93a6;
}

/* Navigating: the big info card shrinks to just the trip card + cancel button. */
.dm-panel.is-nav-mode .dm-tripbox{ display: block; }
.dm-panel.is-nav-mode .dm-place,
.dm-panel.is-nav-mode .dm-modes,
.dm-panel.is-nav-mode .dm-stats,
.dm-panel.is-nav-mode .dm-note{ display: none; }
.dm-panel.is-nav-mode .dm-start{ margin-top: 12px; min-height: 50px; }
.dm-panel.is-nav-mode .dm-ext{ min-height: 38px; margin-top: 2px; }
.dm-panel.is-nav-mode .dm-attrib{ margin-top: 0; }

/* -- Map markers ------------------------------------------------------------------------ */
/* The restaurant pin: a dark teardrop with the restaurant's logo in white
   (or a fork and knife if no logo is set). The wrapper is the marker element;
   its bottom edge is the pin's tip, which is what sits on the exact spot. */
.dm-pin-wrap{
    position: relative;
    width: 48px;
    height: 58px;
    cursor: default;
}
.dm-pin{
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    color: #fff;
    background: var(--dm-ink);
    box-shadow: 0 12px 20px -6px rgba(0, 0, 0, 0.6);
}
.dm-pin svg{ width: 22px; height: 22px; transform: rotate(45deg); }
/* Counter-rotated so the logo stands upright inside the tilted pin. */
.dm .dm-pin .dm-pin-logo{
    display: block;
    width: 28px;
    height: 28px;
    max-width: none;
    padding: 0;
    border-radius: 50%;
    object-fit: cover;
    transform: rotate(45deg);
    filter: brightness(0) invert(1);
}

/* You: a dark dot with a heading arrow and a soft pulsing halo. */
.dm-me{ position: relative; width: 44px; height: 44px; display: grid; place-items: center; pointer-events: none; }
.dm-me-halo{
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(42, 123, 240, 0.22);
    animation: dmPulse 2.4s ease-out infinite;
}
.dm-me-dot{
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--dm-blue);
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.5);
}
.dm-me-arrow{ display: grid; place-items: center; width: 14px; height: 14px; }
.dm-me-arrow svg{ width: 14px; height: 14px; }
@keyframes dmPulse{
    0%   { transform: scale(0.45); opacity: 0.9; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* -- Desktop: a centred panel, info card bottom-left, buttons bottom-right ------------------- */
@media (min-width: 768px){
    .dm{
        align-items: center;
        padding: 28px;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
    .dm-panel{
        flex: 0 1 1040px;
        height: min(780px, 100%);
        border-radius: 24px;
        box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    }
    .dm-bottom{
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
        padding: 20px;
    }
    .dm-fabs{ margin-right: 0; }
    .dm-sheet{
        align-self: flex-end;
        width: 400px;
        padding-bottom: 14px;
        border-radius: 20px;
        box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
    }
}

/* -- Small phones --------------------------------------------------------------------------------- */
@media (max-width: 380px){
    .dm-sheet{ padding-inline: 14px; }
    .dm-chip{ padding: 7px 12px; font-size: 0.82rem; }
    .dm-nav{ padding: 10px 12px; gap: 10px; }
    .dm-trip b{ font-size: 1.25rem; }
}

/* -- Travel mode tabs ---------------------------------------------------------------- */
.dm-modes{ display: flex; gap: 8px; margin-top: 12px; }
.dm-modes[hidden]{ display: none; }
.dm-mode{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 8px 6px;
    border: 1px solid var(--dm-line);
    border-radius: 14px;
    font: inherit;
    color: var(--dm-ink);
    background: var(--dm-surface);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dm-mode svg{ width: 20px; height: 20px; }
.dm-mode span{
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dm-soft);
    font-variant-numeric: tabular-nums;
}
.dm-mode:hover:not(:disabled):not(.is-active){ border-color: var(--dm-gold-dark); background: var(--dm-gold-soft); }
.dm-mode:active:not(:disabled){ transform: scale(0.97); }
.dm-mode.is-active{ color: #fff; background: var(--dm-ink); border-color: var(--dm-ink); }
.dm-mode.is-active span{ color: rgba(255, 255, 255, 0.82); }
.dm-mode:disabled{ opacity: 0.45; cursor: not-allowed; }
.dm-mode:focus-visible{ outline: 2px solid var(--dm-gold-dark); outline-offset: 3px; }

/* -- Note under the chips: what the time includes + arrival time ----------------------- */
.dm-note{
    margin: 8px 2px 0;
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--dm-soft);
}
.dm-note[hidden]{ display: none; }

/* -- Fixed navigation arrow (map slides under it while navigating) ------------------- */
/* One SVG: soft ground shadow, white disc, two-facet arrow. Drawn flat to match the tilted map. */
.dm-navarrow{
    position: absolute;
    z-index: 550;
    left: 50%;
    top: 60%;
    width: 80px;
    height: 60px;
    margin: -30px 0 0 -40px;
    pointer-events: none;
}
.dm-navarrow[hidden]{ display: none; }
.dm-navarrow svg{ display: block; width: 100%; height: 100%; overflow: visible; }

/* -- Draggable bottom sheet: grab handle ---------------------------------------------- */
.dm-grab{
    order: -1;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 24px;
    margin: -12px 0 2px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: grab;
    position: relative;
}
.dm-grab::before{
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 40px; height: 4px;
    margin: -2px 0 0 -20px;
    border-radius: 4px;
    background: var(--dm-line);
}
.dm-grab:focus-visible{ outline: 2px solid var(--dm-gold-dark); outline-offset: -2px; border-radius: 12px; }

/* Re-center pill: shows after the map is dragged while navigating */
.dm-recenter{
    position: absolute;
    left: 14px;
    bottom: calc(100% + 12px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dm-blue);
    background: var(--dm-surface);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.dm-recenter[hidden]{ display: none; }
.dm-recenter svg{ width: 16px; height: 16px; }

/* "Then -> Turn right" chip hanging under the banner */
.dm-then{
    position: absolute;
    left: 14px;
    top: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 8px;
    border-radius: 0 0 14px 14px;
    font-size: 0.84rem;
    color: var(--dm-soft);
    background: var(--dm-surface);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.4);
}
.dm-then[hidden]{ display: none; }
.dm-then b{ color: var(--dm-ink); font-weight: 600; }
.dm-then i{ display: grid; place-items: center; width: 16px; height: 16px; }
.dm-then svg{ width: 16px; height: 16px; }

/* Step list: shown only while navigating (swipe up to see it) */
.dm-steps{
    display: none;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    max-height: min(34vh, 260px);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
}
.dm-steps li{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--dm-line);
}
.dm-steps li:last-child{ border-bottom: 0; }
.dm-step-ico{
    display: grid; place-items: center; flex-shrink: 0;
    width: 34px; height: 34px; border-radius: 50%;
    color: #fff; background: var(--dm-blue);
}
.dm-step-ico svg{ width: 18px; height: 18px; }
.dm-step-txt{ flex: 1; min-width: 0; font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.dm-step-d{ flex-shrink: 0; font-size: 0.82rem; color: var(--dm-soft); font-variant-numeric: tabular-nums; }

/* Navigating: trip card, then Cancel, then steps, so peek = summary + cancel */
.dm-panel.is-nav-mode .dm-tripbox{ order: 0; }
.dm-panel.is-nav-mode .dm-start{ order: 1; }
.dm-panel.is-nav-mode .dm-steps{ display: block; order: 2; }
.dm-panel.is-nav-mode .dm-ext{ order: 3; }
.dm-panel.is-nav-mode .dm-attrib{ order: 4; }

@media (prefers-reduced-motion: reduce){
    .dm-spin{ animation-duration: 2.4s; }
    .dm-live{ animation: none; }
    .dm-me-halo{ animation: none; opacity: 0.35; transform: none; }
    .dm-round, .dm-start, .dm-nav-ico svg, .dm-mode{ transition: none; }
}