/* ============================================================================
   WEBINAR NATIV — interfața din aplicație (FE-APP)
   Clase: prefix `wbn-` (public/js/webinar/*.js). Tokenuri: public/css/light-theme.css (:root).
   Fișierul se încarcă ÎNAINTEA light-theme.css, care are reguli globale cu !important pe
   input/select/textarea/button/label/table/h1–h4 și `.main-content p/span`. De aceea:
     - suprascrierile necesare folosesc !important + o clasă (specificitate > selectorul de tag);
     - textul colorat NU stă în <span>/<p> (light-theme le forțează gri) — folosim b/strong/small/div;
     - niciun nume de clasă nu conține „card", „panel", „section", „close" sau „status" (light-theme are
       selectori [class*=…] cu !important care ar șterge borduri/umbre/culori);
     - TOATE regulile sunt sub `.wbn-scope` (pus de JS pe #wbnRoot, #wbnAdminRoot, pe dialogurile modulului și pe
       secțiunea din fișa leadului): specificitatea (0,2,0) bate `.main-content *` din light-theme, încărcat după.
   Vezi docs/platform/css-conventions.md.
   ============================================================================ */

:root {
    --wbn-brand: #2563eb;
    --wbn-radius: var(--border-radius, 12px);
    --wbn-radius-sm: var(--border-radius-sm, 8px);
    --wbn-live: #e11d48;
    --wbn-ring: 0 0 0 3px rgba(37, 99, 235, .28);
}

/* Containerele montate direct în .content-section NU sunt carduri (light-theme: `.content-section > div`). */
#wbnRoot,
#wbnAdminRoot {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
/* Bloc de conținere pentru elementele `position:absolute` ale modulului (input-urile de fișier ascunse,
   .wbn-sr, meniurile). Fără el, ele se raportau la <body>, ieșeau din `.main-content` (overflow:auto) și
   făceau documentul mai înalt decât ecranul — fereastra devenea derulabilă și, la derulare/scrollIntoView,
   tot shell-ul aplicației (sidebar + conținut) urca, lăsând fundal gri dedesubt. */
#wbnRoot,
#wbnAdminRoot { position: relative; }

.wbn-scope .wbn-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    max-width: 1280px;
    margin: 0 auto;
    padding: 4px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.wbn-scope .wbn-app *,
.wbn-scope .wbn-app *::before,
.wbn-scope .wbn-app *::after,
.wbn-scope .wbn-form *,
.wbn-scope .erp-ui-modal-body * { box-sizing: border-box; }
.wbn-scope .wbn-app :focus-visible,
.wbn-scope .wbn-form :focus-visible { outline: 2px solid var(--primary-500) !important; outline-offset: 2px; }

.wbn-scope .wbn-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wbn-scope .wbn-muted { color: var(--gray-500) !important; }
.wbn-scope .wbn-mt { margin-top: 12px; }
.wbn-scope .wbn-mb { margin-bottom: 12px; }
.wbn-scope .wbn-app code,
.wbn-scope .wbn-form code,
.wbn-scope .wbn-hint code,
.wbn-scope .wbn-alert code {
    font-size: 12px; padding: 1px 6px; border-radius: 6px !important;
    background: var(--gray-100) !important; border: 1px solid var(--gray-200) !important; color: var(--gray-800) !important;
    word-break: break-all;
}

