/* ===== CARDS ===== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px;
    min-width: 0;
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-divider);
}

.card__title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.card__sub {
    margin-top: 2px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===== KPI ===== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.kpi-card {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.kpi-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kpi-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.10);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-card__icon--accent {
    background: rgba(var(--color-accent-rgb), 0.20);
    color: var(--color-accent-ink);
}

.kpi-card__icon--green { background: #D1FAE5; color: #065F46; }
.kpi-card__icon--red { background: #FEE2E2; color: #991B1B; }

.kpi-card__delta {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-positive);
}

.kpi-card__delta--down { color: var(--color-negative); }
.kpi-card__delta--flat { color: var(--color-text-muted); }

.kpi-card__value {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.kpi-card__value small {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0;
}

.kpi-card__label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.kpi-card__spark {
    height: 40px;
    margin-top: 14px;
}

.kpi-card__spark svg { width: 100%; height: 100%; }

.kpi-card__ctx {
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.4;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn--filled {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

.btn--filled:hover {
    background: color-mix(in srgb, var(--color-primary) 85%, #000);
    box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.25);
}

.btn--outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover { background: rgba(var(--color-primary-rgb), 0.06); }

.btn--danger {
    border-color: #EF4444;
    color: #EF4444;
}

.btn--danger:hover { background: rgba(239, 68, 68, 0.06); }

.btn--ghost {
    padding: 8px 12px;
    color: var(--color-primary);
}

.btn--ghost:hover { background: rgba(var(--color-primary-rgb), 0.06); }

.btn--accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
}

.btn--accent:hover { background: color-mix(in srgb, var(--color-accent) 88%, #000); }

.btn--sm {
    padding: 5px 12px;
    font-size: 13px;
}

.btn--lg {
    padding: 12px 24px;
    font-size: 15px;
}

.btn--block { width: 100%; }

.btn.is-done {
    background: #D1FAE5;
    border-color: #D1FAE5;
    color: #065F46;
}

/* ===== LISTES ===== */
.list-group { margin: 0; padding: 0; }

.list-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-divider);
    min-width: 0;
}

.list-item:last-child { border-bottom: none; }

.list-item--link { cursor: pointer; }

.list-item__lead { flex-shrink: 0; }

.list-item__content {
    flex: 1;
    min-width: 0;
}

.list-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item__sub {
    margin-top: 2px;
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item__col {
    flex: 0 0 150px;
    min-width: 0;
    font-size: 13px;
    color: var(--color-text-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item__col small {
    display: block;
    font-size: 11px;
    color: var(--color-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.list-item__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    text-align: right;
}

.list-item__value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.list-item__value--pos { color: var(--color-positive); }
.list-item__value--neg { color: var(--color-negative); }

.list-item__value small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ===== MENU CONTEXTUEL ===== */
.context-wrap {
    position: relative;
    flex-shrink: 0;
}

.context-menu-trigger {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius);
    background: none;
    color: var(--color-text-muted);
    opacity: 0;
    transition: opacity var(--transition), background var(--transition);
}

.list-item:hover .context-menu-trigger,
.context-wrap.is-open .context-menu-trigger { opacity: 1; }

.context-menu-trigger:hover { background: var(--color-divider); }

.context-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    min-width: 200px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    z-index: 50;
    animation: fadeIn var(--transition);
}

.context-wrap.is-open .context-menu { display: block; }

.context-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--color-text);
    text-align: left;
}

.context-menu__item:hover { background: var(--color-divider); }
.context-menu__item--danger { color: #EF4444; }

/* ===== AVATARS & ICONES ===== */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.avatar--lg { width: 56px; height: 56px; font-size: 18px; }
.avatar--amber { background: rgba(var(--color-accent-rgb), 0.22); color: var(--color-accent-ink); }
.avatar--slate { background: #F1F5F9; color: #475569; }

.icon-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--color-primary-rgb), 0.10);
    color: var(--color-primary);
}

