        /* ── TOKENS (source : index.css) ── */
        :root {
            --cream:      #F3EDE3;
            --cream-dark: #EAE2D5;
            --orange:     #B84B0C;
            --orange-lt:  #C95A18;
            --text:       #1A1208;
            --text-muted: #7A6E62;
            --text-light: #A89D92;
            --border:     rgba(26,18,8,0.1);
            --border-md:  rgba(26,18,8,0.16);
            --white:      #FFFFFF;
            --card-bg:    #FAF6F0;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { font-size: 16px; }

        body {
            font-family: 'Jost', sans-serif;
            background: var(--cream);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background-image: radial-gradient(circle, rgba(26,18,8,0.06) 1px, transparent 1px);
            background-size: 28px 28px;
            padding-bottom: 60px;
        }

        h1, h2, h3 {
            font-family: 'Playfair Display', Georgia, serif;
            font-weight: 600;
            line-height: 1.1;
        }

        a { text-decoration: none; color: inherit; }

        /* ── APP NAVBAR ── */
        .app-nav {
            position: sticky; top: 0; z-index: 100;
            background: var(--white);
            border-bottom: 1px solid var(--border);
            display: flex; align-items: center;
            padding: 0 28px; height: 54px;
        }
        .app-logo {
            font-family: 'Jost', sans-serif;
            font-weight: 600; font-size: 0.95rem;
            color: var(--text);
            text-decoration: none;
            display: flex; align-items: center; gap: 5px;
            flex-shrink: 0;
        }
        .logo-star { color: var(--orange); }

        .app-nav__tabs {
            display: flex; align-items: center;
            flex: 1; justify-content: center;
        }
        .nav-tab {
            display: inline-flex; align-items: center;
            height: 54px; padding: 0 18px;
            font-size: 0.84rem; font-weight: 500;
            color: var(--text-muted);
            text-decoration: none;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
        }
        .nav-tab:hover { color: var(--text); }
        .nav-tab.active {
            color: var(--orange);
            border-bottom-color: var(--orange);
            font-weight: 600;
        }

        .app-nav__right {
            display: flex; align-items: center; gap: 10px; flex-shrink: 0;
        }
        .nav-clock {
            width: 30px; height: 30px;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-muted); font-size: 1rem; cursor: pointer;
        }
        .nav-user { display: flex; align-items: center; gap: 8px; cursor: pointer; }
        .user-avatar {
            width: 30px; height: 30px; border-radius: 50%;
            background: var(--orange); color: white;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em;
        }
        .user-plan {
            font-size: 0.63rem; font-weight: 700;
            letter-spacing: 0.07em; text-transform: uppercase;
            color: var(--text-muted);
            background: var(--cream-dark);
            border: 1px solid var(--border-md);
            border-radius: 4px; padding: 3px 7px;
        }
        .user-arrow { font-size: 0.65rem; color: var(--text-light); }

        /* ── MAIN ── */
        .main {
            max-width: 540px;
            margin: 0 auto;
            padding: 32px 20px 0;
            flex: 1 0 auto;
        }

        /* ── TITRE ── */
        .page-title {
            font-size: 2rem;
            letter-spacing: -0.02em;
            color: var(--text);
            margin-bottom: 24px;
        }

        /* ── CARTE ESSAI ── */
        .trial-card {
            background: rgba(184,75,12,0.06);
            border: 1px solid rgba(184,75,12,0.18);
            border-radius: 16px;
            padding: 22px 24px;
            margin-bottom: 16px;
        }

        .trial-alert {
            display: flex; align-items: center; gap: 8px;
            margin-bottom: 4px;
        }
        .trial-alert-icon {
            font-size: 0.95rem;
            color: var(--orange);
        }
        .trial-alert-text {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--orange);
        }

        .trial-sub {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-bottom: 18px;
        }

        /* Barre de progression */
        .progress-block {}

        .progress-labels {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 7px;
        }
        .progress-label {
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-muted);
        }
        .progress-pct {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .progress-bar {
            height: 7px;
            border-radius: 99px;
            background: rgba(26,18,8,0.1);
            overflow: hidden;
            margin-bottom: 16px;
        }
        .progress-fill {
            height: 100%;
            border-radius: 99px;
            background: var(--orange);
            width: 20%;
            transition: width 0.6s ease;
        }

        /* Badge "bientôt disponible" */
        .trial-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'Jost', sans-serif;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-muted);
            background: var(--white);
            border: 1px solid var(--border-md);
            border-radius: 8px;
            padding: 7px 14px;
            cursor: default;
        }
        .trial-badge-icon { font-size: 0.82rem; }

        /* ── TABLEAU ABONNEMENT ── */
        .sub-card {
            background: var(--white);
            border: 1px solid var(--border-md);
            border-radius: 16px;
            padding: 22px 24px;
            margin-bottom: 16px;
        }
        .sub-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }
        .sub-title {
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
        }
        .sub-status {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            padding: 4px 10px;
            border-radius: 5px;
        }
        .sub-status.trial {
            background: rgba(184,75,12,0.08);
            color: var(--orange);
            border: 1px solid rgba(184,75,12,0.2);
        }
        .sub-status.active {
            background: rgba(34,197,94,0.1);
            color: #16a34a;
            border: 1px solid rgba(34,197,94,0.25);
        }
        .sub-status.expired {
            background: rgba(192,57,43,0.08);
            color: #c0392b;
            border: 1px solid rgba(192,57,43,0.2);
        }
        .sub-rows { display: flex; flex-direction: column; gap: 10px; }
        .sub-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.82rem;
        }
        .sub-row-label { color: var(--text-muted); }
        .sub-row-value { font-weight: 600; color: var(--text); }
        /* CORRECTION LOCALE — AFFICHAGE ABONNEMENT RÉSILIÉ : la ligne
           "Résiliation" affiche une phrase complète (jamais une simple date
           courte comme les autres lignes) — sans ce correctif, .sub-row de
           base (align-items:center, sans retour à la ligne) tasse ou
           chevauche ce texte contre le libellé. Le libellé reste épinglé en
           haut à gauche, la phrase s'aligne à droite et retourne à la ligne
           proprement — même police/couleurs/tailles que .sub-row-label/
           .sub-row-value, aucun autre style de la carte modifié. */
        .sub-row--wrap {
            align-items: flex-start;
            gap: 12px;
        }
        .sub-row--wrap .sub-row-label {
            flex: 0 0 auto;
            white-space: nowrap;
            padding-top: 1px;
        }
        .sub-row--wrap .sub-row-value {
            flex: 1 1 auto;
            min-width: 0;
            text-align: right;
            white-space: normal;
            overflow-wrap: break-word;
        }
        .pub-count-big {
            font-size: 1.6rem;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
            letter-spacing: -0.02em;
            color: var(--text);
        }
        .pub-count-detail {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 4px;
            margin-bottom: 16px;
        }

        /* ══════════════════════════════════════════════
           RESPONSIVE — TABLETTE (≤ 768px)
           Réduction des espacements horizontaux de la nav et des
           onglets uniquement. Ils restent sur une seule ligne.
           Aucun autre élément de la page n'est modifié.
        ══════════════════════════════════════════════ */
        @media (max-width: 768px) {
            .app-nav {
                padding: 0 16px;
            }
            .nav-tab {
                padding: 0 10px;
                font-size: 0.76rem;
            }
        }

        /* ══════════════════════════════════════════════
           RESPONSIVE — SMARTPHONE (≤ 480px)
           La nav passe sur deux lignes : logo + menu utilisateur
           (horloge/thème + compte) en haut, les 4 onglets en
           dessous, avec repli naturel en 2×2 si nécessaire.
           Aucun défilement horizontal, aucun élément masqué,
           aucun menu hamburger — uniquement flex-wrap/order/
           flex-basis sur la structure HTML existante.
        ══════════════════════════════════════════════ */
        @media (max-width: 480px) {
            .app-nav {
                flex-wrap: wrap;
                height: auto;
                padding: 10px 16px;
                row-gap: 8px;
            }
            .app-logo {
                order: 1;
            }
            .app-nav__right {
                order: 2;
                margin-left: auto;
            }
            .app-nav__tabs {
                order: 3;
                flex-basis: 100%;
                flex-wrap: wrap;
                gap: 4px;
            }
            .nav-tab {
                height: auto;
                padding: 8px 12px;
                font-size: 0.74rem;
            }
        }

        /* ══════════════════════════════════════════════
           RESPONSIVE — ORDINATEUR (≥ 900px)
           Les deux cartes Abonnement passent en grille 2 colonnes
           égales, le titre occupant toute la largeur au-dessus.
           Aucune largeur/hauteur fixe sur les cartes : elles
           remplissent naturellement leur colonne via CSS Grid.
           N'affecte ni la disposition empilée existante sous 900px,
           ni les deux media queries ci-dessus.
        ══════════════════════════════════════════════ */
        @media (min-width: 900px) {
            .main {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                column-gap: 28px;
                max-width: 900px;
            }
            .page-title {
                grid-column: 1 / -1;
            }
            .sub-card {
                padding: 28px 32px;
                margin-bottom: 0;
            }
            .sub-title {
                font-size: 1.1rem;
            }
            .pub-count-big {
                font-size: 2rem;
            }
            .sub-rows {
                gap: 14px;
            }
        }
