/* ==========================================================
   TCF Account Redesign v3
   Inspired by the reference dashboard layout
   Focus: slimmer vertical sidebar, smaller text, cleaner cards
   ========================================================== */

body.tcf-account-area {
    background:
        radial-gradient(circle at top left, rgba(28, 155, 193, 0.12), transparent 26%),
        radial-gradient(circle at right bottom, rgba(116, 47, 203, 0.10), transparent 22%),
        linear-gradient(180deg, #f4f6fb 0%, #edf1f7 100%);
}

.tcf-account-area {
    --tcf-bg: #eef2f8;
    --tcf-surface: #ffffff;
    --tcf-surface-soft: #f7f9fd;
    --tcf-surface-alt: #f1f4fa;
    --tcf-ink: #0f172a;
    --tcf-ink-soft: #64748b;
    --tcf-line: #dde4ef;
    --tcf-brand: #13177d;
    --tcf-brand-2: #10135f;
    --tcf-accent: #ff9d00;
    --tcf-accent-2: #ffb53d;
    --tcf-accent-soft: #fff2db;
    --tcf-accent-text: #8d5600;
    --tcf-shadow-soft: 0 18px 38px rgba(24, 37, 59, 0.08);
    --tcf-shadow-md: 0 24px 60px rgba(24, 37, 59, 0.12);
    --tcf-radius-xl: 28px;
    --tcf-radius-lg: 22px;
    --tcf-radius-md: 16px;
    --tcf-radius-sm: 12px;
}

.tcf-account-area #primary,
.tcf-account-area .site-content,
.tcf-account-area .entry-content,
.tcf-account-area .ast-container,
.tcf-account-area .content-area {
    background: transparent;
}

.tcf-account-area .entry-content {
    width: 100%;
}

.tcf-account-area .tcf-account-shell {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 48px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(244, 247, 252, 0.95) 100%);
    border: 1px solid rgba(214, 222, 236, 0.9);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(33, 52, 84, 0.12);
    backdrop-filter: blur(8px);
}

.tcf-account-area .tcf-account-shell.tcf-shell-breakout {
    position: relative;
    width: min(1260px, calc(100vw - 40px));
    max-width: min(1260px, calc(100vw - 40px));
    left: 50%;
    transform: translateX(-50%);
}

.tcf-account-area .tcf-account-sidebar,
.tcf-account-area .tcf-account-main {
    min-width: 0;
}

.tcf-account-area .tcf-account-main {
    display: grid;
    gap: 18px;
}

.tcf-account-area .tcf-account-sidebar .mp_wrapper,
.tcf-account-area .tcf-account-main .mp_wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.tcf-account-area #mepr-account-nav,
.tcf-account-area .mepr-account-form,
.tcf-account-area .mepr-account-table,
.tcf-account-area .mepr_error,
.tcf-account-area .mepr_updated,
.tcf-account-area .mepr-no-active-subscriptions,
.tcf-account-area .mp-no-subs,
.tcf-account-area .tcf-section-head,
.tcf-account-area .tcf-app-hero,
.tcf-account-area .tcf-app-card {
    box-shadow: var(--tcf-shadow-soft);
}

/* Sidebar */
.tcf-account-area #mepr-account-nav {
    position: sticky;
    top: 104px;
    min-height: min(760px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #16188d 0%, #0f115e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 18px 12px !important;
    overflow: hidden;
}

.tcf-account-area #mepr-account-nav::before {
    content: "TCF CANADA";
    display: block;
    margin-bottom: 14px;
    padding: 0 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tcf-account-area #mepr-account-nav ul {
    list-style: none !important;
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item,
.tcf-account-area #mepr-account-nav li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
.tcf-account-area #mepr-account-nav li:last-child {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a,
.tcf-account-area #mepr-account-nav li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 42px;
    padding: 9px 10px !important;
    border-radius: 11px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
    text-decoration: none !important;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
.tcf-account-area #mepr-account-nav li a::before {
    content: "•";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #f6f8ff;
    font-family: "Segoe UI Symbol", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.tcf-account-area #mepr-account-home::before,
.tcf-account-area #mepr-account-nav a[href*="action=home"]::before {
    content: "⌂";
}

.tcf-account-area #mepr-account-subscriptions::before,
.tcf-account-area #mepr-account-nav a[href*="action=subscriptions"]::before {
    content: "◫";
}

.tcf-account-area #mepr-account-payments::before,
.tcf-account-area #mepr-account-nav a[href*="action=payments"]::before {
    content: "¤";
}

.tcf-account-area #mepr-account-nav a[href*="comprehension-orale"]::before {
    content: "◌";
}

.tcf-account-area #mepr-account-nav a[href*="comprehension-ecrite"]::before {
    content: "▤";
}

.tcf-account-area #mepr-account-nav a[href*="expression-orale"]::before {
    content: "◎";
}

.tcf-account-area #mepr-account-nav a[href*="expression-ecrite"]::before {
    content: "✎";
}

.tcf-account-area #mepr-account-nav a[href*="cv-premium"]::before {
    content: "★";
}

.tcf-account-area #mepr-account-nav a[href*="whatsapp"]::before {
    content: "✆";
}

.tcf-account-area #mepr-account-logout::before,
.tcf-account-area #mepr-account-nav a[href*="logout"]::before {
    content: "↪";
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a:hover,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a,
.tcf-account-area #mepr-account-nav li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a {
    background: linear-gradient(180deg, #ffab1f 0%, #f69200 100%) !important;
    border-color: rgba(255, 171, 31, 0.72) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(246, 146, 0, 0.28);
}

.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a::before,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a::before {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.14);
}

/* Header block */
.tcf-account-area .tcf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid var(--tcf-line);
    border-radius: 20px;
}

.tcf-account-area .tcf-section-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.tcf-account-area .tcf-section-kicker {
    margin: 0 0 8px;
    color: #6b7c94;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tcf-account-area .tcf-section-head h1 {
    margin: 0 0 8px;
    color: var(--tcf-ink);
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.04;
}

.tcf-account-area .tcf-section-head p {
    margin: 0;
    max-width: 620px;
    color: var(--tcf-ink-soft);
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.tcf-account-area .tcf-section-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 16px 9px 10px;
    border-radius: 11px;
    background: linear-gradient(180deg, #ffab1f 0%, #f69200 100%);
    border: 1px solid rgba(255, 171, 31, 0.72);
    box-shadow: 0 12px 22px rgba(246, 146, 0, 0.28);
    color: #ffffff !important;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.tcf-account-area .tcf-section-btn::before {
    content: "⌂";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: "Segoe UI Symbol", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.tcf-account-area .tcf-section-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(246, 146, 0, 0.35);
}

/* Hero */
.tcf-account-area .tcf-app-dash {
    display: grid;
    gap: 20px;
}

.tcf-account-area .tcf-app-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 30px;
    border-radius: 24px;
    background:
        radial-gradient(circle at right center, rgba(255, 167, 28, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
    border: 1px solid var(--tcf-line);
}

.tcf-account-area .tcf-app-hero::before,
.tcf-account-area .tcf-app-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 167, 28, 0.06);
}

.tcf-account-area .tcf-app-hero::before {
    width: 220px;
    height: 220px;
    right: -42px;
    bottom: -90px;
}

.tcf-account-area .tcf-app-hero::after {
    width: 140px;
    height: 140px;
    top: -30px;
    right: 28%;
}

.tcf-account-area .tcf-app-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.tcf-account-area .tcf-hero-kicker {
    margin: 0 0 10px;
    color: #657792;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tcf-account-area .tcf-hero-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tcf-account-area .tcf-hero-avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(180deg, #284e7f 0%, #233d66 100%);
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 16px 26px rgba(36, 61, 102, 0.18);
}

.tcf-account-area .tcf-hero-copy {
    max-width: 560px;
}

.tcf-account-area .tcf-hero-copy h2 {
    margin: 0 0 6px;
    color: var(--tcf-ink);
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.tcf-account-area .tcf-hero-copy p {
    margin: 0;
    color: var(--tcf-ink-soft);
    font-family: "Outfit", sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
}

.tcf-account-area .tcf-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
}

.tcf-account-area .tcf-hero-chip {
    display: none !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff6e6;
    border: 1px solid #ffe2ab;
    color: #9b6500;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.tcf-account-area .tcf-btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #233d66;
    border: 1px solid #233d66;
    color: #ffffff !important;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

/* =============================================
   CARDS — Pastel style with circle icon
   ============================================= */
.tcf-account-area .tcf-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tcf-account-area .tcf-app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px 22px 20px;
    border-radius: 20px;
    background: var(--tcf-card-bg, #f0f4ff);
    border: 1.5px solid var(--tcf-card-border, rgba(0,0,0,0.06));
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: none;
    overflow: hidden;
}

.tcf-account-area .tcf-app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

/* Circle icon (re-use badge element as icon) */
.tcf-account-area .tcf-card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--tcf-card-icon-bg, #3b82f6);
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    flex-shrink: 0;
    margin-bottom: 2px;
    box-shadow: 0 4px 12px var(--tcf-card-icon-shadow, rgba(59, 130, 246, 0.3));
}