.icon-bubble--amber { background: rgba(var(--color-accent-rgb), 0.22); color: var(--color-accent-ink); }
.icon-bubble--green { background: #D1FAE5; color: #065F46; }
.icon-bubble--red { background: #FEE2E2; color: #991B1B; }
.icon-bubble--slate { background: #F1F5F9; color: #475569; }

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.4;
}

.badge--success { background: #D1FAE5; color: #065F46; }
.badge--danger { background: #FEE2E2; color: #991B1B; }
.badge--warning { background: #FEF3C7; color: #92400E; }
.badge--info { background: #DBEAFE; color: #1E40AF; }
.badge--neutral { background: #F3F4F6; color: #6B7280; }
.badge--accent { background: color-mix(in srgb, var(--color-accent) 22%, #fff); color: var(--color-accent-ink); }

/* ===== ALERTES ===== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border-left: 4px solid;
    margin-bottom: 24px;
    animation: fadeIn var(--transition);
}

.alert__body { flex: 1; min-width: 0; }
.alert__title { font-weight: 600; }
.alert__text { margin-top: 2px; font-size: 13px; }
.alert--success { background: #F0FDF4; border-color: #16A34A; color: #166534; }
.alert--danger { background: #FFF5F5; border-color: #EF4444; color: #991B1B; }
.alert--warning { background: #FFFBEB; border-color: #F59E0B; color: #92400E; }
.alert--info { background: #EFF6FF; border-color: #3B82F6; color: #1E40AF; }

/* ===== FORMULAIRES ===== */
.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

.form-select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-input,
.form-select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-surface);
    padding: 9px 12px;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder { color: var(--color-text-faint); }

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-input { border-radius: 0 var(--radius) var(--radius) 0; }

.input-group__addon {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--color-divider);
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.input-group--suffix .form-input { border-radius: var(--radius) 0 0 var(--radius); }

.input-group--suffix .input-group__addon {
    border-right: 1px solid var(--color-border);
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Interrupteur */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.switch__track {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: #D1D5DB;
    transition: background var(--transition);
}

.switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition);
}

.switch input:checked + .switch__track { background: var(--color-primary); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }

/* Carte radio (moyens de paiement) */
.radio-cards {
    display: grid;
    gap: 12px;
}

.radio-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.04);
}

.radio-card__body { flex: 1; min-width: 0; }
.radio-card__title { font-weight: 600; color: var(--color-text); }
.radio-card__sub { font-size: 12px; color: var(--color-text-muted); }

.radio-card__check {
    width: 18px;
    height: 18px;
    border: 1.5px solid #D1D5DB;
    border-radius: 50%;
    flex-shrink: 0;
}

.radio-card:has(input:checked) .radio-card__check {
    border: 5px solid var(--color-primary);
}

.pay-panel { display: none; margin-top: 16px; }
.pay-panel.is-active { display: block; animation: fadeIn var(--transition); }

/* Chips de choix (opérateurs, cryptos) */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 7px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-body);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.chip:hover { border-color: var(--color-primary); }

.chip.is-selected {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.08);
    color: var(--color-primary);
}

/* ===== DRAWER ===== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 999;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 460px;
    max-width: 100vw;
    height: 100vh;
    background: var(--color-surface);
    box-shadow: var(--shadow-drawer);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    z-index: 1000;
}

.drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.drawer__title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.drawer__sub {
    margin-top: 2px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.drawer__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius);
    background: none;
    color: var(--color-text-muted);
}

.drawer__close:hover { background: var(--color-divider); }

.drawer__back {
    display: none;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    font-weight: 500;
    color: var(--color-primary);
}

.drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.drawer__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

/* ===== ONGLETS & PILLS ===== */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: -1px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.tabs__btn:hover { color: var(--color-text); }

.tabs__btn.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn var(--transition); }

.pills {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.pill {
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.pill:hover { color: var(--color-text); }

.pill.is-active {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.08);
    color: var(--color-primary);
}

.pill small {
    margin-left: 4px;
    font-weight: 600;
}

/* ===== CLE / VALEUR ===== */
.kv { margin: 0; }

.kv__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-divider);
}

.kv__row:last-child { border-bottom: none; }
.kv__key { color: var(--color-text-muted); font-size: 13px; }

.kv__val {
    min-width: 0;
    font-weight: 500;
    color: var(--color-text);
    text-align: right;
    overflow-wrap: anywhere;
}

.kv__row--total .kv__key,
.kv__row--total .kv__val {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

/* ===== TIMELINE ===== */
.timeline { padding-left: 4px; }

.timeline__item {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 2px;
    width: 2px;
    background: var(--color-divider);
}

.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }

.timeline__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-divider);
    color: var(--color-text-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline__dot .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.timeline__item.is-done .timeline__dot { background: #D1FAE5; color: #065F46; }
.timeline__item.is-current .timeline__dot { background: rgba(var(--color-accent-rgb), 0.25); color: var(--color-accent-ink); }
.timeline__item.is-failed .timeline__dot { background: #FEE2E2; color: #991B1B; }
.timeline__title { font-weight: 600; color: var(--color-text); }
.timeline__sub { font-size: 12px; color: var(--color-text-muted); }

/* ===== PROGRESSION ===== */
.progress {
    height: 8px;
    border-radius: var(--radius);
    background: var(--color-divider);
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    border-radius: var(--radius);
    background: var(--color-primary);
}

.progress__bar--accent { background: var(--color-accent); }
.progress__bar--danger { background: var(--color-negative); }

/* ===== ETAPES (checkout) ===== */
.steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.steps__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.steps__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-divider);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.steps__item.is-active { color: var(--color-text); }
.steps__item.is-active .steps__num { background: var(--color-primary); color: #FFFFFF; }
.steps__item.is-done .steps__num { background: #D1FAE5; color: #065F46; }

.steps__line {
    flex: 1;
    height: 1px;
    max-width: 80px;
    background: var(--color-border);
}

/* ===== GRAPHIQUES ===== */
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; }

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.donut {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.donut__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut__center strong {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--color-text);
}

.donut__center span { font-size: 11px; color: var(--color-text-muted); }

.legend { flex: 1; min-width: 0; }

.legend__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
}

.legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend__val { margin-left: auto; font-weight: 600; color: var(--color-text); }

/* ===== ETAT VIDE / NOTE ===== */
.note {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--color-divider);
    font-size: 13px;
    color: var(--color-text-muted);
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 12px;
    color: var(--color-text-faint);
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-divider);
}