/* ─── tipografie ─────────────────────────────────────────────────────────── */
.wbn-scope .wbn-app .wbn-h1 { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--gray-900) !important; }
.wbn-scope .wbn-app .wbn-h2 { font-size: 20px; font-weight: 700; margin: 0; color: var(--gray-900) !important; }
.wbn-scope .wbn-h3,
.wbn-scope .wbn-app .wbn-h3 { font-size: 16px; font-weight: 700; margin: 0; color: var(--gray-900) !important; }
.wbn-scope .wbn-sub { color: var(--gray-600); font-size: 14px; margin-top: 6px; line-height: 1.5; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ─── butoane ────────────────────────────────────────────────────────────── */
.wbn-scope .wbn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 40px; padding: 0 16px;
    font: inherit; font-size: 14px; font-weight: 600 !important; line-height: 1.2; white-space: nowrap;
    color: var(--gray-800) !important; background: #fff !important;
    border: 1px solid var(--gray-300) !important; border-radius: var(--wbn-radius-sm) !important;
    cursor: pointer; text-decoration: none !important;
    transition: background var(--transition-fast, 150ms ease), border-color 150ms ease, box-shadow 150ms ease, transform 80ms ease !important;
}
.wbn-scope .wbn-btn:hover { background: var(--gray-50) !important; border-color: var(--gray-400) !important; }
.wbn-scope .wbn-btn:active { transform: translateY(1px); }
.wbn-scope .wbn-btn:focus-visible { outline: none !important; box-shadow: var(--wbn-ring); }
.wbn-scope .wbn-btn:disabled,
.wbn-scope .wbn-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.wbn-scope .wbn-btn.busy { cursor: progress; }
.wbn-scope .wbn-btn-primary { background: var(--primary-600) !important; border-color: var(--primary-600) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(37, 99, 235, .25); }
.wbn-scope .wbn-btn-primary:hover { background: var(--primary-700) !important; border-color: var(--primary-700) !important; }
.wbn-scope .wbn-btn-ghost { background: transparent !important; border-color: transparent !important; color: var(--gray-700) !important; }
.wbn-scope .wbn-btn-ghost:hover { background: var(--gray-100) !important; border-color: transparent !important; }
.wbn-scope .wbn-btn-risk { color: #b91c1c !important; border-color: #fecaca !important; }
.wbn-scope .wbn-btn-risk:hover { background: #fef2f2 !important; border-color: #fca5a5 !important; }
.wbn-scope .wbn-btn-live { background: var(--wbn-live) !important; border-color: var(--wbn-live) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(225, 29, 72, .3); }
.wbn-scope .wbn-btn-live:hover { background: #be123c !important; border-color: #be123c !important; }
.wbn-scope .wbn-btn-dashed { width: 100%; border-style: dashed !important; color: var(--primary-700) !important; background: var(--primary-50) !important; border-color: var(--primary-200) !important; }
.wbn-scope .wbn-btn-dashed:hover { background: var(--primary-100) !important; border-color: var(--primary-300) !important; }
.wbn-scope .wbn-btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px !important; }
.wbn-scope .wbn-btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.wbn-scope .wbn-btn-icon { padding: 0; width: 40px; }
.wbn-scope .wbn-btn-icon.wbn-btn-sm { width: 34px; }
.wbn-scope .wbn-btn-onbrand { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; backdrop-filter: blur(6px); }
.wbn-scope .wbn-btn-onbrand:hover { background: rgba(255, 255, 255, .24) !important; border-color: rgba(255, 255, 255, .6) !important; }
.wbn-scope .wbn-btn-onbrand-solid { background: #fff !important; border-color: #fff !important; color: var(--gray-900) !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.wbn-scope .wbn-btn-onbrand-solid:hover { background: var(--gray-100) !important; }

.wbn-scope .wbn-linkbtn,
.wbn-scope .wbn-linklike {
    background: none !important; border: 0 !important; padding: 0 !important; margin: 0; min-height: 0;
    font: inherit; font-weight: 600 !important; color: var(--primary-700) !important; cursor: pointer; text-align: left;
    border-radius: 4px !important;
}
.wbn-scope .wbn-linkbtn:hover { text-decoration: underline; }
.wbn-scope .wbn-linklike { color: inherit !important; font-weight: inherit !important; }
.wbn-scope .wbn-linklike:hover { color: var(--primary-700) !important; }

/* ─── badge-uri / chip-uri ───────────────────────────────────────────────── */
.wbn-scope .wbn-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap;
    background: var(--gray-100); color: var(--gray-700);
}
.wbn-scope .wbn-badge[data-tone="success"] { background: var(--success-bg); color: #065f46; }
.wbn-scope .wbn-badge[data-tone="info"] { background: var(--info-bg); color: #1e40af; }
.wbn-scope .wbn-badge[data-tone="warning"] { background: var(--warning-bg); color: #92400e; }
.wbn-scope .wbn-badge[data-tone="purple"] { background: #ede9fe; color: #5b21b6; }
.wbn-scope .wbn-badge[data-tone="muted"] { background: var(--gray-200); color: var(--gray-600); }
.wbn-scope .wbn-badge[data-tone="live"] { background: var(--wbn-live); color: #fff; letter-spacing: .04em; }
.wbn-scope .wbn-badge[data-tone="onbrand"] { background: rgba(255, 255, 255, .18); color: #fff; }

.wbn-scope .wbn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wbn-scope .wbn-chip {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
    background: var(--gray-100); color: var(--gray-700); font-size: 12px; font-weight: 600; border: 1px solid var(--gray-200);
}
.wbn-scope .wbn-chip[data-tone="success"] { background: var(--success-bg); color: #065f46; border-color: #a7f3d0; }
.wbn-scope .wbn-chip[data-tone="warning"] { background: var(--warning-bg); color: #92400e; border-color: #fde68a; }
.wbn-scope .wbn-chip[data-tone="purple"] { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }

.wbn-scope .wbn-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none;
    box-shadow: 0 0 0 0 currentColor; animation: wbn-pulse 1.6s infinite;
}
.wbn-scope .wbn-badge-live .wbn-pulse { color: #fff; }
@keyframes wbn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ─── antet de pagină ────────────────────────────────────────────────────── */
.wbn-scope .wbn-head,
.wbn-scope .wbn-edhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wbn-scope .wbn-head-text { min-width: 0; flex: 1 1 320px; }
.wbn-scope .wbn-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wbn-scope .wbn-crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-400); margin-bottom: -8px; flex-wrap: wrap; min-width: 0; }
.wbn-scope .wbn-crumbs .wbn-linkbtn { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── panouri, alerte, stări ─────────────────────────────────────────────── */
.wbn-scope .wbn-box {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius);
    box-shadow: var(--shadow-sm); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.wbn-scope .wbn-box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wbn-scope .wbn-box-lead { color: var(--gray-600); font-size: 14px; line-height: 1.55; margin-top: -6px; }

.wbn-scope .wbn-alert {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--wbn-radius);
    border: 1px solid var(--gray-200); background: var(--gray-50); font-size: 14px; line-height: 1.55; color: var(--gray-800);
}
.wbn-scope .wbn-alert strong { display: block; margin-bottom: 2px; color: var(--gray-900); }
.wbn-scope .wbn-alert[data-tone="warning"] { background: #fffbeb; border-color: #fde68a; }
.wbn-scope .wbn-alert[data-tone="success"] { background: #ecfdf5; border-color: #a7f3d0; }
.wbn-scope .wbn-readiness { margin: 12px 0 0; }
.wbn-scope .wbn-readiness-list { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.wbn-scope .wbn-readiness-list li strong { display: inline; }
.wbn-scope .wbn-readiness-list .wbn-btn { margin-left: 8px; vertical-align: middle; }
.wbn-scope .wbn-alert[data-tone="info"] { background: var(--primary-50); border-color: var(--primary-200); }
.wbn-scope .wbn-alert-icon { font-size: 20px; line-height: 1.2; flex: none; }

.wbn-scope .wbn-details { font-size: 14px; color: var(--gray-700); line-height: 1.55; }
.wbn-scope .wbn-details > summary { cursor: pointer; font-weight: 600; color: var(--primary-700); list-style: none; display: inline-flex; gap: 6px; align-items: center; border-radius: 4px; }
.wbn-scope .wbn-details > summary::-webkit-details-marker { display: none; }
.wbn-scope .wbn-details > summary::before { content: '▸'; transition: transform 150ms ease; display: inline-block; }
.wbn-scope .wbn-details[open] > summary::before { transform: rotate(90deg); }
.wbn-scope .wbn-details > div,
.wbn-scope .wbn-details > .wbn-table-wrap { margin-top: 8px; }

.wbn-scope .wbn-state {
    text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--gray-300);
    border-radius: var(--wbn-radius); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.wbn-scope .wbn-state-icon { font-size: 40px; line-height: 1; }
.wbn-scope .wbn-state-title { font-size: 17px; font-weight: 700; color: var(--gray-900); }
.wbn-scope .wbn-state-text { max-width: 560px; color: var(--gray-600); font-size: 14px; line-height: 1.6; }
.wbn-scope .wbn-state-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ─── schelete de încărcare ──────────────────────────────────────────────── */
.wbn-scope .wbn-skel {
    border-radius: var(--wbn-radius); min-height: 16px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 37%, var(--gray-200) 63%);
    background-size: 400% 100%; animation: wbn-shimmer 1.3s ease infinite;
}
.wbn-scope .wbn-skel-line { height: 16px; border-radius: 6px; }
.wbn-scope .wbn-skel-kpi { height: 84px; }
.wbn-scope .wbn-skel-tile { height: 320px; }
.wbn-scope .wbn-skel-hero { height: 180px; }
.wbn-scope .wbn-skel-block { height: 220px; }
.wbn-scope .wbn-skel-table { height: 320px; }
@keyframes wbn-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (prefers-reduced-motion: reduce) {
    .wbn-scope .wbn-skel,
    .wbn-scope .wbn-pulse { animation: none; }
    .wbn-scope .wbn-btn,
    .wbn-scope .wbn-tile { transition: none !important; }
}

/* ─── bandoul „Limite" ───────────────────────────────────────────────────── */
.wbn-scope .wbn-limits {
    background: linear-gradient(135deg, #fff 0%, var(--primary-50) 100%);
    border: 1px solid var(--primary-100); border-radius: var(--wbn-radius); padding: 16px 20px;
    display: flex; flex-direction: column; gap: 12px;
}
.wbn-scope .wbn-limits-main { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.wbn-scope .wbn-limits-kicker { font-size: 12px; font-weight: 700; color: var(--primary-700); text-transform: uppercase; letter-spacing: .06em; }
.wbn-scope .wbn-limits-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-top: 2px; }
.wbn-scope .wbn-limits-usage { display: flex; gap: 24px; flex-wrap: wrap; }
.wbn-scope .wbn-limits-usage > div { display: flex; flex-direction: column; }
.wbn-scope .wbn-limits-usage strong { font-size: 18px; font-weight: 800; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-limits-usage small { font-size: 12px; color: var(--gray-500); }
.wbn-scope .wbn-meter { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--gray-200); gap: 2px; }
.wbn-scope .wbn-meter-free { background: var(--success); border-radius: 999px 0 0 999px; display: block; }
.wbn-scope .wbn-meter-paid { background: var(--primary-400); flex: 1; display: block; border-radius: 0 999px 999px 0; }
.wbn-scope .wbn-meter-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--gray-600); align-items: center; margin-top: -4px; }
.wbn-scope .wbn-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 2px; }
.wbn-scope .wbn-dot-free { background: var(--success); }
.wbn-scope .wbn-dot-paid { background: var(--primary-400); }

/* ─── KPI ────────────────────────────────────────────────────────────────── */
.wbn-scope .wbn-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
/* raport: 10 indicatori = 2 rânduri de 5 pe desktop, carduri verticale (etichetele nu se mai rup pe 3 rânduri) */
.wbn-scope .wbn-kpis-report { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.wbn-scope .wbn-kpis-report .wbn-kpi { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
.wbn-scope .wbn-kpis-report .wbn-kpi-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.wbn-scope .wbn-kpis-report .wbn-kpi-text strong { font-size: 22px; white-space: nowrap; }
.wbn-scope .wbn-kpi-text small.wbn-kpi-sub { font-size: 12px; color: var(--gray-400); }
.wbn-scope .wbn-kpi {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: var(--shadow-sm);
    padding: 16px; display: flex; gap: 12px; align-items: center; min-width: 0;
}
.wbn-scope .wbn-kpi-icon {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none;
    background: var(--primary-50);
}
.wbn-scope .wbn-kpi[data-tone="green"] .wbn-kpi-icon { background: #ecfdf5; }
.wbn-scope .wbn-kpi[data-tone="purple"] .wbn-kpi-icon { background: #f5f3ff; }
.wbn-scope .wbn-kpi[data-tone="orange"] .wbn-kpi-icon { background: #fff7ed; }
.wbn-scope .wbn-kpi[data-tone="pink"] .wbn-kpi-icon { background: #fdf2f8; }
.wbn-scope .wbn-kpi[data-tone="neutral"] .wbn-kpi-icon { background: var(--gray-100); }
.wbn-scope .wbn-kpi[data-tone="live"] { border-color: #fecdd3; background: #fff1f2; }
.wbn-scope .wbn-kpi[data-tone="live"] .wbn-kpi-icon { background: #ffe4e6; }
.wbn-scope .wbn-kpi-text { display: flex; flex-direction: column; min-width: 0; }
.wbn-scope .wbn-kpi-text strong { font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-kpi-text small { font-size: 13px; color: var(--gray-500); line-height: 1.35; }

/* ─── LIVE acum ──────────────────────────────────────────────────────────── */
.wbn-scope .wbn-live-list { display: flex; flex-direction: column; gap: 10px; }
.wbn-scope .wbn-live {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px;
    border-radius: var(--wbn-radius); border: 1px solid #fecdd3; border-left: 6px solid var(--wbn-brand);
    background: linear-gradient(90deg, color-mix(in srgb, var(--wbn-brand) 10%, #fff) 0%, #fff1f2 60%);
    box-shadow: 0 6px 20px rgba(225, 29, 72, .12);
}
.wbn-scope .wbn-live-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
    background: var(--wbn-live); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; flex: none;
}
.wbn-scope .wbn-live-chip .wbn-pulse { color: #fff; }
.wbn-scope .wbn-live-text { display: flex; flex-direction: column; flex: 1 1 220px; min-width: 0; }
.wbn-scope .wbn-live-text strong { font-size: 16px; color: var(--gray-900); overflow-wrap: anywhere; }
.wbn-scope .wbn-live-text small { color: #9f1239; font-size: 13px; }
.wbn-scope .wbn-live-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── următoarele sesiuni (tablou) ───────────────────────────────────────── */
.wbn-scope .wbn-up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-up { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: var(--wbn-radius); }
.wbn-scope .wbn-up:hover { background: var(--gray-50); }
.wbn-scope .wbn-up-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.wbn-scope .wbn-up-text .wbn-linklike { font-size: 15px; font-weight: 700 !important; color: var(--gray-900) !important; overflow-wrap: anywhere; }
.wbn-scope .wbn-up-text small { font-size: 13px; color: var(--gray-500); }

/* ─── bara de filtre ─────────────────────────────────────────────────────── */
.wbn-scope .wbn-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wbn-scope .wbn-toolbar-spacer { flex: 1 1 auto; }
.wbn-scope .wbn-search { position: relative; flex: 1 1 260px; max-width: 420px; display: block; margin: 0; }
.wbn-scope .wbn-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; pointer-events: none; opacity: .6; }
.wbn-scope .wbn-search input { width: 100%; min-height: 40px; padding-left: 36px !important; font-size: 14px; }
.wbn-scope .wbn-search-sm { flex: 0 1 260px; }
.wbn-scope .wbn-seg { display: inline-flex; background: var(--gray-100); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.wbn-scope .wbn-seg-btn {
    border: 0 !important; background: transparent !important; color: var(--gray-600) !important;
    padding: 7px 14px; font-size: 13px; font-weight: 600 !important; cursor: pointer; border-radius: 8px !important; font-family: inherit;
}
.wbn-scope .wbn-seg-btn:hover { color: var(--gray-900) !important; }
.wbn-scope .wbn-seg-btn.is-on { background: #fff !important; color: var(--gray-900) !important; box-shadow: var(--shadow-sm); }
.wbn-scope .wbn-input-sm { min-height: 40px; font-size: 14px; padding-top: 6px !important; padding-bottom: 6px !important; max-width: 100%; }
.wbn-scope .wbn-inline-label { margin: 0 !important; }

/* ─── grila de webinare ──────────────────────────────────────────────────── */
.wbn-scope .wbn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.wbn-scope .wbn-tile {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius-lg, 16px);
    box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
    transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.wbn-scope .wbn-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--gray-300); }
.wbn-scope .wbn-tile-cover {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 8; padding: 0 !important; border: 0 !important;
    border-radius: 0 !important; cursor: pointer; overflow: hidden;
    background: var(--wbn-brand) !important;
    background-image: linear-gradient(135deg, var(--wbn-brand) 0%, color-mix(in srgb, var(--wbn-brand) 55%, #0f172a) 100%) !important;
}
.wbn-scope .wbn-tile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.wbn-scope .wbn-tile:hover .wbn-tile-cover img { transform: scale(1.03); }
.wbn-scope .wbn-tile-initials {
    position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .92);
    font-size: 44px; font-weight: 800; letter-spacing: .04em;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .22), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .12), transparent 40%);
}
/* coperta desenată (fără imagine): gradient brand + titlu — aceeași artă ca în editor */
.wbn-scope .wbn-cover-art {
    position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    padding: 18px 20px; text-align: left; color: #fff;
    background: var(--wbn-brand);
    background-image: linear-gradient(135deg, var(--wbn-brand) 0%, color-mix(in srgb, var(--wbn-brand) 50%, #0f172a) 100%);
}
.wbn-scope .wbn-cover-art-orb { position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -45%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.wbn-scope .wbn-cover-art-orb.is-2 { width: 45%; right: auto; left: -12%; top: auto; bottom: -35%; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%); }
.wbn-scope .wbn-cover-art-kicker { position: relative; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; opacity: .85; }
.wbn-scope .wbn-cover-art-title {
    position: relative; font-size: 19px; font-weight: 800; line-height: 1.22; letter-spacing: -.01em; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.wbn-scope .wbn-cover-art.is-sm { position: relative; width: 100%; height: 100%; padding: 14px 16px; }
.wbn-scope .wbn-cover-art.is-sm .wbn-cover-art-title { font-size: 16px; }
.wbn-scope .wbn-tile-live { color: #be123c; font-weight: 700; }
.wbn-scope .wbn-tile-badges { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; gap: 6px; }
.wbn-scope .wbn-tile-badges .wbn-badge { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.wbn-scope .wbn-tile-badges .wbn-badge[data-tone="neutral"],
.wbn-scope .wbn-tile-badges .wbn-badge[data-tone="muted"] { background: rgba(255, 255, 255, .92); color: var(--gray-800); }
.wbn-scope .wbn-tile-body { padding: 16px 18px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.wbn-scope .wbn-app .wbn-tile-title { font-size: 17px; line-height: 1.3; font-weight: 700; margin: 0; color: var(--gray-900) !important; overflow-wrap: anywhere; }
.wbn-scope .wbn-tile-sub { font-size: 13px; color: var(--gray-500); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wbn-scope .wbn-tile-date { font-size: 13px; color: var(--gray-700); font-weight: 500; }
.wbn-scope .wbn-tile-stats { display: flex; gap: 22px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--gray-100); }
.wbn-scope .wbn-tile-stats > div { display: flex; flex-direction: column; }
.wbn-scope .wbn-tile-stats strong { font-size: 18px; font-weight: 800; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-tile-stats small { font-size: 12px; color: var(--gray-500); }
.wbn-scope .wbn-tile-foot { display: flex; gap: 6px; padding: 10px 14px 14px; flex-wrap: wrap; align-items: center; }
.wbn-scope .wbn-tile-foot > .wbn-btn:first-child { flex: 1 1 auto; }

/* ─── onboarding (stare goală) ───────────────────────────────────────────── */
.wbn-scope .wbn-onboard {
    text-align: center; padding: 44px 24px; border-radius: var(--wbn-radius-lg, 16px);
    background: radial-gradient(1000px 300px at 50% -10%, var(--primary-100), transparent 70%), #fff;
    border: 1px solid var(--gray-200); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.wbn-scope .wbn-onboard-hero { font-size: 52px; line-height: 1; width: 96px; height: 96px; display: grid; place-items: center; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); margin-bottom: 8px; }
.wbn-scope .wbn-app .wbn-onboard-title { font-size: 24px; font-weight: 800; margin: 0; color: var(--gray-900) !important; letter-spacing: -.02em; }
.wbn-scope .wbn-onboard-sub { color: var(--gray-600); font-size: 15px; max-width: 560px; }
.wbn-scope .wbn-onboard-steps { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; width: 100%; max-width: 900px; text-align: left; }
.wbn-scope .wbn-onboard-steps li { display: flex; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: var(--shadow-sm); }
.wbn-scope .wbn-onboard-steps strong { display: block; color: var(--gray-900); font-size: 15px; }
.wbn-scope .wbn-onboard-steps small { display: block; color: var(--gray-600); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.wbn-scope .wbn-step-num {
    width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--primary-600); color: #fff; font-size: 14px; font-weight: 800;
}

/* ─── formulare ──────────────────────────────────────────────────────────── */
.wbn-scope .wbn-form { display: flex; flex-direction: column; gap: 14px; }
.wbn-scope .wbn-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wbn-scope .wbn-field-narrow { max-width: 320px; }
.wbn-scope .wbn-label,
.wbn-scope label.wbn-label { font-size: 13px; font-weight: 600 !important; color: var(--gray-700) !important; margin: 0; }
.wbn-scope .wbn-req { color: #dc2626; font-weight: 700; }
.wbn-scope .wbn-input,
.wbn-scope .wbn-app input.wbn-input,
.wbn-scope .wbn-form input.wbn-input { width: 100%; font-family: inherit; font-size: 14px; min-height: 42px; }
.wbn-scope textarea.wbn-input { resize: vertical; line-height: 1.5; min-height: 70px; }
.wbn-scope .wbn-input[aria-invalid="true"] { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, .15) !important; }
.wbn-scope .wbn-input:disabled { background: var(--gray-50) !important; color: var(--gray-500) !important; cursor: not-allowed; }
.wbn-scope .wbn-hint { font-size: 12.5px; color: var(--gray-500); line-height: 1.5; }
.wbn-scope .wbn-err { font-size: 12.5px; color: #b91c1c; font-weight: 600; min-height: 0; }
.wbn-scope .wbn-err:empty { display: none; }
.wbn-scope .wbn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wbn-scope .wbn-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wbn-scope .wbn-row-avatar { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.wbn-scope .wbn-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.wbn-scope .wbn-inline > input { flex: 1 1 220px; width: auto; }
.wbn-scope .wbn-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wbn-scope .wbn-check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.wbn-scope .wbn-check input { width: 18px !important; height: 18px; padding: 0 !important; accent-color: var(--primary-600); }

/* comutator (switch) accesibil — inputul real e vizual ascuns, dar focusabil */
.wbn-scope .wbn-switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; position: relative; margin: 0; font-weight: 400 !important; }
.wbn-scope .wbn-switch > input {
    position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important;
    padding: 0 !important; border: 0 !important; margin: 0; pointer-events: none;
}
.wbn-scope .wbn-switch-ui {
    width: 42px; height: 24px; border-radius: 999px; background: var(--gray-300); position: relative; flex: none; margin-top: 1px;
    transition: background 150ms ease;
}
.wbn-scope .wbn-switch-ui::after {
    content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform 150ms ease;
}
.wbn-scope .wbn-switch > input:checked + .wbn-switch-ui { background: var(--primary-600); }
.wbn-scope .wbn-switch > input:checked + .wbn-switch-ui::after { transform: translateX(18px); }
.wbn-scope .wbn-switch > input:focus-visible + .wbn-switch-ui { box-shadow: var(--wbn-ring); }
.wbn-scope .wbn-switch.is-disabled { cursor: not-allowed; opacity: .6; }
.wbn-scope .wbn-switch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wbn-scope .wbn-switch-text strong { font-size: 14px; color: var(--gray-900); font-weight: 600; }
.wbn-scope .wbn-switch-text small { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* carduri de alegere (radio) */
.wbn-scope .wbn-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wbn-scope .wbn-choices-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.wbn-scope .wbn-choice {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; cursor: pointer; margin: 0;
    border: 2px solid var(--gray-200); border-radius: var(--wbn-radius); background: #fff; font-weight: 400 !important;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.wbn-scope .wbn-choice:hover { border-color: var(--primary-300); }
.wbn-scope .wbn-choice.is-on { border-color: var(--primary-600); background: var(--primary-50); box-shadow: 0 0 0 4px var(--primary-100); }
.wbn-scope .wbn-choice-check {
    position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; display: none; place-items: center;
    background: var(--primary-600); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 2px 6px rgba(37, 99, 235, .35);
}
.wbn-scope .wbn-choice.is-on .wbn-choice-check { display: grid; }
.wbn-scope .wbn-choice.is-on .wbn-choice-head { padding-right: 28px; }
.wbn-scope .wbn-choice > input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; pointer-events: none; }
.wbn-scope .wbn-choice:focus-within { box-shadow: var(--wbn-ring); }
.wbn-scope .wbn-choice-head { display: flex; gap: 10px; align-items: center; }
.wbn-scope .wbn-choice-head strong { font-size: 15px; color: var(--gray-900); }
.wbn-scope .wbn-choice-icon { font-size: 22px; }
.wbn-scope .wbn-choice-text { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.wbn-scope .wbn-choice-warn { font-size: 13px; color: #92400e; background: #fffbeb; border-radius: 8px; padding: 8px 10px; }
.wbn-scope .wbn-rec { font-size: 11px; font-weight: 700; color: #065f46; background: var(--success-bg); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.wbn-scope .wbn-proscons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.45; }
.wbn-scope .wbn-proscons li { padding-left: 22px; position: relative; color: var(--gray-700); }
.wbn-scope .wbn-proscons li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.wbn-scope .wbn-proscons li.is-pro::before { content: '✓'; color: #059669; }
.wbn-scope .wbn-proscons li.is-con::before { content: '–'; color: #b45309; }

/* ─── editor: stepper ────────────────────────────────────────────────────── */
.wbn-scope .wbn-editor { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wbn-scope .wbn-editor-page { gap: 16px; }
.wbn-scope .wbn-edhead .wbn-h1 b { font-weight: inherit; overflow-wrap: anywhere; }
.wbn-scope .wbn-stepper { position: sticky; top: 0; z-index: 5; background: var(--gray-100); padding: 6px 0; margin: -6px 0; }
.wbn-scope .wbn-stepper ol {
    list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: var(--shadow-sm);
}
.wbn-scope .wbn-stepbtn {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 48px;
    border: 0 !important; background: transparent !important; border-radius: 10px !important; cursor: pointer;
    color: var(--gray-600) !important; font-family: inherit; text-align: left;
}
.wbn-scope .wbn-stepbtn:hover { background: var(--gray-50) !important; }
.wbn-scope .wbn-stepbtn .wbn-step-num { background: var(--gray-200); color: var(--gray-600); width: 28px; height: 28px; font-size: 13px; }
.wbn-scope .wbn-stepbtn small { font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.wbn-scope .wbn-stepbtn.is-done .wbn-step-num { background: var(--success-bg); color: #065f46; }
.wbn-scope .wbn-stepbtn.is-active { background: var(--primary-50) !important; color: var(--primary-800) !important; }
.wbn-scope .wbn-stepbtn.is-active .wbn-step-num { background: var(--primary-600); color: #fff; box-shadow: 0 0 0 4px var(--primary-100); }
.wbn-scope .wbn-step { display: flex; flex-direction: column; gap: 16px; outline: none; min-width: 0; }
.wbn-scope .wbn-step-head { display: flex; flex-direction: column; gap: 4px; }
.wbn-scope .wbn-step-head .wbn-muted { font-size: 14px; }
.wbn-scope .wbn-stepnav {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    position: sticky; bottom: 0; z-index: 4; padding: 12px 16px; margin: 0 -2px;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
    border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: 0 -4px 16px rgba(15, 23, 42, .06);
}
.wbn-scope .wbn-savestate { font-size: 13px; color: var(--gray-500); font-weight: 600; min-height: 18px; }
.wbn-scope .wbn-savestate[data-state="saved"] { color: #047857; }
.wbn-scope .wbn-savestate[data-state="error"] { color: #b91c1c; }
.wbn-scope .wbn-savestate[data-state="saving"],
.wbn-scope .wbn-savestate[data-state="dirty"] { color: var(--gray-500); }

/* încărcare imagini */
.wbn-scope .wbn-file { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; padding: 0 !important; border: 0 !important; }
.wbn-scope .wbn-upload { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.wbn-scope .wbn-upload-preview { flex: none; overflow: hidden; background: var(--gray-100); }
.wbn-scope .wbn-upload-cover .wbn-upload-preview { width: 280px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: var(--wbn-radius); }
.wbn-scope .wbn-upload-avatar { flex-direction: column; align-items: flex-start; }
.wbn-scope .wbn-upload-avatar .wbn-upload-preview { width: 96px; height: 96px; border-radius: 50%; }
.wbn-scope .wbn-upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wbn-scope .wbn-upload-ph {
    width: 100%; height: 100%; display: grid; place-items: center; padding: 16px; text-align: center;
    color: #fff; font-weight: 800; font-size: 15px; line-height: 1.3;
    background: var(--wbn-brand); background-image: linear-gradient(135deg, var(--wbn-brand), color-mix(in srgb, var(--wbn-brand) 55%, #0f172a));
}
.wbn-scope .wbn-upload-ph > div { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wbn-scope .wbn-upload-ph-avatar { font-size: 30px; }
.wbn-scope .wbn-upload-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1 1 200px; min-width: 0; }
/* în coloană (avatar), flex-basis 200px devenea ÎNĂLȚIME → gol mare sub buton */
.wbn-scope .wbn-upload-avatar .wbn-upload-actions { flex: none; }

/* culoare brand */
.wbn-scope .wbn-color { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wbn-scope .wbn-app input.wbn-color-input,
.wbn-scope input.wbn-color-input {
    width: 48px !important; height: 42px; padding: 3px !important; cursor: pointer; border-radius: 10px !important; flex: none;
}
.wbn-scope .wbn-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.wbn-scope .wbn-swatch {
    width: 30px; height: 30px; padding: 0 !important; border-radius: 50% !important; cursor: pointer;
    background: var(--wbn-sw) !important; border: 3px solid #fff !important; box-shadow: 0 0 0 1px var(--gray-300);
}
.wbn-scope .wbn-swatch.is-on { box-shadow: 0 0 0 2px var(--gray-900); }
.wbn-scope .wbn-swatch:focus-visible { outline: none !important; box-shadow: 0 0 0 2px var(--gray-900), var(--wbn-ring); }
.wbn-scope .wbn-app .wbn-color-code { font-size: 13px; }

/* sesiuni */
.wbn-scope .wbn-sess-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-sess {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
    padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); background: #fff;
}
.wbn-scope .wbn-sess[data-status="live"] { border-color: #fecdd3; background: #fff1f2; }
.wbn-scope .wbn-sess[data-status="cancelled"],
.wbn-scope .wbn-sess[data-status="ended"] { background: var(--gray-50); }
.wbn-scope .wbn-sess[data-status="cancelled"] .wbn-sess-text strong { text-decoration: line-through; color: var(--gray-500); }
.wbn-scope .wbn-sess-cal {
    width: 50px; height: 54px; border-radius: 10px; background: #fff; border: 1px solid var(--gray-200); overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--wbn-brand);
}
.wbn-scope .wbn-sess-cal b { font-size: 19px; line-height: 1; font-weight: 800; color: var(--gray-900); }
.wbn-scope .wbn-sess-cal small { font-size: 11px; text-transform: uppercase; color: var(--gray-500); font-weight: 700; letter-spacing: .05em; }
.wbn-scope .wbn-sess-text { display: flex; flex-direction: column; min-width: 0; }
.wbn-scope .wbn-sess-text strong { display: block; font-size: 15px; color: var(--gray-900); overflow-wrap: anywhere; }
.wbn-scope .wbn-sess-text small { font-size: 13px; color: var(--gray-500); }
.wbn-scope .wbn-sess-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wbn-scope .wbn-sess-empty,
.wbn-scope .wbn-bempty { padding: 18px; text-align: center; color: var(--gray-500); font-size: 14px; border: 1px dashed var(--gray-300); border-radius: var(--wbn-radius); background: var(--gray-50); list-style: none; }
.wbn-scope .wbn-sess-add { padding-top: 4px; }
.wbn-scope .wbn-sess-add.is-flash { border-radius: var(--wbn-radius-sm); animation: wbn-flash 2s ease-out; }
@keyframes wbn-flash { 0%, 35% { box-shadow: 0 0 0 4px rgba(37, 99, 235, .35); background: var(--info-bg); } 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0); background: transparent; } }
@media (prefers-reduced-motion: reduce) { .wbn-scope .wbn-sess-add.is-flash { animation: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .35); } }

/* constructor de câmpuri */
.wbn-scope .wbn-std-fields { display: flex; flex-direction: column; gap: 2px; }
.wbn-scope .wbn-fb-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wbn-scope .wbn-fb-item { border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); padding: 14px; background: var(--gray-50); display: flex; flex-direction: column; gap: 10px; }
.wbn-scope .wbn-fb-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
.wbn-scope .wbn-fb-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.wbn-scope .wbn-fb-tools { display: flex; gap: 4px; }

/* previzualizarea paginii de înscriere */
.wbn-scope .wbn-editor { container-type: inline-size; container-name: wbneditor; }
.wbn-scope .wbn-split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
/* formularul + previzualizarea rămân alăturate cât încap (lățimea editorului, nu a ferestrei — meniul lateral contează) */
@container wbneditor (max-width: 900px) { .wbn-scope .wbn-split { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; } }
@container wbneditor (max-width: 660px) {
    .wbn-scope .wbn-split { grid-template-columns: minmax(0, 1fr); }
    .wbn-scope .wbn-preview-sticky { position: static; max-width: 440px; }
}
.wbn-scope .wbn-split-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wbn-scope .wbn-preview-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-preview-label { font-size: 13px; font-weight: 700; color: var(--gray-600); }
.wbn-scope .wbn-preview-label small { font-weight: 500; color: var(--gray-400); }
.wbn-scope .wbn-pv { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-xl); font-size: 12px; color: var(--gray-800); }
.wbn-scope .wbn-pv-bar { display: flex; gap: 5px; align-items: center; padding: 8px 10px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.wbn-scope .wbn-pv-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.wbn-scope .wbn-pv-bar > div { margin-left: 8px; flex: 1; background: #fff; border-radius: 6px; padding: 2px 8px; font-size: 10.5px; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbn-scope .wbn-pv-hero {
    position: relative; padding: 22px 18px; color: #fff; min-height: 150px; display: flex; align-items: flex-end;
    background: var(--wbn-brand); background-image: linear-gradient(135deg, var(--wbn-brand), color-mix(in srgb, var(--wbn-brand) 50%, #0f172a));
}
.wbn-scope .wbn-pv-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wbn-scope .wbn-pv-hero.has-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .78)); }
.wbn-scope .wbn-pv-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.wbn-scope .wbn-pv-kicker { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; opacity: .9; }
.wbn-scope .wbn-pv-title { font-size: 18px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.wbn-scope .wbn-pv-sub { font-size: 12px; opacity: .9; }
.wbn-scope .wbn-pv-when { display: inline-block; margin-top: 4px; font-weight: 700; background: rgba(255, 255, 255, .18); padding: 4px 8px; border-radius: 6px; width: fit-content; }
.wbn-scope .wbn-pv-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.wbn-scope .wbn-pv-presenter { display: flex; gap: 10px; align-items: center; }
.wbn-scope .wbn-pv-presenter img,
.wbn-scope .wbn-pv-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.wbn-scope .wbn-pv-avatar { display: grid; place-items: center; background: var(--wbn-brand); color: #fff; font-weight: 800; }
.wbn-scope .wbn-pv-presenter strong { display: block; font-size: 12.5px; }
.wbn-scope .wbn-pv-presenter small { display: block; font-size: 11px; color: var(--gray-500); }
.wbn-scope .wbn-pv-desc { color: var(--gray-600); line-height: 1.5; white-space: pre-line; }
.wbn-scope .wbn-pv-form { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--gray-50); }
.wbn-scope .wbn-pv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wbn-scope .wbn-pv-lbl { font-size: 10.5px; font-weight: 600; color: var(--gray-600); margin-bottom: 3px; overflow-wrap: anywhere; }
.wbn-scope .wbn-pv-box { height: 26px; border-radius: 6px; border: 1px solid var(--gray-300); background: #fff; }
.wbn-scope .wbn-pv-check { display: flex; gap: 6px; align-items: flex-start; font-size: 10.5px; color: var(--gray-600); line-height: 1.4; }
.wbn-scope .wbn-pv-check > i { width: 13px; height: 13px; border: 1px solid var(--gray-400); border-radius: 3px; flex: none; margin-top: 1px; background: #fff; }
.wbn-scope .wbn-pv-cta { text-align: center; padding: 10px; border-radius: 8px; color: #fff; font-weight: 800; background: var(--wbn-brand); box-shadow: 0 4px 12px color-mix(in srgb, var(--wbn-brand) 35%, transparent); }

/* link public */
.wbn-scope .wbn-linkbox { border: 1px solid var(--primary-200); background: var(--primary-50); border-radius: var(--wbn-radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-linkbox-label { font-size: 13px; font-weight: 700; color: var(--primary-800); }
.wbn-scope .wbn-linkbox-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wbn-scope .wbn-linkbox-row .wbn-input { flex: 1 1 240px; width: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

/* notificări */
.wbn-scope .wbn-notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wbn-scope .wbn-notif { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--gray-100); }
.wbn-scope .wbn-notif:first-child { border-top: 0; padding-top: 4px; }
.wbn-scope .wbn-notif.is-off .wbn-notif-icon { filter: grayscale(1); opacity: .5; }
.wbn-scope .wbn-notif-icon { font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--gray-50); border-radius: 10px; }
.wbn-scope .wbn-notif-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wbn-scope .wbn-notif-delay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-left: 54px; }
.wbn-scope .wbn-notif-delay select { width: auto; min-width: 140px; }
.wbn-scope .wbn-notif-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.wbn-scope .wbn-mail-subject { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 12px; }
.wbn-scope .wbn-mail-subject small { font-size: 11px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.wbn-scope .wbn-mail-frame { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; background: #f1f5f9; margin-bottom: 8px; }
.wbn-scope .wbn-mail-frame iframe { width: 100%; height: min(62vh, 640px); border: 0; display: block; background: #fff; }

/* constructori (sondaje / oferte / resurse / prezentatori) */
.wbn-scope .wbn-blist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-bitem { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); background: #fff; flex-wrap: wrap; }
.wbn-scope .wbn-bitem-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 260px; font-size: 14px; }
.wbn-scope .wbn-bitem-main strong { color: var(--gray-900); overflow-wrap: anywhere; }
.wbn-scope .wbn-bitem-tools { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.wbn-scope .wbn-offer-mini { display: flex; flex-direction: column; gap: 4px; }
.wbn-scope .wbn-price { font-size: 15px; font-weight: 800; color: #047857; }
.wbn-scope .wbn-offer-mini s { color: var(--gray-400); }

/* CRM */
.wbn-scope .wbn-crm-fields { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--primary-100); padding-left: 16px; }
.wbn-scope .wbn-crm-fields.is-disabled { opacity: .55; }
.wbn-scope .wbn-tags {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; min-height: 44px; cursor: text;
    border: 1px solid var(--gray-300); border-radius: var(--wbn-radius-sm); background: #fff;
}
.wbn-scope .wbn-tags:focus-within { border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(59, 130, 246, .1); }
.wbn-scope .wbn-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; background: var(--primary-50); color: var(--primary-800); border-radius: 999px; font-size: 13px; font-weight: 600; }
.wbn-scope .wbn-tag > button {
    width: 20px; height: 20px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
    background: transparent !important; color: var(--primary-700) !important; cursor: pointer; font-size: 15px; line-height: 1;
}
.wbn-scope .wbn-tag > button:hover { background: var(--primary-100) !important; }
.wbn-scope .wbn-app input.wbn-tags-input,
.wbn-scope input.wbn-tags-input {
    flex: 1 1 140px; border: 0 !important; box-shadow: none !important; padding: 4px !important; min-height: 30px; font-size: 14px; background: transparent !important;
}

/* listă de verificare pentru publicare */
.wbn-scope .wbn-publish { border-color: var(--primary-200); background: linear-gradient(180deg, #fff, var(--primary-50)); }
.wbn-scope .wbn-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wbn-scope .wbn-check-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--gray-800); padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--gray-100); flex-wrap: wrap; }
.wbn-scope .wbn-check-list li > div { flex: 1 1 200px; min-width: 0; }
.wbn-scope .wbn-check-list li small { display: block; font-size: 12px; color: var(--gray-500); }
.wbn-scope .wbn-check-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; background: var(--gray-100); color: var(--gray-500); }
.wbn-scope .wbn-check-list li[data-ok="true"] .wbn-check-icon { background: var(--success-bg); color: #047857; }
.wbn-scope .wbn-check-list li[data-ok="false"][data-level="block"] { border-color: #fecaca; }
.wbn-scope .wbn-check-list li[data-ok="false"][data-level="block"] .wbn-check-icon { background: #fee2e2; color: #b91c1c; }
.wbn-scope .wbn-check-list li[data-ok="false"][data-level="block"] small { color: #b91c1c; font-weight: 600; }
.wbn-scope .wbn-check-list li[data-ok="false"][data-level="warn"] .wbn-check-icon { background: var(--warning-bg); color: #b45309; }
.wbn-scope .wbn-published { padding: 12px 14px; border-radius: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 14px; }

/* ─── pagina webinarului ─────────────────────────────────────────────────── */
.wbn-scope .wbn-dhead {
    position: relative; overflow: hidden; border-radius: var(--wbn-radius-lg, 16px); color: #fff;
    padding: 28px; min-height: 200px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
    background: var(--wbn-brand);
    background-image:
        radial-gradient(600px 240px at 90% -20%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(135deg, var(--wbn-brand) 0%, color-mix(in srgb, var(--wbn-brand) 50%, #0f172a) 100%);
    box-shadow: var(--shadow-lg);
}
.wbn-scope .wbn-dhead-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wbn-scope .wbn-dhead.has-cover::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, .55) 60%, rgba(15, 23, 42, .3) 100%); }
.wbn-scope .wbn-dhead-in,
.wbn-scope .wbn-dhead-actions { position: relative; z-index: 2; }
.wbn-scope .wbn-dhead-in { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 380px; }
.wbn-scope .wbn-dhead-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.wbn-scope .wbn-dhead-badges .wbn-badge[data-tone="neutral"],
.wbn-scope .wbn-dhead-badges .wbn-badge[data-tone="muted"] { background: rgba(255, 255, 255, .9); color: var(--gray-800); }
.wbn-scope .wbn-dhead .wbn-dhead-title { font-size: 30px; line-height: 1.15; font-weight: 800; margin: 0; color: #fff !important; letter-spacing: -.02em; overflow-wrap: anywhere; text-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.wbn-scope .wbn-dhead-sub { font-size: 15px; color: rgba(255, 255, 255, .88); line-height: 1.5; max-width: 760px; }
.wbn-scope .wbn-dhead-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .92); font-weight: 500; }
.wbn-scope .wbn-dhead-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.wbn-scope .wbn-menu-wrap { position: relative; }
.wbn-scope .wbn-menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 6px;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: var(--shadow-xl);
    display: flex; flex-direction: column;
}
.wbn-scope .wbn-menu[hidden] { display: none; }
.wbn-scope .wbn-menu > button {
    display: block; width: 100%; text-align: left; padding: 10px 12px; min-height: 40px; border: 0 !important; background: transparent !important;
    color: var(--gray-800) !important; font: inherit; font-size: 14px; font-weight: 500 !important; cursor: pointer; border-radius: 8px !important;
}
.wbn-scope .wbn-menu > button:hover,
.wbn-scope .wbn-menu > button:focus-visible { background: var(--gray-100) !important; outline: none !important; }
.wbn-scope .wbn-menu > button.is-risk { color: #b91c1c !important; }

.wbn-scope .wbn-linkbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); box-shadow: var(--shadow-sm); }
.wbn-scope .wbn-linkbar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 240px; }
.wbn-scope .wbn-linkbar-text small { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.wbn-scope .wbn-app .wbn-linkbar-text code { background: transparent !important; border: 0 !important; padding: 0; font-size: 14px; color: var(--gray-900) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.wbn-scope .wbn-linkbar-actions { display: flex; gap: 6px; }

/* tab-uri */
.wbn-scope .wbn-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200); overflow-x: auto; scrollbar-width: none; margin-bottom: -6px; }
.wbn-scope .wbn-tabs::-webkit-scrollbar { display: none; }
.wbn-scope .wbn-tab {
    padding: 12px 16px; min-height: 46px; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important;
    background: transparent !important; color: var(--gray-600) !important; font: inherit; font-size: 15px; font-weight: 600 !important; cursor: pointer; white-space: nowrap;
}
.wbn-scope .wbn-tab:hover { color: var(--gray-900) !important; }
.wbn-scope .wbn-tab.is-on { color: var(--primary-700) !important; border-bottom-color: var(--primary-600) !important; }
#wbnTabPanel { display: flex; flex-direction: column; gap: 16px; outline: none; min-width: 0; }

/* tabele */
.wbn-scope .wbn-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--wbn-radius); }
.wbn-scope .wbn-table-scroll { max-height: 320px; overflow-y: auto; }
.wbn-scope .wbn-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.wbn-scope .wbn-table th { text-align: left; white-space: nowrap; font-size: 11.5px !important; }
.wbn-scope .wbn-table td { vertical-align: middle; color: var(--gray-800) !important; }
.wbn-scope .wbn-table tbody tr:hover td { background: var(--gray-50); }
.wbn-scope .wbn-table tr.is-cancelled td { opacity: .6; }
.wbn-scope .wbn-table-compact th,
.wbn-scope .wbn-table-compact td { padding: 8px 12px !important; }
.wbn-scope .wbn-td-actions { white-space: nowrap; text-align: right; }
.wbn-scope .wbn-reg-name { text-align: left; }
.wbn-scope .wbn-reg-email { display: block; font-size: 12.5px; overflow-wrap: anywhere; }
.wbn-scope .wbn-table a { color: var(--primary-700); }
#wbnRegBody.is-loading { opacity: .55; transition: opacity 150ms ease; pointer-events: none; }
.wbn-scope .wbn-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; }
.wbn-scope .wbn-pager > div { display: flex; gap: 8px; align-items: center; }
/* bara de scor: pista de 64 px desenată ca fundal; lățimea <i> e % din coloana de 64 px */
.wbn-scope .wbn-score {
    display: grid; grid-template-columns: 64px auto; gap: 8px; align-items: center; min-width: 96px;
    background: linear-gradient(var(--gray-200), var(--gray-200)) no-repeat 0 50% / 64px 6px;
}
.wbn-scope .wbn-score > i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-400), var(--accent-purple, #8b5cf6)); }
.wbn-scope .wbn-score small { font-weight: 700; color: var(--gray-800); font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.wbn-scope .wbn-dl dt { color: var(--gray-500); font-weight: 600; }
.wbn-scope .wbn-dl dd { margin: 0; color: var(--gray-900); overflow-wrap: anywhere; }

/* raport */
.wbn-scope .wbn-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.wbn-scope .wbn-chart { width: 100%; min-height: 200px; }
.wbn-scope .wbn-chart-inner { position: relative; }
.wbn-scope .wbn-chart svg { display: block; max-width: 100%; overflow: visible; border-radius: 8px; }
.wbn-scope .wbn-chart svg:focus-visible { outline: 2px solid var(--primary-500) !important; outline-offset: 4px; }
.wbn-scope .wbn-chart-grid { stroke: var(--gray-200); stroke-width: 1; }
.wbn-scope .wbn-chart-tick { fill: var(--gray-500); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-chart-area { fill: var(--primary-500); fill-opacity: .14; }
.wbn-scope .wbn-chart-line { fill: none; stroke: var(--primary-600); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.wbn-scope .wbn-chart-cross { stroke: var(--gray-400); stroke-width: 1; stroke-dasharray: 3 3; }
.wbn-scope .wbn-chart-dot { fill: var(--primary-600); stroke: #fff; stroke-width: 2; }
.wbn-scope .wbn-chart-hit { fill: transparent; cursor: crosshair; }
.wbn-scope .wbn-chart-tip {
    position: absolute; pointer-events: none; background: var(--gray-900); color: #fff; padding: 6px 10px; border-radius: 8px;
    font-size: 12px; box-shadow: var(--shadow-lg); white-space: nowrap; display: flex; flex-direction: column;
}
.wbn-scope .wbn-chart-tip[hidden] { display: none; }
.wbn-scope .wbn-chart-tip strong { font-size: 14px; color: #fff; display: inline; }
.wbn-scope .wbn-chart-tip small { color: #cbd5e1; font-size: 11px; }
.wbn-scope .wbn-poll + .wbn-poll { border-top: 1px solid var(--gray-100); padding-top: 14px; }
.wbn-scope .wbn-poll-q { font-weight: 700; color: var(--gray-900); font-size: 14px; }
.wbn-scope .wbn-bars { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wbn-scope .wbn-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.wbn-scope .wbn-bar-label { font-size: 13px; color: var(--gray-700); grid-column: 1 / -1; overflow-wrap: anywhere; }
.wbn-scope .wbn-bar { height: 10px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.wbn-scope .wbn-bar > i { display: block; height: 100%; background: var(--primary-300); border-radius: 0 4px 4px 0; }
.wbn-scope .wbn-bar > i.is-top { background: var(--primary-600); }
.wbn-scope .wbn-bar-val { font-size: 13px; font-weight: 700; color: var(--gray-900); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.wbn-scope .wbn-qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wbn-scope .wbn-qlist li { display: flex; gap: 12px; align-items: flex-start; }
.wbn-scope .wbn-q-votes { flex: none; min-width: 48px; text-align: center; padding: 4px 6px; border-radius: 8px; background: var(--primary-50); color: var(--primary-700); font-weight: 800; font-size: 13px; }
.wbn-scope .wbn-q-body { font-size: 14px; color: var(--gray-900); line-height: 1.45; overflow-wrap: anywhere; }
.wbn-scope .wbn-q-answer { margin-top: 4px; font-size: 13px; color: var(--gray-600); }

/* pâlnia raportului */
.wbn-scope .wbn-funnel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wbn-scope .wbn-funnel li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wbn-scope .wbn-funnel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wbn-scope .wbn-funnel-head strong { font-size: 13px; color: var(--gray-700); font-weight: 600; }
.wbn-scope .wbn-funnel-head b { font-size: 20px; font-weight: 800; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.wbn-scope .wbn-funnel-bar { height: 12px; border-radius: 999px; background: var(--gray-100); overflow: hidden; }
.wbn-scope .wbn-funnel-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary-500), var(--accent-purple, #8b5cf6)); }
.wbn-scope .wbn-funnel small { font-size: 12px; line-height: 1.4; }

/* distribuire */
.wbn-scope .wbn-share { flex-basis: 100%; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; padding-top: 10px; border-top: 1px solid var(--gray-100); }
.wbn-scope .wbn-share-label { font-size: 12px; font-weight: 600; color: var(--gray-500); margin-right: 4px; }
.wbn-scope .wbn-share-btn { font-weight: 600 !important; }
.wbn-scope .wbn-disabled-wrap { display: inline-flex; cursor: not-allowed; }
.wbn-scope .wbn-disabled-wrap > .wbn-btn { pointer-events: none; }

/* ─── fișa leadului CRM (secțiunea „🎥 Webinare") ────────────────────────── */
.wbn-scope .wbn-lead { margin: 12px 0; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.wbn-scope .wbn-lead-head { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.wbn-scope .wbn-lead-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; background: var(--gray-50); }
.wbn-scope .wbn-lead-main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 180px; }
.wbn-scope .wbn-lead-main strong { font-size: 13.5px; color: var(--gray-900); overflow-wrap: anywhere; }
.wbn-scope .wbn-lead-main small,
.wbn-scope .wbn-lead-meta small { font-size: 12px; color: var(--gray-500); }
.wbn-scope .wbn-lead-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ─── administrare platformă ─────────────────────────────────────────────── */
.wbn-scope .wbn-admin .wbn-row-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
/* numele variabilelor de mediu nu se rup în mijloc; rândul se rupe între ele */
.wbn-scope .wbn-admin .wbn-hint code,
.wbn-scope .wbn-app .wbn-alert code { white-space: nowrap; word-break: normal; display: inline-block; margin: 1px 0; }
.wbn-scope .wbn-actions-sep { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); }

/* ─── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .wbn-scope .wbn-kpis-report { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wbn-scope .wbn-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* fallback fără container queries */
@supports not (container-type: inline-size) {
    @media (max-width: 980px) {
        .wbn-scope .wbn-split { grid-template-columns: minmax(0, 1fr); }
        .wbn-scope .wbn-preview-sticky { position: static; max-width: 440px; }
    }
}
@media (max-width: 900px) {
    .wbn-scope .wbn-stepper ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .wbn-scope .wbn-stepbtn { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; }
    .wbn-scope .wbn-stepbtn small { font-size: 11.5px; white-space: normal; }
    .wbn-scope .wbn-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .wbn-scope .wbn-app { gap: 16px; padding-bottom: 24px; }
    .wbn-scope .wbn-app .wbn-h1 { font-size: 22px; }
    .wbn-scope .wbn-head-actions,
    .wbn-scope .wbn-head-actions .wbn-btn-lg { width: 100%; }
    .wbn-scope .wbn-row,
    .wbn-scope .wbn-row-3,
    .wbn-scope .wbn-row-avatar,
    .wbn-scope .wbn-choices,
    .wbn-scope .wbn-fb-grid { grid-template-columns: minmax(0, 1fr); }
    .wbn-scope .wbn-box { padding: 16px; }
    .wbn-scope .wbn-dhead { padding: 20px; min-height: 0; }
    .wbn-scope .wbn-dhead .wbn-dhead-title { font-size: 23px; }
    .wbn-scope .wbn-sess { grid-template-columns: auto minmax(0, 1fr); }
    .wbn-scope .wbn-sess-badge { grid-column: 2; grid-row: 2; }
    .wbn-scope .wbn-sess-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .wbn-scope .wbn-notif { grid-template-columns: auto minmax(0, 1fr); }
    .wbn-scope .wbn-notif-actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: 54px; }
    .wbn-scope .wbn-notif-delay { margin-left: 0; }
    .wbn-scope .wbn-stepbtn small { display: none; }
    .wbn-scope .wbn-stepbtn.is-active small { display: block; }
    .wbn-scope .wbn-stepnav { padding: 10px 12px; }
    .wbn-scope .wbn-stepnav .wbn-savestate { order: -1; flex-basis: 100%; }
    .wbn-scope .wbn-stepnav > .wbn-btn { flex: 1 1 auto; }
    .wbn-scope .wbn-search { max-width: none; flex-basis: 100%; }
    .wbn-scope .wbn-toolbar-reg select { flex: 1 1 160px; }
    .wbn-scope .wbn-limits-usage { gap: 16px; }
    .wbn-scope .wbn-kpi-text strong { font-size: 20px; }

    /* tabelele devin carduri pe telefon (fără scroll orizontal) */
    .wbn-scope .wbn-table-stack thead { display: none; }
    .wbn-scope .wbn-table-stack,
    .wbn-scope .wbn-table-stack tbody,
    .wbn-scope .wbn-table-stack tr,
    .wbn-scope .wbn-table-stack td { display: block; width: 100%; }
    .wbn-scope .wbn-table-stack { border: 0 !important; background: transparent !important; }
    .wbn-scope .wbn-table-stack tr {
        background: #fff; border: 1px solid var(--gray-200); border-radius: var(--wbn-radius); margin-bottom: 10px; padding: 6px 0; box-shadow: var(--shadow-sm);
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wbn-scope .wbn-table-stack td { min-width: 0; overflow-wrap: anywhere; }
    .wbn-scope .wbn-table-stack td:first-child,
    .wbn-scope .wbn-table-stack td.wbn-td-actions,
    .wbn-scope .wbn-table-stack td[colspan] { grid-column: 1 / -1; }
    .wbn-scope .wbn-kpis-report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wbn-scope .wbn-up { grid-template-columns: auto minmax(0, 1fr); }
    .wbn-scope .wbn-up > .wbn-btn { display: none; }
    .wbn-scope .wbn-table-stack td { border: 0 !important; padding: 6px 14px !important; text-align: left; }
    .wbn-scope .wbn-table-stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
    .wbn-scope .wbn-table-stack td.wbn-td-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; border-top: 1px solid var(--gray-100) !important; margin-top: 4px; padding-top: 10px !important; }
    .wbn-scope .wbn-table-stack td.wbn-td-actions::before { display: none; }
    .wbn-scope .wbn-table-stack tbody tr:hover td { background: transparent; }
    .wbn-scope .wbn-pager { justify-content: center; }
}
@media (max-width: 420px) {
    .wbn-scope .wbn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .wbn-scope .wbn-kpi { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .wbn-scope .wbn-kpi-icon { width: 36px; height: 36px; font-size: 17px; }
    .wbn-scope .wbn-seg { width: 100%; }
    .wbn-scope .wbn-seg-btn { flex: 1 1 auto; padding: 7px 8px; }
    .wbn-scope .wbn-dhead-actions { width: 100%; }
    .wbn-scope .wbn-upload-cover .wbn-upload-preview { width: 100%; }
    .wbn-scope .wbn-tile-foot .wbn-btn { flex: 1 1 auto; }
}

/* selecturile din barele de filtre nu se întind pe tot rândul (light-theme dă lățime 100%) */
.wbn-scope .wbn-toolbar select.wbn-input { width: auto !important; flex: 0 1 240px; min-width: 0; }
@media (max-width: 720px) {
    .wbn-scope .wbn-toolbar select.wbn-input { flex: 1 1 160px; }
}
.wbn-scope .wbn-bitem-main > .wbn-badge { align-self: flex-start; }
.wbn-scope .wbn-choices + .wbn-hint { margin-top: 10px; }
#wbnRepBody { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
