:root {
    --bg: #050608;
    --bg-soft: #0d1119;
    --glass: rgba(16, 22, 34, 0.46);
    --glass-border: rgba(255, 255, 255, 0.14);
    --text: #f5f7fb;
    --text-soft: #b7bfcd;
    --accent: #ffd233;
    --accent-strong: #ffb703;
    --accent-blue: #2367ff;
    --accent-red: #ff3b30;
    --danger: #ff5d5d;
    --ok: #42d389;
    --info: #46a8ff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    --brand-logo-size: 50px;
    --bottom-nav-clearance: 66px;
}

.platform-night-mode-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 208, 80, 0.28);
    background:
        radial-gradient(circle at top left, rgba(255, 198, 64, 0.2), transparent 42%),
        linear-gradient(135deg, rgba(13, 19, 36, 0.94), rgba(17, 27, 48, 0.9));
}

.platform-night-mode-banner--preview {
    margin-bottom: 0;
}

.platform-night-mode-banner__copy,
.platform-night-mode-dialog__copy {
    display: grid;
    gap: 12px;
}

.platform-night-mode-banner__eyebrow,
.platform-night-mode-dialog__eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffd35f;
}

.platform-night-mode-banner h3,
.platform-night-mode-dialog h3 {
    margin: 0;
}

.platform-night-mode-banner p,
.platform-night-mode-dialog p {
    margin: 0;
    color: rgba(233, 240, 255, 0.84);
}

.platform-night-mode-banner__meta,
.platform-night-mode-dialog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(233, 240, 255, 0.72);
}

.platform-night-mode-banner__meta span,
.platform-night-mode-dialog__meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.platform-night-mode-banner__actions,
.platform-night-mode-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.platform-night-mode-banner__media,
.platform-night-mode-dialog__media {
    width: 100%;
    height: 100%;
    min-height: 180px;
    max-height: 260px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.platform-night-mode-dialog {
    width: min(720px, calc(100vw - 24px));
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
}

.platform-night-mode-dialog::backdrop {
    background: rgba(4, 7, 18, 0.58);
    backdrop-filter: blur(10px);
}

.platform-night-mode-dialog__shell {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 208, 80, 0.28);
    background:
        radial-gradient(circle at top left, rgba(255, 198, 64, 0.24), transparent 46%),
        linear-gradient(145deg, rgba(8, 13, 28, 0.98), rgba(16, 24, 42, 0.96));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.order-night-mode-note {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 208, 80, 0.22);
}

.order-night-mode-note__copy {
    display: grid;
    gap: 6px;
}

.order-night-mode-note__copy strong {
    font-size: 1rem;
}

.order-night-mode-note__copy p {
    margin: 0;
    color: rgba(233, 240, 255, 0.76);
}

.dashboard-tile small {
    display: block;
    margin-top: 6px;
    color: rgba(233, 240, 255, 0.64);
    font-size: 0.76rem;
}

@media (max-width: 900px) {
    .platform-night-mode-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .platform-night-mode-banner,
    .platform-night-mode-dialog__shell,
    .order-night-mode-note {
        padding: 16px;
    }

    .platform-night-mode-banner__actions,
    .platform-night-mode-dialog__actions,
    .order-night-mode-note {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-night-mode-banner__actions .button,
    .platform-night-mode-dialog__actions .button,
    .order-night-mode-note .button {
        width: 100%;
    }

    .platform-night-mode-banner__media,
    .platform-night-mode-dialog__media {
        min-height: 150px;
        max-height: 210px;
    }
}

* {
    box-sizing: border-box;
}

.ui-icon {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ui-icon * {
    vector-effect: non-scaling-stroke;
}

[hidden] {
    display: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 85% -5%, rgba(35, 103, 255, 0.26), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(255, 210, 51, 0.2), transparent 56%),
        linear-gradient(180deg, #07090d 0%, #050608 100%);
    min-height: 100%;
    font-family: "Manrope", "Segoe UI", "Inter", sans-serif;
    text-shadow: 0 0 10px rgba(255, 210, 51, 0.14);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 12px;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.capability-gate {
    margin: 16px 12px;
    padding: 18px 16px;
    display: grid;
    gap: 12px;
}

.capability-gate h2,
.capability-gate p {
    margin: 0;
}

.capability-gate button[data-loading="1"] {
    opacity: 0.7;
    pointer-events: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: var(--brand-logo-size);
}

.site-header__aside {
    margin-left: auto;
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 0;
    max-width: min(58vw, 540px);
}

.driver-order-switcher__eyebrow {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.driver-order-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 210, 51, 0.35) transparent;
}

.driver-order-switcher::-webkit-scrollbar {
    height: 6px;
}

.driver-order-switcher::-webkit-scrollbar-thumb {
    background: rgba(255, 210, 51, 0.35);
    border-radius: 999px;
}

.driver-order-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 999px;
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 210, 51, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(18, 24, 37, 0.96), rgba(9, 13, 21, 0.92));
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.driver-order-chip:hover {
    color: var(--text);
    transform: translateY(-1px);
    border-color: rgba(255, 210, 51, 0.42);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
}

.driver-order-chip.is-current {
    border-color: rgba(255, 210, 51, 0.62);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 210, 51, 0.28), transparent 44%),
        linear-gradient(180deg, rgba(28, 36, 54, 0.98), rgba(13, 18, 29, 0.94));
    box-shadow: 0 0 0 1px rgba(255, 210, 51, 0.14), 0 18px 32px rgba(0, 0, 0, 0.34);
}

.driver-order-chip__emoji {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    line-height: 1;
}

.driver-order-chip__number {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-logo,
.brand-fallback {
    width: var(--brand-logo-size);
    height: var(--brand-logo-size);
    border-radius: 50%;
    flex: 0 0 auto;
}

.brand-logo {
    border: 2px solid rgba(255, 210, 51, 0.5);
    object-fit: cover;
}

.brand-fallback {
    display: none;
    place-items: center;
    background: linear-gradient(145deg, #173d89, #0e1b38);
    border: 2px solid rgba(255, 210, 51, 0.5);
    color: var(--accent);
    font-weight: 800;
}

.brand-text {
    display: flex;
    align-items: center;
    height: var(--brand-logo-size);
    text-align: left;
    pointer-events: none;
    line-height: 1;
    align-self: center;
}

.brand-text strong {
    display: inline-flex;
    align-items: center;
    gap: 0.28em;
    font-size: calc(var(--brand-logo-size) * 0.7);
    letter-spacing: 0.01em;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    transform: translateY(1px);
    transform-origin: left center;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.28),
        0 0 12px rgba(255, 210, 51, 0.34),
        0 0 22px rgba(255, 210, 51, 0.24),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-text .rus {
    color: #fff;
}

.brand-text .r {
    color: #fff;
}

.brand-text .u {
    color: var(--accent-blue);
}

.brand-text .s {
    color: var(--accent-red);
}

.menu-toggle {
    --menu-line-width: 22px;
    --menu-line-thickness: 2.5px;
    --menu-line-gap: 8px;
    --menu-toggle-radius: 18px;
    display: inline-grid;
    place-items: center;
    position: fixed;
    right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 72;
    width: 58px;
    height: 58px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 210, 51, 0.28), transparent 42%),
        linear-gradient(160deg, rgba(12, 18, 29, 0.98), rgba(8, 11, 18, 0.92));
    border-radius: var(--menu-toggle-radius);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.42);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background 0.32s ease;
}

.menu-toggle::before,
.menu-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.menu-toggle::before {
    inset: -32%;
    opacity: 0.28;
    background:
        conic-gradient(
            from 180deg,
            transparent 0deg,
            rgba(255, 210, 51, 0.58) 70deg,
            rgba(35, 103, 255, 0.58) 180deg,
            rgba(255, 210, 51, 0.28) 285deg,
            transparent 360deg
        );
    filter: blur(10px);
    transform: scale(0.58) rotate(0deg);
    transition:
        transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
    z-index: 0;
}

.menu-toggle::after {
    inset: 1px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.13), transparent 38%),
        linear-gradient(160deg, rgba(10, 14, 22, 0.95), rgba(7, 10, 16, 0.92));
    z-index: 1;
}

.menu-toggle.menu-toggle--inline {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 52px;
    height: 52px;
    min-width: 52px;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.layout-has-bottom-nav .menu-toggle:not(.bottom-nav__menu) {
    bottom: calc(var(--bottom-nav-clearance) + 18px + env(safe-area-inset-bottom));
}

.layout-has-bottom-nav .menu-toggle.menu-toggle--inline:not(.bottom-nav__menu) {
    right: auto;
    bottom: auto;
}

.menu-toggle__icon {
    position: relative;
    display: block;
    width: var(--menu-line-width);
    height: calc((var(--menu-line-gap) * 2) + (var(--menu-line-thickness) * 3));
    pointer-events: none;
    z-index: 2;
}

.menu-toggle__line {
    display: block;
    position: absolute;
    left: 50%;
    width: var(--menu-line-width);
    height: var(--menu-line-thickness);
    background: var(--text);
    border-radius: 999px;
    margin: 0;
    top: 50%;
    z-index: 2;
    transform-origin: center;
    box-shadow:
        0 0 10px rgba(255, 210, 51, 0.3),
        0 0 18px rgba(255, 255, 255, 0.08);
    transition:
        top 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.26s ease,
        opacity 0.22s ease,
        box-shadow 0.3s ease;
}

.menu-toggle__line:nth-of-type(1) {
    top: calc(50% - var(--menu-line-gap));
    transform: translate(-50%, -50%);
}

.menu-toggle__line:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle__line:nth-of-type(3) {
    top: calc(50% + var(--menu-line-gap));
    transform: translate(-50%, -50%);
}

.menu-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 51, 0.42);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.5);
}

.menu-toggle.menu-toggle--inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
}

.menu-toggle[aria-expanded="true"] {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(255, 210, 51, 0.58);
    box-shadow:
        0 22px 42px rgba(0, 0, 0, 0.44),
        0 0 0 1px rgba(255, 210, 51, 0.18);
    background:
        radial-gradient(circle at 20% 16%, rgba(255, 210, 51, 0.32), transparent 40%),
        linear-gradient(160deg, rgba(18, 28, 44, 0.98), rgba(10, 14, 24, 0.94));
}

.menu-toggle[aria-expanded="true"]::before {
    opacity: 0.78;
    transform: scale(1.05) rotate(180deg);
}

.menu-toggle[aria-expanded="true"]::after {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(160deg, rgba(13, 18, 31, 0.95), rgba(7, 10, 18, 0.92));
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(1) {
    top: 50%;
    width: 24px;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow:
        0 0 12px rgba(255, 210, 51, 0.5),
        0 0 24px rgba(35, 103, 255, 0.18);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(2) {
    opacity: 0;
    width: 10px;
    transform: translate(-50%, -50%) scaleX(0.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(3) {
    top: 50%;
    width: 24px;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow:
        0 0 12px rgba(255, 210, 51, 0.5),
        0 0 24px rgba(35, 103, 255, 0.18);
}

body.menu-open {
    overflow: hidden;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 44;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 210, 51, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(4, 6, 10, 0.3), rgba(4, 6, 10, 0.72));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 70;
    width: min(392px, calc(100vw - 28px));
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 210, 51, 0.15), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(35, 103, 255, 0.16), transparent 42%),
        rgba(7, 11, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.52);
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.layout-has-bottom-nav .nav-drawer {
    bottom: calc(var(--bottom-nav-clearance) + 14px + env(safe-area-inset-bottom, 0px));
}

.nav-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.nav-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.nav-drawer__brand {
    display: grid;
    gap: 4px;
}

.nav-drawer__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 210, 51, 0.92);
}

.nav-drawer__brand strong {
    font-size: 1.18rem;
    line-height: 1.05;
}

.nav-drawer__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nav-drawer__close:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 210, 51, 0.28);
    transform: rotate(90deg);
}

.nav-drawer__scroll {
    overflow-y: auto;
    padding: 14px 14px 18px;
}

.nav-group {
    margin-bottom: 16px;
}

.nav-group__title {
    margin: 0 6px 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(183, 191, 205, 0.78);
}

.nav-group--danger .nav-group__title {
    color: rgba(255, 130, 130, 0.84);
}

.nav-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    color: var(--text);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover {
    transform: translateX(-4px);
    color: #fff8df;
    background: linear-gradient(180deg, rgba(255, 210, 51, 0.14), rgba(255, 255, 255, 0.06));
    border-color: rgba(255, 210, 51, 0.22);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.nav-item__emoji {
    --ui-icon-color: #f4f7ff;
    --ui-icon-glow: rgba(255, 210, 51, 0.3);
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: var(--ui-icon-color);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(35, 103, 255, 0.24), rgba(255, 210, 51, 0.12));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 18px rgba(0, 0, 0, 0.14);
}

.nav-item__emoji .ui-icon {
    width: 26px;
    height: 26px;
    filter:
        drop-shadow(0 0 10px var(--ui-icon-glow))
        drop-shadow(0 3px 10px rgba(0, 0, 0, 0.14));
}

.nav-item__content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.nav-item__content strong {
    font-size: 0.98rem;
    line-height: 1.1;
}

.nav-item__content small {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.25;
}

.nav-list .cta-link {
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.94), rgba(255, 183, 3, 0.9));
    border-color: rgba(255, 210, 51, 0.44);
    color: #11151d;
    box-shadow: 0 16px 28px rgba(255, 183, 3, 0.18);
}

.nav-list .cta-link .nav-item__emoji {
    background: rgba(17, 21, 29, 0.12);
}

.nav-list .cta-link .nav-item__content small {
    color: rgba(17, 21, 29, 0.72);
}

.nav-list .danger-link {
    color: #ffe1e1;
    background: linear-gradient(180deg, rgba(255, 59, 48, 0.18), rgba(255, 59, 48, 0.09));
    border-color: rgba(255, 93, 93, 0.24);
}

.nav-list .danger-link .nav-item__emoji {
    background: linear-gradient(145deg, rgba(255, 59, 48, 0.28), rgba(255, 119, 119, 0.12));
}

.nav-item__emoji--home,
.nav-emoji--home {
    --ui-icon-color: #ffec99;
    --ui-icon-glow: rgba(255, 210, 51, 0.52);
}

.nav-item__emoji--profile,
.nav-emoji--profile,
.tile-emoji-glass--profile,
.nav-item__emoji--users,
.tile-emoji-glass--users,
.nav-item__emoji--login,
.nav-item__emoji--register {
    --ui-icon-color: #f0d7ff;
    --ui-icon-glow: rgba(183, 129, 255, 0.5);
}

.nav-item__emoji--order,
.tile-emoji-glass--taxi {
    --ui-icon-color: #ffe28a;
    --ui-icon-glow: rgba(255, 198, 77, 0.56);
}

.nav-item__emoji--booking,
.tile-emoji-glass--booking,
.nav-item__emoji--history {
    --ui-icon-color: #b7f0ff;
    --ui-icon-glow: rgba(70, 168, 255, 0.5);
}

.nav-item__emoji--pricing,
.tile-emoji-glass--pricing,
.nav-item__emoji--finance,
.tile-emoji-glass--finance {
    --ui-icon-color: #fff0a6;
    --ui-icon-glow: rgba(255, 214, 92, 0.54);
}

.nav-item__emoji--shop,
.tile-emoji-glass--shop,
.nav-item__emoji--cart,
.nav-item__emoji--catalog,
.tile-emoji-glass--catalog {
    --ui-icon-color: #ffd7bd;
    --ui-icon-glow: rgba(255, 146, 84, 0.5);
}

.nav-item__emoji--inventory,
.tile-emoji-glass--delivery {
    --ui-icon-color: #b6ffd0;
    --ui-icon-glow: rgba(66, 211, 137, 0.52);
}

.nav-item__emoji--dashboard,
.tile-emoji-glass--dashboard {
    --ui-icon-color: #b8dcff;
    --ui-icon-glow: rgba(70, 168, 255, 0.48);
}

.nav-item__emoji--active,
.nav-emoji--active,
.tile-emoji-glass--active,
.nav-item__emoji--orders,
.tile-emoji-glass--orders {
    --ui-icon-color: #bffff4;
    --ui-icon-glow: rgba(69, 214, 188, 0.52);
}

.nav-item__emoji--brain,
.tile-emoji-glass--brain {
    --ui-icon-color: #dcc6ff;
    --ui-icon-glow: rgba(150, 116, 255, 0.54);
}

.nav-item__emoji--ads {
    --ui-icon-color: #ffc8df;
    --ui-icon-glow: rgba(255, 120, 160, 0.48);
}

.nav-item__emoji--notifications {
    --ui-icon-color: #cae5ff;
    --ui-icon-glow: rgba(108, 178, 255, 0.48);
}

.nav-item__emoji--chat,
.tile-emoji-glass--chat {
    --ui-icon-color: #bfe6ff;
    --ui-icon-glow: rgba(84, 190, 255, 0.54);
}

.nav-item__emoji--logout {
    --ui-icon-color: #ffd0d0;
    --ui-icon-glow: rgba(255, 93, 93, 0.5);
}