.tcf-account-area .tcf-card-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tcf-account-area .tcf-card-copy h3 {
    margin: 0;
    color: #0f172a;
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.tcf-account-area .tcf-card-copy p {
    margin: 0;
    color: #4b5675;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.tcf-account-area .tcf-card-link {
    display: none; /* hidden — card itself is clickable */
}

/* === Card color themes === */
.tcf-account-area .tcf-card-sky {
    --tcf-card-bg: #eef4ff;
    --tcf-card-border: rgba(59, 130, 246, 0.12);
    --tcf-card-icon-bg: #3b82f6;
    --tcf-card-icon-shadow: rgba(59, 130, 246, 0.28);
}

.tcf-account-area .tcf-card-indigo {
    --tcf-card-bg: #eef0ff;
    --tcf-card-border: rgba(99, 102, 241, 0.12);
    --tcf-card-icon-bg: #6366f1;
    --tcf-card-icon-shadow: rgba(99, 102, 241, 0.28);
}

.tcf-account-area .tcf-card-violet {
    --tcf-card-bg: #f5f0ff;
    --tcf-card-border: rgba(139, 92, 246, 0.12);
    --tcf-card-icon-bg: #8b5cf6;
    --tcf-card-icon-shadow: rgba(139, 92, 246, 0.28);
}

.tcf-account-area .tcf-card-rose {
    --tcf-card-bg: #fff0f3;
    --tcf-card-border: rgba(244, 63, 94, 0.12);
    --tcf-card-icon-bg: #f43f5e;
    --tcf-card-icon-shadow: rgba(244, 63, 94, 0.28);
}

.tcf-account-area .tcf-card-amber {
    --tcf-card-bg: #fffbeb;
    --tcf-card-border: rgba(245, 158, 11, 0.15);
    --tcf-card-icon-bg: #f59e0b;
    --tcf-card-icon-shadow: rgba(245, 158, 11, 0.3);
}

.tcf-account-area .tcf-card-emerald {
    --tcf-card-bg: #e8f8f2;
    --tcf-card-border: rgba(16, 185, 129, 0.12);
    --tcf-card-icon-bg: #10b981;
    --tcf-card-icon-shadow: rgba(16, 185, 129, 0.28);
}



/* Forms and tables */
.tcf-account-area .mepr-account-form,
.tcf-account-area .mepr-account-table,
.tcf-account-area .mepr_error,
.tcf-account-area .mepr_updated,
.tcf-account-area .mepr-no-active-subscriptions,
.tcf-account-area .mp-no-subs {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
    border: 1px solid var(--tcf-line) !important;
    border-radius: 20px !important;
}

.tcf-account-area .mepr-account-form {
    padding: 26px !important;
}

.tcf-account-area .mepr-account-table {
    width: 100% !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.tcf-account-area .mepr-account-table thead tr {
    background: #f3f6fb !important;
}

.tcf-account-area .mepr-account-table th {
    padding: 14px 18px !important;
    border: 0 !important;
    color: #6b7d95 !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.tcf-account-area .mepr-account-table td {
    padding: 16px 18px !important;
    border: 0 !important;
    border-top: 1px solid #edf1f7 !important;
    color: var(--tcf-ink) !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    vertical-align: top !important;
}

.tcf-account-area .mepr-account-table a {
    color: #274979 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.tcf-account-area .mepr-account-product {
    font-weight: 700;
}

.tcf-account-area .mepr-account-subscr-id,
.tcf-account-area .mepr-account-terms,
.tcf-account-area .mepr-account-rebill,
.tcf-account-area .mepr-account-created-at {
    color: var(--tcf-ink-soft);
    font-size: 12.5px;
}

.tcf-account-area .mepr-active,
.tcf-account-area .mepr-account-active .mepr-active,
.tcf-account-area .mepr-account-active span.mepr-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e9f7ef;
    color: #247347;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tcf-account-area .mepr-inactive,
.tcf-account-area .mepr-account-active .mepr-inactive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fdeceb;
    color: #a43631;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tcf-account-area .mepr-account-row-action,
.tcf-account-area .mepr-account-actions a {
    display: inline-block;
    margin: 4px 10px 4px 0;
    padding: 0;
    background: transparent;
    border: none;
    color: #6b7d95 !important;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: none;
    transition: color 0.15s ease !important;
}

.tcf-account-area .mepr-account-row-action:hover,
.tcf-account-area .mepr-account-actions a:hover {
    background: transparent;
    border: none;
    color: #16188d !important; /* Le texte passe en bleu foncé au survol */
    box-shadow: none;
    transform: none;
}

.tcf-account-area .mp-form-row {
    margin-bottom: 18px;
}

.tcf-account-area .mp-form-label {
    margin-bottom: 7px;
}

.tcf-account-area .mp-form-label label {
    display: block;
    color: var(--tcf-ink);
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tcf-account-area .mp-form-label .cc-error,
.tcf-account-area .mepr-form-has-errors {
    display: none !important;
}

.tcf-account-area .mepr-form input[type="text"],
.tcf-account-area .mepr-form input[type="email"],
.tcf-account-area .mepr-form input[type="password"],
.tcf-account-area .mepr-form input[type="tel"],
.tcf-account-area .mepr-form input[type="number"],
.tcf-account-area .mepr-form select,
.tcf-account-area .mepr-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e0e6f0;
    border-radius: 12px;
    color: var(--tcf-ink);
    font-family: "Outfit", sans-serif;
    font-size: 14.5px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.tcf-account-area .mepr-form textarea {
    min-height: 110px;
}

.tcf-account-area .mepr-form input:focus,
.tcf-account-area .mepr-form select:focus,
.tcf-account-area .mepr-form textarea:focus {
    border-color: #b9c8de;
    outline: none;
    box-shadow: 0 0 0 4px rgba(17, 23, 95, 0.08);
}

.tcf-account-area .mepr-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 12px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffab1f 0%, #f69100 100%) !important;
    color: #ffffff !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 14px 22px rgba(246, 146, 0, 0.18) !important;
}

.tcf-account-area .mepr_error,
.tcf-account-area .mepr_updated,
.tcf-account-area .mepr-no-active-subscriptions,
.tcf-account-area .mp-no-subs {
    padding: 18px 20px !important;
    color: var(--tcf-ink);
    font-family: "Outfit", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
}

.tcf-account-area .mepr_error {
    border-color: #f1d1ce !important;
    background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%) !important;
}

.tcf-account-area .mepr_updated {
    border-color: #d5eadb !important;
    background: linear-gradient(180deg, #f8fff9 0%, #ffffff 100%) !important;
}

.tcf-account-area #mepr-subscriptions-paging,
.tcf-account-area #mepr-payments-paging {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 0 2px;
}

.tcf-account-area #mepr-subscriptions-paging a,
.tcf-account-area #mepr-payments-paging a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--tcf-line);
    color: #2b456c;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.tcf-account-area .mepr_spacer,
.tcf-account-area #mepr-account-welcome-message {
    display: none !important;
}

.tcf-account-area.tcf-account-mode-dashboard .mepr-account-form,
.tcf-account-area.tcf-account-mode-dashboard .mepr-account-change-password {
    display: none !important;
}

.tcf-account-area [class*="mepr_address_line"],
.tcf-account-area [class*="mepr_city"],
.tcf-account-area [class*="mepr_country"],
.tcf-account-area [class*="mepr_state"],
.tcf-account-area [class*="mepr_zip"] {
    display: none !important;
}

.tcf-account-area .mepr_mepr-address-one,
.tcf-account-area .mepr_mepr-address-two,
.tcf-account-area .mepr_mepr-address-city,
.tcf-account-area .mepr_mepr-address-state,
.tcf-account-area .mepr_mepr-address-zip,
.tcf-account-area .mepr_mepr-address-country {
    display: none !important;
}

/* Tablet */
@media (max-width: 1180px) {
    .tcf-account-area .tcf-account-shell.tcf-shell-breakout {
        position: static;
        width: 100%;
        max-width: 100%;
        left: auto;
        transform: none;
    }
}

