/* ══════════════════════════════════════════════════════════════
   Volade Admin — Design system (WP admin)
   ══════════════════════════════════════════════════════════════ */

:root {
    --volade-i-50: #eef2ff;
    --volade-i-100: #e0e7ff;
    --volade-i-200: #c7d2fe;
    --volade-i-300: #a5b4fc;
    --volade-i-400: #8b5cf6;
    --volade-i-500: #6366f1;
    --volade-i-600: #4f46e5;
    --volade-i-700: #4338ca;
    --volade-g-50: #f9fafb;
    --volade-g-100: #f3f4f6;
    --volade-g-200: #e5e7eb;
    --volade-g-300: #d1d5db;
    --volade-g-400: #9ca3af;
    --volade-g-500: #6b7280;
    --volade-g-600: #4b5563;
    --volade-g-700: #374151;
    --volade-g-900: #111827;
    --volade-green: #10b981;
    --volade-green-bg: #d1fae5;
    --volade-red: #ef4444;
    --volade-red-bg: #fee2e2;
    --volade-amber: #f59e0b;
    --volade-amber-bg: #fef3c7;
    --volade-blue: #3b82f6;
    --volade-blue-bg: #dbeafe;
    --volade-radius: 12px;
    --volade-radius-sm: 8px;
    --volade-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --volade-shadow-lg: 0 8px 32px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --volade-shadow-card: 0 4px 20px rgba(17, 24, 39, 0.06);
    --volade-gradient: linear-gradient(135deg, var(--volade-i-500), var(--volade-i-400));
    --volade-gradient-warm: linear-gradient(135deg, var(--volade-i-500), #ec4899);
    --volade-gradient-hero: linear-gradient(135deg, var(--volade-i-600) 0%, #4f46e5 45%, #7c3aed 100%);
    --volade-gradient-hero-dark: linear-gradient(135deg, #111827 0%, #1e1b4b 38%, var(--volade-i-600) 72%, #6366f1 100%);
    --volade-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
}

/* ── Shell ── */
.volade-wrap,
.volade-wrap-inner,
.wphm-wrap {
    font-family: var(--volade-font);
    color: var(--volade-g-700);
    max-width: 1100px;
    padding: 12px 24px 40px;
    box-sizing: border-box;
}

.volade-wrap {
    background:
        radial-gradient(ellipse 80% 240px at 50% -40px, rgba(99, 102, 241, 0.08), transparent 70%),
        linear-gradient(180deg, #f8f9ff 0%, #fafafa 180px, transparent 320px);
}

.volade-wrap h1,
.wphm-wrap h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--volade-g-900);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.volade-page-hero h1,
.volade-discover-hero h1 {
    display: block;
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.volade-wrap h1::before,
.wphm-wrap h1::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 28px;
    background: var(--volade-gradient);
    border-radius: 4px;
    flex-shrink: 0;
}

.volade-page-hero h1::before,
.volade-discover-hero h1::before {
    display: none;
}

.volade-page-lead,
.volade-wrap > .description {
    color: var(--volade-g-500);
    font-size: 14px;
    margin: -8px 0 24px 18px;
    line-height: 1.5;
}

.volade-muted {
    color: var(--volade-g-500);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.volade-card-icon-md {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

/* ── WP notices inside Volade ── */
.volade-wrap .notice,
.wphm-wrap .notice {
    border-radius: var(--volade-radius-sm);
    border-left-width: 4px;
    margin: 0 0 20px 18px;
    box-shadow: var(--volade-shadow);
}

.volade-wrap .notice-success,
.wphm-wrap .notice-success {
    border-left-color: var(--volade-green);
    background: var(--volade-green-bg);
}

/* ── Cards ── */
.volade-card {
    background: #fff;
    border-radius: var(--volade-radius);
    box-shadow: var(--volade-shadow-card);
    border: 1px solid var(--volade-g-200);
    padding: 24px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.volade-card:hover {
    box-shadow: var(--volade-shadow-lg);
    border-color: var(--volade-i-200);
}

.volade-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.volade-card-header h2,
.volade-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--volade-g-900);
}

.volade-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.volade-card-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--volade-g-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a.volade-plugin-hub-card {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 0;
}

a.volade-plugin-hub-card:hover {
    border-color: var(--volade-i-300);
    transform: translateY(-1px);
}

.volade-empty-state {
    text-align: center;
    padding: 48px 32px !important;
}

.volade-empty-lead {
    margin-bottom: 20px !important;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.volade-empty-state .volade-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1;
}

.volade-empty-state h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--volade-g-900);
}

/* ── Stat cards ── */
.volade-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.volade-stat-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--volade-g-50) 100%);
    border-radius: var(--volade-radius);
    border: 1px solid var(--volade-g-200);
    padding: 20px 16px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.volade-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--volade-gradient);
    opacity: 0.9;
}

.volade-stat-card:hover {
    box-shadow: var(--volade-shadow-lg);
    transform: translateY(-2px);
}

.volade-stat-card .volade-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 22px;
}