/* ===== GUEST : HERO & SECTIONS PUBLIQUES ===== */
.hero {
    background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.04) 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--color-divider);
}

.hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 88px 40px 72px;
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 5px 12px;
    border-radius: var(--radius);
    background: rgba(var(--color-accent-rgb), 0.18);
    color: var(--color-accent-ink);
    font-size: 13px;
    font-weight: 600;
}

.hero__title {
    max-width: 760px;
    margin: 0 auto 16px;
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.hero__title { text-wrap: balance; }

.hero__title em {
    font-style: normal;
    color: var(--color-primary);
}

.hero__text {
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 17px;
    color: var(--color-text-muted);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 680px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card-hover);
}

.search-bar__field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    color: var(--color-text-muted);
}

.search-bar__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color-text);
}

.search-bar__input:focus { outline: none; }

.tld-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.tld-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    font-weight: 600;
    color: var(--color-text);
}

.tld-chip small {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.tld-chip--promo {
    border-color: rgba(var(--color-accent-rgb), 0.6);
    background: rgba(var(--color-accent-rgb), 0.12);
}

.band { padding: 72px 0; }
.band--tint { background: #F8F9FA; }

.band__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.band__head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}

.band__title {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.band__sub {
    margin-top: 10px;
    font-size: 16px;
    color: var(--color-text-muted);
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.feature__title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
}

.feature__text { color: var(--color-text-muted); }

.pay-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    font-weight: 600;
    color: var(--color-text);
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-divider);
}

.faq-item:last-child { border-bottom: none; }

.faq-item__q {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--color-text);
}

.faq-item__a { margin-top: 6px; color: var(--color-text-muted); }

.footer {
    border-top: 1px solid var(--color-border);
    background: #F8F9FA;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 40px 40px;
}

.footer__title {
    margin-bottom: 14px;
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--color-text);
}

.footer__text {
    margin-top: 14px;
    max-width: 320px;
    color: var(--color-text-muted);
}

