/* =====================================================================
   Zmorda.tn — Espace client · Shell + navigation principale du compte
   Scope racine unique : .zg-host  (aucun sélecteur global)
   Règles dures : aucun box-shadow · aucun transform au :hover · ≥44px
   Hérite des tokens Brand. Fonts avec pile de fallback complète.
   ===================================================================== */

.zg-host {
    /* ---- Tokens Brand (locaux au scope) ---- */
    --o: #ff671f;
    --o-l: #ff8e53;
    --b: #2455ea;
    --bl: #81c4ff;
    --navy: #0d2c6e;
    --ink: #1b2440;
    --gray: #6b7785;
    --paper: #f6f9fd;
    --line: #e4ebf7;
    --good: #138a5e;
    --warn: #d97706;
    --danger: #c2410c;

    --display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'Space Mono', ui-monospace, Menlo, Consolas, monospace;
    --jb: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

    --rail-w: 264px;
    --rail-gap: 32px;
    --topbar-h: 70px;

    font-family: var(--body);
    color: var(--ink);
    background: #fff; /* page entièrement blanche */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
}

.zg-host *, .zg-host *::before, .zg-host *::after {
    box-sizing: border-box;
}

/* =====================================================================
   SHELL — rail (desktop) + colonne de contenu (ng-view)
   ===================================================================== */
.zg-host .zg-shell {
    display: flex;
    align-items: flex-start;
    gap: var(--rail-gap);
    max-width: 1340px;
    margin: 0 auto;
    padding: 22px 20px 28px;
}

.zg-host .zg-rail {
    flex: 0 0 var(--rail-w);
    width: var(--rail-w);
    align-self: flex-start;
    position: sticky;
    top: calc(var(--topbar-h) + 14px);
    max-height: calc(100vh - var(--topbar-h) - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* page blanche : plus de carte grise, juste un filet séparateur */
    padding: 2px 30px 8px 2px;
    border-right: 1px solid var(--line);
}

@media (max-width: 768px) {
    .zg-main {
        padding-top: 60px;
    }
}

.zg-host .zg-main {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}

/* ng-view container : ne rien imposer qui casse les écrans injectés */
.zg-host .zg-main .dashboard_grid_space {
    min-width: 0;
}

/* =====================================================================
   RAIL — tête : eyebrow + retour au site
   ===================================================================== */
.zg-host .zg-rail-top {
    margin: 2px 4px 14px;
}

.zg-host .zg-eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9aa6bd;
    margin-bottom: 9px;
}

.zg-host .zg-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    border-radius: 8px;
    padding: 2px 2px;
    transition: color .15s;
}

.zg-host .zg-back svg {
    display: block;
    stroke: currentColor;
}

.zg-host .zg-back:hover {
    color: var(--b);
}

.zg-host .zg-back:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 3px;
}

/* =====================================================================
   CARTE D'IDENTITÉ — filet dégradé signature + statut live
   ===================================================================== */
.zg-host .zg-id {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 14px 13px;
    margin-bottom: 14px;
}

.zg-host .zg-id::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b), var(--o));
}

.zg-host .zg-id-row {
    display: flex;
    align-items: center;
    gap: 11px;
}

.zg-host .zg-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: radial-gradient(120% 120% at 30% 20%, #1b3a86 0%, var(--navy) 70%);
}

.zg-host .zg-avatar svg {
    display: block;
    stroke: currentColor;
}

.zg-host .zg-id-meta {
    min-width: 0;
}

.zg-host .zg-id-name {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zg-host .zg-id-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--jb);
    font-size: 10.5px;
    font-weight: 400;
    color: var(--gray);
    margin-top: 3px;
}

.zg-host .zg-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--good);
    flex: 0 0 7px;
    animation: zgPulse 1.9s ease-in-out infinite;
}

@keyframes zgPulse {
    0%, 100% {
        opacity: .5;
        transform: scale(.82);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.zg-host .zg-id-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--b);
    background: rgba(129, 196, 255, .18);
    border: 1px solid var(--bl);
    border-radius: 999px;
    padding: 4px 10px;
}