.volade-stat-icon--blue { background: var(--volade-blue-bg); color: var(--volade-blue); }
.volade-stat-icon--amber { background: var(--volade-amber-bg); color: var(--volade-amber); }
.volade-stat-icon--green { background: var(--volade-green-bg); color: var(--volade-green); }
.volade-stat-icon--indigo { background: var(--volade-i-100); color: var(--volade-i-500); }
.volade-stat-icon--dark { background: var(--volade-g-100); color: var(--volade-g-900); }

.volade-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--volade-g-900);
    display: block;
    line-height: 1.2;
}

.volade-stat-label {
    font-size: 11px;
    color: var(--volade-g-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 4px;
}

.volade-dash-card-lg {
    margin-bottom: 20px;
}

/* ── Progress ── */
.volade-progress {
    height: 10px;
    background: var(--volade-g-100);
    border-radius: 99px;
    overflow: hidden;
    margin: 12px 0 4px;
}

.volade-progress-bar {
    height: 100%;
    background: var(--volade-gradient);
    border-radius: 99px;
    transition: width 0.4s ease;
}

/* ── Buttons ── */
.volade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--volade-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.3;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
}

.volade-btn:hover {
    transform: translateY(-1px);
}

.volade-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.volade-btn-primary {
    background: var(--volade-gradient);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.volade-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    color: #fff;
}

.volade-btn-secondary {
    background: var(--volade-g-100);
    color: var(--volade-g-700) !important;
    border: 1px solid var(--volade-g-200);
}

.volade-btn-secondary:hover {
    background: var(--volade-g-200);
    color: var(--volade-g-900);
}

.volade-btn-sm {
    padding: 7px 14px;
    font-size: 12px;
}

.volade-btn-danger {
    background: var(--volade-red-bg);
    color: var(--volade-red) !important;
    border: 1px solid #fecaca;
}

/* ── Forms & fields ── */
.volade-field {
    margin-bottom: 18px;
}

.volade-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--volade-g-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.volade-field label input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    accent-color: var(--volade-i-500);
}

.volade-field input[type="text"],
.volade-field input[type="email"],
.volade-field input[type="password"],
.volade-field input[type="url"],
.volade-field input[type="number"],
.volade-field select,
.volade-field textarea,
.volade-ref-link-box input {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--volade-g-900);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.volade-field input:focus,
.volade-field select:focus,
.volade-field textarea:focus,
.volade-ref-link-box input:focus {
    outline: none;
    border-color: var(--volade-i-500);
    box-shadow: 0 0 0 3px var(--volade-i-100);
}

.volade-field .description,
.volade-field small.description {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--volade-g-500);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.volade-settings-stack {
    max-width: 100%;
}

.volade-settings-stack + .volade-settings-stack {
    margin-top: 0;
}

.volade-settings-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.volade-settings-rgpd-lead {
    margin-bottom: 16px !important;
}

.volade-settings-intro {
    margin: 0 0 18px !important;
    font-size: 13px;
    line-height: 1.55;
}

.volade-settings-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.volade-settings-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius-sm);
    background: var(--volade-g-50);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.volade-settings-option:hover {
    border-color: var(--volade-i-200);
    background: #fff;
}

.volade-settings-option input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--volade-i-500);
}

.volade-settings-option-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.volade-settings-option-body strong {
    font-size: 14px;
    color: var(--volade-g-900);
}

.volade-settings-option-body span {
    font-size: 12px;
    line-height: 1.5;
    color: var(--volade-g-500);
}

.volade-settings-rgpd-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--volade-g-500);
}

.volade-settings-rgpd-note a {
    color: var(--volade-i-600);
    font-weight: 600;
}

.volade-settings-legal {
    margin-top: 4px;
}

.volade-legal-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.volade-legal-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius-sm);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    height: 100%;
    box-sizing: border-box;
}

.volade-legal-link:hover {
    border-color: var(--volade-i-300);
    box-shadow: var(--volade-shadow-lg);
    transform: translateY(-1px);
}

.volade-legal-link-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.volade-legal-link-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.volade-legal-link-body strong {
    font-size: 14px;
    color: var(--volade-g-900);
}

.volade-legal-link-body span {
    font-size: 12px;
    line-height: 1.45;
    color: var(--volade-g-500);
}

.volade-legal-link-arrow {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--volade-i-500);
    opacity: 0.7;
}

.volade-dashboard-quick-grid {
    margin-bottom: 24px;
}

/* WP form-table inside Volade / WPHM */
.volade-wrap .form-table,
.wphm-wrap .form-table {
    margin-top: 8px;
}

.volade-wrap .form-table th,
.wphm-wrap .form-table th {
    font-weight: 600;
    color: var(--volade-g-700);
    padding: 14px 10px 14px 0;
    width: 220px;
    vertical-align: top;
    font-size: 13px;
}

.volade-wrap .form-table td,
.wphm-wrap .form-table td {
    padding: 10px 0;
    font-size: 14px;
}

.volade-wrap .form-table td label,
.wphm-wrap .form-table td label {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    color: var(--volade-g-700);
    cursor: pointer;
}

.volade-wrap select,
.wphm-wrap select,
.volade-wrap input[type="text"].regular-text,
.wphm-wrap input.regular-text {
    padding: 8px 12px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius-sm);
    font-size: 14px;
    min-height: 38px;
    background: #fff;
}

