/* EventPass Premium & Live — couche visuelle progressive, sans changement métier. */
:root{--bg:#f6f7fa;--ink:#111d39;--brand:#2349c9;--line:#e4e8f0;--radius:15px}
body{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;letter-spacing:-.008em}
@media(min-width:901px){.shell{grid-template-columns:254px minmax(0,1fr)}.side{background:#0c1a3d;padding:24px 16px;border-right:1px solid #182b56;overflow-y:auto}.main{padding:32px clamp(22px,3vw,52px)}.brand{margin-bottom:30px}.nav a{border-radius:9px;margin:3px 0;padding:10px 13px;font-weight:550}.nav a:hover{background:#ffffff13}.nav a.active{background:#294fc8;box-shadow:inset 3px 0 #a9bfff}}
.top{padding-bottom:20px;border-bottom:1px solid #e4e8f0;margin-bottom:24px}.top h1{font-size:clamp(24px,2.1vw,31px);letter-spacing:-.04em;font-weight:780}.top .muted{font-size:14px}.card{box-shadow:0 3px 16px #1c2c4a06;border-color:#e5e9f1;border-radius:15px}.btn{background:#244bc5;border-radius:9px;min-height:42px;transition:background .15s,transform .15s}.btn:hover{background:#163aa9;transform:translateY(-1px)}.btn:focus-visible,.nav a:focus-visible,.text-link:focus-visible{outline:3px solid #86a9ff;outline-offset:3px}.text-link{color:#244bc5}th{letter-spacing:.055em;font-size:11px}td{font-size:13px}.badge{font-weight:650}
/* Les sélecteurs de la refonte sont volontairement limités au tableau de bord. */
.ep-premium-dashboard .dashboard-welcome{border-radius:16px;background:#10244d;box-shadow:none;padding:28px 32px}.ep-premium-dashboard .dashboard-welcome:after{opacity:.32}.ep-premium-dashboard .dashboard-welcome h2{font-size:clamp(23px,2.5vw,33px);letter-spacing:-.04em}.ep-premium-dashboard .dashboard-welcome p{max-width:650px}.ep-premium-dashboard .central-welcome{background:linear-gradient(112deg,#10244d 0%,#183b85 100%)}.ep-premium-dashboard .welcome-mark{border:1px solid #ffffff55;background:#ffffff12;color:#fff}.ep-premium-dashboard .dashboard-grid>.kpi{border:0;border-right:1px solid #e4e8f0;border-radius:0;padding:11px 20px;box-shadow:none}.ep-premium-dashboard .dashboard-grid>.kpi:last-child{border-right:0}.ep-premium-dashboard .dashboard-grid{background:#fff;border:1px solid #e5e9f1;border-radius:15px;gap:0;padding:12px}.ep-premium-dashboard .dashboard-grid .kpi b{font-size:clamp(24px,2.3vw,34px);font-weight:780;letter-spacing:-.04em}.ep-premium-dashboard .dashboard-grid .kpi-icon{background:#eef2ff;color:#244bc5;border-radius:11px}.ep-premium-dashboard .section-head h3{font-size:18px;letter-spacing:-.025em}.ep-premium-dashboard .ep-finance-grid .kpi{background:#fff!important;border:1px solid #e7eaf1!important;border-radius:12px;padding:18px}.ep-premium-dashboard .ep-finance-grid .kpi:before{width:3px}.ep-premium-dashboard .ep-finance-grid .kpi b{font-size:clamp(19px,1.8vw,26px)}.ep-premium-dashboard .ep-finance-grid .kpi .muted,.ep-premium-dashboard .ep-finance-grid .kpi b{color:#142342}.ep-premium-dashboard .quick-action{border-radius:12px;box-shadow:none}.ep-premium-dashboard .activity-item{padding:14px 0}.ep-premium-dashboard .avatar{border-radius:50%;background:#eaf0ff;color:#244bc5}.ep-premium-dashboard .ep-organizer-intro{padding:8px 0 4px}.ep-premium-dashboard .ep-organizer-intro h2{font-size:clamp(25px,2.6vw,35px)}
.ep-priority{background:#fff;border:1px solid #e5e9f1;border-radius:15px;padding:19px 22px;margin-top:18px}.ep-priority-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ep-priority-head h3{margin:0;font-size:17px}.ep-priority-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ep-priority-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e6e9f0;border-radius:11px;padding:13px 14px;background:#fafbfe}.ep-priority-item strong{display:block;font-size:20px;line-height:1.2;color:#10244d}.ep-priority-item span{font-size:12px;color:#53627d}.ep-priority-item:hover{border-color:#a6b8e8;background:#f3f6ff}.ep-priority-item .ep-arrow{font-size:20px;color:#244bc5}.ep-priority-empty{font-size:13px;color:#64748b;margin:0}
@media(max-width:1100px){.ep-premium-dashboard .ep-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-priority-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ep-premium-dashboard .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-premium-dashboard .dashboard-grid>.kpi{border-right:0;border-bottom:1px solid #e5e9f1;padding:15px}.ep-premium-dashboard .dashboard-grid>.kpi:nth-last-child(-n+2){border-bottom:0}.ep-priority-items{grid-template-columns:1fr}.ep-premium-dashboard .dashboard-welcome{padding:23px 20px}}
@media(max-width:520px){.ep-premium-dashboard .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ep-premium-dashboard .ep-finance-grid{grid-template-columns:1fr}.ep-premium-dashboard .dashboard-grid .kpi b{font-size:23px}.ep-premium-dashboard .dashboard-welcome{padding:19px 17px}.ep-priority{padding:15px}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}.btn:hover{transform:none}}
/* Apparence EventPass : automatique / clair / sombre. */
.ep-theme-control{margin:18px 5px 10px;padding-top:15px;border-top:1px solid #ffffff25}.ep-theme-caption{display:block;color:#b8c7e5;font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.ep-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff12;color:#fff;font:inherit;font-size:13px;font-weight:650;min-height:40px;padding:8px 13px;cursor:pointer}.ep-theme-toggle:focus-visible{outline:3px solid #90b5ff;outline-offset:2px}.ep-theme-mobile{display:none}
@media(max-width:900px){.ep-theme-mobile{display:inline-flex;background:#eef2ff;color:#173b9e;border-color:#dce5fc;margin-left:auto}.ep-theme-mobile span{display:none}}
html[data-ep-resolved="dark"]{color-scheme:dark;--bg:#101725;--panel:#1a2536;--ink:#e9efff;--muted:#a8b6cc;--brand:#86a8ff;--brand2:#60b6ff;--line:#34435a;--ok:#43d5a0;--warning:#ffbe55;--info:#76baff;--danger:#ff8188;--violet:#b69aff}
html[data-ep-resolved="dark"] body{background:var(--bg);color:var(--ink)}
html[data-ep-resolved="dark"] .main,html[data-ep-resolved="dark"] .app-content{color:var(--ink)}
html[data-ep-resolved="dark"] :is(.card,.kpi,.ep-priority,.ep-premium-dashboard .dashboard-grid,.ep-premium-dashboard .ep-finance-grid .kpi,.ep-doc-dialog){background:#1a2536!important;border-color:#34435a!important;color:#e9efff!important;box-shadow:none}
html[data-ep-resolved="dark"] :is(.top,.section-head,.filter-bar,.pagination-wrap){border-color:#34435a}
html[data-ep-resolved="dark"] :is(h1,h2,h3,h4,h5,h6,.top h1,.card b,.kpi b,.ep-premium-dashboard .ep-finance-grid .kpi b,.ep-premium-dashboard .ep-finance-grid .kpi .muted){color:#f0f4ff}
html[data-ep-resolved="dark"] :is(.muted,small,.ep-priority-item span){color:#a8b6cc}
html[data-ep-resolved="dark"] :is(input,select,textarea){background:#111c2c;color:#eef3ff;border-color:#43536c}
html[data-ep-resolved="dark"] :is(input,select,textarea)::placeholder{color:#8d9eb9}
html[data-ep-resolved="dark"] :is(table,th,td){border-color:#35445a;color:#e1e9f8}
html[data-ep-resolved="dark"] th{background:#233248;color:#cad8f0}
html[data-ep-resolved="dark"] tr:hover td{background:#24334a}
html[data-ep-resolved="dark"] :is(.ep-priority-item,.quick-action,.activity-item){background:#202e43;border-color:#3a4b65;color:#e9efff}
html[data-ep-resolved="dark"] .ep-priority-item strong{color:#f0f4ff}
html[data-ep-resolved="dark"] :is(.btn.secondary,.ep-doc-close,.ep-doc-controls button){background:#273854;color:#e2ebff;border-color:#435777}
html[data-ep-resolved="dark"] :is(.ep-doc-head,.ep-doc-body,.ep-doc-frame){background:#192538;border-color:#34435a;color:#e9efff}
html[data-ep-resolved="dark"] .text-link{color:#9bb7ff}
html[data-ep-resolved="dark"] .mobile-top,html[data-ep-resolved="dark"] .ep-mobile-tabs{background:#172238;color:#edf3ff;border-color:#34435a}
html[data-ep-resolved="dark"] .ep-mobile-tabs a,html[data-ep-resolved="dark"] .ep-mobile-tabs button{color:#bdcbe2}
html[data-ep-resolved="dark"] .ep-mobile-tabs .active{background:#293f6b;color:#fff}
html[data-ep-resolved="dark"] .ep-theme-mobile{background:#273854;color:#eaf0ff;border-color:#435777}
@media(prefers-reduced-motion:no-preference){html[data-ep-resolved] body{transition:background-color .15s,color .15s}}

/* EventPass Premium & Live — alignement charte officielle (315DE0 / 7C3AED).
   Le mode clair privilégie une navigation blanche et des surfaces lumineuses.
   La couche est placée après les anciens styles pour neutraliser le bleu nuit. */
:root{--brand:#315DE0;--brand2:#168BFF;--violet:#7C3AED;--bg:#F5F7FC;--ink:#101A36;--line:#E6E9F0}
.ep-logo-dark{display:none!important}
@media(min-width:901px){
 html:not([data-ep-resolved="dark"]) .shell{grid-template-columns:264px minmax(0,1fr)}
 html:not([data-ep-resolved="dark"]) .side{background:#fff!important;color:#101A36!important;border-right:1px solid #e6e9f0!important;box-shadow:none!important;padding:22px 14px!important}
 html:not([data-ep-resolved="dark"]) .main{background:#f8f9fc;padding:28px clamp(20px,2.5vw,42px)}
}
html:not([data-ep-resolved="dark"]) .side{background:#fff!important;color:#101A36!important}
html:not([data-ep-resolved="dark"]) .side .brand small{color:#56627c!important}
html:not([data-ep-resolved="dark"]) .side .nav a{color:#1c2947!important;border-radius:10px!important;box-shadow:none!important;font-weight:600}
html:not([data-ep-resolved="dark"]) .side .nav a:hover{background:#edf2ff!important;color:#244bc5!important}
html:not([data-ep-resolved="dark"]) .side .nav a.active{background:#244bd4!important;color:#fff!important;box-shadow:none!important}
html:not([data-ep-resolved="dark"]) .side .ep-nav-section{color:#6b7893!important;border-top-color:#e7eaf2!important}
html:not([data-ep-resolved="dark"]) .side .ep-side-footer{border-top-color:#e7eaf2!important}
html:not([data-ep-resolved="dark"]) .side .ep-profile-link{color:#233554!important}
html:not([data-ep-resolved="dark"]) .side .ep-profile-link:hover{background:#edf2ff!important;color:#244bc5!important}
html:not([data-ep-resolved="dark"]) .side .ep-theme-control{border-top-color:#e7eaf2!important}
html:not([data-ep-resolved="dark"]) .side .ep-theme-caption{color:#67758e!important}
html:not([data-ep-resolved="dark"]) .side .ep-theme-toggle{background:#f4f6fd!important;border-color:#dfe5f2!important;color:#253a6b!important}
html:not([data-ep-resolved="dark"]) .side .ep-side-close{background:#f1f4fb!important;border-color:#dfe5f2!important;color:#253a6b!important}
html:not([data-ep-resolved="dark"]) .side .ep-logo-light{display:block!important}
html:not([data-ep-resolved="dark"]) .side .ep-logo-dark{display:none!important}
html[data-ep-resolved="dark"] .side .ep-logo-light{display:none!important}
html[data-ep-resolved="dark"] .side .ep-logo-dark{display:block!important}
html[data-ep-resolved="dark"] .side{background:#253b65!important;color:#edf3ff!important;border-right:1px solid #385584!important}
html[data-ep-resolved="dark"] .side .nav a.active{background:#315DE0!important;box-shadow:none!important}
html[data-ep-resolved="dark"] .side .nav a:hover{background:#ffffff1d!important}
html[data-ep-resolved="dark"] .ep-premium-dashboard .dashboard-welcome{background:linear-gradient(115deg,#24477d,#315DE0)!important}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .dashboard-welcome{background:linear-gradient(115deg,#244b9a,#315DE0)!important}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .central-welcome{background:linear-gradient(115deg,#244b9a,#315DE0)!important}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .dashboard-grid{background:#fff!important;border-color:#e5e9f1!important}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .dashboard-grid .kpi-icon{color:#315DE0!important;background:#edf2ff!important}
html:not([data-ep-resolved="dark"]) .btn:not(.secondary):not(.danger){background:#315DE0!important}
html:not([data-ep-resolved="dark"]) .btn:not(.secondary):not(.danger):hover{background:#244bc5!important}
html:not([data-ep-resolved="dark"]) .text-link{color:#315DE0!important}
@media(max-width:900px){html:not([data-ep-resolved="dark"]) .side{background:#fff!important}html:not([data-ep-resolved="dark"]) .side .nav a{color:#1c2947!important}html:not([data-ep-resolved="dark"]) .side .nav a.active{color:#fff!important}}

/* EventPass Premium & Live — composition organisateur, charte historique respectée */
.ep-premium-dashboard .ep-featured-event{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);min-height:245px;overflow:hidden;border-radius:16px;background:linear-gradient(112deg,#315DE0,#4169e5);color:white;border:1px solid #dfe6f7}
.ep-featured-copy{padding:clamp(22px,3vw,38px);display:flex;flex-direction:column;justify-content:center;gap:14px;min-width:0}
.ep-featured-eyebrow{font-size:12px;font-weight:750;letter-spacing:.035em;display:inline-flex;align-self:flex-start;padding:7px 11px;border-radius:30px;background:#ffffff27;color:inherit}
.ep-featured-copy h3,.ep-featured-empty h3{font-size:clamp(23px,2.3vw,34px);line-height:1.17;letter-spacing:-.03em;color:inherit;margin:0}
.ep-featured-meta{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:13px;color:#f0f4ff}
.ep-featured-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.ep-featured-primary,.ep-featured-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 17px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:750}
.ep-featured-primary{background:#fff;color:#244bc5!important}
.ep-featured-secondary{border:1px solid #ffffffa6;color:#fff!important}
.ep-featured-visual{background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;min-height:220px;background-color:#e9eeff}
.ep-featured-visual img{width:100%;height:100%;object-fit:contain;max-height:300px}
.ep-featured-empty{padding:30px;border-radius:16px;background:linear-gradient(115deg,#315DE0,#607cf1);color:#fff}
.ep-featured-empty p{color:#eef2ff;margin:12px 0 22px}
.ep-featured-empty .ep-featured-primary{width:max-content}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .ep-organizer-intro h2{color:#162345}
html:not([data-ep-resolved="dark"]) .ep-premium-dashboard .dashboard-grid{box-shadow:none!important}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-featured-event{background:linear-gradient(112deg,#294caa,#315DE0);border-color:#5273bd}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-organizer-intro h2{color:#f2f5ff}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-organizer-intro p{color:#b8c6df}
@media(max-width:760px){.ep-premium-dashboard .ep-featured-event{grid-template-columns:1fr}.ep-featured-visual{min-height:145px;max-height:200px}.ep-featured-copy{padding:23px}.ep-featured-copy h3{font-size:24px}}

/* EventPass Premium & Live — composition organisateur (phase 3). */
.ep-premium-dashboard .ep-organizer-workspace{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.4fr);gap:18px;align-items:start}
.ep-premium-dashboard .ep-organizer-workspace>.card{margin:0;min-width:0;height:100%;border:1px solid var(--ep-border,#e5e9f1);border-radius:15px;box-shadow:none}
.ep-premium-dashboard .ep-organizer-todo-list{display:flex;flex-direction:column}
.ep-premium-dashboard .ep-todo-link{display:flex;align-items:center;gap:12px;padding:14px 4px;border-top:1px solid #e8edf5;text-decoration:none;color:inherit;min-width:0}
.ep-premium-dashboard .ep-todo-link:hover{background:rgba(49,93,224,.055)}
.ep-premium-dashboard .ep-todo-link>span:nth-child(2){flex:1;min-width:0}
.ep-premium-dashboard .ep-todo-link b,.ep-premium-dashboard .ep-todo-link small{display:block}
.ep-premium-dashboard .ep-todo-link b{font-size:14px;line-height:1.4}
.ep-premium-dashboard .ep-todo-link small{font-size:12px;color:#64748b;margin-top:3px}
.ep-premium-dashboard .ep-todo-symbol{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#eef2ff;color:#315de0;font-size:18px}
.ep-premium-dashboard .ep-todo-count{padding:3px 9px;border-radius:20px;background:#eef2ff;color:#315de0;font-size:12px;font-weight:800}
.ep-premium-dashboard .ep-organizer-controls .activity-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-todo-link{border-color:#34445f}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-todo-link small{color:#b8c6df}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-todo-symbol,html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-todo-count{background:#293e76;color:#b8cbff}
@media(max-width:1100px){.ep-premium-dashboard .ep-organizer-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.ep-premium-dashboard .ep-organizer-controls .activity-list{grid-template-columns:minmax(0,1fr)}.ep-premium-dashboard .ep-todo-link{padding:12px 0}}

/* 2026-11-09 — refinement: daylight EventPass and balanced slate night */
html[data-ep-resolved="light"]{color-scheme:light;--bg:#f1f7ff;--panel:#ffffff;--ink:#172644;--muted:#60738e;--line:#dce8f8;--brand:#315DE0}
html[data-ep-resolved="light"] body{background:linear-gradient(155deg,#eaf5ff 0%,#f5f9ff 38%,#f7f9fc 100%);background-attachment:fixed}
html[data-ep-resolved="light"] .main{background:transparent!important}
html[data-ep-resolved="light"] .side{background:linear-gradient(180deg,#fff 0%,#f4f9ff 100%)!important;border-right:1px solid #dbe8f8!important}
html[data-ep-resolved="light"] :is(.card,.ep-priority,.ep-premium-dashboard .dashboard-grid){border-color:#dbe7f8!important;box-shadow:0 5px 22px rgba(49,93,224,.045)}
html[data-ep-resolved="light"] .ep-priority-item{background:#f3f8ff;border-color:#dce8fb}
html[data-ep-resolved="light"] .ep-priority-item:hover{background:#eaf3ff}
html[data-ep-resolved="light"] .ep-premium-dashboard .dashboard-grid .kpi-icon{background:#e5f1ff!important}
html[data-ep-resolved="light"] .ep-premium-dashboard .dashboard-welcome{background:linear-gradient(110deg,#315DE0,#4087ed)!important}
html[data-ep-resolved="light"] .ep-premium-dashboard .central-welcome{background:linear-gradient(110deg,#315DE0,#4087ed)!important}
html[data-ep-resolved="dark"]{color-scheme:dark;--bg:#202d40;--panel:#29394f;--ink:#f0f5ff;--muted:#bdcce0;--line:#40546f;--brand:#8eb2ff}
html[data-ep-resolved="dark"] body,html[data-ep-resolved="dark"] .main{background:#202d40!important}
html[data-ep-resolved="dark"] .side{background:#293f60!important;border-right:1px solid #4a6588!important}
html[data-ep-resolved="dark"] :is(.card,.kpi,.ep-priority,.ep-premium-dashboard .dashboard-grid,.ep-premium-dashboard .ep-finance-grid .kpi,.ep-doc-dialog){background:#29394f!important;border-color:#425873!important}
html[data-ep-resolved="dark"] :is(.ep-priority-item,.quick-action,.activity-item){background:#30435c!important;border-color:#4a607e!important}
html[data-ep-resolved="dark"] :is(input,select,textarea){background:#26374d;color:#f0f5ff;border-color:#526987}
html[data-ep-resolved="dark"] th{background:#354961}
html[data-ep-resolved="dark"] tr:hover td{background:#354961}
html[data-ep-resolved="dark"] .ep-premium-dashboard .dashboard-welcome,html[data-ep-resolved="dark"] .ep-premium-dashboard .central-welcome{background:linear-gradient(110deg,#315DE0,#4776d6)!important}
html[data-ep-resolved="dark"] .ep-premium-dashboard .dashboard-grid .kpi-icon{background:#40587b;color:#b8d3ff}
html[data-ep-resolved="dark"] .ep-priority-item strong{color:#fff}

/* EventPass — contraste fiable des actions et finition des deux thèmes */
html[data-ep-resolved="light"] .main{background:transparent}
html[data-ep-resolved="light"] .card,html[data-ep-resolved="light"] .ep-priority{background:linear-gradient(180deg,#fff,#fbfdff)}
html[data-ep-resolved="light"] .top{border-bottom-color:#dce9fa}
html[data-ep-resolved="light"] .side .nav a.active{background:#315DE0!important;color:#fff!important}
html[data-ep-resolved="light"] .side .nav a.active:hover{background:#254cc2!important;color:#fff!important}
html[data-ep-resolved="light"] .btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info),
html[data-ep-resolved="light"] button.btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info){background:#315DE0!important;color:#fff!important;border-color:#315DE0!important}
html[data-ep-resolved="light"] .btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info):hover,
html[data-ep-resolved="light"] button.btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info):hover{background:#244bc5!important;color:#fff!important;border-color:#244bc5!important}
html[data-ep-resolved="light"] .btn.secondary:hover{background:#dfeaff!important;color:#173b91!important}
html[data-ep-resolved="dark"] .btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info){background:#426fe7!important;color:#fff!important}
html[data-ep-resolved="dark"] .btn:not(.secondary):not(.danger):not(.warning):not(.success):not(.info):hover{background:#5883f0!important;color:#fff!important}
html[data-ep-resolved="dark"] .btn.secondary:hover{background:#40577b!important;color:#fff!important}
html .btn:disabled,html .btn[disabled],html button:disabled{cursor:not-allowed!important;opacity:.57;transform:none!important;filter:none!important}
html[data-ep-resolved="light"] .btn:not(.secondary):not(.danger):disabled,
html[data-ep-resolved="light"] .btn:not(.secondary):not(.danger):disabled:hover{background:#dce6fa!important;border-color:#dce6fa!important;color:#526786!important}
html[data-ep-resolved="dark"] .btn:not(.secondary):not(.danger):disabled,
html[data-ep-resolved="dark"] .btn:not(.secondary):not(.danger):disabled:hover{background:#42546d!important;border-color:#42546d!important;color:#d5deee!important}
html[data-ep-resolved="light"] .ep-theme-toggle:hover{background:#e5efff!important;color:#244bc5!important}
html[data-ep-resolved="dark"] .ep-theme-toggle:hover{background:#405b85!important;color:#fff!important}
@media (prefers-reduced-motion:reduce){.ep-theme-toggle,.btn{transition:none!important}}

/* EventPass 2026 — finitions de la charte, interfaces à contraste constant.
   Les fonds bleutés restent discrets ; les actions sont lisibles dans tous les états. */
html[data-ep-resolved="light"]{--ep-surface-tint:#eef6ff;--ep-surface-border:#d8e7f9}
html[data-ep-resolved="light"] .ep-premium-dashboard .ep-priority,
html[data-ep-resolved="light"] .ep-premium-dashboard .card{box-shadow:0 2px 12px rgba(25,73,143,.035)!important}
html[data-ep-resolved="light"] .ep-premium-dashboard .ep-priority-head{border-bottom:1px solid #e8f0fa;padding-bottom:12px}
html[data-ep-resolved="light"] .ep-premium-dashboard .ep-priority-item{background:linear-gradient(130deg,#f4f9ff,#fff)!important}
html[data-ep-resolved="light"] .ep-premium-dashboard .ep-priority-item:hover{background:#eaf3ff!important;border-color:#9fbff1!important}
html[data-ep-resolved="light"] .ep-premium-dashboard .ep-featured-event{border-color:#d2e2fc;box-shadow:0 7px 25px rgba(49,93,224,.08)}
html[data-ep-resolved="light"] :is(.btn,.ep-theme-toggle,.ep-featured-primary,.ep-featured-secondary):focus-visible{outline:3px solid #8cafff!important;outline-offset:3px}
html[data-ep-resolved="light"] :is(a.btn,button.btn,.ep-featured-primary):not([disabled]):hover{filter:none!important;text-decoration:none}
html[data-ep-resolved="light"] .ep-featured-primary:hover{background:#eaf2ff!important;color:#163eab!important}
html[data-ep-resolved="light"] .ep-featured-secondary:hover{background:rgba(255,255,255,.16)!important;color:#fff!important}
html[data-ep-resolved="dark"]{--bg:#25344a;--panel:#30435c;--ink:#f4f7ff;--muted:#c5d2e5;--line:#506783}
html[data-ep-resolved="dark"] body,html[data-ep-resolved="dark"] .main{background:#25344a!important;color:#f4f7ff!important}
html[data-ep-resolved="dark"] .side{background:#2c4569!important;border-color:#526d93!important}
html[data-ep-resolved="dark"] .side .nav a{color:#e0e9fa!important}
html[data-ep-resolved="dark"] .side .nav a.active{background:#315de0!important;color:#fff!important}
html[data-ep-resolved="dark"] .side .nav a:not(.active):hover{background:#3a5882!important;color:#fff!important}
html[data-ep-resolved="dark"] :is(.card,.kpi,.ep-priority,.ep-premium-dashboard .dashboard-grid,.ep-premium-dashboard .ep-finance-grid .kpi){background:#30435c!important;border-color:#506783!important;box-shadow:none!important}
html[data-ep-resolved="dark"] :is(.ep-priority-item,.quick-action,.activity-item){background:#374d68!important;border-color:#536d8c!important;color:#f4f7ff!important}
html[data-ep-resolved="dark"] :is(.ep-priority-item,.quick-action,.ep-todo-link):hover{background:#405b7d!important}
html[data-ep-resolved="dark"] .ep-premium-dashboard .dashboard-grid>.kpi{border-right-color:#526783!important}
html[data-ep-resolved="dark"] .ep-premium-dashboard .ep-finance-grid .kpi :is(b,.muted){color:#f4f7ff!important}
html[data-ep-resolved="dark"] :is(.muted,.ep-priority-item span,.ep-todo-link small){color:#c5d2e5!important}
html[data-ep-resolved="dark"] :is(.btn.secondary,.ep-theme-toggle){background:#405b7d!important;border-color:#6782a5!important;color:#fff!important}
html[data-ep-resolved="dark"] :is(.btn.secondary,.ep-theme-toggle):hover{background:#4c6b93!important;color:#fff!important}
html[data-ep-resolved="dark"] .ep-featured-primary:hover{background:#eaf2ff!important;color:#163eab!important}
html[data-ep-resolved="dark"] .ep-featured-secondary:hover{background:rgba(255,255,255,.16)!important;color:#fff!important}
html[data-ep-resolved="dark"] :is(.btn,.ep-theme-toggle,.ep-featured-primary,.ep-featured-secondary):focus-visible{outline:3px solid #a9c7ff!important;outline-offset:3px}
html[data-ep-resolved] :is(.btn,.ep-theme-toggle,.ep-featured-primary,.ep-featured-secondary){transition:background-color .16s ease,border-color .16s ease,color .16s ease!important}
html[data-ep-resolved] :is(.btn,.ep-theme-toggle):hover{transform:none!important}
@media(max-width:900px){html[data-ep-resolved="dark"] .mobile-top{background:#30435c!important}html[data-ep-resolved="light"] .mobile-top{background:#f5faff!important}}
@media(prefers-reduced-motion:reduce){html[data-ep-resolved] :is(.btn,.ep-theme-toggle,.ep-featured-primary,.ep-featured-secondary){transition:none!important}}

/* EventPass — composition éditoriale du tableau de bord, phase 5 */
.ep-premium-dashboard .ep-dashboard-activity{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:var(--panel);box-shadow:0 3px 15px rgba(28,70,130,.035)}
.ep-dashboard-activity-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:23px 27px 20px;border-bottom:1px solid var(--line)}
.ep-section-kicker{font-size:10px;letter-spacing:.16em;font-weight:850;color:#315de0}
.ep-dashboard-activity-heading h3{margin:6px 0 4px;font-size:clamp(20px,2vw,26px);letter-spacing:-.04em;color:var(--ink)}
.ep-dashboard-activity-heading p{margin:0;font-size:13px;color:var(--muted)}
.ep-activity-all{font-weight:750;font-size:13px;color:#315de0;white-space:nowrap;text-decoration:none}
.ep-activity-all span{margin-left:7px}
.ep-dashboard-activity-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr)}
.ep-activity-feed{padding:14px 27px;min-width:0}
.ep-feed-entry{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.ep-feed-entry:last-child{border:0}
.ep-feed-dot{width:10px;height:10px;border-radius:50%;background:#315de0;box-shadow:0 0 0 5px #eaf1ff;flex:none}
.ep-feed-entry>div{min-width:0;flex:1}
.ep-feed-entry strong,.ep-feed-entry span:not(.ep-feed-dot){display:block}
.ep-feed-entry strong{font-size:13px;color:var(--ink)}
.ep-feed-entry div span{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.ep-feed-entry time{font-size:11px;color:var(--muted);white-space:nowrap}
.ep-feed-empty{display:flex;gap:17px;align-items:center;padding:27px 0;color:var(--ink)}
.ep-feed-empty>span{display:grid;place-items:center;width:45px;height:45px;flex:none;border-radius:50%;background:#e8f4ff;color:#315de0;font-size:22px}
.ep-feed-empty strong{font-size:14px}.ep-feed-empty p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.ep-activity-shortcuts{background:#edf5ff;border-left:1px solid #d9e8fc;padding:24px 25px}
.ep-activity-shortcuts>a{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #d4e4f9;color:#173b83;font-size:13px;font-weight:750;text-decoration:none}
.ep-activity-shortcuts>a:last-child{border-bottom:0}
.ep-activity-shortcuts>a>span{font-size:11px;color:#6b8ac0;font-weight:850}
.ep-activity-shortcuts>a>b{margin-left:auto;color:#315de0}
.ep-activity-shortcuts>a:hover{color:#315de0;text-decoration:underline;text-underline-offset:4px}
html[data-ep-resolved="dark"] .ep-activity-shortcuts{background:#354d6c;border-color:#506783}
html[data-ep-resolved="dark"] .ep-activity-shortcuts>a{color:#edf3ff;border-color:#506783}
html[data-ep-resolved="dark"] .ep-activity-shortcuts>a>span,html[data-ep-resolved="dark"] .ep-activity-shortcuts>a>b,html[data-ep-resolved="dark"] .ep-section-kicker,html[data-ep-resolved="dark"] .ep-activity-all{color:#a9c7ff}
html[data-ep-resolved="dark"] .ep-feed-dot{box-shadow:0 0 0 5px #405b7d}
html[data-ep-resolved="dark"] .ep-feed-empty>span{background:#405b7d;color:#c2d6ff}
@media(max-width:900px){.ep-dashboard-activity-body{grid-template-columns:1fr}.ep-activity-shortcuts{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:600px){.ep-dashboard-activity-heading{padding:19px;align-items:start;flex-direction:column}.ep-activity-feed{padding:8px 19px}.ep-activity-shortcuts{padding:20px 19px}.ep-feed-entry{flex-wrap:wrap}.ep-feed-entry time{margin-left:24px}}

/* EventPass — console d'administration, composition éditoriale phase 6 */
.ep-admin-header{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:28px;align-items:stretch;margin:0 0 20px;padding:31px 34px;border-radius:18px;background:linear-gradient(112deg,#eaf3ff 0%,#f7fbff 72%,#eef1ff 100%);border:1px solid #d7e6fc;color:#162b56}
.ep-admin-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.16em;color:#315de0}
.ep-admin-header h2{margin:12px 0 10px;font-size:clamp(25px,2.6vw,38px);line-height:1.13;letter-spacing:-.05em;color:#14274b}
.ep-admin-header p{margin:0;max-width:580px;font-size:14px;line-height:1.65;color:#536985}
.ep-admin-header-aside{border-left:1px solid #cadcf7;padding-left:26px;display:flex;flex-direction:column;justify-content:center;gap:7px}
.ep-admin-header-aside>span{font-size:10px;letter-spacing:.13em;font-weight:800;color:#526c99}
.ep-admin-header-aside strong{font-size:44px;letter-spacing:-.06em;line-height:1.1;color:#315de0}
.ep-admin-header-aside a{color:#214ebd;font-size:12px;font-weight:800;text-decoration:none}
.ep-admin-header-aside a:hover{text-decoration:underline}
.ep-admin-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px;background:var(--panel,#fff);border:1px solid var(--line,#dce5f2);border-radius:16px;padding:23px 9px}
.ep-admin-metric{display:flex;flex-direction:column;gap:9px;padding:4px 22px;min-width:0;border-right:1px solid var(--line,#e0e8f4)}
.ep-admin-metric:last-child{border-right:0}
.ep-admin-metric-label{font-size:10px;font-weight:850;letter-spacing:.11em;color:#315de0}
.ep-admin-metric strong{font-size:clamp(26px,3vw,40px);letter-spacing:-.05em;color:var(--ink,#17233d);line-height:1.1}
.ep-admin-metric>span:last-child{font-size:12px;color:var(--muted,#64748b)}
.ep-admin-operations{margin-bottom:22px;background:var(--panel,#fff);border:1px solid var(--line,#dce5f2);border-radius:17px;overflow:hidden}
.ep-admin-operations-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:24px 27px 18px}
.ep-admin-operations-heading h3{margin:7px 0 0;font-size:23px;letter-spacing:-.04em;color:var(--ink,#17233d)}
.ep-admin-operations-caption{font-size:12px;color:var(--muted,#64748b)}
.ep-admin-operation-list{padding:0 27px 12px}
.ep-admin-operation{display:grid;grid-template-columns:40px minmax(0,1fr) auto 22px;gap:14px;align-items:center;padding:17px 4px;border-top:1px solid var(--line,#e2e8f0);text-decoration:none!important;color:var(--ink,#17233d);transition:background-color .15s ease}
.ep-admin-operation:hover{background:rgba(49,93,224,.055);color:var(--ink,#17233d)}
.ep-admin-operation-index{font-size:11px;font-weight:800;color:#315de0}
.ep-admin-operation-name{display:flex;flex-direction:column;gap:4px;min-width:0}
.ep-admin-operation-name strong{font-size:14px;color:inherit}
.ep-admin-operation-name small{font-size:12px;color:var(--muted,#64748b)}
.ep-admin-operation-count{display:grid;place-items:center;min-width:35px;height:32px;padding:0 8px;border-radius:9px;background:#eaf1ff;color:#2452c3;font-weight:850}
.ep-admin-operation-arrow{font-size:18px;color:#315de0}
html[data-ep-resolved="dark"] .ep-admin-header{background:linear-gradient(110deg,#344e71,#3a5377);border-color:#57749b;color:#f5f8ff}
html[data-ep-resolved="dark"] .ep-admin-header h2,html[data-ep-resolved="dark"] .ep-admin-header p{color:#f5f8ff}
html[data-ep-resolved="dark"] .ep-admin-kicker,html[data-ep-resolved="dark"] .ep-admin-metric-label{color:#b7ccff}
html[data-ep-resolved="dark"] .ep-admin-header-aside{border-color:#6482a7}
html[data-ep-resolved="dark"] .ep-admin-header-aside>span,html[data-ep-resolved="dark"] .ep-admin-header-aside a,html[data-ep-resolved="dark"] .ep-admin-header-aside strong{color:#e2ecff}
html[data-ep-resolved="dark"] .ep-admin-overview,html[data-ep-resolved="dark"] .ep-admin-operations{background:#30435c;border-color:#506783}
html[data-ep-resolved="dark"] .ep-admin-operation-count{background:#425d82;color:#eaf2ff}
html[data-ep-resolved="dark"] .ep-admin-operation-index,html[data-ep-resolved="dark"] .ep-admin-operation-arrow{color:#b7ccff}
html[data-ep-resolved="dark"] .ep-admin-operation:hover{background:#405b7d}
@media(max-width:950px){.ep-admin-overview{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.ep-admin-metric:nth-child(2){border-right:0}.ep-admin-metric:nth-child(n+3){padding-top:18px;border-top:1px solid var(--line,#e0e8f4)}}
@media(max-width:620px){.ep-admin-header{grid-template-columns:1fr;padding:23px}.ep-admin-header-aside{border-left:0;border-top:1px solid #cadcf7;padding:15px 0 0}.ep-admin-overview{padding:17px 5px}.ep-admin-metric{padding:5px 13px}.ep-admin-operations-heading{padding:20px 18px 15px;align-items:start;flex-direction:column}.ep-admin-operation-list{padding:0 18px 10px}.ep-admin-operation{grid-template-columns:24px minmax(0,1fr) auto 15px;gap:8px}}