.page-shell {
    max-width: 1080px;
    margin: 12px auto 24px;
    padding: 0 12px calc(var(--bottom-nav-clearance) + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(var(--bottom-nav-clearance) + env(safe-area-inset-bottom, 0px));
}

body.page-app-home {
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.page-app-home .page-shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

body.page-app-home .page-shell > * {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 10px;
}

.page-shell > * {
    background: rgba(8, 11, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
}

.page-shell > .order-shell {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 0;
}

.page-inline-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.page-inline-nav h1,
.page-inline-nav h2,
.page-inline-nav h3 {
    margin: 0;
    min-width: 0;
}

.dashboard-user-heading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.dashboard-user-heading__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.dashboard-user-heading__identity h1,
.dashboard-user-heading__identity h2,
.dashboard-user-heading__identity h3 {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-user-heading__system {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.driver-chat-header-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.driver-chat-header-button:hover {
    color: #ffd233;
    border-color: rgba(255, 210, 51, 0.38);
    background: rgba(255, 210, 51, 0.09);
    transform: translateY(-1px);
}

.driver-chat-header-button:focus-visible {
    outline: 2px solid rgba(255, 210, 51, 0.45);
    outline-offset: 2px;
}

.driver-chat-header-button.is-disabled {
    opacity: 0.56;
    cursor: default;
    transform: none;
}

.driver-chat-header-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.driver-chat-header-button__icon svg {
    width: 18px;
    height: 18px;
}

.driver-chat-header-button__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ffd233;
    border: 1px solid rgba(10, 14, 22, 0.68);
    color: #1a1f2d;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.26);
}

.driver-chat-header-button__badge.is-hidden {
    display: none;
}

.dashboard-user-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.dashboard-user-role--client {
    border-color: rgba(70, 168, 255, 0.28);
    background: rgba(70, 168, 255, 0.14);
    color: #d8efff;
}

.dashboard-user-role--driver {
    border-color: rgba(66, 211, 137, 0.32);
    background: rgba(66, 211, 137, 0.14);
    color: #d9ffea;
}

.dashboard-user-role--shop-admin {
    border-color: rgba(255, 210, 51, 0.32);
    background: rgba(255, 210, 51, 0.14);
    color: #fff2be;
}

.dashboard-user-role--admin {
    border-color: rgba(150, 116, 255, 0.34);
    background: rgba(150, 116, 255, 0.14);
    color: #eadbff;
}

.system-access-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.system-access-trigger:hover,
.system-access-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.system-access-trigger--ok {
    border-color: rgba(66, 211, 137, 0.38);
    background: rgba(66, 211, 137, 0.12);
    color: #d9ffea;
}

.system-access-trigger--needs {
    border-color: rgba(255, 210, 51, 0.42);
    background: rgba(255, 210, 51, 0.12);
    color: #ffe8a8;
}

.system-access-trigger__icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    line-height: 1;
}

.system-access-dialog {
    width: min(720px, calc(100vw - 24px));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 0;
    color: var(--text);
    background: rgba(6, 9, 15, 0.96);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.44);
}

.system-access-dialog::backdrop {
    background: rgba(3, 5, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.system-access-dialog__shell {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.system-access-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.system-access-dialog__eyebrow,
.profile-app-update__eyebrow,
.mobile-app-panel__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.system-access-dialog__head h3,
.system-access-dialog__summary,
.mobile-app-panel__copy h3,
.mobile-app-panel__copy p,
.profile-app-update__copy h3,
.profile-app-update__copy p {
    margin: 0;
}

.system-access-dialog__summary {
    margin-top: 8px;
    color: var(--text-soft);
    line-height: 1.5;
}

.system-access-dialog__close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
}

.system-access-dialog__list {
    display: grid;
    gap: 10px;
}

.system-access-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.system-access-item.is-ready {
    border-color: rgba(66, 211, 137, 0.24);
    background: rgba(66, 211, 137, 0.08);
}

.system-access-item.is-missing {
    border-color: rgba(255, 210, 51, 0.22);
    background: rgba(255, 210, 51, 0.06);
}

.system-access-item.is-app-only {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.84;
}

.system-access-item__state {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.98rem;
    font-weight: 800;
}

.system-access-item.is-ready .system-access-item__state {
    color: #7ff0b5;
}

.system-access-item.is-missing .system-access-item__state {
    color: #ffd97a;
}

.system-access-item.is-app-only .system-access-item__state {
    width: auto;
    min-width: 40px;
    padding-inline: 6px;
    border-radius: 999px;
    color: #c4d4f2;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.system-access-item__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.system-access-item__copy strong,
.system-access-item__copy p {
    margin: 0;
}

.system-access-item__copy p {
    color: var(--text-soft);
    line-height: 1.45;
}

.system-access-item__action {
    min-height: 40px;
    padding-inline: 14px;
}

.system-access-item__badge,
.mobile-app-panel__status {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.system-access-item__badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.profile-app-update {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.profile-app-update__copy {
    display: grid;
    gap: 6px;
}

.profile-app-update__actions {
    flex: 0 0 auto;
}

.profile-preference-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
}

.profile-preference-card__copy {
    display: grid;
    gap: 6px;
}

.profile-preference-card__copy h3,
.profile-preference-card__copy p {
    margin: 0;
}

.profile-preference-card__eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.profile-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.profile-toggle__copy {
    display: grid;
    gap: 4px;
}

.profile-toggle__copy strong,
.profile-toggle__copy small {
    margin: 0;
}

.profile-toggle__copy small {
    color: var(--text-soft);
    line-height: 1.45;
}

.mobile-app-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.9fr);
    gap: 12px;
}

.mobile-app-panel__copy,
.mobile-app-panel__actions,
.mobile-app-panel__ios {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
}

.mobile-app-panel__actions {
    align-content: center;
    justify-items: start;
}

.mobile-app-panel__version {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.mobile-app-panel__status {
    margin: 0;
}

.mobile-app-panel__ios {
    grid-column: 1 / -1;
}

.mobile-app-panel__ios strong,
.mobile-app-panel__ios p {
    margin: 0;
}

.pricing-hero {
    display: grid;
    gap: 18px;
    align-items: start;
}

.pricing-eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-lead {
    max-width: 760px;
}

.pricing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.pricing-summary-grid,
.pricing-route-grid {
    display: grid;
    gap: 12px;
}

.pricing-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-route-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-card,
.pricing-route-card,
.pricing-actions {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
}

.pricing-card {
    display: grid;
    gap: 10px;
}

.pricing-card--accent {
    background: linear-gradient(160deg, rgba(255, 210, 51, 0.2), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 210, 51, 0.25);
}

.pricing-card--danger {
    background: linear-gradient(160deg, rgba(255, 93, 93, 0.14), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 93, 93, 0.22);
}

.pricing-card__label {
    color: var(--text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-card strong {
    font-size: 1.1rem;
    line-height: 1.25;
}

.pricing-card small,
.pricing-route-card p {
    color: var(--text-soft);
    line-height: 1.45;
}

.pricing-card a,
.pricing-route-card a {
    font-weight: 700;
}

.pricing-section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.pricing-route-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.pricing-route-card__top h4 {
    margin-bottom: 8px;
}

.pricing-parts,
.pricing-lines {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
}

.pricing-parts {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.pricing-lines {
    display: grid;
    gap: 8px;
}

.pricing-raw {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.pricing-raw summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--text);
}

.pricing-raw summary::-webkit-details-marker {
    display: none;
}

.pricing-raw[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-raw .pricing-lines {
    padding: 14px 16px 16px 32px;
}

h1, h2, h3, h4 {
    margin-top: 0;
    color: var(--text);
}

p {
    color: var(--text-soft);
}

form {
    display: grid;
    gap: 10px;
}

.order-compact-form {
    gap: 8px;
}

.page-shell > .order-page {
    padding: 12px;
}

.order-page h2 {
    margin-bottom: 8px;
}

.order-form-grid {
    gap: 8px;
}

.order-toolbar-btn {
    width: auto;
    min-width: 116px;
    white-space: nowrap;
}

.order-form-grid > .order-field,
.order-inline-grid > .order-field,
.order-route-stack > .order-field,
.order-booking-grid > .order-field {
    min-width: 0;
}

.order-inline-grid,
.order-booking-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-route-stack {
    display: grid;
    gap: 8px;
}

.order-field {
    display: grid;
    gap: 4px;
}

.order-stopover-fields {
    display: grid;
    gap: 8px;
}

.order-submit-row {
    display: flex;
}

.order-stopover-shell {
    display: grid;
    gap: 8px;
}

.order-stopover-summary {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding-inline: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}

.order-stopover-summary__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.order-stopover-summary__label {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.order-stopover-summary__text {
    color: rgba(183, 191, 205, 0.82);
    font-size: 0.78rem;
    line-height: 1.25;
}

.order-stopover-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.order-stopover-shell.is-expanded .order-stopover-summary__icon {
    transform: rotate(45deg);
}

.order-stopover-actions {
    display: flex;
    justify-content: flex-end;
}

.order-stopover-icon-btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
}

.order-stopover-field {
    position: relative;
}

.order-stopover-field input {
    padding-right: 44px;
}

.order-stopover-remove {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.order-stopover-remove:hover {
    border-color: rgba(255, 93, 93, 0.32);
    background: rgba(255, 93, 93, 0.12);
    color: #ffe0e0;
}

.order-submit-btn {
    width: 100%;
    min-height: 46px;
}

.order-field--placeholder {
    position: relative;
}

.order-field--placeholder > label {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    max-width: calc(100% - 24px);
    margin: 0;
    overflow: hidden;
    color: rgba(226, 232, 242, 0.62);
    pointer-events: none;
    text-overflow: ellipsis;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.order-field--placeholder > textarea + label {
    top: 13px;
    transform: none;
}

.order-field--placeholder > input:focus + label,
.order-field--placeholder > textarea:focus + label,
.order-field--placeholder.is-filled > label {
    opacity: 0;
    transform: translateY(-6px);
}

.order-field--placeholder > textarea:focus + label,
.order-field--placeholder.is-filled > textarea + label {
    transform: translateY(-6px);
}

.order-shell {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.order-shell__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.order-shell__intro h2 {
    margin-bottom: 2px;
    font-size: 1.35rem;
}

.order-shell__intro p {
    margin: 0;
    max-width: 640px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.order-shell__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.order-builder {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(290px, 0.95fr);
    gap: 12px;
    align-items: start;
}

.order-builder__main {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

.order-builder__sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    z-index: 2;
}

.order-panel,
.order-submit-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.82), rgba(8, 11, 18, 0.88));
    box-shadow: var(--shadow);
}

.order-panel {
    padding: 12px;
}

.order-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.order-panel__head h3,
.order-submit-card h3 {
    margin-bottom: 0;
}

.order-panel__eyebrow,
.order-submit-card__eyebrow {
    margin: 0 0 4px;
    color: rgba(255, 210, 51, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.order-grid {
    display: grid;
    gap: 10px;
}

.order-grid--meta,
.order-grid--route,
.order-grid--timing {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.order-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.order-compact-form label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(226, 232, 242, 0.86);
}

.order-compact-form input,
.order-compact-form select,
.order-compact-form textarea,
.order-compact-form button {
    padding-top: 10px;
    padding-bottom: 10px;
}

.order-compact-form input,
.order-compact-form select,
.order-compact-form textarea {
    min-height: 42px;
    padding: 10px 11px;
}

.order-field--placeholder > input,
.order-field--placeholder > textarea {
    padding-left: 12px;
}

.order-compact-form textarea {
    min-height: 68px;
    resize: vertical;
}

.order-panel__head--route {
    align-items: center;
}

.order-stopover-toggle {
    width: auto;
    min-width: 114px;
    white-space: nowrap;
    padding-inline: 12px;
}

.order-submit-card {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.order-summary-item {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-summary-item--wide {
    grid-column: span 2;
}

.order-summary-item span {
    color: rgba(183, 191, 205, 0.78);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-summary-item strong {
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.28;
    word-break: break-word;
}

.order-submit-card__hint {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.38;
}

#submitOrderBtn {
    min-height: 48px;
    font-size: 0.94rem;
}

.order-panel--route {
    grid-column: 1 / -1;
}

.order-panel--notes {
    grid-column: 1 / -1;
}

.address-box {
    position: relative;
}

.addr-suggest-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    display: grid;
    gap: 4px;
    background: rgba(8, 12, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 6px;
    max-height: 170px;
    overflow-y: auto;
}

.addr-item {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    padding: 8px 9px;
    font-size: 0.86rem;
}

label {
    color: var(--text-soft);
    font-size: 0.94rem;
}

input,
select,
textarea,
button {
    width: 100%;
    font: inherit;
}

input,
select,
textarea {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    padding: 12px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 210, 51, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 210, 51, 0.15);
}

button,
.button,
a.button {
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    color: #111;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover,
.button:hover,
a.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 210, 51, 0.28);
}

.button.secondary,
a.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.button.secondary:hover,
a.button.secondary:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

#grantGeoBtn,
#enableSpeechBtn,
#whereBtn {
    color: #f8fbff;
    background: linear-gradient(135deg, #1f66ff, #1651d6);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

#grantGeoBtn:hover,
#enableSpeechBtn:hover,
#whereBtn:hover {
    box-shadow: 0 8px 18px rgba(35, 103, 255, 0.35);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: var(--radius-md);
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

th {
    color: #cfd6e5;
    background: rgba(255, 255, 255, 0.04);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.driver-orders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.new-order-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 8px;
    align-items: stretch;
    min-width: 0;
    grid-column: 1 / -1;
}

.new-order-accept-form {
    margin: 0;
    display: flex;
    align-items: stretch;
}

.new-order-accept-form button,
a.new-order-accept-form {
    width: 100%;
    min-height: 100%;
    padding: 8px 10px;
}

a.new-order-accept-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.driver-available-order-card {
    aspect-ratio: auto;
    min-height: 0;
    padding: 12px;
    gap: 8px;
}

.driver-available-order-card__main {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.driver-available-order-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.driver-available-order-card__meta {
    color: rgba(226, 232, 242, 0.78);
}

.driver-available-order-card__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.driver-available-order-card__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 51, 0.22);
    background: rgba(255, 210, 51, 0.12);
    color: #fff1bf;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
    white-space: normal;
}

.driver-available-order-card__route,
.driver-available-order-card__extras {
    display: grid;
    gap: 6px;
}

.driver-available-order-card__detail,
.driver-available-order-card__extras p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.35;
    color: rgba(226, 232, 242, 0.88);
}

.driver-available-order-card__verbatim {
    color: var(--text);
}

.dashboard-tile {
    position: relative;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.dashboard-tile.dashboard-tile--link {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.dashboard-tile.dashboard-tile--link:hover,
.dashboard-tile.dashboard-tile--link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 51, 0.22);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.24);
}

.dashboard-tile > * {
    position: relative;
    z-index: 2;
}

.tile-emoji-glass {
    --ui-icon-color: rgba(255, 255, 255, 0.34);
    --ui-icon-glow: rgba(255, 210, 51, 0.34);
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    color: var(--ui-icon-color);
    opacity: 0.32;
    filter: blur(1.1px) saturate(1.15);
    -webkit-filter: blur(1.1px) saturate(1.15);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 2.2s ease-in-out infinite;
}

.tile-emoji-glass .ui-icon {
    width: 100%;
    height: 100%;
    filter:
        drop-shadow(0 0 14px var(--ui-icon-glow))
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.08));
}

.dashboard-tile h4,
.dashboard-tile h3 {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.2;
    word-break: break-word;
}

.dashboard-tile p {
    margin: 0;
    font-size: 0.74rem;
    color: var(--text);
    word-break: break-word;
}

.dashboard-tile--wide {
    aspect-ratio: auto;
    min-height: 0;
}

.dashboard-tile .button,
.dashboard-tile button {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 8px 8px;
    font-size: 0.82rem;
    line-height: 1.1;
}

.dashboard-tile select,
.dashboard-tile input {
    padding: 6px 8px;
    font-size: 0.78rem;
}

.tile-address {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.22;
    min-height: 2.7em;
}

.tile-address--inline {
    margin: 0;
    min-height: 0;
}

.tile-address-row,
.order-address-action-row,
.driver-offer-alert__point-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.order-address-action-row,
.driver-offer-alert__point-copy {
    width: 100%;
}

.tile-address-row__text,
.order-address-action-row__text,
.driver-offer-alert__point-copy strong {
    min-width: 0;
}

.driver-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 51, 0.26);
    background: rgba(255, 210, 51, 0.12);
    color: #fff4bf;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none;
}

.driver-map-link:hover,
.driver-map-link:focus-visible {
    color: #fff9dc;
    border-color: rgba(255, 225, 126, 0.42);
    background: rgba(255, 210, 51, 0.18);
    transform: none;
    box-shadow: none;
}

.driver-map-link.is-hidden {
    display: none !important;
}

.driver-map-link--tile,
.driver-map-link--alert {
    min-height: 30px;
    padding: 0 9px;
}

.driver-top-grid .dashboard-tile form {
    display: grid;
    gap: 4px;
}

.driver-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.driver-top-grid .dashboard-tile {
    aspect-ratio: auto;
    min-height: 0;
    padding: 12px;
    gap: 8px;
}

.driver-top-grid .dashboard-tile form {
    margin-top: auto;
    gap: 6px;
}

.driver-top-card__status {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text, #f6f7fb);
}

.driver-top-card__meta {
    font-size: 0.76rem;
    line-height: 1.28;
    color: rgba(226, 232, 242, 0.82);
}

.driver-chat-card {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 100px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 14% 18%, rgba(35, 103, 255, 0.14), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 210, 51, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(20, 26, 39, 0.96), rgba(10, 14, 22, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 30px rgba(0, 0, 0, 0.28);
}

.driver-chat-strip {
    margin-bottom: 12px;
}

.driver-chat-card--compact {
    min-height: 82px;
    padding: 10px 12px;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 10px;
    border-radius: 16px;
}

.driver-chat-card:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at 14% 18%, rgba(35, 103, 255, 0.18), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 210, 51, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(24, 31, 46, 0.98), rgba(11, 16, 26, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 34px rgba(0, 0, 0, 0.34);
    transform: translateY(-1px);
}

.driver-chat-card.is-disabled {
    opacity: 0.86;
}

.driver-chat-card .tile-emoji-glass {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 56px;
    height: 56px;
    opacity: 1;
    filter: none;
    -webkit-filter: none;
}

.driver-chat-card--compact .tile-emoji-glass {
    width: 42px;
    height: 42px;
}

.driver-chat-card__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.driver-chat-card__copy h3 {
    margin: 0;
}

.driver-chat-card__copy .driver-top-card__status,
.driver-chat-card__copy .driver-top-card__meta {
    margin: 0;
}

.driver-chat-card__copy .driver-top-card__status {
    font-size: 0.86rem;
    line-height: 1.35;
}

.driver-chat-card--compact .driver-chat-card__copy {
    gap: 2px;
}

.driver-chat-card--compact .driver-chat-card__copy h3 {
    font-size: 0.88rem;
    line-height: 1.15;
}

.driver-chat-card--compact .driver-chat-card__copy .driver-top-card__status {
    font-size: 0.78rem;
    line-height: 1.28;
}

.driver-chat-card--compact .driver-chat-card__copy .driver-top-card__meta {
    font-size: 0.72rem;
}

.driver-chat-card__indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 2px 0 0;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 173, 51, 0.28);
    background: rgba(255, 173, 51, 0.08);
    color: #ffd8a8;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.driver-chat-card__indicator svg {
    width: 13px;
    height: 13px;
}

.driver-chat-card__badge {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 210, 51, 0.18);
    border: 1px solid rgba(255, 210, 51, 0.42);
    color: #fff4bf;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 0 0 1px rgba(255, 210, 51, 0.08), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.driver-chat-card__badge.is-hidden {
    display: none;
}

.driver-top-grid .dashboard-tile button,
.driver-top-grid .dashboard-tile input,
.driver-top-grid .dashboard-tile select {
    min-height: 38px;
    font-size: 0.76rem;
}

.driver-top-grid .dashboard-tile h3 {
    font-size: 0.84rem;
}

.driver-top-grid .dashboard-tile input,
.driver-top-grid .dashboard-tile select {
    padding: 6px 8px;
}

.driver-top-grid .dashboard-tile form button {
    padding: 8px 6px;
}

.dashboard-focus-target {
    scroll-margin-top: 96px;
    box-shadow:
        0 0 0 1px rgba(255, 210, 51, 0.68),
        0 0 0 5px rgba(255, 210, 51, 0.12),
        0 18px 42px rgba(255, 210, 51, 0.18);
    transition: box-shadow 0.24s ease;
}

.driver-shift-payment-card {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    padding: 12px;
    gap: 10px;
}

.driver-shift-payment-card__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.driver-shift-payment-card__total {
    display: grid;
    gap: 2px;
    justify-items: end;
    text-align: right;
}

.driver-shift-payment-card__total span {
    font-size: 0.72rem;
    color: rgba(226, 232, 242, 0.7);
}

.driver-shift-payment-card__total strong {
    font-size: 1rem;
    color: #ffd233;
}

.driver-shift-payment-card__meta,
.driver-shift-payment-card__blocks {
    display: grid;
    gap: 6px;
}

.driver-shift-payment-card__meta {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.driver-shift-payment-card .driver-shift-payment-card__copy-button {
    width: 100%;
    margin-top: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 210, 51, 0.45);
    background: rgba(255, 210, 51, 0.14);
    color: #fff4bf;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.driver-shift-payment-card__copy-button.is-copied {
    background: rgba(47, 214, 122, 0.2);
    border-color: rgba(47, 214, 122, 0.55);
    color: #dbffe8;
}

.driver-shift-payment-card__copy-hint {
    font-size: 0.72rem;
    color: rgba(226, 232, 242, 0.72);
}

.driver-shift-payment-card__block {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 4px;
}

.driver-shift-payment-card__block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.driver-shift-payment-card__block-head span {
    color: #ffd233;
    font-weight: 800;
    white-space: nowrap;
}

body.page-driver-chat {
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.page-driver-chat .page-shell {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.page-driver-chat .page-shell > .driver-chat-shell {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
}

.driver-chat-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.84), rgba(8, 11, 18, 0.92));
}

.driver-chat-shell__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.driver-chat-shell__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.driver-chat-shell__copy h3,
.driver-chat-shell__copy p {
    margin: 0;
}

.driver-chat-shell__eyebrow {
    margin: 0;
    color: rgba(255, 210, 51, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.driver-chat-shell__summary {
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

.driver-chat-shell__badge {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(66, 211, 137, 0.18);
    border: 1px solid rgba(66, 211, 137, 0.34);
    color: #deffea;
    font-size: 0.82rem;
    font-weight: 900;
}

.driver-chat-shell__badge.is-hidden {
    display: none;
}

.driver-chat-shell__summary-text {
    max-width: 260px;
    color: rgba(226, 232, 242, 0.82);
    font-size: 0.8rem;
    line-height: 1.35;
}

.driver-chat-feed {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    justify-items: start;
    gap: 10px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 210, 51, 0.32) transparent;
}

.driver-chat-message {
    display: grid;
    gap: 4px;
    width: 100%;
    align-self: start;
    justify-items: start;
}

.driver-chat-message.is-mine {
    justify-items: end;
}

.driver-chat-message.is-selected .driver-chat-bubble {
    border-color: rgba(255, 210, 51, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 210, 51, 0.12), 0 18px 32px rgba(0, 0, 0, 0.24);
}

.driver-chat-message__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: fit-content;
    max-width: min(78vw, 360px);
    color: rgba(183, 191, 205, 0.82);
    font-size: 0.75rem;
}

.driver-chat-message__meta-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.driver-chat-message.is-mine .driver-chat-message__meta,
.driver-chat-message.is-mine .driver-chat-message__meta-main {
    justify-content: flex-end;
}

.driver-chat-message__meta strong {
    color: #fff8de;
    font-size: 0.78rem;
}

.driver-chat-delete {
    padding: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 210, 51, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: none;
}

.driver-chat-delete:hover,
.driver-chat-delete:focus-visible {
    transform: none;
    background: transparent;
    color: #fff4bf;
    text-decoration: underline;
    box-shadow: none;
}

.driver-chat-reply {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    border-left: 3px solid rgba(255, 210, 51, 0.72);
    background: rgba(255, 255, 255, 0.05);
}

.driver-chat-reply.is-missing {
    border-left-color: rgba(255, 255, 255, 0.28);
    opacity: 0.8;
}

.driver-chat-reply strong,
.driver-chat-reply span {
    min-width: 0;
}

.driver-chat-reply strong {
    color: #fff4bf;
    font-size: 0.76rem;
}

.driver-chat-reply span {
    color: rgba(226, 232, 242, 0.72);
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.driver-chat-bubble {
    display: inline-grid;
    width: fit-content;
    max-width: min(78vw, 360px);
    gap: 6px;
    padding: 10px 12px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 210, 51, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(19, 25, 38, 0.96), rgba(11, 15, 23, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.driver-chat-message.is-mine .driver-chat-bubble {
    background:
        radial-gradient(circle at 18% 14%, rgba(66, 211, 137, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(16, 33, 28, 0.98), rgba(9, 21, 18, 0.94));
    border-color: rgba(66, 211, 137, 0.22);
}

.driver-chat-bubble__text {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.45;
}

.driver-chat-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    max-width: min(78vw, 360px);
}

.driver-chat-message.is-mine .driver-chat-reactions {
    justify-content: flex-end;
}

.driver-chat-reaction-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(245, 247, 251, 0.9);
    font-size: 0.76rem;
    font-weight: 800;
}

.driver-chat-reaction-chip.is-mine {
    border-color: rgba(255, 210, 51, 0.38);
    background: rgba(255, 210, 51, 0.1);
    color: #fff4bf;
}

.driver-chat-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.driver-chat-media--image img,
.driver-chat-media--video {
    display: block;
    max-width: min(100%, 320px);
    width: auto;
    max-height: 280px;
    object-fit: cover;
}

.driver-chat-media--audio {
    width: min(100%, 320px);
    display: grid;
    gap: 8px;
    justify-items: stretch;
    padding: 10px 12px;
}

.driver-chat-media--audio audio {
    width: 100%;
}

.driver-chat-media__label {
    min-width: 0;
    color: rgba(223, 241, 255, 0.92);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.driver-chat-media--file {
    padding: 10px 12px;
    color: #fff4bf;
    font-weight: 800;
}

.driver-chat-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.driver-chat-empty.is-hidden {
    display: none;
}

.driver-chat-empty__icon {
    width: 48px;
    height: 48px;
    color: #9bd0ff;
}

.driver-chat-empty strong,
.driver-chat-empty p {
    margin: 0;
}

.driver-chat-composer {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 11, 18, 0.78);
    padding: 10px;
}

.driver-chat-actionbar,
.driver-chat-compose-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.driver-chat-actionbar__context,
.driver-chat-compose-state__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.driver-chat-actionbar__context strong,
.driver-chat-actionbar__context span,
.driver-chat-compose-state__copy strong,
.driver-chat-compose-state__copy p,
.driver-chat-compose-state__copy span {
    min-width: 0;
    margin: 0;
}

.driver-chat-actionbar__context strong,
.driver-chat-compose-state__copy strong,
.driver-chat-compose-state__label {
    font-size: 0.76rem;
    color: #fff4bf;
    font-weight: 800;
}

.driver-chat-actionbar__context span,
.driver-chat-compose-state__copy p {
    color: rgba(226, 232, 242, 0.76);
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.driver-chat-actionbar__buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.driver-chat-action-icon,
.driver-chat-compose-state__cancel {
    display: inline-flex;
    width: 38px;
    flex: 0 0 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #dff1ff;
    box-shadow: none;
    line-height: 1;
    text-align: center;
}

.driver-chat-action-icon .ui-icon,
.driver-chat-compose-state__cancel .ui-icon {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
}

.driver-chat-action-icon--danger {
    color: #ff9e9e;
}

.driver-chat-action-icon:hover,
.driver-chat-action-icon:focus-visible,
.driver-chat-compose-state__cancel:hover,
.driver-chat-compose-state__cancel:focus-visible,
.driver-chat-reaction-picker__button:hover,
.driver-chat-reaction-picker__button:focus-visible {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
}

.driver-chat-reaction-picker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.driver-chat-reaction-picker__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.08rem;
    box-shadow: none;
    line-height: 1;
}

.driver-chat-composer__form {
    display: grid;
    gap: 8px;
}

.driver-chat-composer__row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: end;
}

.driver-chat-attach,
.driver-chat-send {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #dff1ff;
}

.driver-chat-send {
    width: 52px;
    height: 48px;
}

.driver-chat-send.is-voice-ready {
    border-color: rgba(94, 178, 255, 0.26);
    background: rgba(68, 124, 255, 0.12);
}

.driver-chat-send.is-recording {
    border-color: rgba(255, 110, 110, 0.5);
    background: rgba(255, 94, 94, 0.16);
    color: #ffe7e7;
    box-shadow: 0 0 0 1px rgba(255, 110, 110, 0.18), 0 0 24px rgba(255, 110, 110, 0.16);
}

.driver-chat-attach .ui-icon,
.driver-chat-send .ui-icon {
    width: 22px;
    height: 22px;
}

.driver-chat-composer textarea {
    min-height: 48px;
    max-height: 120px;
    resize: vertical;
    padding: 12px 14px;
}

.driver-chat-composer__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(183, 191, 205, 0.82);
    font-size: 0.76rem;
}

.driver-chat-composer__clear {
    width: auto;
    min-height: 32px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.driver-chat-modal-open {
    overflow: hidden;
}

.driver-chat-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 0 6px 6px;
    box-sizing: border-box;
}

.driver-chat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 5, 8, 0.26), rgba(3, 5, 8, 0.82));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.driver-chat-modal__sheet {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-width: 100%;
    height: min(88svh, 860px);
    margin: 0;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.92), rgba(8, 11, 18, 0.96));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.58);
}

.driver-chat-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.driver-chat-modal__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.driver-chat-modal__copy h3,
.driver-chat-modal__copy p {
    margin: 0;
}

.driver-chat-modal__eyebrow {
    margin: 0;
    color: rgba(255, 210, 51, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.driver-chat-modal__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.driver-chat-modal__voice {
    margin: 0;
}

.driver-chat-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0;
}

.driver-chat-modal__close:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 210, 51, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.driver-chat-feed--modal {
    padding: 12px 16px 12px 12px;
    align-content: start;
}

.driver-chat-composer--modal {
    position: relative;
    z-index: 2;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(9, 13, 21, 0.88), rgba(9, 13, 21, 0.98));
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 720px) {
    .driver-chat-card {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .driver-chat-card--compact {
        min-height: 76px;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 9px 10px;
    }

    .driver-chat-card .tile-emoji-glass {
        width: 48px;
        height: 48px;
    }

    .driver-chat-card--compact .tile-emoji-glass {
        width: 34px;
        height: 34px;
    }

    .driver-chat-shell {
        padding: 12px;
    }

    .driver-chat-shell__head {
        flex-direction: column;
        align-items: stretch;
    }

    .driver-chat-shell__summary {
        justify-items: start;
        text-align: left;
    }

    .driver-chat-shell__summary-text {
        max-width: 100%;
    }

    .driver-chat-message {
        width: 100%;
    }

    .driver-chat-message__meta,
    .driver-chat-bubble {
        max-width: min(82vw, 320px);
    }

    .driver-chat-composer__row {
        grid-template-columns: 44px minmax(0, 1fr) 48px;
    }

    .driver-chat-attach,
    .driver-chat-send {
        width: 44px;
        height: 44px;
    }

    .driver-chat-composer textarea {
        min-height: 44px;
    }

    .driver-chat-composer__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .driver-chat-modal {
        align-items: end;
        padding: 0 4px 4px;
    }

    .driver-chat-modal__sheet {
        width: 100%;
        max-width: 100%;
        height: min(92svh, 100svh);
        margin: 0;
        border-radius: 24px 24px 0 0;
    }

    .driver-chat-modal__head {
        padding: 12px 12px 10px;
    }

    .driver-chat-feed--modal {
        padding: 10px 14px 10px 10px;
    }

    .driver-chat-message__meta,
    .driver-chat-bubble {
        max-width: calc(100% - 10px);
    }

    .driver-chat-reactions {
        max-width: calc(100% - 10px);
    }

    .driver-chat-actionbar,
    .driver-chat-compose-state {
        align-items: flex-start;
    }

    .driver-chat-actionbar {
        flex-direction: column;
    }

    .driver-chat-actionbar__buttons {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

.product-card {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.product-card.product-card--link {
    display: block;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.product-card.product-card--link:hover,
.product-card.product-card--link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 51, 0.24);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.catalog-shell {
    display: grid;
    gap: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shopfront-shell {
    gap: 18px;
}

.shop-mobile-hero {
    padding: 16px;
    border-radius: 22px;
    display: grid;
    gap: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.15), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.shop-mobile-hero__top,
.shopfront-section__head,
.shopfront-inline-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.shop-mobile-hero__copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.shop-mobile-hero__copy h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3.8vw, 2rem);
    line-height: 1.08;
}

.shop-mobile-hero__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.shop-mobile-hero__subtitle,
.shop-mobile-hero__note,
.shopfront-section__head p,
.shopfront-inline-head p,
.shopfront-product-card__meta,
.shopfront-product-card__desc {
    margin: 0;
    color: var(--text-soft);
}

.shop-mobile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.shop-mobile-hero__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 51, 0.24);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
    font-weight: 800;
    font-size: 0.92rem;
}

.shop-mobile-hero__action--ghost,
.shop-mobile-hero__action--muted {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.shop-mobile-hero__meta,
.catalog-inline-summary,
.catalog-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-compact-chip,
.catalog-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 18, 0.56);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
}

.shop-compact-chip--accent,
.catalog-chip.is-active {
    border-color: rgba(255, 210, 51, 0.44);
    background: rgba(255, 210, 51, 0.16);
    color: #fff4c2;
}

.shop-compact-chip--blue {
    border-color: rgba(70, 168, 255, 0.3);
    background: rgba(70, 168, 255, 0.14);
    color: #d9edff;
}

.shop-quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.shop-quick-search__field {
    min-width: 0;
}

.shop-quick-search input {
    width: 100%;
}

.shop-quick-search button {
    min-width: 112px;
}

.catalog-hero,
.catalog-filter-bar,
.catalog-empty,
.inventory-log {
    padding: 16px;
    border-radius: 18px;
}

.catalog-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.catalog-hero__main h2,
.catalog-empty h3 {
    margin: 0 0 8px;
}

.catalog-hero__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.catalog-hero__meta,
.catalog-empty p,
.catalog-card__hint,
.shop-product-card__path {
    margin: 0;
    color: var(--text-soft);
}

.catalog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.catalog-action-link,
.catalog-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 210, 51, 0.24);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.16), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
    font-weight: 700;
}

.catalog-action-link--ghost,
.catalog-reset-link {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.catalog-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.catalog-filter-field,
.shop-admin-form {
    display: grid;
    gap: 8px;
}

.workspace-media-preview {
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.workspace-media-preview__image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

.catalog-filter-field label {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.catalog-filter-field input,
.catalog-filter-field select {
    min-width: 0;
}

.catalog-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.shop-subnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-subnav::-webkit-scrollbar {
    display: none;
}

.shop-subnav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 18, 0.5);
    color: var(--text);
    font-weight: 800;
    font-size: 0.84rem;
}

.shop-subnav__link.is-active {
    border-color: rgba(255, 210, 51, 0.44);
    background: rgba(255, 210, 51, 0.16);
    color: #fff4c2;
}

.shop-subnav__link--cart {
    margin-left: auto;
}

.shop-subnav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 210, 51, 0.92);
    color: #12161f;
    font-size: 0.78rem;
    font-weight: 900;
}

.shop-subnav__badge.is-updated,
.badge-circle.is-updated {
    animation: cartBadgePulse 0.7s ease;
}

.shopfront-section {
    padding: 16px;
    border-radius: 18px;
    display: grid;
    gap: 14px;
}

.shopfront-section__head h3,
.shopfront-inline-head h3 {
    margin: 0 0 6px;
}

.promo-carousel {
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
}

.promo-carousel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.promo-carousel__title {
    margin: 0;
}

.promo-carousel__subtitle {
    margin: 6px 0 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.promo-carousel__dots {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    padding: 0;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.promo-dot.is-active {
    background: rgba(255, 210, 51, 0.95);
    border-color: rgba(255, 210, 51, 0.85);
    transform: scale(1.15);
}

.promo-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.promo-carousel__track::-webkit-scrollbar {
    height: 8px;
}

.promo-carousel__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.promo-slide {
    flex: 0 0 clamp(240px, 82vw, 380px);
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 54%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(7, 11, 18, 0.68));
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
    display: grid;
    gap: 10px;
}

.promo-slide--accent {
    border-color: rgba(255, 210, 51, 0.24);
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 210, 51, 0.24), transparent 56%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(7, 11, 18, 0.72));
}

.promo-slide--blue {
    border-color: rgba(70, 168, 255, 0.26);
    background:
        radial-gradient(circle at 18% 20%, rgba(70, 168, 255, 0.22), transparent 56%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(7, 11, 18, 0.72));
}

.promo-slide__top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.promo-slide__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
}

.promo-slide__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.promo-slide__title {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.promo-slide__badge {
    align-self: start;
    display: inline-flex;
    min-height: 22px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #12161f;
    background: rgba(255, 210, 51, 0.92);
}

.promo-slide__text-flow {
    display: grid;
    gap: 8px;
}

.promo-slide__text-line {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.46;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.promo-slide__text-line--lead {
    color: var(--text);
    font-weight: 600;
}

.promo-slide__text-line--section {
    color: #fff1b3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.promo-slide__text-line--fact {
    padding-left: 12px;
    border-left: 2px solid rgba(255, 210, 51, 0.28);
}

.promo-slide__text {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.4;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.promo-slide--admin-preview {
    flex-basis: 100%;
}

.promo-slide__media {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
}

.promo-slide__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 210, 51, 0.26);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
    font-weight: 800;
    width: fit-content;
    max-width: 100%;
}

.promo-slide__cta:hover {
    border-color: rgba(255, 210, 51, 0.42);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.22), rgba(255, 183, 3, 0.1));
}

.shop-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.shop-category-grid--scroll {
    flex-wrap: nowrap;
    margin-top: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-category-grid--scroll::-webkit-scrollbar {
    display: none;
}

.shop-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 18, 0.5);
    color: var(--text);
    font-weight: 800;
    font-size: 0.84rem;
}

.shop-category-chip:hover {
    border-color: rgba(255, 210, 51, 0.32);
    background: rgba(255, 210, 51, 0.12);
    color: #fff4c2;
}