.volade-wrap input[type="checkbox"],
.wphm-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--volade-i-500);
    vertical-align: middle;
    margin-right: 6px;
}

.volade-wrap .button,
.wphm-wrap .button {
    border-radius: var(--volade-radius-sm) !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-color: var(--volade-g-200) !important;
    transition: all 0.15s !important;
}

.volade-wrap .button-primary,
.wphm-wrap .button-primary,
.volade-wrap .button.button-primary,
.wphm-wrap input[type="submit"].button-primary {
    background: var(--volade-gradient) !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
}

.volade-wrap .button-primary:hover,
.wphm-wrap .button-primary:hover {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
}

/* ── Auth ── */
.volade-auth-page {
    max-width: 480px;
    margin: 0 auto 48px;
    padding-top: 24px;
    background: transparent;
}

.volade-auth-shell {
    padding: 8px 0 24px;
}

.volade-auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.volade-auth-brand .volade-auth-logo {
    width: 72px;
    height: 72px;
    background: var(--volade-gradient);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

.volade-auth-brand h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-auth-brand p {
    margin: 6px 0 0;
    color: var(--volade-g-500);
    font-size: 14px;
}

.volade-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--volade-shadow-lg);
    padding: 28px;
    border: 1px solid var(--volade-g-200);
}

.volade-auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.volade-auth-tabs {
    display: flex;
    background: var(--volade-g-100);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.volade-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--volade-g-600);
    font-family: inherit;
    transition: all 0.15s;
}

.volade-tab.active {
    background: #fff;
    color: var(--volade-i-600);
    box-shadow: var(--volade-shadow);
}

.volade-auth-form {
    display: none;
}

.volade-auth-form.active {
    display: block;
}

.volade-msg {
    font-size: 13px;
    min-height: 20px;
    margin: 4px 0 12px;
    padding: 8px 12px;
    border-radius: var(--volade-radius-sm);
    font-weight: 500;
}

.volade-msg:empty {
    display: none;
}

.volade-msg.error {
    color: #b91c1c;
    background: var(--volade-red-bg);
    border: 1px solid #fecaca;
}

.volade-msg.success {
    color: #047857;
    background: var(--volade-green-bg);
    border: 1px solid #a7f3d0;
}

/* ── Profile ── */
.volade-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    box-shadow: var(--volade-shadow);
}

.volade-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--volade-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.volade-avatar--sm {
    width: 44px;
    height: 44px;
    font-size: 14px;
    border-radius: 12px;
}

.volade-avatar-info h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-avatar-info p {
    margin: 4px 0 0;
    color: var(--volade-g-500);
    font-size: 14px;
}

.volade-badge-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.volade-account-card {
    margin-bottom: 24px;
}

.volade-account-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px 24px;
    margin: 0 0 20px;
}

.volade-account-meta > div {
    margin: 0;
}

.volade-account-meta dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--volade-g-500);
    font-weight: 600;
    margin: 0 0 4px;
}

.volade-account-meta dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--volade-g-900);
}

.volade-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--volade-g-100);
}

.volade-plan-pill-inline {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    background: var(--volade-g-100);
    color: var(--volade-g-600);
}

.volade-profile-actions {
    margin-left: auto;
    flex-shrink: 0;
}

.volade-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--volade-amber-bg);
    color: #92400e;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
}

.volade-premium-badge-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--volade-gradient-warm);
    color: #fff;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Badges grid ── */
.volade-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.volade-badge-item {
    background: linear-gradient(180deg, var(--volade-g-50) 0%, #fff 100%);
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 18px 12px;
    text-align: center;
    transition: border-color 0.15s, transform 0.15s;
}

.volade-badge-item:hover {
    border-color: var(--volade-i-300);
    transform: translateY(-2px);
    box-shadow: var(--volade-shadow);
}

.volade-badge-icon-lg {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.volade-badge-item strong {
    display: block;
    font-size: 13px;
    color: var(--volade-g-900);
    font-weight: 600;
}

.volade-badge-item small {
    display: block;
    color: var(--volade-g-500);
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.35;
}

/* ── Referrals ── */
.volade-ref-link-box {
    background: var(--volade-g-50);
    border: 1px dashed var(--volade-i-200);
    border-radius: var(--volade-radius);
    padding: 16px;
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}

.volade-ref-link-box input {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.volade-ref-hint {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--volade-g-500);
}

/* ── Discover (enriched) ── */
.volade-discover-page {
    max-width: 1280px;
}

/* ── Page heroes (unifié) ── */
.volade-page-hero,
.volade-discover-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
    padding: 32px 36px;
    border-radius: var(--volade-radius);
    background: var(--volade-gradient-hero);
    color: #fff;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.35);
    overflow: hidden;
    position: relative;
}

.volade-page-hero--dark,
.volade-hub-hero {
    background: var(--volade-gradient-hero-dark);
}

.volade-page-hero--soft {
    background: linear-gradient(135deg, #fff 0%, var(--volade-i-50) 55%, #fff 100%);
    color: var(--volade-g-900);
    border: 1px solid var(--volade-i-100);
    box-shadow: var(--volade-shadow-card);
}

.volade-page-hero--soft h1 {
    color: var(--volade-g-900);
}

.volade-page-hero--soft .volade-page-hero-kicker,
.volade-page-hero--soft .volade-discover-hero-kicker {
    color: var(--volade-i-600);
    opacity: 1;
}

.volade-page-hero--soft .volade-page-hero-lead,
.volade-page-hero--soft .volade-discover-hero-lead {
    color: var(--volade-g-600);
    opacity: 1;
}

.volade-page-hero-kicker,
.volade-discover-hero-kicker,
.volade-activity-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.volade-discover-hero h1,
.volade-activity-hero h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    color: inherit;
}

.volade-page-hero-lead,
.volade-discover-hero-lead,
.volade-activity-lead {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    opacity: 0.92;
    max-width: 560px;
}

.volade-page-hero-actions,
.volade-discover-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.volade-page-hero-aside {
    flex-shrink: 0;
    align-self: center;
}

.volade-hero-user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--volade-radius);
    backdrop-filter: blur(8px);
    min-width: 180px;
}

