.ec-wrap{color:var(--ec-text);background:var(--ec-bg);font-family:inherit}.ec-header{background:var(--ec-primary);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px}.ec-header h2{color:#fff;margin:8px 0}.ec-header p{color:#edf2f8}.ec-header small{letter-spacing:.12em;text-transform:uppercase}.ec-grid{display:grid;grid-template-columns:repeat(var(--ec-columns),minmax(0,1fr));gap:22px}.ec-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #142f5910}.ec-image{display:block;aspect-ratio:4/3;background:#eef1f5;overflow:hidden}.ec-image img{width:100%;height:100%;object-fit:cover;display:block}.ec-image span{display:grid;place-items:center;height:100%;color:#667085}.ec-card-body{padding:17px}.ec-card-body>strong{font-size:18px}.ec-votes{margin:12px 0;color:#596579}.ec-votes b{font-size:25px;color:var(--ec-accent)}.ec-progress{margin:12px 0}.ec-progress-track{height:9px;background:#edf0f4;border-radius:20px;overflow:hidden}.ec-progress-track span{display:block;height:100%;background:var(--ec-accent);border-radius:20px;transition:width .35s}.ec-progress small{display:block;margin-top:5px;color:#687386}.ec-vote-form{display:grid;gap:9px;margin-top:14px}.ec-vote-form select{width:100%;padding:10px;border:1px solid #d0d5dd;border-radius:6px}.ec-vote-form button{border:0;border-radius:7px;padding:12px 15px;background:var(--ec-accent);color:#fff;font-weight:700;cursor:pointer}.ec-vote-form button:hover{filter:brightness(.94)}.ec-dashboard{padding:24px;border:1px solid #e5e7eb;border-radius:12px}.ec-dashboard-stats{display:flex;gap:16px;margin:20px 0}.ec-dashboard-stats>div{padding:18px;background:#f5f7fa;border-radius:9px;min-width:150px}.ec-dashboard-stats b{display:block;font-size:28px;color:var(--ec-accent)}.ec-dashboard table{width:100%;border-collapse:collapse}.ec-dashboard td,.ec-dashboard th{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left}@media(max-width:760px){.ec-grid{grid-template-columns:repeat(var(--ec-mobile-columns),minmax(0,1fr));gap:12px}.ec-header{padding:22px 18px}.ec-card-body{padding:12px}.ec-dashboard-stats{flex-wrap:wrap}}

.ec-image{width:100%;padding:0;border:0;cursor:pointer}.ec-candidate-project{font-weight:600;color:var(--ec-primary);margin-top:4px}.ec-candidate-number{font-size:12px;color:#778195;margin-top:4px}.ec-share{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:14px;font-size:12px}.ec-share a,.ec-copy-link{color:var(--ec-primary);text-decoration:none;border:1px solid #d9e0ea;border-radius:5px;padding:5px 8px;background:#fff;cursor:pointer}.ec-profile-modal{display:none;position:fixed;inset:0;z-index:999999;background:rgba(9,20,38,.72);padding:20px;overflow:auto;align-items:center;justify-content:center}.ec-profile-modal.is-open{display:flex}.ec-profile-dialog{position:relative;background:#fff;color:#202938;width:min(680px,100%);max-height:90vh;overflow:auto;border-radius:14px;padding:28px;box-shadow:0 20px 70px #0004}.ec-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.ec-modal-project{font-size:18px;font-weight:700;color:var(--ec-primary)}.ec-modal-pitch{padding:14px;background:#f4f7fb;border-left:4px solid var(--ec-accent);margin:16px 0}.ec-modal-vote{background:var(--ec-accent);color:#fff;border:0;border-radius:7px;padding:12px 18px;font-weight:700;cursor:pointer}.ec-modal-active{overflow:hidden}
@media(max-width:600px){.ec-profile-dialog{padding:22px 18px}.ec-share{gap:6px}}

/* Modèles de présentation par concours */
.ec-template-editorial .ec-grid{gap:28px}.ec-template-editorial .ec-card{border:0;box-shadow:0 8px 28px #142f5918}.ec-template-editorial .ec-image{aspect-ratio:5/4}.ec-template-editorial .ec-card-body{padding:20px}
.ec-template-compact .ec-grid{gap:12px}.ec-template-compact .ec-image{aspect-ratio:1/1}.ec-template-compact .ec-card-body{padding:12px}.ec-template-compact .ec-card-body>strong{font-size:16px}


/* Fiche publique premium du candidat */
body.enneade-candidate-single #secondary,
body.enneade-candidate-single .sidebar,
body.enneade-candidate-single .sidebar-right,
body.enneade-candidate-single #sidebar,
body.enneade-candidate-single .widget-area,
body.enneade-candidate-single aside{display:none!important}
body.enneade-candidate-single .content-area,
body.enneade-candidate-single #primary,
body.enneade-candidate-single .site-main,
body.enneade-candidate-single .site-content,
body.enneade-candidate-single .content,
body.enneade-candidate-single main{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
body.enneade-candidate-single .site-content,
body.enneade-candidate-single .content-area{margin-left:auto!important;margin-right:auto!important}
.ec-public-profile{max-width:1120px;margin:44px auto 70px;padding:0 22px;color:var(--ec-text);font-family:inherit}
.ec-profile-cover{position:relative;overflow:hidden;padding:58px 62px 110px;border-radius:26px;background:linear-gradient(125deg,var(--ec-primary),#203f70 70%,#102644);color:#fff;box-shadow:0 20px 55px #142f5925}
.ec-profile-cover:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff24;border-radius:50%;right:-90px;top:-170px;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff06}
.ec-profile-eyebrow{font-size:12px;letter-spacing:.16em;font-weight:800;color:#ffc46c}
.ec-profile-cover h1{color:#fff;font-size:clamp(32px,5vw,54px);line-height:1.08;margin:18px 0 10px;font-weight:800}
.ec-profile-project{font-size:20px;color:#e8eef8;margin:0;max-width:720px}
.ec-profile-main{position:relative;margin:-66px 42px 0;padding:28px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px;align-items:center;background:#fff;border:1px solid #e9edf3;border-radius:22px;box-shadow:0 18px 50px #142f5915}
.ec-profile-photo-wrap{width:240px;height:240px;border-radius:20px;overflow:hidden;background:#f0f3f8;box-shadow:0 8px 24px #142f5920}
.ec-public-photo{width:100%;height:100%;object-fit:cover;display:block}
.ec-profile-number{display:inline-flex;padding:8px 13px;border-radius:30px;background:#fff3df;color:#9a5a00;font-size:12px;font-weight:800;letter-spacing:.08em}
.ec-profile-location{color:#657187;font-weight:600;margin:13px 0}
.ec-profile-pitch{margin:16px 0;padding:0 0 0 18px;border-left:4px solid var(--ec-accent);font-size:20px;line-height:1.55;font-weight:600;color:#27364b}
.ec-profile-votes{display:flex;align-items:baseline;gap:10px;margin-top:20px}
.ec-profile-votes strong{font-size:38px;line-height:1;color:var(--ec-accent)}
.ec-profile-votes span{color:#687386;font-size:14px}
.ec-profile-description{max-width:850px;margin:44px auto;padding:0 18px}
.ec-profile-description h2{font-size:27px;color:var(--ec-primary);margin-bottom:18px}
.ec-profile-description>div{font-size:16px;line-height:1.85;color:#4b5565}
.ec-profile-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:36px 42px;padding:28px 32px;border-radius:20px;background:#f5f7fb;border:1px solid #e8edf4}
.ec-profile-cta h2{margin:0 0 7px;color:var(--ec-primary);font-size:24px}
.ec-profile-cta p{margin:0;color:#687386}
.ec-profile-vote-button{flex-shrink:0;display:inline-flex;align-items:center;gap:18px;padding:15px 23px;border-radius:10px;background:var(--ec-accent);color:#fff!important;text-decoration:none!important;font-weight:800;box-shadow:0 8px 18px #f29a1938;transition:transform .2s,filter .2s}
.ec-profile-vote-button:hover{transform:translateY(-2px);filter:brightness(.96)}
.ec-profile-socials{margin:38px 42px 0;padding-top:24px;border-top:1px solid #e8edf3;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ec-profile-socials>span{font-size:13px;font-weight:800;color:#6b7586}
.ec-profile-socials>div{display:flex;flex-wrap:wrap;gap:10px}
.ec-profile-share{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border-radius:9px;border:1px solid #e2e7ef;background:#fff;color:#26364b!important;text-decoration:none!important;font-size:13px;font-weight:700;cursor:pointer}
.ec-share-facebook{background:#1877f2;color:#fff!important;border-color:#1877f2}
.ec-share-whatsapp{background:#1eaa63;color:#fff!important;border-color:#1eaa63}
.ec-share-x{background:#171717;color:#fff!important;border-color:#171717}
.ec-share-linkedin{background:#0a66c2;color:#fff!important;border-color:#0a66c2}
.ec-share-telegram{background:#229ed9;color:#fff!important;border-color:#229ed9}
.ec-share-email{background:#667085;color:#fff!important;border-color:#667085}
.ec-share-style-minimal{border-radius:50%;width:42px;height:42px;padding:0;font-size:0}
.ec-share-style-minimal:before{font-size:15px}
.ec-share-facebook.ec-share-style-minimal:before{content:"f"}
.ec-share-whatsapp.ec-share-style-minimal:before{content:"◉"}
.ec-share-x.ec-share-style-minimal:before{content:"𝕏"}
.ec-share-linkedin.ec-share-style-minimal:before{content:"in"}
.ec-share-telegram.ec-share-style-minimal:before{content:"➤"}
.ec-share-email.ec-share-style-minimal:before{content:"✉"}
.ec-profile-share:hover{filter:brightness(.94)}
@media(max-width:760px){.ec-public-profile{margin:20px auto 45px;padding:0 12px}.ec-profile-cover{padding:38px 25px 90px;border-radius:18px}.ec-profile-main{margin:-55px 10px 0;padding:20px;grid-template-columns:1fr;gap:20px}.ec-profile-photo-wrap{width:min(100%,240px);height:auto;aspect-ratio:1/1;margin:auto}.ec-profile-cta{margin:28px 10px;padding:22px;align-items:flex-start;flex-direction:column}.ec-profile-socials{margin:28px 10px 0;align-items:flex-start;flex-direction:column}.ec-profile-description{margin:32px auto}.ec-profile-pitch{font-size:18px}}

/* Enneade Contest 0.6 — isolated public templates */
body.enneade-contest-standalone{margin:0!important;background:#f5f7fb!important;color:#202938!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body.enneade-contest-standalone #wpadminbar{position:relative!important}
.ec-standalone-brand{height:76px;display:flex;align-items:center;max-width:1180px;margin:0 auto;padding:0 24px}
.ec-standalone-brand a{display:flex;align-items:center;gap:11px;text-decoration:none;color:#142f59}
.ec-brand-mark{width:42px;height:42px;border-radius:12px;background:#142f59;color:#f29a19;display:grid;place-items:center;font-size:25px;font-weight:900}
.ec-standalone-brand b{display:block;font-size:17px;letter-spacing:.08em}.ec-standalone-brand small{display:block;font-size:9px;letter-spacing:.16em;color:#758197}
.ec-public-profile{max-width:1120px;margin:20px auto 72px;padding:0 24px}
.ec-profile-cover{padding:48px 56px 112px;border-radius:24px;background:linear-gradient(125deg,#10294d 0%,#183d6c 65%,#214c7b 100%);box-shadow:0 22px 55px #10294d20}
.ec-profile-cover h1{font-size:clamp(34px,5vw,52px);margin:16px 0 8px}
.ec-profile-main{grid-template-columns:210px minmax(0,1fr);margin:-66px 48px 0;padding:25px 30px;gap:30px;border-radius:20px}
.ec-profile-photo-wrap{width:200px;height:200px;border-radius:18px}
.ec-public-photo{width:100%!important;height:100%!important;object-fit:cover!important}
.ec-profile-description{max-width:900px;margin:42px auto}
.ec-profile-cta{margin:32px 48px}
.ec-profile-socials{margin:32px 48px 0}
.ec-candidate-template-editorial .ec-profile-cover{padding-bottom:80px;border-radius:4px;background:linear-gradient(115deg,#142f59,#294b72)}
.ec-candidate-template-editorial .ec-profile-main{grid-template-columns:280px 1fr;margin:-38px 28px 0;border-radius:4px}
.ec-candidate-template-editorial .ec-profile-photo-wrap{width:260px;height:300px;border-radius:4px}
.ec-candidate-template-minimal .ec-profile-cover{padding:34px 42px 82px;border-radius:16px;background:#fff;color:#142f59;border:1px solid #e7ebf2;box-shadow:none}
.ec-candidate-template-minimal .ec-profile-cover h1{color:#142f59}
.ec-candidate-template-minimal .ec-profile-project{color:#64748b}
.ec-candidate-template-minimal .ec-profile-main{margin:-48px 28px 0;grid-template-columns:150px 1fr;padding:22px;border-radius:16px}
.ec-candidate-template-minimal .ec-profile-photo-wrap{width:140px;height:140px;border-radius:50%}
.ec-candidate-template-minimal .ec-profile-pitch{font-size:17px}
.ec-editor-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:20px;max-width:1200px}
.ec-editor-layout>.card{padding:24px;margin:0}
.ec-template-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
.ec-template-option{position:relative;display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #dce3ed;border-radius:12px;background:#fff;cursor:pointer}
.ec-template-option:has(input:checked){border:2px solid #f29a19;box-shadow:0 0 0 3px #f29a1920}
.ec-template-option input{position:absolute;top:12px;right:12px;z-index:2}
.ec-template-option strong{font-size:13px}.ec-template-option small{font-size:11px;color:#667085;line-height:1.45}
.ec-template-thumb{height:115px;border-radius:8px;background:#142f59;display:block;position:relative;overflow:hidden}
.ec-template-thumb i{position:absolute;left:12px;top:15px;width:42px;height:42px;border-radius:50%;background:#f29a19}
.ec-template-thumb b{position:absolute;left:66px;top:20px;width:60%;height:9px;background:#fff;border-radius:6px}
.ec-template-thumb em{position:absolute;left:66px;top:38px;width:42%;height:6px;background:#b8c7dc;border-radius:6px}
.ec-preview-editorial{background:linear-gradient(120deg,#142f59,#385c84)}.ec-preview-editorial i{border-radius:5px;width:55px;height:80px;top:18px}
.ec-preview-minimal{background:#f2f5f9;border:1px solid #e3e8f0}.ec-preview-minimal b{background:#142f59}.ec-preview-minimal em{background:#aeb9c9}
.ec-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1200px;margin:18px 0 32px}
.ec-gallery-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px #142f590c}
.ec-gallery-demo{height:190px;background:#f4f6fa;padding:14px;position:relative;overflow:hidden}
.ec-demo-top{height:55px;border-radius:7px;background:linear-gradient(110deg,#142f59,#274e7b)}
.ec-demo-person{position:absolute;top:52px;left:26px;width:70px;height:70px;border-radius:12px;background:#f29a19;border:5px solid #fff;box-shadow:0 3px 12px #142f5930}
.ec-demo-person i,.ec-demo-person b,.ec-demo-person em{position:absolute;left:88px;width:130px;height:8px;border-radius:5px;background:#142f59;top:10px}
.ec-demo-person b{top:28px;width:100px;background:#9aa8ba}.ec-demo-person em{top:47px;width:70px;background:#d5dce6}
.ec-demo-lines{position:absolute;left:110px;top:135px;right:20px}.ec-demo-lines strong,.ec-demo-lines small{display:block;height:6px;background:#cbd4e0;border-radius:5px;margin:6px 0}.ec-demo-lines strong{width:90%;background:#142f59}.ec-demo-lines small{width:70%}
.ec-demo-lines button{display:block;width:90px;height:20px;border:0;border-radius:5px;background:#f29a19}
.ec-demo-social{position:absolute;bottom:12px;left:15px;right:15px;height:4px;background:#e2e8f0}
.ec-demo-editorial .ec-demo-person{border-radius:4px;width:86px;height:110px;top:40px}
.ec-demo-minimal .ec-demo-top{background:#fff;border:1px solid #e1e7ef}
.ec-demo-minimal .ec-demo-person{border-radius:50%;width:55px;height:55px;top:70px}
.ec-demo-contest-classic .ec-demo-cards,.ec-demo-contest-editorial .ec-demo-cards,.ec-demo-contest-compact .ec-demo-cards{display:flex;gap:8px;margin-top:12px}
.ec-demo-cards i{height:48px;flex:1;border-radius:6px;background:linear-gradient(135deg,#d9e1ec,#fff);border:1px solid #e2e8f0}
.ec-gallery-copy{padding:18px}.ec-gallery-copy h3{margin:0 0 7px;color:#142f59}.ec-gallery-copy p{min-height:42px;color:#64748b;font-size:12px}
@media(max-width:760px){.ec-profile-main,.ec-candidate-template-editorial .ec-profile-main{grid-template-columns:1fr;margin:-55px 10px 0}.ec-profile-photo-wrap,.ec-candidate-template-editorial .ec-profile-photo-wrap{width:170px;height:170px;margin:auto}.ec-profile-cover{padding:36px 25px 90px}.ec-profile-cta,.ec-profile-socials{margin-left:10px;margin-right:10px}.ec-gallery-grid,.ec-template-picker,.ec-editor-layout{grid-template-columns:1fr}}

/* v0.7 — modèle catalogue, aperçu interactif et responsive */
.ec-brand-config{max-width:1200px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px;margin:22px 0 30px}
.ec-brand-config h2{margin-top:0}.ec-brand-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ec-brand-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600}.ec-brand-fields input{width:100%;max-width:100%;min-height:38px}
.ec-template-section{max-width:1250px;margin:34px 0 45px}.ec-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.ec-section-heading span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#e28b13}.ec-section-heading h2{font-size:24px;margin:5px 0}.ec-section-heading p{color:#64748b;margin:0}
.ec-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ec-gallery-card{display:flex;flex-direction:column;min-width:0}.ec-gallery-demo{height:210px;flex:none}.ec-gallery-copy{display:flex;flex-direction:column;flex:1}.ec-template-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.ec-template-actions .button{margin:0;white-space:normal;text-align:center}
.ec-preview-modal{display:none;position:fixed;z-index:100000;inset:0;background:#0b1424d9;padding:3vh 3vw;align-items:center;justify-content:center}.ec-preview-modal.is-open{display:flex}.ec-preview-window{width:min(1500px,100%);height:94vh;background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 25px 80px #0006}.ec-preview-toolbar{height:58px;flex:none;display:flex;align-items:center;gap:16px;padding:0 18px;border-bottom:1px solid #e5eaf0}.ec-preview-toolbar>strong{margin-right:auto;color:#142f59}.ec-preview-devices{display:flex;gap:5px}.ec-preview-devices button{background:#f1f4f8;border:1px solid #dce3ed;border-radius:7px;padding:7px 12px;cursor:pointer}.ec-preview-devices button.is-active{background:#142f59;color:#fff;border-color:#142f59}.ec-preview-close{font-size:25px;line-height:1;background:transparent;border:0;color:#334155;cursor:pointer;padding:5px 10px}.ec-preview-stage{flex:1;min-height:0;background:#e8edf4;display:flex;justify-content:center;align-items:stretch;padding:14px;overflow:auto}.ec-preview-stage iframe{display:block;border:0;background:#fff;width:100%;height:100%;box-shadow:0 5px 24px #142f5920;transition:width .2s}.ec-preview-stage iframe.device-tablet{width:768px;max-width:100%}.ec-preview-stage iframe.device-mobile{width:390px;max-width:100%}.ec-preview-stage iframe.device-desktop{width:100%}.ec-contest-brand{display:flex;align-items:center;gap:12px;margin-bottom:10px}.ec-contest-brand img{max-width:150px;max-height:55px;object-fit:contain}.ec-contest-brand b{font-size:15px}
body.ec-preview-open{overflow:hidden}
/* Public templates: no overflow on small screens */
.ec-public-profile{width:100%;max-width:1120px}.ec-profile-main{min-width:0}.ec-profile-description,.ec-profile-cta,.ec-profile-socials{min-width:0;overflow-wrap:anywhere}
.ec-wrap{width:100%;max-width:1200px;margin-inline:auto}.ec-grid{display:grid;grid-template-columns:repeat(var(--ec-columns,2),minmax(0,1fr));gap:22px}.ec-card{min-width:0}.ec-card img{max-width:100%;height:auto;object-fit:cover}.ec-template-editorial .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-template-compact .ec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.ec-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-brand-fields{grid-template-columns:1fr 1fr}.ec-template-compact .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ec-gallery-grid{grid-template-columns:1fr}.ec-brand-fields{grid-template-columns:1fr}.ec-template-actions{flex-direction:column}.ec-template-actions .button{width:100%}.ec-preview-modal{padding:0}.ec-preview-window{height:100vh;border-radius:0}.ec-preview-toolbar{height:auto;min-height:58px;padding:8px;gap:6px;flex-wrap:wrap}.ec-preview-toolbar>strong{width:100%;font-size:13px}.ec-preview-devices{flex:1}.ec-preview-devices button{font-size:11px;padding:6px 8px}.ec-preview-stage{padding:5px}.ec-grid,.ec-template-editorial .ec-grid,.ec-template-compact .ec-grid{grid-template-columns:1fr}.ec-profile-cover{padding:30px 18px 85px}.ec-profile-main,.ec-candidate-template-editorial .ec-profile-main{display:flex;flex-direction:column;margin:-55px 8px 0;padding:18px}.ec-profile-photo-wrap,.ec-candidate-template-editorial .ec-profile-photo-wrap{width:150px;height:150px;max-width:100%;margin:0 auto}.ec-profile-cta,.ec-profile-socials{margin-left:8px;margin-right:8px}}


/* Enneade Contest 0.8.0 — responsive hardening and single-brand header */
html,body.enneade-contest-standalone{max-width:100%;overflow-x:hidden!important}
body.enneade-contest-standalone *,.ec-wrap *,.ec-public-profile *{box-sizing:border-box;min-width:0}
body.enneade-contest-standalone img,.ec-wrap img,.ec-public-profile img{max-width:100%;height:auto}
.ec-standalone-brand{width:100%;max-width:1180px;min-height:86px;height:auto;margin:0 auto;padding:12px 24px;display:flex;align-items:center;overflow:hidden;background:#fff}
.ec-standalone-brand a{width:100%;max-width:100%;display:flex;align-items:center;gap:14px;min-width:0;overflow:hidden}
.ec-standalone-brand img{display:block;width:auto!important;height:auto!important;max-width:178px!important;max-height:58px!important;object-fit:contain;flex:0 1 auto}
.ec-standalone-brand a>span{display:block;min-width:0;overflow-wrap:anywhere}
.ec-standalone-brand b{font-size:clamp(14px,2vw,19px);line-height:1.2;letter-spacing:.02em;overflow-wrap:anywhere}
.ec-standalone-brand small{font-size:10px;line-height:1.35;letter-spacing:.08em;overflow-wrap:anywhere}
/* A contest page has one brand logo only: the standalone masthead above the contest. */
body.enneade-contest-standalone .ec-contest-brand{display:none!important}
body.enneade-contest-standalone .ec-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 18px 36px;overflow:hidden}
body.enneade-contest-standalone .ec-header{width:100%;max-width:100%;padding:clamp(20px,4vw,42px);border-radius:16px;overflow:hidden;overflow-wrap:anywhere}
.ec-header h2,.ec-header p,.ec-card-body,.ec-candidate-project,.ec-profile-pitch,.ec-modal-pitch,.ec-modal-description{max-width:100%;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.ec-grid{width:100%;grid-template-columns:repeat(var(--ec-columns,3),minmax(0,1fr))}
.ec-card,.ec-card-body,.ec-vote-form,.ec-votes{min-width:0;max-width:100%}
.ec-votes{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:5px 7px;visibility:visible!important;opacity:1!important;overflow:visible!important}
.ec-votes b{display:inline!important;visibility:visible!important;font-size:clamp(20px,3vw,25px);line-height:1.2}
.ec-vote-form select,.ec-vote-form button{width:100%;max-width:100%;min-width:0;white-space:normal}
.ec-share{max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}
.ec-profile-modal{box-sizing:border-box;width:100%;max-width:100vw}
.ec-profile-dialog{box-sizing:border-box;width:min(680px,100%);max-width:100%;overflow-x:hidden;overflow-y:auto;overflow-wrap:anywhere}
.ec-public-profile{box-sizing:border-box;width:100%;max-width:1120px;padding-left:clamp(10px,2vw,22px);padding-right:clamp(10px,2vw,22px);overflow:hidden}
.ec-profile-cover,.ec-profile-main,.ec-profile-content,.ec-profile-description,.ec-profile-cta,.ec-profile-socials{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.ec-profile-main{grid-template-columns:minmax(0,260px) minmax(0,1fr)}
.ec-profile-pitch{font-size:clamp(15px,2vw,20px);line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.ec-profile-votes{display:flex!important;visibility:visible!important;opacity:1!important;flex-wrap:wrap;align-items:baseline;gap:8px}
.ec-profile-votes strong{display:inline-block!important;visibility:visible!important;font-size:clamp(28px,6vw,38px)}
.ec-profile-vote-button{max-width:100%;white-space:normal;flex-wrap:wrap}
.ec-profile-socials>div{min-width:0;max-width:100%;flex-wrap:wrap}
.ec-template-editorial .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ec-template-compact .ec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.ec-template-compact .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-profile-main{grid-template-columns:minmax(0,190px) minmax(0,1fr);gap:20px}.ec-profile-photo-wrap{width:100%;max-width:210px;height:auto;aspect-ratio:1/1}}
@media(max-width:640px){
 body.enneade-contest-standalone{font-size:15px}
 .ec-standalone-brand{min-height:66px;padding:9px 14px;gap:9px}
 .ec-standalone-brand img{max-width:112px!important;max-height:42px!important}
 .ec-standalone-brand a{gap:9px}
 .ec-standalone-brand b{font-size:14px;letter-spacing:0}
 .ec-standalone-brand small{font-size:8px;letter-spacing:.03em}
 body.enneade-contest-standalone .ec-wrap{padding:0 10px 24px}
 body.enneade-contest-standalone .ec-header{padding:20px 16px;border-radius:12px;margin-bottom:16px}
 .ec-header h2{font-size:clamp(22px,7vw,30px);line-height:1.15;overflow-wrap:anywhere}
 .ec-header p{font-size:14px;line-height:1.55}
 .ec-grid,.ec-template-editorial .ec-grid,.ec-template-compact .ec-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .ec-card{width:100%;max-width:100%}
 .ec-card-body{padding:14px}
 .ec-card-body>strong{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
 .ec-votes{font-size:13px;margin:10px 0}
 .ec-votes b{font-size:23px}
 .ec-vote-form{grid-template-columns:minmax(0,1fr)}
 .ec-vote-form select,.ec-vote-form button{font-size:14px}
 .ec-profile-cover{padding:28px 16px 76px;border-radius:14px}
 .ec-profile-cover h1{font-size:clamp(25px,8vw,36px);line-height:1.12;overflow-wrap:anywhere}
 .ec-profile-project{font-size:16px;overflow-wrap:anywhere}
 .ec-profile-main,.ec-candidate-template-editorial .ec-profile-main,.ec-candidate-template-minimal .ec-profile-main{display:flex;flex-direction:column;align-items:stretch;width:auto;max-width:calc(100% - 12px);margin:-48px 6px 0;padding:16px;gap:16px;border-radius:14px}
 .ec-profile-photo-wrap,.ec-candidate-template-editorial .ec-profile-photo-wrap,.ec-candidate-template-minimal .ec-profile-photo-wrap{width:min(100%,180px);height:auto;aspect-ratio:1/1;margin:0 auto;border-radius:14px}
 .ec-profile-content{width:100%;max-width:100%}
 .ec-profile-pitch{font-size:16px;line-height:1.5;padding-left:12px;margin:12px 0}
 .ec-profile-votes{margin-top:14px}
 .ec-profile-description{padding:0 8px;margin:26px auto}
 .ec-profile-description h2{font-size:22px}
 .ec-profile-cta{margin:22px 6px;padding:18px;gap:16px;align-items:stretch;flex-direction:column}
 .ec-profile-cta h2{font-size:20px;overflow-wrap:anywhere}
 .ec-profile-vote-button{width:100%;justify-content:center}
 .ec-profile-socials{margin:24px 6px 0;padding-top:18px;align-items:flex-start;flex-direction:column}
 .ec-profile-dialog{padding:18px 14px}
 .ec-modal-pitch{font-size:15px;overflow-wrap:anywhere;word-break:break-word}
 .ec-share{gap:6px}
}
@media(max-width:360px){.ec-standalone-brand img{max-width:88px!important}.ec-standalone-brand small{font-size:7px}.ec-card-body{padding:11px}.ec-profile-main{padding:13px}}


/* v1.0.0 — Public templates aligned with the approved Ewebot-inspired demos */
.ec-wrap,.ec-wrap *{box-sizing:border-box}
.ec-wrap{width:min(100%,1280px);margin:0 auto;background:#fff;color:var(--ec-text,#202938);overflow:hidden;overflow-wrap:anywhere}
.ec-site-masthead{min-height:86px;padding:12px clamp(16px,3.5vw,48px);display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fff;border-bottom:1px solid #e9edf3}
.ec-site-brand{display:flex;align-items:center;gap:13px;min-width:0;text-decoration:none;color:inherit}
.ec-site-brand img{display:block;width:auto;height:auto;max-width:145px;max-height:54px;object-fit:contain}
.ec-site-brand>span:last-child{min-width:0}
.ec-site-brand b,.ec-site-brand small{display:block}
.ec-site-brand b{font-family:Rubik,Arial,sans-serif;color:var(--ec-primary);font-size:16px;font-weight:600;line-height:1.3}
.ec-site-brand small{color:#7b8799;font-size:10px;line-height:1.4}
.ec-site-masthead nav{display:flex;align-items:center;gap:clamp(12px,2vw,25px)}
.ec-site-masthead nav a{color:var(--ec-primary);font-size:12px;font-weight:600;text-decoration:none}
.ec-nav-action{padding:10px 17px;border:1px solid #dce3ed;border-radius:6px;color:var(--ec-primary);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.ec-contest-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,32%);align-items:center;gap:34px;padding:clamp(34px,5vw,66px);background:linear-gradient(115deg,var(--ec-primary),#254b78);color:#fff;min-width:0}
.ec-contest-hero-copy{min-width:0;max-width:690px}
.ec-hero-eyebrow{display:block;color:#ffc46f;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.ec-contest-hero h1{margin:13px 0 14px;color:#fff;font-family:Inter,Rubik,Arial,sans-serif;font-size:clamp(36px,6vw,66px);font-weight:700;line-height:1.04;letter-spacing:-.045em;overflow-wrap:anywhere}
.ec-contest-hero p{max-width:600px;margin:0 0 22px;color:rgba(255,255,255,.88);font-size:14px;line-height:1.7}
.ec-hero-button{display:inline-flex;align-items:center;gap:12px;padding:12px 17px;border-radius:6px;background:var(--ec-accent);color:#fff;text-decoration:none;font-size:12px;font-weight:700}
.ec-contest-hero-art{display:flex;align-items:center;justify-content:center;min-width:0}
.ec-contest-hero-art img{display:block;width:min(100%,240px);max-height:250px;object-fit:contain;border-radius:10px}
.ec-contest-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;box-shadow:0 9px 22px rgba(25,43,76,.07)}
.ec-contest-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:23px 12px;border-right:1px solid #edf0f5;text-align:center}
.ec-contest-stats>div:last-child{border-right:0}
.ec-contest-stats strong{color:var(--ec-primary);font-size:21px;font-weight:700;line-height:1.3}
.ec-contest-stats span{color:#8390a4;font-size:11px}
.ec-contest-listing{padding:34px clamp(18px,3vw,42px) 54px;scroll-margin-top:20px}
.ec-contest-section-heading{text-align:center;margin:0 auto 30px;max-width:720px}
.ec-contest-section-heading>span{color:var(--ec-accent);font-size:10px;font-weight:800;letter-spacing:.15em}
.ec-contest-section-heading h2{margin:9px 0 10px;color:var(--ec-primary);font-family:Rubik,Arial,sans-serif;font-size:clamp(24px,3vw,32px);font-weight:650;line-height:1.2}
.ec-contest-section-heading p{margin:0;color:#7c8799;font-size:13px;line-height:1.6}
.ec-wrap .ec-grid{display:grid;grid-template-columns:repeat(var(--ec-columns,3),minmax(0,1fr));gap:16px;align-items:stretch}
.ec-wrap .ec-card{display:flex;flex-direction:column;min-width:0;max-width:100%;overflow:hidden;border:1px solid #e7ebf2;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(24,42,77,.07)}
.ec-wrap .ec-image{display:block;position:relative;aspect-ratio:1.55/1;overflow:hidden;background:#e8eef7;text-decoration:none}
.ec-wrap .ec-image img{display:block;width:100%;height:100%;object-fit:cover}
.ec-wrap .ec-card-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:14px 15px}
.ec-card-kicker{color:#8994a6;font-size:9px;line-height:1.4}
.ec-wrap .ec-card-body h3{margin:7px 0 5px;color:var(--ec-primary);font-family:Rubik,Arial,sans-serif;font-size:16px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.ec-wrap .ec-card-body .ec-candidate-project{color:var(--ec-accent);font-size:12px;font-weight:700}
.ec-wrap .ec-card-body>p{margin:10px 0 16px;color:#748196;font-size:11px;line-height:1.6}
.ec-card-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;min-width:0}
.ec-card-votes{display:inline-flex;align-items:center;gap:4px;color:var(--ec-primary);font-size:10px;font-weight:700;white-space:nowrap}
.ec-card-votes>span{color:#e45b64;font-size:14px}
.ec-view-project{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:6px;background:var(--ec-accent);color:#fff;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}
.ec-view-project:hover,.ec-hero-button:hover{filter:brightness(.96);color:#fff}
.ec-empty-state{text-align:center;padding:42px 20px;border:1px dashed #d9e0eb;border-radius:10px;color:#7b8799}
.ec-empty-state h3{color:var(--ec-primary)}
.ec-contest-footer{display:flex;justify-content:space-between;gap:12px;padding:22px clamp(18px,3vw,42px);border-top:1px solid #edf0f5;color:var(--ec-primary);font-size:12px;font-weight:700}
.ec-contest-footer small{color:#8994a6;font-weight:400}
.ec-template-editorial .ec-wrap .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ec-template-compact .ec-wrap .ec-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ec-template-compact .ec-card-body{padding:12px}
.ec-template-compact .ec-card-body h3{font-size:14px}
.ec-public-profile{width:min(100%,1180px);max-width:100%;margin:0 auto;padding:0 clamp(12px,2vw,24px) 28px;overflow:hidden;box-sizing:border-box}
.ec-profile-hero{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr) minmax(170px,205px);align-items:center;gap:clamp(18px,3vw,30px);padding:clamp(22px,4vw,42px);background:linear-gradient(115deg,var(--ec-primary),#254b78);color:#fff;border-radius:0 0 10px 10px;min-width:0}
.ec-profile-photo-wrap{width:100%;max-width:190px;aspect-ratio:1/1;overflow:hidden;border:4px solid rgba(255,255,255,.9);border-radius:12px;background:#e7edf6}
.ec-profile-photo-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.ec-profile-identity{min-width:0}
.ec-profile-eyebrow{display:block;color:#ffc46f;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.5}
.ec-profile-identity h1{margin:8px 0;color:#fff;font-family:Inter,Rubik,Arial,sans-serif;font-size:clamp(28px,4vw,42px);font-weight:700;line-height:1.08;overflow-wrap:anywhere}
.ec-profile-identity h2{margin:0 0 12px;color:#ffc46f;font-size:19px;line-height:1.3}
.ec-profile-identity .ec-profile-pitch{margin:0 0 13px;color:rgba(255,255,255,.9);font-size:12px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
.ec-profile-number{display:inline-block;padding:5px 9px;border:1px solid rgba(255,255,255,.35);border-radius:20px;color:#fff;font-size:9px}
.ec-profile-vote-panel{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:16px 14px;border-radius:9px;background:#fff;color:var(--ec-primary);text-align:center}
.ec-profile-vote-count{color:var(--ec-accent);font-size:25px;line-height:1.2}
.ec-profile-vote-panel>span{color:#7c8799;font-size:9px}
.ec-profile-vote-form{display:flex;flex-direction:column;gap:8px;margin:0}
.ec-profile-vote-form select{width:100%;max-width:100%;min-height:36px;border:1px solid #dfe4ed;border-radius:5px;background:#fff;font-size:11px}
.ec-profile-vote-form button{width:100%;max-width:100%;padding:10px 9px;border:0;border-radius:5px;background:var(--ec-accent);color:#fff;font-size:11px;font-weight:700;white-space:normal;cursor:pointer}
.ec-profile-content-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:18px;padding:24px clamp(12px,2vw,28px)}
.ec-profile-about,.ec-profile-video{min-width:0;padding:20px;border:1px solid #e8ecf2;border-radius:10px;background:#fff}
.ec-profile-about h2,.ec-profile-video h2{margin:0 0 14px;color:var(--ec-primary);font-family:Rubik,Arial,sans-serif;font-size:18px;font-weight:650}
.ec-profile-about p{color:#78859a;font-size:12px;line-height:1.7}
.ec-profile-video{display:flex;flex-direction:column;gap:12px}
.ec-profile-video h2{font-size:15px}
.ec-video-frame{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:#e8edf5}
.ec-video-frame iframe{display:block;width:100%;height:100%;border:0}
.ec-video-frame a{display:flex;align-items:center;justify-content:center;height:100%;color:var(--ec-primary)}
.ec-video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;aspect-ratio:16/9;border-radius:8px;background:linear-gradient(120deg,#dce5ef,#f7d2a4);color:var(--ec-primary)}
.ec-video-placeholder>span{font-size:30px}
.ec-video-placeholder small{font-size:10px}
.ec-profile-video>strong{font-size:12px;color:#39465c}
.ec-profile-progress{height:6px;overflow:hidden;border-radius:10px;background:#e8edf4}
.ec-profile-progress span{display:block;width:68%;height:100%;border-radius:10px;background:var(--ec-accent)}
.ec-profile-about-full{margin:20px}
.ec-profile-support-note{margin:0 24px 12px;color:#7c8799;font-size:11px}
.ec-profile-socials{display:flex;align-items:center;gap:16px;padding:18px 14px;border-top:1px solid #edf0f5;color:var(--ec-primary);font-size:11px}
.ec-profile-socials>div{display:flex;flex-wrap:wrap;gap:8px}
.ec-profile-share{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:50%;background:#edf2f8;color:var(--ec-primary);font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.ec-profile-share:hover{background:var(--ec-primary);color:#fff}
@media(max-width:900px){
 .ec-site-masthead nav{gap:10px}.ec-site-masthead nav a{font-size:11px}
 .ec-wrap .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ec-template-compact .ec-wrap .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ec-profile-hero{grid-template-columns:minmax(120px,150px) minmax(0,1fr);gap:18px}
 .ec-profile-vote-panel{grid-column:1/-1;display:grid;grid-template-columns:auto auto minmax(180px,1fr);align-items:center;text-align:left}
 .ec-profile-vote-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:640px){
 .ec-site-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px 12px}
 .ec-site-brand img{max-width:94px;max-height:42px}
 .ec-site-brand b{font-size:13px}.ec-site-brand small{font-size:8px}
 .ec-site-masthead nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:7px}
 .ec-site-masthead nav a{font-size:10px}
 .ec-nav-action{grid-column:2;grid-row:1;padding:8px 10px;font-size:10px}
 .ec-contest-hero{grid-template-columns:minmax(0,1fr);padding:28px 18px;gap:18px}
 .ec-contest-hero h1{font-size:38px}
 .ec-contest-hero p{font-size:12px}
 .ec-contest-hero-art{justify-content:flex-start}
 .ec-contest-hero-art img{width:105px;max-height:110px}
 .ec-contest-stats>div{padding:15px 6px}
 .ec-contest-stats strong{font-size:16px}
 .ec-contest-stats span{font-size:9px}
 .ec-contest-listing{padding:26px 12px 36px}
 .ec-contest-section-heading{margin-bottom:20px}
 .ec-contest-section-heading h2{font-size:23px}
 .ec-wrap .ec-grid,.ec-template-editorial .ec-wrap .ec-grid,.ec-template-compact .ec-wrap .ec-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .ec-wrap .ec-image{aspect-ratio:1.65/1}
 .ec-card-actions{gap:6px}
 .ec-card-votes{font-size:10px}
 .ec-view-project{padding:9px 11px}
 .ec-contest-footer{flex-direction:column;gap:4px}
 .ec-profile-hero{grid-template-columns:minmax(0,1fr);padding:22px 16px;gap:14px;text-align:center}
 .ec-profile-photo-wrap{width:132px;margin:0 auto}
 .ec-profile-identity h1{font-size:30px}
 .ec-profile-identity h2{font-size:17px}
 .ec-profile-identity .ec-profile-pitch{font-size:12px}
 .ec-profile-vote-panel{grid-column:auto;display:flex;align-items:stretch;text-align:center}
 .ec-profile-vote-form{display:flex}
 .ec-profile-content-grid{grid-template-columns:minmax(0,1fr);padding:16px 0;gap:12px}
 .ec-profile-about,.ec-profile-video{padding:16px}
 .ec-profile-socials{flex-direction:column;align-items:flex-start}
}

.ec-wrap.ec-template-editorial .ec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-wrap.ec-template-compact .ec-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ec-profile-content-grid-no-about .ec-profile-video{grid-column:1/-1}.ec-profile-content-grid-no-video .ec-profile-about{grid-column:1/-1}
@media(max-width:640px){.ec-wrap.ec-template-editorial .ec-grid,.ec-wrap.ec-template-compact .ec-grid{grid-template-columns:minmax(0,1fr)!important}}

/* Candidate template variants */
.ec-public-profile.ec-candidate-template-editorial .ec-profile-hero{grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(160px,190px)}
.ec-public-profile.ec-candidate-template-editorial .ec-profile-photo-wrap{aspect-ratio:3/4;max-width:210px}
.ec-public-profile.ec-candidate-template-minimal .ec-profile-hero{background:#f7f9fc;border-bottom:5px solid var(--ec-accent);color:var(--ec-primary)}
.ec-public-profile.ec-candidate-template-minimal .ec-profile-identity h1{color:var(--ec-primary)}
.ec-public-profile.ec-candidate-template-minimal .ec-profile-identity .ec-profile-pitch{color:#65738a}
.ec-public-profile.ec-candidate-template-minimal .ec-profile-eyebrow{color:var(--ec-accent)}
@media(max-width:900px){.ec-public-profile.ec-candidate-template-editorial .ec-profile-hero{grid-template-columns:minmax(120px,160px) minmax(0,1fr)}}
@media(max-width:640px){.ec-public-profile.ec-candidate-template-editorial .ec-profile-hero{grid-template-columns:minmax(0,1fr)}}

.ec-profile-share svg{display:block;width:16px;height:16px}

.ec-standalone-brand{width:min(100%,1180px);height:76px;min-height:76px;max-width:1180px;overflow:hidden;box-sizing:border-box}
.ec-standalone-brand a{min-width:0;max-width:100%}
.ec-standalone-brand img{display:block;width:auto;max-width:145px;max-height:52px;object-fit:contain;flex:0 1 auto}
.ec-standalone-brand a>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){.ec-standalone-brand{height:auto;min-height:62px;padding:8px 12px}.ec-standalone-brand img{max-width:100px;max-height:42px}.ec-standalone-brand b{font-size:13px;letter-spacing:0}.ec-standalone-brand small{font-size:8px;letter-spacing:.03em}}

/* Enneade Contest 1.1.0 — responsive and legibility hardening */
.ec-wrap,.ec-wrap *,.ec-public-profile,.ec-public-profile *{box-sizing:border-box;min-width:0}
.ec-wrap{width:100%;max-width:100%;overflow-x:clip;overflow-wrap:anywhere}
.ec-site-masthead,.ec-contest-hero,.ec-contest-stats,.ec-contest-listing,.ec-contest-footer{max-width:100%;min-width:0}
.ec-site-brand{flex:0 1 28%;max-width:290px;min-width:0}
.ec-site-brand img{width:auto!important;max-width:clamp(76px,12vw,145px)!important;max-height:54px!important;object-fit:contain}
.ec-site-masthead nav{flex:1 1 auto;min-width:0;flex-wrap:wrap;justify-content:center}
.ec-wrap .ec-card-body>p{color:#4f5d72;font-size:12px;line-height:1.65}
.ec-card-kicker{color:#58667a;font-weight:600}
.ec-profile-about p,.ec-profile-about div{color:#4b586c;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.ec-profile-number{background:#f29a19;border:1px solid #d98208;color:#142f59;font-weight:800;letter-spacing:.04em;padding:6px 11px}
.ec-profile-identity .ec-profile-pitch{color:#fff}
.ec-profile-vote-panel>span{color:#526075;font-size:11px}
.ec-profile-vote-count{color:#d97900}
.ec-video-placeholder small{color:#263b5b}
.ec-card-actions{flex-wrap:wrap}
.ec-card-votes{color:#142f59}
.ec-view-project{flex:0 0 auto}
.ec-nav-editor-row{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0;padding:10px;background:#f7f9fc;border:1px solid #e5eaf1;border-radius:6px}
.ec-nav-editor-row label{flex:1 1 220px}
.ec-nav-editor-row input{width:100%;max-width:100%}
@media(max-width:900px){
 .ec-site-masthead{flex-wrap:wrap;gap:12px}
 .ec-site-brand{flex-basis:100%;max-width:100%}
 .ec-site-masthead nav{width:100%;order:3;justify-content:flex-start}
 .ec-profile-hero{grid-template-columns:minmax(110px,150px) minmax(0,1fr)}
 .ec-profile-vote-panel{grid-column:1/-1}
}
@media(max-width:640px){
 html,body{max-width:100%;overflow-x:hidden}
 .ec-wrap,.ec-public-profile{width:100%;max-width:100%;margin-inline:0;padding-inline:10px;overflow-x:clip}
 .ec-site-masthead{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 12px}
 .ec-site-brand{flex:1 1 100%;max-width:100%;gap:9px}
 .ec-site-brand img{max-width:88px!important;max-height:42px!important}
 .ec-site-masthead nav{order:2;width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 13px}
 .ec-site-masthead nav a{font-size:11px;white-space:normal}
 .ec-nav-action{order:3;max-width:100%;white-space:normal}
 .ec-contest-hero{width:100%;padding:25px 16px;grid-template-columns:minmax(0,1fr)}
 .ec-contest-hero h1{font-size:clamp(29px,9vw,38px)}
 .ec-contest-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ec-contest-stats>div{padding:12px 4px;overflow-wrap:anywhere}
 .ec-contest-stats strong{font-size:clamp(13px,4vw,17px)}
 .ec-contest-stats span{font-size:9px}
 .ec-wrap .ec-grid,.ec-wrap.ec-template-editorial .ec-grid,.ec-wrap.ec-template-compact .ec-grid{grid-template-columns:minmax(0,1fr)!important}
 .ec-card-actions{align-items:center;justify-content:space-between;flex-wrap:wrap}
 .ec-card-votes{white-space:normal}
 .ec-view-project{white-space:normal;text-align:center}
 .ec-profile-hero{grid-template-columns:minmax(0,1fr);width:100%;padding:20px 14px;text-align:center}
 .ec-profile-photo-wrap{width:min(132px,100%);margin-inline:auto}
 .ec-profile-vote-panel{width:100%;grid-column:auto}
 .ec-profile-vote-form select,.ec-profile-vote-form button{width:100%;max-width:100%}
 .ec-profile-content-grid{grid-template-columns:minmax(0,1fr);width:100%;padding:14px 0}
 .ec-profile-about,.ec-profile-video{width:100%;max-width:100%;overflow:hidden}
 .ec-video-frame iframe{max-width:100%}
 .ec-profile-socials{width:100%;flex-wrap:wrap}
 .ec-nav-editor-row{display:block}
}
.ec-public-profile{font-family:var(--ec-profile-body-font,Inter,Arial,sans-serif)}
.ec-profile-identity h1,.ec-profile-about h2,.ec-profile-video h2{font-family:var(--ec-profile-heading-font,Inter,Rubik,Arial,sans-serif)}
.ec-profile-identity h1{font-size:clamp(26px,4vw,var(--ec-profile-heading-size,42px))}
.ec-profile-about p,.ec-profile-about div{font-size:var(--ec-profile-body-size,13px)}
.ec-public-profile{font-family:var(--ec-profile-body-font,Inter,Arial,sans-serif)}
.ec-profile-identity h1,.ec-profile-about h2,.ec-profile-video h2{font-family:var(--ec-profile-heading-font,Inter,Rubik,Arial,sans-serif)}
.ec-profile-identity h1{font-size:clamp(26px,4vw,var(--ec-profile-heading-size,42px))}
.ec-profile-about p,.ec-profile-about div{font-size:var(--ec-profile-body-size,13px)}
.ec-public-profile{font-family:var(--ec-profile-body-font,Inter,Arial,sans-serif)}.ec-profile-identity h1,.ec-profile-about h2,.ec-profile-video h2{font-family:var(--ec-profile-heading-font,Inter,Rubik,Arial,sans-serif)}.ec-profile-identity h1{font-size:clamp(26px,4vw,var(--ec-profile-heading-size,42px))}.ec-profile-about p,.ec-profile-about div{font-size:var(--ec-profile-body-size,13px)}
.ec-public-profile{font-family:var(--ec-profile-body-font,Inter,Arial,sans-serif)}.ec-profile-identity h1,.ec-profile-about h2,.ec-profile-video h2{font-family:var(--ec-profile-heading-font,Inter,Rubik,Arial,sans-serif)}.ec-profile-identity h1{font-size:clamp(26px,4vw,var(--ec-profile-heading-size,42px))}.ec-profile-about p,.ec-profile-about div{font-size:var(--ec-profile-body-size,13px)}

/* Enneade Contest 1.2.0 — editor-controlled typography, media and social UI */
.ec-wrap{font-family:var(--ec-font,inherit);font-size:var(--ec-body-size,15px);color:var(--ec-text-custom,var(--ec-text,#344054));overflow-wrap:anywhere;word-break:normal;min-width:0;max-width:100%}
.ec-wrap h1,.ec-wrap h2,.ec-wrap h3,.ec-wrap h4{color:var(--ec-heading,var(--ec-primary));font-family:var(--ec-font,inherit)}
.ec-wrap .ec-contest-hero{background:linear-gradient(120deg,var(--ec-primary-custom,var(--ec-primary)),color-mix(in srgb,var(--ec-primary-custom,var(--ec-primary)) 72%,#4776a8));}
.ec-wrap .ec-contest-hero h1{font-size:clamp(30px,var(--ec-title-size,38px),58px);color:#fff;overflow-wrap:anywhere}
.ec-wrap .ec-contest-hero p{color:#f2f5fa}
.ec-wrap .ec-card-kicker{color:#52627a;line-height:1.5;overflow-wrap:anywhere}
.ec-wrap .ec-card-votes{color:#17365f;display:inline-flex;align-items:center;gap:4px}
.ec-wrap .ec-card-votes>span{color:var(--ec-accent-custom,var(--ec-accent));font-size:16px}
.ec-wrap .ec-view-project,.ec-wrap .ec-hero-button,.ec-wrap .ec-nav-action{background:var(--ec-accent-custom,var(--ec-accent));color:#fff!important}
.ec-wrap .ec-contest-socials{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:20px clamp(14px,4vw,42px);border-top:1px solid #e8edf3;color:var(--ec-heading,var(--ec-primary));font-weight:600}
.ec-wrap .ec-contest-socials a,.ec-wrap .ec-contest-socials button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #e1e7ef;border-radius:50px;background:#f5f7fa;color:var(--ec-primary-custom,var(--ec-primary));text-decoration:none;font-size:12px;cursor:pointer}
.ec-public-profile{font-family:var(--ec-font,inherit);font-size:var(--ec-body-size,15px);color:var(--ec-text);overflow-wrap:anywhere;min-width:0}
.ec-public-profile .ec-profile-cover,.ec-public-profile .ec-profile-hero{background:linear-gradient(120deg,var(--ec-hero,var(--ec-primary)),color-mix(in srgb,var(--ec-hero,var(--ec-primary)) 75%,#4776a8))}
.ec-public-profile .ec-profile-identity h1{font-size:clamp(28px,var(--ec-title-size,48px),64px);line-height:1.1;color:#fff;overflow-wrap:anywhere}
.ec-public-profile .ec-profile-identity h2{color:#ffd08a}
.ec-public-profile .ec-profile-about h2,.ec-public-profile .ec-profile-video h2{color:var(--ec-heading,var(--ec-primary))}
.ec-public-profile .ec-profile-about,.ec-public-profile .ec-profile-about p,.ec-public-profile .ec-profile-support-note{color:var(--ec-text);font-size:var(--ec-body-size,15px);line-height:1.7}
.ec-public-profile .ec-profile-number{display:inline-flex;align-items:center;max-width:100%;margin-top:10px;padding:7px 13px;border:1px solid #f29a19;border-radius:30px;background:#fff2df;color:#7a4300;font-weight:800;font-size:11px;letter-spacing:.04em;overflow-wrap:anywhere}
.ec-public-profile .ec-profile-location{display:block;color:#fff;font-size:13px;font-weight:600;margin-top:8px}
.ec-public-profile .ec-profile-video video{display:block;width:100%;height:auto;max-width:100%;border-radius:9px;background:#101828;aspect-ratio:16/9}
.ec-public-profile .ec-video-frame iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:9px}
.ec-public-profile .ec-profile-socials{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}
.ec-public-profile .ec-profile-socials>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ec-public-profile .ec-profile-share{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border-radius:50%;background:#edf2f8;color:#17365f;text-decoration:none;font-weight:700}
.ec-public-profile .ec-profile-share svg{width:17px;height:17px}
.ec-style-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 22px;padding:14px;border:1px solid #e3e8ef;border-radius:9px;background:#f8fafc}
.ec-style-controls label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:12px}
.ec-style-controls input,.ec-style-controls select{max-width:100%;min-height:36px}
.ec-social-editor{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 20px}
.ec-admin-candidate .ec-assignment-list,.ec-admin-contest .ec-contest-candidate-list{min-width:0;max-width:100%}
.ec-admin-candidate .ec-card,.ec-admin-contest .card{min-width:0}
.ec-wrap *, .ec-public-profile *{box-sizing:border-box}
.ec-wrap img,.ec-public-profile img{max-width:100%;height:auto}
.ec-wrap .ec-grid,.ec-wrap .ec-card,.ec-wrap .ec-card-body,.ec-public-profile .ec-profile-content-grid,.ec-public-profile .ec-profile-about,.ec-public-profile .ec-profile-video{min-width:0}
@media(max-width:640px){.ec-style-controls{grid-template-columns:minmax(0,1fr)}.ec-wrap .ec-contest-stats{grid-template-columns:minmax(0,1fr)}.ec-wrap .ec-contest-stats>div{border-right:0;border-bottom:1px solid #e8edf3}.ec-wrap .ec-contest-hero{grid-template-columns:minmax(0,1fr)}.ec-wrap .ec-contest-hero-art{max-width:180px;margin:0 auto}.ec-public-profile .ec-profile-hero{grid-template-columns:minmax(0,1fr);text-align:left}.ec-public-profile .ec-profile-photo-wrap{max-width:150px}.ec-public-profile .ec-profile-vote-panel{grid-column:1/-1;width:100%}.ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr)}.ec-public-profile .ec-profile-socials{align-items:flex-start;flex-direction:column}}
.ec-wrap .ec-contest-share-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf2f8;color:var(--ec-primary-custom,var(--ec-primary));font-size:12px;font-weight:800}
.ec-wrap .ec-contest-socials a{padding:3px;border:0;background:transparent}

/* Public candidate profile: adapt the hero to the sections enabled in the candidate editor. */
.ec-public-profile .ec-profile-hero.ec-profile-hero-no-photo:not(.ec-profile-hero-no-vote-panel){grid-template-columns:minmax(0,1fr) minmax(170px,205px)}
.ec-public-profile .ec-profile-hero:not(.ec-profile-hero-no-photo).ec-profile-hero-no-vote-panel{grid-template-columns:minmax(150px,190px) minmax(0,1fr)}
.ec-public-profile .ec-profile-hero.ec-profile-hero-no-photo.ec-profile-hero-no-vote-panel{grid-template-columns:minmax(0,1fr)}
.ec-public-profile .ec-profile-hero-no-photo .ec-profile-identity{grid-column:1}
@media(max-width:900px){.ec-public-profile .ec-profile-hero.ec-profile-hero-no-photo:not(.ec-profile-hero-no-vote-panel){grid-template-columns:minmax(0,1fr) minmax(170px,205px)}}
@media(max-width:640px){.ec-public-profile .ec-profile-hero.ec-profile-hero-no-photo:not(.ec-profile-hero-no-vote-panel),.ec-public-profile .ec-profile-hero:not(.ec-profile-hero-no-photo).ec-profile-hero-no-vote-panel{grid-template-columns:minmax(0,1fr)}.ec-public-profile .ec-profile-hero-no-photo .ec-profile-identity{grid-column:auto}}

/* v1.2.2: explicit candidate location and vote availability */
.ec-public-profile .ec-profile-location{display:inline-flex;flex-direction:column;gap:3px;width:max-content;max-width:100%;margin:12px 0 0;padding:8px 12px;border:1px solid rgba(242,154,25,.75);border-radius:9px;background:rgba(255,255,255,.12);color:#fff;overflow-wrap:anywhere}
.ec-public-profile .ec-profile-location-label{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.88}
.ec-public-profile .ec-profile-location strong{font-size:14px;font-weight:700;color:#fff}
.ec-public-profile .ec-profile-pack-label{display:block;color:#526075;font-size:11px}
.ec-public-profile .ec-profile-vote-unavailable{display:block;color:#9a3412;font-size:11px;line-height:1.4}
.ec-public-profile .ec-profile-vote-form button:disabled{opacity:.55;cursor:not-allowed}


/* v1.2.3 — approved candidate profile visual system */
.ec-public-profile .ec-profile-hero{
  grid-template-columns:minmax(150px,190px) minmax(0,1fr) minmax(260px,330px);
  gap:clamp(18px,3vw,34px);
  padding:clamp(24px,4vw,46px);
  border-radius:0 0 12px 12px;
  background:linear-gradient(112deg,#102e59 0%,#173f70 68%,#1d5689 100%);
  position:relative;isolation:isolate;
}
.ec-public-profile .ec-profile-hero:after{
  content:"";position:absolute;z-index:-1;right:0;top:0;width:120px;height:100%;
  background:linear-gradient(135deg,transparent 0 42%,rgba(242,154,25,.96) 42% 100%);
  clip-path:polygon(72% 0,100% 0,100% 100%,100% 100%);
  opacity:.95;pointer-events:none
}
.ec-public-profile .ec-profile-photo-wrap{max-width:190px;border:4px solid #fff;border-radius:15px;box-shadow:0 12px 28px rgba(3,18,40,.22)}
.ec-public-profile .ec-profile-eyebrow{display:flex;align-items:center;gap:10px;color:#ffad32;font-size:12px;letter-spacing:.1em}
.ec-public-profile .ec-profile-eyebrow i{display:inline-block;width:5px;height:22px;border-radius:5px;background:#ff8a00}
.ec-public-profile .ec-profile-identity h1{margin:8px 0 5px;font-weight:800;letter-spacing:-.035em}
.ec-public-profile .ec-profile-identity h2{margin:0 0 10px;color:#ff9b18;font-size:clamp(19px,2vw,25px);font-weight:800}
.ec-public-profile .ec-profile-identity .ec-profile-pitch{max-width:760px;margin:0 0 16px;color:#f6f8fc;font-size:clamp(13px,var(--ec-body-size,15px),17px);line-height:1.55}
.ec-public-profile .ec-profile-meta-pills{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}
.ec-public-profile .ec-profile-number{display:inline-flex;align-items:center;min-height:38px;margin:0;padding:8px 17px;border:1px solid #ff980e;border-radius:30px;background:#ff980e;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em}
.ec-public-profile .ec-profile-location{display:inline-flex;flex-direction:row;align-items:center;gap:10px;width:auto;max-width:100%;min-height:42px;margin:0;padding:7px 13px;border:2px solid #ff9b18;border-radius:28px;background:rgba(7,34,70,.32);color:#fff;overflow:hidden}
.ec-public-profile .ec-profile-location>svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:#ff9b18;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ec-public-profile .ec-profile-location>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.ec-public-profile .ec-profile-location small{color:#ffbd68;font-size:8px;font-weight:800;letter-spacing:.09em}
.ec-public-profile .ec-profile-location strong{display:block;max-width:100%;color:#fff;font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.ec-public-profile .ec-profile-vote-panel{align-items:stretch;justify-content:center;gap:8px;min-width:0;padding:20px 18px;border:1px solid rgba(255,255,255,.7);border-radius:17px;background:#fff;box-shadow:0 12px 32px rgba(3,18,40,.16);color:#102e59}
.ec-public-profile .ec-profile-vote-total{display:flex;align-items:center;justify-content:center;gap:12px}
.ec-public-profile .ec-profile-vote-total>svg{width:37px;height:37px;fill:none;stroke:var(--ec-accent,#f29a19);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ec-public-profile .ec-profile-vote-count{color:#ed6500;font-size:clamp(30px,3vw,43px);font-weight:850;letter-spacing:-.04em}
.ec-public-profile .ec-profile-vote-panel>span{color:#172b4d;font-size:13px;font-weight:600}
.ec-public-profile .ec-profile-vote-form{gap:9px}
.ec-public-profile .ec-profile-vote-form select{min-height:40px;padding:7px 10px;border-radius:9px;font-size:13px}
.ec-public-profile .ec-profile-vote-form button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 15px;border-radius:13px;background:linear-gradient(100deg,#ff9d00,#f05a00);box-shadow:0 5px 12px rgba(232,103,0,.2);font-size:clamp(13px,1.2vw,17px);font-weight:800}
.ec-public-profile .ec-profile-vote-form button svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ec-public-profile .ec-profile-vote-form button b{font-size:20px;line-height:1}
.ec-public-profile .ec-profile-vote-form button:hover{filter:brightness(1.04);transform:translateY(-1px)}
.ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.95fr);gap:22px;padding:28px clamp(12px,2vw,28px)}
.ec-public-profile .ec-profile-about,.ec-public-profile .ec-profile-video{padding:24px 25px;border:1px solid #dce3ed;border-radius:19px;background:#fff;box-shadow:0 8px 24px rgba(16,46,89,.045)}
.ec-public-profile .ec-profile-about h2,.ec-public-profile .ec-profile-video h2{display:flex;align-items:center;gap:13px;margin:0 0 18px;padding-bottom:12px;color:#102e59;font-size:clamp(19px,2vw,25px);font-weight:800;letter-spacing:-.02em}
.ec-public-profile .ec-profile-about h2:after,.ec-public-profile .ec-profile-video h2:after{content:"";position:absolute}
.ec-public-profile .ec-profile-about h2 svg,.ec-public-profile .ec-profile-video h2 svg,.ec-public-profile .ec-profile-ambition h3 svg{width:29px;height:29px;flex:0 0 29px;fill:none;stroke:#f47b00;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.ec-public-profile .ec-profile-about>div,.ec-public-profile .ec-profile-about p{color:#263b59;font-size:var(--ec-body-size,15px);line-height:1.75}
.ec-public-profile .ec-profile-ambition{margin-top:24px;padding-top:4px}
.ec-public-profile .ec-profile-ambition h3{display:flex;align-items:center;gap:13px;margin:0 0 10px;color:#102e59;font-size:clamp(17px,1.8vw,22px);font-weight:800}
.ec-public-profile .ec-profile-ambition>div,.ec-public-profile .ec-profile-ambition p{color:#263b59;font-size:var(--ec-body-size,15px);line-height:1.7}
.ec-public-profile .ec-profile-video{gap:13px}
.ec-public-profile .ec-profile-video h2{font-size:clamp(18px,1.8vw,23px)}
.ec-public-profile .ec-video-frame{aspect-ratio:16/9;border-radius:13px;background:#e8edf5}
.ec-public-profile .ec-video-frame video,.ec-public-profile .ec-video-frame iframe{width:100%;height:100%;object-fit:cover;border-radius:13px}
.ec-public-profile .ec-video-placeholder{border-radius:13px;background:linear-gradient(120deg,#dce5ef,#f8c98e)}
.ec-public-profile .ec-profile-video>strong{color:#263b59;font-size:13px;font-weight:750}
.ec-public-profile .ec-profile-progress{height:7px;background:#e8edf4}
.ec-public-profile .ec-profile-progress span{background:linear-gradient(90deg,#ff9b00,#f05a00)}
.ec-public-profile .ec-profile-socials{margin:0 28px;padding:22px 0;border-top:1px solid #e4e9f0;gap:20px;color:#102e59;font-size:15px}
.ec-public-profile .ec-profile-socials>span{font-size:15px;font-weight:800;color:#102e59}
.ec-public-profile .ec-profile-socials>div{gap:12px}
.ec-public-profile .ec-profile-share{width:43px;height:43px;min-width:43px;min-height:43px;background:#edf2f8;color:#17365f;font-size:16px;transition:transform .18s ease,background .18s ease}
.ec-public-profile .ec-profile-share:hover{transform:translateY(-2px);background:#17365f;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-facebook{background:#1877f2;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-whatsapp{background:#13a45b;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-x{background:#111;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-linkedin{background:#0a80bd;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-telegram{background:#159bd7;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-tiktok{background:#111;color:#fff}
.ec-public-profile .ec-profile-share.ec-share-email{background:#f47b00;color:#fff}
.ec-public-profile .ec-profile-share svg{width:20px;height:20px}
.ec-public-profile .ec-profile-support-note{margin:0 28px 12px;color:#66758c;font-size:12px}
@media(max-width:900px){
 .ec-public-profile .ec-profile-hero{grid-template-columns:minmax(125px,155px) minmax(0,1fr);gap:20px}
 .ec-public-profile .ec-profile-vote-panel{grid-column:1/-1;display:flex;max-width:100%;width:100%}
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:640px){
 .ec-public-profile{padding:0 10px 24px}
 .ec-public-profile .ec-profile-hero{grid-template-columns:minmax(0,1fr);padding:23px 16px;gap:15px;text-align:left}
 .ec-public-profile .ec-profile-photo-wrap{width:145px;margin:0 auto}
 .ec-public-profile .ec-profile-identity h1{font-size:clamp(29px,9vw,38px)}
 .ec-public-profile .ec-profile-meta-pills{align-items:flex-start}
 .ec-public-profile .ec-profile-location{width:100%;justify-content:flex-start}
 .ec-public-profile .ec-profile-vote-panel{grid-column:auto;width:100%;padding:17px}
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr);padding:18px 0;gap:14px}
 .ec-public-profile .ec-profile-about,.ec-public-profile .ec-profile-video{padding:19px 17px}
 .ec-public-profile .ec-profile-socials{margin:0 6px;align-items:flex-start;flex-direction:column;gap:14px}
 .ec-public-profile .ec-profile-socials>div{gap:9px}
 .ec-public-profile .ec-profile-share{width:39px;height:39px;min-width:39px;min-height:39px}
}


/* v1.2.4 — force public profile sections to render visibly in the standalone candidate template */
.ec-public-profile .ec-profile-hero{
  display:grid!important;
  grid-template-columns:minmax(150px,190px) minmax(0,1fr) minmax(260px,330px)!important;
  align-items:center!important;
}
.ec-public-profile .ec-profile-vote-panel-enabled{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:2!important;
  grid-column:auto!important;
  min-height:150px;
}
.ec-public-profile .ec-profile-vote-panel-enabled .ec-profile-vote-form,
.ec-public-profile .ec-profile-vote-panel-enabled .ec-profile-vote-form button{
  display:flex!important;
  visibility:visible!important;
}
.ec-public-profile .ec-profile-content-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.95fr)!important;
  align-items:stretch!important;
}
.ec-public-profile .ec-profile-video-enabled{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  min-height:250px;
}
.ec-public-profile .ec-profile-video-enabled .ec-video-frame,
.ec-public-profile .ec-profile-video-enabled .ec-video-placeholder{
  display:flex;
  visibility:visible;
}
.ec-public-profile .ec-profile-vote-panel-enabled .ec-profile-vote-count{display:inline-block!important}
.ec-public-profile .ec-profile-vote-panel-enabled .ec-profile-vote-form button:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:900px){
 .ec-public-profile .ec-profile-hero{grid-template-columns:minmax(125px,155px) minmax(0,1fr)!important}
 .ec-public-profile .ec-profile-vote-panel-enabled{grid-column:1/-1!important;min-height:0}
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}
@media(max-width:640px){
 .ec-public-profile .ec-profile-hero{grid-template-columns:minmax(0,1fr)!important;text-align:left!important}
 .ec-public-profile .ec-profile-vote-panel-enabled{grid-column:auto!important;width:100%!important}
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr)!important}
 .ec-public-profile .ec-profile-video-enabled{min-height:0}
}

/* v1.2.5 — Ewebot-inspired finishing: compact media card and recognizable social brand marks */
.ec-public-profile .ec-profile-content-grid{
  grid-template-columns:minmax(0,1.28fr) minmax(280px,.82fr)!important;
  gap:20px!important;
  align-items:start!important;
}
.ec-public-profile .ec-profile-video{
  padding:21px 22px!important;
  gap:10px!important;
  border-radius:10px!important;
  box-shadow:0 7px 22px rgba(20,31,67,.055)!important;
}
.ec-public-profile .ec-profile-video h2{
  margin-bottom:8px!important;
  padding-bottom:10px!important;
  font-family:Rubik,Inter,Arial,sans-serif!important;
  font-size:19px!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
.ec-public-profile .ec-profile-video h2:after{
  content:""!important;
  position:absolute!important;
  width:72px!important;
  height:3px!important;
  margin-top:42px!important;
  background:#f47b00!important;
  border-radius:2px!important;
}
.ec-public-profile .ec-video-frame{
  aspect-ratio:16/8.8!important;
  max-height:285px!important;
  border-radius:7px!important;
  background:#e9edf3!important;
}
.ec-public-profile .ec-video-frame video,
.ec-public-profile .ec-video-frame iframe{
  border-radius:7px!important;
}
.ec-public-profile .ec-profile-video>strong{font-size:12px!important;font-weight:600!important}
.ec-public-profile .ec-profile-progress{height:5px!important;border-radius:4px!important}
.ec-public-profile .ec-profile-socials{gap:18px!important}
.ec-public-profile .ec-profile-socials>div{align-items:center;gap:10px!important}
.ec-public-profile .ec-profile-share{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  box-shadow:0 3px 9px rgba(16,46,89,.12)!important;
  font-size:0!important;
  line-height:1!important;
  text-decoration:none!important;
}
.ec-public-profile .ec-profile-share svg{
  display:block!important;
  width:21px!important;height:21px!important;
  min-width:21px!important;min-height:21px!important;
  fill:currentColor!important;
  stroke:none!important;
}
.ec-public-profile .ec-profile-share.ec-share-facebook{background:#1877f2!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-whatsapp{background:#18a957!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-x{background:#111!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-linkedin{background:#0a80bd!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-telegram{background:#229ed9!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-tiktok{background:#111!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-email{background:#f47b00!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-copy{background:#eaf0f8!important;color:#17365f!important}
.ec-public-profile .ec-profile-share:hover{transform:translateY(-2px)!important;filter:brightness(1.06)}
@media(max-width:900px){
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)!important}
 .ec-public-profile .ec-video-frame{max-height:240px!important}
}
@media(max-width:640px){
 .ec-public-profile .ec-profile-content-grid{grid-template-columns:minmax(0,1fr)!important}
 .ec-public-profile .ec-profile-video{padding:18px 16px!important}
 .ec-public-profile .ec-video-frame{aspect-ratio:16/9!important;max-height:none!important}
 .ec-public-profile .ec-profile-socials>div{flex-direction:row!important;flex-wrap:wrap!important}
}
/* Enneade Contest 1.4 — statut, tableau de bord et suivi financier */
.ec-status-badge{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.35;background:#eef2f7;color:#344054;white-space:nowrap}
.ec-status-active{background:#e8f7ee;color:#167044}.ec-status-upcoming{background:#eaf2ff;color:#2457a7}.ec-status-paused{background:#fff3db;color:#965b00}.ec-status-closed,.ec-status-deleted{background:#f1f2f4;color:#596273}.ec-status-cancelled{background:#fdecec;color:#a12b2b}
.ec-public-status-row,.ec-profile-vote-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 18px;margin:14px 0;border:1px solid #e8edf3;border-radius:12px;background:#fff;color:#344054;font-weight:600}
.ec-card-vote-status{margin:10px 0}.ec-card-vote-status .ec-status-badge{font-size:11px}
.ec-contest-socials{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:20px 0}.ec-contest-socials>a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#f2f5f9;color:#17365f;text-decoration:none;transition:transform .2s,background .2s}.ec-contest-socials>a:hover{transform:translateY(-2px);background:#e4ebf4}.ec-contest-share-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ec-contest-share-icon svg{width:21px;height:21px;fill:currentColor}.ec-contest-socials .ec-share-facebook{background:#eaf1ff;color:#1877f2}.ec-contest-socials .ec-share-whatsapp{background:#e7f8ee;color:#20b15a}.ec-contest-socials .ec-share-linkedin{background:#e8f3fb;color:#0a66c2}.ec-contest-socials .ec-share-telegram{background:#e8f5fc;color:#229ed9}.ec-contest-socials .ec-share-tiktok{background:#eef0f2;color:#111}.ec-contest-socials .ec-share-x{background:#edf0f2;color:#111}.ec-contest-socials .ec-share-email{background:#fff0e6;color:#d66a1f}
.ec-finance-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0}.ec-finance-cards .card{margin:0;padding:16px;min-width:0}.ec-finance-cards .card h2{font-size:24px;margin:0 0 8px;color:#17365f}.ec-finance-cards .card p{margin:0;color:#596579}.ec-dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.ec-dashboard-stats>div{padding:16px;border-radius:12px;background:#f5f7fa;display:flex;flex-direction:column;gap:5px}.ec-dashboard-contest{border:1px solid #e6eaf0;border-radius:12px;padding:16px;margin:12px 0}.ec-dashboard-progress{display:block;height:8px;background:#e8edf3;border-radius:99px;overflow:hidden;margin-top:8px}.ec-dashboard-progress i{display:block;height:100%;background:#f29a19}.ec-dashboard table{width:100%;border-collapse:collapse}.ec-dashboard th,.ec-dashboard td{padding:9px;border-bottom:1px solid #e8edf3;text-align:left}
@media(max-width:640px){.ec-finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-dashboard table{display:block;overflow-x:auto}}

/* Enneade Contest 1.4.1 – approved contest public presentation adjustments */
.ec-wrap .ec-hero-contest-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 18px;color:#fff;font-size:13px;font-weight:700}
.ec-wrap .ec-hero-contest-status .ec-status-badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:30px;background:#F29A19!important;color:#142F59!important;font-weight:800}
.ec-wrap .ec-contest-stats{background:var(--ec-stats-bg,#F29A19)!important;border-radius:0;overflow:hidden}
.ec-wrap .ec-contest-stats>div{border-color:rgba(20,47,89,.14)!important}
.ec-wrap .ec-contest-stats strong{color:var(--ec-stats-number,#142F59)!important}
.ec-wrap .ec-contest-stats span{color:var(--ec-stats-label,#142F59)!important;opacity:1!important}
.ec-wrap .ec-contest-socials{background:var(--ec-social-bg,#142F59)!important;color:var(--ec-social-text,#fff)!important;border:0!important;border-radius:0}
.ec-wrap .ec-contest-socials>a{opacity:1!important;filter:none!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.25)!important;color:var(--ec-social-accent,#F29A19)!important;width:42px;height:42px;padding:8px!important}
.ec-wrap .ec-contest-socials .ec-contest-share-icon,.ec-wrap .ec-contest-socials .ec-contest-share-icon svg{opacity:1!important;visibility:visible!important;filter:none!important}
.ec-wrap .ec-contest-socials .ec-contest-share-icon svg{width:23px;height:23px;fill:currentColor!important}
.ec-wrap .ec-contest-socials .ec-share-copy{background:var(--ec-social-accent,#F29A19)!important;color:#142F59!important;border:0!important;opacity:1!important}
.ec-login-wrap{max-width:460px;margin:40px auto;padding:30px;background:#fff;border:1px solid #e7ebf2;border-radius:14px;box-shadow:0 12px 32px rgba(20,47,89,.08)}.ec-login-wrap h2{margin:0 0 20px;color:#142F59}.ec-login-wrap label{display:block;font-weight:600;color:#142F59}.ec-login-wrap input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #d7deea;border-radius:8px}.ec-login-wrap button{width:100%;padding:13px;border:0;border-radius:8px;background:#F29A19;color:#142F59;font-weight:700;cursor:pointer}.ec-login-error{padding:10px;background:#fff0ef;color:#a12622;border-radius:7px}.ec-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ec-candidate-logout{padding:8px 12px;border-radius:7px;background:#142F59;color:#fff;text-decoration:none}


/* Corrections visuelles validées — Enneade Contest 1.4.6 */
.ec-wrap .ec-hero-contest-status .ec-status-badge,
.ec-wrap .ec-hero-contest-status .ec-status-active{background:#e7f7ed!important;color:#16803c!important;border:1px solid #b7e4c7!important}
.ec-wrap .ec-card-actions .ec-card-votes>span{color:#e11d48!important;font-size:18px!important;line-height:1!important}
.ec-wrap .ec-card-actions .ec-card-votes b{color:#142f59!important}
/* Bande de partage bleu/orange, avec couleurs officielles propres à chaque réseau */
.ec-wrap .ec-contest-socials{background:linear-gradient(105deg,#142f59 0%,#173b68 72%,#f29a19 100%)!important;color:#fff!important}
.ec-wrap .ec-contest-socials>a{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;border-radius:8px!important;opacity:1!important;filter:none!important;transition:transform .18s ease,box-shadow .18s ease!important}
.ec-wrap .ec-contest-socials>a:hover{transform:translateY(-3px)!important;box-shadow:0 7px 18px rgba(0,0,0,.18)!important}
.ec-wrap .ec-contest-socials .ec-share-facebook{background:#1877F2!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-whatsapp{background:#25D366!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-x{background:#000!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-linkedin{background:#0A66C2!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-telegram{background:#229ED9!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-tiktok{background:#000!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-share-email{background:#D96B18!important;color:#fff!important}
.ec-wrap .ec-contest-socials .ec-contest-share-icon{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;opacity:1!important;visibility:visible!important}
.ec-wrap .ec-contest-socials .ec-contest-share-icon svg{display:block!important;width:23px!important;height:23px!important;fill:currentColor!important;opacity:1!important;visibility:visible!important}
.ec-public-profile .ec-profile-share{opacity:1!important;filter:none!important}
.ec-public-profile .ec-profile-share.ec-share-facebook{background:#1877F2!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-whatsapp{background:#25D366!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-x{background:#000!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-linkedin{background:#0A66C2!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-telegram{background:#229ED9!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-tiktok{background:#000!important;color:#fff!important}
.ec-public-profile .ec-profile-share.ec-share-email{background:#D96B18!important;color:#fff!important}
@media(max-width:640px){.ec-wrap .ec-contest-socials{gap:8px!important}.ec-wrap .ec-contest-socials>a{width:40px!important;height:40px!important;min-width:40px!important}}

/* Candidate public profile: blue social-sharing band */
.ec-profile-socials-band{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#142f59!important;color:#fff!important;padding:20px 26px!important;border-radius:0!important;margin-top:28px}
.ec-profile-socials-band>span{color:#fff!important;font-weight:700}
.ec-profile-socials-band>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ec-profile-socials-band .ec-profile-share{opacity:1!important;filter:none!important}
@media(max-width:600px){.ec-profile-socials-band{align-items:flex-start;padding:18px!important}.ec-profile-socials-band>div{width:100%}}

/* Portail candidat autonome — design cohérent avec les pages concours/profil public */
body.enneade-candidate-portal{margin:0!important;background:#f5f7fb!important;color:#202938;font-family:Inter,Arial,sans-serif}
body.enneade-candidate-portal #wpadminbar{display:none!important}
.ec-candidate-portal-shell{width:100%;min-height:100vh;background:#f7f8fb;color:#202938}
.ec-candidate-portal-shell .ec-site-masthead{width:100%;box-sizing:border-box;background:#fff}
#ec-candidate-portal-content{width:min(1180px,calc(100% - 40px));margin:34px auto 52px;padding:0;box-sizing:border-box}
.ec-dashboard{padding:clamp(20px,3vw,34px);border:1px solid #e7ebf2;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(20,47,89,.055);box-sizing:border-box}
.ec-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.ec-dashboard-head h1{margin:0;color:#142f59;font-size:clamp(25px,3vw,32px);font-weight:750;letter-spacing:-.03em}
.ec-dashboard-profile{display:flex;align-items:center;gap:18px;padding:20px 22px;margin:0 0 24px;border:1px solid #e9edf3;border-radius:14px;background:linear-gradient(105deg,#f8faff,#fff)}
.ec-dashboard-profile-avatar{width:88px;height:88px;flex:0 0 88px;border-radius:50%;padding:4px;background:#fff;border:2px solid #f29a19;box-shadow:0 6px 18px rgba(20,47,89,.12);box-sizing:border-box;overflow:hidden}
.ec-dashboard-profile-avatar img,.ec-dashboard-profile-avatar .ec-candidate-avatar{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.ec-candidate-avatar-placeholder{display:grid;place-items:center;background:#142f59;color:#fff;font-size:30px;font-weight:700}
.ec-dashboard-profile-copy .ec-profile-eyebrow{color:#e58a08;font-size:10px;letter-spacing:.13em;font-weight:800}
.ec-dashboard-profile-copy h2{margin:5px 0 4px;color:#142f59;font-size:22px;line-height:1.2}
.ec-dashboard-profile-copy p{margin:0;color:#718096;font-size:13px}
.ec-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 30px}
.ec-dashboard-stats>div{min-width:0;padding:18px 17px;border:1px solid #edf0f5;border-radius:12px;background:#f5f7fa;display:flex;flex-direction:column;gap:5px}
.ec-dashboard-stats b{font-size:27px;line-height:1.2;color:#142f59;font-weight:750}
.ec-dashboard-stats span{font-size:12px;color:#596579;font-weight:600}
.ec-dashboard-stats small{font-size:11px;line-height:1.5;color:#8792a3}
.ec-dashboard-section{margin-top:34px}
.ec-dashboard-section-heading{margin-bottom:17px}
.ec-section-kicker{margin-bottom:5px;color:#e58a08;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.ec-dashboard-section-heading h2,.ec-candidate-promo-kit h2{margin:0;color:#142f59;font-size:22px;font-weight:750;letter-spacing:-.02em}
.ec-candidate-promo-kit{padding:23px;margin:0 0 30px;border:1px solid #e8edf4;border-radius:14px;background:#fff}
.ec-profile-link-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.ec-profile-public-button,.ec-copy-profile-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer;box-sizing:border-box}
.ec-profile-public-button{background:#142f59;color:#fff!important;border:1px solid #142f59}
.ec-profile-public-button:hover{background:#1d416f;color:#fff!important}
.ec-copy-profile-link{background:#fff;color:#142f59;border:1px solid #d8e0eb}
.ec-copy-profile-link:hover{border-color:#f29a19;background:#fffaf1}
.ec-candidate-share-band{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-radius:11px;background:linear-gradient(105deg,#142f59 0%,#193e6c 76%,#f29a19 145%);color:#fff}
.ec-candidate-share-band>span{font-size:12px;font-weight:750;white-space:nowrap}
.ec-candidate-share-icons{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ec-candidate-share-icons>a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:9px;text-decoration:none;opacity:1!important;filter:none!important;transition:transform .18s ease,box-shadow .18s ease}
.ec-candidate-share-icons>a:hover{transform:translateY(-3px);box-shadow:0 7px 15px rgba(0,0,0,.2)}
.ec-candidate-share-icons svg{display:block;width:21px;height:21px;fill:#fff!important;opacity:1!important;visibility:visible!important}
.ec-candidate-share-icons .ec-share-facebook{background:#1877f2}.ec-candidate-share-icons .ec-share-whatsapp{background:#25d366}.ec-candidate-share-icons .ec-share-x{background:#000}.ec-candidate-share-icons .ec-share-linkedin{background:#0a66c2}.ec-candidate-share-icons .ec-share-telegram{background:#229ed9}.ec-candidate-share-icons .ec-share-tiktok{background:#000}.ec-candidate-share-icons .ec-share-email{background:#e85d3f}
.ec-dashboard-contests-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}
.ec-dashboard-contest{margin:0;padding:20px;border:1px solid #e7ebf2;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(20,47,89,.04)}
.ec-dashboard-contest-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.ec-dashboard-contest-top h3{margin:0;color:#142f59;font-size:17px;font-weight:750}
.ec-dashboard-contest-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff5e5;font-size:17px}
.ec-dashboard-contest-statuses{display:grid;gap:8px;margin-bottom:14px}
.ec-dashboard-contest-statuses p{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;color:#687386;font-size:11px}
.ec-dashboard-contest-votes{display:flex;align-items:baseline;gap:7px;margin:12px 0;color:#687386;font-size:12px}
.ec-dashboard-contest-votes strong{color:#142f59;font-size:23px}
.ec-dashboard-progress{display:block;height:8px;background:#e8edf3;border-radius:99px;overflow:hidden;margin-top:8px}
.ec-dashboard-progress i{display:block;height:100%;background:#f29a19}
.ec-dashboard-contest-link{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding-top:13px;border-top:1px solid #edf0f5;color:#142f59;font-size:12px;font-weight:750;text-decoration:none}
.ec-dashboard-contest-link span{color:#f29a19;font-size:18px}
.ec-dashboard-table-wrap{width:100%;overflow-x:auto;border:1px solid #e8edf3;border-radius:11px}
.ec-dashboard table{min-width:560px;width:100%;border-collapse:collapse;background:#fff}
.ec-dashboard th{background:#f5f7fa;color:#536176;font-size:11px;font-weight:750}
.ec-dashboard td{color:#596579;font-size:12px}
.ec-dashboard th,.ec-dashboard td{padding:13px 15px;border-bottom:1px solid #edf0f5;text-align:left}
.ec-dashboard tbody tr:last-child td{border-bottom:0}
.ec-history-status{display:inline-flex;padding:5px 9px;border-radius:30px;font-size:10px;font-weight:750}
.ec-history-status.is-valid{background:#e7f7ed;color:#16803c}.ec-history-status.is-reversed{background:#fff1e9;color:#b45309}
.ec-dashboard-empty-cell{text-align:center!important;color:#8792a3!important;padding:24px!important}
.ec-dashboard-privacy-note{margin:12px 0 0;color:#8792a3;font-size:11px;line-height:1.6}
.ec-password-card{padding:21px;border:1px solid #e8edf3;border-radius:12px;background:#fbfcfe}
.ec-password-card h3{margin:0 0 16px;color:#142f59;font-size:16px}
.ec-password-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ec-password-fields p{margin:0 0 14px}
.ec-password-fields label{display:block;color:#536176;font-size:11px;font-weight:700}
.ec-password-fields input{display:block;width:100%;height:42px;margin-top:7px;padding:9px 11px;border:1px solid #d8e0eb;border-radius:7px;background:#fff;box-sizing:border-box}
.ec-password-card button{padding:11px 17px;border:0;border-radius:8px;background:#f29a19;color:#142f59;font-size:12px;font-weight:750;cursor:pointer}
.ec-candidate-portal-shell .ec-contest-footer{margin-top:0;background:#fff}
@media(max-width:760px){#ec-candidate-portal-content{width:calc(100% - 24px);margin:18px auto 30px}.ec-dashboard{padding:17px}.ec-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-password-fields{grid-template-columns:1fr}.ec-candidate-share-band{align-items:flex-start;flex-direction:column}.ec-candidate-share-icons{justify-content:flex-start}.ec-dashboard-profile{padding:15px}.ec-dashboard-profile-avatar{width:72px;height:72px;flex-basis:72px}}
@media(max-width:420px){.ec-dashboard-head{align-items:flex-start;flex-direction:column}.ec-dashboard-stats{gap:8px}.ec-dashboard-stats>div{padding:13px}.ec-dashboard-stats b{font-size:23px}.ec-profile-link-actions{flex-direction:column}.ec-profile-link-actions>*{width:100%}}


/* v1.4.12 — Charte bleu marine / orange du portail candidat validé */
.ec-candidate-portal-shell .ec-site-masthead{
  background:#142f59!important;
  border-bottom:1px solid #203f6b!important;
}
.ec-candidate-portal-shell .ec-site-masthead .ec-site-brand b,
.ec-candidate-portal-shell .ec-site-masthead .ec-site-brand small,
.ec-candidate-portal-shell .ec-site-masthead nav a{
  color:#f29a19!important;
}
.ec-candidate-portal-shell .ec-site-masthead .ec-nav-action{
  background:#f29a19!important;
  border-color:#f29a19!important;
  color:#142f59!important;
}
.ec-candidate-portal-shell .ec-dashboard-head{
  margin:-1px -1px 22px;
  padding:17px 20px;
  border-radius:11px;
  background:#142f59;
}
.ec-candidate-portal-shell .ec-dashboard-head h1{
  color:#f29a19!important;
}
.ec-candidate-portal-shell .ec-dashboard-head .ec-candidate-logout{
  background:#f29a19!important;
  color:#142f59!important;
  border:1px solid #f29a19!important;
}
.ec-candidate-portal-shell .ec-contest-footer{
  background:#142f59!important;
  border-top:1px solid #203f6b!important;
  color:#f29a19!important;
}
.ec-candidate-portal-shell .ec-contest-footer small{
  color:#f7bd68!important;
}
/* Instagram share button brand treatment */
.ec-share-instagram{background:linear-gradient(45deg,#feda75 0%,#fa7e1e 25%,#d62976 55%,#962fbf 78%,#4f5bd5 100%)!important;color:#fff!important;border-color:transparent!important}
.ec-share-instagram svg{width:22px;height:22px;display:block}

/* v1.4.16: mobile contest navigation keeps the Participate action beside the tabs */
@media(max-width:640px){
 .ec-wrap .ec-site-masthead{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;align-items:center;gap:8px 10px;}
 .ec-wrap .ec-site-brand{grid-column:1/-1;grid-row:1;min-width:0;width:100%;}
 .ec-wrap .ec-site-masthead nav{grid-column:1;grid-row:2;order:initial!important;width:100%;min-width:0;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:clamp(6px,2vw,13px);overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;padding:3px 0;}
 .ec-wrap .ec-site-masthead nav::-webkit-scrollbar{display:none}
 .ec-wrap .ec-site-masthead nav a{flex:0 0 auto;white-space:nowrap;font-size:clamp(9px,2.7vw,11px);}
 .ec-wrap .ec-site-masthead .ec-nav-action{grid-column:2;grid-row:2;order:initial!important;justify-self:end;align-self:center;max-width:none;white-space:nowrap;padding:8px clamp(8px,2.5vw,12px);font-size:10px;}
}
.ec-wrap .ec-grid{grid-template-columns:repeat(var(--ec-contest-grid-columns,var(--ec-columns,3)),minmax(0,1fr))!important}
@media(max-width:760px){.ec-wrap .ec-grid{grid-template-columns:repeat(var(--ec-contest-mobile-columns,1),minmax(0,1fr))!important}}
.ec-candidate-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:26px auto 8px}
.ec-candidate-pagination a{display:inline-flex;min-width:36px;height:36px;padding:0 10px;align-items:center;justify-content:center;border:1px solid #dce3ed;border-radius:7px;color:var(--ec-primary,#142f59);text-decoration:none;font-weight:700;background:#fff}
.ec-candidate-pagination a.is-current{background:var(--ec-primary,#142f59);border-color:var(--ec-primary,#142f59);color:#fff}