.shop-category-chip.is-active {
    border-color: rgba(255, 210, 51, 0.44);
    background: rgba(255, 210, 51, 0.16);
    color: #fff4c2;
}

.shopfront-product-grid,
.shopfront-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.shopfront-product-card,
.shopfront-link-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.shopfront-product-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.shopfront-product-card__media {
    display: block;
    min-height: 150px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 29, 0.42));
}

.shopfront-product-card__media img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.shopfront-product-card__placeholder {
    min-height: 150px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-weight: 800;
}

.shopfront-product-card__body {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.shopfront-product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.shopfront-product-card__top h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.shopfront-product-card__top strong {
    white-space: nowrap;
    color: var(--accent);
}

.shopfront-product-card__desc {
    line-height: 1.45;
}

.shopfront-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shopfront-product-card__link,
.shopfront-link-card {
    color: inherit;
}

.shopfront-product-card__link {
    font-weight: 800;
    color: #fff4c2;
}

.shopfront-link-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.shopfront-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 51, 0.28);
}

.shopfront-link-card strong {
    font-size: 1rem;
}

.shopfront-link-card span {
    color: var(--text-soft);
}

.shop-cart-conflict {
    padding: 16px;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-color: rgba(255, 93, 93, 0.26);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 93, 93, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.shop-cart-conflict__copy {
    display: grid;
    gap: 8px;
}

.shop-cart-conflict__copy h3 {
    margin: 0;
}

.shop-cart-conflict__copy p {
    margin: 0;
    color: var(--text-soft);
}

.shop-cart-conflict__eyebrow {
    color: #ffd4d4;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-cart-conflict__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.client-promo-carousel {
    margin-bottom: 14px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.review-card {
    padding: 14px;
    border-radius: 18px;
    display: grid;
    gap: 10px;
}

.review-card__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.review-card__meta {
    color: var(--text-soft);
    font-size: 0.82rem;
    white-space: nowrap;
}

.review-card__stars {
    letter-spacing: 0.08em;
    color: #ffd978;
    text-shadow: none;
    font-weight: 900;
}

.review-card__text {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.45;
}

.shop-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.shop-info-card {
    padding: 16px;
    border-radius: 18px;
    display: grid;
    gap: 12px;
}

.shop-info-card h3 {
    margin: 0;
}

.shop-info-list {
    display: grid;
    gap: 10px;
}

.shop-info-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.shop-info-list span {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.shop-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-howto {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    display: grid;
    gap: 8px;
}

.product-detail {
    padding: 16px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: start;
}

.product-detail__media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    min-height: 240px;
    display: grid;
    place-items: center;
}

.product-detail__image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.product-detail__placeholder {
    padding: 18px;
    color: var(--text-soft);
    font-weight: 800;
}

.product-detail__info {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.product-detail__path {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.product-detail__price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
}

.product-detail__price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--accent);
}

.product-detail__stock {
    color: var(--text-soft);
    font-weight: 800;
    font-size: 0.9rem;
}

.product-detail__stock.is-danger {
    color: #ffd4d4;
}

.product-detail__desc {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
    white-space: pre-wrap;
}

.product-detail__desc--muted {
    opacity: 0.9;
}

.product-detail__cart {
    margin: 0;
    display: grid;
    gap: 8px;
}

.product-detail__cart-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: center;
}

.product-detail__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.cart-stepper {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    align-items: center;
}

.cart-stepper--wide {
    width: 100%;
}

.cart-stepper__btn {
    min-height: 42px;
    padding: 0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 900;
}

.cart-stepper__input {
    width: 100%;
    text-align: center;
    font-weight: 800;
}

.cart-inline-conflict {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 93, 93, 0.22);
    background: rgba(255, 93, 93, 0.08);
}

.cart-inline-conflict span {
    color: #ffd4d4;
    font-size: 0.84rem;
    font-weight: 700;
}

.cart-inline-conflict a {
    font-size: 0.84rem;
    font-weight: 800;
}

.cart-inline-conflict--detail {
    padding: 14px;
}

.catalog-filter-drawer {
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
}

.catalog-filter-drawer__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
}

.catalog-filter-drawer__summary::-webkit-details-marker {
    display: none;
}

.catalog-filter-drawer__summary strong,
.catalog-filter-drawer__summary span {
    display: block;
}

.catalog-filter-drawer__summary span {
    color: var(--text-soft);
}

.catalog-filter-drawer__toggle {
    white-space: nowrap;
    font-weight: 800;
    color: #fff4c2;
}

.catalog-filter-bar--compact {
    padding: 0 16px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-pagination {
    padding: 12px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-pagination__meta {
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.catalog-pagination__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-taxonomy-panel {
    padding: 16px;
    border-radius: 18px;
}

.catalog-accordion {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.catalog-accordion__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-accordion__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    font-size: 0.82rem;
}

.catalog-accordion__link.is-active {
    border-color: rgba(255, 210, 51, 0.44);
    background: rgba(255, 210, 51, 0.18);
    color: #fff4c2;
}

.catalog-accordion__item {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.catalog-accordion__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    color: var(--text);
}

.catalog-accordion__summary::-webkit-details-marker {
    display: none;
}

.catalog-accordion__title {
    font-weight: 800;
    letter-spacing: 0.01em;
}

.catalog-accordion__meta {
    color: var(--text-soft);
    font-size: 0.78rem;
    white-space: nowrap;
}

.catalog-accordion__body {
    padding: 0 12px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-accordion__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 18, 0.5);
    color: var(--text);
    font-weight: 700;
    font-size: 0.8rem;
}

.catalog-accordion__pill.is-active {
    border-color: rgba(255, 210, 51, 0.44);
    background: rgba(255, 210, 51, 0.16);
    color: #fff4c2;
}

.catalog-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.catalog-taxonomy-grid--subcategories {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.catalog-taxonomy-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-taxonomy-card:hover,
.catalog-taxonomy-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 51, 0.32);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.catalog-taxonomy-card__media {
    min-height: 120px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(12, 18, 29, 0.48));
}

.catalog-taxonomy-card__image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.catalog-taxonomy-card__placeholder {
    min-height: 120px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-taxonomy-card__body {
    display: grid;
    gap: 6px;
    padding: 12px;
}

.catalog-taxonomy-card__body strong {
    font-size: 0.96rem;
}

.catalog-taxonomy-card__body span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.catalog-grid--mobile {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.catalog-card {
    overflow: hidden;
    padding: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.catalog-card--inactive {
    opacity: 0.76;
}

.catalog-card__media {
    display: block;
    position: relative;
    min-height: 160px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 29, 0.42));
    color: inherit;
    text-decoration: none;
}

.catalog-card__title-link {
    color: inherit;
}

.catalog-card__title-link:hover {
    color: #fff4c2;
}

.catalog-card__image,
.shop-product-card__image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card__image {
    height: 160px;
}

.shop-product-card__image {
    max-height: 220px;
    border-radius: 12px;
    margin: 8px 0;
}

.catalog-card__placeholder {
    min-height: 160px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-weight: 700;
}

.catalog-card__badges {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-badge,
.catalog-stock-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 18, 0.78);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.catalog-badge--soft {
    color: var(--text-soft);
}

.catalog-badge--danger,
.catalog-stock-chip--danger {
    border-color: rgba(255, 93, 93, 0.34);
    color: #ffd4d4;
}

.catalog-card__body {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.catalog-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.catalog-card__head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.catalog-card__price {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
}

.catalog-card__description {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.45;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-card--mobile .catalog-card__body {
    gap: 8px;
}

.catalog-card--mobile .catalog-card__image {
    height: 148px;
}

.catalog-card--mobile .catalog-card__description {
    -webkit-line-clamp: 3;
}

.catalog-price-breakdown {
    display: grid;
    gap: 8px;
}

.catalog-price-breakdown div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.catalog-price-breakdown span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.catalog-stock-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-cart-form {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px;
}

.catalog-cart-form--single {
    grid-template-columns: 1fr;
}

.catalog-card__admin {
    display: grid;
    gap: 10px;
}

.catalog-card__admin summary {
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    color: #fff4c2;
}

.cart-feedback {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-soft);
}

.catalog-card.is-cart-added,
.shopfront-product-card.is-cart-added,
.product-detail.is-cart-added {
    animation: cartSurfacePulse 0.75s ease;
}

.catalog-card.is-cart-conflict,
.shopfront-product-card.is-cart-conflict,
.product-detail.is-cart-conflict {
    animation: cartSurfaceConflict 0.65s ease;
}

.cart-feedback.is-success {
    color: #baf5d7;
}

.cart-feedback.is-danger {
    color: #ffd4d4;
}

.shop-cart-bar__state {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 93, 93, 0.24);
    color: #ffd4d4;
    background: rgba(255, 93, 93, 0.12);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shop-cart-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--bottom-nav-clearance) + 14px + env(safe-area-inset-bottom, 0px));
    z-index: 47;
    width: min(720px, calc(100vw - 20px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 210, 51, 0.28);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 210, 51, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.96), rgba(10, 14, 23, 0.94));
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.shop-cart-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
}

.shop-cart-bar.is-conflict {
    border-color: rgba(255, 93, 93, 0.34);
}

.shop-cart-bar.is-updated {
    animation: cartBarPulse 0.85s ease;
}

.shop-cart-bar.is-conflict-pulse {
    animation: cartBarConflict 0.7s ease;
}

.shop-cart-bar__summary {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.shop-cart-bar__eyebrow {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-cart-bar__count,
.shop-cart-bar__total {
    display: block;
}

.shop-cart-bar__count {
    font-size: 1rem;
}

.shop-cart-bar__total {
    color: #fff4c2;
    font-weight: 800;
}

.shop-cart-bar__note {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.shop-cart-bar__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.shop-cart-bar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 800;
}

.shop-cart-bar__link--primary {
    border-color: rgba(255, 210, 51, 0.24);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
}

.has-cart-summary-sheet .page-shell {
    padding-bottom: calc(var(--bottom-nav-clearance) + 250px + env(safe-area-inset-bottom, 0px));
}

.cart-experience-shell {
    display: grid;
    gap: 14px;
}

.cart-experience-shell > * {
    margin-bottom: 0;
}

.cart-experience-hero {
    display: grid;
    gap: 14px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.cart-experience__eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cart-experience__lead {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.cart-summary-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-summary-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 800;
}

.cart-summary-chip--accent {
    border-color: rgba(255, 210, 51, 0.26);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.06));
    color: #fff4c2;
}

.cart-summary-chip--soft {
    color: var(--text-soft);
}

.cart-experience__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-experience__actions .action-link {
    width: auto;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
}

.action-link--primary {
    box-shadow: 0 14px 28px rgba(255, 183, 3, 0.12);
}

.cart-inline-alert {
    display: grid;
    gap: 6px;
    border-radius: 18px;
}

.cart-inline-alert strong,
.cart-inline-alert p {
    margin: 0;
}

.cart-inline-alert p {
    color: var(--text-soft);
}

.cart-inline-alert .action-link {
    width: fit-content;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
}

.cart-inline-alert--danger {
    border-color: rgba(255, 93, 93, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 93, 93, 0.18), transparent 28%),
        rgba(84, 22, 22, 0.22);
}

.cart-inline-alert--warning {
    border-color: rgba(255, 210, 51, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.18), transparent 28%),
        rgba(84, 62, 14, 0.18);
}

.cart-inline-alert--success {
    border-color: rgba(91, 255, 176, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(91, 255, 176, 0.18), transparent 28%),
        rgba(19, 57, 45, 0.18);
}

.cart-inline-alert--soft {
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-list {
    display: grid;
    gap: 12px;
}

.cart-line-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-radius: 22px;
}

.cart-line-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.cart-line-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cart-line-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 12px;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.cart-line-card__body {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.cart-line-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-line-card__head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.28;
}

.cart-line-card__meta,
.cart-line-card__detail {
    margin: 0;
    color: var(--text-soft);
}

.cart-line-card__meta {
    margin-top: 4px;
    font-size: 0.82rem;
}

.cart-line-card__sum {
    color: #fff4c2;
    font-size: 0.98rem;
    white-space: nowrap;
}

.cart-line-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-status-chip--soft {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
}

.cart-status-chip--success {
    color: #c9ffe6;
    border-color: rgba(91, 255, 176, 0.24);
    background: rgba(91, 255, 176, 0.12);
}

.cart-status-chip--warning {
    color: #fff1b5;
    border-color: rgba(255, 210, 51, 0.24);
    background: rgba(255, 210, 51, 0.12);
}

.cart-status-chip--danger {
    color: #ffd7d7;
    border-color: rgba(255, 93, 93, 0.24);
    background: rgba(255, 93, 93, 0.12);
}

.cart-line-card__detail {
    font-size: 0.84rem;
    line-height: 1.46;
}

.cart-line-card__detail--muted {
    color: rgba(228, 232, 243, 0.72);
}

.cart-line-card__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cart-line-card__update,
.cart-line-card__remove {
    margin: 0;
}

.cart-line-card__update {
    flex: 1 1 320px;
    display: grid;
    grid-template-columns: minmax(0, 190px) auto;
    gap: 8px;
}

.cart-line-card__update button,
.cart-line-card__remove button {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.cart-line-card__update button {
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.16), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
    border-color: rgba(255, 210, 51, 0.24);
}

.cart-line-card__remove button {
    color: #ffd7d7;
    border-color: rgba(255, 93, 93, 0.2);
    background: rgba(255, 93, 93, 0.08);
}

.cart-line-card__readonly-action .action-link {
    width: fit-content;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
}

.cart-empty-state {
    display: grid;
    gap: 12px;
    text-align: center;
    padding: 26px 18px;
}

.cart-empty-state h3,
.cart-empty-state p {
    margin: 0;
}

.cart-empty-state p {
    color: var(--text-soft);
}

.checkout-panel {
    display: grid;
    gap: 16px;
}

.checkout-section {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkout-field {
    display: grid;
    gap: 6px;
}

.checkout-field > span {
    color: #fff4c2;
    font-size: 0.84rem;
    font-weight: 800;
}

.checkout-field input,
.checkout-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(6, 9, 15, 0.78);
    color: var(--text);
    font: inherit;
    resize: vertical;
}

.checkout-field__hint {
    color: var(--text-soft);
    font-size: 0.78rem;
    line-height: 1.45;
}

.replacement-choice-grid {
    display: grid;
    gap: 10px;
}

.replacement-option {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.replacement-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.replacement-option strong,
.replacement-option span {
    display: block;
}

.replacement-option strong {
    font-size: 0.92rem;
}

.replacement-option span {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.replacement-option.is-selected {
    border-color: rgba(255, 210, 51, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.16), transparent 28%),
        rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.cart-item-list--readonly .cart-line-card {
    background: rgba(255, 255, 255, 0.04);
}

.cart-summary-sheet {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--bottom-nav-clearance) + 14px + env(safe-area-inset-bottom, 0px));
    z-index: 47;
    width: min(720px, calc(100vw - 20px));
    display: grid;
    gap: 10px;
    padding: 14px 15px;
    border-radius: 24px;
    border: 1px solid rgba(255, 210, 51, 0.24);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 210, 51, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.97), rgba(10, 14, 23, 0.95));
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.42);
}

.cart-summary-sheet__eyebrow {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cart-summary-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cart-summary-sheet__total,
.cart-summary-sheet__shop {
    display: block;
}

.cart-summary-sheet__total {
    font-size: 1.15rem;
    color: #fff4c2;
}

.cart-summary-sheet__note,
.cart-summary-sheet__detail,
.cart-summary-sheet__replacement,
.cart-summary-sheet__hint {
    margin: 0;
    color: var(--text-soft);
}

.cart-summary-sheet__note {
    margin-top: 2px;
    font-size: 0.82rem;
}

.cart-summary-sheet__shop {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-summary-sheet__status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cart-summary-sheet__status--success {
    color: #c9ffe6;
    border-color: rgba(91, 255, 176, 0.24);
    background: rgba(91, 255, 176, 0.12);
}

.cart-summary-sheet__status--warning {
    color: #fff1b5;
    border-color: rgba(255, 210, 51, 0.24);
    background: rgba(255, 210, 51, 0.12);
}

.cart-summary-sheet__status--danger {
    color: #ffd7d7;
    border-color: rgba(255, 93, 93, 0.24);
    background: rgba(255, 93, 93, 0.12);
}

.cart-summary-sheet__status--soft {
    background: rgba(255, 255, 255, 0.05);
}

.cart-summary-sheet__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cart-summary-sheet__meta div {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.cart-summary-sheet__meta span {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-summary-sheet__meta strong {
    font-size: 0.9rem;
}

.cart-summary-sheet__actions {
    display: flex;
    gap: 8px;
}

.cart-summary-sheet__action {
    flex: 1 1 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 800;
    text-align: center;
}

.cart-summary-sheet__action--primary {
    border-color: rgba(255, 210, 51, 0.24);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
}

.cart-summary-sheet__action.is-disabled,
.cart-summary-sheet__action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

@media (min-width: 841px) {
    .has-cart-summary-sheet .page-shell {
        padding-bottom: 48px;
    }

    .replacement-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cart-summary-sheet {
        position: static;
        left: auto;
        transform: none;
        bottom: auto;
        width: auto;
        margin-top: 4px;
    }
}

@media (max-width: 840px) {
    .checkout-field-grid {
        grid-template-columns: 1fr;
    }

    .cart-line-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .cart-line-card__update {
        grid-template-columns: 1fr;
    }

    .cart-line-card__controls,
    .cart-summary-sheet__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-line-card__remove button,
    .cart-summary-sheet__action {
        width: 100%;
    }

    .cart-experience__actions .action-link {
        flex: 1 1 150px;
    }
}

@keyframes cartSurfacePulse {
    0% {
        box-shadow: 0 0 0 rgba(255, 210, 51, 0);
        transform: translateY(0);
    }
    35% {
        box-shadow: 0 0 0 1px rgba(255, 210, 51, 0.26), 0 18px 30px rgba(255, 210, 51, 0.14);
        transform: translateY(-2px);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 210, 51, 0);
        transform: translateY(0);
    }
}

@keyframes cartSurfaceConflict {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    60% {
        transform: translateX(-1px);
    }
    80% {
        transform: translateX(1px);
    }
}

@keyframes cartBarPulse {
    0% {
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
    }
    40% {
        box-shadow: 0 28px 44px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 210, 51, 0.24), 0 0 28px rgba(255, 210, 51, 0.18);
    }
    100% {
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
    }
}

@keyframes cartBarConflict {
    0% {
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
    }
    45% {
        box-shadow: 0 28px 44px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 93, 93, 0.24), 0 0 30px rgba(255, 93, 93, 0.16);
    }
    100% {
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
    }
}

@keyframes cartBadgePulse {
    0% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}

@media (min-width: 841px) {
    .shop-cart-bar {
        left: auto;
        right: 18px;
        bottom: 18px;
        transform: none;
        width: min(420px, calc(100vw - 36px));
    }

    .shop-cart-bar.is-hidden {
        transform: translateY(16px);
    }
}

.catalog-cart-fab {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px) + 42px);
    z-index: 46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 51, 0.34);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.22), rgba(255, 183, 3, 0.12));
    color: #fff4c2;
    font-weight: 800;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
}

.catalog-cart-fab:hover {
    border-color: rgba(255, 210, 51, 0.5);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.28), rgba(255, 183, 3, 0.16));
}