/* =====================================================================
   CTA VENDRE — dégradé orange (une seule action principale)
   ===================================================================== */
.zg-host .zg-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    margin: 2px 0 6px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14.5px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--o), var(--o-l));
    transition: filter .15s;
}

/* icône dimensionnée explicitement (le SVG sans width/height gonflait le bouton) */
.zg-host .zg-cta svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-host .zg-cta:hover {
    filter: brightness(1.06);
}

.zg-host .zg-cta:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* =====================================================================
   NAV — groupes + rangées
   ===================================================================== */
.zg-host .zg-nav {
    margin-top: 4px;
}

.zg-host .zg-group {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9aa6bd;
    margin: 16px 6px 6px;
}

.zg-host .zg-nav > .zg-group:first-child {
    margin-top: 8px;
}

.zg-host .zg-nav a,
.zg-host .zg-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.zg-host .zg-ic {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.zg-host .zg-ic svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-host .zg-lbl {
    flex: 1 1 auto;
    min-width: 0;
}

.zg-host .zg-nav a:hover {
    background: #fff;
    color: var(--ink);
}

.zg-host .zg-nav a:hover .zg-ic {
    color: var(--b);
}

.zg-host .zg-nav a:focus-visible,
.zg-host .zg-logout:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 2px;
}

/* état actif (piloté par un mince script coquille, sans scope Angular) */
.zg-host .zg-nav a.zg-active {
    background: rgba(129, 196, 255, .16);
    color: var(--ink);
}

.zg-host .zg-nav a.zg-active .zg-ic {
    color: var(--b);
}

.zg-host .zg-nav a.zg-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--b), var(--o));
}

/* badge compteur (réutilise la liaison Angular existante) */
.zg-host .zg-badge {
    margin-left: auto;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jb);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: var(--b);
    background: rgba(36, 85, 234, .10);
    border-radius: 999px;
}

/* pied du rail — déconnexion (ton neutre, poids visuel égal) */
.zg-host .zg-rail-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.zg-host .zg-logout:hover {
    background: #fff;
    color: var(--ink);
}

.zg-host .zg-logout:hover .zg-ic {
    color: var(--navy);
}

/* =====================================================================
   TABBAR MOBILE + FEUILLE (masqués sur desktop)
   ===================================================================== */
.zg-host .zg-tabbar,
.zg-host .zg-scrim,
.zg-host .zg-sheet {
    display: none;
}

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

/* =====================================================================
   RESPONSIVE — bascule vers l'expérience tactile < 992px
   ===================================================================== */