.volade-hero-user-chip-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.volade-hero-user-chip-body strong {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.volade-hero-user-chip-body span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.volade-discover-hero .volade-btn-secondary,
.volade-page-hero:not(.volade-page-hero--soft) .volade-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.volade-discover-hero .volade-btn-secondary:hover,
.volade-page-hero:not(.volade-page-hero--soft) .volade-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

/* Boutons secondaires sur bandeau coloré — priorité maximale */
.volade-hero-actions-on-dark .volade-btn-secondary,
.volade-hero-actions-on-dark a.volade-btn.volade-btn-secondary,
.volade-page-hero:not(.volade-page-hero--soft) .volade-page-hero-aside .volade-btn-secondary,
.volade-page-hero:not(.volade-page-hero--soft) .volade-page-hero-aside a.volade-btn.volade-btn-secondary {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: none !important;
    box-shadow: none;
}

.volade-hero-actions-on-dark .volade-btn-secondary:hover,
.volade-hero-actions-on-dark a.volade-btn.volade-btn-secondary:hover,
.volade-hero-actions-on-dark .volade-btn-secondary:focus,
.volade-hero-actions-on-dark a.volade-btn.volade-btn-secondary:focus,
.volade-page-hero:not(.volade-page-hero--soft) .volade-page-hero-aside .volade-btn-secondary:hover,
.volade-page-hero:not(.volade-page-hero--soft) .volade-page-hero-aside a.volade-btn.volade-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.62) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.volade-page-hero-visual,
.volade-discover-hero-visual {
    position: relative;
    width: 140px;
    height: 140px;
}

.volade-page-orb,
.volade-discover-orb {
    position: absolute;
    font-size: 42px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    animation: voladeOrbFloat 4s ease-in-out infinite;
}

.volade-discover-orb--1,
.volade-page-orb--1 { top: 10px; left: 20px; }
.volade-discover-orb--2,
.volade-page-orb--2 { top: 50px; right: 0; animation-delay: 0.8s; font-size: 36px; }
.volade-discover-orb--3,
.volade-page-orb--3 { bottom: 0; left: 40px; animation-delay: 1.6s; font-size: 30px; }

@keyframes voladeOrbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.volade-discover-stats {
    margin-bottom: 20px;
}

/* ── Vue d'ensemble (hub) ── */
.volade-hub-page {
    max-width: 1280px;
}

.volade-hub-section {
    margin-bottom: 32px;
}

.volade-hub-section-head {
    margin-bottom: 16px;
}

.volade-hub-section-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

a.volade-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    border-radius: var(--volade-radius);
    border: 1px solid var(--volade-g-200);
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

a.volade-hub-card:hover {
    border-color: var(--volade-i-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
}

.volade-hub-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.volade-hub-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.volade-hub-card-icon {
    font-size: 36px;
    line-height: 1;
}

.volade-hub-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-hub-card-blurb {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--volade-g-600);
    flex: 1;
}

.volade-hub-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.volade-hub-card-cta {
    align-self: flex-start;
    margin-top: auto;
}

.volade-hub-empty h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.volade-hub-suggestions {
    padding-top: 8px;
    border-top: 1px solid var(--volade-g-200);
}

.volade-hub-more {
    margin: 20px 0 0;
    text-align: center;
}

/* ── Bandeau invité XP ── */
.volade-guest-xp-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-bottom: 24px;
    padding: 20px 22px;
    border-radius: var(--volade-radius);
    border: 1px solid var(--volade-i-200);
    background: linear-gradient(135deg, var(--volade-i-50) 0%, #fff 55%, var(--volade-g-50) 100%);
    box-shadow: var(--volade-shadow-card);
}

.volade-guest-xp-banner-icon {
    font-size: 32px;
    line-height: 1;
}

.volade-guest-xp-banner-body {
    flex: 1;
    min-width: 220px;
}

.volade-guest-xp-banner-body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--volade-g-900);
}

.volade-guest-xp-banner-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--volade-g-600);
}

.volade-guest-xp-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