.auth-alt {
    margin-top: 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.auth-alt a {
    font-weight: 600;
    color: var(--color-primary);
}

.hub-title { margin-top: 20px; }

.footer__link {
    display: block;
    padding: 4px 0;
    color: var(--color-text-muted);
}

.footer__link:hover { color: var(--color-primary); }

.footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px 32px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-muted);
}

.auth-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 60px);
}

.auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.auth-form__box { width: 100%; max-width: 400px; }

.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 64px;
    background: var(--color-primary);
    color: #FFFFFF;
}

.auth-aside__title {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.auth-aside__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.auth-aside__item strong { display: block; color: #FFFFFF; }

.auth-aside__mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal {
    max-width: 760px;
    margin: 0 auto;
}

.legal h2 {
    margin: 32px 0 10px;
    font-family: var(--font-title);
    font-size: 18px;
    color: var(--color-text);
}

.legal p { margin-bottom: 10px; }

/* ===== PRIX (cartes tarifaires) ===== */
.price-big {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.price-big small {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.strike {
    text-decoration: line-through;
    color: var(--color-text-faint);
}

/* ===== HUB MAQUETTE ===== */
.hub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-divider);
    font-weight: 500;
    color: var(--color-text);
}

.hub-link:last-child { border-bottom: none; }
.hub-link:hover { color: var(--color-primary); }
.hub-link small { color: var(--color-text-muted); font-weight: 400; }

/* ===== OFFRES (e-mail pro, produits) ===== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

a.feature { transition: box-shadow var(--transition); }
a.feature:hover { box-shadow: var(--shadow-card-hover); }

.feature .badge { align-self: flex-start; margin-top: auto; }

.plan {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.plan--featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card-hover);
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan__feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-body);
}

.plan__feat .icon { color: var(--color-positive); }

.tabs__btn small {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-faint);
}

/* ===== ETATS VIDES & PAGES D'ERREUR ===== */
.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 16px;
    text-align: center;
}

.empty__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.10);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty__title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.empty__text {
    max-width: 360px;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.state-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: calc(100vh - 60px);
    padding: 48px 24px;
    text-align: center;
}

.state-page__code {
    font-family: var(--font-title);
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--color-primary);
}

.state-page__code--accent { color: var(--color-accent); }

.state-page__title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.state-page__text {
    max-width: 440px;
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

.state-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.copy-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.copy-field .form-input { flex: 1; min-width: 0; }

/* ===== NOTIFICATIONS ===== */
.bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius);
    background: none;
    color: var(--color-text-muted);
}

.bell:hover { background: var(--color-divider); color: var(--color-text); }

.bell__dot {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid var(--color-surface);
}

.dropdown__menu--wide { width: 340px; padding: 0; }

.dropdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-divider);
    font-weight: 600;
    color: var(--color-text);
}

.dropdown__foot {
    display: block;
    padding: 10px 14px;
    border-top: 1px solid var(--color-divider);
    text-align: center;
    font-weight: 500;
    color: var(--color-primary);
}

.notif {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-divider);
}

.notif:last-of-type { border-bottom: none; }
.notif--unread { background: rgba(var(--color-primary-rgb), 0.04); }
.notif .icon-bubble { width: 32px; height: 32px; }
.notif__body { flex: 1; min-width: 0; }
.notif__title { font-weight: 600; color: var(--color-text); }
.notif__text { font-size: 12px; color: var(--color-text-muted); }

.list-item--unread::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* ===== APERCUS E-MAIL / SMS ===== */
.mail-preview {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    overflow: hidden;
}

.mail-preview__head {
    padding: 12px 16px;
    background: #F8F9FA;
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-muted);
}

.mail-preview__head strong { color: var(--color-text); }
.mail-preview__body { padding: 24px 20px; color: var(--color-text-body); }
.mail-preview__body h4 { margin: 0 0 10px; font-family: var(--font-title); font-size: 18px; color: var(--color-text); }
.mail-preview__body p { margin: 0 0 12px; }

.mail-preview__cta {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #FFFFFF;
    font-weight: 600;
}

