/* Composants extraits du CSS admin fourni ; portée limitée au modèle web 5. */
body[data-web-template="5"]{
    --activity-primary:#2563eb;
    --activity-primary-dark:#1d4ed8;
    --activity-ink:#0f172a;
    --activity-muted:#64748b;
    --activity-line:#e2e8f0;
    --activity-soft:#f8fafc;
}
body[data-web-template="5"]{background:#f4f7fb;color:var(--activity-ink)}
body[data-web-template="5"] .activity-page{padding:24px 0 44px}
body[data-web-template="5"] .activity-shell{max-width:1120px}
body[data-web-template="5"] .activity-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
body[data-web-template="5"] .activity-kicker{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
body[data-web-template="5"] .activity-title{margin:9px 0 3px;font-size:clamp(1.45rem,2.4vw,2rem);font-weight:850;letter-spacing:-.035em}
body[data-web-template="5"] .activity-subtitle{margin:0;color:var(--activity-muted);font-size:.92rem}
body[data-web-template="5"] .activity-top-actions{display:flex;gap:8px;flex-wrap:wrap}
body[data-web-template="5"] .activity-top-actions .btn{border-radius:12px;font-size:.86rem;font-weight:700;padding:.65rem .9rem}
body[data-web-template="5"] .activity-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;margin-bottom:16px;border:1px solid var(--activity-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}
body[data-web-template="5"] .activity-status-copy{display:flex;align-items:center;gap:12px;min-width:0}
body[data-web-template="5"] .activity-status-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:linear-gradient(135deg,#dbeafe,#eef2ff);color:var(--activity-primary)}
body[data-web-template="5"] .activity-status-copy strong{display:block;font-size:.9rem}
body[data-web-template="5"] .activity-status-copy span{display:block;color:var(--activity-muted);font-size:.8rem;margin-top:2px}
body[data-web-template="5"] .activity-meter{display:flex;align-items:center;gap:9px;white-space:nowrap;color:var(--activity-muted);font-size:.78rem;font-weight:700}
body[data-web-template="5"] .activity-dots{display:flex;gap:5px}
body[data-web-template="5"] .activity-dot{width:9px;height:9px;border-radius:50%;background:#e2e8f0}
body[data-web-template="5"] .activity-dot.is-used{background:var(--activity-primary)}
body[data-web-template="5"] .activity-builder{border:0;border-radius:22px;background:#fff;box-shadow:0 16px 45px rgba(15,23,42,.07);overflow:hidden}
body[data-web-template="5"] .activity-builder-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border-bottom:1px solid var(--activity-line);background:linear-gradient(180deg,#fff,#fbfdff)}
body[data-web-template="5"] .activity-builder-head h2{font-size:1rem;font-weight:850;margin:0 0 2px}
body[data-web-template="5"] .activity-builder-head p{font-size:.78rem;color:var(--activity-muted);margin:0}
body[data-web-template="5"] .activity-add-btn{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:11px;padding:.58rem .78rem;font-weight:800;font-size:.8rem}
body[data-web-template="5"] .activity-add-btn:hover{background:#dbeafe;color:#1e40af}
body[data-web-template="5"] .activity-add-btn:disabled{opacity:.5;cursor:not-allowed}
body[data-web-template="5"] .activity-list{padding:14px;display:grid;gap:12px}
body[data-web-template="5"] .activity-item{position:relative;border:1px solid var(--activity-line);border-radius:17px;background:var(--activity-soft);padding:14px}
body[data-web-template="5"] .activity-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body[data-web-template="5"] .activity-item-title{display:flex;align-items:center;gap:9px;font-size:.88rem;font-weight:850}
body[data-web-template="5"] .activity-number{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:var(--activity-primary);color:#fff;font-size:.75rem}
body[data-web-template="5"] .activity-remove{border:0;background:transparent;color:#94a3b8;font-size:.8rem;font-weight:700;padding:5px 7px}
body[data-web-template="5"] .activity-remove:hover{color:#dc2626}
body[data-web-template="5"] .activity-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
body[data-web-template="5"] .activity-field{grid-column:span 6}
body[data-web-template="5"] .activity-field--third{grid-column:span 3}
body[data-web-template="5"] .activity-field--full{grid-column:1/-1}
body[data-web-template="5"] .activity-label{display:block;margin:0 0 5px;color:#475569;font-size:.72rem;font-weight:800}
body[data-web-template="5"] .activity-control{width:100%;min-height:42px;border:1px solid #dbe3ee;border-radius:11px;background:#fff;color:var(--activity-ink);font-size:.84rem;padding:.62rem .75rem;outline:0;transition:border-color .2s,box-shadow .2s}
body[data-web-template="5"] .activity-control:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.11)}
body[data-web-template="5"] textarea.activity-control{min-height:64px;resize:vertical}
body[data-web-template="5"] .activity-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-top:1px solid var(--activity-line);background:#fff}
body[data-web-template="5"] #messagetext{margin:0;min-height:20px;font-size:.82rem;font-weight:700}
body[data-web-template="5"] .activity-submit{min-width:190px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--activity-primary),#4f46e5);color:#fff;font-weight:800;padding:.72rem 1rem;box-shadow:0 9px 20px rgba(37,99,235,.22)}
body[data-web-template="5"] .activity-submit:hover{background:linear-gradient(135deg,var(--activity-primary-dark),#4338ca);color:#fff;transform:translateY(-1px)}
body[data-web-template="5"] .activity-submit:disabled{opacity:.65;transform:none}
body[data-web-template="5"] .activity-limit-card{padding:28px;text-align:center;border:1px solid #fed7aa;border-radius:22px;background:#fff;box-shadow:0 16px 45px rgba(15,23,42,.07)}
body[data-web-template="5"] .activity-limit-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 12px;border-radius:17px;background:#fff7ed;color:#ea580c;font-size:1.25rem}
body[data-web-template="5"] .activity-limit-card h2{font-size:1.1rem;font-weight:850;margin-bottom:6px}
body[data-web-template="5"] .activity-limit-card p{max-width:560px;margin:0 auto 16px;color:var(--activity-muted);font-size:.88rem}
body[data-web-template="5"]{
    --mye-participant-primary:#6757f5;
    --mye-participant-primary-dark:#4f3fe0;
    --mye-participant-ink:#172033;
    --mye-participant-muted:#697386;
    --mye-participant-line:#e7eaf2;
    --mye-participant-soft:#f5f7fb;
    --mye-participant-success:#10b981;
}
body[data-web-template="5"]{
    background:
        radial-gradient(circle at 8% 8%,rgba(103,87,245,.07),transparent 24rem),
        radial-gradient(circle at 92% 14%,rgba(14,165,233,.055),transparent 25rem),
        var(--mye-participant-soft);
    color:var(--mye-participant-ink);
    font-family:"DM Sans",Arial,sans-serif;
}
body[data-web-template="5"] .mye-participant-ticket-main{min-height:100vh;padding:24px 0 52px}
body[data-web-template="5"] .mye-participant-ticket-shell{width:min(1220px,calc(100% - 38px));margin-inline:auto}
body[data-web-template="5"] .mye-participant-ticket-hero{
    position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;
    overflow:hidden;min-height:190px;padding:28px 32px;border-radius:26px;color:#fff;
    background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.17),transparent 15rem),
               linear-gradient(135deg,#251b64 0%,#5142d7 52%,#785cf5 100%);
    box-shadow:0 24px 58px rgba(63,51,163,.20)
}
body[data-web-template="5"] .mye-participant-ticket-hero::before,body[data-web-template="5"] .mye-participant-ticket-hero::after{content:"";position:absolute;z-index:-1;border-radius:999px}
body[data-web-template="5"] .mye-participant-ticket-hero::before{width:220px;height:220px;right:-58px;bottom:-110px;background:rgba(75,220,190,.18)}
body[data-web-template="5"] .mye-participant-ticket-hero::after{width:116px;height:116px;right:24%;top:-62px;background:rgba(255,255,255,.10)}
body[data-web-template="5"] .mye-participant-ticket-hero-copy{max-width:760px}
body[data-web-template="5"] .mye-participant-ticket-eyebrow{display:inline-flex;align-items:center;gap:9px;width:fit-content;margin-bottom:13px;padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.10);font-size:.72rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
body[data-web-template="5"] .mye-participant-ticket-eyebrow>span{width:7px;height:7px;border-radius:50%;background:#5ee2b8;box-shadow:0 0 0 5px rgba(94,226,184,.13)}
body[data-web-template="5"] .mye-participant-ticket-hero h1,body[data-web-template="5"] .mye-participant-ticket-workspace h2,body[data-web-template="5"] .mye-participant-ticket-card h3{font-family:"Plus Jakarta Sans",Arial,sans-serif}
body[data-web-template="5"] .mye-participant-ticket-hero h1{margin:0;color:#fff;font-size:clamp(1.65rem,3vw,2.45rem);font-weight:800;letter-spacing:-.045em}
body[data-web-template="5"] .mye-participant-ticket-hero p{max-width:710px;margin:12px 0 0;color:rgba(255,255,255,.76);font-size:.92rem;line-height:1.65}
body[data-web-template="5"] .mye-participant-ticket-hero-icon{display:grid;place-items:center;flex:0 0 122px;width:122px;height:122px;border:1px solid rgba(255,255,255,.2);border-radius:30px;background:rgba(255,255,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(10px)}
body[data-web-template="5"] .mye-participant-ticket-hero-icon>span{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;color:#3a2f91;background:#c9fae8;font-size:1.65rem;box-shadow:0 14px 26px rgba(19,69,58,.18)}