a.volade-guest-quick-card {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 22px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

a.volade-guest-quick-card:hover {
    border-color: var(--volade-i-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
}

a.volade-guest-quick-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-mission-guest-xp-hint {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--volade-i-600);
    text-decoration: none;
}

.volade-mission-guest-xp-hint:hover {
    color: var(--volade-i-700);
    text-decoration: underline;
}

.volade-mission-card.is-guest-preview {
    border-style: dashed;
    border-color: var(--volade-i-200);
}

.volade-discover-toolbar {
    margin-bottom: 28px;
    padding: 20px 22px !important;
}

.volade-discover-search-wrap {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    margin-bottom: 14px;
}

.volade-discover-search-icon {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-left: 14px;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    font-size: 15px;
    user-select: none;
}

.volade-discover-search {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px 12px 44px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius-sm);
    font-size: 14px;
    background: var(--volade-g-50);
    position: relative;
    z-index: 1;
}

.volade-discover-search:focus {
    outline: none;
    border-color: var(--volade-i-400);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #fff;
}

.volade-discover-filters,
.volade-activity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.volade-discover-filter,
.volade-activity-filter {
    border: 1px solid var(--volade-g-200);
    background: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--volade-g-600);
    cursor: pointer;
    transition: all 0.15s;
}

.volade-discover-filter:hover,
.volade-activity-filter:hover,
.volade-discover-cat:hover {
    border-color: var(--volade-i-300);
    color: var(--volade-i-700);
}

.volade-discover-filter.is-active,
.volade-activity-filter.is-active,
.volade-discover-cat.is-active {
    background: var(--volade-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.volade-discover-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.volade-discover-cat {
    border: 1px dashed var(--volade-g-300);
    background: var(--volade-g-50);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--volade-g-600);
    cursor: pointer;
}

.volade-discover-result-count {
    margin: 0;
    font-size: 12px;
    color: var(--volade-g-500);
}

.volade-discover-section {
    margin-bottom: 36px;
}

.volade-discover-section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--volade-g-900);
}

.volade-discover-section-head p {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--volade-g-500);
}

.volade-discover-cat-count {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--volade-i-100);
    color: var(--volade-i-700);
}

.volade-discover-featured-grid,
.volade-discover-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.volade-discover-card-v2 {
    position: relative;
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
}

.volade-discover-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: var(--volade-shadow-lg);
    border-color: var(--volade-i-300);
}

.volade-discover-card-v2.is-installed {
    border-color: #6ee7b7;
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 28%);
}

.volade-discover-card-v2-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.volade-discover-card-v2-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.volade-discover-card-v2-icon {
    font-size: 36px;
    line-height: 1;
}

.volade-discover-card-v2-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.volade-discover-badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.volade-discover-badge--live {
    background: var(--volade-i-100);
    color: var(--volade-i-700);
}

.volade-discover-badge--planned {
    background: var(--volade-g-100);
    color: var(--volade-g-600);
}

.volade-discover-badge--installed {
    background: var(--volade-i-100);
    color: var(--volade-i-700);
}

.volade-discover-card-v2-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--volade-g-900);
    line-height: 1.3;
}

.volade-discover-card-v2-blurb {
    margin: 0;
    font-size: 12px;
    color: var(--volade-g-500);
    line-height: 1.5;
    flex: 1;
}

.volade-discover-card-v2-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.volade-discover-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--volade-g-100);
    color: var(--volade-g-600);
}

.volade-discover-tier {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.volade-discover-tier--free { background: #ecfdf5; color: #047857; }
.volade-discover-tier--freemium { background: #fff7ed; color: #c2410c; }
.volade-discover-tier--premium { background: #fef3c7; color: #92400e; }

.volade-discover-card-v2-actions {
    margin-top: 4px;
}

.volade-discover-soon {
    font-size: 12px;
    font-weight: 600;
    color: var(--volade-g-400);
}

.volade-discover-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--volade-g-50);
    border: 1px dashed var(--volade-g-300);
    border-radius: var(--volade-radius);
}

/* Legacy discover (shortcode) */
.volade-discover-grid {
    margin-top: 8px;
}

.volade-discover-count {
    font-size: 14px;
    color: var(--volade-g-500);
    margin: 0 0 24px;
    padding: 10px 16px;
    background: var(--volade-i-50);
    border-radius: var(--volade-radius-sm);
    border: 1px solid var(--volade-i-100);
}

.volade-discover-category {
    margin-bottom: 32px;
}

.volade-category-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--volade-g-800, var(--volade-g-700));
    padding-bottom: 8px;
    border-bottom: 2px solid var(--volade-i-100);
}

.volade-discover-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.volade-discover-card {
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 18px;
    transition: all 0.2s;
    position: relative;
}

.volade-discover-card:hover {
    border-color: var(--volade-i-300);
    box-shadow: var(--volade-shadow-lg);
    transform: translateY(-2px);
}

.volade-discover-card .volade-card-icon {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1;
}

.volade-discover-card .volade-tier-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.volade-card-name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--volade-g-900);
    padding-right: 56px;
}

.volade-card-desc {
    font-size: 12px;
    color: var(--volade-g-500);
    margin: 0;
    line-height: 1.45;
}