.shop-admin-section {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-admin-card {
    display: grid;
    gap: 12px;
}

.shop-admin-inline-form {
    margin: 0;
}

.shop-product-card {
    margin-top: 10px;
}

.inventory-log {
    overflow-x: auto;
}

.workspace-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.workspace-hero--admin {
    background:
        radial-gradient(circle at 85% 0%, rgba(35, 103, 255, 0.22), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.workspace-hero__lead {
    max-width: 760px;
}

.workspace-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.pricing-hero__actions.has-menu-toggle,
.catalog-hero__actions.has-menu-toggle,
.workspace-hero__actions.has-menu-toggle {
    justify-content: flex-end;
}

.workspace-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.workspace-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.workspace-nav a.is-active {
    color: #12161f;
    border-color: rgba(255, 210, 51, 0.44);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.workspace-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.workspace-metric-grid .dashboard-tile {
    aspect-ratio: auto;
    min-height: 140px;
}

.metric-tile strong {
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
}

.metric-tile p {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.workspace-section {
    display: grid;
    gap: 14px;
}

.workspace-section__head,
.workspace-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.workspace-section__head p,
.workspace-panel__head p {
    margin: 6px 0 0;
}

.workspace-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.workspace-card-grid--tight {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.workspace-card,
.workspace-panel {
    display: grid;
    gap: 10px;
}

.workspace-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.workspace-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.workspace-inline-actions .button,
.workspace-inline-actions button {
    width: auto;
}

.workspace-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    display: grid;
    gap: 8px;
}

.workspace-list li a {
    font-weight: 700;
}

.workspace-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.workspace-filter-bar input,
.workspace-filter-bar select,
.workspace-filter-bar textarea {
    margin-bottom: 0;
}

.workspace-filter-bar .button,
.workspace-filter-bar button {
    width: 100%;
}

.workspace-meta {
    margin: 0;
    color: var(--text-soft);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pagination a,
.pagination span {
    min-width: 42px;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
}

.pagination span.is-active {
    color: #12161f;
    border-color: rgba(255, 210, 51, 0.44);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.pagination span.is-disabled,
.pagination span.is-gap {
    color: var(--text-soft);
    opacity: 0.7;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.action-tile {
    min-height: 58px;
    margin: 0;
}

.action-tile form {
    margin: 0;
}

.action-link,
.action-btn {
    width: 100%;
    height: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

.action-link {
    color: #111;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    font-weight: 800;
}

.action-btn {
    border: 0;
    color: #111;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    cursor: pointer;
}

.action-title {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 900;
}

.action-subtitle {
    font-size: 0.72rem;
    line-height: 1.2;
    color: rgba(17, 17, 17, 0.8);
}

.order-call-card {
    display: grid;
    gap: 12px;
}

.order-call-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.order-call-card__primary {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.order-call-card__lead,
.order-call-card__hint {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.order-call-card__peer {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(255, 210, 51, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.04);
}

.order-call-card__peer-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-call-card__peer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 210, 51, 0.26), rgba(255, 183, 3, 0.1));
    border: 1px solid rgba(255, 210, 51, 0.24);
    color: #fff5cb;
    font-size: 1.35rem;
    font-weight: 900;
}

.order-call-card__peer-meta {
    display: grid;
    gap: 4px;
}

.order-call-card__peer-meta strong {
    font-size: 1rem;
}

.order-call-card__peer-meta small {
    color: var(--text-soft);
}

.order-call-card__peer-role {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 51, 0.2);
    background: rgba(255, 210, 51, 0.08);
    color: #fff4c2;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-call-launch {
    min-width: 144px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(91, 255, 176, 0.28);
    background: linear-gradient(145deg, rgba(91, 255, 176, 0.22), rgba(12, 181, 113, 0.12));
    color: #ecfff6;
    box-shadow: 0 18px 42px rgba(12, 181, 113, 0.18);
    font-weight: 900;
    cursor: pointer;
}

.order-call-launch__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-call-launch__icon svg {
    width: 22px;
    height: 22px;
}

.order-call-launch:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.order-call-card__status,
.order-call-dialog__status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
}

.order-call-dialog__status {
    max-width: 340px;
    font-size: 1rem;
    line-height: 1.45;
}

.order-call-card__status.is-soft,
.order-call-dialog__status.is-soft {
    color: var(--text);
}

.order-call-card__status.is-warning,
.order-call-dialog__status.is-warning {
    color: #fff1b5;
    border-color: rgba(255, 210, 51, 0.22);
    background: rgba(255, 210, 51, 0.1);
}

.order-call-card__status.is-success,
.order-call-dialog__status.is-success {
    color: #c9ffe6;
    border-color: rgba(91, 255, 176, 0.22);
    background: rgba(91, 255, 176, 0.1);
}

.order-call-card__status.is-danger,
.order-call-dialog__status.is-danger {
    color: #ffd7d7;
    border-color: rgba(255, 93, 93, 0.22);
    background: rgba(255, 93, 93, 0.1);
}

.order-call-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.order-call-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 17, 0.76);
    backdrop-filter: blur(18px);
}

.order-call-dialog {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px max(32px, env(safe-area-inset-bottom));
    text-align: center;
}

.order-call-dialog__chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-call-dialog__chip.is-incoming {
    background: rgba(255, 210, 51, 0.14);
    border-color: rgba(255, 210, 51, 0.3);
    color: #fff2b9;
}

.order-call-dialog__chip.is-outgoing,
.order-call-dialog__chip.is-connecting {
    background: rgba(70, 168, 255, 0.16);
    border-color: rgba(70, 168, 255, 0.3);
    color: #deefff;
}

.order-call-dialog__chip.is-active {
    background: rgba(91, 255, 176, 0.16);
    border-color: rgba(91, 255, 176, 0.3);
    color: #d8ffe9;
}

.order-call-dialog__chip.is-danger {
    background: rgba(255, 93, 93, 0.16);
    border-color: rgba(255, 93, 93, 0.3);
    color: #ffd7d7;
}

.order-call-dialog__avatar {
    width: 108px;
    height: 108px;
    border-radius: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(145deg, rgba(255, 210, 51, 0.32), rgba(255, 183, 3, 0.14));
    border: 1px solid rgba(255, 210, 51, 0.28);
    box-shadow: 0 28px 70px rgba(255, 183, 3, 0.16);
    color: #fff7dc;
    font-size: 2.5rem;
    font-weight: 900;
}

.order-call-dialog__eyebrow,
.order-call-dialog__role,
.order-call-dialog__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.order-call-dialog__eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-call-dialog__name {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.04;
}

.order-call-dialog__role {
    font-size: 1rem;
}

.order-call-dialog__timer {
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.1rem, 7vw, 3.4rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.order-call-dialog__hint {
    max-width: 360px;
    line-height: 1.55;
}

.order-call-dialog__actions {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.order-call-fab {
    width: 92px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 0;
}

.order-call-fab[hidden] {
    display: none !important;
}

.order-call-fab__icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.order-call-fab__icon svg {
    width: 30px;
    height: 30px;
}

.order-call-fab__label {
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
}

.order-call-fab--accept .order-call-fab__icon {
    background: linear-gradient(145deg, #30d977, #0ea85a);
}

.order-call-fab--mute .order-call-fab__icon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.order-call-fab--mute.is-muted .order-call-fab__icon {
    background: linear-gradient(145deg, rgba(255, 210, 51, 0.28), rgba(255, 183, 3, 0.16));
    color: #fff2b5;
}

.order-call-fab--end .order-call-fab__icon {
    background: linear-gradient(145deg, #ff625f, #e13636);
}

.order-call-modal[hidden] {
    display: none;
}

body.order-call-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .order-call-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .order-call-launch {
        width: 100%;
    }

    .order-call-dialog {
        padding: 24px 18px calc(28px + env(safe-area-inset-bottom));
    }

    .order-call-dialog__avatar {
        width: 96px;
        height: 96px;
        border-radius: 30px;
        font-size: 2.25rem;
    }

    .order-call-dialog__actions {
        gap: 12px;
    }

    .order-call-fab {
        width: 84px;
    }

    .order-call-fab__icon {
        width: 68px;
        height: 68px;
    }
}

.stage-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.stage-pending {
    background: rgba(255, 210, 51, 0.18);
    border-color: rgba(255, 210, 51, 0.45);
    color: #ffeeb4;
}

.stage-scheduled {
    background: rgba(70, 168, 255, 0.16);
    border-color: rgba(70, 168, 255, 0.42);
    color: #def2ff;
}

.stage-accepted,
.stage-departed {
    background: rgba(66, 211, 137, 0.14);
    border-color: rgba(66, 211, 137, 0.38);
    color: #dcffe9;
}

.stage-waiting {
    background: rgba(255, 170, 70, 0.18);
    border-color: rgba(255, 170, 70, 0.42);
    color: #ffe7cb;
}

.stage-in_transit {
    background: rgba(35, 103, 255, 0.18);
    border-color: rgba(35, 103, 255, 0.42);
    color: #dfe9ff;
}

.stage-completed {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #f4f7ff;
}

.stage-cancelled {
    background: rgba(255, 93, 93, 0.18);
    border-color: rgba(255, 93, 93, 0.45);
    color: #ffe2e2;
}

.flashes {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.flashes li {
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
}

.flashes li.success { background: rgba(66, 211, 137, 0.15); border-color: rgba(66, 211, 137, 0.4); color: #d6ffe8; }
.flashes li.danger,
.flashes li.error { background: rgba(255, 93, 93, 0.15); border-color: rgba(255, 93, 93, 0.45); color: #ffe2e2; }
.flashes li.info { background: rgba(70, 168, 255, 0.16); border-color: rgba(70, 168, 255, 0.42); color: #ddf1ff; }
.flashes li.warning { background: rgba(255, 210, 51, 0.18); border-color: rgba(255, 210, 51, 0.45); color: #fff3ca; }

.site-footer {
    margin: 12px;
    border-radius: 14px;
    padding: 10px 14px;
    text-align: center;
    margin-bottom: 92px;
}

#notification-container {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: grid;
    gap: 8px;
    max-width: min(360px, 92vw);
}

.popup-notification {
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 22, 34, 0.92);
    color: var(--text);
    animation: pop 4.8s forwards;
}

.popup-notification.success { border-color: rgba(66, 211, 137, 0.55); }
.popup-notification.danger { border-color: rgba(255, 93, 93, 0.6); }
.popup-notification.warning { border-color: rgba(255, 210, 51, 0.65); color: #fff3ca; }
.popup-notification.info { border-color: rgba(70, 168, 255, 0.65); }

.driver-offer-alert {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 176;
    width: min(420px, calc(100vw - 24px));
    pointer-events: none;
}

body.layout-has-bottom-nav .driver-offer-alert {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.driver-offer-alert[hidden] {
    display: none !important;
}

.driver-offer-alert__card {
    pointer-events: auto;
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 210, 51, 0.26);
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.96), rgba(8, 12, 20, 0.98));
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 26px rgba(255, 210, 51, 0.14);
    animation: driver-offer-alert-in 0.24s ease;
}

.driver-offer-alert__head,
.driver-offer-alert__summary,
.driver-offer-alert__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.driver-offer-alert__head {
    justify-content: space-between;
    gap: 12px;
}

.driver-offer-alert__eyebrow {
    color: rgba(255, 210, 51, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.driver-offer-alert__close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.driver-offer-alert__close:hover {
    border-color: rgba(255, 210, 51, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: none;
    box-shadow: none;
}

.driver-offer-alert__close .ui-icon {
    width: 20px;
    height: 20px;
}

.driver-offer-alert--rideshare .driver-offer-alert__card {
    border-color: rgba(102, 222, 162, 0.24);
    background:
        radial-gradient(circle at top right, rgba(102, 222, 162, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(16, 22, 34, 0.96), rgba(8, 12, 20, 0.98));
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 26px rgba(102, 222, 162, 0.14);
}

.driver-offer-alert--rideshare .driver-offer-alert__eyebrow {
    color: rgba(132, 244, 188, 0.94);
}

.driver-offer-alert__summary {
    align-items: flex-start;
    gap: 12px;
}

.driver-offer-alert__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
}

.driver-offer-alert__summary-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
    flex: 1 1 auto;
}

.driver-offer-alert__summary-copy h3,
.driver-offer-alert__summary-copy p {
    margin: 0;
}

.driver-offer-alert__summary-copy h3 {
    font-size: 1.06rem;
}

.driver-offer-alert__summary-copy p {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.36;
}

.driver-offer-alert__queue {
    flex: 0 0 auto;
    align-self: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 210, 51, 0.16);
    border: 1px solid rgba(255, 210, 51, 0.26);
    color: #fff3ca;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.driver-offer-alert__queue.is-hidden,
.driver-offer-alert__point.is-hidden,
.driver-offer-alert__chip.is-hidden {
    display: none !important;
}

.driver-offer-alert__route {
    display: grid;
    gap: 8px;
}

.driver-offer-alert__point {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.driver-offer-alert__point span {
    color: rgba(226, 232, 242, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.driver-offer-alert__point strong {
    font-size: 0.96rem;
    line-height: 1.38;
    word-break: break-word;
}

.driver-offer-alert__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.driver-offer-alert__chip {
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.driver-offer-alert__chip--soft {
    color: #dcffea;
    background: rgba(112, 214, 125, 0.14);
    border-color: rgba(112, 214, 125, 0.22);
}

.driver-offer-alert__meta-form {
    display: grid;
    gap: 6px;
}

.driver-offer-alert__meta-form label {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.driver-offer-alert__meta-form input,
.rideshare-driver-card__form input {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
}

.rideshare-driver-card__form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rideshare-driver-card__form input {
    width: 86px;
}

.driver-offer-alert__actions {
    gap: 10px;
    justify-content: space-between;
}

.driver-offer-alert__actions form {
    margin: 0;
    flex: 1 1 auto;
}

.driver-offer-alert__ghost,
.driver-offer-alert__accept {
    min-height: 46px;
    border-radius: 16px;
    font-size: 0.94rem;
    font-weight: 800;
}

.driver-offer-alert__ghost {
    min-width: 110px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
}

.driver-offer-alert__accept {
    width: 100%;
    border: 1px solid rgba(255, 210, 51, 0.4);
    background: linear-gradient(180deg, rgba(255, 210, 51, 0.98), rgba(255, 180, 31, 0.92));
    color: #1d1300;
    box-shadow: 0 14px 28px rgba(255, 179, 31, 0.24);
}

.driver-offer-alert__accept:disabled {
    opacity: 0.72;
    cursor: wait;
}

@keyframes driver-offer-alert-in {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notification-focus {
    box-shadow: 0 0 0 2px rgba(255, 210, 51, 0.6), 0 0 18px rgba(255, 210, 51, 0.35);
    transition: box-shadow 0.2s ease;
}

@keyframes pop {
    0% { opacity: 0; transform: translateY(8px); }
    8% { opacity: 1; transform: translateY(0); }
    88% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 720px) {
    .driver-offer-alert {
        left: 12px;
        right: 12px;
        width: auto;
    }

    body.layout-has-bottom-nav .driver-offer-alert {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .driver-offer-alert__card {
        padding: 14px;
        gap: 12px;
        border-radius: 22px;
    }

    .driver-offer-alert__summary {
        gap: 10px;
    }

    .driver-offer-alert__icon {
        width: 50px;
        height: 50px;
    }

    .driver-offer-alert__summary-copy h3 {
        font-size: 0.98rem;
    }

    .driver-offer-alert__summary-copy p,
    .driver-offer-alert__point strong {
        font-size: 0.88rem;
    }

    .driver-offer-alert__actions {
        align-items: stretch;
    }
}

.bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 64;
    border-radius: 20px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(30, 83, 163, 0.95), rgba(14, 37, 79, 0.98));
    border: 1px solid rgba(196, 230, 255, 0.24);
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bottom-nav a,
.bottom-nav button {
    position: relative;
    display: grid;
    grid-template-rows: 14px 22px 12px;
    align-content: center;
    justify-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    font-weight: 700;
    font-size: 0.56rem;
    color: var(--text);
    border-radius: 15px;
    padding: 6px 3px 5px;
    min-height: 54px;
    background:
        linear-gradient(180deg, rgba(135, 205, 255, 0.24), rgba(65, 136, 213, 0.22) 36%, rgba(17, 44, 92, 0.94));
    border: 1px solid rgba(220, 240, 255, 0.22);
    appearance: none;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 14px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 10px rgba(255, 255, 255, 0.14);
    animation: bottom-nav-card-pulse 1.9s ease-in-out infinite;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        opacity 0.22s ease,
        transform 0.22s ease,
        filter 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.bottom-nav__meta {
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 14px;
}

.nav-emoji {
    --ui-icon-color: #eef5ff;
    --ui-icon-glow: rgba(255, 210, 51, 0.42);
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--ui-icon-color);
    opacity: 0.98;
    filter: none;
    -webkit-filter: none;
    pointer-events: none;
    z-index: 1;
    box-shadow: none;
    align-self: end;
    grid-row: 2;
}

.nav-emoji::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--ui-icon-glow), transparent 68%);
    opacity: 0.16;
    z-index: -1;
}

.nav-emoji .ui-icon {
    width: 22px;
    height: 22px;
    filter:
        drop-shadow(0 0 8px var(--ui-icon-glow))
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.16));
}

.bottom-nav a:hover .nav-emoji,
.bottom-nav a:focus-visible .nav-emoji,
.bottom-nav button:hover .nav-emoji,
.bottom-nav button:focus-visible .nav-emoji {
    transform: translateY(-1px) scale(1.06);
}

.bottom-nav a:hover,
.bottom-nav button:hover,
.bottom-nav a:focus-visible,
.bottom-nav button:focus-visible {
    background:
        linear-gradient(180deg, rgba(168, 224, 255, 0.34), rgba(78, 154, 235, 0.28) 36%, rgba(20, 52, 110, 0.98));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        0 12px 20px rgba(0, 0, 0, 0.2),
        0 0 18px rgba(255, 255, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.active-link-title {
    display: block;
    line-height: 1;
    margin-top: 0;
}

.nav-label {
    display: block;
    grid-row: 3;
    min-height: 10px;
    line-height: 1;
    font-size: inherit;
    letter-spacing: 0;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    align-self: start;
}

.nav-label--ghost {
    visibility: hidden;
}

.bottom-nav__menu.menu-toggle {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 50px;
    border-radius: 15px;
    display: grid;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 14px rgba(0, 0, 0, 0.16);
}

.bottom-nav__menu.menu-toggle .menu-toggle__icon {
    grid-row: 2;
    align-self: center;
    justify-self: center;
}

.bottom-nav__menu.menu-toggle:hover {
    transform: translateY(-1px);
}

.bottom-nav__menu.menu-toggle::before {
    inset: -18%;
    opacity: 0.14;
}

.bottom-nav__menu.menu-toggle .menu-toggle__line {
    width: 20px;
}

body.menu-open .bottom-nav > a {
    opacity: 0.38;
    pointer-events: none;
    transform: scale(0.96);
    filter: saturate(0.5);
}

body.menu-open .bottom-nav > .bottom-nav__menu {
    opacity: 1;
    pointer-events: auto;
    filter: none;
}

.active-badges {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 14px;
    overflow: hidden;
    z-index: 3;
}

@keyframes bottom-nav-card-pulse {
    0%,
    100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            0 8px 14px rgba(0, 0, 0, 0.18),
            0 0 0 1px rgba(255, 255, 255, 0.18),
            0 0 10px rgba(255, 255, 255, 0.14);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 10px 18px rgba(0, 0, 0, 0.22),
            0 0 0 1px rgba(255, 255, 255, 0.36),
            0 0 18px rgba(255, 255, 255, 0.3);
    }
}

@keyframes smart-chat-beacon {
    0%,
    100% {
        box-shadow:
            0 16px 28px rgba(0, 0, 0, 0.34),
            0 0 0 1px rgba(255, 255, 255, 0.16),
            0 0 14px rgba(255, 210, 51, 0.2),
            0 0 26px rgba(74, 255, 140, 0.12);
    }
    50% {
        box-shadow:
            0 18px 30px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.28),
            0 0 22px rgba(255, 210, 51, 0.32),
            0 0 36px rgba(74, 255, 140, 0.2);
    }
}

.client-dashboard-grid .dashboard-tile {
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 14px 14px 12px;
    border-radius: 22px;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.16), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(82, 154, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(17, 24, 37, 0.94), rgba(8, 12, 20, 0.98));
    box-shadow:
        0 22px 34px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 18px rgba(255, 210, 51, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -26px 34px rgba(2, 6, 11, 0.44);
    isolation: isolate;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.client-dashboard-grid .dashboard-tile.dashboard-tile--link {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.client-dashboard-grid .dashboard-tile::before,
.client-dashboard-grid .dashboard-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.client-dashboard-grid .dashboard-tile::before {
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0.8;
}

.client-dashboard-grid .dashboard-tile::after {
    inset: -1px;
    border: 1px solid rgba(255, 210, 51, 0.14);
    box-shadow:
        0 0 22px rgba(255, 210, 51, 0.08),
        0 0 42px rgba(82, 154, 255, 0.06);
    opacity: 0.9;
}

.client-dashboard-grid .dashboard-tile:hover,
.client-dashboard-grid .dashboard-tile:focus-within {
    transform: translateY(-3px);
    border-color: rgba(255, 210, 51, 0.28);
    box-shadow:
        0 26px 38px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 24px rgba(255, 210, 51, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -26px 34px rgba(2, 6, 11, 0.48);
}

.client-dashboard-grid .dashboard-tile h4 {
    max-width: 100%;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.client-dashboard-grid .dashboard-tile .tile-emoji-glass {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 54px;
    height: 54px;
    padding: 11px;
    margin-bottom: 2px;
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    align-self: center;
    justify-self: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(155deg, rgba(20, 30, 46, 0.94), rgba(9, 14, 24, 0.94));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 12px 24px rgba(0, 0, 0, 0.28),
        0 0 20px var(--ui-icon-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: none;
    z-index: 3;
}

.client-dashboard-grid .dashboard-tile .tile-emoji-glass,
.client-dashboard-grid .dashboard-tile .tile-emoji-glass .ui-icon {
    color: #ffd84f;
}

.client-dashboard-grid .dashboard-tile .tile-emoji-glass .ui-icon {
    filter:
        drop-shadow(0 0 12px var(--ui-icon-glow))
        drop-shadow(0 0 24px rgba(255, 255, 255, 0.08));
}

body.page-client-home {
    --bottom-nav-clearance: 76px;
}

body.page-client-home.ai-launcher-expanded {
    --bottom-nav-clearance: 76px;
}

.dashboard-ai-launcher {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 24px));
    bottom: calc(var(--bottom-nav-clearance) + 4px + env(safe-area-inset-bottom, 0px));
    z-index: 52;
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 210, 51, 0.12), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(35, 103, 255, 0.14), transparent 42%),
        rgba(7, 11, 18, 0.94);
    overflow: hidden;
    transition: width 0.26s ease, padding 0.26s ease, transform 0.28s ease, border-radius 0.26s ease, box-shadow 0.26s ease;
}

.dashboard-ai-launcher.is-collapsed {
    width: min(720px, calc((100vw - 40px) / 3));
    bottom: calc(var(--bottom-nav-clearance) + 4px + env(safe-area-inset-bottom, 0px));
    padding: 0;
    gap: 0;
    border-radius: 8px;
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 14px rgba(255, 210, 51, 0.2);
    background:
        linear-gradient(135deg, rgba(36, 60, 22, 0.96), rgba(76, 52, 8, 0.94));
    border: 1px solid rgba(255, 232, 166, 0.34);
    animation: smart-chat-beacon 1.9s ease-in-out infinite;
}

.dashboard-ai-launcher.is-collapsed:hover {
    background: rgba(255, 210, 51, 0.24);
    border-color: rgba(255, 210, 51, 0.32);
}

.dashboard-ai-launcher.is-disabled {
    opacity: 0.78;
}

.dashboard-ai-launcher__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.dashboard-ai-launcher__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.18s ease, transform 0.22s ease, max-width 0.22s ease;
}

.dashboard-ai-launcher__title strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.dashboard-ai-launcher__title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-ai-launcher__toggle {
    width: auto;
    min-width: 116px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.22s ease, min-width 0.22s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-ai-launcher__toggle:hover {
    border-color: rgba(255, 210, 51, 0.32);
    background: rgba(255, 210, 51, 0.08);
    transform: translateY(-1px);
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle:hover {
    transform: none;
}

.dashboard-ai-launcher__toggle-long,
.dashboard-ai-launcher__toggle-short {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.18s ease, transform 0.22s ease;
}

.dashboard-ai-launcher__toggle-short {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.84);
    letter-spacing: 0.08em;
}

.dashboard-ai-launcher__body {
    display: grid;
    gap: 10px;
    max-height: 180px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.26s ease, opacity 0.2s ease, transform 0.22s ease, margin-top 0.22s ease;
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__head {
    gap: 0;
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__title {
    max-width: 0;
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 0 6px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-long {
    opacity: 0;
    transform: scale(0.84);
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-short {
    opacity: 1;
    transform: scale(1);
    padding: 0 6px;
    letter-spacing: 0;
    white-space: nowrap;
    font-size: 0.62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff5c8;
    text-shadow:
        0 0 10px rgba(255, 210, 51, 0.34),
        0 1px 0 rgba(0, 0, 0, 0.28);
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-short::before,
.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-short::after {
    content: "▲";
    color: #53ff8e;
    font-size: 0.72rem;
    line-height: 1;
    text-shadow:
        0 0 10px rgba(83, 255, 142, 0.4),
        0 0 18px rgba(83, 255, 142, 0.18);
}

.dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__body {
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    margin-top: -6px;
    pointer-events: none;
}

.dashboard-ai-launcher__form {
    display: grid;
    gap: 10px;
}

.dashboard-ai-launcher__form input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
}

.dashboard-ai-launcher__form input::placeholder {
    color: rgba(183, 191, 205, 0.76);
}

.dashboard-ai-launcher__form input:focus {
    outline: none;
    border-color: rgba(255, 210, 51, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 210, 51, 0.12);
}

.dashboard-ai-launcher__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.dashboard-icon-svg svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-icon-svg--cta {
    width: 20px;
    height: 20px;
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.14))
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
}

.dashboard-icon-svg--info {
    color: #ecf6ff;
}

.dashboard-icon-svg--send {
    color: #f1fff4;
}

.dashboard-ai-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.dashboard-ai-action-button {
    --ai-action-border: rgba(255, 255, 255, 0.12);
    --ai-action-background: rgba(255, 255, 255, 0.07);
    --ai-action-color: var(--text);
    --ai-action-border-hover: rgba(255, 255, 255, 0.2);
    --ai-action-background-hover: rgba(255, 255, 255, 0.12);
    width: 100%;
    min-width: 0;
    min-height: 54px;
    height: 54px;
    border: 1px solid var(--ai-action-border);
    border-radius: 14px;
    background: var(--ai-action-background);
    color: var(--ai-action-color);
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-ai-action-button:hover {
    border-color: var(--ai-action-border-hover);
    background: var(--ai-action-background-hover);
    transform: translateY(-1px);
}

.dashboard-ai-action-button--info {
    --ai-action-border: rgba(70, 168, 255, 0.28);
    --ai-action-background: rgba(70, 168, 255, 0.12);
    --ai-action-color: #e4f4ff;
    --ai-action-border-hover: rgba(70, 168, 255, 0.46);
    --ai-action-background-hover: rgba(70, 168, 255, 0.18);
}

.dashboard-ai-action-button--voice {
    --ai-action-border: rgba(255, 171, 43, 0.28);
    --ai-action-background: rgba(255, 171, 43, 0.14);
    --ai-action-color: #fff1cf;
    --ai-action-border-hover: rgba(255, 171, 43, 0.48);
    --ai-action-background-hover: rgba(255, 171, 43, 0.2);
}

.dashboard-ai-action-button--send {
    --ai-action-border: rgba(112, 214, 125, 0.3);
    --ai-action-background: rgba(112, 214, 125, 0.14);
    --ai-action-color: #ebfff0;
    --ai-action-border-hover: rgba(112, 214, 125, 0.5);
    --ai-action-background-hover: rgba(112, 214, 125, 0.2);
}

.dashboard-ai-icon-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
}

.dashboard-ai-stop-square {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #ff6262;
    box-shadow: 0 0 0 1px rgba(255, 98, 98, 0.34);
}

.dashboard-ai-launcher__submit,
.dashboard-ai-chat__icon-action {
    min-height: 54px;
    min-width: 0;
    width: 100%;
    height: 54px;
    padding: 0;
}

.dashboard-ai-voice-button__stop {
    display: none;
}

.dashboard-ai-voice-button.is-recording .dashboard-ai-voice-button__mic {
    display: none;
}

.dashboard-ai-voice-button.is-recording .dashboard-ai-voice-button__stop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-ai-launcher__form input:disabled,
.dashboard-ai-launcher__form button:disabled,
.dashboard-ai-launcher__help:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.dashboard-ai-popup {
    width: min(680px, calc(100vw - 24px));
    max-width: 680px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 210, 51, 0.12), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(35, 103, 255, 0.14), transparent 42%),
        rgba(7, 11, 18, 0.98);
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.58);
}

.dashboard-ai-popup::backdrop {
    background: rgba(4, 7, 12, 0.74);
    backdrop-filter: blur(3px);
}

.dashboard-ai-popup__shell {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.dashboard-ai-popup__shell.dashboard-ai-chat {
    height: min(78vh, 720px);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.dashboard-ai-popup__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-ai-popup__head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-ai-popup__head strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.06rem;
}

.dashboard-ai-popup__head-title {
    min-width: 0;
}

.dashboard-ai-popup__head p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.45;
}

.dashboard-ai-popup__icon-button,
.dashboard-ai-popup__close {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

.dashboard-ai-popup__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-ai-popup__icon-button:hover,
.dashboard-ai-popup__close:hover {
    border-color: rgba(70, 168, 255, 0.34);
    background: rgba(70, 168, 255, 0.1);
    transform: translateY(-1px);
}

.dashboard-ai-popup__speech-toggle {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-ai-popup__speech-toggle:hover {
    border-color: rgba(70, 168, 255, 0.34);
    background: rgba(70, 168, 255, 0.1);
    transform: translateY(-1px);
}

.dashboard-ai-popup__speech-toggle[aria-pressed="true"] {
    border-color: rgba(255, 210, 51, 0.42);
    background: rgba(255, 210, 51, 0.12);
    color: #fff1bf;
}

.dashboard-ai-popup__status,
.dashboard-ai-popup__note {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    line-height: 1.45;
    white-space: pre-line;
}

.dashboard-ai-popup__status.is-info {
    border-color: rgba(70, 168, 255, 0.34);
    color: #dfefff;
}

.dashboard-ai-popup__status.is-success {
    border-color: rgba(66, 211, 137, 0.4);
    color: #dfffea;
}

.dashboard-ai-popup__status.is-warning,
.dashboard-ai-popup__note {
    border-color: rgba(255, 210, 51, 0.42);
    color: #fff1bf;
}

.dashboard-ai-popup__status.is-error {
    border-color: rgba(255, 93, 93, 0.42);
    color: #ffd9d9;
}

.dashboard-ai-chat__scroll {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 12px;
    padding-right: 4px;
}

.dashboard-ai-chat__messages {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.dashboard-ai-chat__message {
    display: flex;
}

.dashboard-ai-chat__message--assistant {
    justify-content: flex-start;
}

.dashboard-ai-chat__message--user {
    justify-content: flex-end;
}

.dashboard-ai-chat__bubble {
    max-width: min(88%, 460px);
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
}

.dashboard-ai-chat__message--assistant .dashboard-ai-chat__bubble {
    border-top-left-radius: 10px;
}

.dashboard-ai-chat__message--user .dashboard-ai-chat__bubble {
    border-top-right-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.22), rgba(70, 168, 255, 0.18));
    border-color: rgba(255, 210, 51, 0.28);
}

.dashboard-ai-chat__bubble.is-info {
    border-color: rgba(70, 168, 255, 0.26);
}

.dashboard-ai-chat__bubble.is-success {
    border-color: rgba(66, 211, 137, 0.34);
}

.dashboard-ai-chat__bubble.is-warning {
    border-color: rgba(255, 210, 51, 0.34);
}

.dashboard-ai-chat__bubble.is-error {
    border-color: rgba(255, 93, 93, 0.34);
}

.dashboard-ai-chat__bubble--card {
    max-width: 100%;
    display: grid;
    gap: 12px;
}

.dashboard-ai-chat__bubble--card.is-confirmation-card {
    background: rgba(9, 14, 24, 0.98);
    border-color: rgba(255, 210, 51, 0.28);
}

.dashboard-ai-chat__card-text {
    line-height: 1.45;
}

.dashboard-ai-chat__card-lines,
.dashboard-ai-chat__card-warnings {
    display: grid;
    gap: 8px;
}

.dashboard-ai-chat__card-line,
.dashboard-ai-chat__card-warning {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    line-height: 1.4;
}

.dashboard-ai-chat__bubble--card.is-confirmation-card .dashboard-ai-chat__card-line {
    background: rgba(16, 22, 34, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-ai-chat__card-warning {
    color: #fff1bf;
    border-color: rgba(255, 210, 51, 0.24);
    background: rgba(255, 210, 51, 0.08);
}

.dashboard-ai-chat__inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.dashboard-ai-chat__inline-actions > * {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.dashboard-ai-chat__inline-actions--editor {
    grid-template-columns: 1fr;
}

.dashboard-ai-chat__editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 19, 31, 0.98);
}

.dashboard-ai-chat__editor-head strong {
    display: block;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff3bf;
}

.dashboard-ai-chat__editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-ai-chat__editor-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.dashboard-ai-chat__editor-field--full {
    grid-column: 1 / -1;
}

.dashboard-ai-chat__editor-label {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-ai-chat__editor-control {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
}

textarea.dashboard-ai-chat__editor-control {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}

.dashboard-ai-chat__editor-control:focus {
    outline: none;
    border-color: rgba(255, 210, 51, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 210, 51, 0.12);
}

.dashboard-ai-chat__editor-control[readonly] {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(226, 232, 242, 0.84);
}

.dashboard-ai-chat__editor-hint {
    color: rgba(183, 191, 205, 0.82);
    font-size: 0.78rem;
    line-height: 1.35;
}

.dashboard-ai-chat__action.is-disabled,
.dashboard-ai-chat__inline-actions .button:disabled {
    opacity: 0.66;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.dashboard-ai-chat__draft {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 210, 51, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.dashboard-ai-chat__draft.is-confirmation {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(8, 12, 19, 0.98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.dashboard-ai-chat__draft-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-ai-chat__draft-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-ai-chat__draft-badge.is-alert {
    border-color: rgba(255, 210, 51, 0.34);
    color: #fff1bf;
}

.dashboard-ai-chat__draft-badge.is-ready {
    border-color: rgba(66, 211, 137, 0.34);
    color: #dfffea;
}

.dashboard-ai-chat__draft-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.dashboard-ai-chat__draft-list li {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.42;
}

.dashboard-ai-chat__draft.is-confirmation .dashboard-ai-chat__draft-list li {
    background: rgba(16, 23, 35, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-ai-chat__warnings {
    display: grid;
    gap: 8px;
    color: #fff1bf;
    font-size: 0.92rem;
}

.dashboard-ai-chat__warnings > div {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 210, 51, 0.24);
    background: rgba(255, 210, 51, 0.08);
}

.dashboard-ai-chat__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-ai-chat__actions.is-confirmation {
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 12, 19, 0.98);
}

.dashboard-ai-chat__actions > * {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.dashboard-ai-chat__action {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-ai-chat__action:hover {
    border-color: rgba(70, 168, 255, 0.34);
    background: rgba(70, 168, 255, 0.1);
    transform: translateY(-1px);
}

.dashboard-ai-chat__action--secondary {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-ai-chat__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-ai-chat__suggestion {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dashboard-ai-chat__suggestion:hover {
    border-color: rgba(255, 210, 51, 0.34);
    background: rgba(255, 210, 51, 0.1);
    color: var(--text);
}

.dashboard-ai-chat__composer {
    display: grid;
    gap: 10px;
    align-items: start;
    padding-top: 4px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 18, 0.98);
}

.dashboard-ai-chat__composer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    align-items: start;
}

.dashboard-ai-chat__voice {
    min-width: 0;
}

.dashboard-ai-voice-button.is-recording {
    border-color: rgba(255, 93, 93, 0.5);
    background: rgba(255, 93, 93, 0.16);
    color: #ffe3e3;
}

.dashboard-ai-chat__composer input {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 16px;
    background: rgba(14, 20, 31, 0.98);
    color: var(--text);
    font: inherit;
}

.dashboard-ai-chat__composer input::placeholder {
    color: rgba(183, 191, 205, 0.76);
}

.dashboard-ai-chat__composer input:focus {
    outline: none;
    border-color: rgba(255, 210, 51, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 210, 51, 0.12);
}

.dashboard-ai-chat__composer button:disabled,
.dashboard-ai-chat__composer input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.dashboard-tile__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
}

.dashboard-tile__cta-icon.button,
.dashboard-tile__cta-icon.button:focus-visible {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(150deg, rgba(34, 44, 64, 0.98), rgba(11, 16, 24, 0.96));
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 18px rgba(255, 255, 255, 0.06),
        0 0 26px rgba(255, 210, 51, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-tile__cta-icon.button:hover {
    color: #fff;
    border-color: rgba(255, 210, 51, 0.42);
    background:
        radial-gradient(circle at 24% 14%, rgba(255, 210, 51, 0.24), transparent 34%),
        linear-gradient(150deg, rgba(34, 44, 64, 0.98), rgba(12, 17, 27, 0.98));
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 210, 51, 0.14),
        0 0 22px rgba(255, 210, 51, 0.16),
        0 0 34px rgba(83, 151, 255, 0.08);
}

.dashboard-tile__cta-icon .dashboard-icon-svg {
    width: 18px;
    height: 18px;
}

.dashboard-tile__cta-icon .dashboard-icon-svg svg {
    stroke-width: 2.35;
}

.client-dashboard-grid .dashboard-tile .dashboard-tile__cta-icon.button,
.client-dashboard-grid .dashboard-tile .dashboard-tile__cta-icon.button:hover,
.client-dashboard-grid .dashboard-tile .dashboard-tile__cta-icon.button:focus-visible {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
}

.dashboard-ai-popup__examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-ai-popup__example {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-ai-popup__example-button {
    width: 100%;
    text-align: left;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-ai-popup__example-button:hover {
    border-color: rgba(255, 210, 51, 0.3);
    background: rgba(255, 210, 51, 0.08);
    transform: translateY(-1px);
}

.dashboard-ai-popup__example strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.dashboard-ai-popup__example p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.4;
}

.post-order-ad-dialog {
    width: min(560px, calc(100vw - 24px));
}

.post-order-ad-dialog__shell {
    gap: 16px;
}

.post-order-ad-dialog__promo {
    margin: 0;
}

.post-order-ad-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-order-ad-dialog__actions .promo-slide__cta,
.post-order-ad-dialog__actions .button {
    flex: 1 1 180px;
    width: auto;
    justify-content: center;
}

.promo-analytics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
}

.promo-analytics-strip article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.promo-analytics-strip span {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.promo-analytics-strip strong {
    font-size: 0.96rem;
}

.promo-analytics-event .admin-feed-row__head {
    align-items: center;
}

@keyframes glowPulse {
    0% {
        opacity: 0.24;
        filter: blur(1.8px) saturate(1.05);
    }
    50% {
        opacity: 0.4;
        filter: blur(1.2px) saturate(1.2);
    }
    100% {
        opacity: 0.24;
        filter: blur(1.8px) saturate(1.05);
    }
}

.badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 210, 51, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
}

@media (max-width: 840px) {
    body.page-client-home {
        --bottom-nav-clearance: 76px;
        --brand-logo-size: 42px;
        --dashboard-ai-mobile-side: 4px;
        --dashboard-ai-mobile-bottom: calc(var(--bottom-nav-clearance) + 4px + env(safe-area-inset-bottom, 0px));
        --dashboard-ai-mobile-shell-padding: 8px;
        --dashboard-ai-mobile-composer-height: 126px;
    }

    body.page-client-home.ai-launcher-expanded {
        --bottom-nav-clearance: 76px;
    }

    body.page-client-home .site-header {
        margin: 6px 6px 8px;
        padding: 10px 12px;
        border-radius: 18px;
    }

    body.page-client-home .brand-text strong {
        font-size: calc(var(--brand-logo-size) * 0.62);
        letter-spacing: 0.008em;
    }

    body.page-client-home .page-shell {
        margin: 6px auto 10px;
        display: flex;
        flex-direction: column;
        min-height: calc(100dvh - 86px);
        padding: 0 4px calc(var(--bottom-nav-clearance) + 142px + env(safe-area-inset-bottom, 0px));
    }

    body.page-client-home .page-shell > * {
        margin-bottom: 8px;
    }

    body.page-client-home .page-inline-nav {
        gap: 8px;
        padding: 0 2px 2px;
    }

    body.page-client-home .page-inline-nav h2 {
        max-width: calc(100vw - 128px);
        font-size: 1rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-client-home .dashboard-user-heading {
        gap: 8px;
    }

    body.page-client-home .dashboard-user-heading__identity {
        gap: 8px;
    }

    body.page-client-home .dashboard-user-role {
        min-height: 24px;
        padding: 5px 8px;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }

    body.page-client-home .driver-order-switcher__eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    body.page-client-home .driver-order-chip {
        min-height: 38px;
        padding: 7px 10px;
    }

    body.page-client-home .driver-order-chip__number {
        font-size: 0.82rem;
    }

    body.page-client-home .promo-carousel {
        padding: 12px;
        border-radius: 16px;
    }

    body.page-client-home .promo-carousel__head {
        gap: 10px;
        margin-bottom: 10px;
    }

    body.page-client-home .promo-carousel__subtitle {
        font-size: 0.78rem;
        line-height: 1.34;
    }

    body.page-client-home .promo-carousel__track {
        gap: 10px;
        padding-bottom: 2px;
    }

    body.page-client-home .promo-slide {
        flex-basis: min(82vw, 304px);
        padding: 12px;
        border-radius: 16px;
        gap: 8px;
    }

    body.page-client-home .promo-slide__icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    body.page-client-home .promo-slide__title {
        font-size: 0.96rem;
    }

    body.page-client-home .promo-slide__text {
        font-size: 0.82rem;
        line-height: 1.36;
    }

    body.page-client-home .promo-slide__text-line {
        font-size: 0.82rem;
        line-height: 1.38;
    }

    body.page-client-home .promo-slide__text-line--section {
        font-size: 0.72rem;
    }

    body.page-client-home .promo-slide__media {
        max-height: 150px;
    }

    body.page-client-home .promo-slide__cta {
        width: 100%;
        min-height: 38px;
    }

    body.page-client-home .client-dashboard-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        position: fixed;
        left: 4px;
        right: 4px;
        bottom: calc(var(--bottom-nav-clearance) + 80px + env(safe-area-inset-bottom, 0px));
        width: auto;
        margin: 0;
        z-index: 44;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    body.page-client-home.ai-launcher-expanded .client-dashboard-grid {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile {
        min-height: 82px;
        padding: 8px 3px 7px;
        border-radius: 16px;
        gap: 7px;
        aspect-ratio: auto;
        align-items: center;
        text-align: center;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child {
        grid-column: auto;
        min-height: 82px;
        padding: 8px 3px 7px;
        align-items: center;
        text-align: center;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile .tile-emoji-glass {
        width: 38px;
        height: 38px;
        padding: 8px;
        margin-bottom: 0;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child .tile-emoji-glass {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile h4 {
        max-width: none;
        font-size: 0.62rem;
        line-height: 1.04;
        text-wrap: balance;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child h4 {
        font-size: 0.62rem;
    }

    body.page-client-home .dashboard-ai-launcher {
        width: calc(100vw - (var(--dashboard-ai-mobile-side) * 2));
        bottom: var(--dashboard-ai-mobile-bottom);
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
    }

    body.page-client-home .dashboard-ai-launcher.is-collapsed {
        width: calc(100vw - (var(--dashboard-ai-mobile-side) * 2));
        min-height: 42px;
        border-radius: 12px;
    }

    body.page-client-home .dashboard-ai-launcher__head {
        gap: 8px;
    }

    body.page-client-home .dashboard-ai-launcher__title {
        max-width: none;
    }

    body.page-client-home .dashboard-ai-launcher__title strong {
        font-size: 0.94rem;
    }

    body.page-client-home .dashboard-ai-launcher__toggle {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 0.84rem;
    }

    body.page-client-home .dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-short {
        font-size: 0.74rem;
        letter-spacing: 0.05em;
    }

    body.page-client-home .dashboard-ai-launcher__form input {
        min-height: 50px;
        height: 50px;
    }

    .dashboard-ai-launcher {
        width: calc(100vw - 24px);
    }

    .dashboard-ai-launcher.is-collapsed {
        width: min(720px, calc((100vw - 40px) / 3));
    }

    .dashboard-ai-launcher__head {
        align-items: stretch;
    }

    .dashboard-ai-launcher__toggle {
        min-width: 104px;
        padding-inline: 12px;
    }

    .dashboard-ai-popup__examples {
        grid-template-columns: 1fr;
    }

    body.page-client-home .dashboard-ai-popup {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - (var(--dashboard-ai-mobile-side) * 2));
        max-width: calc(100vw - (var(--dashboard-ai-mobile-side) * 2));
        margin: 0;
        bottom: var(--dashboard-ai-mobile-bottom);
        border-radius: 14px;
    }

    body.page-client-home .dashboard-ai-popup__shell.dashboard-ai-chat {
        position: relative;
        gap: 8px;
        padding: var(--dashboard-ai-mobile-shell-padding);
        padding-bottom: calc(var(--dashboard-ai-mobile-composer-height) + var(--dashboard-ai-mobile-shell-padding));
        height: min(84vh, calc(100dvh - var(--bottom-nav-clearance) - 24px - env(safe-area-inset-bottom, 0px)));
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .dashboard-ai-popup__head-actions {
        gap: 8px;
    }

    .dashboard-ai-popup__speech-toggle {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 0.84rem;
    }

    .dashboard-ai-chat__bubble {
        max-width: 100%;
    }

    body.page-client-home .dashboard-ai-chat__scroll {
        gap: 10px;
        padding-right: 0;
        padding-bottom: 4px;
    }

    .dashboard-ai-chat__actions > * {
        width: 100%;
    }

    .dashboard-ai-chat__actions {
        grid-template-columns: 1fr;
    }

    .dashboard-ai-chat__editor-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-ai-launcher__actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-ai-chat__suggestions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-ai-chat__suggestion {
        width: 100%;
        justify-content: flex-start;
    }

    body.page-client-home .dashboard-ai-chat__composer {
        position: absolute;
        left: var(--dashboard-ai-mobile-shell-padding);
        right: var(--dashboard-ai-mobile-shell-padding);
        bottom: var(--dashboard-ai-mobile-shell-padding);
        z-index: 2;
        gap: 8px;
        padding: 10px 0 0;
        margin: 0;
        border-top: none;
        background:
            linear-gradient(180deg, rgba(7, 11, 18, 0), rgba(7, 11, 18, 0.9) 22%, rgba(7, 11, 18, 0.98) 100%);
    }

    .dashboard-ai-chat__voice,
    .dashboard-ai-launcher__actions .dashboard-ai-voice-button,
    .dashboard-ai-launcher__actions .dashboard-ai-launcher__help {
        min-width: 0;
    }

    .dashboard-ai-chat__composer-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .post-order-ad-dialog__actions > * {
        flex-basis: 100%;
    }

    .new-order-stack {
        grid-template-columns: 1fr;
    }

    .site-header {
        --brand-logo-size: 42px;
        margin: 8px;
        padding: 10px 12px;
        gap: 8px;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .brand-text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .brand-text strong {
        display: block;
        max-width: 100%;
        font-size: clamp(1.08rem, 6vw, calc(var(--brand-logo-size) * 0.62));
        letter-spacing: 0.004em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-capability-gate .site-header {
        padding: 10px 12px;
        gap: 8px;
    }

    body.page-capability-gate .brand {
        gap: 8px;
        min-width: 0;
    }

    body.page-capability-gate .brand-text {
        min-width: 0;
        overflow: hidden;
    }

    body.page-capability-gate .brand-text strong {
        font-size: calc(var(--brand-logo-size) * 0.54);
        letter-spacing: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-capability-gate .capability-gate {
        margin-top: 10px;
    }

    .site-header__aside {
        width: 100%;
        max-width: none;
        justify-items: stretch;
    }

    .driver-order-switcher {
        justify-content: flex-start;
    }

    .nav-drawer {
        top: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: min(376px, calc(100vw - 20px));
        border-radius: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-mobile-hero__top,
    .shopfront-section__head,
    .shopfront-inline-head {
        flex-direction: column;
    }

    .catalog-hero__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .shop-mobile-hero__actions {
        justify-content: flex-start;
    }

    .catalog-hero__actions > * {
        flex: 1 1 160px;
    }

    .shop-mobile-hero__actions > * {
        flex: 1 1 160px;
    }

    .catalog-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-filter-bar--compact,
    .shop-quick-search {
        grid-template-columns: 1fr;
    }

    .catalog-filter-field--search,
    .catalog-filter-actions {
        grid-column: 1 / -1;
    }

    .catalog-filter-bar--compact .catalog-filter-actions {
        grid-column: auto;
    }

    .catalog-filter-actions button,
    .catalog-filter-actions .catalog-reset-link {
        width: auto;
        flex: 1 1 160px;
    }

    .promo-carousel__head {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-carousel__dots {
        justify-content: flex-start;
    }

    .shop-info-grid {
        grid-template-columns: 1fr;
    }

    .shopfront-product-grid,
    .shopfront-links,
    .catalog-grid--mobile {
        grid-template-columns: 1fr;
    }

    .shop-cart-conflict {
        flex-direction: column;
    }

    .shop-cart-bar {
        flex-direction: column;
        align-items: stretch;
        width: min(520px, calc(100vw - 20px));
    }

    .shop-cart-bar__actions {
        width: 100%;
    }

    .shop-cart-bar__actions > * {
        flex: 1 1 0;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .order-toolbar-btn {
        flex: 1 1 0;
    }

    .order-shell__intro {
        flex-direction: column;
        align-items: stretch;
    }

    .order-shell__chips {
        justify-content: flex-start;
    }

    .order-builder {
        grid-template-columns: 1fr;
    }

    .order-builder__main {
        grid-template-columns: 1fr;
    }

    .order-builder__sidebar {
        position: static;
        order: -1;
        z-index: auto;
    }

    .order-submit-card {
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34);
    }

    .pricing-route-card__top,
    .pricing-section-head,
    .workspace-hero,
    .workspace-section__head,
    .workspace-panel__head {
        flex-direction: column;
    }

    .workspace-columns {
        grid-template-columns: 1fr;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.03);
    }

    td {
        padding: 6px 4px;
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    body.page-client-home .page-inline-nav h2 {
        max-width: calc(100vw - 118px);
        font-size: 0.96rem;
    }

    body.page-client-home .dashboard-user-role {
        padding: 4px 7px;
        font-size: 0.6rem;
    }

    body.page-client-home .promo-slide {
        flex-basis: min(86vw, 284px);
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile {
        min-height: 80px;
        padding: 8px 2px 7px;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child {
        min-height: 80px;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile .tile-emoji-glass,
    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child .tile-emoji-glass {
        width: 36px;
        height: 36px;
        padding: 7px;
    }

    body.page-client-home .client-dashboard-grid .dashboard-tile h4,
    body.page-client-home .client-dashboard-grid .dashboard-tile:first-child h4 {
        font-size: 0.58rem;
    }

    body.page-client-home .dashboard-ai-launcher.is-collapsed .dashboard-ai-launcher__toggle-short {
        font-size: 0.7rem;
    }
}

@media (max-width: 390px) {
    body.page-client-home {
        --bottom-nav-clearance: 76px;
    }

    .driver-order-chip {
        min-height: 38px;
        padding: 7px 10px;
    }

    .driver-order-chip__number {
        font-size: 0.86rem;
    }

    .page-shell > .order-page {
        padding: 10px;
    }

    .catalog-filter-bar {
        grid-template-columns: 1fr;
    }

    .shop-mobile-hero__actions > *,
    .shop-quick-search button,
    .shop-cart-bar__actions > * {
        width: 100%;
    }

    .cart-stepper {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .catalog-hero__actions > * {
        flex-basis: 100%;
    }

    .catalog-filter-actions button,
    .catalog-filter-actions .catalog-reset-link {
        flex-basis: 100%;
    }

    .product-detail__cart-row {
        grid-template-columns: 1fr;
    }

    .order-toolbar-btn {
        min-width: 0;
        width: 100%;
    }

    .order-summary-grid,
    .pricing-summary-grid,
    .pricing-route-grid,
    .workspace-card-grid {
        grid-template-columns: 1fr;
    }

    .order-summary-item--wide {
        grid-column: span 1;
    }

    .order-panel,
    .order-submit-card,
    .order-shell__intro {
        padding: 10px;
        border-radius: 16px;
    }

    .order-shell__intro h2 {
        font-size: 1.18rem;
    }

    .pricing-card,
    .pricing-route-card,
    .pricing-actions {
        padding: 14px;
        border-radius: 16px;
    }

    .menu-toggle {
        right: 12px;
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .layout-has-bottom-nav .menu-toggle:not(.bottom-nav__menu) {
        bottom: calc(var(--bottom-nav-clearance) + 12px + env(safe-area-inset-bottom));
    }

    .layout-has-bottom-nav .menu-toggle.menu-toggle--inline:not(.bottom-nav__menu) {
        right: auto;
        bottom: auto;
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 16px;
    }

    .nav-drawer {
        inset: 8px 8px calc(8px + env(safe-area-inset-bottom)) 8px;
        width: auto;
        border-radius: 22px;
    }

    .layout-has-bottom-nav .nav-drawer {
        inset: 8px 8px calc(var(--bottom-nav-clearance) + 8px + env(safe-area-inset-bottom, 0px)) 8px;
    }

    .nav-drawer__header {
        padding: 16px 16px 12px;
    }

    .nav-drawer__scroll {
        padding: 12px 12px 16px;
    }

    .nav-list a {
        grid-template-columns: 44px 1fr;
        gap: 10px;
        min-height: 58px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .nav-item__emoji {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .nav-item__emoji .ui-icon {
        width: 22px;
        height: 22px;
    }

    .nav-emoji {
        top: auto;
        width: 22px;
        height: 22px;
    }

    .nav-emoji .ui-icon {
        width: 22px;
        height: 22px;
    }

    .nav-item__content strong {
        font-size: 0.93rem;
    }

    .nav-item__content small {
        font-size: 0.78rem;
    }

    .badge-circle {
        min-width: 18px;
        height: 15px;
        font-size: 0.58rem;
        padding: 0 4px;
    }
}

.admin-live-grid {
    align-items: start;
}

.admin-entity-card {
    gap: 14px;
}

.admin-inline-form {
    display: grid;
    gap: 10px;
}

.admin-inline-form label,
.workspace-filter-bar label {
    display: grid;
    gap: 6px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.admin-form-grid__wide {
    grid-column: 1 / -1;
}

.admin-feed-list {
    display: grid;
    gap: 10px;
}

.admin-feed-row {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.admin-feed-row > p {
    margin: 0;
    color: var(--text);
}

.admin-feed-row__head,
.bar-list__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.admin-feed-row__head strong,
.bar-list__top strong {
    color: #fff;
}

.admin-feed-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.status-pill--ok {
    color: #061b0f;
    background: linear-gradient(135deg, #7ae69b, #39c873);
}

.status-pill--info {
    color: #09172b;
    background: linear-gradient(135deg, #8dc7ff, #58a5ff);
}

.status-pill--warning {
    color: #2d1d00;
    background: linear-gradient(135deg, #ffd978, #ffb82f);
}

.status-pill--danger {
    color: #2c0d13;
    background: linear-gradient(135deg, #ff9aa8, #ff667f);
}

.status-pill--muted {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.bar-list {
    display: grid;
    gap: 10px;
}

.bar-list__row {
    display: grid;
    gap: 8px;
}

.bar-list__track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.bar-list__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #5fd0ff, #2d80ff);
}

.bar-list__fill--accent {
    background: linear-gradient(135deg, #ffd978, #ff8a3d);
}

.admin-workspace-shell {
    display: grid;
    gap: 16px;
}

.admin-workspace-shell .workspace-section {
    gap: 16px;
}

.admin-workspace-shell .product-card,
.admin-workspace-shell .workspace-card,
.admin-workspace-shell .workspace-panel {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.admin-workspace-shell .workspace-section__head,
.admin-workspace-shell .workspace-panel__head {
    gap: 16px;
}

.admin-workspace-shell .workspace-section__head h3,
.admin-workspace-shell .workspace-panel__head h3,
.admin-workspace-shell .workspace-panel__head h4 {
    margin: 0;
}

.admin-workspace-shell .workspace-panel__head a,
.admin-workspace-shell .workspace-section__head a {
    font-weight: 700;
}

.admin-workspace-shell .workspace-filter-bar,
.admin-workspace-shell .inventory-log {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(95, 208, 255, 0.12), transparent 34%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.admin-workspace-shell .workspace-filter-bar {
    gap: 12px;
}

.admin-workspace-shell .workspace-filter-bar label {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.admin-workspace-shell .workspace-filter-bar input,
.admin-workspace-shell .workspace-filter-bar select,
.admin-workspace-shell .workspace-filter-bar textarea,
.admin-workspace-shell .admin-inline-form input,
.admin-workspace-shell .admin-inline-form select,
.admin-workspace-shell .admin-inline-form textarea {
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(12, 16, 27, 0.78);
}

.admin-workspace-shell .workspace-filter-bar input:focus,
.admin-workspace-shell .workspace-filter-bar select:focus,
.admin-workspace-shell .workspace-filter-bar textarea:focus,
.admin-workspace-shell .admin-inline-form input:focus,
.admin-workspace-shell .admin-inline-form select:focus,
.admin-workspace-shell .admin-inline-form textarea:focus {
    border-color: rgba(255, 210, 51, 0.44);
    box-shadow: 0 0 0 4px rgba(255, 210, 51, 0.12);
}

.admin-workspace-shell .inventory-log {
    overflow-x: auto;
}

.admin-workspace-shell .inventory-log table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-workspace-shell .inventory-log th,
.admin-workspace-shell .inventory-log td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-workspace-shell .inventory-log th {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(226, 232, 242, 0.64);
}

.admin-workspace-shell .inventory-log tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-command-hero,
.admin-page-spotlight,
.admin-topic-card,
.admin-hero-visual-card,
.admin-page-illustration {
    --admin-accent: 255, 210, 51;
    --admin-accent-alt: 255, 138, 61;
}

.admin-command-hero--overview,
.admin-hero-visual-card--overview,
.admin-page-spotlight--overview,
.admin-page-illustration--overview,
.admin-topic-card--overview {
    --admin-accent: 86, 198, 255;
    --admin-accent-alt: 56, 116, 255;
}

.admin-command-hero--users,
.admin-hero-visual-card--users,
.admin-page-spotlight--users,
.admin-page-illustration--users,
.admin-topic-card--users {
    --admin-accent: 133, 237, 196;
    --admin-accent-alt: 41, 165, 132;
}

.admin-command-hero--drivers,
.admin-hero-visual-card--drivers,
.admin-page-spotlight--drivers,
.admin-page-illustration--drivers,
.admin-topic-card--drivers {
    --admin-accent: 255, 211, 107;
    --admin-accent-alt: 255, 140, 61;
}

.admin-command-hero--orders,
.admin-hero-visual-card--orders,
.admin-page-spotlight--orders,
.admin-page-illustration--orders,
.admin-topic-card--orders {
    --admin-accent: 255, 160, 174;
    --admin-accent-alt: 255, 92, 122;
}

.admin-command-hero--shops,
.admin-hero-visual-card--shops,
.admin-page-spotlight--shops,
.admin-page-illustration--shops,
.admin-topic-card--shops {
    --admin-accent: 255, 201, 93;
    --admin-accent-alt: 206, 132, 18;
}

.admin-command-hero--catalog,
.admin-hero-visual-card--catalog,
.admin-page-spotlight--catalog,
.admin-page-illustration--catalog,
.admin-topic-card--catalog {
    --admin-accent: 174, 173, 255;
    --admin-accent-alt: 84, 112, 255;
}

.admin-command-hero--finance,
.admin-hero-visual-card--finance,
.admin-page-spotlight--finance,
.admin-page-illustration--finance,
.admin-topic-card--finance {
    --admin-accent: 111, 235, 212;
    --admin-accent-alt: 26, 172, 160;
}

.admin-command-hero--stats,
.admin-hero-visual-card--stats,
.admin-page-spotlight--stats,
.admin-page-illustration--stats,
.admin-topic-card--stats {
    --admin-accent: 129, 204, 255;
    --admin-accent-alt: 76, 128, 255;
}

.admin-command-hero--system,
.admin-hero-visual-card--system,
.admin-page-spotlight--system,
.admin-page-illustration--system,
.admin-topic-card--system {
    --admin-accent: 163, 236, 166;
    --admin-accent-alt: 55, 182, 101;
}

.admin-command-hero,
.admin-page-spotlight {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.admin-command-hero {
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--admin-accent), 0.24), transparent 36%),
        linear-gradient(145deg, rgba(var(--admin-accent-alt), 0.18), rgba(7, 12, 24, 0.96) 48%, rgba(var(--admin-accent), 0.08));
}

.admin-page-spotlight {
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--admin-accent), 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
}

.admin-command-hero::before,
.admin-page-spotlight::before,
.admin-topic-card::before,
.admin-hero-visual-card::before,
.admin-page-illustration::before {
    content: "";
    position: absolute;
    inset: auto auto -34% -12%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--admin-accent), 0.26), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}

.admin-command-hero::after,
.admin-page-spotlight::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.admin-command-hero__copy,
.admin-command-hero__side,
.admin-page-spotlight__copy,
.admin-page-spotlight__visual {
    position: relative;
    z-index: 1;
}

.admin-command-hero__copy,
.admin-page-spotlight__copy {
    display: grid;
    gap: 14px;
}

.admin-command-hero__copy h2,
.admin-page-spotlight__copy h3 {
    margin: 0;
}

.admin-command-hero__side {
    display: grid;
    gap: 14px;
    align-content: stretch;
}

.admin-command-hero__actions {
    justify-content: flex-start;
}

.admin-hero-statline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-hero-stat {
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    display: inline-grid;
    align-content: center;
    gap: 2px;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.admin-hero-stat strong {
    color: #fff;
    font-size: 1rem;
}

.admin-hero-visual-card,
.admin-page-illustration {
    position: relative;
    min-height: 212px;
    display: grid;
    gap: 12px;
    align-content: end;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 12, 24, 0.34)),
        radial-gradient(circle at top right, rgba(var(--admin-accent), 0.22), transparent 38%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-hero-visual-card strong,
.admin-page-illustration strong {
    font-size: 1.16rem;
    color: #fff;
}

.admin-hero-visual-card p,
.admin-page-illustration p {
    margin: 0;
    color: rgba(226, 232, 242, 0.82);
}

.admin-hero-visual-card__emoji,
.admin-page-illustration__emoji {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-hero-visual-card__bars,
.admin-page-illustration__rows {
    display: grid;
    gap: 8px;
}

.admin-hero-visual-card__bars span,
.admin-page-illustration__rows span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(var(--admin-accent), 0.9), rgba(var(--admin-accent-alt), 0.56));
    opacity: 0.9;
}

.admin-hero-visual-card__bars span:nth-child(1),
.admin-page-illustration__rows span:nth-child(1) {
    width: 92%;
}

.admin-hero-visual-card__bars span:nth-child(2),
.admin-page-illustration__rows span:nth-child(2) {
    width: 68%;
}

.admin-hero-visual-card__bars span:nth-child(3),
.admin-page-illustration__rows span:nth-child(3) {
    width: 84%;
}

.admin-page-illustration__rows span:nth-child(4) {
    width: 56%;
}

.admin-topic-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-topic-strip::-webkit-scrollbar,
.admin-tab-nav::-webkit-scrollbar,
.admin-workspace-shell .inventory-log::-webkit-scrollbar {
    height: 6px;
}

.admin-topic-strip::-webkit-scrollbar-thumb,
.admin-tab-nav::-webkit-scrollbar-thumb,
.admin-workspace-shell .inventory-log::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.admin-topic-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 196px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(var(--admin-accent), 0.22), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-topic-card:hover,
.admin-topic-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(var(--admin-accent), 0.44);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.22);
}

.admin-topic-card.is-active {
    border-color: rgba(var(--admin-accent), 0.46);
    box-shadow:
        0 0 0 1px rgba(var(--admin-accent), 0.28),
        0 26px 46px rgba(0, 0, 0, 0.22);
}

.admin-topic-card__visual,
.admin-topic-card__body {
    position: relative;
    z-index: 1;
}

.admin-topic-card__visual {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topic-card__emoji {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.08);
}

.admin-topic-card__visual-copy,
.admin-topic-card__body {
    display: grid;
    gap: 4px;
}

.admin-topic-card__visual-copy strong,
.admin-topic-card__body strong {
    color: #fff;
}

.admin-topic-card__visual-copy small,
.admin-topic-card__body small {
    color: rgba(226, 232, 242, 0.74);
    line-height: 1.35;
}

.admin-topic-card__eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(var(--admin-accent), 0.98);
}

.admin-tab-nav {
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(16px);
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.admin-tab-nav a {
    flex: 1 0 148px;
    min-width: 148px;
    display: grid;
    justify-items: start;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    text-align: left;
}

.admin-tab-nav__emoji {
    font-size: 1.15rem;
}

.admin-tab-nav__label {
    font-size: 0.96rem;
}

.admin-tab-nav__hint {
    font-size: 0.73rem;
    color: var(--text-soft);
}

.admin-tab-nav a.is-active .admin-tab-nav__hint {
    color: rgba(18, 22, 31, 0.72);
}

.admin-page-spotlight__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
}

.admin-page-spotlight__stat {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    gap: 4px;
}

.admin-page-spotlight__stat span {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.admin-page-spotlight__stat strong {
    color: #fff;
    font-size: 1.08rem;
}

.admin-page-spotlight__actions {
    margin-top: 2px;
}

.admin-page-spotlight__visual {
    display: flex;
}

.admin-page-spotlight__visual > * {
    width: 100%;
}

.admin-metric-grid {
    gap: 12px;
}

.admin-metric-grid .dashboard-tile {
    min-height: 156px;
    padding: 16px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.admin-metric-grid .dashboard-tile strong {
    font-size: 1.82rem;
}

.admin-feed-row,
.bar-list__row {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-feed-row:hover,
.bar-list__row:hover {
    transform: translateY(-1px);
}

@media (max-width: 920px) {
    .admin-live-grid,
    .admin-command-hero,
    .admin-page-spotlight {
        grid-template-columns: 1fr;
    }

    .admin-command-hero,
    .admin-page-spotlight {
        padding: 20px;
    }

    .admin-command-hero__side {
        grid-template-columns: 1fr;
    }

    .admin-topic-strip {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }

    .admin-topic-card {
        min-width: 248px;
        flex: 0 0 248px;
        scroll-snap-align: start;
    }

    .admin-feed-row__head,
    .bar-list__top {
        flex-direction: column;
    }

    .admin-page-spotlight__visual {
        order: -1;
    }
}

@media (max-width: 680px) {
    .admin-workspace-shell {
        gap: 14px;
    }

    .admin-command-hero,
    .admin-page-spotlight {
        padding: 16px;
        border-radius: 24px;
    }

    .admin-hero-statline,
    .admin-page-spotlight__stats,
    .admin-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-hero-statline {
        display: grid;
    }

    .admin-tab-nav {
        padding: 8px;
    }

    .admin-tab-nav a {
        min-width: 134px;
        flex-basis: 134px;
        padding: 12px 14px;
    }

    .admin-topic-card {
        min-width: 224px;
        flex-basis: 224px;
        min-height: 182px;
    }

    .admin-workspace-shell .workspace-filter-bar,
    .admin-workspace-shell .admin-form-grid,
    .admin-workspace-shell .action-grid {
        grid-template-columns: 1fr;
    }

    .admin-workspace-shell .workspace-inline-actions .button,
    .admin-workspace-shell .workspace-inline-actions button,
    .admin-workspace-shell .admin-inline-form button {
        width: 100%;
    }

    .admin-workspace-shell .inventory-log {
        padding: 14px;
    }
}

@media (max-width: 840px) {
    .admin-workspace-shell table {
        display: table;
        width: 100%;
    }

    .admin-workspace-shell thead {
        display: table-header-group;
    }

    .admin-workspace-shell tbody {
        display: table-row-group;
    }

    .admin-workspace-shell tr {
        display: table-row;
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
    }

    .admin-workspace-shell th,
    .admin-workspace-shell td {
        display: table-cell;
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .admin-command-hero__actions > *,
    .admin-page-spotlight__actions > * {
        flex: 1 1 100%;
    }

    .admin-hero-statline,
    .admin-page-spotlight__stats,
    .admin-metric-grid {
        grid-template-columns: 1fr;
    }

    .admin-hero-visual-card,
    .admin-page-illustration {
        min-height: 186px;
        padding: 16px;
    }

    .admin-hero-visual-card__bars span,
    .admin-page-illustration__rows span {
        height: 10px;
    }

    .admin-workspace-shell .workspace-filter-bar,
    .admin-workspace-shell .inventory-log,
    .admin-workspace-shell .product-card,
    .admin-workspace-shell .workspace-card,
    .admin-workspace-shell .workspace-panel {
        padding: 14px;
    }
}

.order-shell--detail {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.layout-has-bottom-nav .order-shell--detail {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

.order-hero-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(18, 24, 37, 0.95), rgba(10, 14, 22, 0.92));
    border-color: rgba(255, 210, 51, 0.16);
}

.order-hero-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.order-hero-card__title {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.order-hero-card__title strong {
    font-size: 1.04rem;
    line-height: 1.1;
}

.order-hero-card__title span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.order-route-compact {
    display: grid;
    gap: 8px;
}

.order-route-compact__line {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.order-route-compact__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.order-route-compact__emoji {
    line-height: 1.2;
}

.order-route-compact__text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-route-compact__note {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.order-route-compact__notes {
    display: grid;
    gap: 6px;
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-route-compact__note-line {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.42;
    color: rgba(226, 232, 242, 0.9);
}

.order-route-compact__note-line--verbatim {
    color: var(--text);
}

.order-hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-hero-card__pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 210, 51, 0.12);
    color: #fff3b3;
    border: 1px solid rgba(255, 210, 51, 0.18);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 100%;
}

.order-hero-card__pill--soft {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-soft);
}

.order-hero-card__pill--action {
    appearance: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.order-hero-card__pill--action:hover {
    border-color: rgba(255, 210, 51, 0.24);
    color: #fff7d1;
    transform: translateY(-1px);
}

.order-hero-card__pill--action.is-pending {
    border-color: rgba(255, 210, 51, 0.24);
    color: #fff3b3;
}

.order-hero-card__pill--action.is-paid {
    background: rgba(66, 211, 137, 0.14);
    border-color: rgba(66, 211, 137, 0.2);
    color: #d8ffea;
}

.order-live-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-live-inline.is-near {
    background: linear-gradient(135deg, rgba(255, 170, 70, 0.18), rgba(255, 130, 40, 0.08));
    border-color: rgba(255, 170, 70, 0.24);
}

.order-live-inline__label {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.order-live-inline__value {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1;
    white-space: nowrap;
}

.order-party-card {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
}

.order-party-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.order-party-card__row strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.order-party-card__meta,
.order-party-card__label {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.order-party-card__label {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.order-contact-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff3b3;
    font-weight: 800;
}

.order-contact-link:hover {
    color: #fff7d1;
    border-color: rgba(255, 210, 51, 0.24);
}

.order-call-card--contact {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.order-contact-online {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #dcecff;
    font-weight: 800;
    white-space: nowrap;
}

.order-contact-online:hover:not(:disabled) {
    color: #f2f8ff;
    border-color: rgba(92, 173, 255, 0.28);
    background: rgba(92, 173, 255, 0.08);
}

.order-contact-online:disabled {
    opacity: 0.56;
    cursor: not-allowed;
}

.order-contact-online__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8fc7ff;
}

.order-contact-online__icon svg {
    width: 18px;
    height: 18px;
}

.order-inline-sbp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-inline-sbp__text {
    min-width: 0;
    color: var(--text);
    line-height: 1.4;
    word-break: break-word;
}

.order-payment-card {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.order-payment-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-payment-card__eyebrow,
.order-payment-card__details-label {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-payment-card__status {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.3;
}

.order-payment-card__badge {
    flex: 0 0 auto;
}

.order-payment-card__amount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-payment-card__amount span {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.order-payment-card__amount strong {
    color: #fff7d1;
    font-size: 1.08rem;
}

.order-payment-card__hint {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.order-payment-card__details {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-payment-card__details-text {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
    word-break: break-word;
}

.order-payment-card__copy,
.order-payment-card__form {
    width: 100%;
}

.order-payment-card__form {
    margin: 0;
}

.order-sheet__dialog--payment {
    max-width: min(100%, 480px);
}

.order-inline-copy {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(255, 210, 51, 0.14);
    border: 1px solid rgba(255, 210, 51, 0.2);
    color: #fff3b3;
}

.order-inline-copy.is-copied {
    background: rgba(66, 211, 137, 0.18);
    border-color: rgba(66, 211, 137, 0.22);
    color: #d8ffea;
}

.order-request-card {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-request-card__text {
    margin: 0;
    color: var(--text);
    line-height: 1.45;
    white-space: pre-wrap;
}

.order-actionbar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 210, 51, 0.35) transparent;
}

.order-actionbar::-webkit-scrollbar {
    height: 6px;
}

.order-actionbar::-webkit-scrollbar-thumb {
    background: rgba(255, 210, 51, 0.35);
    border-radius: 999px;
}

.order-actionbar__form {
    display: block;
    margin: 0;
    flex: 0 0 auto;
}

.order-ops-dock {
    position: fixed;
    left: 50%;
    bottom: calc(var(--bottom-nav-clearance) + 10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 46;
    width: min(720px, calc(100vw - 24px));
    pointer-events: none;
}

.order-ops-dock__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(16, 22, 34, 0.96), rgba(10, 14, 22, 0.95)),
        rgba(8, 12, 19, 0.94);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.34);
    pointer-events: auto;
}

.order-ops-dock__form {
    display: block;
    margin: 0;
}

.order-op-button {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 210, 51, 0.22);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff4c2;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.order-op-button:hover {
    color: #fff8d7;
    border-color: rgba(255, 210, 51, 0.28);
    transform: translateY(-1px);
}

.order-op-button--copy {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
}

.order-op-button--warning {
    background: linear-gradient(135deg, rgba(255, 170, 70, 0.2), rgba(255, 130, 40, 0.08));
    color: #ffe6c6;
    border-color: rgba(255, 170, 70, 0.24);
}

.order-op-button--success {
    background: linear-gradient(135deg, rgba(66, 211, 137, 0.2), rgba(66, 211, 137, 0.08));
    color: #d8ffea;
    border-color: rgba(66, 211, 137, 0.22);
}

.order-op-button--danger {
    background: linear-gradient(135deg, rgba(255, 93, 93, 0.2), rgba(255, 59, 48, 0.08));
    color: #ffdcdc;
    border-color: rgba(255, 93, 93, 0.22);
}

.order-call-card--inline {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.order-icon-button,
.order-pill-button {
    width: auto;
    min-width: 52px;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.order-icon-button:hover,
.order-pill-button:hover {
    color: var(--text);
    border-color: rgba(255, 210, 51, 0.24);
    transform: translateY(-1px);
}

.order-icon-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.order-icon-button--accent {
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
    color: #fff3b3;
    border-color: rgba(255, 210, 51, 0.24);
}

.order-icon-button--success {
    background: linear-gradient(135deg, rgba(66, 211, 137, 0.2), rgba(66, 211, 137, 0.08));
    color: #d8ffea;
    border-color: rgba(66, 211, 137, 0.22);
}

.order-icon-button--danger {
    background: linear-gradient(135deg, rgba(255, 93, 93, 0.2), rgba(255, 59, 48, 0.08));
    color: #ffdcdc;
    border-color: rgba(255, 93, 93, 0.22);
}

.order-icon-button__svg {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-icon-button__svg svg {
    width: 100%;
    height: 100%;
}

.order-pill-button {
    min-width: 0;
    padding: 0 16px;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    color: #fff4c2;
    border-color: rgba(255, 210, 51, 0.24);
    background: linear-gradient(135deg, rgba(255, 210, 51, 0.18), rgba(255, 183, 3, 0.08));
}

.order-pill-button--wait {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
}

.order-pill-button--wait.is-live {
    background: linear-gradient(135deg, rgba(255, 170, 70, 0.22), rgba(255, 130, 40, 0.1));
    color: #ffe7cb;
    border-color: rgba(255, 170, 70, 0.28);
    animation: orderWaitPulse 1.8s ease-in-out infinite;
}

.order-pill-button--wait.is-focus-highlight {
    border-color: rgba(255, 214, 122, 0.82);
    box-shadow:
        0 0 0 3px rgba(255, 214, 122, 0.24),
        0 16px 30px rgba(255, 170, 70, 0.26);
}

.order-pill-button--wait:focus-visible,
.wait-timer-card:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 214, 122, 0.28),
        0 18px 34px rgba(255, 170, 70, 0.22);
}

@keyframes orderWaitPulse {
    0%, 100% {
        box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 16px 28px rgba(255, 170, 70, 0.18);
    }
}

.order-sheet {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
}

.order-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 18, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.order-sheet__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(80vh, 760px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(35, 103, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(17, 23, 35, 0.98), rgba(10, 14, 23, 0.96));
    box-shadow: 0 30px 52px rgba(0, 0, 0, 0.46);
}

.order-sheet__dialog--chat {
    max-width: 620px;
}

.order-sheet__dialog--switcher {
    max-width: 560px;
}

.order-sheet__dialog--wait {
    max-width: 540px;
}

.order-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-sheet__title,
.order-sheet__section-title {
    margin: 0;
    font-size: 1rem;
}

.order-sheet__close {
    width: auto;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.order-sheet__body {
    min-height: 0;
    display: grid;
    gap: 14px;
    padding: 16px;
    overflow-y: auto;
}

.order-info-grid {
    display: grid;
    gap: 8px;
}

.order-info-row {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.order-info-row__key {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-info-row__value {
    color: var(--text);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.order-sheet .lifecycle-card,
.order-sheet .chat-card {
    margin: 0;
}

.order-sheet .lifecycle-card {
    display: grid;
    gap: 10px;
}

.order-sheet .lifecycle-card p {
    margin: 0;
}

.order-sheet .copy-sbp-number {
    width: auto;
    min-width: 0;
    justify-self: start;
}

.wait-timer-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 170, 70, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(22, 27, 39, 0.96), rgba(10, 14, 23, 0.94));
    border-color: rgba(255, 170, 70, 0.16);
}

.wait-timer-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wait-timer-card__eyebrow {
    color: #ffe7cb;
    font-size: 0.84rem;
    font-weight: 800;
}

.wait-timer-card__badge {
    flex: 0 0 auto;
}

.wait-timer-card__clock {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fff7d1;
}

.wait-timer-card__hint {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.45;
}

.wait-timer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wait-timer-stat {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wait-timer-stat__label {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wait-timer-stat strong {
    font-size: 1.02rem;
    line-height: 1.2;
    color: var(--text);
}

.wait-timer-stat small {
    color: var(--text-soft);
    line-height: 1.35;
}

.chat-card {
    display: grid;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 0;
}

.chat-messages {
    min-height: 220px;
    max-height: 42vh;
    overflow: auto;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.chat-line {
    display: grid;
    gap: 4px;
}

.chat-line small {
    color: var(--text-soft);
    font-size: 0.72rem;
}

.chat-line.is-mine {
    justify-items: end;
    text-align: right;
}

.chat-line.is-theirs {
    justify-items: start;
    text-align: left;
}

.chat-bubble {
    max-width: min(100%, 420px);
    padding: 9px 11px;
    border-radius: 14px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.08);
}

.chat-line.is-mine .chat-bubble {
    background: rgba(255, 210, 51, 0.18);
}

.chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.chat-form button {
    width: auto;
}

.order-switcher-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.order-sheet-open {
    overflow: hidden;
}

.order-call-fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.admin-console-shell {
    gap: 14px;
}

.admin-console-topbar,
.admin-console-board,
.admin-console-subnav,
.admin-console-secondary-nav,
.admin-console-metrics {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: #050608;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.admin-console-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
}

.admin-console-brand-block {
    display: grid;
    gap: 4px;
}

.admin-console-brand {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 1.02rem;
    color: #ffffff;
}

.admin-console-brand-note,
.admin-console-kicker {
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.admin-console-primary-nav,
.admin-console-shortcuts,
.admin-console-table-links,
.admin-console-cell-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-console-user-access {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.admin-console-user-access__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.admin-console-user-access__name {
    color: #fff;
    font-weight: 700;
}

.admin-console-user-access__system {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.admin-console-user-access--popup {
    margin-top: 10px;
    width: fit-content;
    max-width: 100%;
}

.admin-console-primary-nav > a,
.admin-console-overflow summary,
.admin-console-secondary-nav > a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.admin-console-primary-nav > a,
.admin-console-overflow summary {
    padding: 9px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.admin-console-primary-nav > a:hover,
.admin-console-primary-nav > a.is-active,
.admin-console-overflow summary:hover,
.admin-console-overflow[open] summary {
    color: #0b0d12;
    background: #ffd233;
    border-color: #ffd233;
}

.admin-console-overflow {
    position: relative;
}

.admin-console-overflow summary {
    list-style: none;
    cursor: pointer;
}

.admin-console-overflow summary::-webkit-details-marker {
    display: none;
}

.admin-console-overflow__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    min-width: 240px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: #050608;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.admin-console-overflow__menu a {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.admin-console-overflow__menu a:hover,
.admin-console-overflow__menu a.is-active {
    background: rgba(255, 210, 51, 0.12);
    color: #ffd233;
}

.admin-console-board {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr) auto;
    gap: 18px;
    align-items: stretch;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        #050608;
}

.admin-console-board--summary {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
}

.admin-console-board h2 {
    margin: 0;
}

.admin-console-board__intro,
.admin-console-board__stats,
.admin-console-board__actions {
    display: grid;
    gap: 12px;
}

.admin-console-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
}

.admin-console-subnav > a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 220px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.admin-console-subnav > a:hover,
.admin-console-subnav > a.is-active {
    border-color: rgba(255, 210, 51, 0.48);
    background: rgba(255, 210, 51, 0.08);
}

.admin-console-subnav__emoji {
    font-size: 1.08rem;
}

.admin-console-subnav__copy {
    display: grid;
    gap: 2px;
}

.admin-console-subnav__copy strong {
    color: #ffffff;
}

.admin-console-subnav__copy small {
    color: rgba(255, 255, 255, 0.62);
}

.admin-console-board__intro p:last-child {
    margin-bottom: 0;
}

.admin-console-board__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.admin-console-stat,
.admin-console-metric {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-console-stat span,
.admin-console-metric span,
.admin-console-metric small {
    color: rgba(255, 255, 255, 0.68);
}

.admin-console-stat strong,
.admin-console-metric strong {
    font-size: 1.25rem;
    color: #ffffff;
}

.admin-console-secondary-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    padding: 12px;
}

.admin-console-secondary-nav > a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
}

.admin-console-secondary-nav > a:hover,
.admin-console-secondary-nav > a.is-active {
    border-color: rgba(255, 210, 51, 0.48);
    background: rgba(255, 210, 51, 0.08);
}

.admin-console-secondary-nav__emoji {
    font-size: 1.1rem;
}

.admin-console-secondary-nav__copy {
    display: grid;
    gap: 2px;
}

.admin-console-secondary-nav__copy strong {
    color: #ffffff;
}

.admin-console-secondary-nav__copy small {
    color: rgba(255, 255, 255, 0.62);
}

.admin-console-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 10px;
    padding: 12px;
}

.admin-console-metric {
    min-height: 110px;
}

.admin-console-table-wrap {
    padding: 0;
    overflow-x: auto;
}

.admin-console-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-console-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #090b10;
}

.admin-console-table th,
.admin-console-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.admin-console-table th {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.admin-console-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-console-cell-stack {
    display: grid;
    gap: 5px;
}

.admin-console-cell-meta {
    margin-top: 8px;
}

.admin-console-table__actions {
    min-width: 240px;
}

.admin-console-disclosure {
    display: grid;
    gap: 10px;
}

.admin-console-disclosure summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-weight: 700;
}

.admin-console-disclosure summary::-webkit-details-marker {
    display: none;
}

.admin-console-disclosure[open] summary {
    background: rgba(255, 210, 51, 0.12);
    border-color: rgba(255, 210, 51, 0.42);
    color: #ffd233;
}

.admin-console-inline-form {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.admin-console-password-tools {
    display: grid;
    gap: 8px;
}

.admin-console-password-tools small {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
}

.admin-console-inline-form + .admin-console-inline-form {
    margin-top: 10px;
}

.admin-desktop-page .site-header {
    display: none;
}

.admin-desktop-page .page-shell {
    max-width: none;
    margin: 0;
    padding: 10px 18px 28px;
}

.admin-desktop-page .page-shell > * {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 18px;
}

.admin-desktop-page .admin-console-topbar,
.admin-desktop-page .admin-console-board,
.admin-desktop-page .admin-console-subnav,
.admin-desktop-page .admin-console-secondary-nav,
.admin-desktop-page .admin-console-metrics,
.admin-desktop-page .admin-monitor-panel,
.admin-desktop-page .admin-monitor-kpi {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.16);
    background: #000000;
    box-shadow: none;
}

.admin-desktop-page .admin-console-topbar,
.admin-desktop-page .admin-console-board,
.admin-desktop-page .admin-console-subnav,
.admin-desktop-page .admin-console-secondary-nav,
.admin-desktop-page .admin-console-metrics {
    border-radius: 10px;
}

.admin-desktop-page .admin-monitor-shell {
    display: grid;
    gap: 16px;
}

.admin-monitor-shell__head {
    align-items: center;
}

.admin-monitor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-panel-head-actions,
.admin-dashboard-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #f6f8ff;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.admin-icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 210, 51, 0.4);
    background: rgba(255, 210, 51, 0.1);
    color: #ffd233;
}

.admin-icon-button--compact {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.admin-icon-button--danger:hover {
    border-color: rgba(255, 111, 111, 0.42);
    background: rgba(255, 111, 111, 0.12);
    color: #ff8d8d;
}

.admin-icon-button__icon {
    width: 18px;
    height: 18px;
}

.admin-icon-button__glyph {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
}

.admin-dashboard-order-actions a {
    white-space: nowrap;
}

.admin-dashboard-popup {
    width: min(980px, calc(100vw - 56px));
    max-width: 980px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f6f8ff;
}

.admin-dashboard-popup::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.admin-dashboard-popup__shell {
    display: grid;
    gap: 18px;
    width: 100%;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        #050608;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
    box-sizing: border-box;
}

.admin-dashboard-popup__shell--wide {
    max-width: 980px;
}

.admin-dashboard-popup__shell--narrow {
    max-width: 560px;
}

.admin-dashboard-popup__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-dashboard-popup__head h3,
.admin-dashboard-popup__head p {
    margin: 0;
}

.admin-dashboard-popup__head p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.admin-dashboard-popup__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f6f8ff;
    cursor: pointer;
}

.admin-dashboard-popup__close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-dashboard-popup__close-icon {
    width: 18px;
    height: 18px;
}

.admin-dashboard-popup__form,
.admin-dashboard-popup__body,
.admin-dashboard-popup__stack {
    display: grid;
    gap: 16px;
}

.admin-dashboard-popup__notice {
    padding: 12px 14px;
    border: 1px solid rgba(255, 210, 51, 0.28);
    border-radius: 14px;
    background: rgba(255, 210, 51, 0.08);
    color: #ffe39f;
    font-size: 0.9rem;
}

.admin-dashboard-popup__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-dashboard-popup__footer .danger {
    border-color: rgba(255, 111, 111, 0.38);
    background: rgba(255, 111, 111, 0.14);
    color: #ffd3d3;
}

.admin-dashboard-popup__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

.admin-dashboard-popup__checkbox input {
    width: 18px;
    height: 18px;
}

.admin-dashboard-popup__schedule-field[hidden] {
    display: none;
}

.admin-dashboard-popup__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-dashboard-popup__column {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.admin-dashboard-popup__column h4 {
    margin: 0;
    color: #ffffff;
}

.admin-dashboard-popup__list {
    display: grid;
    gap: 10px;
    max-height: 58vh;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-popup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-popup-row--stacked {
    align-items: flex-start;
}

.admin-popup-row__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-popup-row__copy strong,
.admin-dashboard-popup__summary strong {
    color: #ffffff;
}

.admin-popup-row__copy p,
.admin-dashboard-popup__summary p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.admin-popup-row__copy small,
.admin-dashboard-popup__summary small {
    color: rgba(255, 255, 255, 0.64);
}

.admin-popup-row__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.admin-popup-row__actions--stacked {
    width: 100%;
    justify-content: stretch;
}

.admin-popup-row__actions--stacked form {
    width: 100%;
}

.admin-popup-inline-form {
    gap: 8px;
}

.admin-dashboard-popup__summary {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

body.popup-embedded-body {
    overflow: hidden;
}

body.popup-embedded-body .page-shell {
    min-height: 100vh;
    padding: 0;
}

body.popup-embedded-body .flashes {
    margin: 12px;
}

.surface-frame-dialog {
    width: min(1100px, calc(100vw - 18px));
    max-width: min(1100px, calc(100vw - 18px));
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
}

.surface-frame-dialog::backdrop {
    background: rgba(4, 8, 17, 0.76);
    backdrop-filter: blur(16px);
}

.surface-frame-dialog__shell {
    display: grid;
    gap: 0;
    min-height: min(86vh, 880px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top left, rgba(255, 194, 61, 0.12), transparent 44%),
        linear-gradient(180deg, rgba(12, 17, 31, 0.98), rgba(7, 12, 24, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

.surface-frame-dialog__shell--wide {
    min-height: min(90vh, 980px);
}

.surface-frame-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.surface-frame-dialog__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.surface-frame-dialog__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 199, 74, 0.84);
}

.surface-frame-dialog__copy h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #f9fbff;
}

.surface-frame-dialog__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.surface-frame-dialog__link,
.surface-frame-dialog__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f3f6ff;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.surface-frame-dialog__close {
    min-width: 42px;
    padding: 0;
    cursor: pointer;
}

.surface-frame-dialog__link:hover,
.surface-frame-dialog__close:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 199, 74, 0.3);
    background: rgba(255, 199, 74, 0.08);
}

.surface-frame-dialog__body {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
}

.surface-frame-dialog__loading {
    position: absolute;
    inset: 12px 12px auto 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(8, 14, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(236, 241, 255, 0.82);
}

.surface-frame-dialog__frame {
    width: 100%;
    min-height: min(78vh, 860px);
    height: min(78vh, 860px);
    border: 0;
    background: #07101d;
}

.surface-frame-dialog--merchant {
    width: min(1460px, calc(100vw - 34px));
    max-width: min(1460px, calc(100vw - 34px));
}

.device-alarm-dialog {
    width: min(520px, calc(100vw - 24px));
    max-width: min(520px, calc(100vw - 24px));
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
}

.device-alarm-dialog::backdrop {
    background: rgba(3, 6, 12, 0.74);
}

.device-alarm-dialog__shell {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        #080b11;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.device-alarm-dialog__head,
.device-alarm-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.device-alarm-dialog__copy {
    display: grid;
    gap: 6px;
}

.device-alarm-dialog__copy h3,
.device-alarm-dialog__copy p {
    margin: 0;
}

.device-alarm-dialog__eyebrow {
    color: rgba(255, 210, 51, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.device-alarm-dialog__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
}

.device-alarm-dialog__body {
    display: grid;
    gap: 12px;
}

.device-alarm-dialog__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-alarm-dialog__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
}

.device-alarm-dialog__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.device-alarm-dialog__actions {
    justify-content: flex-end;
}

.device-alarm-dialog__actions .button {
    min-width: 180px;
}

.mobile-install-dialog {
    width: min(540px, calc(100vw - 24px));
    max-width: min(540px, calc(100vw - 24px));
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
}

.mobile-install-dialog::backdrop {
    background: rgba(3, 6, 12, 0.8);
}

.mobile-install-dialog__shell {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 210, 51, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        #080b11;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.mobile-install-dialog__head,
.mobile-install-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-install-dialog__copy {
    display: grid;
    gap: 6px;
}

.mobile-install-dialog__copy h3,
.mobile-install-dialog__copy p {
    margin: 0;
}

.mobile-install-dialog__eyebrow {
    color: rgba(255, 210, 51, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mobile-install-dialog__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
}

.mobile-install-dialog__body {
    display: grid;
    gap: 14px;
}

.mobile-install-dialog__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-install-dialog__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
}

.mobile-install-dialog__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.mobile-install-dialog__steps {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
}

.mobile-install-dialog__steps li::marker {
    color: rgba(255, 210, 51, 0.95);
    font-weight: 700;
}

.mobile-install-dialog__actions {
    justify-content: flex-end;
}

.mobile-install-dialog__actions .button {
    min-width: 180px;
}

.shop-list-grid {
    display: grid;
    gap: 14px;
}

.shop-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px;
}

.shop-list-card__copy {
    display: grid;
    gap: 4px;
}

.shop-list-card__copy strong {
    color: #f7f8fd;
    font-size: 1rem;
}

.shop-list-card__copy span {
    color: rgba(226, 232, 248, 0.72);
    font-size: 0.9rem;
}

.shop-list-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffce48, #ffb400);
    color: #101216;
    text-decoration: none;
    font-weight: 800;
}

.merchant-popup-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 18px 20px;
}

.merchant-popup-intro__copy {
    display: grid;
    gap: 6px;
}

.merchant-popup-intro__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 198, 70, 0.86);
}

.merchant-popup-intro__copy h2 {
    margin: 0;
    color: #f7f9ff;
}

.merchant-popup-intro__copy p {
    margin: 0;
    color: rgba(226, 232, 248, 0.76);
}

.merchant-popup-intro__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(226, 232, 248, 0.78);
}

.merchant-popup-intro__meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-monitor-timestamp {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    background: #000000;
    font-size: 0.88rem;
}

.admin-activity-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 95;
    width: min(360px, calc(100vw - 44px));
    max-height: min(72vh, 640px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 212, 84, 0.28);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(11, 15, 24, 0.98), rgba(6, 8, 14, 0.98)),
        rgba(8, 12, 20, 0.96);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.admin-activity-widget.is-collapsed .admin-activity-widget__body {
    display: none;
}

.admin-activity-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 213, 89, 0.12), rgba(255, 213, 89, 0));
}

.admin-activity-widget__title {
    display: grid;
    gap: 3px;
}

.admin-activity-widget__title strong {
    font-size: 0.96rem;
    letter-spacing: 0.04em;
    color: #fff2b4;
}

.admin-activity-widget__title small {
    font-size: 0.78rem;
    color: rgba(221, 230, 255, 0.72);
}

.admin-activity-widget__toggle {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #f6f8ff;
    padding: 8px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-activity-widget__toggle:hover {
    background: rgba(255, 213, 89, 0.12);
    border-color: rgba(255, 213, 89, 0.3);
    transform: translateY(-1px);
}

.admin-activity-widget__body {
    padding: 10px;
}

.admin-activity-list {
    display: grid;
    gap: 8px;
    max-height: calc(min(72vh, 640px) - 82px);
    overflow-y: auto;
    padding-right: 2px;
}

.admin-activity-empty {
    margin: 0;
    padding: 14px 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: rgba(223, 231, 255, 0.7);
    font-size: 0.88rem;
    text-align: center;
}

.admin-activity-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #f6f8ff;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.admin-activity-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 213, 89, 0.26);
    background: rgba(255, 213, 89, 0.08);
}

.admin-activity-item__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 12px;
    background: rgba(113, 140, 255, 0.12);
    color: #87b0ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.admin-activity-item__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-activity-item__body strong {
    font-size: 0.92rem;
    color: #ffffff;
}

.admin-activity-item__body span {
    font-size: 0.84rem;
    line-height: 1.4;
    color: rgba(232, 238, 255, 0.9);
}

.admin-activity-item__body small {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    color: rgba(190, 203, 242, 0.62);
    text-transform: uppercase;
}

.admin-activity-item--warning {
    border-color: rgba(255, 191, 73, 0.22);
    background: rgba(255, 191, 73, 0.08);
}

.admin-activity-item--warning .admin-activity-item__time {
    background: rgba(255, 191, 73, 0.14);
    color: #ffcb67;
}

.admin-activity-item--danger {
    border-color: rgba(255, 104, 104, 0.26);
    background: rgba(255, 104, 104, 0.08);
}

.admin-activity-item--danger .admin-activity-item__time {
    background: rgba(255, 104, 104, 0.14);
    color: #ff9b9b;
}

.admin-activity-item--muted .admin-activity-item__time {
    background: rgba(171, 182, 214, 0.12);
    color: #cbd6f6;
}

.admin-monitor-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-monitor-kpi {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-monitor-kpi span,
.admin-monitor-kpi small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85rem;
}

.admin-monitor-kpi strong {
    font-size: 2.05rem;
    line-height: 1;
}

.admin-monitor-kpi--blue {
    border-color: rgba(68, 154, 255, 0.48);
}

.admin-monitor-kpi--blue strong {
    color: #449aff;
}

.admin-monitor-kpi--green {
    border-color: rgba(66, 211, 137, 0.48);
}

.admin-monitor-kpi--green strong {
    color: #42d389;
}

.admin-monitor-kpi--yellow {
    border-color: rgba(255, 210, 51, 0.48);
}

.admin-monitor-kpi--yellow strong {
    color: #ffd233;
}

.admin-monitor-kpi--violet {
    border-color: rgba(174, 97, 255, 0.48);
}

.admin-monitor-kpi--violet strong {
    color: #c57bff;
}

.admin-monitor-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.admin-monitor-bottom {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
    gap: 16px;
}

.admin-monitor-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-monitor-panel {
    padding: 0;
    overflow: hidden;
}

.admin-monitor-panel .workspace-panel__head {
    padding: 14px 16px;
    background: #101827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-monitor-panel .workspace-panel__head h3 {
    margin: 0;
}

.admin-dashboard-table-wrap {
    padding: 0;
    overflow-x: auto;
}

.admin-dashboard-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.admin-dashboard-table th,
.admin-dashboard-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.admin-dashboard-table th {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #000000;
}

.admin-dashboard-table__route {
    min-width: 360px;
}

.admin-monitor-actions {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.admin-monitor-actions .button {
    justify-content: center;
}

.admin-monitor-quickstats {
    display: grid;
    gap: 10px;
    padding: 0 16px 16px;
}

.admin-monitor-quickstats article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #0c1018;
}

.admin-monitor-quickstats span {
    color: rgba(255, 255, 255, 0.68);
}

.admin-monitor-quickstats strong {
    font-size: 1.55rem;
    color: #ffffff;
}

.admin-monitor-list,
.admin-monitor-log {
    display: grid;
    gap: 10px;
    padding: 14px;
    max-height: 340px;
    overflow-y: auto;
}

.admin-monitor-list__item {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #0c1018;
}

.admin-monitor-list__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.admin-monitor-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
}

.admin-monitor-list__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-monitor-list__actions form {
    margin: 0;
}

.admin-overview-callall-button {
    white-space: nowrap;
}

.button--compact {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.82rem;
}

.admin-broadcast-call {
    display: grid;
    gap: 14px;
}

.admin-broadcast-call__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-broadcast-call__copy {
    display: grid;
    gap: 4px;
}

.admin-broadcast-call__copy strong {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: #fff3ca;
}

.admin-broadcast-call__copy p,
.admin-broadcast-call__status,
.admin-broadcast-call__target small {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.admin-broadcast-call__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-broadcast-call__pickup {
    display: grid;
    gap: 6px;
}

.admin-broadcast-call__pickup span,
.admin-broadcast-call__pickup small {
    color: rgba(255, 255, 255, 0.74);
}

.admin-broadcast-call__pickup input {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 23, 0.78);
    color: #f4f7fb;
}

.admin-broadcast-call__list {
    display: grid;
    gap: 10px;
    max-height: 44vh;
    overflow-y: auto;
}

.admin-broadcast-call__target {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.admin-broadcast-call__target .status-pill {
    justify-self: start;
}

.order-call-card--broadcast-listener {
    position: fixed;
    inset: auto auto 0 0;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.admin-monitor-log {
    font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
}

.admin-monitor-log__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.admin-monitor-log__time {
    color: #ffd233;
    white-space: nowrap;
}

.admin-monitor-log__copy {
    display: grid;
    gap: 4px;
}

.admin-monitor-log__copy strong {
    color: #ffffff;
}

.admin-monitor-log__copy p,
.admin-monitor-log__copy small {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 1025px) {
    .admin-console-shell .workspace-section {
        gap: 14px;
    }

    .admin-console-shell .product-card,
    .admin-console-shell .workspace-card,
    .admin-console-shell .workspace-panel,
    .admin-console-shell .workspace-filter-bar,
    .admin-console-shell .inventory-log {
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: #050608;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    }

    .admin-console-shell .workspace-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 841px) {
    .order-sheet {
        align-items: center;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 1100px) {
    .admin-console-topbar,
    .admin-console-board,
    .admin-console-board--summary {
        grid-template-columns: 1fr;
    }

    .admin-console-shortcuts {
        justify-content: flex-start;
    }

    .admin-console-subnav,
    .admin-console-secondary-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-monitor-kpis,
    .admin-monitor-foot,
    .admin-monitor-bottom,
    .admin-monitor-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .system-access-item,
    .mobile-app-panel {
        grid-template-columns: 1fr;
    }

    .profile-app-update {
        flex-direction: column;
        align-items: stretch;
    }

    .system-access-item {
        justify-items: start;
    }

    .mobile-app-panel__actions {
        justify-items: stretch;
    }

    .mobile-app-panel__actions .button,
    .profile-app-update__actions .button,
    .system-access-item__action {
        width: 100%;
    }

    .system-access-dialog {
        width: calc(100vw - 16px);
    }

    .admin-console-subnav,
    .admin-console-secondary-nav {
        grid-template-columns: 1fr;
    }

    .admin-console-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-monitor-kpis {
        grid-template-columns: 1fr;
    }

    .order-shell--detail {
        gap: 8px;
    }

    .order-hero-card,
    .order-actionbar {
        padding: 10px;
    }

    .order-route-compact__line {
        padding: 9px 10px;
    }

    .order-inline-sbp {
        grid-template-columns: minmax(0, 1fr) 44px;
        padding: 9px 10px;
    }

    .wait-timer-grid {
        grid-template-columns: 1fr;
    }

    .wait-timer-card__clock {
        font-size: 2.4rem;
    }

    .order-icon-button,
    .order-pill-button {
        min-width: 48px;
        min-height: 48px;
        border-radius: 14px;
    }

    .order-sheet {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .order-sheet__head,
    .order-sheet__body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .chat-messages {
        min-height: 180px;
        max-height: 38vh;
    }
}

@media (max-width: 1180px) {
    .admin-activity-widget {
        display: none;
    }
}

.tile-emoji-glass--rideshare {
    --ui-icon-glow: rgba(102, 222, 162, 0.28);
}

.rideshare-dashboard-strip {
    display: grid;
    gap: 10px;
    margin: 16px 0 10px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 0% 0%, rgba(73, 196, 141, 0.16), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(73, 144, 255, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(10, 15, 24, 0.96), rgba(7, 11, 18, 0.98));
    box-shadow:
        0 18px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rideshare-dashboard-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rideshare-dashboard-strip__title {
    display: grid;
    gap: 2px;
}

.rideshare-dashboard-strip__title strong {
    font-size: 1rem;
}

.rideshare-dashboard-strip__title span {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.rideshare-dashboard-strip__link {
    color: #dff7ec;
    font-weight: 700;
    text-decoration: none;
}

.rideshare-dashboard-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.rideshare-mini-card {
    position: relative;
    height: 98px;
    min-height: 98px;
    max-height: 98px;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(16, 23, 37, 0.96), rgba(7, 11, 19, 0.98));
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.rideshare-mini-card--create,
.rideshare-mini-card--member {
    color: var(--text);
    text-decoration: none;
}

.rideshare-mini-card--create {
    background:
        radial-gradient(circle at 0% 0%, rgba(73, 196, 141, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(12, 23, 27, 0.98), rgba(8, 14, 18, 0.98));
}

.rideshare-mini-card--member {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(20, 28, 44, 0.98), rgba(8, 12, 20, 0.98));
}

.rideshare-mini-card--candidate {
    padding-right: 46px;
}

.rideshare-mini-card--placeholder {
    opacity: 0.56;
}

.rideshare-mini-card__body {
    display: grid;
    gap: 3px;
    min-width: 0;
    align-content: start;
}

.rideshare-mini-card__body strong,
.rideshare-mini-card__body small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.rideshare-mini-card__body strong {
    font-size: 0.8rem;
    line-height: 1.14;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rideshare-mini-card__body small {
    color: var(--text-soft);
    font-size: 0.7rem;
    line-height: 1.18;
    white-space: nowrap;
}

.rideshare-mini-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 210, 51, 0.14);
    color: #fff1bf;
}

.rideshare-mini-card__badge--muted {
    background: rgba(112, 214, 125, 0.12);
    color: #defee5;
}

.rideshare-mini-card__stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rideshare-mini-card__join-form {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    margin: 0;
}

.rideshare-mini-card__join {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(112, 214, 125, 0.26);
    background: rgba(112, 214, 125, 0.16);
    color: #ecfff2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

.rideshare-mini-card__join .ui-icon {
    width: 18px;
    height: 18px;
}

.rideshare-driver-grid {
    margin-bottom: 16px;
}

.rideshare-driver-card {
    position: relative;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 118px;
}

.rideshare-driver-card__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rideshare-driver-card__copy h4,
.rideshare-driver-card__copy p {
    margin: 0;
}

.rideshare-driver-card__copy p {
    color: var(--text-soft);
}

.rideshare-driver-card__action {
    align-self: center;
}

.rideshare-driver-card__form {
    margin: 0;
}

.rideshare-page {
    display: grid;
    gap: 18px;
}

.rideshare-form {
    gap: 16px;
}

.rideshare-form__intro,
.rideshare-form__note {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 22px;
}

.rideshare-form__note {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 14px;
}

.rideshare-detail-page {
    display: grid;
    gap: 18px;
}

.rideshare-detail-hero {
    display: grid;
    gap: 16px;
}

.rideshare-detail-hero__main {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.rideshare-detail-hero__eyebrow,
.rideshare-detail-hero__subroute,
.rideshare-detail-hero__time,
.rideshare-detail-hero__comment,
.rideshare-detail-hero__driver {
    margin: 0;
}

.rideshare-detail-hero__eyebrow {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.rideshare-detail-hero__subroute {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.rideshare-detail-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rideshare-detail-hero__stats article {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rideshare-detail-hero__stats span {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.rideshare-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rideshare-detail-actions form {
    margin: 0;
}

.rideshare-join-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
    align-items: end;
    gap: 12px;
}

.rideshare-join-form label {
    display: grid;
    gap: 6px;
}

.rideshare-driver-accept {
    display: grid;
    gap: 14px;
}

.rideshare-driver-accept__form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.rideshare-driver-accept__form label {
    display: grid;
    gap: 6px;
    min-width: 180px;
}

.rideshare-chat {
    display: grid;
    gap: 12px;
}

.rideshare-chat__feed {
    min-height: 280px;
    max-height: 56vh;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 10px;
    padding-right: 4px;
}

.rideshare-chat__message {
    display: grid;
    gap: 6px;
}

.rideshare-chat__message.is-mine {
    justify-items: end;
}

.rideshare-chat__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.78rem;
}

.rideshare-chat__bubble {
    max-width: min(100%, 540px);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    line-height: 1.42;
    word-break: break-word;
}

.rideshare-chat__message.is-mine .rideshare-chat__bubble {
    background: rgba(112, 214, 125, 0.14);
    border-color: rgba(112, 214, 125, 0.24);
}

.rideshare-chat__composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.rideshare-chat__composer input {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
}

.rideshare-chat__composer button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rideshare-chat__composer .ui-icon {
    width: 18px;
    height: 18px;
}

body.page-driver-dashboard #driver-rideshare-section {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .rideshare-dashboard-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rideshare-detail-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rideshare-driver-card {
        grid-template-columns: auto 1fr;
    }

    .rideshare-driver-card__action,
    .rideshare-driver-card__form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.page-client-home .rideshare-dashboard-strip {
        position: fixed;
        left: 4px;
        right: 4px;
        bottom: calc(var(--bottom-nav-clearance) + 170px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        padding: 8px;
        gap: 8px;
        z-index: 45;
        border-radius: 16px;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    body.page-client-home.ai-launcher-expanded .rideshare-dashboard-strip {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }

    body.page-client-home .rideshare-dashboard-strip__head {
        gap: 8px;
    }

    body.page-client-home .rideshare-dashboard-strip__title strong {
        font-size: 0.84rem;
    }

    body.page-client-home .rideshare-dashboard-strip__title span,
    body.page-client-home .rideshare-dashboard-strip__link {
        font-size: 0.68rem;
    }

    body.page-client-home .rideshare-dashboard-strip__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    body.page-client-home .rideshare-mini-card {
        height: 84px;
        min-height: 84px;
        max-height: 84px;
        padding: 7px 6px;
        border-radius: 16px;
        gap: 4px;
    }

    body.page-client-home .rideshare-mini-card .tile-emoji-glass {
        width: 34px;
        height: 34px;
        padding: 7px;
        border-radius: 12px;
    }

    body.page-client-home .rideshare-mini-card__body strong {
        font-size: 0.6rem;
        line-height: 1.05;
    }

    body.page-client-home .rideshare-mini-card__body small {
        font-size: 0.54rem;
        line-height: 1.04;
    }

    body.page-client-home .rideshare-mini-card__badge {
        min-height: 18px;
        padding: 0 5px;
        font-size: 0.54rem;
    }

    body.page-client-home .rideshare-mini-card__join-form {
        right: 5px;
        bottom: 5px;
    }

    body.page-client-home .rideshare-mini-card__join {
        width: 24px;
        min-width: 24px;
        height: 24px;
        min-height: 24px;
        border-radius: 9px;
        right: 5px;
        bottom: 5px;
    }

    body.page-client-home .rideshare-mini-card__join .ui-icon {
        width: 13px;
        height: 13px;
    }

    .rideshare-form__intro,
    .rideshare-form__note,
    .rideshare-detail-hero {
        padding: 14px;
    }

    .rideshare-detail-hero__main,
    .rideshare-join-form,
    .rideshare-driver-accept__form,
    .rideshare-chat__composer {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 900px) {
    .surface-frame-dialog,
    .surface-frame-dialog--merchant {
        width: calc(100vw - 10px);
        max-width: calc(100vw - 10px);
        margin: 0;
    }

    .surface-frame-dialog__shell,
    .surface-frame-dialog__shell--wide {
        min-height: 92vh;
        border-radius: 24px;
    }

    .surface-frame-dialog__head {
        padding: 14px 16px;
        gap: 12px;
    }

    .surface-frame-dialog__actions {
        gap: 8px;
    }

    .surface-frame-dialog__link {
        display: none;
    }

    .surface-frame-dialog__frame {
        min-height: 84vh;
        height: 84vh;
    }

    .device-alarm-dialog {
        width: calc(100vw - 12px);
        max-width: calc(100vw - 12px);
        margin: 0 6px;
    }

    .device-alarm-dialog__shell {
        gap: 12px;
        padding: 16px;
        border-radius: 20px;
    }

    .device-alarm-dialog__head {
        position: relative;
        display: block;
        padding-right: 52px;
    }

    .device-alarm-dialog__close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .device-alarm-dialog__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .device-alarm-dialog__actions .button {
        width: 100%;
        min-width: 0;
    }

    .mobile-install-dialog {
        width: calc(100vw - 12px);
        max-width: calc(100vw - 12px);
        margin: 0 6px;
    }

    .mobile-install-dialog__shell {
        gap: 12px;
        padding: 16px;
        border-radius: 20px;
    }

    .mobile-install-dialog__head {
        position: relative;
        display: block;
        padding-right: 52px;
    }

    .mobile-install-dialog__close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .mobile-install-dialog__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .mobile-install-dialog__actions .button {
        width: 100%;
        min-width: 0;
    }

    .shop-list-card {
        padding: 16px;
    }
}
.page-admin-mobile {
    --admin-mobile-gap: 14px;
}

.page-admin-mobile .page-shell {
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 18px 14px 118px;
}

.page-admin-mobile .site-header,
.page-admin-mobile .menu-overlay,
.page-admin-mobile .nav-drawer {
    display: none !important;
}

.admin-mobile-shell {
    display: grid;
    gap: var(--admin-mobile-gap);
}

.admin-mobile-header,
.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-metric,
.admin-mobile-quick-card,
.admin-mobile-bottom-nav,
.admin-mobile-chip-nav a {
    border-radius: 22px;
}

.admin-mobile-header,
.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-metric,
.admin-mobile-quick-card {
    padding: 16px;
}

.admin-mobile-header {
    display: grid;
    gap: 12px;
}

.admin-mobile-header h1,
.admin-mobile-section__head h2,
.admin-mobile-release-card h2 {
    margin: 0;
}

.admin-mobile-header p,
.admin-mobile-release-card p,
.admin-mobile-helper {
    margin: 0;
    color: rgba(235, 244, 255, 0.74);
}

.admin-mobile-header__eyebrow,
.admin-mobile-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f2c85b;
}

.admin-mobile-header__aside {
    display: grid;
    gap: 10px;
}

.admin-mobile-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-order-card,
.admin-mobile-driver-card,
.admin-mobile-compact-card,
.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-summary-card,
.admin-mobile-bar-card,
.admin-mobile-broadcast-target {
    background: linear-gradient(180deg, rgba(12, 21, 36, 0.92), rgba(8, 13, 23, 0.94));
    border: 1px solid rgba(120, 156, 220, 0.22);
    box-shadow: 0 18px 48px rgba(3, 8, 18, 0.24);
}

.admin-mobile-release-card,
.admin-mobile-section {
    display: grid;
    gap: 14px;
}

.admin-mobile-release-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(235, 244, 255, 0.68);
    font-size: 0.92rem;
}

.admin-mobile-chip-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.admin-mobile-chip-nav::-webkit-scrollbar {
    display: none;
}

.admin-mobile-chip-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 12px 14px;
    color: rgba(241, 247, 255, 0.78);
    border: 1px solid rgba(120, 156, 220, 0.2);
    background: rgba(10, 16, 29, 0.72);
    text-decoration: none;
}

.admin-mobile-chip-nav a.is-active {
    color: #091120;
    background: linear-gradient(135deg, #f5cc64, #f0e2a8);
    border-color: rgba(245, 204, 100, 0.72);
}

.admin-mobile-metrics,
.admin-mobile-quick-grid,
.admin-mobile-grid,
.admin-mobile-summary-grid {
    display: grid;
    gap: var(--admin-mobile-gap);
}

.admin-mobile-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-mobile-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-mobile-metric {
    display: grid;
    gap: 8px;
    text-align: left;
}

.admin-mobile-metric span {
    color: rgba(235, 244, 255, 0.68);
    font-size: 0.86rem;
}

.admin-mobile-metric strong {
    font-size: 1.48rem;
    line-height: 1;
}

.admin-mobile-summary-card {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
}

.admin-mobile-summary-card span {
    color: rgba(235, 244, 255, 0.68);
    font-size: 0.82rem;
}

.admin-mobile-summary-card strong {
    font-size: 1.22rem;
    line-height: 1.1;
}

.admin-mobile-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-mobile-quick-card {
    display: grid;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.admin-mobile-quick-card span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(248, 201, 93, 0.14);
    color: #f4cc65;
}

.admin-mobile-quick-card small,
.admin-mobile-card__meta,
.admin-mobile-broadcast__status,
.admin-mobile-diagnostics,
.admin-mobile-tag-list {
    color: rgba(235, 244, 255, 0.68);
}

.admin-mobile-section__head,
.admin-mobile-card__top,
.admin-mobile-driver-card__actions,
.admin-mobile-broadcast__actions,
.admin-mobile-card__meta,
.admin-mobile-release-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.admin-mobile-list {
    display: grid;
    gap: 10px;
}

.admin-mobile-list--dense {
    gap: 12px;
}

.admin-mobile-order-card,
.admin-mobile-driver-card,
.admin-mobile-compact-card,
.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-bar-card,
.admin-mobile-broadcast-target {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
}

.admin-mobile-card__meta,
.admin-mobile-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 0.9rem;
}

.admin-mobile-card__submeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 0.84rem;
    color: rgba(235, 244, 255, 0.62);
}

.admin-mobile-card__meta span,
.admin-mobile-tag-list span,
.admin-mobile-card__submeta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-mobile-card__actions,
.admin-mobile-filter-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-mobile-card__actions form,
.admin-mobile-card__actions a,
.admin-mobile-filter-form__actions a,
.admin-mobile-filter-form__actions button {
    flex: 1 1 140px;
}

.admin-mobile-driver-card__actions,
.admin-mobile-broadcast__actions {
    flex-wrap: wrap;
}

.admin-mobile-driver-card__actions form,
.admin-mobile-stack-form,
.admin-mobile-inline-form,
.admin-mobile-filter-form {
    display: grid;
    gap: 10px;
}

.admin-mobile-stack-form label,
.admin-mobile-filter-form label {
    display: grid;
    gap: 8px;
    color: rgba(235, 244, 255, 0.78);
}

.admin-mobile-stack-form input[type="text"],
.admin-mobile-stack-form input[type="search"],
.admin-mobile-stack-form input[type="date"],
.admin-mobile-stack-form input[type="time"],
.admin-mobile-stack-form select,
.admin-mobile-stack-form textarea,
.admin-mobile-filter-form input,
.admin-mobile-filter-form select,
.admin-mobile-inline-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(120, 156, 220, 0.2);
    background: rgba(6, 11, 20, 0.84);
    color: #edf4ff;
}

.admin-mobile-order-create-form {
    display: grid;
    gap: 10px;
}

.admin-mobile-order-create-form__wide,
.admin-mobile-order-create-form__status,
.admin-mobile-order-create-form__actions {
    grid-column: 1 / -1;
}

.admin-mobile-order-create-form__status {
    margin: 0;
}

.admin-mobile-order-create-form__toggle {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 2px;
}

.admin-mobile-order-create-form__toggle input {
    width: auto;
    margin: 0;
}

.admin-mobile-grid--double {
    grid-template-columns: 1fr;
}

.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-broadcast-target {
    grid-template-columns: 1fr auto;
}

.admin-mobile-event-card__time {
    color: #f2c85b;
    font-weight: 700;
}

.admin-mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    backdrop-filter: blur(18px);
}

.admin-mobile-bottom-nav a {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px;
    text-decoration: none;
    color: rgba(235, 244, 255, 0.68);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-mobile-bottom-nav a.is-active {
    color: #0a1220;
    background: linear-gradient(135deg, #f4cb65, #efe1ab);
}

.admin-mobile-card__meta--spaced {
    justify-content: flex-start;
}

.admin-mobile-bar-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(235, 244, 255, 0.78);
    font-size: 0.9rem;
}

.admin-mobile-bar-card__track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.admin-mobile-bar-card__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f4cb65, #f29f65);
}

.admin-mobile-bar-card__fill--accent {
    background: linear-gradient(90deg, #76d1ff, #5aa3ff);
}

.admin-mobile-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 4px;
}

.admin-mobile-pagination a,
.admin-mobile-pagination span {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(235, 244, 255, 0.78);
    text-decoration: none;
}

.admin-mobile-pagination .is-disabled {
    opacity: 0.42;
}

.admin-mobile-pagination__current {
    font-weight: 700;
}

@media (min-width: 760px) {
    .page-admin-mobile .page-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-mobile-header {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .admin-mobile-grid--double {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-mobile-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-mobile-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-mobile-order-create-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-mobile-filter-form__actions {
        grid-column: 1 / -1;
    }
}

.page-admin-mobile,
body.page-admin-mobile {
    background:
        linear-gradient(180deg, #eef3f8 0%, #f7f9fc 34%, #eef3f8 100%);
    color: #172539;
    --glass: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(25, 49, 83, 0.1);
}

.page-admin-mobile .page-shell {
    width: min(100%, 760px);
    padding: 8px 8px 82px;
}

.page-admin-mobile .button,
.page-admin-mobile a.button,
.page-admin-mobile button {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
    box-shadow: none;
}

.page-admin-mobile .button:hover,
.page-admin-mobile a.button:hover,
.page-admin-mobile button:hover {
    transform: none;
    box-shadow: none;
}

.page-admin-mobile .button.secondary,
.page-admin-mobile a.button.secondary {
    color: #23324a;
    background: #f4f7fb;
    border: 1px solid #dbe3ec;
}

.page-admin-mobile .button.danger,
.page-admin-mobile a.button.danger {
    color: #fff;
    background: linear-gradient(135deg, #d84d59, #ba3745);
}

.page-admin-mobile .workspace-meta {
    color: #64748b;
}

.admin-mobile-shell {
    gap: 8px;
}

.admin-mobile-header,
.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-metric,
.admin-mobile-quick-card,
.admin-mobile-bottom-nav,
.admin-mobile-chip-nav a,
.admin-mobile-summary-card {
    border-radius: 14px;
}

.admin-mobile-header,
.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-metric,
.admin-mobile-quick-card {
    padding: 10px;
}

.admin-mobile-header {
    position: sticky;
    top: 6px;
    z-index: 25;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(18, 35, 58, 0.08);
}

.admin-mobile-header h1,
.admin-mobile-section__head h2,
.admin-mobile-release-card h2,
.admin-mobile-collapsible__summary-copy h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.admin-mobile-header p,
.admin-mobile-release-card p,
.admin-mobile-helper {
    margin: 0;
    color: #6f7e94;
    font-size: 0.82rem;
    line-height: 1.4;
}

.admin-mobile-header__eyebrow,
.admin-mobile-section__eyebrow {
    color: #8f6916;
}

.admin-mobile-header__aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.admin-mobile-header__actions,
.admin-mobile-release-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-mobile-release-card,
.admin-mobile-section,
.admin-mobile-order-card,
.admin-mobile-driver-card,
.admin-mobile-compact-card,
.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-summary-card,
.admin-mobile-bar-card,
.admin-mobile-broadcast-target {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dde6ef;
    box-shadow: 0 4px 12px rgba(19, 37, 58, 0.06);
}

.admin-mobile-section,
.admin-mobile-release-card {
    gap: 10px;
}

.admin-mobile-chip-nav {
    position: sticky;
    top: 72px;
    z-index: 24;
    gap: 6px;
    padding: 0 2px 2px;
    background: linear-gradient(180deg, #eef3f8 72%, rgba(238, 243, 248, 0));
}

.admin-mobile-chip-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    color: #506079;
    border: 1px solid #dae2eb;
    background: #f8fafc;
}

.admin-mobile-chip-nav a span:first-child {
    width: 14px;
    height: 14px;
}

.admin-mobile-chip-nav a.is-active {
    color: #fff;
    background: #193b67;
    border-color: #193b67;
}

.admin-mobile-metrics,
.admin-mobile-summary-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(88px, 1fr);
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.admin-mobile-metrics::-webkit-scrollbar,
.admin-mobile-summary-grid::-webkit-scrollbar,
.admin-mobile-inline-tabs::-webkit-scrollbar {
    display: none;
}

.admin-mobile-metric,
.admin-mobile-summary-card {
    gap: 6px;
    min-height: 62px;
    padding: 8px 10px;
}

.admin-mobile-metric span,
.admin-mobile-summary-card span {
    color: #6f7e94;
    font-size: 0.75rem;
}

.admin-mobile-metric strong {
    font-size: 1.08rem;
}

.admin-mobile-summary-card strong {
    font-size: 0.94rem;
    line-height: 1.15;
}

.admin-mobile-quick-grid {
    gap: 8px;
}

.admin-mobile-quick-grid--overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-mobile-quick-card {
    gap: 6px;
    min-height: 74px;
    padding: 10px;
    color: #172539;
}

.admin-mobile-quick-card span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff4ff;
    color: #174a7c;
}

.admin-mobile-quick-card strong {
    font-size: 0.88rem;
    line-height: 1.2;
}

.admin-mobile-quick-card small,
.admin-mobile-card__meta,
.admin-mobile-broadcast__status,
.admin-mobile-diagnostics,
.admin-mobile-tag-list {
    color: #64748b;
    font-size: 0.78rem;
}

.admin-mobile-quick-card small {
    font-size: 0.72rem;
    line-height: 1.25;
}

.admin-mobile-quick-card--compact {
    min-height: 62px;
    padding: 8px;
    gap: 4px;
    align-content: start;
}

.admin-mobile-quick-card--compact span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.admin-mobile-quick-card--compact strong {
    font-size: 0.78rem;
}

.admin-mobile-quick-card--compact small {
    font-size: 0.64rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-mobile-section__head,
.admin-mobile-card__top,
.admin-mobile-driver-card__actions,
.admin-mobile-broadcast__actions,
.admin-mobile-card__meta,
.admin-mobile-release-card {
    gap: 8px;
}

.admin-mobile-list {
    gap: 8px;
}

.admin-mobile-list--dense {
    gap: 8px;
}

.admin-mobile-order-card,
.admin-mobile-driver-card,
.admin-mobile-compact-card,
.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-bar-card,
.admin-mobile-broadcast-target {
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
}

.admin-mobile-order-card h3,
.admin-mobile-driver-card h3,
.admin-mobile-compact-card p,
.admin-mobile-order-card p,
.admin-mobile-driver-card p,
.admin-mobile-health-card p,
.admin-mobile-event-card p,
.admin-mobile-event-card small {
    margin: 0;
}

.admin-mobile-card__top strong,
.admin-mobile-compact-card strong,
.admin-mobile-health-card strong,
.admin-mobile-event-card strong,
.admin-mobile-broadcast-target strong {
    line-height: 1.2;
}

.admin-mobile-card__meta,
.admin-mobile-tag-list,
.admin-mobile-card__submeta {
    gap: 6px;
}

.admin-mobile-card__submeta {
    color: #78879c;
    font-size: 0.78rem;
}

.admin-mobile-card__meta span,
.admin-mobile-tag-list span,
.admin-mobile-card__submeta span {
    padding: 5px 8px;
    background: #f3f6fa;
    color: #485872;
}

.admin-mobile-card__actions,
.admin-mobile-filter-form__actions,
.admin-mobile-broadcast__actions {
    gap: 8px;
}

.admin-mobile-card__actions form,
.admin-mobile-card__actions a {
    flex: 0 0 auto;
}

.admin-mobile-filter-form__actions a,
.admin-mobile-filter-form__actions button {
    flex: 1 1 108px;
}

.admin-mobile-stack-form,
.admin-mobile-inline-form,
.admin-mobile-filter-form,
.admin-mobile-order-create-form {
    gap: 8px;
}

.admin-mobile-stack-form label,
.admin-mobile-filter-form label {
    gap: 6px;
    color: #44546d;
    font-size: 0.82rem;
}

.admin-mobile-stack-form input[type="text"],
.admin-mobile-stack-form input[type="search"],
.admin-mobile-stack-form input[type="date"],
.admin-mobile-stack-form input[type="time"],
.admin-mobile-stack-form select,
.admin-mobile-stack-form textarea,
.admin-mobile-filter-form input,
.admin-mobile-filter-form select,
.admin-mobile-inline-form input {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #d8e2eb;
    background: #f9fbfc;
    color: #172539;
}

.admin-mobile-order-create-form__toggle {
    min-height: 44px;
}

.admin-mobile-inline-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 0;
    scrollbar-width: none;
}

.admin-mobile-inline-tabs a {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #d9e2ec;
    background: #f8fafc;
    color: #52637d;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-mobile-inline-tabs a.is-active {
    background: #173a67;
    border-color: #173a67;
    color: #fff;
}

.admin-mobile-collapsible {
    gap: 0;
    overflow: hidden;
}

.admin-mobile-collapsible > summary {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.admin-mobile-collapsible > summary::-webkit-details-marker,
.admin-mobile-inline-panel > summary::-webkit-details-marker {
    display: none;
}

.admin-mobile-collapsible__summary-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-mobile-collapsible__summary-copy p {
    margin: 0;
    color: #6f7e94;
    font-size: 0.8rem;
}

.admin-mobile-collapsible__meta {
    align-self: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff3f8;
    color: #52637d;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-mobile-collapsible[open] > summary {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebf0f5;
}

.admin-mobile-collapsible__content {
    display: grid;
    gap: 10px;
}

[data-admin-mobile-release-card][hidden] {
    display: none !important;
}

[data-admin-mobile-page="overview"] .admin-mobile-header {
    grid-template-columns: 1fr;
    gap: 6px;
}

[data-admin-mobile-page="overview"] .admin-mobile-header {
    gap: 6px;
}

[data-admin-mobile-page="overview"] .admin-mobile-header p {
    display: none;
}

[data-admin-mobile-page="overview"] .admin-mobile-header__eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
}

[data-admin-mobile-page="overview"] .admin-mobile-header__actions .button {
    padding: 6px 8px;
    font-size: 0.76rem;
}

[data-admin-mobile-page="overview"] .dashboard-user-role {
    padding: 4px 7px;
    font-size: 0.64rem;
}

.admin-mobile-inline-panel {
    padding: 0 10px;
    border-radius: 12px;
    border: 1px dashed #d5dfea;
    background: #fafbfd;
}

.admin-mobile-inline-panel > summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    color: #29405f;
    font-size: 0.84rem;
    font-weight: 700;
}

.admin-mobile-inline-panel__content {
    padding: 0 0 10px;
}

.admin-mobile-order-card--compact h3,
.admin-mobile-driver-card--compact strong {
    font-size: 0.9rem;
}

.admin-mobile-order-card--compact h3,
.admin-mobile-order-card--compact p,
.admin-mobile-driver-card--compact p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-mobile-card__actions--compact {
    gap: 6px;
}

.admin-mobile-card__actions--compact .button,
.admin-mobile-card__actions--compact a.button,
.admin-mobile-driver-card__actions .button,
.admin-mobile-driver-card__actions a.button {
    padding: 7px 9px;
    font-size: 0.78rem;
}

.admin-mobile-health-card,
.admin-mobile-event-card,
.admin-mobile-broadcast-target {
    align-items: start;
}

.admin-mobile-event-card__time {
    padding: 4px 8px;
    border-radius: 999px;
    color: #9b5f00;
    background: #fff4d6;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-mobile-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dce5ef;
    box-shadow: 0 8px 18px rgba(16, 30, 52, 0.08);
}

.admin-mobile-bottom-nav a {
    gap: 4px;
    padding: 7px 3px;
    border-radius: 10px;
    color: #61708a;
    background: transparent;
}

.admin-mobile-bottom-nav a span {
    width: 18px;
    height: 18px;
}

.admin-mobile-bottom-nav a small {
    font-size: 0.68rem;
    line-height: 1;
}

.admin-mobile-bottom-nav a.is-active {
    color: #fff;
    background: #183a67;
}

.admin-mobile-pagination a,
.admin-mobile-pagination span {
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dce5ef;
    color: #4c5b74;
}

@media (min-width: 760px) {
    .page-admin-mobile .page-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .admin-mobile-metrics,
    .admin-mobile-summary-grid {
        grid-auto-flow: unset;
        grid-auto-columns: unset;
        overflow-x: visible;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Admin mobile dark refresh: compact, high-contrast, consistent with web admin */
body.page-admin-mobile {
    background:
        radial-gradient(circle at top right, rgba(95, 208, 255, 0.12), transparent 30%),
        radial-gradient(circle at top left, rgba(255, 210, 51, 0.12), transparent 24%),
        linear-gradient(180deg, #0b1018 0%, #080c13 100%);
    color: var(--text);
    --glass: rgba(14, 19, 30, 0.86);
    --glass-border: rgba(255, 255, 255, 0.08);
    --bombila-native-top-inset: 0px;
    --bombila-native-nav-bottom: 0px;
    --admin-mobile-apk-bottom-offset: 0px;
}

body.page-admin-mobile.bombila-android-shell {
    --admin-mobile-apk-bottom-offset: 18px;
}

body.page-admin-mobile .page-shell {
    padding: 8px 8px calc(88px + var(--bombila-native-nav-bottom) + var(--admin-mobile-apk-bottom-offset));
    font-size: 13px;
}

body.page-admin-mobile .admin-mobile-shell {
    gap: 6px;
}

body.page-admin-mobile .admin-mobile-shell * {
    min-width: 0;
}

body.page-admin-mobile .workspace-meta,
body.page-admin-mobile .admin-mobile-header p,
body.page-admin-mobile .admin-mobile-release-card p,
body.page-admin-mobile .admin-mobile-helper,
body.page-admin-mobile .admin-mobile-collapsible__summary-copy p,
body.page-admin-mobile .admin-mobile-quick-card small,
body.page-admin-mobile .admin-mobile-card__meta,
body.page-admin-mobile .admin-mobile-broadcast__status,
body.page-admin-mobile .admin-mobile-diagnostics,
body.page-admin-mobile .admin-mobile-tag-list,
body.page-admin-mobile .admin-mobile-card__submeta,
body.page-admin-mobile .admin-mobile-metric span,
body.page-admin-mobile .admin-mobile-summary-card span {
    color: rgba(220, 230, 242, 0.74);
}

body.page-admin-mobile .button,
body.page-admin-mobile a.button,
body.page-admin-mobile button {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.2;
}

body.page-admin-mobile .button.secondary,
body.page-admin-mobile a.button.secondary {
    color: #edf4ff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.page-admin-mobile .admin-mobile-header,
body.page-admin-mobile .admin-mobile-release-card,
body.page-admin-mobile .admin-mobile-section,
body.page-admin-mobile .admin-mobile-metric,
body.page-admin-mobile .admin-mobile-quick-card,
body.page-admin-mobile .admin-mobile-order-card,
body.page-admin-mobile .admin-mobile-driver-card,
body.page-admin-mobile .admin-mobile-compact-card,
body.page-admin-mobile .admin-mobile-health-card,
body.page-admin-mobile .admin-mobile-event-card,
body.page-admin-mobile .admin-mobile-summary-card,
body.page-admin-mobile .admin-mobile-bar-card,
body.page-admin-mobile .admin-mobile-broadcast-target,
body.page-admin-mobile .admin-mobile-bottom-nav {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 210, 51, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

body.page-admin-mobile .admin-mobile-header,
body.page-admin-mobile .admin-mobile-release-card,
body.page-admin-mobile .admin-mobile-section,
body.page-admin-mobile .admin-mobile-metric,
body.page-admin-mobile .admin-mobile-quick-card {
    padding: 9px;
}

body.page-admin-mobile .admin-mobile-header {
    top: 6px;
    gap: 6px;
}

body.page-admin-mobile .admin-mobile-header h1,
body.page-admin-mobile .admin-mobile-section__head h2,
body.page-admin-mobile .admin-mobile-release-card h2,
body.page-admin-mobile .admin-mobile-collapsible__summary-copy h2 {
    color: #f5f7fb;
    font-size: 0.92rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.page-admin-mobile .admin-mobile-header p {
    display: -webkit-box;
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.25;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-admin-mobile .admin-mobile-header__eyebrow,
body.page-admin-mobile .admin-mobile-section__eyebrow {
    color: #ffd978;
}

body.page-admin-mobile .admin-mobile-header__aside > strong {
    color: #ffffff;
    font-size: 0.84rem;
    line-height: 1.1;
}

body.page-admin-mobile .dashboard-user-role {
    box-shadow: none;
}

body.page-admin-mobile .admin-mobile-chip-nav {
    display: flex;
    flex-wrap: nowrap;
    top: 68px;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(8, 12, 19, 0.98) 72%, rgba(8, 12, 19, 0));
}

body.page-admin-mobile .admin-mobile-chip-nav::-webkit-scrollbar {
    display: none;
}

body.page-admin-mobile .admin-mobile-chip-nav a,
body.page-admin-mobile .admin-mobile-inline-tabs a,
body.page-admin-mobile .admin-mobile-pagination a,
body.page-admin-mobile .admin-mobile-pagination span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(228, 236, 247, 0.84);
}

body.page-admin-mobile .admin-mobile-chip-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    padding: 6px 9px;
    font-size: 0.74rem;
    scroll-snap-align: start;
}

body.page-admin-mobile .admin-mobile-chip-nav a span:last-child {
    white-space: nowrap;
}

body.page-admin-mobile .admin-mobile-chip-nav a.is-active {
    color: #08111d;
    background: linear-gradient(135deg, #ffd978, #ffb82f);
    border-color: transparent;
}

body.page-admin-mobile .admin-mobile-inline-tabs {
    gap: 6px;
    padding-top: 0;
}

body.page-admin-mobile .admin-mobile-inline-tabs a {
    padding: 6px 10px;
    font-size: 0.74rem;
}

body.page-admin-mobile .admin-mobile-inline-tabs a.is-active {
    color: #f5f9ff;
    background: linear-gradient(135deg, rgba(95, 208, 255, 0.42), rgba(45, 128, 255, 0.4));
    border-color: rgba(95, 208, 255, 0.2);
}

body.page-admin-mobile .admin-mobile-metrics,
body.page-admin-mobile .admin-mobile-summary-grid,
body.page-admin-mobile .admin-mobile-grid,
body.page-admin-mobile .admin-mobile-grid--double,
body.page-admin-mobile .admin-mobile-list {
    gap: 6px;
}

body.page-admin-mobile .admin-mobile-metric,
body.page-admin-mobile .admin-mobile-summary-card {
    min-height: 56px;
    padding: 8px 9px;
}

body.page-admin-mobile .admin-mobile-metric strong {
    font-size: 0.98rem;
    color: #ffffff;
}

body.page-admin-mobile .admin-mobile-summary-card strong {
    font-size: 0.84rem;
    color: #ffffff;
}

body.page-admin-mobile .admin-mobile-quick-grid--overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-admin-mobile .admin-mobile-quick-card {
    min-height: 58px;
    gap: 4px;
    color: #f5f7fb;
}

body.page-admin-mobile .admin-mobile-quick-card span {
    background: rgba(255, 210, 51, 0.12);
    color: #ffd978;
}

body.page-admin-mobile .admin-mobile-quick-card strong {
    font-size: 0.74rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-admin-mobile .admin-mobile-quick-card small {
    font-size: 0.62rem;
}

body.page-admin-mobile .admin-mobile-order-card,
body.page-admin-mobile .admin-mobile-driver-card,
body.page-admin-mobile .admin-mobile-compact-card,
body.page-admin-mobile .admin-mobile-health-card,
body.page-admin-mobile .admin-mobile-event-card,
body.page-admin-mobile .admin-mobile-bar-card,
body.page-admin-mobile .admin-mobile-broadcast-target {
    gap: 6px;
    padding: 8px 9px;
}

body.page-admin-mobile .admin-mobile-section__head,
body.page-admin-mobile .admin-mobile-card__top,
body.page-admin-mobile .admin-mobile-driver-card__actions,
body.page-admin-mobile .admin-mobile-broadcast__actions,
body.page-admin-mobile .admin-mobile-card__meta,
body.page-admin-mobile .admin-mobile-release-card,
body.page-admin-mobile .admin-mobile-card__actions,
body.page-admin-mobile .admin-mobile-filter-form__actions {
    gap: 6px;
}

body.page-admin-mobile .admin-mobile-card__top,
body.page-admin-mobile .admin-mobile-section__head,
body.page-admin-mobile .admin-mobile-release-card,
body.page-admin-mobile .admin-mobile-health-card,
body.page-admin-mobile .admin-mobile-event-card,
body.page-admin-mobile .admin-mobile-broadcast-target {
    align-items: flex-start;
}

body.page-admin-mobile .admin-mobile-card__top strong,
body.page-admin-mobile .admin-mobile-compact-card strong,
body.page-admin-mobile .admin-mobile-health-card strong,
body.page-admin-mobile .admin-mobile-event-card strong,
body.page-admin-mobile .admin-mobile-broadcast-target strong,
body.page-admin-mobile .admin-mobile-order-card h3,
body.page-admin-mobile .admin-mobile-driver-card h3 {
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.page-admin-mobile .admin-mobile-order-card p,
body.page-admin-mobile .admin-mobile-driver-card p,
body.page-admin-mobile .admin-mobile-compact-card p,
body.page-admin-mobile .admin-mobile-event-card p,
body.page-admin-mobile .admin-mobile-health-card p,
body.page-admin-mobile .admin-mobile-event-card small {
    display: -webkit-box;
    color: rgba(220, 230, 242, 0.76);
    font-size: 0.74rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.page-admin-mobile .admin-mobile-card__meta,
body.page-admin-mobile .admin-mobile-card__submeta,
body.page-admin-mobile .admin-mobile-tag-list {
    gap: 5px;
    font-size: 0.72rem;
}

body.page-admin-mobile .admin-mobile-card__meta span,
body.page-admin-mobile .admin-mobile-card__submeta span,
body.page-admin-mobile .admin-mobile-tag-list span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(233, 239, 248, 0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-admin-mobile .admin-mobile-stack-form,
body.page-admin-mobile .admin-mobile-inline-form,
body.page-admin-mobile .admin-mobile-filter-form,
body.page-admin-mobile .admin-mobile-order-create-form,
body.page-admin-mobile .admin-mobile-collapsible__content {
    gap: 8px;
}

body.page-admin-mobile .admin-mobile-broadcast__pickup {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

body.page-admin-mobile .admin-mobile-broadcast__pickup input {
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 23, 0.86);
    color: #f4f7fb;
}

body.page-admin-mobile .admin-mobile-broadcast__pickup small {
    color: rgba(220, 230, 242, 0.72);
    font-size: 0.68rem;
    line-height: 1.35;
}

body.page-admin-mobile .admin-mobile-stack-form label,
body.page-admin-mobile .admin-mobile-filter-form label {
    gap: 5px;
    color: rgba(230, 236, 246, 0.86);
    font-size: 0.76rem;
}

body.page-admin-mobile .admin-mobile-stack-form input[type="text"],
body.page-admin-mobile .admin-mobile-stack-form input[type="search"],
body.page-admin-mobile .admin-mobile-stack-form input[type="date"],
body.page-admin-mobile .admin-mobile-stack-form input[type="time"],
body.page-admin-mobile .admin-mobile-stack-form select,
body.page-admin-mobile .admin-mobile-stack-form textarea,
body.page-admin-mobile .admin-mobile-filter-form input,
body.page-admin-mobile .admin-mobile-filter-form select,
body.page-admin-mobile .admin-mobile-inline-form input {
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 16, 27, 0.82);
    color: #f5f7fb;
}

body.page-admin-mobile .admin-mobile-stack-form input::placeholder,
body.page-admin-mobile .admin-mobile-filter-form input::placeholder,
body.page-admin-mobile .admin-mobile-stack-form textarea::placeholder {
    color: rgba(212, 223, 237, 0.4);
}

body.page-admin-mobile .admin-mobile-stack-form input:focus,
body.page-admin-mobile .admin-mobile-stack-form select:focus,
body.page-admin-mobile .admin-mobile-stack-form textarea:focus,
body.page-admin-mobile .admin-mobile-filter-form input:focus,
body.page-admin-mobile .admin-mobile-filter-form select:focus,
body.page-admin-mobile .admin-mobile-inline-form input:focus {
    border-color: rgba(255, 210, 51, 0.36);
    box-shadow: 0 0 0 3px rgba(255, 210, 51, 0.1);
}

body.page-admin-mobile .admin-mobile-inline-panel {
    padding: 0 9px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

body.page-admin-mobile .admin-mobile-inline-panel > summary {
    padding: 9px 0;
    color: #fff2be;
    font-size: 0.76rem;
}

body.page-admin-mobile .admin-mobile-collapsible__meta {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(230, 236, 246, 0.88);
    font-size: 0.72rem;
}

body.page-admin-mobile .admin-mobile-collapsible[open] > summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-admin-mobile .status-pill {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.68rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-admin-mobile .admin-mobile-event-card__time {
    color: #fff2be;
    background: rgba(255, 210, 51, 0.14);
    font-size: 0.66rem;
}

body.page-admin-mobile .admin-mobile-bar-card__track {
    background: rgba(255, 255, 255, 0.08);
}

body.page-admin-mobile .admin-mobile-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: calc(8px + var(--bombila-native-nav-bottom) + var(--admin-mobile-apk-bottom-offset));
    gap: 4px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 13, 21, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-admin-mobile .admin-mobile-bottom-nav a {
    gap: 4px;
    padding: 6px 3px;
    color: rgba(225, 233, 245, 0.72);
}

body.page-admin-mobile .admin-mobile-bottom-nav a small {
    font-size: 0.66rem;
}

body.page-admin-mobile .admin-mobile-bottom-nav a.is-active {
    color: #08111d;
    background: linear-gradient(135deg, #ffd978, #ffb82f);
}

body.page-admin-mobile .admin-mobile-pagination a,
body.page-admin-mobile .admin-mobile-pagination span {
    padding: 7px 9px;
}

body.page-admin-mobile [data-admin-mobile-page="overview"] .admin-mobile-header p {
    display: none;
}

body.page-admin-mobile [data-admin-mobile-page="overview"] .dashboard-user-role {
    padding: 4px 7px;
    font-size: 0.62rem;
}

@media (min-width: 760px) {
    body.page-admin-mobile .page-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.page-admin-mobile .admin-mobile-metrics,
    body.page-admin-mobile .admin-mobile-summary-grid {
        gap: 8px;
    }
}

body.page-admin-mobile .admin-mobile-broadcast-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: end center;
    padding: 12px;
}

body.page-admin-mobile .admin-mobile-broadcast-modal[hidden] {
    display: none;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 15, 0.78);
    backdrop-filter: blur(3px);
}

body.page-admin-mobile .admin-mobile-broadcast-modal__dialog {
    position: relative;
    width: min(100%, 430px);
    max-height: calc(100vh - 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4);
}

body.page-admin-mobile .admin-mobile-broadcast-modal__head,
body.page-admin-mobile .admin-mobile-broadcast-modal__actions,
body.page-admin-mobile .admin-mobile-broadcast-modal__stats {
    display: flex;
    gap: 8px;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__head {
    align-items: flex-start;
    justify-content: space-between;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__head h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.15;
    color: #ffffff;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__head p,
body.page-admin-mobile .admin-mobile-broadcast-modal__status {
    margin: 0;
    color: rgba(222, 230, 242, 0.82);
    font-size: 0.75rem;
    line-height: 1.35;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 14px;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__stat span {
    color: rgba(220, 230, 242, 0.72);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__stat strong {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.1;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__targets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
}

body.page-admin-mobile .admin-mobile-broadcast-modal__actions .button {
    flex: 1 1 auto;
}

body.admin-mobile-broadcast-modal-open {
    overflow: hidden;
}
