/* Chrome mobile estilo app — < 768px. Desktop/tablet permanece intacto. */

:root {
    --mobile-app-rose: #8e1a32;
    --mobile-app-rose-deep: #5c1020;
    --mobile-app-chrome: linear-gradient(165deg, #b42840 0%, #8e1a32 46%, #5c1020 100%);
    --mobile-app-on-chrome: #fff;
    --mobile-app-ink: #111827;
    --mobile-tabbar-h: 0px;
}

.dash-mobile-app {
    --app-header-h: 3.5rem;
}

@media (max-width: 767px) {
    :root {
        --app-header-h: calc(3.5rem + env(safe-area-inset-top, 0px));
        --mobile-tabbar-h: calc(4.15rem + env(safe-area-inset-bottom, 0px));
    }

    .dash-mobile-app {
        --app-header-h: calc(3.5rem + env(safe-area-inset-top, 0px));
    }

    .dash-app-shell,
    .dash-client-home-shell,
    .layout-main {
        padding-bottom: var(--mobile-tabbar-h);
    }

    .dash-client-home-shell,
    .dash-client-home-shell__frame,
    .dash-client-home-shell__inner,
    .dash-client-home-shell__main,
    .dash-client-home-page {
        height: auto !important;
        max-height: none !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
        min-height: 0;
    }

    .dash-representatives--rep-home.dash-operational,
    .dash-representatives--rep-home .dash-operational__inner {
        height: auto !important;
        min-height: 0;
        overflow: visible !important;
        padding: 0 !important;
    }

    .app-header {
        min-height: var(--app-header-h);
        padding-top: env(safe-area-inset-top, 0px);
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        background-color: var(--mobile-app-rose) !important;
        background-image: var(--mobile-app-chrome) !important;
        background-attachment: fixed;
        color: var(--mobile-app-on-chrome);
        border-bottom: 0;
    }

    .app-header .header-hamburger {
        display: none !important;
    }

    .app-header .brand-img {
        display: none;
    }

    .app-header .brand-favicon {
        display: block;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 999px;
        object-fit: cover;
        background: #fff;
        box-shadow: 0 0 0 2px rgb(255 255 255 / 0.42);
    }

    .app-header .header-mobile-greeting {
        display: block;
        flex: 1;
        min-width: 0;
        margin: 0;
        padding: 0 0.5rem;
        font-size: 0.8125rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.01em;
        color: var(--mobile-app-on-chrome);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
        text-transform: uppercase;
    }

    .app-header .header-user-menu__name,
    .app-header .header-user-menu__chevron {
        display: none;
    }

    .app-header .header-user-menu__avatar {
        display: inline-flex;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.7rem;
        color: #8e1a32;
        background: linear-gradient(160deg, #ffffff 0%, #f8e9ec 100%);
        box-shadow: 0 0 0 2px rgb(255 255 255 / 0.55);
    }

    .app-header .header-bell__btn,
    .app-header .header-user-menu__trigger {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 999px;
        border: 0;
        background: transparent;
        color: var(--mobile-app-on-chrome);
        box-shadow: none;
    }

    .app-header .header-bell__btn:hover,
    .app-header .header-bell__btn.has-unread,
    .app-header .header-bell__btn.is-open,
    .app-header .header-user-menu__trigger:hover,
    .app-header .header-user-menu__trigger:focus-visible {
        background: rgb(255 255 255 / 0.16);
        color: var(--mobile-app-on-chrome);
        box-shadow: none;
    }

    .app-header .header-bell__badge {
        box-shadow: 0 0 0 2px var(--mobile-app-rose-deep);
    }

    .dash-client-home-shell {
        background: transparent !important;
    }

    /* Dashboard: hero some; abas em pasta sobre o vinho, conteúdo branco */
    .dash-representatives--rep-home .dash-representatives__hero {
        display: none;
    }

    .dash-representatives--rep-home.dash-operational {
        --folder-surface: #f4f4f5;
        --dash-tab-slide: 0.42s cubic-bezier(0.32, 0.72, 0, 1);
        background-color: var(--mobile-app-rose);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
    }

    .dash-representatives--rep-home .dash-operational__inner {
        padding: 0;
        background-color: var(--mobile-app-rose);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
    }

    .dash-representatives--rep-home .dash-main-tabs--folder {
        --folder-surface: #f4f4f5;
        position: sticky;
        top: var(--app-header-h);
        z-index: 30;
        display: block;
        flex: 0 0 auto;
        flex-shrink: 0;
        width: 100%;
        min-height: 3.1rem;
        margin: 0 !important;
        padding: 0.35rem 0 0;
        overflow-x: auto;
        overflow-y: visible;
        border: 0;
        border-radius: 0;
        background-color: var(--mobile-app-rose);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dash-representatives--rep-home .dash-main-tabs--folder::-webkit-scrollbar {
        display: none;
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-track {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        gap: 0.1rem;
        width: max-content;
        min-width: 100%;
        min-height: 2.75rem;
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 0;
        height: 2.75rem;
        width: var(--folder-glider-w, 0px);
        background: var(--folder-surface);
        border-radius: 1rem 1rem 0 0;
        pointer-events: none;
        transform: translate3d(var(--folder-glider-x, 0px), 0, 0);
        will-change: transform, width;
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider.is-ready {
        transition: transform var(--dash-tab-slide), width var(--dash-tab-slide);
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider::before,
    .dash-representatives--rep-home .dash-main-tabs__folder-glider::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 0.75rem;
        height: 0.75rem;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.18s linear;
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider::before {
        left: -0.75rem;
        background: radial-gradient(circle at 0 0, transparent 0.75rem, var(--folder-surface) 0.76rem);
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider::after {
        right: -0.75rem;
        background: radial-gradient(circle at 100% 0, transparent 0.75rem, var(--folder-surface) 0.76rem);
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider.is-flush-start::before,
    .dash-representatives--rep-home .dash-main-tabs__folder-glider.is-flush-end::after {
        opacity: 0;
    }

    .dash-representatives--rep-home .dash-main-tabs--folder .dash-main-tabs__btn {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
        min-height: 2.75rem;
        height: 2.75rem;
        padding: 0.7rem 1rem 0.55rem;
        border-radius: 1rem 1rem 0 0;
        background: transparent;
        color: rgb(255 255 255 / 0.82);
        box-shadow: none;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .dash-representatives--rep-home .dash-main-tabs--folder .dash-main-tabs__btn i,
    .dash-representatives--rep-home .dash-main-tabs--folder .dash-main-tabs__trophy {
        display: none;
    }

    .dash-representatives--rep-home .dash-main-tabs--folder .dash-main-tabs__btn.is-active {
        background: transparent;
        color: var(--mobile-app-ink);
        font-weight: 800;
        box-shadow: none;
    }

    .dash-representatives--rep-home .dash-tab-panels {
        background: var(--folder-surface, #f4f4f5);
        border-radius: 1.15rem 1.15rem 0 0;
        margin-top: -1px;
        padding: 0;
        min-height: 0;
        overflow-x: clip;
        overflow-y: visible;
        isolation: isolate;
        touch-action: pan-y;
        transition: height var(--dash-tab-slide, 0.42s cubic-bezier(0.32, 0.72, 0, 1)),
            border-top-left-radius var(--dash-tab-slide, 0.42s cubic-bezier(0.32, 0.72, 0, 1)),
            border-top-right-radius var(--dash-tab-slide, 0.42s cubic-bezier(0.32, 0.72, 0, 1));
    }

    .dash-representatives--rep-home .dash-tab-panels.is-flush-start {
        border-top-left-radius: 0;
    }

    .dash-representatives--rep-home .dash-tab-panels.is-flush-end {
        border-top-right-radius: 0;
    }

    .dash-representatives--rep-home .dash-tab-panels.is-sliding,
    .dash-representatives--rep-home .dash-tab-panels.is-swiping {
        overflow: hidden;
    }

    .dash-representatives--rep-home .dash-tab-panels.is-swiping {
        user-select: none;
    }

    .dash-representatives--rep-home .dash-tab-track {
        display: flex;
        align-items: flex-start;
        width: 100%;
        min-height: 0;
        transform: translate3d(calc(var(--dash-tab-index, 0) * -100% + var(--dash-tab-swipe-x, 0px)), 0, 0);
        transition: transform var(--dash-tab-slide, 0.42s cubic-bezier(0.32, 0.72, 0, 1));
        will-change: transform;
    }

    .dash-representatives--rep-home .dash-tab-track.is-swiping {
        transition: none;
    }

    .dash-representatives--rep-home .dash-tab-panel {
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: 0;
        overflow: hidden;
        padding: 0 0.75rem;
        box-sizing: border-box;
        visibility: hidden;
        pointer-events: none;
    }

    .dash-representatives--rep-home .dash-tab-panel.is-active {
        height: auto;
        overflow: visible;
        padding: 1rem 0.75rem 1.25rem;
        visibility: visible;
        pointer-events: auto;
    }

    .dash-representatives--rep-home .dash-tab-track.is-sliding .dash-tab-panel,
    .dash-representatives--rep-home .dash-tab-track.is-swiping .dash-tab-panel {
        height: auto;
        overflow: hidden;
        padding: 1rem 0.75rem 1.25rem;
        visibility: visible;
        pointer-events: none;
    }

    .dash-representatives--rep-home .dash-tab-track.is-sliding .dash-tab-panel.is-active,
    .dash-representatives--rep-home .dash-tab-track.is-swiping .dash-tab-panel.is-active {
        pointer-events: auto;
    }

    .dash-representatives--rep-home[data-dash-theme="dark"].dash-operational {
        --folder-surface: var(--dash-bg);
        background-color: var(--mobile-app-rose-deep);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
    }

    .dash-representatives--rep-home[data-dash-theme="dark"] .dash-operational__inner,
    .dash-representatives--rep-home[data-dash-theme="dark"] .dash-main-tabs--folder {
        --folder-surface: var(--dash-bg);
        background-color: var(--mobile-app-rose-deep);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
    }

    .dash-representatives--rep-home[data-dash-theme="dark"] .dash-main-tabs--folder .dash-main-tabs__btn {
        color: rgb(255 255 255 / 0.78);
    }

    .dash-representatives--rep-home[data-dash-theme="dark"] .dash-main-tabs--folder .dash-main-tabs__btn.is-active {
        background: transparent;
        color: var(--dash-fg);
    }

    .dash-representatives--rep-home[data-dash-theme="dark"] .dash-tab-panels {
        background: var(--folder-surface);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-representatives--rep-home .dash-tab-track,
    .dash-representatives--rep-home .dash-tab-track.is-swiping,
    .dash-representatives--rep-home .dash-tab-panels,
    .dash-representatives--rep-home .dash-main-tabs__folder-glider,
    .dash-representatives--rep-home .dash-main-tabs__folder-glider::before,
    .dash-representatives--rep-home .dash-main-tabs__folder-glider::after {
        transition: none;
    }
}

@media (min-width: 768px) {
    .brand-favicon {
        display: none;
    }

    .dash-tab-track {
        display: contents;
    }

    .mobile-tabbar,
    .mobile-more {
        display: none !important;
    }
}

/* Barra inferior */
.mobile-tabbar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        min-height: var(--mobile-tabbar-h);
        padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid hsl(214 32% 91%);
        box-shadow: 0 -8px 24px rgb(15 23 42 / 0.08);
    }

    html.dash-home-dark .mobile-tabbar {
        background: hsl(222 47% 11%);
        border-top-color: hsl(0 0% 100% / 0.08);
        box-shadow: 0 -8px 24px rgb(0 0 0 / 0.35);
    }
}

.mobile-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 44px;
    padding: 0.2rem 0.15rem;
    border: 0;
    background: transparent;
    color: hsl(215 16% 47%);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.18s ease, transform 0.18s ease;
}

.mobile-tabbar__item i {
    font-size: 1.15rem;
    line-height: 1;
}

.mobile-tabbar__item.is-active {
    color: var(--mobile-app-rose);
}

.mobile-tabbar__item:active {
    transform: scale(0.96);
}

.mobile-tabbar__item--center {
    transform: none;
}

.mobile-tabbar__fab {
    display: inline-grid;
    place-items: center;
    width: 3.15rem;
    height: 3.15rem;
    margin-top: -1.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #c41e3a 0%, var(--mobile-app-rose-deep) 100%);
    color: #fff;
    box-shadow:
        0 8px 18px rgb(158 24 48 / 0.35),
        0 0 0 4px #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobile-tabbar__item--center.is-active .mobile-tabbar__fab,
.mobile-tabbar__item--center:active .mobile-tabbar__fab {
    transform: scale(0.96);
}

.mobile-tabbar__item--center i {
    font-size: 1.2rem;
    color: #fff;
}

.mobile-tabbar__item--center span:not(.mobile-tabbar__fab) {
    margin-top: 0.15rem;
    color: inherit;
}

html.dash-home-dark .mobile-tabbar__item {
    color: hsl(215 20% 72%);
}

html.dash-home-dark .mobile-tabbar__item.is-active {
    color: hsl(346 77% 72%);
}

html.dash-home-dark .mobile-tabbar__fab {
    box-shadow:
        0 8px 18px rgb(158 24 48 / 0.45),
        0 0 0 4px hsl(222 47% 11%);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-tabbar__item,
    .mobile-tabbar__fab,
    .mobile-more__sheet,
    .mobile-more__fold,
    .mobile-more__chevron {
        transition: none;
    }

    .mobile-more__fold.is-open > .mobile-more__fold-inner > .mobile-more__row {
        animation: none;
    }

    .mobile-tabbar__item:active {
        transform: none;
    }
}

/* Sheet Mais */
.mobile-more {
    display: none;
}

@media (max-width: 767px) {
    .mobile-more {
        display: block;
    }
}

.mobile-more__overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: hsl(222 47% 6% / 0.55);
    backdrop-filter: blur(2px);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.mobile-more__sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 56;
    max-height: min(86vh, 42rem);
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.25rem 1.25rem 0 0;
    background: #fff;
    box-shadow: 0 -16px 40px rgb(15 23 42 / 0.18);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-more__sheet.is-open {
    transform: translateY(0);
}

html.dash-home-dark .mobile-more__sheet {
    background: hsl(222 47% 11%);
    box-shadow: 0 -16px 40px rgb(0 0 0 / 0.45);
}

.mobile-more__handle {
    display: block;
    width: 2.75rem;
    height: 0.28rem;
    margin: 0.35rem auto 0.65rem;
    border-radius: 999px;
    background: hsl(214 32% 84%);
}

.mobile-more__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1rem 0.75rem;
}

.mobile-more__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mobile-app-ink);
}

html.dash-home-dark .mobile-more__title {
    color: hsl(210 40% 98%);
}

.mobile-more__close {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: hsl(210 40% 96%);
    color: hsl(215 16% 47%);
    cursor: pointer;
}

.mobile-more__body {
    overflow-y: auto;
    padding: 0 0.75rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-more__section {
    margin: 0.35rem 0 0.95rem;
}

.mobile-more__label {
    display: block;
    padding: 0.2rem 0.35rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: hsl(215 16% 47%);
}

.mobile-more__group {
    overflow: hidden;
    border-radius: 1.1rem;
    background: hsl(210 20% 97%);
}

.mobile-more__block + .mobile-more__block {
    box-shadow: inset 0 1px hsl(214 32% 91%);
}

.mobile-more__row {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border: 0;
    background: transparent;
    color: var(--mobile-app-ink);
    text-decoration: none;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-more__row + .mobile-more__row,
.mobile-more__fold + .mobile-more__row,
.mobile-more__fold-inner > .mobile-more__row {
    box-shadow: inset 0 1px hsl(214 32% 91%);
}

.mobile-more__icon {
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    flex-shrink: 0;
    border-radius: 0.55rem;
    background: hsl(346 77% 50% / 0.1);
    color: var(--mobile-app-rose);
    font-size: 0.95rem;
}

.mobile-more__text {
    display: block;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.mobile-more__chevron {
    flex-shrink: 0;
    font-size: 0.7rem;
    opacity: 0.42;
    color: inherit;
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.18s ease;
}

.mobile-more__row.is-open .mobile-more__chevron {
    transform: rotate(180deg);
    opacity: 0.75;
}

.mobile-more__row.is-active {
    color: var(--mobile-app-rose-deep);
}

.mobile-more__row.is-active .mobile-more__icon {
    background: hsl(346 77% 50% / 0.16);
    color: var(--mobile-app-rose);
}

.mobile-more__row:active {
    background: hsl(214 32% 94%);
}

.mobile-more__row:focus-visible {
    outline: 2px solid var(--mobile-app-rose);
    outline-offset: -2px;
}

.mobile-more__row--child {
    min-height: 44px;
    padding-left: calc(0.85rem + 1.85rem + 0.75rem);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: hsl(0 0% 100% / 0.45);
}

.mobile-more__fold {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-more__fold.is-open {
    grid-template-rows: 1fr;
}

.mobile-more__fold-inner {
    overflow: hidden;
    min-height: 0;
}

.mobile-more__fold.is-open > .mobile-more__fold-inner > .mobile-more__row {
    animation: mobile-more-rise 0.32s cubic-bezier(0.32, 0.72, 0, 1) both;
}

.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(1) { animation-delay: 0.02s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(2) { animation-delay: 0.05s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(3) { animation-delay: 0.08s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(4) { animation-delay: 0.11s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(5) { animation-delay: 0.14s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(6) { animation-delay: 0.17s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(7) { animation-delay: 0.2s; }
.mobile-more__fold.is-open > .mobile-more__fold-inner > :nth-child(8) { animation-delay: 0.23s; }

@keyframes mobile-more-rise {
    from {
        opacity: 0;
        transform: translateY(-0.45rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-more__theme {
    padding: 0.25rem 0.35rem 0.75rem;
}

html.dash-home-dark .mobile-more__group {
    background: hsl(222 32% 16%);
}

html.dash-home-dark .mobile-more__block + .mobile-more__block,
html.dash-home-dark .mobile-more__row + .mobile-more__row,
html.dash-home-dark .mobile-more__fold + .mobile-more__row,
html.dash-home-dark .mobile-more__fold-inner > .mobile-more__row {
    box-shadow: inset 0 1px hsl(0 0% 100% / 0.08);
}

html.dash-home-dark .mobile-more__row {
    color: hsl(210 40% 96%);
}

html.dash-home-dark .mobile-more__icon {
    background: hsl(346 77% 50% / 0.18);
    color: #fecdd3;
}

html.dash-home-dark .mobile-more__row.is-active {
    color: #fecdd3;
}

html.dash-home-dark .mobile-more__row:active {
    background: hsl(0 0% 100% / 0.06);
}

html.dash-home-dark .mobile-more__row--child {
    background: hsl(222 47% 13%);
}

/* Layout do representante — chrome mobile */
@media (max-width: 767px) {
    .layout-wrapper.dash-mobile-app {
        --header-height: var(--app-header-h);
    }

    .layout-wrapper .layout-sidebar {
        display: none !important;
    }

    .layout-wrapper .layout-main {
        margin-left: 0 !important;
        padding-top: var(--app-header-h);
        min-height: 100vh;
    }

    .layout-wrapper.is-dashboard {
        background-color: var(--mobile-app-rose);
        background-image: var(--mobile-app-chrome);
        background-attachment: fixed;
    }

    .layout-wrapper.is-dashboard .layout-main,
    .layout-wrapper.is-dashboard .main-content-wrapper {
        background: transparent;
        padding: 0;
    }

    .layout-wrapper:not(.is-dashboard) .main-content-wrapper {
        padding: 1rem 0.85rem 1.25rem;
    }

    .dash-representatives--rep-home .dash-representatives__hero {
        display: none;
    }
}

@media (min-width: 768px) {
    .dash-representatives--rep-home .dash-main-tabs__folder-track {
        display: flex;
        align-items: stretch;
        flex: 1;
        width: 100%;
        min-width: 0;
        gap: 0.25rem;
    }

    .dash-representatives--rep-home .dash-main-tabs__folder-glider {
        display: none;
    }

    .dash-representatives--rep-home .dash-tab-panel.is-active {
        overflow: visible;
        height: auto;
        min-height: 0;
    }

    .dash-representatives--rep-home .dash-tab-panels {
        overflow: visible;
        flex: none;
    }
}

/* Tabela da home — lista estilo app */
@media (max-width: 767px) {
    .dash-representatives--rep-home .dash-rep-home__clients .dash-table-cards,
    .dash-representatives--rep-home .dash-table-cards.dash-rep-home__clients {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--dash-border, #e2e8f0);
        border-radius: 1.05rem;
        background: var(--dash-card, #fff);
        box-shadow: 0 1px 0 rgb(15 23 42 / 0.04);
    }

    .dash-representatives--rep-home .dash-rep-home__client-row.dash-table-card {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        min-height: 4.35rem;
        margin: 0;
        padding: 0.8rem 0.9rem;
        border: 0;
        border-bottom: 1px solid var(--dash-border, #e2e8f0);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .dash-representatives--rep-home .dash-rep-home__client-row.dash-table-card:last-child {
        border-bottom: 0;
    }

    .dash-representatives--rep-home .dash-rep-home__client-row.dash-table-card:active {
        background: hsl(220 14% 96%);
    }

    .dash-representatives--rep-home .dash-rep-home__client-glyph {
        display: grid;
        place-items: center;
        flex: 0 0 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.8rem;
        background: hsl(346 55% 96%);
        color: var(--mobile-app-rose, #8e1a32);
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        text-transform: uppercase;
    }

    .dash-representatives--rep-home .dash-rep-home__client-body {
        display: flex;
        flex-direction: column;
        gap: 0.12rem;
        flex: 1;
        min-width: 0;
    }

    .dash-representatives--rep-home .dash-rep-home__client-row .dash-table-card__title {
        font-size: 0.9375rem;
        font-weight: 800;
        line-height: 1.2;
        color: #0f172a;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dash-representatives--rep-home .dash-rep-home__client-row .dash-table-card__subtitle {
        font-size: 0.75rem;
        font-weight: 600;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-transform: uppercase;
    }

    .dash-representatives--rep-home .dash-rep-home__client-aside {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.15rem;
        flex-shrink: 0;
    }

    .dash-representatives--rep-home .dash-rep-home__client-chevron {
        flex-shrink: 0;
        font-size: 0.85rem;
        color: #94a3b8;
    }

    .dash-representatives--rep-home .customers-panel .panel-card-header {
        padding-left: 0.15rem;
    }

    .dash-representatives--rep-home .customers-panel {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .dash-representatives--rep-home .chart-panel {
        margin-bottom: 1rem;
    }
}