.volade-tier-badge {
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.volade-tier-badge.free {
    background: var(--volade-green-bg);
    color: #065f46;
}

.volade-tier-badge.premium {
    background: var(--volade-amber-bg);
    color: #92400e;
}

.volade-status-live {
    background: var(--volade-green-bg);
    color: #047857;
}

.volade-status-planned {
    background: var(--volade-g-100);
    color: var(--volade-g-500);
}

/* ── Premium ── */
.volade-plan-banner {
    background: var(--volade-gradient);
    border-radius: var(--volade-radius);
    padding: 28px 32px;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.volade-wrap .volade-plan-banner,
.volade-wrap .volade-plan-banner h3,
.volade-wrap .volade-plan-banner p,
.volade-wrap .volade-plan-banner span,
.volade-wrap .volade-plan-banner .volade-plan-pill {
    color: #fff;
}

.volade-plan-banner h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.volade-plan-banner p {
    margin: 6px 0 0;
    opacity: 0.92;
    font-size: 14px;
    color: #fff;
}

.volade-plan-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.volade-plan-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(4px);
}

.volade-billing-toggle {
    display: inline-flex;
    background: var(--volade-g-100);
    border-radius: 99px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--volade-g-200);
}

.volade-billing-btn {
    border: none;
    background: transparent;
    padding: 9px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--volade-g-600);
    cursor: pointer;
    font-family: inherit;
}

.volade-billing-btn.active {
    background: #fff;
    color: var(--volade-i-600);
    box-shadow: var(--volade-shadow);
}

.volade-billing-save {
    font-size: 10px;
    color: var(--volade-green);
    margin-left: 4px;
    font-weight: 700;
}

.volade-tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.volade-tier-card {
    background: #fff;
    border: 2px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.volade-tier-card:hover {
    border-color: var(--volade-i-300);
    box-shadow: var(--volade-shadow-lg);
}

.volade-tier-card.volade-tier-current {
    border-color: var(--volade-i-500);
    box-shadow: 0 0 0 1px var(--volade-i-500);
}

.volade-tier-card.volade-tier-current::before {
    content: "✓ ACTIF";
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--volade-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 99px;
    letter-spacing: 0.06em;
}

.volade-tier-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--volade-g-900);
}

.volade-tier-price .price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--volade-g-900);
    letter-spacing: -0.02em;
}

.volade-tier-price .price-period {
    color: var(--volade-g-500);
    font-size: 14px;
}

.volade-tier-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.volade-tier-features li {
    padding: 10px 0;
    font-size: 13px;
    color: var(--volade-g-600);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--volade-g-100);
}

.volade-tier-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--volade-green-bg);
    color: var(--volade-green);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.volade-tier-cta {
    width: 100%;
    padding: 12px;
    border-radius: var(--volade-radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    box-sizing: border-box;
}

.volade-tier-cta.primary {
    background: var(--volade-gradient);
    color: #fff;
}

.volade-tier-cta.secondary {
    background: var(--volade-g-100);
    color: var(--volade-g-600);
    text-align: center;
}

/* ── Branding admin ── */
.volade-branding-badge {
    position: fixed;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px 0 0 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.volade-badge-inner { display: flex; align-items: center; gap: 6px; }

.volade-badge-logo {
    font-weight: 800;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 0 5px;
    border-radius: 4px;
}

.volade-badge-text { font-weight: 600; }
.volade-badge-user { opacity: 0.8; }

.volade-badge-level,
.volade-badge-xp {
    background: rgba(255, 255, 255, 0.15);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
}

.volade-footer-credit a {
    text-decoration: none;
    color: #6366f1;
    font-weight: 500;
}

/* ── Upsell & gates ── */
.volade-plugin-sidebar {
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 20px;
    margin-top: 24px;
    max-width: 320px;
    box-shadow: var(--volade-shadow);
}

.volade-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--volade-g-100);
}

.volade-sidebar-header strong {
    font-size: 15px;
    color: var(--volade-i-600);
    font-weight: 700;
}

.volade-sidebar-user {
    font-size: 12px;
    color: var(--volade-g-500);
    font-weight: 500;
}

.volade-sidebar-plan {
    font-size: 13px;
    color: var(--volade-g-600);
    margin: 0 0 12px;
    font-weight: 500;
}

.volade-plugin-sidebar p {
    font-size: 13px;
    color: var(--volade-g-500);
    margin: 0 0 12px;
    line-height: 1.5;
}

.volade-upsell-card {
    margin: 0 0 12px;
    padding: 16px !important;
    border-color: var(--volade-i-200) !important;
    background: linear-gradient(135deg, var(--volade-i-50) 0%, #fff 100%) !important;
}

.volade-upsell-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.volade-upsell-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.volade-upsell-text {
    flex: 1;
    min-width: 140px;
}

.volade-upsell-text strong {
    display: block;
    font-size: 14px;
    color: var(--volade-g-900);
    margin-bottom: 2px;
}

.volade-upsell-text span {
    display: block;
    font-size: 12px;
    color: var(--volade-g-500);
    line-height: 1.4;
}

.volade-access-gate {
    margin: 12px 0;
    padding: 20px !important;
    border-color: var(--volade-i-200) !important;
    background: var(--volade-i-50) !important;
    text-align: center;
    border-radius: var(--volade-radius-sm);
}

.volade-access-gate p {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--volade-g-600);
    line-height: 1.5;
}