.mail-preview__foot {
    padding: 14px 20px;
    border-top: 1px solid var(--color-divider);
    font-size: 11px;
    color: var(--color-text-faint);
}

.sms-preview {
    max-width: 280px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #F1F5F9;
    color: var(--color-text);
}

.sms-preview__meta { margin-top: 6px; font-size: 11px; color: var(--color-text-faint); }

/* ===== FACTURE IMPRIMABLE ===== */
.invoice-sheet {
    max-width: 794px;
    margin: 0 auto;
    padding: 56px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.invoice-sheet__top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.invoice-sheet__title {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-align: right;
}

.invoice-sheet__meta { text-align: right; color: var(--color-text-muted); }

.invoice-sheet__parties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.invoice-sheet__label {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

.invoice-sheet__addr {
    margin-top: 10px;
    color: var(--color-text-muted);
}

.invoice-sheet__lines { margin-bottom: 24px; }

.invoice-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px 120px 120px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-divider);
}

.invoice-line--head {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    border-bottom-color: var(--color-border);
}

.invoice-line > :nth-child(n+2) { text-align: right; }

.invoice-sheet__totals { margin-left: auto; max-width: 320px; }

.invoice-sheet__foot {
    margin-top: 48px;
    padding-top: 16px;
    border-top: 1px solid var(--color-divider);
    font-size: 12px;
    color: var(--color-text-muted);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 794px;
    margin: 0 auto 20px;
}

.stamp {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid var(--color-positive);
    border-radius: var(--radius);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-positive);
    transform: rotate(-4deg);
}

/* ===== BARRES (rapports) ===== */
.bars {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 200px;
    padding-top: 8px;
}

.bars__col {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.bars__bar {
    width: 100%;
    max-width: 40px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--color-primary);
}

.bars__bar--accent { background: var(--color-accent); }
.bars__lab { font-size: 11px; color: var(--color-text-muted); white-space: nowrap; }

.meter-row { padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.meter-row:last-child { border-bottom: none; }

.meter-row__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

@media print {
    .topnav, .m-header, .bottom-nav, .toolbar, .footer { display: none; }
    body { padding: 0; }
    .page { padding: 0; }
    .invoice-sheet { border: none; box-shadow: none; padding: 0; }
}

/* ===== PAGES LEGALES ===== */
.grid-side {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.card--list-side { padding: 8px 20px; }

.legal--card {
    max-width: none;
    margin: 0;
    padding: 32px;
}

.legal--card h2:first-child { margin-top: 0; }
.legal a { color: var(--color-primary); font-weight: 500; }

/* ===== CONNEXION SOCIALE ===== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.btn--social {
    border-color: var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
}

.btn--social:hover { background: var(--color-divider); }

.icon--brand {
    fill: currentColor;
    stroke: none;
}

/* ===== CONNEXION : case « Se souvenir de moi » ===== */
.auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn--social.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== INSCRIPTION : indicatif téléphonique et conditions ===== */
.phone-field {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
}

.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-body);
}

.auth-terms .switch { margin-top: 1px; }
.auth-terms a { font-weight: 600; color: var(--color-primary); }

/* Motif de fond des pages d'état (erreurs, maintenance, paiement non abouti) : vagues de la marque, très discret. */
.state-page {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60' fill='none' stroke='%232563EB' stroke-opacity='0.07' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 20c15-20 30-20 60 0s45 20 60 0'/%3E%3Cpath d='M0 50c15-20 30-20 60 0s45 20 60 0'/%3E%3C/svg%3E");
    background-size: 120px 60px;
}

/* Moyen de paiement indisponible (solde insuffisant). */
.radio-card.is-disabled { opacity: .55; cursor: not-allowed; }

/* Barre de recherche répétée en tête de la page résultats : pleine largeur du contenu, sans ombre appuyée. */
.search-bar--page {
	max-width: none;
	margin: 0 0 24px;
	box-shadow: none;
}