@media (max-width: 991.98px) {

    .zg-host .zg-shell {
        display: block;
        padding: 12px 12px 0;
    }

    .zg-host .zg-rail {
        display: none;
    }

    .zg-host .zg-main {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    /* ---- barre d'onglets fixe (5 zones) ---- */
    .zg-host .zg-tabbar {
        display: grid;
        grid-template-columns:repeat(5, 1fr);
        align-items: end;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .94);
        -webkit-backdrop-filter: saturate(1.2) blur(12px);
        backdrop-filter: saturate(1.2) blur(12px);
        border-top: 1px solid var(--line);
    }

    .zg-host .zg-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        position: relative;
        min-height: 54px;
        padding: 6px 2px;
        text-decoration: none;
        cursor: pointer;
        font-family: var(--body);
        font-size: 10.5px;
        font-weight: 600;
        color: var(--gray);
        border-radius: 12px;
        transition: color .15s;
        -webkit-tap-highlight-color: transparent;
    }

    .zg-host .zg-tab-ic {
        position: relative;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: inherit;
    }

    .zg-host .zg-tab-ic svg {
        width: 23px;
        height: 23px;
        display: block;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .zg-host .zg-tab:hover {
        color: var(--b);
    }

    .zg-host .zg-tab:focus-visible {
        outline: 2px solid var(--b);
        outline-offset: 2px;
    }

    .zg-host .zg-tab.zg-active {
        color: var(--b);
    }

    .zg-host .zg-tab.zg-active::before {
        content: '';
        position: absolute;
        top: -1px;
        width: 24px;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--b), var(--o));
    }

    /* pastille compteur sur l'onglet Favoris */
    .zg-host .zg-tab-badge {
        position: absolute;
        top: -5px;
        left: calc(50% + 6px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--jb);
        font-size: 9.5px;
        font-weight: 600;
        line-height: 1;
        color: #fff;
        background: var(--b);
        border: 1.5px solid #fff;
        border-radius: 999px;
    }

    /* zone centrale : disque orange surélevé (signature) */
    .zg-host .zg-tab-cta {
        color: var(--o);
    }

    .zg-host .zg-tab-cta .zg-tab-ic {
        width: 48px;
        height: 48px;
        margin-top: -16px;
        border-radius: 50%;
        color: #fff;
        background: linear-gradient(135deg, var(--o), var(--o-l));
        border: 3px solid #fff;
    }

    .zg-host .zg-tab-cta .zg-tab-ic svg {
        width: 24px;
        height: 24px;
    }

    .zg-host .zg-tab-cta.zg-active {
        color: var(--o);
    }

    .zg-host .zg-tab-cta.zg-active::before {
        display: none;
    }

    /* ---- feuille « Mon espace » (bottom sheet) ---- */
    .zg-host .zg-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(13, 44, 110, .36);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility 0s linear .25s;
        cursor: pointer;
    }

    .zg-host .zg-sheet {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1101;
        background: #fff;
        border-top: 1px solid var(--line);
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
        padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
        max-height: 88vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(102%);
        transition: transform .32s cubic-bezier(.32, .72, 0, 1);
    }

    .zg-host .zg-sheet-toggle:checked ~ .zg-scrim {
        opacity: 1;
        visibility: visible;
        transition: opacity .25s ease, visibility 0s linear 0s;
    }

    .zg-host .zg-sheet-toggle:checked ~ .zg-sheet {
        transform: translateY(0);
    }

    .zg-host .zg-grab {
        display: block;
        width: 40px;
        height: 4px;
        border-radius: 99px;
        background: var(--line);
        margin: 4px auto 14px;
        cursor: pointer;
    }

    .zg-host .zg-sheet .zg-nav {
        margin-top: 2px;
    }

    .zg-host .zg-sheet .zg-rail-foot {
        margin-top: 14px;
    }

    /* la feuille réutilise .zg-nav a / .zg-logout / .zg-id / .zg-cta tels quels */
    .zg-host .zg-sheet .zg-cta {
        margin-top: 2px;
        margin-bottom: 2px;
    }
}

/* petites largeurs : resserrer la typo des onglets */
@media (max-width: 360px) {
    .zg-host .zg-tab {
        font-size: 10px;
    }

    .zg-host .zg-tab-ic svg {
        width: 22px;
        height: 22px;
    }
}

/* =====================================================================
   EN-TÊTE PREMIUM — barre unique du compte (desktop >=992px)
   Scope racine : .zg-topbar  ·  mêmes tokens que le rail (cohérence totale)
   Fond blanc · filet dégradé signature · aucune box-shadow · aucun
   transform au :hover · menus déroulants 100% CSS (hover + focus-within).
   ===================================================================== */
.zg-topbar {
    --o: #ff671f;
    --o-l: #ff8e53;
    --b: #2455ea;
    --bl: #81c4ff;
    --navy: #0d2c6e;
    --ink: #1b2440;
    --gray: #6b7785;
    --line: #e4ebf7;
    --display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'Space Mono', ui-monospace, Menlo, Consolas, monospace;
    --jb: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-family: var(--body);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.zg-topbar *, .zg-topbar *::before, .zg-topbar *::after {
    box-sizing: border-box;
}

/* filet dégradé de marque au sommet de la page (signature zm-page-header) */
.zg-topbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b), var(--o));
}

.zg-topbar-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--topbar-h, 70px);
}