/* ── Activity (enriched) ── */
.volade-activity-page {
    max-width: 900px;
}

.volade-activity-last {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--volade-g-500);
    padding: 10px 14px;
    background: var(--volade-g-50);
    border-radius: var(--volade-radius-sm);
    border: 1px solid var(--volade-g-200);
}

.volade-activity-toolbar {
    margin-bottom: 20px;
    padding: 14px 18px !important;
}

.volade-activity-timeline {
    position: relative;
    padding-left: 8px;
}

.volade-activity-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--volade-i-300), var(--volade-g-200));
    border-radius: 2px;
}

.volade-activity-day-group {
    margin-bottom: 28px;
}

.volade-activity-day-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--volade-g-600);
}

.volade-activity-day-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--volade-i-500);
    box-shadow: 0 0 0 4px var(--volade-i-100);
    flex-shrink: 0;
}

.volade-activity-day-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 28px;
}

.volade-activity-card {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    box-shadow: var(--volade-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
}

.volade-activity-card:hover {
    transform: translateX(4px);
    box-shadow: var(--volade-shadow-lg);
}

.volade-activity-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--volade-g-100);
}

.volade-activity-card--xp .volade-activity-card-icon { background: #fef3c7; }
.volade-activity-card--level .volade-activity-card-icon { background: #ede9fe; }
.volade-activity-card--badge .volade-activity-card-icon { background: #ecfdf5; }
.volade-activity-card--mission .volade-activity-card-icon { background: #fff7ed; }
.volade-activity-card--plugin .volade-activity-card-icon { background: #eff6ff; }
.volade-activity-card--referral .volade-activity-card-icon { background: #fdf2f8; }

.volade-activity-card-body {
    flex: 1;
    min-width: 0;
}

.volade-activity-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.volade-activity-card-head strong {
    font-size: 14px;
    color: var(--volade-g-900);
}

.volade-activity-relative {
    font-size: 11px;
    font-weight: 600;
    color: var(--volade-i-600);
    white-space: nowrap;
}

.volade-activity-card-detail {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--volade-g-600);
    line-height: 1.45;
}

.volade-activity-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.volade-activity-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--volade-i-50);
    color: var(--volade-i-700);
}

.volade-activity-card-meta time {
    font-size: 11px;
    color: var(--volade-g-400);
}

.volade-activity-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.volade-activity-empty-filter {
    text-align: center;
    color: var(--volade-g-500);
    font-size: 14px;
    padding: 24px;
}

/* Legacy activity list */
.volade-activity-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    padding: 8px 24px;
    box-shadow: var(--volade-shadow);
}

.volade-activity-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--volade-g-100);
}

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

.volade-activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--volade-i-500);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--volade-i-100);
}

.volade-activity-content strong {
    display: block;
    font-size: 14px;
    color: var(--volade-g-900);
    font-weight: 600;
}

.volade-activity-detail,
.volade-activity-plugin {
    display: inline-block;
    font-size: 12px;
    color: var(--volade-i-600);
    margin-right: 8px;
    background: var(--volade-i-50);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.volade-activity-content time {
    display: block;
    font-size: 12px;
    color: var(--volade-g-400);
    margin-top: 6px;
}

/* ── Onboarding ── */
.volade-onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.volade-onboarding-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 36px;
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.25);
    text-align: center;
    border: 1px solid var(--volade-g-200);
}

.volade-onboarding-step {
    display: none;
}

.volade-onboarding-step.active {
    display: block;
}

.volade-onboarding-icon {
    font-size: 52px;
    margin-bottom: 16px;
    line-height: 1;
}

.volade-onboarding-step h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-onboarding-step p {
    color: var(--volade-g-500);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.volade-onboarding-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 28px 0;
}

.volade-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--volade-g-200);
    transition: background 0.2s, transform 0.2s;
}

.volade-dot.active {
    background: var(--volade-i-500);
    transform: scale(1.2);
}

.volade-onboarding-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.volade-onboarding-actions .volade-onboarding-hidden {
    display: none !important;
}

.volade-onboarding-msg {
    min-height: 20px;
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--volade-red);
}

.volade-onboarding-msg.success {
    color: var(--volade-green);
}

/* ── Promouvoir (missions) ── */
.volade-activity-stats {
    margin-bottom: 16px;
}

.volade-promote-stats {
    margin-bottom: 24px;
}

.volade-promote-tabs-wrap {
    margin-bottom: 8px;
}

.volade-promote-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    margin-bottom: 0;
    background: var(--volade-g-100);
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    box-shadow: var(--volade-shadow);
}

.volade-promote-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: var(--volade-radius-sm);
    background: transparent;
    color: var(--volade-g-600);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.volade-promote-tab:hover {
    color: var(--volade-g-900);
    background: rgba(255, 255, 255, 0.65);
}