@media (max-width: 980px) {
    .tcf-account-area .tcf-account-shell {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 18px auto 32px;
        padding: 10px;
        border-radius: 24px;
    }

    .tcf-account-area #mepr-account-nav {
        position: static;
        top: auto;
        min-height: 0;
        padding: 14px 10px !important;
        border-radius: 18px !important;
    }

    .tcf-account-area #mepr-account-nav::before {
        margin-bottom: 10px;
        padding: 0 6px 10px;
    }

    .tcf-account-area #mepr-account-nav ul {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        padding-bottom: 6px !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tcf-account-area #mepr-account-nav ul::-webkit-scrollbar {
        display: none;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item,
    .tcf-account-area #mepr-account-nav li,
    .tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
    .tcf-account-area #mepr-account-nav li:last-child {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        min-width: max-content;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a,
    .tcf-account-area #mepr-account-nav li a {
        min-height: 40px;
        padding: 8px 14px !important;
        gap: 8px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
    .tcf-account-area #mepr-account-nav li a::before {
        width: 21px;
        height: 21px;
        flex: 0 0 21px;
        font-size: 10px;
        border-radius: 7px;
    }

    .tcf-account-area .tcf-section-head {
        align-items: center;
        padding: 24px 26px;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .tcf-account-area .tcf-account-shell {
        gap: 14px;
        margin: 14px auto 26px;
        padding: 8px;
        border-radius: 20px;
    }

    .tcf-account-area .tcf-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tcf-account-area .tcf-app-hero,
    .tcf-account-area .mepr-account-form {
        padding: 22px !important;
    }

    .tcf-account-area .tcf-section-head {
        flex-wrap: nowrap !important;
        gap: 12px;
        padding: 16px !important;
    }

    .tcf-account-area .tcf-section-btn {
        width: auto !important;
        padding: 6px 12px 6px 8px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }

    .tcf-account-area .tcf-section-btn::before {
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        font-size: 10px !important;
    }

    .tcf-account-area .tcf-app-hero-grid {
        align-items: start;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .tcf-account-area .tcf-app-hero::before {
        width: 140px;
        height: 140px;
        right: -34px;
        bottom: -44px;
    }

    .tcf-account-area .tcf-app-hero::after {
        width: 90px;
        height: 90px;
        top: -20px;
        right: 18px;
    }

    .tcf-account-area .tcf-hero-main {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .tcf-account-area .tcf-hero-avatar {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 18px;
    }

    .tcf-account-area .tcf-hero-copy h2 {
        font-size: 18px;
        line-height: 1.1;
        margin-bottom: 2px;
    }

    .tcf-account-area .tcf-hero-kicker {
        font-size: 9px;
        margin-bottom: 8px;
    }

    .tcf-account-area .tcf-btn-edit {
        min-height: 38px;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 12px;
    }

    .tcf-account-area .tcf-hero-copy p,
    .tcf-account-area .tcf-section-head p {
        font-size: 14px;
    }

    .tcf-account-area .tcf-section-btn {
        width: auto;
    }

    .tcf-account-area .tcf-app-card {
        min-height: 0;
        padding: 22px;
    }

    .tcf-account-area .tcf-card-copy h3 {
        font-size: 17px;
    }

    .tcf-account-area .mepr-account-table,
    .tcf-account-area .mepr-account-table tbody,
    .tcf-account-area .mepr-account-table tr {
        display: block !important;
        width: 100% !important;
    }

    .tcf-account-area .mepr-account-table thead {
        display: none !important;
    }

    .tcf-account-area .mepr-account-table {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .tcf-account-area .mepr-account-table tr {
        background: #ffffff;
        border: 1px solid var(--tcf-line) !important;
        border-radius: 16px;
        margin-bottom: 16px;
        padding: 0 20px !important;
    }

    .tcf-account-area .mepr-account-table tr:last-child {
        margin-bottom: 0;
    }

    .tcf-account-area .mepr-account-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #edf1f7 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        white-space: normal !important;
        text-align: right;
        gap: 16px;
        width: 100% !important;
        box-sizing: border-box;
    }

    .tcf-account-area .mepr-account-table td:last-child {
        border-bottom: 0 !important;
    }

    .tcf-account-area .mepr-account-table td::before {
        content: attr(data-label);
        display: block;
        font-family: "Outfit", sans-serif;
        font-size: 13px;
        font-weight: 800;
        color: #0b1a2e;
        text-transform: uppercase;
        text-align: left;
        flex: 0 0 auto;
    }

    .tcf-account-area #mepr-subscriptions-paging,
    .tcf-account-area #mepr-payments-paging {
        flex-direction: column;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .tcf-account-area .tcf-account-shell {
        padding: 8px;
    }

    .tcf-account-area #mepr-account-nav {
        padding: 14px 10px !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a,
    .tcf-account-area #mepr-account-nav li a {
        min-height: 40px;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .tcf-account-area .tcf-section-head h1 {
        font-size: 19px;
        line-height: 1.1;
    }

    .tcf-account-area .tcf-section-head p {
        font-size: 12px;
        line-height: 1.4;
    }

    .tcf-account-area .tcf-card-badge {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 16px;
    }

    .tcf-account-area .tcf-card-copy h3 {
        font-size: 15px;
    }

    .tcf-account-area .tcf-card-copy p {
        font-size: 12px;
    }

    .tcf-account-area .tcf-app-card {
        padding: 18px 14px;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .tcf-account-area .tcf-app-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


/* ==========================================================
   TCF CANADA — Dashboard V4
   Designed for TCF Account
   Desktop / Tablet / Mobile
   ========================================================== */

body.tcf-account-area {
    background: #f5f8fc !important;
    color: #10295b;
}

body.tcf-account-area .site-content,
body.tcf-account-area #primary,
body.tcf-account-area .content-area,
body.tcf-account-area .entry-content,
body.tcf-account-area .ast-container {
    background: transparent !important;
}

.tcf-account-area {
    --v4-navy: #10295b;
    --v4-blue: #1677f2;
    --v4-purple: #7447ee;
    --v4-orange: #ff7415;
    --v4-green: #10a85b;
    --v4-muted: #5f7497;
    --v4-line: #e0e8f3;
    --v4-shadow: 0 10px 30px rgba(24, 55, 100, .07);
    --v4-shadow-sm: 0 5px 18px rgba(24, 55, 100, .06);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.tcf-account-area .tcf-account-shell {
    width: min(1480px, calc(100vw - 28px)) !important;
    max-width: 1480px !important;
    grid-template-columns: 214px minmax(0, 1fr) !important;
    gap: 0 !important;
    margin: 14px auto 40px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 45px rgba(25, 58, 105, .08) !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
}

.tcf-account-area .tcf-account-sidebar {
    min-height: 780px;
    background: #fff !important;
    border-right: 1px solid var(--v4-line);
}

.tcf-account-area .tcf-account-sidebar .mp_wrapper {
    height: 100%;
}

.tcf-account-area #mepr-account-nav {
    position: sticky !important;
    top: 14px !important;
    min-height: 780px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 12px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.tcf-account-area #mepr-account-nav::before {
    content: "TCF\A CANADA";
    white-space: pre;
    display: block;
    margin: 0 6px 22px !important;
    padding: 3px 8px 20px !important;
    border-bottom: 1px solid #e8edf4 !important;
    color: var(--v4-navy) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 17px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.tcf-account-area #mepr-account-nav ul {
    display: grid !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item,
.tcf-account-area #mepr-account-nav li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
.tcf-account-area #mepr-account-nav li:last-child {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #e8edf4 !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a,
.tcf-account-area #mepr-account-nav li a {
    position: relative !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #173363 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: .18s ease !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
.tcf-account-area #mepr-account-nav li a::before {
    content: "" !important;
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f2f6fb !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Clickable sidebar logo */
.tcf-account-area #mepr-account-nav.tcf-has-sidebar-brand::before {
    content: none !important;
    display: none !important;
}

.tcf-account-area .tcf-sidebar-brand {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 6px 22px !important;
    padding: 3px 8px 20px !important;
    border-bottom: 1px solid #e8edf4 !important;
    color: var(--v4-navy) !important;
    text-decoration: none !important;
    font-family: "Inter", sans-serif !important;
    font-size: 17px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.tcf-account-area .tcf-sidebar-brand:hover,
.tcf-account-area .tcf-sidebar-brand:focus-visible {
    color: #1d74f5 !important;
}

.tcf-account-area .tcf-sidebar-brand-leaf {
    flex: 0 0 auto !important;
    color: #f43f7f !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.tcf-account-area .tcf-sidebar-brand-text {
    display: block !important;
}

@media (max-width: 900px), (max-height: 560px) and (max-width: 1180px) {
    html body.tcf-account-area .tcf-sidebar-brand {
        flex: 0 0 auto !important;
        margin: 0 50px 16px 4px !important;
        padding: 0 0 15px !important;
        border-bottom: 1px solid #e8edf4 !important;
        font-size: 16px !important;
        line-height: 1.05 !important;
    }
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a::after,
.tcf-account-area #mepr-account-nav li a::after {
    content: "" !important;
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background: #18386d;
    -webkit-mask: var(--tcf-nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E")) center / contain no-repeat;
    mask: var(--tcf-nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='black'/%3E%3C/svg%3E")) center / contain no-repeat;
    pointer-events: none;
}

.tcf-account-area #mepr-account-home,
.tcf-account-area #mepr-account-nav a[href*="action=home"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-subscriptions,
.tcf-account-area #mepr-account-nav a[href*="action=subscriptions"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='6' width='14' height='12' rx='1'/%3E%3Cpath d='M10 6v12'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-payments,
.tcf-account-area #mepr-account-nav a[href*="action=payments"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 15h3'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="comprehension-orale"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3'/%3E%3Cpath d='M4 14a2 2 0 0 0 2 2h1v-5H6a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M20 14a2 2 0 0 1-2 2h-1v-5h1a2 2 0 0 1 2 2Z'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="comprehension-ecrite"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="expression-orale"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="expression-ecrite"],
.tcf-account-area #mepr-account-nav a[href*="simulateur-ai"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 20 4.2-1 9.9-9.9a2.1 2.1 0 0 0-3-3L5.2 16 4 20Z'/%3E%3Cpath d='m13.5 7.5 3 3'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="premium"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 4 4 5-7 5 7 4-4v10H3Z'/%3E%3Cpath d='M3 18h18'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="cv-premium"],
.tcf-account-area #mepr-account-nav a[href*="modeles-cv"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 3v5h5M9 15l2 2 4-5'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav a[href*="whatsapp"],
.tcf-account-area #mepr-account-nav a[href*="wa.me"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.9 7L4 20l1.5-4.1A8 8 0 1 1 20 11.5Z'/%3E%3Cpath d='M9 9c.5 2 2 3.5 4 4l1.2-1.2 2 1c-.4 1.4-1.4 2.2-2.8 2.2A7.5 7.5 0 0 1 7 8.6c0-1.4.8-2.4 2.2-2.8l1 2Z'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-logout,
.tcf-account-area #mepr-account-nav a[href*="logout"] {
    --tcf-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a:hover,
.tcf-account-area #mepr-account-nav li a:hover {
    color: var(--v4-blue) !important;
    background: #f5f9ff !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item a:hover::after,
.tcf-account-area #mepr-account-nav li a:hover::after {
    background: var(--v4-blue);
}

.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a {
    color: #fff !important;
    background: var(--v4-blue) !important;
    box-shadow: 0 7px 16px rgba(22, 119, 242, .18) !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a::before,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a::before {
    background: rgba(255,255,255,.16) !important;
}

.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a::after,
.tcf-account-area #mepr-account-nav .mepr-nav-item.mepr-active a::after {
    background: #fff;
}

.tcf-account-area .tcf-account-main {
    min-width: 0;
    background: #f9fbfe !important;
    display: block !important;
}

.tcf-account-area .tcf-dash-v4 {
    width: 100%;
    min-width: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--v4-navy);
}

.tcf-account-area .tcf-dash-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 10px 18px;
    background: #fff;
    border-bottom: 1px solid #e7edf5;
}

.tcf-account-area .tcf-dash-mobile-menu {
    display: none;
}

.tcf-account-area .tcf-dash-top-actions {
    min-height: 62px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    padding-left: 18px;
    border-left: 1px solid #e7edf5;
}

.tcf-account-area .tcf-dash-user {
    display: flex;
    align-items: center;
    gap: 9px;
    color: inherit !important;
    text-decoration: none !important;
}

.tcf-account-area .tcf-dash-user:hover .tcf-avatar {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(22, 119, 242, .22);
}

.tcf-account-area .tcf-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--v4-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tcf-account-area .tcf-user-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tcf-account-area .tcf-user-copy small {
    color: #7184a0;
    font-size: 10px;
    margin-bottom: 2px;
}

.tcf-account-area .tcf-user-copy strong {
    color: var(--v4-navy);
    font-size: 12px;
    font-weight: 750;
}

.tcf-account-area .tcf-premium-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff4d8;
    color: #b56b00;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.tcf-account-area .tcf-premium-pill span {
    font-size: 14px;
}

.tcf-account-area .tcf-dash-hero-v4 {
    position: relative;
    min-height: 164px;
    margin: 18px 18px 0;
    padding: 26px 24px;
    overflow: hidden;
    border: 1px solid #d8e8f7;
    border-radius: 15px;
    background:
        radial-gradient(circle at 76% 18%, rgba(255,255,255,.72), transparent 30%),
        linear-gradient(100deg, #e9f4ff 0%, #d8ebff 55%, #bfe0fa 100%);
}

.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg {
    min-height: 210px;
    background:
        linear-gradient(90deg, rgba(232,244,255,.96) 0%, rgba(232,244,255,.84) 38%, rgba(232,244,255,.18) 72%),
        var(--tcf-hero-bg-image) center right / cover no-repeat,
        linear-gradient(100deg, #e9f4ff 0%, #d8ebff 55%, #bfe0fa 100%);
}

/* Final hero slider controls: dots only, no theme button skin */
html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-slider {
    margin-bottom: 42px !important;
    overflow: visible !important;
}

html body.tcf-account-area .tcf-hero-slider-dots {
    position: absolute !important;
    z-index: 20 !important;
    left: 50% !important;
    right: auto !important;
    bottom: -30px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot,
html body.tcf-account-area .tcf-hero-slider-dot {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 9px !important;
    min-width: 9px !important;
    max-width: 9px !important;
    height: 9px !important;
    min-height: 9px !important;
    max-height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    outline: 0 !important;
    background: #c8d5e7 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot::before,
html body.tcf-account-area button.tcf-hero-slider-dot::after,
html body.tcf-account-area .tcf-hero-slider-dot::before,
html body.tcf-account-area .tcf-hero-slider-dot::after {
    content: none !important;
    display: none !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot.is-active,
html body.tcf-account-area .tcf-hero-slider-dot.is-active {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    background: var(--v4-blue) !important;
}

@media (max-width: 720px) {
    html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-slider {
        margin-bottom: 34px !important;
    }

    html body.tcf-account-area .tcf-hero-slider-dots {
        bottom: -24px !important;
        gap: 7px !important;
    }

    html body.tcf-account-area button.tcf-hero-slider-dot,
    html body.tcf-account-area .tcf-hero-slider-dot {
        width: 7px !important;
        min-width: 7px !important;
        max-width: 7px !important;
        height: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
    }

    html body.tcf-account-area button.tcf-hero-slider-dot.is-active,
    html body.tcf-account-area .tcf-hero-slider-dot.is-active {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
    }
}

.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-slider {
    margin-bottom: 38px;
    overflow: visible;
}

.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg .tcf-hero-city {
    display: none;
}

.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg .tcf-hero-v4-copy {
    max-width: 620px;
}

.tcf-account-area .tcf-hero-slider-dots {
    position: absolute !important;
    z-index: 4 !important;
    left: 50% !important;
    right: auto !important;
    bottom: -28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 0 !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.tcf-account-area button.tcf-hero-slider-dot,
.tcf-account-area .tcf-hero-slider-dot {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 9px !important;
    min-width: 9px !important;
    max-width: 9px !important;
    height: 9px !important;
    min-height: 9px !important;
    max-height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    outline: 0 !important;
    background: #c8d5e7 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: width .2s ease, min-width .2s ease, max-width .2s ease, background-color .2s ease, transform .2s ease !important;
}

.tcf-account-area button.tcf-hero-slider-dot::before,
.tcf-account-area button.tcf-hero-slider-dot::after,
.tcf-account-area .tcf-hero-slider-dot::before,
.tcf-account-area .tcf-hero-slider-dot::after {
    content: none !important;
    display: none !important;
}

.tcf-account-area button.tcf-hero-slider-dot:hover,
.tcf-account-area button.tcf-hero-slider-dot:focus-visible,
.tcf-account-area .tcf-hero-slider-dot:hover,
.tcf-account-area .tcf-hero-slider-dot:focus-visible {
    transform: translateY(-1px) !important;
    background: #8fa9c9 !important;
}

.tcf-account-area button.tcf-hero-slider-dot.is-active,
.tcf-account-area .tcf-hero-slider-dot.is-active {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    background: var(--v4-blue) !important;
}

.tcf-account-area .tcf-hero-v4-copy {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.tcf-account-area .tcf-hero-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #4f6d95;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tcf-account-area .tcf-hero-v4-copy h1 {
    margin: 0 0 5px !important;
    color: #0f2b60 !important;
    font-size: 24px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    font-weight: 800 !important;
}

.tcf-account-area .tcf-hero-v4-copy p {
    margin: 0 !important;
    color: #315c92 !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    font-weight: 500 !important;
}

.tcf-account-area .tcf-hero-points {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 17px;
}

.tcf-account-area .tcf-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #365b89;
    font-size: 10px;
    font-weight: 600;
}

.tcf-account-area .tcf-hero-points span + span {
    padding-left: 20px;
    border-left: 1px solid rgba(63,107,153,.22);
}

.tcf-account-area .tcf-hero-points b {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #18a95d;
    color: #fff;
    font-size: 11px;
}

.tcf-account-area .tcf-hero-points span:nth-child(2) b { background: #7a45ed; }
.tcf-account-area .tcf-hero-points span:nth-child(3) b { background: var(--v4-blue); }

.tcf-account-area .tcf-hero-city {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 47%;
    height: 100%;
    opacity: .86;
    pointer-events: none;
}

.tcf-account-area .tcf-city-buildings {
    position: absolute;
    left: 8%;
    right: 0;
    bottom: 0;
    height: 62%;
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.tcf-account-area .tcf-city-buildings i {
    display: block;
    width: 7%;
    min-width: 14px;
    background: #6d9dc8;
    border-radius: 2px 2px 0 0;
}

.tcf-account-area .tcf-city-buildings i:nth-child(1){height:38%}
.tcf-account-area .tcf-city-buildings i:nth-child(2){height:63%}
.tcf-account-area .tcf-city-buildings i:nth-child(3){height:48%}
.tcf-account-area .tcf-city-buildings i:nth-child(4){height:82%}
.tcf-account-area .tcf-city-buildings i:nth-child(5){height:56%}
.tcf-account-area .tcf-city-buildings i:nth-child(6){height:72%}
.tcf-account-area .tcf-city-buildings i:nth-child(7){height:43%}
.tcf-account-area .tcf-city-buildings i:nth-child(8){height:88%}
.tcf-account-area .tcf-city-buildings i:nth-child(9){height:54%}
.tcf-account-area .tcf-city-buildings i:nth-child(10){height:67%}
.tcf-account-area .tcf-city-buildings i:nth-child(11){height:48%}

.tcf-account-area .tcf-cn-tower {
    position: absolute;
    left: 57%;
    bottom: 0;
    width: 2px;
    height: 92%;
    background: #4777a7;
}

.tcf-account-area .tcf-cn-tower::before {
    content: "";
    position: absolute;
    top: 4%;
    left: 50%;
    width: 28px;
    height: 2px;
    transform: translateX(-50%);
    background: #4777a7;
    box-shadow: 0 6px #4777a7;
}

.tcf-account-area .tcf-cn-tower::after {
    content: "";
    position: absolute;
    top: 8%;
    left: 50%;
    width: 17px;
    height: 25px;
    transform: translateX(-50%);
    border-left: 2px solid #4777a7;
    border-right: 2px solid #4777a7;
}

.tcf-account-area .tcf-cn-tower span {
    position: absolute;
    top: 4%;
    left: 50%;
    width: 2px;
    height: 19px;
    transform: translate(-50%, -100%);
    background: #4777a7;
}

.tcf-account-area .tcf-hero-quote {
    position: absolute;
    top: 28px;
    right: 6%;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    color: #1c3d6f;
    font-size: 10px;
    line-height: 1.45;
    font-style: italic;
}

.tcf-account-area .tcf-hero-quote b {
    color: #ef3340;
    font-style: normal;
    font-size: 13px;
}

.tcf-account-area .tcf-resource-strip-v4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.tcf-account-area .tcf-resource-strip-mobile {
    display: none;
}

.tcf-account-area .tcf-resource-link {
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--v4-line);
    border-radius: 13px;
    background: #fff;
    color: var(--v4-navy) !important;
    box-shadow: var(--v4-shadow-sm);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tcf-account-area .tcf-resource-link:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 119, 242, .24);
    box-shadow: var(--v4-shadow);
}

.tcf-account-area .tcf-resource-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef5ff;
    color: var(--v4-blue);
}

.tcf-account-area .tcf-resource-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tcf-account-area .tcf-resource-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.tcf-account-area .tcf-resource-copy strong {
    color: var(--v4-navy);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
}

.tcf-account-area .tcf-resource-copy small {
    color: #627894;
    font-size: 7px;
    line-height: 1.2;
    font-weight: 650;
}

.tcf-account-area .tcf-resource-link > b {
    margin-left: auto;
    color: currentColor;
    font-size: 14px;
    line-height: 1;
}

.tcf-account-area .tcf-resource-blue .tcf-resource-icon { background: #eaf4ff; color: var(--v4-blue); }
.tcf-account-area .tcf-resource-green .tcf-resource-icon { background: #e7f8ef; color: var(--v4-green); }
.tcf-account-area .tcf-resource-orange .tcf-resource-icon { background: #fff0e5; color: var(--v4-orange); }
.tcf-account-area .tcf-resource-purple .tcf-resource-icon { background: #f1ebff; color: var(--v4-purple); }

.tcf-account-area .tcf-dash-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 18px 12px;
}

.tcf-account-area .tcf-dash-section-title h2 {
    margin: 0 !important;
    color: var(--v4-navy) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
}

.tcf-account-area .tcf-dash-section-title a,
.tcf-account-area .tcf-card-heading a {
    color: var(--v4-blue) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.tcf-account-area .tcf-dash-section-title a span,
.tcf-account-area .tcf-card-heading a b {
    font-size: 15px;
    margin-left: 4px;
}

.tcf-account-area .tcf-module-grid-v4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    padding: 0 18px;
}

.tcf-account-area .tcf-module-v4 {
    position: relative;
    min-width: 0;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--v4-line);
    border-radius: 13px;
    background: #fff;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tcf-account-area .tcf-module-v4:hover {
    transform: translateY(-2px);
    box-shadow: var(--v4-shadow);
}

.tcf-account-area .tcf-module-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #fff;
}

.tcf-account-area .tcf-module-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tcf-account-area .tcf-module-content h3 {
    margin: 0 0 4px !important;
    color: var(--v4-navy) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.tcf-account-area .tcf-module-content small {
    display: block;
    margin-bottom: 12px;
    color: #6e82a0;
    font-size: 9px;
}

.tcf-account-area .tcf-module-content strong {
    display: inline-block;
    color: var(--v4-blue);
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.tcf-account-area .tcf-module-unit {
    display: inline-block;
    margin-left: 3px;
    color: #486789;
    font-size: 9px;
}

.tcf-account-area .tcf-module-note {
    display: block;
    max-width: 170px;
    margin-top: 10px;
    color: #486789;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.tcf-account-area .tcf-module-link {
    margin-top: auto;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 8px;
    background: #edf5ff;
    color: var(--v4-blue);
    font-size: 10px;
    font-weight: 750;
}

.tcf-account-area .tcf-module-link b { font-size: 14px; }

.tcf-account-area .tcf-module-blue { background: linear-gradient(180deg,#fff 0%,#f4f9ff 100%); }
.tcf-account-area .tcf-module-blue .tcf-module-icon { background: var(--v4-blue); }
.tcf-account-area .tcf-module-purple { background: linear-gradient(180deg,#fff 0%,#faf7ff 100%); }
.tcf-account-area .tcf-module-purple .tcf-module-icon { background: var(--v4-purple); }
.tcf-account-area .tcf-module-purple .tcf-module-content strong { color: var(--v4-purple); }
.tcf-account-area .tcf-module-purple .tcf-module-link { background: #f1ebff; color: var(--v4-purple); }
.tcf-account-area .tcf-module-orange { background: linear-gradient(180deg,#fff 0%,#fff9f5 100%); }
.tcf-account-area .tcf-module-orange .tcf-module-icon { background: var(--v4-orange); }
.tcf-account-area .tcf-module-orange .tcf-module-content strong { color: var(--v4-orange); }
.tcf-account-area .tcf-module-orange .tcf-module-link { background: #fff0e5; color: var(--v4-orange); }
.tcf-account-area .tcf-module-green { background: linear-gradient(180deg,#fff 0%,#f4fcf8 100%); }
.tcf-account-area .tcf-module-green .tcf-module-icon { background: var(--v4-green); }
.tcf-account-area .tcf-module-green .tcf-module-content strong { color: var(--v4-green); }
.tcf-account-area .tcf-module-green .tcf-module-link { background: #e6f8ee; color: var(--v4-green); }

.tcf-account-area .tcf-main-grid-v4 {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr);
    gap: 10px;
    padding: 14px 18px 0;
}

.tcf-account-area .tcf-progress-card-v4,
.tcf-account-area .tcf-subscription-card-v4,
.tcf-account-area .tcf-quick-card-v4,
.tcf-account-area .tcf-social-card-v4,
.tcf-account-area .tcf-history-card-v4 {
    border: 1px solid var(--v4-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--v4-shadow-sm);
}

.tcf-account-area .tcf-progress-card-v4 { padding: 16px 18px 18px; }

.tcf-account-area .tcf-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tcf-account-area .tcf-card-heading h2 {
    margin: 0 !important;
    color: var(--v4-navy) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
}

.tcf-account-area .tcf-card-heading h2 span {
    color: var(--v4-blue);
    margin-right: 5px;
}

.tcf-account-area .tcf-progress-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
}

.tcf-account-area .tcf-progress-item-v4 {
    min-width: 0;
    padding: 6px 12px;
    text-align: center;
    border-right: 1px solid #e8eef6;
}

.tcf-account-area .tcf-progress-item-v4:last-child { border-right: 0; }

.tcf-account-area .tcf-progress-label {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--v4-navy);
    font-size: 9px;
    line-height: 1.25;
    font-weight: 650;
}

.tcf-account-area .tcf-mini-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 7px;
    font-weight: 800;
}

.tcf-account-area .tcf-mini-blue { background: var(--v4-blue); }
.tcf-account-area .tcf-mini-purple { background: var(--v4-purple); }
.tcf-account-area .tcf-mini-orange { background: var(--v4-orange); }
.tcf-account-area .tcf-mini-green { background: var(--v4-green); }

.tcf-account-area .tcf-ring {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 8px auto 5px;
}

.tcf-account-area .tcf-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.tcf-account-area .tcf-ring circle {
    fill: none;
    stroke-width: 5;
}

.tcf-account-area .tcf-ring .ring-bg { stroke: #e8eef5; }

.tcf-account-area .tcf-ring .ring-value {
    stroke-dasharray: 113;
    stroke-dashoffset: calc(113 - var(--ring-progress));
    stroke-linecap: round;
}

.tcf-account-area .tcf-ring-blue .ring-value { stroke: var(--v4-blue); }
.tcf-account-area .tcf-ring-purple .ring-value { stroke: var(--v4-purple); }
.tcf-account-area .tcf-ring-orange .ring-value { stroke: var(--v4-orange); }
.tcf-account-area .tcf-ring-green .ring-value { stroke: var(--v4-green); }

.tcf-account-area .tcf-ring b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--v4-navy);
    font-size: 15px;
    font-weight: 800;
}

.tcf-account-area .tcf-progress-item-v4 > small {
    color: #4f6789;
    font-size: 9px;
    font-weight: 600;
}

.tcf-account-area .tcf-side-stack-v4 { display: grid; gap: 10px; }

.tcf-account-area .tcf-subscription-card-v4,
.tcf-account-area .tcf-quick-card-v4,
.tcf-account-area .tcf-social-card-v4 { padding: 15px; }

.tcf-account-area .tcf-card-heading.compact { margin-bottom: 9px; }

.tcf-account-area .tcf-card-heading.compact em {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f9f0;
    color: #168750;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.tcf-account-area .tcf-subscription-card-v4 h3 {
    margin: 0 0 4px !important;
    color: var(--v4-navy) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.tcf-account-area .tcf-subscription-card-v4 p {
    margin: 0 0 13px !important;
    color: #637895 !important;
    font-size: 10px !important;
}

.tcf-account-area .tcf-subscription-card-v4 > a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    background: var(--v4-blue);
    color: #fff !important;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none !important;
}

.tcf-account-area .tcf-quick-grid-v4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
}

.tcf-account-area .tcf-quick-grid-v4 a {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px;
    border-radius: 9px;
    background: #f1f7ff;
    color: #1768c9 !important;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 750;
    text-align: center;
    text-decoration: none !important;
}

.tcf-account-area .tcf-quick-grid-v4 a:nth-child(2) { background:#f4efff; color:#7141e7 !important; }
.tcf-account-area .tcf-quick-grid-v4 a:nth-child(3) { background:#e9faf1; color:#159153 !important; }
.tcf-account-area .tcf-quick-grid-v4 a:nth-child(4) { background:#fff0f2; color:#dc3853 !important; }

.tcf-account-area .tcf-quick-grid-v4 a span { font-size: 16px; line-height: 1; }

.tcf-account-area .tcf-social-card-v4 h2 {
    position: relative;
    margin: 0 0 14px !important;
    padding-bottom: 8px;
    color: var(--v4-navy) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.tcf-account-area .tcf-social-card-v4 h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: #ffd31a;
}

.tcf-account-area .tcf-social-grid-v4 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tcf-account-area .tcf-social-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #e1e9f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(24, 55, 100, .07);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tcf-account-area .tcf-social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--v4-shadow);
}

.tcf-account-area .tcf-social-link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}

.tcf-account-area .tcf-social-facebook { color: #1877f2 !important; }
.tcf-account-area .tcf-social-instagram { color: #111827 !important; }
.tcf-account-area .tcf-social-youtube { color: #ff0000 !important; }
.tcf-account-area .tcf-social-tiktok { color: #020617 !important; }

.tcf-account-area .tcf-social-instagram svg {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tcf-account-area .tcf-history-card-v4 {
    margin: 10px 18px 18px;
    padding: 16px 18px;
}

.tcf-account-area .tcf-history-scroll { overflow-x: auto; }

.tcf-account-area .tcf-history-card-v4 table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.tcf-account-area .tcf-history-card-v4 th {
    padding: 8px;
    background: #f6f9fd;
    color: #7286a2;
    border: 0;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: .05em;
}

.tcf-account-area .tcf-history-card-v4 td {
    padding: 10px 8px;
    border-top: 1px solid #edf2f7;
    color: #3f587b;
    font-size: 9px;
    font-weight: 500;
    vertical-align: middle;
}

.tcf-account-area .tcf-history-tag {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.tcf-account-area .tcf-history-co { background:#eaf4ff; color:#1672dd; }
.tcf-account-area .tcf-history-ce { background:#f1ecff; color:#7144e8; }

.tcf-account-area .tcf-score {
    display: inline-flex;
    min-width: 40px;
    justify-content: center;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
}

.tcf-account-area .tcf-score.good { background:#e6f8ed; color:#168a51; }
.tcf-account-area .tcf-score.average { background:#fff1dc; color:#b56a00; }

.tcf-account-area .tcf-history-card-v4 td a {
    color: var(--v4-blue) !important;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none !important;
}

.tcf-account-area .tcf-empty-history {
    padding: 28px !important;
    text-align: center !important;
    color: #7184a0 !important;
}

.tcf-account-area .tcf-mobile-bottom-nav { display: none !important; }

@media (max-width: 1180px) {
    .tcf-account-area .tcf-account-shell {
        width: calc(100vw - 20px) !important;
        grid-template-columns: 190px minmax(0,1fr) !important;
    }
    .tcf-account-area #mepr-account-nav .mepr-nav-item a,
    .tcf-account-area #mepr-account-nav li a { font-size: 11.5px !important; }
    .tcf-account-area .tcf-resource-strip-v4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tcf-account-area .tcf-module-grid-v4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tcf-account-area .tcf-module-v4 { min-height: 175px; }
}

@media (max-width: 980px) {
    .tcf-account-area .tcf-account-shell {
        grid-template-columns: 1fr !important;
        margin: 10px auto 34px !important;
        border-radius: 16px !important;
    }
    .tcf-account-area .tcf-account-sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--v4-line);
    }
    .tcf-account-area #mepr-account-nav {
        position: static !important;
        min-height: auto !important;
        height: auto !important;
        padding: 10px !important;
    }
    .tcf-account-area #mepr-account-nav::before {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        font-size: 15px !important;
    }
    .tcf-account-area #mepr-account-nav ul {
        display: flex !important;
        overflow-x: auto;
        gap: 6px !important;
        scrollbar-width: none;
    }
    .tcf-account-area #mepr-account-nav ul::-webkit-scrollbar { display: none; }
    .tcf-account-area #mepr-account-nav .mepr-nav-item,
    .tcf-account-area #mepr-account-nav li { flex: 0 0 auto; }
    .tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
    .tcf-account-area #mepr-account-nav li:last-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
    .tcf-account-area .tcf-main-grid-v4 { grid-template-columns: 1fr; }
    .tcf-account-area .tcf-side-stack-v4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tcf-account-area .tcf-social-card-v4 { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .tcf-account-area .tcf-account-shell {
        width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    body.tcf-account-area.tcf-mobile-menu-open {
        overflow: hidden;
    }
    body.tcf-account-area.tcf-mobile-menu-open::before {
        content: "";
        position: fixed;
        z-index: 9998;
        inset: 0;
        background: rgba(16, 41, 91, .28);
    }
    .tcf-account-area .tcf-account-sidebar {
        position: fixed !important;
        z-index: 9999;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(286px, 84vw);
        min-height: 100vh !important;
        display: block !important;
        background: #fff !important;
        border-right: 1px solid var(--v4-line);
        border-bottom: 0;
        box-shadow: 18px 0 45px rgba(16, 41, 91, .16);
        transform: translateX(-105%);
        transition: transform .22s ease;
        overflow-y: auto;
    }
    body.tcf-account-area.tcf-mobile-menu-open .tcf-account-sidebar {
        transform: translateX(0);
    }
    .tcf-account-area #mepr-account-nav {
        position: static !important;
        min-height: 100vh !important;
        height: auto !important;
        padding: 18px 12px !important;
    }
    .tcf-account-area #mepr-account-nav ul {
        display: grid !important;
        overflow: visible;
        gap: 6px !important;
    }
    .tcf-account-area #mepr-account-nav .mepr-nav-item,
    .tcf-account-area #mepr-account-nav li {
        width: 100%;
        flex: 0 0 auto;
    }
    .tcf-account-area .tcf-account-main { width: 100%; }
    .tcf-account-area .tcf-dash-topbar {
        min-height: auto;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }
    .tcf-account-area .tcf-dash-mobile-menu {
        position: relative;
        z-index: 10000;
        order: 1;
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 9px;
        background: #f2f6fb;
        color: var(--v4-navy);
        font-size: 19px;
        line-height: 1;
        cursor: pointer;
    }
    .tcf-account-area .tcf-dash-top-actions {
        order: 2;
        width: auto;
        min-height: 32px;
        justify-content: flex-end;
        gap: 8px;
        padding-left: 0;
        border-left: 0;
    }
    .tcf-account-area .tcf-user-copy,
    .tcf-account-area .tcf-premium-pill { display: none; }
    .tcf-account-area .tcf-avatar {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .tcf-account-area .tcf-dash-hero-v4 {
        min-height: 112px;
        margin: 10px 10px 0;
        padding: 15px 13px;
        border-radius: 12px;
    }
    .tcf-account-area .tcf-hero-eyebrow {
        font-size: 7px;
        margin-bottom: 4px;
    }
    .tcf-account-area .tcf-hero-v4-copy h1 {
        font-size: 16px !important;
        margin-bottom: 3px !important;
    }
    .tcf-account-area .tcf-hero-v4-copy p {
        max-width: 62%;
        font-size: 9px !important;
        line-height: 1.35 !important;
    }
    .tcf-account-area .tcf-hero-points { display: none; }
    .tcf-account-area .tcf-hero-city {
        width: 53%;
        opacity: .7;
    }
    .tcf-account-area .tcf-hero-quote { display: none; }
    .tcf-account-area .tcf-resource-strip-top {
        display: none;
    }
    .tcf-account-area .tcf-resource-strip-mobile {
        display: grid;
    }
    .tcf-account-area .tcf-resource-strip-v4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
        padding: 9px 10px 0;
    }
    .tcf-account-area .tcf-resource-link {
        min-height: 50px;
        gap: 7px;
        padding: 8px;
        border-radius: 11px;
    }
    .tcf-account-area .tcf-resource-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
        border-radius: 8px;
    }
    .tcf-account-area .tcf-resource-icon svg {
        width: 15px;
        height: 15px;
    }
    .tcf-account-area .tcf-resource-copy strong { font-size: 9px; }
    .tcf-account-area .tcf-resource-copy small { font-size: 7px; }
    .tcf-account-area .tcf-resource-link > b { font-size: 12px; }
    .tcf-account-area .tcf-dash-section-title { padding: 14px 10px 9px; }
    .tcf-account-area .tcf-dash-section-title h2 { font-size: 15px !important; }
    .tcf-account-area .tcf-dash-section-title a { font-size: 9px !important; }
    .tcf-account-area .tcf-module-grid-v4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
        padding: 0 10px;
    }
    .tcf-account-area .tcf-module-v4 {
        min-height: 143px;
        padding: 11px;
        border-radius: 11px;
    }
    .tcf-account-area .tcf-module-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }
    .tcf-account-area .tcf-module-icon svg { width: 16px; height: 16px; }
    .tcf-account-area .tcf-module-content h3 { font-size: 10px !important; }
    .tcf-account-area .tcf-module-content small { font-size: 7px; margin-bottom: 7px; }
    .tcf-account-area .tcf-module-content strong { font-size: 20px; }
    .tcf-account-area .tcf-module-unit { font-size: 7px; }
    .tcf-account-area .tcf-module-note { font-size: 8px; margin-top: 6px; }
    .tcf-account-area .tcf-module-link { min-height: 27px; font-size: 8px; }
    .tcf-account-area .tcf-main-grid-v4 {
        display: block;
        padding: 10px 10px 0;
    }
    .tcf-account-area .tcf-progress-card-v4 {
        padding: 12px 10px;
        border-radius: 11px;
    }
    .tcf-account-area .tcf-card-heading { margin-bottom: 7px; }
    .tcf-account-area .tcf-card-heading h2 { font-size: 12px !important; }
    .tcf-account-area .tcf-card-heading a { font-size: 8px !important; }
    .tcf-account-area .tcf-progress-label {
        font-size: 7px;
        gap: 3px;
    }
    .tcf-account-area .tcf-mini-icon {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
        font-size: 5px;
    }
    .tcf-account-area .tcf-ring {
        width: 55px;
        height: 55px;
        margin: 6px auto 3px;
    }
    .tcf-account-area .tcf-ring b { font-size: 11px; }
    .tcf-account-area .tcf-progress-item-v4 > small { font-size: 7px; }
    .tcf-account-area .tcf-side-stack-v4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 7px;
    }
    .tcf-account-area .tcf-subscription-card-v4,
    .tcf-account-area .tcf-quick-card-v4,
    .tcf-account-area .tcf-social-card-v4 {
        padding: 10px;
        border-radius: 11px;
    }
    .tcf-account-area .tcf-subscription-card-v4 h3 { font-size: 13px !important; }
    .tcf-account-area .tcf-subscription-card-v4 p {
        font-size: 8px !important;
        margin-bottom: 8px !important;
    }
    .tcf-account-area .tcf-subscription-card-v4 > a {
        min-height: 28px;
        font-size: 8px;
    }
    .tcf-account-area .tcf-quick-grid-v4 { gap: 4px; }
    .tcf-account-area .tcf-quick-grid-v4 a {
        min-height: 40px;
        font-size: 7px;
        gap: 2px;
    }
    .tcf-account-area .tcf-quick-grid-v4 a span { font-size: 12px; }
    .tcf-account-area .tcf-social-card-v4 h2 {
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }
    .tcf-account-area .tcf-social-grid-v4 { gap: 7px; }
    .tcf-account-area .tcf-social-link {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
    .tcf-account-area .tcf-social-link svg {
        width: 18px;
        height: 18px;
    }
    .tcf-account-area .tcf-history-card-v4 {
        margin: 8px 10px 18px;
        padding: 12px 10px;
        border-radius: 11px;
    }
    .tcf-account-area .tcf-history-card-v4 table { min-width: 560px; }
    .tcf-account-area .tcf-history-card-v4 th { font-size: 7px; }
    .tcf-account-area .tcf-history-card-v4 td {
        font-size: 8px;
        padding: 8px 6px;
    }
    .tcf-account-area .tcf-desktop-only { display: none; }
}

@media (max-width: 380px) {
    .tcf-account-area .tcf-resource-strip-v4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
    }
    .tcf-account-area .tcf-module-grid-v4 {
        gap: 5px;
        padding: 0 7px;
    }
    .tcf-account-area .tcf-module-v4 { padding: 9px; }
    .tcf-account-area .tcf-main-grid-v4 {
        padding-left: 7px;
        padding-right: 7px;
    }
    .tcf-account-area .tcf-history-card-v4 {
        margin-left: 7px;
        margin-right: 7px;
    }
}

/* Final account/profile and responsive menu fixes */
body.tcf-account-area.tcf-account-mode-edit .tcf-account-main {
    min-height: calc(100vh - 28px);
    padding: 20px !important;
    background: #f7faff !important;
}

body.tcf-account-area.tcf-account-mode-edit .tcf-account-main > .mp_wrapper {
    width: 100% !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form {
    position: relative;
    width: 100% !important;
    max-width: 880px !important;
    margin: 0 auto 14px !important;
    padding: 76px 24px 24px !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #dfe8f4 !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 40px rgba(24, 55, 100, .08) !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form::before {
    content: "Modifier mon profil";
    position: absolute;
    top: 20px;
    left: 24px;
    color: var(--v4-navy);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form::after {
    content: "Email et mot de passe";
    position: absolute;
    top: 48px;
    left: 24px;
    color: #6d819d;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .mp-form-row,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form > .mp-form-row {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .mp-form-label {
    margin: 0 0 7px !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .mp-form-label label {
    color: #5f718d !important;
    font-family: "Inter", sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input[type="text"],
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input[type="email"],
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input[type="password"],
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input[type="tel"],
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form select,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form textarea {
    width: 100% !important;
    min-height: 52px !important;
    padding: 13px 16px !important;
    background: #f8fbff !important;
    border: 1px solid #dbe5f2 !important;
    border-radius: 12px !important;
    color: #102a55 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input:focus,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form select:focus,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form textarea:focus {
    border-color: #1677f2 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(22, 119, 242, .11) !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .submit,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .mepr-submit-row {
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-form .mepr-submit,
body.tcf-account-area.tcf-account-mode-edit .mepr-account-form input[type="submit"] {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1677f2 0%, #155bd5 100%) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 12px 26px rgba(22, 119, 242, .22) !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-change-password {
    width: 100% !important;
    max-width: 880px !important;
    min-height: 58px;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 auto !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    border: 1px solid #dfe8f4 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(24, 55, 100, .06) !important;
    color: #102a55 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-change-password::before {
    content: "";
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    background-color: #eef5ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-change-password::after {
    content: "→";
    margin-left: auto;
    color: #1677f2;
    font-size: 16px;
    font-weight: 900;
}

body.tcf-account-area.tcf-account-mode-edit .mepr-account-change-password a {
    color: inherit !important;
    font: inherit !important;
    text-decoration: none !important;
}

@media (min-width: 721px) and (max-width: 980px) {
    body.tcf-account-area.tcf-mobile-menu-open::before {
        display: none !important;
    }

    .tcf-account-area .tcf-account-shell {
        width: calc(100vw - 14px) !important;
        max-width: calc(100vw - 14px) !important;
        grid-template-columns: 184px minmax(0,1fr) !important;
        gap: 0 !important;
        margin: 7px auto 24px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .tcf-account-area .tcf-account-sidebar {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        min-height: 100% !important;
        background: #fff !important;
        border-right: 1px solid var(--v4-line) !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
    }

    .tcf-account-area #mepr-account-nav {
        position: sticky !important;
        top: 8px !important;
        min-height: calc(100vh - 20px) !important;
        height: auto !important;
        padding: 14px 10px !important;
        overflow: visible !important;
    }

    .tcf-account-area #mepr-account-nav::before {
        margin: 0 4px 14px !important;
        padding: 2px 6px 14px !important;
        font-size: 14px !important;
        line-height: 1.05 !important;
    }

    .tcf-account-area #mepr-account-nav ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item,
    .tcf-account-area #mepr-account-nav li {
        width: 100% !important;
        flex: none !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
    .tcf-account-area #mepr-account-nav li:last-child {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #e8edf4 !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a,
    .tcf-account-area #mepr-account-nav li a {
        width: 100% !important;
        min-height: 38px !important;
        gap: 7px !important;
        padding: 7px 8px !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
    .tcf-account-area #mepr-account-nav li a::before {
        width: 25px !important;
        height: 25px !important;
        flex-basis: 25px !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a::after,
    .tcf-account-area #mepr-account-nav li a::after {
        left: 14px !important;
        width: 13px !important;
        height: 13px !important;
    }

    .tcf-account-area .tcf-dash-mobile-menu {
        display: none !important;
    }

    .tcf-account-area .tcf-dash-topbar {
        min-height: auto !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .tcf-account-area .tcf-resource-strip-top {
        order: 1 !important;
        flex: 1 1 100% !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 8px !important;
    }

    .tcf-account-area .tcf-resource-strip-mobile {
        display: none !important;
    }

    .tcf-account-area .tcf-dash-top-actions {
        order: 2 !important;
        width: 100% !important;
        justify-content: flex-end !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: 0 !important;
    }

    body.tcf-account-area.tcf-account-mode-edit .tcf-account-main {
        padding: 14px !important;
    }
}

@media (max-width: 720px) {
    .tcf-account-area .tcf-account-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body.tcf-account-area.tcf-mobile-menu-open::before {
        background: rgba(16, 41, 91, .42) !important;
        backdrop-filter: blur(2px);
    }

    .tcf-account-area .tcf-account-sidebar {
        width: min(304px, 86vw) !important;
        max-width: min(304px, 86vw) !important;
        background: #ffffff !important;
        opacity: 0;
        visibility: hidden;
        transform: translateX(calc(-100% - 12px)) !important;
        box-shadow: 18px 0 45px rgba(16, 41, 91, .18) !important;
    }

    body.tcf-account-area.tcf-mobile-menu-open .tcf-account-sidebar {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) !important;
    }

    .tcf-account-area .tcf-account-sidebar .mp_wrapper {
        height: 100% !important;
    }

    .tcf-account-area #mepr-account-nav {
        min-height: 100vh !important;
        height: 100% !important;
        padding: 18px 14px 22px !important;
        overflow-y: auto !important;
    }

    .tcf-account-area #mepr-account-nav::before {
        margin: 0 48px 16px 4px !important;
        padding: 1px 0 15px !important;
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    .tcf-account-area #mepr-account-nav ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        overflow: visible !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item,
    .tcf-account-area #mepr-account-nav li {
        width: 100% !important;
        flex: none !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
    .tcf-account-area #mepr-account-nav li:last-child {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #e8edf4 !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a,
    .tcf-account-area #mepr-account-nav li a {
        width: 100% !important;
        min-height: 44px !important;
        gap: 10px !important;
        padding: 9px 11px !important;
        font-size: 12.5px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
    .tcf-account-area #mepr-account-nav li a::before {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }

    .tcf-account-area #mepr-account-nav .mepr-nav-item a::after,
    .tcf-account-area #mepr-account-nav li a::after {
        left: 19px !important;
        width: 14px !important;
        height: 14px !important;
    }

    body.tcf-account-area.tcf-mobile-menu-open .tcf-dash-mobile-menu {
        position: fixed !important;
        top: 13px !important;
        left: calc(min(304px, 86vw) - 48px) !important;
        z-index: 10002 !important;
        background: #eef5ff !important;
        box-shadow: 0 8px 20px rgba(16, 41, 91, .14) !important;
    }

    body.tcf-account-area.tcf-account-mode-edit .tcf-account-main {
        padding: 10px !important;
    }

    body.tcf-account-area.tcf-account-mode-edit .mepr-account-form {
        padding: 68px 14px 16px !important;
        border-radius: 13px !important;
    }

    body.tcf-account-area.tcf-account-mode-edit .mepr-account-form::before {
        top: 16px;
        left: 14px;
        font-size: 18px;
    }

    body.tcf-account-area.tcf-account-mode-edit .mepr-account-form::after {
        top: 41px;
        left: 14px;
        font-size: 11px;
    }

    body.tcf-account-area.tcf-account-mode-edit .mepr-account-change-password {
        min-height: 52px;
        padding: 12px 13px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    .tcf-account-area .tcf-resource-strip-v4 {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 6px !important;
    }

    .tcf-account-area .tcf-resource-link {
        min-height: 48px !important;
        padding: 7px !important;
    }
}

/* v5 responsive correction: tablet portrait uses the same clean drawer as mobile */
@media (min-width: 901px) and (max-width: 1180px) {
    html body.tcf-account-area .tcf-account-shell {
        width: calc(100vw - 18px) !important;
        max-width: calc(100vw - 18px) !important;
        grid-template-columns: 196px minmax(0,1fr) !important;
        gap: 0 !important;
        margin: 9px auto 28px !important;
        overflow: hidden !important;
    }

    html body.tcf-account-area .tcf-account-sidebar {
        position: relative !important;
        display: block !important;
        min-width: 0 !important;
        width: auto !important;
        min-height: 100% !important;
        background: #ffffff !important;
        border-right: 1px solid var(--v4-line) !important;
        border-bottom: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden !important;
    }

    html body.tcf-account-area #mepr-account-nav {
        position: sticky !important;
        top: 8px !important;
        width: 100% !important;
        min-height: calc(100vh - 22px) !important;
        height: auto !important;
        padding: 14px 10px !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav ul {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item,
    html body.tcf-account-area #mepr-account-nav li {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        display: block !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a,
    html body.tcf-account-area #mepr-account-nav li a {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 38px !important;
        display: flex !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 10.8px !important;
        line-height: 1.18 !important;
    }

    html body.tcf-account-area .tcf-dash-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 900px) {
    html body.tcf-account-area .tcf-account-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
    }

    html body.tcf-account-area .tcf-account-main {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    html body.tcf-account-area .tcf-account-sidebar {
        position: fixed !important;
        z-index: 10001 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(312px, 86vw) !important;
        max-width: min(312px, 86vw) !important;
        min-height: 100vh !important;
        display: block !important;
        background: #ffffff !important;
        border-right: 1px solid #dfe8f4 !important;
        border-bottom: 0 !important;
        box-shadow: 18px 0 48px rgba(16, 41, 91, .2) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(calc(-100% - 16px)) !important;
        transition: transform .22s ease, opacity .18s ease, visibility .18s ease !important;
        overflow: hidden !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-account-sidebar {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open {
        overflow: hidden !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open::before {
        content: "" !important;
        position: fixed !important;
        z-index: 10000 !important;
        inset: 0 !important;
        display: block !important;
        background: rgba(14, 36, 79, .44) !important;
        backdrop-filter: blur(2px) !important;
    }

    html body.tcf-account-area .tcf-account-sidebar .mp_wrapper {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body.tcf-account-area #mepr-account-nav {
        position: static !important;
        width: 100% !important;
        min-height: 100vh !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 18px 14px 22px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #ffffff !important;
    }

    html body.tcf-account-area #mepr-account-nav::before {
        flex: 0 0 auto !important;
        margin: 0 50px 16px 4px !important;
        padding: 0 0 15px !important;
        border-bottom: 1px solid #e8edf4 !important;
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    html body.tcf-account-area #mepr-account-nav ul {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item,
    html body.tcf-account-area #mepr-account-nav li {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item:last-child,
    html body.tcf-account-area #mepr-account-nav li:last-child {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #e8edf4 !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a,
    html body.tcf-account-area #mepr-account-nav li a {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 11px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a::before,
    html body.tcf-account-area #mepr-account-nav li a::before {
        width: 30px !important;
        height: 30px !important;
        flex: 0 0 30px !important;
    }

    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a::after,
    html body.tcf-account-area #mepr-account-nav li a::after {
        left: 19px !important;
        width: 14px !important;
        height: 14px !important;
    }

    html body.tcf-account-area .tcf-dash-topbar {
        min-height: auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    html body.tcf-account-area .tcf-dash-mobile-menu {
        position: relative !important;
        z-index: 10002 !important;
        order: 1 !important;
        width: 36px !important;
        height: 36px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: #f2f6fb !important;
        color: var(--v4-navy) !important;
        font-size: 20px !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-dash-mobile-menu {
        position: fixed !important;
        top: 13px !important;
        left: calc(min(312px, 86vw) - 50px) !important;
        z-index: 10003 !important;
        background: #eef5ff !important;
        box-shadow: 0 8px 20px rgba(16, 41, 91, .14) !important;
    }

    html body.tcf-account-area .tcf-dash-top-actions {
        order: 2 !important;
        width: auto !important;
        min-height: 36px !important;
        margin-left: auto !important;
        padding-left: 0 !important;
        border-left: 0 !important;
        justify-content: flex-end !important;
    }

    html body.tcf-account-area .tcf-user-copy,
    html body.tcf-account-area .tcf-premium-pill {
        display: none !important;
    }

    html body.tcf-account-area .tcf-resource-strip-top {
        display: none !important;
    }

    html body.tcf-account-area .tcf-resource-strip-mobile {
        display: grid !important;
    }

    html body.tcf-account-area .tcf-resource-strip-v4 {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 7px !important;
        padding: 9px 10px 0 !important;
    }
}

/* v6 menu overlay fix: keep the drawer above the dim layer on mobile/tablet */
@media (max-width: 900px) {
    html body.tcf-account-area.tcf-mobile-menu-open::before {
        content: none !important;
        display: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        pointer-events: none !important;
    }

    html body.tcf-account-area .tcf-account-shell {
        position: relative !important;
        isolation: isolate !important;
    }

    html body.tcf-account-area .tcf-account-main {
        position: relative !important;
        z-index: 1 !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-account-main::before {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147482000 !important;
        display: block !important;
        background: rgba(14, 36, 79, .44) !important;
        backdrop-filter: blur(2px) !important;
        pointer-events: auto !important;
    }

    html body.tcf-account-area .tcf-account-sidebar {
        z-index: 2147483000 !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-account-sidebar,
    html body.tcf-account-area.tcf-mobile-menu-open #mepr-account-nav,
    html body.tcf-account-area.tcf-mobile-menu-open #mepr-account-nav * {
        opacity: 1 !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-dash-mobile-menu {
        z-index: 2147483600 !important;
    }

    html body.tcf-account-area #mepr-account-nav ul {
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-auto-rows: auto !important;
    }

    html body.tcf-account-area #mepr-account-nav,
    html body.tcf-account-area #mepr-account-nav ul,
    html body.tcf-account-area #mepr-account-nav li,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item,
    html body.tcf-account-area #mepr-account-nav li a,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a {
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    html body.tcf-account-area .tcf-account-sidebar {
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    html body.tcf-account-area .tcf-account-sidebar .mp_wrapper {
        height: auto !important;
        min-height: 100% !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    }
}

/* v7 landscape drawer scroll fix */
@media (max-width: 900px), (max-height: 560px) and (max-width: 1180px) {
    html body.tcf-account-area .tcf-account-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
    }

    html body.tcf-account-area .tcf-account-main {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    html body.tcf-account-area .tcf-account-sidebar {
        position: fixed !important;
        z-index: 2147483000 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: auto !important;
        width: min(312px, 86vw) !important;
        max-width: min(312px, 86vw) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        min-height: 0 !important;
        display: block !important;
        background: #fff !important;
        border-right: 1px solid #dfe8f4 !important;
        border-bottom: 0 !important;
        box-shadow: 18px 0 48px rgba(16, 41, 91, .2) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(calc(-100% - 16px)) !important;
        transition: transform .22s ease, opacity .18s ease, visibility .18s ease !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        filter: none !important;
        backdrop-filter: none !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-account-sidebar {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open {
        overflow: hidden !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open::before {
        content: none !important;
        display: none !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-account-main::before {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147482000 !important;
        display: block !important;
        background: rgba(14, 36, 79, .44) !important;
        backdrop-filter: blur(2px) !important;
        pointer-events: auto !important;
    }

    html body.tcf-account-area .tcf-account-sidebar .mp_wrapper {
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 18px 14px max(24px, env(safe-area-inset-bottom)) !important;
        overflow: visible !important;
        background: #fff !important;
    }

    html body.tcf-account-area #mepr-account-nav ul {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-auto-rows: auto !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.tcf-account-area #mepr-account-nav li,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item,
    html body.tcf-account-area #mepr-account-nav li a,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body.tcf-account-area #mepr-account-nav li,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item {
        flex: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.tcf-account-area #mepr-account-nav li a,
    html body.tcf-account-area #mepr-account-nav .mepr-nav-item a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 11px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }

    html body.tcf-account-area .tcf-dash-mobile-menu {
        position: relative !important;
        z-index: 2147483600 !important;
        display: grid !important;
    }

    html body.tcf-account-area.tcf-mobile-menu-open .tcf-dash-mobile-menu {
        position: fixed !important;
        top: 13px !important;
        left: calc(min(312px, 86vw) - 50px) !important;
        z-index: 2147483600 !important;
    }
}

/* Final hero slider controls override: dots only, no button rectangles */
html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-slider {
    margin-bottom: 42px !important;
    overflow: visible !important;
}

html body.tcf-account-area .tcf-hero-slider-dots {
    position: absolute !important;
    z-index: 20 !important;
    left: 50% !important;
    right: auto !important;
    bottom: -30px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot,
html body.tcf-account-area .tcf-hero-slider-dot {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 9px !important;
    min-width: 9px !important;
    max-width: 9px !important;
    height: 9px !important;
    min-height: 9px !important;
    max-height: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    outline: 0 !important;
    background: #c8d5e7 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot::before,
html body.tcf-account-area button.tcf-hero-slider-dot::after,
html body.tcf-account-area .tcf-hero-slider-dot::before,
html body.tcf-account-area .tcf-hero-slider-dot::after {
    content: none !important;
    display: none !important;
}

html body.tcf-account-area button.tcf-hero-slider-dot.is-active,
html body.tcf-account-area .tcf-hero-slider-dot.is-active {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    background: var(--v4-blue) !important;
}

@media (max-width: 720px) {
    html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-slider {
        margin-bottom: 34px !important;
    }

    html body.tcf-account-area .tcf-hero-slider-dots {
        bottom: -24px !important;
        gap: 7px !important;
    }

    html body.tcf-account-area button.tcf-hero-slider-dot,
    html body.tcf-account-area .tcf-hero-slider-dot {
        width: 7px !important;
        min-width: 7px !important;
        max-width: 7px !important;
        height: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
    }

    html body.tcf-account-area button.tcf-hero-slider-dot.is-active,
    html body.tcf-account-area .tcf-hero-slider-dot.is-active {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
    }
}


/* ==========================================================
   TCF DASHBOARD — FINAL PROGRESSION / SUMMARY / HISTORY
   Requested layout:
   - Keep the existing dashboard design
   - Progress ring = percentage of completed tests
   - Show last score / 699 + CEFR + NCLC
   - Add performance summary
   - Rich history table
   - Desktop 100% visually close to the former 90%
   - Mobile: no zoom
   ========================================================== */

.tcf-account-area .tcf-progress-card-v4 {
    padding: 18px 18px 16px;
}

.tcf-account-area .tcf-progress-grid-v4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tcf-account-area .tcf-progress-item-v4 {
    padding: 8px 20px 10px;
}

.tcf-account-area .tcf-progress-label {
    min-height: 38px;
    font-size: 13px;
    gap: 8px;
}

.tcf-account-area .tcf-mini-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 10px;
}

.tcf-account-area .tcf-progress-detail-v4 {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(170px, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 165px;
}

.tcf-account-area .tcf-progress-ring-side-v4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tcf-account-area .tcf-progress-ring-side-v4 .tcf-ring {
    width: 116px;
    height: 116px;
    margin: 2px auto 10px;
}

.tcf-account-area .tcf-progress-ring-side-v4 .tcf-ring circle {
    stroke-width: 4.5;
}

.tcf-account-area .tcf-progress-ring-side-v4 .tcf-ring b {
    font-size: 24px;
}

.tcf-account-area .tcf-progress-ring-side-v4 > small {
    color: #476589;
    font-size: 10px;
    font-weight: 700;
}

.tcf-account-area .tcf-last-result-v4 {
    min-height: 142px;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tcf-account-area .tcf-last-blue {
    background: #eef5ff;
}

.tcf-account-area .tcf-last-purple {
    background: #f5efff;
}

.tcf-account-area .tcf-last-result-v4 > span {
    color: #486384;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 2px;
}

.tcf-account-area .tcf-last-result-v4 > strong {
    color: var(--v4-navy);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 12px;
}

.tcf-account-area .tcf-result-line-v4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    color: #526a89;
    font-size: 10px;
}

.tcf-account-area .tcf-result-line-v4 b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--v4-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.tcf-account-area .tcf-last-purple .tcf-result-line-v4 b {
    background: var(--v4-purple);
}

.tcf-account-area .tcf-last-result-v4 > small {
    margin-top: 8px;
    color: #6f83a0;
    font-size: 8px;
    line-height: 1.35;
}

.tcf-account-area .tcf-objective-strip-v4 {
    margin-top: 10px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #eef6ff;
    color: var(--v4-blue);
}

.tcf-account-area .tcf-objective-strip-v4 > span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.tcf-account-area .tcf-objective-strip-v4 p {
    margin: 0;
    color: #2d66b0;
    font-size: 10px;
    line-height: 1.45;
}

.tcf-account-area .tcf-objective-strip-v4 strong {
    color: var(--v4-blue);
}

/* Performance summary */
.tcf-account-area .tcf-summary-card-v4 {
    margin: 10px 18px 0;
    padding: 16px 18px;
    border: 1px solid var(--v4-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--v4-shadow-sm);
}

.tcf-account-area .tcf-summary-grid-v4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tcf-account-area .tcf-summary-item-v4 {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 4px 18px;
    border-right: 1px solid #e8eef6;
}

.tcf-account-area .tcf-summary-item-v4:last-child {
    border-right: 0;
}

.tcf-account-area .tcf-summary-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 18px;
    font-weight: 800;
}

.tcf-account-area .tcf-summary-green {
    background: #e9f8f0;
    color: #159153;
}

.tcf-account-area .tcf-summary-orange {
    background: #fff1dc;
    color: #d58a10;
}

.tcf-account-area .tcf-summary-purple {
    background: #f1eaff;
    color: #7447e8;
}

.tcf-account-area .tcf-summary-blue {
    background: #eaf3ff;
    color: #2177df;
}

.tcf-account-area .tcf-summary-item-v4 > div {
    min-width: 0;
}

.tcf-account-area .tcf-summary-item-v4 small,
.tcf-account-area .tcf-summary-item-v4 strong,
.tcf-account-area .tcf-summary-item-v4 em {
    display: block;
}

.tcf-account-area .tcf-summary-item-v4 small {
    color: #6f83a0;
    font-size: 8px;
    margin-bottom: 3px;
}

.tcf-account-area .tcf-summary-item-v4 strong {
    color: var(--v4-navy);
    font-size: 16px;
    line-height: 1.15;
    font-weight: 800;
}

.tcf-account-area .tcf-summary-item-v4 em {
    margin-top: 4px;
    color: #7588a2;
    font-size: 7px;
    font-style: normal;
}

/* Rich history table */
.tcf-account-area .tcf-history-card-v4 {
    margin-top: 10px;
}

.tcf-account-area .tcf-history-card-v4 table {
    min-width: 850px;
}

.tcf-account-area .tcf-history-card-v4 th {
    padding: 10px 8px;
    font-size: 8px;
}

.tcf-account-area .tcf-history-card-v4 td {
    padding: 11px 8px;
    font-size: 9px;
}

.tcf-account-area .tcf-score-points {
    background: #fff1dc !important;
    color: #b56a00 !important;
    min-width: 62px;
}

.tcf-account-area .tcf-level-badge,
.tcf-account-area .tcf-nclc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef5ff;
    color: #276dbd;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.tcf-account-area .tcf-level-badge.a1,
.tcf-account-area .tcf-level-badge.a2 {
    background: #fff1dc;
    color: #b56a00;
}

.tcf-account-area .tcf-level-badge.b1,
.tcf-account-area .tcf-level-badge.b2 {
    background: #eaf3ff;
    color: #1768c9;
}

.tcf-account-area .tcf-level-badge.c1,
.tcf-account-area .tcf-level-badge.c2 {
    background: #e6f8ed;
    color: #168a51;
}

.tcf-account-area .tcf-history-all-link-v4 {
    padding-top: 12px;
    text-align: center;
}

.tcf-account-area .tcf-history-all-link-v4 a {
    color: var(--v4-blue) !important;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none !important;
}

/* Desktop 100%: compact visual density similar to the previous 90% view.
   No browser zoom is applied. */
@media (min-width: 901px) {
    .tcf-account-area .tcf-account-shell {
        width: min(1260px, calc(100vw - 40px));
        margin-left: auto;
        margin-right: auto;
    }

    .tcf-account-area .tcf-progress-card-v4,
    .tcf-account-area .tcf-summary-card-v4,
    .tcf-account-area .tcf-history-card-v4 {
        border-radius: 13px;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .tcf-account-area .tcf-summary-grid-v4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tcf-account-area .tcf-summary-item-v4:nth-child(2) {
        border-right: 0;
    }

    .tcf-account-area .tcf-summary-item-v4:nth-child(-n+2) {
        padding-bottom: 12px;
        border-bottom: 1px solid #e8eef6;
    }

    .tcf-account-area .tcf-summary-item-v4:nth-child(n+3) {
        padding-top: 12px;
    }
}

/* Mobile: NO ZOOM. Progress modules remain side-by-side, with readable result panels. */
@media (max-width: 720px) {
    .tcf-account-area .tcf-progress-card-v4 {
        padding: 13px 10px 12px;
    }

    .tcf-account-area .tcf-progress-grid-v4 {
        grid-template-columns: 1fr 1fr;
    }

    .tcf-account-area .tcf-progress-item-v4 {
        padding: 5px 8px 9px;
    }

    .tcf-account-area .tcf-progress-label {
        min-height: 34px;
        font-size: 8px;
        gap: 4px;
    }

    .tcf-account-area .tcf-mini-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        font-size: 6px;
    }

    .tcf-account-area .tcf-progress-detail-v4 {
        grid-template-columns: 1fr;
        gap: 7px;
        min-height: 0;
    }

    .tcf-account-area .tcf-progress-ring-side-v4 .tcf-ring {
        width: 66px;
        height: 66px;
        margin: 4px auto 5px;
    }

    .tcf-account-area .tcf-progress-ring-side-v4 .tcf-ring b {
        font-size: 13px;
    }

    .tcf-account-area .tcf-progress-ring-side-v4 > small {
        font-size: 7px;
        white-space: nowrap;
    }

    .tcf-account-area .tcf-last-result-v4 {
        min-height: 105px;
        padding: 8px 9px;
        border-radius: 9px;
    }

    .tcf-account-area .tcf-last-result-v4 > span {
        font-size: 7px;
    }

    .tcf-account-area .tcf-last-result-v4 > strong {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .tcf-account-area .tcf-result-line-v4 {
        margin-top: 3px;
        font-size: 7px;
    }

    .tcf-account-area .tcf-result-line-v4 b {
        min-height: 20px;
        min-width: 25px;
        padding: 2px 5px;
        font-size: 7px;
    }

    .tcf-account-area .tcf-last-result-v4 > small {
        margin-top: 4px;
        font-size: 6px;
    }

    .tcf-account-area .tcf-objective-strip-v4 {
        min-height: 42px;
        margin-top: 7px;
        gap: 7px;
        padding: 7px 8px;
    }

    .tcf-account-area .tcf-objective-strip-v4 > span {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
        font-size: 8px;
    }

    .tcf-account-area .tcf-objective-strip-v4 p {
        font-size: 7px;
    }

    .tcf-account-area .tcf-summary-card-v4 {
        margin: 8px 10px 0;
        padding: 12px 10px;
        border-radius: 11px;
    }

    .tcf-account-area .tcf-summary-grid-v4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tcf-account-area .tcf-summary-item-v4 {
        gap: 7px;
        padding: 6px 7px;
    }

    .tcf-account-area .tcf-summary-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        border-radius: 8px;
        font-size: 13px;
    }

    .tcf-account-area .tcf-summary-item-v4 small {
        font-size: 6px;
    }

    .tcf-account-area .tcf-summary-item-v4 strong {
        font-size: 11px;
    }

    .tcf-account-area .tcf-summary-item-v4 em {
        font-size: 6px;
    }

    .tcf-account-area .tcf-history-card-v4 {
        margin: 8px 10px 18px;
        padding: 12px 10px;
        border-radius: 11px;
    }

    .tcf-account-area .tcf-history-card-v4 table {
        min-width: 850px;
    }
}

/* Small phones: preserve the 2-column progress layout without zoom. */
@media (max-width: 380px) {
    .tcf-account-area .tcf-progress-item-v4 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .tcf-account-area .tcf-progress-label {
        font-size: 7px;
    }

    .tcf-account-area .tcf-summary-card-v4 {
        margin-left: 7px;
        margin-right: 7px;
    }
}


/* ==========================================================
   TCF DASHBOARD — HISTORY TABLE V5
   Design selected by user:
   filters + 5 rows/page + compact pagination
   ========================================================== */

.tcf-account-area .tcf-history-card-v4 {
    background: #ffffff;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(28, 55, 92, .05);
    overflow: hidden;
}

.tcf-account-area .tcf-history-toolbar-v5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px 12px;
    flex-wrap: wrap;
}

.tcf-account-area .tcf-history-toolbar-v5 .tcf-card-heading {
    margin: 0;
    padding: 0;
    border: 0;
}

.tcf-account-area .tcf-history-toolbar-v5 .tcf-card-heading h2 {
    margin: 0;
    white-space: nowrap;
}

.tcf-account-area .tcf-history-filters-v5 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.tcf-account-area .tcf-history-filter-v5 {
    appearance: none;
    border: 1px solid #e2e9f3;
    background: #ffffff;
    color: #607694;
    min-height: 34px;
    padding: 7px 16px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: .18s ease;
}

.tcf-account-area .tcf-history-filter-v5:hover {
    border-color: #bcd0ea;
    color: #176fd8;
    background: #f8fbff;
}

.tcf-account-area .tcf-history-filter-v5.is-active {
    border-color: #2379ed;
    background: #2379ed;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(35, 121, 237, .18);
}

.tcf-account-area .tcf-history-filter-v5.tcf-filter-co.is-active {
    background: #2379ed;
    border-color: #2379ed;
}

.tcf-account-area .tcf-history-filter-v5.tcf-filter-ce.is-active {
    background: #7144e8;
    border-color: #7144e8;
}

.tcf-account-area .tcf-history-scroll {
    overflow-x: auto;
    margin: 0 10px;
}

.tcf-account-area .tcf-history-table-v5 {
    width: 100%;
    min-width: 760px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed;
}

.tcf-account-area .tcf-history-table-v5 th {
    padding: 10px 12px !important;
    background: #f5f8fc !important;
    border-top: 1px solid #e4eaf3 !important;
    border-bottom: 1px solid #e4eaf3 !important;
    color: #6d82a0 !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    text-align: left !important;
    letter-spacing: .055em;
}

.tcf-account-area .tcf-history-table-v5 th:first-child {
    border-left: 1px solid #e4eaf3;
    border-top-left-radius: 6px;
}

.tcf-account-area .tcf-history-table-v5 th:last-child {
    border-right: 1px solid #e4eaf3;
    border-top-right-radius: 6px;
}

.tcf-account-area .tcf-history-table-v5 td {
    height: 47px;
    padding: 9px 12px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e6ebf2 !important;
    border-left: 1px solid #edf1f6 !important;
    color: #405b7c !important;
    font-size: 9px !important;
    font-weight: 550 !important;
    vertical-align: middle !important;
}

.tcf-account-area .tcf-history-table-v5 td:last-child {
    border-right: 1px solid #edf1f6 !important;
}

.tcf-account-area .tcf-history-row-v5:hover td {
    background: #fbfdff !important;
}

.tcf-account-area .tcf-history-table-v5 th:nth-child(1),
.tcf-account-area .tcf-history-table-v5 td:nth-child(1) { width: 14%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(2),
.tcf-account-area .tcf-history-table-v5 td:nth-child(2) { width: 29%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(3),
.tcf-account-area .tcf-history-table-v5 td:nth-child(3) { width: 12%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(4),
.tcf-account-area .tcf-history-table-v5 td:nth-child(4) { width: 14%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(5),
.tcf-account-area .tcf-history-table-v5 td:nth-child(5) { width: 10%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(6),
.tcf-account-area .tcf-history-table-v5 td:nth-child(6) { width: 12%; }

.tcf-account-area .tcf-history-table-v5 th:nth-child(7),
.tcf-account-area .tcf-history-table-v5 td:nth-child(7) { width: 9%; }

.tcf-account-area .tcf-history-table-v5 .tcf-history-tag {
    min-height: 25px;
    padding: 5px 9px;
    font-size: 8px;
}

.tcf-account-area .tcf-history-table-v5 .tcf-score-points {
    min-width: 62px;
    min-height: 25px;
    padding: 5px 9px;
    font-size: 8px;
}

.tcf-account-area .tcf-history-table-v5 .tcf-level-badge,
.tcf-account-area .tcf-history-table-v5 .tcf-nclc-badge {
    min-height: 25px;
    padding: 5px 9px;
    font-size: 8px;
}

.tcf-account-area .tcf-history-pagination-v5 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 54px;
    padding: 8px 12px 12px;
}

.tcf-account-area .tcf-history-pages-v5 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tcf-account-area .tcf-history-page-btn-v5,
.tcf-account-area .tcf-history-page-number-v5 {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #dfe7f1;
    border-radius: 6px;
    background: #ffffff;
    color: #3f5878;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
}

.tcf-account-area .tcf-history-page-btn-v5:hover:not(:disabled),
.tcf-account-area .tcf-history-page-number-v5:hover {
    border-color: #a9c8ef;
    color: #1672dd;
    background: #f6faff;
}

.tcf-account-area .tcf-history-page-number-v5.is-active {
    border-color: #2379ed;
    background: #2379ed;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(35, 121, 237, .2);
}

.tcf-account-area .tcf-history-page-btn-v5:disabled {
    opacity: .42;
    cursor: default;
}

.tcf-account-area .tcf-history-page-dots-v5 {
    width: 20px;
    text-align: center;
    color: #8ca0bb;
    font-size: 11px;
    font-weight: 700;
}

.tcf-account-area .tcf-history-empty-filter-v5 {
    margin: 12px 10px 0;
    padding: 18px;
    border: 1px dashed #d9e2ef;
    border-radius: 8px;
    background: #f9fbfe;
    color: #70849f;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
}

@media (max-width: 720px) {
    .tcf-account-area .tcf-history-toolbar-v5 {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 12px 10px;
        gap: 10px;
    }

    .tcf-account-area .tcf-history-filters-v5 {
        width: 100%;
        gap: 5px;
    }

    .tcf-account-area .tcf-history-filter-v5 {
        min-height: 32px;
        padding: 7px 12px;
        font-size: 9px;
    }

    .tcf-account-area .tcf-history-scroll {
        margin: 0 7px;
    }

    .tcf-account-area .tcf-history-table-v5 {
        min-width: 700px !important;
    }

    .tcf-account-area .tcf-history-table-v5 th,
    .tcf-account-area .tcf-history-table-v5 td {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .tcf-account-area .tcf-history-pagination-v5 {
        min-height: 50px;
        gap: 4px;
    }

    .tcf-account-area .tcf-history-page-btn-v5,
    .tcf-account-area .tcf-history-page-number-v5 {
        width: 28px;
        min-width: 28px;
        height: 28px;
        font-size: 9px;
    }
}

/* TCF Account 0.5.12: dedicated dashboard hero artwork per viewport. */
html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg {
    box-sizing: border-box !important;
    min-height: 190px !important;
    aspect-ratio: 2400 / 650;
    margin: 18px 18px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--tcf-hero-bg-image) center center / cover no-repeat !important;
}

html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg .tcf-hero-city {
    display: none !important;
}

@media (max-width: 720px) {
    html body.tcf-account-area .tcf-dash-hero-v4.tcf-hero-has-bg {
        min-height: 190px !important;
        height: 190px !important;
        aspect-ratio: auto;
        margin: 10px 10px 0 !important;
        background: var(--tcf-hero-bg-mobile-image) center center / cover no-repeat !important;
    }
}

