/* M-Dash Mobile Fresh v2. Desktop and legacy mobile styles remain untouched. */
.mobile-fresh-bottom-nav,
.mobile-media-viewer,
.mobile-fresh-sidebar-backdrop {
    display: none;
}

body.mobile-fresh-v2 .fresh-discount-control {
    display: grid;
    min-width: 0;
    gap: 6px;
}

body.mobile-fresh-v2 .fresh-discount-toggle {
    display: inline-flex;
    width: max-content;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(250, 204, 21, .32);
    border-radius: 7px;
    background: rgba(234, 179, 8, .1);
    color: #fde68a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

body.mobile-fresh-v2 .fresh-discount-toggle[aria-expanded="true"] {
    border-color: rgba(163, 230, 53, .42);
    background: rgba(163, 230, 53, .12);
    color: #bef264;
}

body.mobile-fresh-v2 .fresh-discount-toggle-icon {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 5px;
    background: #fcd34d;
    color: #15180f;
    font-size: 10px;
    font-weight: 900;
}

body.mobile-fresh-v2 .fresh-discount-toggle[aria-expanded="true"] .fresh-discount-toggle-icon {
    background: #bef264;
}

body.mobile-fresh-v2 .fresh-discount-fields {
    display: grid;
    min-width: 0;
    grid-template-columns: 72px minmax(96px, 1fr);
    gap: 6px;
}

body.mobile-fresh-v2 .fresh-discount-fields.fresh-discount-fields-labeled {
    grid-template-columns: minmax(0, 180px) minmax(160px, 1fr);
}

body.mobile-fresh-v2 .fresh-discount-fields[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    :root {
        --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
        --mobile-header-height: 64px;
        --mobile-nav-height: 68px;
        --mobile-bg: #080a08;
        --mobile-surface: #111411;
        --mobile-surface-raised: #181c18;
        --mobile-border: rgba(255, 255, 255, .11);
        --mobile-muted: #9ca3af;
        --mobile-lime: #a3e635;
        --mobile-red: #f52237;
    }

    html {
        background: var(--mobile-bg);
        scroll-padding-top: calc(var(--mobile-header-height) + 12px);
    }

    body.mobile-fresh-v2 {
        min-width: 320px;
        background: var(--mobile-bg) !important;
        color: #f5f7f4;
        -webkit-tap-highlight-color: transparent;
        overscroll-behavior-x: none;
    }

    body.mobile-fresh-v2.sidebar-open,
    body.mobile-fresh-v2.mobile-media-open {
        overflow: hidden;
    }

    body.mobile-fresh-v2 > .min-h-screen,
    body.mobile-fresh-v2 .app-main {
        width: 100%;
        min-width: 0;
    }

    body.mobile-fresh-v2 .app-main {
        padding-left: 0 !important;
        padding-bottom: calc(var(--mobile-nav-height) + var(--mobile-safe-bottom) + 24px) !important;
        background: var(--mobile-bg);
    }

    body.mobile-fresh-v2 .app-header {
        min-height: var(--mobile-header-height);
        padding: 9px 12px !important;
        border-color: var(--mobile-border) !important;
        background: rgba(8, 10, 8, .94) !important;
        box-shadow: 0 8px 26px rgba(0, 0, 0, .24);
        backdrop-filter: blur(16px);
    }

    body.mobile-fresh-v2 .app-header > div {
        gap: 8px !important;
    }

    body.mobile-fresh-v2 .app-header [data-sidebar-mobile-toggle],
    body.mobile-fresh-v2 .app-header [data-notification-toggle],
    body.mobile-fresh-v2 .profile-trigger {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        background: var(--mobile-surface-raised) !important;
        border-color: var(--mobile-border) !important;
        box-shadow: none !important;
    }

    body.mobile-fresh-v2 .profile-trigger img,
    body.mobile-fresh-v2 .profile-trigger > span {
        width: 38px !important;
        height: 38px !important;
        border-radius: 7px !important;
    }

    body.mobile-fresh-v2 .mobile-legacy-menu-glyph {
        display: none !important;
    }

    body.mobile-fresh-v2 .mobile-fresh-menu-icon {
        display: inline-flex !important;
    }

    body.mobile-fresh-v2 .app-header p.text-\[10px\] {
        display: none;
    }

    body.mobile-fresh-v2 .app-header .motori-heading {
        max-width: min(54vw, 270px);
        font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
        font-size: 18px !important;
        font-weight: 800;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    body.mobile-fresh-v2 .notification-panel,
    body.mobile-fresh-v2 .profile-menu {
        position: fixed !important;
        top: calc(var(--mobile-header-height) + 8px) !important;
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100dvh - var(--mobile-header-height) - var(--mobile-nav-height) - 34px);
        overflow-y: auto;
        border-radius: 8px !important;
        background: #101310 !important;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .66) !important;
    }

    body.mobile-fresh-v2 .app-sidebar {
        inset: 0 auto 0 0 !important;
        z-index: 102 !important;
        width: min(88vw, 360px) !important;
        height: 100dvh !important;
        padding-bottom: max(18px, var(--mobile-safe-bottom));
        border-right: 1px solid rgba(163, 230, 53, .24) !important;
        background: #090c09 !important;
        box-shadow: 30px 0 80px rgba(0, 0, 0, .62) !important;
    }

    body.mobile-fresh-v2 .sidebar-brand-card {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 76px;
        padding: 10px 12px !important;
        gap: 10px !important;
        background: #0d110d;
        border-color: var(--mobile-border) !important;
    }

    body.mobile-fresh-v2 .sidebar-brand-card > img {
        width: 82px !important;
        height: 48px !important;
    }

    body.mobile-fresh-v2 .sidebar-brand-card [data-sidebar-brand-text] {
        flex: 1;
    }

    body.mobile-fresh-v2 .sidebar-brand-card .motori-heading {
        font-size: 15px !important;
        letter-spacing: 0 !important;
    }

    body.mobile-fresh-v2 .mobile-fresh-sidebar-close {
        display: inline-grid !important;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        place-items: center;
        border: 1px solid var(--mobile-border);
        border-radius: 8px;
        background: var(--mobile-surface-raised);
        color: #fff;
    }

    body.mobile-fresh-v2 .app-sidebar nav {
        padding: 8px 10px 32px !important;
    }

    body.mobile-fresh-v2 .app-sidebar nav > div {
        margin-bottom: 12px !important;
    }

    body.mobile-fresh-v2 .sidebar-section-title {
        padding: 10px 8px 5px !important;
        color: #b8c1b8 !important;
        font-size: 9px !important;
        letter-spacing: .12em !important;
    }

    body.mobile-fresh-v2 .app-sidebar .nav-link,
    body.mobile-fresh-v2 .app-sidebar .nav-sub-link {
        min-height: 46px;
        margin-bottom: 4px;
        padding: 9px 11px !important;
        border: 1px solid transparent !important;
        border-radius: 7px !important;
        background: #121612 !important;
        color: #d6dbd5 !important;
        font-size: 13px !important;
    }

    body.mobile-fresh-v2 .app-sidebar .nav-link-active,
    body.mobile-fresh-v2 .app-sidebar .nav-sub-link-active {
        border-color: rgba(163, 230, 53, .46) !important;
        background: #20300f !important;
        color: #f8fff0 !important;
        box-shadow: inset 3px 0 var(--mobile-lime) !important;
    }

    body.mobile-fresh-v2 .app-sidebar .nav-tree > div {
        margin: 3px 0 7px !important;
        padding-left: 12px !important;
        border-left: 1px solid rgba(163, 230, 53, .18);
    }

    body.mobile-fresh-v2 .mobile-fresh-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 101;
        display: none !important;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(0, 0, 0, .66);
        backdrop-filter: blur(3px);
    }

    body.mobile-fresh-v2.sidebar-open .mobile-fresh-sidebar-backdrop {
        display: block !important;
    }

    body.mobile-fresh-v2.sidebar-open::after {
        display: none !important;
    }

    body.mobile-fresh-v2 .app-main > section {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 10px !important;
    }

    body.mobile-fresh-v2 .app-main > section > * + * {
        margin-top: 10px;
    }

    body.mobile-fresh-v2 .panel,
    body.mobile-fresh-v2 .stat,
    body.mobile-fresh-v2 .mini,
    body.mobile-fresh-v2 .job-row,
    body.mobile-fresh-v2 main article,
    body.mobile-fresh-v2 main [class*="rounded-"][class*="border"] {
        max-width: 100%;
        min-width: 0;
        border-color: var(--mobile-border) !important;
        border-radius: 7px !important;
        box-shadow: none !important;
    }

    body.mobile-fresh-v2 .panel {
        padding: 12px !important;
        background: var(--mobile-surface) !important;
    }

    body.mobile-fresh-v2 .panel::before {
        top: 14px !important;
        width: 3px !important;
        height: 34px !important;
        box-shadow: none !important;
    }

    body.mobile-fresh-v2 .stat {
        padding: 13px !important;
        background: var(--mobile-surface-raised) !important;
    }

    body.mobile-fresh-v2 .stat strong {
        margin-top: 3px !important;
        font-size: 25px !important;
        line-height: 1.1;
    }

    body.mobile-fresh-v2 .mini {
        min-height: 0 !important;
        padding: 10px !important;
        background: #0c0f0c !important;
    }

    body.mobile-fresh-v2 .job-row {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px !important;
        padding: 9px !important;
        background: var(--mobile-surface) !important;
    }

    body.mobile-fresh-v2 h1,
    body.mobile-fresh-v2 h2,
    body.mobile-fresh-v2 h3,
    body.mobile-fresh-v2 h4 {
        max-width: 100%;
        overflow-wrap: anywhere;
        letter-spacing: 0 !important;
    }

    body.mobile-fresh-v2 main h1 {
        font-size: 24px !important;
        line-height: 1.12 !important;
    }

    body.mobile-fresh-v2 main h2 {
        font-size: 20px !important;
        line-height: 1.16 !important;
    }

    body.mobile-fresh-v2 main h3 {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    body.mobile-fresh-v2 main p,
    body.mobile-fresh-v2 main li,
    body.mobile-fresh-v2 main label {
        overflow-wrap: break-word;
        word-break: normal;
    }

    body.mobile-fresh-v2 .label {
        margin-bottom: 5px !important;
        font-size: 10px !important;
        letter-spacing: .1em !important;
    }

    body.mobile-fresh-v2 .input,
    body.mobile-fresh-v2 main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    body.mobile-fresh-v2 main select,
    body.mobile-fresh-v2 main textarea {
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 9px 11px !important;
        border-radius: 7px !important;
        font-size: 14px !important;
    }

    body.mobile-fresh-v2 main input[type="checkbox"],
    body.mobile-fresh-v2 main input[type="radio"] {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    body.mobile-fresh-v2 .btn-primary,
    body.mobile-fresh-v2 .btn-secondary,
    body.mobile-fresh-v2 main button:not(.mobile-media-viewer-close):not(.mobile-media-viewer-nav),
    body.mobile-fresh-v2 main a[class*="btn"] {
        min-height: 44px;
        padding: 9px 13px !important;
        border-radius: 7px !important;
        gap: 7px;
        font-size: 13px !important;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    body.mobile-fresh-v2 main form[class*="grid"],
    body.mobile-fresh-v2 main div[class*="grid"] {
        min-width: 0;
    }

    body.mobile-fresh-v2 main .grid-cols-2,
    body.mobile-fresh-v2 main .grid-cols-3,
    body.mobile-fresh-v2 main .grid-cols-4,
    body.mobile-fresh-v2 main .grid-cols-5,
    body.mobile-fresh-v2 main .grid-cols-6 {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.mobile-fresh-v2 main .flex.items-center.justify-between,
    body.mobile-fresh-v2 main .flex.items-start.justify-between {
        row-gap: 8px;
    }

    body.mobile-fresh-v2 .mobile-table-scroll {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        border: 1px solid var(--mobile-border);
        border-radius: 7px;
        background: #0d100d;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    body.mobile-fresh-v2 .mobile-table-scroll > table {
        min-width: 620px;
        margin: 0 !important;
        border: 0 !important;
        font-size: 12px !important;
    }

    body.mobile-fresh-v2 table th,
    body.mobile-fresh-v2 table td {
        padding: 9px 10px !important;
        vertical-align: top;
    }

    body.mobile-fresh-v2 table th:first-child,
    body.mobile-fresh-v2 table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        background: #111511;
    }

    body.mobile-fresh-v2 details > summary {
        min-height: 44px;
        padding-block: 10px;
        touch-action: manipulation;
    }

    body.mobile-fresh-v2 .job-clean-tabs {
        top: var(--mobile-header-height) !important;
        margin: -12px -10px 10px !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        border-width: 0 0 1px !important;
        border-radius: 0 !important;
        background: rgba(8, 10, 8, .96) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
        scrollbar-width: none;
    }

    body.mobile-fresh-v2 .job-clean-tabs::-webkit-scrollbar {
        display: none;
    }

    body.mobile-fresh-v2 .job-clean-tab {
        min-height: 40px !important;
        padding: 8px 10px !important;
        border-radius: 7px !important;
        font-size: 11px !important;
    }

    body.mobile-fresh-v2 .job-clean-pane,
    body.mobile-fresh-v2 .job-clean-pane.is-active {
        gap: 10px !important;
    }

    body.mobile-fresh-v2 .job-clean-pane > .panel,
    body.mobile-fresh-v2 .job-clean-pane > form.panel {
        padding: 13px !important;
        border-radius: 7px !important;
    }

    body.mobile-fresh-v2 .mobile-media-card {
        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: start;
        gap: 10px !important;
        padding: 10px !important;
        background: var(--mobile-surface) !important;
    }

    body.mobile-fresh-v2 .mobile-media-card > a:first-child,
    body.mobile-fresh-v2 .mobile-media-card > video:first-child,
    body.mobile-fresh-v2 .mobile-media-card > img:first-child,
    body.mobile-fresh-v2 .mobile-media-thumb {
        grid-row: 1 / span 4;
        width: 112px !important;
        min-width: 112px !important;
        height: 78px !important;
        min-height: 78px !important;
        aspect-ratio: 16 / 11 !important;
        overflow: hidden;
        border-radius: 6px !important;
        object-fit: cover !important;
        background: #060806;
    }

    body.mobile-fresh-v2 .mobile-media-card > a:first-child img,
    body.mobile-fresh-v2 .mobile-media-card > a:first-child video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    body.mobile-fresh-v2 .mobile-media-card > :not(:first-child) {
        grid-column: 2;
        min-width: 0;
        margin-top: 0 !important;
    }

    body.mobile-fresh-v2 .mobile-media-card .badge {
        max-width: 100%;
        padding: 3px 6px !important;
        font-size: 9px !important;
        letter-spacing: .06em !important;
        white-space: normal;
    }

    body.mobile-fresh-v2 .mobile-media-card [data-mobile-preview-trigger]::after {
        content: "Buka";
        position: absolute;
        right: 5px;
        bottom: 5px;
        padding: 3px 6px;
        border-radius: 5px;
        background: rgba(0, 0, 0, .78);
        color: #fff;
        font-size: 9px;
        font-weight: 800;
    }

    body.mobile-fresh-v2 .mobile-media-card [data-mobile-preview-trigger] {
        position: relative;
    }

    body.mobile-fresh-v2 .mobile-fresh-bottom-nav {
        position: fixed;
        right: 8px;
        bottom: max(8px, var(--mobile-safe-bottom));
        left: 8px;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: var(--mobile-nav-height);
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 8px;
        background: rgba(14, 17, 14, .96);
        box-shadow: 0 16px 45px rgba(0, 0, 0, .54);
        backdrop-filter: blur(18px);
    }

    body.mobile-fresh-v2 .mobile-fresh-bottom-nav.has-chat-link {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    body.mobile-fresh-v2 .mobile-fresh-bottom-link {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 56px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 3px 2px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #aeb5ae;
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }

    body.mobile-fresh-v2 .mobile-fresh-bottom-link.is-active {
        background: rgba(163, 230, 53, .1);
        color: var(--mobile-lime);
    }

    body.mobile-fresh-v2 .mobile-fresh-bottom-link-primary {
        color: #fff;
    }

    body.mobile-fresh-v2 .mobile-fresh-primary-icon {
        display: grid;
        width: 34px;
        height: 34px;
        margin-top: -17px;
        place-items: center;
        border: 2px solid #0e110e;
        border-radius: 50%;
        background: var(--mobile-red);
        box-shadow: 0 8px 24px rgba(245, 34, 55, .35);
    }

    body.mobile-fresh-v2 .mobile-fresh-nav-badge {
        position: absolute;
        top: -7px;
        right: -10px;
        display: grid;
        min-width: 17px;
        height: 17px;
        padding: 0 3px;
        place-items: center;
        border-radius: 9px;
        background: var(--mobile-red);
        color: #fff;
        font-size: 8px;
        font-weight: 900;
    }

    body.mobile-fresh-v2 [data-chat-dock] {
        right: 12px !important;
        bottom: calc(var(--mobile-nav-height) + var(--mobile-safe-bottom) + 18px) !important;
    }

    body.mobile-fresh-v2:has(.mobile-fresh-bottom-nav) [data-chat-dock] > [data-chat-toggle] {
        display: none !important;
    }

    body.mobile-fresh-v2 [data-chat-toggle] {
        width: 48px !important;
        height: 48px !important;
    }

    body.mobile-fresh-v2 [data-chat-toggle] > span.relative {
        width: 48px !important;
        height: 48px !important;
    }

    body.mobile-fresh-v2 .chat-widget {
        position: fixed !important;
        inset: calc(var(--mobile-header-height) + 8px) 8px calc(var(--mobile-nav-height) + var(--mobile-safe-bottom) + 8px) 8px !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 8px !important;
    }

    body.mobile-fresh-v2 .badge {
        max-width: 100%;
        padding: 4px 7px !important;
        border-radius: 6px !important;
        font-size: 9px !important;
        letter-spacing: .07em !important;
        white-space: normal;
    }

    body.mobile-fresh-v2 .dashboard-fresh-page {
        display: grid;
        gap: 8px;
    }

    body.mobile-fresh-v2 .dashboard-fresh-page > .panel {
        margin-top: 0 !important;
    }

    body.mobile-fresh-v2 .dashboard-fresh-page .panel > div.mb-4:first-child {
        margin-bottom: 9px !important;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid,
    body.mobile-fresh-v2 .dashboard-pipeline-grid,
    body.mobile-fresh-v2 .dashboard-team-grid,
    body.mobile-fresh-v2 .dashboard-alert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .stat {
        min-height: 94px;
        padding: 9px !important;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .stat > div {
        gap: 5px !important;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .stat span {
        font-size: 9px !important;
        letter-spacing: .09em !important;
        line-height: 1.2;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .stat strong {
        margin-top: 2px !important;
        font-size: 22px !important;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .stat p {
        display: -webkit-box;
        margin-top: 2px !important;
        overflow: hidden;
        font-size: 9px !important;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.mobile-fresh-v2 .dashboard-kpi-grid .motori-icon-box {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    body.mobile-fresh-v2 .dashboard-job-row {
        grid-template-columns: 32px minmax(0, 1fr) auto !important;
        min-height: 58px;
    }

    body.mobile-fresh-v2 .dashboard-job-row > .hidden.text-right {
        display: none !important;
    }

    body.mobile-fresh-v2 .dashboard-queue-number {
        width: 32px !important;
        height: 32px !important;
        border-radius: 6px !important;
        font-size: 11px;
    }

    body.mobile-fresh-v2 .dashboard-job-copy {
        overflow: hidden;
    }

    body.mobile-fresh-v2 .dashboard-job-copy > div {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px !important;
    }

    body.mobile-fresh-v2 .dashboard-job-copy h3 {
        min-width: 0;
        overflow: hidden;
        font-size: 14px !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.mobile-fresh-v2 .dashboard-job-copy p {
        margin-top: 2px;
        overflow: hidden;
        font-size: 10px !important;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.mobile-fresh-v2 .dashboard-job-copy span {
        padding: 2px 5px !important;
        font-size: 8px !important;
        letter-spacing: .05em !important;
        white-space: nowrap;
    }

    body.mobile-fresh-v2 .dashboard-job-status {
        max-width: 92px;
        padding: 5px 7px !important;
        font-size: 8px !important;
        letter-spacing: .05em !important;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    body.mobile-fresh-v2 .dashboard-pipeline-grid > div {
        padding: 9px !important;
    }

    body.mobile-fresh-v2 .dashboard-pipeline-grid > div > div:first-child {
        gap: 5px !important;
    }

    body.mobile-fresh-v2 .dashboard-pipeline-grid .motori-inline-icon {
        width: 20px !important;
        height: 20px !important;
    }

    body.mobile-fresh-v2 .dashboard-pipeline-grid strong {
        font-size: 20px !important;
    }

    body.mobile-fresh-v2 .dashboard-pipeline-grid .mt-4 {
        margin-top: 7px !important;
    }

    body.mobile-fresh-v2 .dashboard-team-grid .mini,
    body.mobile-fresh-v2 .dashboard-alert-grid .mini {
        min-height: 68px !important;
        padding: 8px !important;
    }

    body.mobile-fresh-v2 .dashboard-team-grid .mini span,
    body.mobile-fresh-v2 .dashboard-alert-grid .mini span {
        font-size: 8px !important;
        letter-spacing: .08em !important;
        line-height: 1.25;
    }

    body.mobile-fresh-v2 .dashboard-team-grid .mini strong,
    body.mobile-fresh-v2 .dashboard-alert-grid .mini strong {
        font-size: 14px !important;
        line-height: 1.15;
    }

    body.mobile-fresh-v2 .dashboard-team-grid .mini small {
        display: -webkit-box;
        overflow: hidden;
        font-size: 9px !important;
        line-height: 1.2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.mobile-fresh-v2 .dashboard-team-panel > .mt-4 {
        margin-top: 8px !important;
    }

    body.mobile-fresh-v2 .dashboard-team-job-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 50px;
        gap: 7px !important;
        padding: 8px !important;
    }

    body.mobile-fresh-v2 .dashboard-team-job-row .font-semibold {
        font-size: 12px !important;
        line-height: 1.2;
    }

    body.mobile-fresh-v2 .dashboard-team-job-row .text-xs {
        margin-top: 2px;
        font-size: 9px !important;
        line-height: 1.2;
    }

    body.mobile-fresh-v2 .fresh-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    body.mobile-fresh-v2 .fresh-compact-choice {
        min-width: 0;
        padding: 9px !important;
    }

    body.mobile-fresh-v2 .fresh-compact-choice .font-semibold {
        font-size: 12px;
        line-height: 1.25;
    }

    body.mobile-fresh-v2 .fresh-compact-choice > input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 5px !important;
        vertical-align: middle;
    }

    body.mobile-fresh-v2 .fresh-discount-toggle {
        min-height: 36px !important;
        padding: 7px 9px !important;
        white-space: nowrap;
    }

    body.mobile-fresh-v2 .fresh-discount-fields,
    body.mobile-fresh-v2 .fresh-discount-fields.fresh-discount-fields-labeled {
        grid-template-columns: 66px minmax(0, 1fr);
    }

    body.mobile-fresh-v2 .fresh-discount-fields.fresh-discount-fields-labeled > div {
        min-width: 0;
    }

    body.mobile-fresh-v2 .pagination,
    body.mobile-fresh-v2 nav[role="navigation"] {
        max-width: 100%;
        overflow-x: auto;
    }

    body.mobile-fresh-v2 .mobile-media-viewer {
        position: fixed;
        inset: 0;
        z-index: 130;
        display: grid;
        padding: 10px;
        place-items: center;
    }

    body.mobile-fresh-v2 .mobile-media-viewer[hidden] {
        display: none !important;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(0, 0, 0, .88);
        backdrop-filter: blur(10px);
    }

    body.mobile-fresh-v2 .mobile-media-viewer-dialog {
        position: relative;
        z-index: 1;
        display: grid;
        width: min(100%, 680px);
        max-height: calc(100dvh - 20px);
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 8px;
        background: #0c0f0c;
        box-shadow: 0 28px 90px rgba(0, 0, 0, .72);
    }

    body.mobile-fresh-v2 .mobile-media-viewer-header,
    body.mobile-fresh-v2 .mobile-media-viewer-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        border-bottom: 1px solid var(--mobile-border);
    }

    body.mobile-fresh-v2 .mobile-media-viewer-header h2 {
        overflow: hidden;
        font-size: 15px !important;
        line-height: 1.25 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-kicker {
        color: var(--mobile-lime);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-close {
        display: grid;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        place-items: center;
        border: 1px solid var(--mobile-border);
        border-radius: 7px;
        background: var(--mobile-surface-raised);
        color: #fff;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-stage {
        display: grid;
        min-height: 220px;
        max-height: calc(100dvh - 150px);
        place-items: center;
        overflow: auto;
        background: #020302;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-stage img,
    body.mobile-fresh-v2 .mobile-media-viewer-stage video {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 150px);
        object-fit: contain;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-footer {
        border-top: 1px solid var(--mobile-border);
        border-bottom: 0;
        color: var(--mobile-muted);
        font-size: 11px;
        font-weight: 700;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-nav {
        min-height: 40px;
        padding: 8px 11px;
        border: 1px solid var(--mobile-border);
        border-radius: 7px;
        background: var(--mobile-surface-raised);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
    }

    body.mobile-fresh-v2 .mobile-media-viewer-nav:disabled {
        opacity: .34;
    }

    body.mobile-fresh-v2.motori-light {
        --mobile-bg: #f3f5f2;
        --mobile-surface: #ffffff;
        --mobile-surface-raised: #edf0eb;
        --mobile-border: rgba(17, 24, 17, .14);
        --mobile-muted: #586157;
    }

    body.mobile-fresh-v2.motori-light .app-main,
    body.mobile-fresh-v2.motori-light .app-header {
        background: rgba(245, 247, 244, .96) !important;
    }

    body.mobile-fresh-v2.motori-light .mobile-fresh-bottom-nav,
    body.mobile-fresh-v2.motori-light .mobile-media-viewer-dialog {
        background: rgba(255, 255, 255, .98);
        color: #111711;
    }
}

@media (max-width: 380px) {
    body.mobile-fresh-v2 .app-header .motori-heading {
        max-width: 43vw;
        font-size: 16px !important;
    }

    body.mobile-fresh-v2 .mobile-media-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    body.mobile-fresh-v2 .mobile-media-card > a:first-child,
    body.mobile-fresh-v2 .mobile-media-card > video:first-child,
    body.mobile-fresh-v2 .mobile-media-card > img:first-child,
    body.mobile-fresh-v2 .mobile-media-thumb {
        width: 96px !important;
        min-width: 96px !important;
        height: 70px !important;
        min-height: 70px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mobile-fresh-v2 *,
    body.mobile-fresh-v2 *::before,
    body.mobile-fresh-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