/* --- marque --- */
.zg-topbar .zg-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.zg-topbar .zg-brand-logo {
    display: block;
    height: 34px;
    width: auto;
}

/* --- nav principale du site --- */
.zg-topbar .zg-topnav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.zg-topbar .zg-topnav-item {
    position: relative;
    padding-bottom: 9px;
    margin-bottom: -9px;
}

/* pont anti-décroche */
.zg-topbar .zg-trigger,
.zg-topbar .zg-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-family: var(--body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.zg-topbar .zg-trigger:hover,
.zg-topbar .zg-account-btn:hover {
    background: #f4f7fd;
    color: var(--b);
}

.zg-topbar .zg-trigger:focus-visible,
.zg-topbar .zg-account-btn:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 2px;
}

.zg-topbar .zg-caret {
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .65;
}

/* --- menus déroulants (pur CSS) --- */
.zg-topbar .zg-topmenu,
.zg-topbar .zg-account-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 232px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility 0s linear .16s;
    z-index: 20;
}

.zg-topbar .zg-account-menu {
    left: auto;
    right: 0;
}

.zg-topbar .zg-topnav-item:hover .zg-topmenu,
.zg-topbar .zg-topnav-item:focus-within .zg-topmenu,
.zg-topbar .zg-account:hover .zg-account-menu,
.zg-topbar .zg-account:focus-within .zg-account-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .16s ease, visibility 0s linear 0s;
}

.zg-topbar .zg-topmenu a,
.zg-topbar .zg-account-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}

.zg-topbar .zg-topmenu a:hover,
.zg-topbar .zg-account-menu a:hover {
    background: #f4f7fd;
    color: var(--ink);
}

.zg-topbar .zg-topmenu a:focus-visible,
.zg-topbar .zg-account-menu a:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: -2px;
}

.zg-topbar .zg-account-sep {
    height: 1px;
    background: var(--line);
    margin: 6px 8px;
}

.zg-topbar .zg-account-logout {
    color: var(--gray);
}

/* --- amas d'actions à droite --- */
.zg-topbar .zg-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* CTA Vendre — action principale (orange solide) */
.zg-topbar .zg-sell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--o), var(--o-l));
    transition: filter .15s;
}

.zg-topbar .zg-sell svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-topbar .zg-sell:hover {
    filter: brightness(1.06);
}

.zg-topbar .zg-sell:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* boutons icônes — favoris / notifications */
.zg-topbar .zg-iconbtn {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--gray);
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.zg-topbar .zg-iconbtn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-topbar .zg-iconbtn:hover {
    background: #f4f7fd;
    color: var(--b);
}

.zg-topbar .zg-iconbtn:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 2px;
}

.zg-topbar .zg-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jb);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: var(--o);
    border: 1.5px solid #fff;
    border-radius: 999px;
}

/* compte — puce avatar + menu */
.zg-topbar .zg-account {
    position: relative;
    padding-bottom: 9px;
    margin-bottom: -9px;
}

.zg-topbar .zg-account-btn {
    padding: 0 10px 0 6px;
    gap: 8px;
}

.zg-topbar .zg-account-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: radial-gradient(120% 120% at 30% 20%, #1b3a86 0%, var(--navy) 70%);
}

.zg-topbar .zg-account-avatar svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-topbar .zg-account-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* la barre premium cède la place au menu mobile (mmenu) sous 992px */
@media (max-width: 991.98px) {
    .zg-topbar {
        display: none;
    }

    .zg-host {
        padding-top: 60px;
    }
}

/* =====================================================================
   ACCESSIBILITÉ MOUVEMENT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .zg-host *,
    .zg-host *::before,
    .zg-host *::after,
    .zg-topbar *,
    .zg-topbar *::before,
    .zg-topbar *::after {
        transition: none !important;
        animation: none !important;
    }

    .zg-host .zg-sheet {
        transform: translateY(102%);
    }

    .zg-host .zg-sheet-toggle:checked ~ .zg-sheet {
        transform: translateY(0);
    }

    .zg-host .zg-scrim {
        transition: none !important;
    }
}