/* Page WHOIS : valeurs longues (serveurs, e-mails) coupées dans leur bloc, badges de statut, réponse brute repliable. */
.whois .kv__val { overflow-wrap: anywhere; text-align: right; }
.whois__badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 4px; }
.whois__contact + .whois__contact { margin-top: 12px; }
.whois__raw summary { cursor: pointer; font-weight: 600; }
.whois__raw pre { margin: 12px 0 0; max-height: 320px; overflow: auto; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.whois .kv + .card__header { margin-top: 20px; }

/* Nuage de moyens de paiement : deux bandeaux en défilement continu, sens inverses, fondu sur les bords. */
.pay-marquee {
    display: grid;
    gap: 14px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pay-marquee__track {
    display: flex;
    width: max-content;
    animation: pay-scroll 70s linear infinite;
}

.pay-marquee__row--reverse .pay-marquee__track { animation-direction: reverse; animation-duration: 85s; }
.pay-marquee:hover .pay-marquee__track,
.pay-marquee:active .pay-marquee__track { animation-play-state: paused; }

.pay-marquee__group {
    display: flex;
    gap: 14px;
    padding: 4px 14px 4px 0;
    margin: 0;
    list-style: none;
}

.pay-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-text);
}

.pay-logo img { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }

.pay-marquee__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    color: var(--color-text-muted);
}

@keyframes pay-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Mouvement réduit : plus de défilement, les logos se rangent en lignes centrées. */
@media (prefers-reduced-motion: reduce) {
    .pay-marquee { -webkit-mask-image: none; mask-image: none; }
    .pay-marquee__track { animation: none; width: auto; justify-content: center; }
    .pay-marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
    .pay-marquee__group[aria-hidden="true"], .pay-logo[aria-hidden="true"] { display: none; }
}

/* Questions fréquentes : accordéon en cartes numérotées (details/summary natifs). */
.faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }

.faq-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: border-color .15s ease;
}

.faq-card[open] { border-color: var(--color-primary); }

.faq-card__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.faq-card__summary::-webkit-details-marker { display: none; }
.faq-card__summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.faq-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-primary) 10%, #fff);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
}

.faq-card[open] .faq-card__num { background: var(--color-primary); color: #fff; }

.faq-card__q {
    flex: 1;
    min-width: 0;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.faq-card__chevron {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin: 0 4px 3px 0;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq-card[open] .faq-card__chevron { transform: rotate(-135deg); margin-bottom: -3px; border-color: var(--color-primary); }

.faq-card__a {
    padding: 0 20px 20px 70px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
    padding: 6px 4px 0;
    color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .faq-card, .faq-card__chevron { transition: none; }
}

/* FAQ en colonne latérale (page Contact) : pleine largeur, réponse non décalée. */
.faq--compact { max-width: none; margin: 0; }
.faq--compact .faq-card__a { padding-left: 20px; }
.faq__title { margin-bottom: 12px; }

/* Héros de l'accueil : motif d'icônes (hébergement, certificat, e-mail...) en fond, plus discret au centre pour garder le texte lisible. */
.hero--pattern { position: relative; isolation: isolate; }

.hero--pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/hero-pattern.svg") center top / 320px 320px repeat;
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, rgba(0, 0, 0, 0.3), #000 100%);
    mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, rgba(0, 0, 0, 0.3), #000 100%);
    pointer-events: none;
}

/* Sélecteur de devise (en-tête) : bouton compact + menu de devises. */
.currency-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    border: none;
    border-radius: var(--radius);
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
}

.currency-switch__trigger:hover { background: var(--color-divider); }
.currency-switch__head { padding: 6px 12px 8px; font-size: 12px; font-weight: 600; color: var(--color-text-muted); }
.currency-switch__item strong { min-width: 44px; }
.currency-switch__item span { flex: 1; color: var(--color-text-muted); font-size: 13px; }
.currency-switch__item.is-active { background: color-mix(in srgb, var(--color-primary) 8%, #fff); }
.currency-switch__item.is-active .icon { color: var(--color-primary); }
.currency-flag { display: block; flex-shrink: 0; width: 22px; height: 22px; object-fit: cover; border: 1px solid var(--color-border); border-radius: 50%; }
.currency-switch .dropdown__menu { min-width: 270px; }
.currency-switch__item span { white-space: nowrap; }