.volade-promote-tab.is-active {
    background: #fff;
    color: var(--volade-i-700);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.volade-promote-tab-icon {
    font-size: 16px;
    line-height: 1;
}

.volade-promote-tab-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--volade-i-100);
    color: var(--volade-i-700);
}

.volade-promote-tab.is-active .volade-promote-tab-badge {
    background: var(--volade-i-50);
}

.volade-promote-tab-badge--streak {
    background: #fff7ed;
    color: #c2410c;
}

.volade-promote-tab-panels {
    margin-top: 16px;
}

.volade-promote-tab-panel {
    display: none;
    animation: voladeTabIn 0.22s ease;
}

.volade-promote-tab-panel.is-active {
    display: block;
}

@keyframes voladeTabIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.volade-promote-panel-card .volade-card-header {
    align-items: flex-start;
}

.volade-promote-panel-card .volade-card-header h2 {
    margin: 0 0 4px;
}

.volade-promote-panel-lead,
.volade-checkin-lead {
    margin: 0;
    font-size: 13px;
}

.volade-checkin-card {
    margin-bottom: 0;
}

.volade-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.volade-calendar-day {
    position: relative;
    aspect-ratio: 1;
    min-height: 52px;
    border-radius: var(--volade-radius-sm);
    border: 1px solid var(--volade-g-200);
    background: var(--volade-g-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    color: var(--volade-g-600);
}

.volade-calendar-day.is-checked {
    background: var(--volade-green-bg);
    border-color: #6ee7b7;
    color: #047857;
}

.volade-calendar-day.is-today {
    border-color: var(--volade-i-500);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.volade-calendar-weekday {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.75;
}

.volade-calendar-num {
    font-size: 15px;
    font-weight: 700;
}

.volade-calendar-check {
    position: absolute;
    top: 4px;
    right: 5px;
    font-size: 10px;
    font-weight: 700;
}

.volade-checkin-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volade-checkin-done {
    font-weight: 600;
    color: var(--volade-green);
}

.volade-missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.volade-mission-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--volade-g-200);
    border-radius: var(--volade-radius);
    background: #fff;
    box-shadow: var(--volade-shadow);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.volade-mission-card:hover {
    border-color: var(--volade-i-200);
    box-shadow: var(--volade-shadow-lg);
}

.volade-mission-card.is-done {
    opacity: 0.72;
    background: var(--volade-g-50);
}

.volade-mission-card.is-locked {
    opacity: 0.55;
}

.volade-mission-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.volade-mission-body {
    flex: 1;
    min-width: 0;
}

.volade-mission-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--volade-g-900);
}

.volade-mission-body p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--volade-g-500);
    line-height: 1.45;
}

.volade-mission-xp {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--volade-i-50);
    color: var(--volade-i-700);
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}

.volade-mission-repeat {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--volade-g-100);
    color: var(--volade-g-600);
    font-size: 11px;
    font-weight: 600;
}

.volade-mission-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.volade-mission-status {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.volade-mission-status.done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--volade-green-bg, #ecfdf5);
    border: 1px solid #6ee7b7;
    color: #047857;
    font-weight: 700;
}

.volade-mission-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.volade-mission-wait {
    font-size: 12px;
    font-weight: 600;
    color: var(--volade-g-600);
    text-align: center;
    min-width: 120px;
}

.volade-mission-wait-bar {
    width: 100%;
    min-width: 120px;
    height: 4px;
    border-radius: 999px;
    background: var(--volade-g-200);
    overflow: hidden;
    margin-top: 6px;
}

.volade-mission-wait-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--volade-i-500), var(--volade-i-400));
    transition: width 0.35s ease;
}

.volade-mission-status.locked {
    color: var(--volade-g-400);
}

.volade-mission-status.hint {
    color: var(--volade-g-500);
}

.volade-mission-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100010;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: var(--volade-radius);
    background: var(--volade-g-900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.volade-mission-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.volade-mission-toast.is-error {
    background: var(--volade-red);
}

/* ── Responsive ── */
@media (max-width: 782px) {
    .volade-wrap,
    .wphm-wrap {
        padding: 8px 12px 24px;
    }

    .volade-dash-grid {
        grid-template-columns: 1fr 1fr;
    }

    .volade-tier-cards {
        grid-template-columns: 1fr;
    }

    .volade-discover-row {
        grid-template-columns: 1fr;
    }

    .volade-missions-grid,
    .volade-calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .volade-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .volade-profile-actions {
        margin-left: 0;
        width: 100%;
    }

    .volade-ref-link-box {
        flex-direction: column;
    }

    .volade-wrap .form-table th,
    .wphm-wrap .form-table th {
        display: block;
        width: 100%;
        padding-bottom: 4px;
    }

    .volade-discover-hero,
    .volade-page-hero {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .volade-page-hero-visual,
    .volade-discover-hero-visual {
        display: none;
    }

    .volade-page-hero-aside {
        width: 100%;
    }

    .volade-hero-user-chip {
        width: 100%;
    }

    .volade-settings-layout {
        grid-template-columns: 1fr;
    }

    .volade-discover-featured-grid,
    .volade-discover-cards-grid,
    .volade-hub-grid {
        grid-template-columns: 1fr;
    }
}
