/* Convaincre Démo — isolated styles; no global WordPress theme selectors. */
.cdemo{--cd-bg:#15111d;--cd-ink:#f7f4ff;--cd-muted:#b9a6d4;--cd-panel:#120d19;--cd-panel2:#21182b;--cd-purple:#7547a3;--cd-purplebright:#b88cdd;--cd-line:rgba(255,255,255,.105);--cd-blue:#416cb4;background:var(--cd-bg);color:var(--cd-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-synthesis:none;min-width:320px;margin:0}
.cdemo *, .cdemo *::before,.cdemo *::after{box-sizing:border-box}
.cdemo a{color:inherit;text-decoration:none}
.cdemo button,.cdemo input,.cdemo select{font:inherit}
.cdemo button,.cdemo select{cursor:pointer}
.cdemo button{color:inherit}
.cdemo :focus-visible{outline:2px solid #e4b3ff;outline-offset:2px}
.cdemo [hidden]{display:none!important}
.cdemo-skip{position:absolute;left:12px;top:-100px;padding:12px;background:#fff;color:#17101f!important;z-index:99999}
.cdemo-skip:focus{top:12px}
.cdemo-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Public landing page */
.cdemo-site-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1350px;margin:auto;padding:26px clamp(22px,4vw,52px);border-bottom:1px solid var(--cd-line)}
.cdemo-brand{display:inline-flex;align-items:center;gap:13px;font-size:17px;letter-spacing:.035em;font-weight:850}
.cdemo-brand small{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#ad93bd;font-weight:650;margin-top:3px}
.cdemo-symbol{display:grid;place-items:center;width:45px;height:45px;background:#211a2c;border-radius:14px}
.cdemo-site-header nav{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700}
.cdemo-site-header nav a:first-child:hover,.cdemo-light-link:hover{color:#e4bdff}
.cdemo-pill-outline{padding:13px 16px;border:1px solid #684a82;border-radius:11px;background:#251b30}
.cdemo-home-main{overflow:hidden}
.cdemo-hero{max-width:1350px;margin:auto;padding:clamp(55px,9vw,120px) clamp(22px,4vw,52px);min-height:645px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);align-items:center;gap:5vw}
.cdemo-eyebrow{font-size:11px;letter-spacing:.17em;color:#c6a4e2;font-weight:800;margin:0 0 22px;text-transform:uppercase}
.cdemo-hero h1{font-size:clamp(40px,5.3vw,80px);letter-spacing:-.057em;line-height:1.04;font-weight:850;margin:0 0 25px;max-width:680px}
.cdemo-hero h1 em{font-style:normal;background:linear-gradient(105deg,#cb83d0,#8ea3ee);color:transparent;background-clip:text}
.cdemo-lead{font-size:clamp(17px,1.6vw,21px);line-height:1.55;color:#ece4f5;font-weight:500}
.cdemo-hero-copy>p:not(.cdemo-eyebrow):not(.cdemo-lead){max-width:590px;font-size:15px;line-height:1.75;color:#cbbdd8}
.cdemo-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:29px}
.cdemo-primary-button{display:inline-flex;align-items:center;gap:16px;padding:16px 22px;background:linear-gradient(112deg,#8151a9,#4c68b3);color:#fff!important;border-radius:12px;font-size:14px;font-weight:780;box-shadow:0 15px 42px #09080c60;transition:transform .15s,filter .15s}
.cdemo-primary-button:hover{transform:translateY(-2px);filter:brightness(1.12)}
.cdemo-light-link{font-size:14px;color:#d7c3e6!important;font-weight:650}
.cdemo-hero-note{font-size:12px!important;color:#9988a6!important;margin-top:25px}
.cdemo-hero-illustration{border:1px solid #4a395f;border-radius:16px;background:#1a1322;overflow:hidden;box-shadow:0 40px 100px #0504079a;aspect-ratio:1.13;transform:perspective(1050px) rotateY(-6deg);min-width:0}
.cdemo-hero-previewbar{height:42px;border-bottom:1px solid #3d3049;background:#150f1d;display:flex;align-items:center;gap:8px;padding:0 15px}
.cdemo-hero-previewbar i{width:7px;height:7px;border-radius:50%;background:#a078b4}
.cdemo-hero-previewbar span{margin-left:auto;font-size:9px;letter-spacing:.16em;color:#c4accf}
.cdemo-hero-grid{display:grid;grid-template-columns:48px 1fr;height:calc(100% - 42px)}
.cdemo-hero-previewrail{background:#171020;display:flex;flex-direction:column;gap:24px;align-items:center;padding-top:26px}
.cdemo-hero-previewrail b{width:20px;height:20px;border:2px solid #8d6ea7;border-radius:5px}
.cdemo-hero-previewrail b:first-child{background:#704194;border:0}
.cdemo-hero-previewmap{position:relative;overflow:hidden;background:linear-gradient(145deg,#b9d0ad,#f0e9d9 44%,#d2ddc1 70%,#97bbdf 70%);}
.cdemo-hero-previewmap:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(30deg,transparent 0 36px,#e8e3d8 37px 40px,transparent 41px 67px),repeating-linear-gradient(104deg,transparent 0 40px,#f6f5e9 41px 44px,transparent 45px 88px);opacity:.65}
.cdemo-preview-sector{position:absolute;background:#9b4d96bb;border:2px solid #683b8a;clip-path:polygon(15% 0,70% 4%,100% 45%,75% 90%,25% 100%,0 48%)}
.cdemo-preview-sector--one{left:12%;top:8%;width:52%;height:49%}.cdemo-preview-sector--two{left:42%;top:37%;width:53%;height:50%;background:#2f6bbd99}.cdemo-preview-sector--three{left:1%;top:53%;width:45%;height:46%;background:#e05a9db0}
.cdemo-map-badge{position:absolute;bottom:22px;right:15px;background:#201629;box-shadow:0 8px 25px #0004;border:1px solid #83619a;color:#f5ecfa;font-size:11px;padding:10px 13px;border-radius:8px}
.cdemo-home-content{max-width:1240px;margin:20px auto 90px;padding:0 clamp(22px,4vw,52px)}
.cdemo-home-content h2{font-size:clamp(28px,3vw,45px);line-height:1.16;letter-spacing:-.035em;margin:0 0 20px}
.cdemo-home-content>p:not(.cdemo-eyebrow){max-width:850px;line-height:1.75;color:#cdbedc}
.cdemo-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:37px}
.cdemo-step-grid article{padding:28px;border:1px solid var(--cd-line);background:#21172b;border-radius:16px}
.cdemo-step-grid article span{font-size:12px;color:#c48edf}.cdemo-step-grid h3{font-size:19px;margin:20px 0 10px}.cdemo-step-grid p{color:#c5b5d1;line-height:1.65;font-size:14px}
.cdemo-cta-section{padding:65px 25px 85px;text-align:center;background:radial-gradient(ellipse at top,#402356,#1a1223 70%);border-top:1px solid #5d3d7433}
.cdemo-cta-section h2{font-size:clamp(28px,3vw,43px);margin:0 0 15px}.cdemo-cta-section p{color:#cbbad6;margin:0 0 27px}.cdemo-site-footer{max-width:1350px;margin:auto;padding:30px 50px;display:flex;justify-content:space-between;gap:15px;color:#a896b8;font-size:12px}
/* The simulator itself */
.cdemo-app{display:flex;width:100%;min-height:660px;height:100svh;max-height:1100px;position:relative;background:#15111d;overflow:hidden}
.cdemo-rail{width:68px;flex:0 0 68px;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:6px;background:linear-gradient(#120e1a,#15101e);border-right:1px solid #ffffff13;z-index:700}
.cdemo-rail-logo{height:49px;min-height:49px;border-radius:12px;background:#17102a;display:grid;place-items:center;margin-bottom:5px}
.cdemo-rail-item,.cdemo-rail-more{color:#e4daed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:52px;min-height:52px;border-radius:9px}
.cdemo-rail-item>span,.cdemo-rail-more>span{font-size:19px;line-height:1}.cdemo-rail-item small,.cdemo-rail-more small{font-weight:650;font-size:9px;text-align:center;max-width:100%;overflow:hidden;white-space:nowrap;letter-spacing:-.02em}
.cdemo-rail-item.is-active{background:linear-gradient(130deg,#4770ae,#66359a);color:#fff;box-shadow:0 7px 18px #20122e}.cdemo-rail-item.is-locked{opacity:.52;cursor:not-allowed}
.cdemo-rail-more{margin-top:auto;border-top:1px solid #ffffff13;border-radius:0}
.cdemo-app-main{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column}
.cdemo-toolbar{min-height:71px;padding:8px 13px;background:#18111f;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:550}
.cdemo-toolbar-fields{min-width:0;display:flex;flex:1;gap:8px;align-items:end}
.cdemo-toolbar-fields label{min-width:0;flex:1;max-width:205px;display:flex;flex-direction:column;gap:5px}
.cdemo-toolbar-fields label span{font-size:9px;color:#c4b1d2;letter-spacing:.09em;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cdemo-toolbar-fields abbr{border:0;text-decoration:none;color:#8f829c;cursor:help;letter-spacing:0}
.cdemo-toolbar select{height:36px;min-width:0;width:100%;padding:0 23px 0 11px;border:1px solid #ffffff12;background:#2a2033;color:#f2ecf6;border-radius:8px;font-size:11px;text-overflow:ellipsis;overflow:hidden;box-shadow:0 2px 10px #0002}
.cdemo-toolbar select:disabled{opacity:.55;cursor:not-allowed}
.cdemo-toolbar-actions{display:flex;gap:5px;align-items:center;flex:0 0 auto}
.cdemo-toolbar-actions button{height:37px;padding:0 14px;border:1px solid #ffffff10;background:#2c2138;border-radius:9px;font-size:11px;font-weight:700;white-space:nowrap}
.cdemo-toolbar-actions .cdemo-view-active{background:#593474;color:#fff}
.cdemo-toolbar-actions button:hover{background:#684381}
.cdemo-stage{position:relative;flex:1;min-height:0;display:flex;overflow:hidden}
.cdemo-map-region{position:relative;flex:1;min-width:0;min-height:0;background:#a3bbd6}
#cdemo-map{height:100%;width:100%;z-index:0}
.cdemo-demo-warning{position:absolute;z-index:400;top:13px;left:15px;max-width:calc(100% - 100px);display:flex;align-items:center;gap:9px;background:#21192df0;color:#efe5f8;border:1px solid #b696d14a;padding:9px 12px;border-radius:9px;box-shadow:0 6px 20px #0004;pointer-events:none;font-size:11px}
.cdemo-demo-warning strong{white-space:nowrap;color:#fff;font-weight:800}.cdemo-demo-warning span{color:#cbbdd8}
.cdemo-map-helper{position:absolute;bottom:16px;left:16px;z-index:410;background:#160f20e8;padding:10px 12px;border-radius:9px;font-size:11px;color:#fff;max-width:70%;pointer-events:none}
.cdemo-map-status{position:absolute;bottom:55px;left:16px;z-index:411;background:#17111dea;padding:7px 10px;border-radius:7px;box-shadow:0 2px 10px #0003;font-size:10px;color:#efe7f5;max-width:65%}
.cdemo-legend{position:absolute;bottom:16px;right:16px;z-index:410;min-width:175px;max-width:235px;border:1px solid #6e517a;padding:11px 13px;border-radius:10px;background:#17101fee;box-shadow:0 7px 28px #0004;font-size:11px}
.cdemo-legend>strong{display:block;line-height:1.35;font-size:11px;margin-bottom:10px}.cdemo-legend-item{display:flex;gap:7px;align-items:center;margin:5px 0;color:#d5c8dc}
.cdemo-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex:0 0 9px;margin-right:7px}
.cdemo-gradient{width:100%;height:12px;border-radius:6px;background:linear-gradient(90deg,#dec0e1,#5d2c82);margin-bottom:7px}
.cdemo-layers{width:clamp(300px,28vw,410px);flex:0 0 clamp(300px,28vw,410px);background:#17101e;border-left:1px solid #ffffff17;color:#f7f4ff;display:flex;flex-direction:column;overflow:auto;scrollbar-color:#675273 transparent;z-index:480}
.cdemo-panel-closed .cdemo-layers{display:none}.cdemo-layers-head{display:flex;align-items:center;gap:9px;position:sticky;top:0;z-index:5;background:#17101f;padding:15px 14px;border-bottom:1px solid #ffffff10}
.cdemo-layers-head div{flex:1}.cdemo-layers-head small{font-size:9px;letter-spacing:.085em;color:#a994b7}.cdemo-layers-head h2{font-size:15px;margin:4px 0 0}.cdemo-layers-head button{border:0;background:transparent;font-size:10px;color:#bca6c9;padding:5px}
#cdemo-layers-close{font-size:20px;line-height:1}
.cdemo-layer-list{padding:10px 12px;display:flex;flex-direction:column;gap:7px}.cdemo-layer-list>h3,.cdemo-save-views h3{font-size:9px;letter-spacing:.09em;color:#a895b5;margin:15px 1px 6px}
.cdemo-layer-card{padding:11px 10px 10px;background:#130e1b;border:1px solid #ffffff10;border-radius:10px;transition:background .15s,border .15s}
.cdemo-layer-card.is-on{background:#2d1c3b;border-color:#734b92}
.cdemo-layer-row{display:flex;align-items:start;gap:7px}
.cdemo-switch{width:22px;height:13px;flex:0 0 22px;appearance:none;border-radius:999px;background:#73687a;position:relative;margin:4px 4px 0 0;cursor:pointer}
.cdemo-switch:before{content:"";width:9px;height:9px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;transition:left .15s}
.cdemo-switch:checked{background:#9c62c1}.cdemo-switch:checked:before{left:11px}
.cdemo-layer-name{flex:1;min-width:0}.cdemo-layer-name strong{display:block;font-size:11px;line-height:1.45}.cdemo-layer-name small{display:block;color:#a897b3;line-height:1.35;margin-top:3px;font-size:9px}
.cdemo-order{border:1px solid #ffffff15!important;background:#2a2034!important;border-radius:5px;font-size:12px;min-width:22px;height:23px;padding:0}.cdemo-order:disabled{opacity:.25;cursor:default}
.cdemo-range-row{display:flex;align-items:center;gap:8px;margin-top:8px}.cdemo-range-row label{font-size:9px;color:#9a8ba5;width:39px}.cdemo-range-row input{flex:1;min-width:0;accent-color:#c18be3;height:4px;cursor:pointer}.cdemo-range-row input:disabled{opacity:.35;cursor:default}.cdemo-range-row output{font-size:9px;color:#c8b4d6;min-width:29px;text-align:right}
.cdemo-layer-disabled{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px dashed #ffffff1b;border-radius:8px;padding:10px;color:#ad9eb6;font-size:10px;opacity:.65}.cdemo-layer-disabled small{font-size:8px;white-space:nowrap}
.cdemo-save-views{padding:14px 12px 24px;border-top:1px solid #ffffff17;display:flex;flex-wrap:wrap;gap:7px}.cdemo-save-views h3{width:100%;margin:0 0 8px}.cdemo-save-views select,.cdemo-save-views input{background:#2a2033;border:1px solid #ffffff17;color:#fff;border-radius:7px;padding:9px;font-size:11px;min-width:0;flex:1}.cdemo-save-views #cdemo-save-name{flex:2}.cdemo-save-views #cdemo-views{flex:1 0 100%}.cdemo-save-views button{border:1px solid #6f5380;background:#4b315e;padding:8px 11px;border-radius:7px;font-size:10px}.cdemo-save-views button:hover{background:#6a4981}.cdemo-save-views p{flex:1 0 100%;color:#a18cad;font-size:10px;line-height:1.4;margin:5px 0 0}
.cdemo-detail{position:absolute;right:20px;top:65px;width:min(335px,calc(100% - 35px));max-height:calc(100% - 125px);overflow:auto;z-index:430;background:#1d1527;border:1px solid #725183;box-shadow:0 15px 40px #0009;border-radius:12px;padding:17px;scrollbar-color:#674978 transparent}
.cdemo-detail-close{position:absolute;right:12px;top:9px;width:26px;height:26px;border-radius:50%;background:#ffffff10;border:0;font-size:20px}
.cdemo-detail-eyebrow{font-size:9px;letter-spacing:.1em;color:#c297d7}.cdemo-detail h2{font-size:16px;line-height:1.4;max-width:90%;margin:7px 0}.cdemo-detail h3{font-size:11px;margin:18px 0 9px;color:#eddaf6}.cdemo-detail-sub{color:#ae9bbd;font-size:10px;margin:5px 0 10px;line-height:1.5}
.cdemo-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.cdemo-metric{padding:9px;border:1px solid #ffffff10;background:#2b2133;border-radius:7px;min-width:0}
.cdemo-metric small{display:block;color:#ac99b8;font-size:9px;line-height:1.25}.cdemo-metric strong{display:block;color:#fff;font-size:13px;margin-top:6px}
.cdemo-candidate{padding:10px;background:#2b2033;border-radius:8px;margin-bottom:8px}.cdemo-candidate-line{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px}.cdemo-candidate-line strong:first-child{display:flex;align-items:center;gap:0;min-width:0}.cdemo-candidate>small{display:block;margin:4px 0 7px;color:#beaccc;font-size:9px}.cdemo-candidate-track{height:4px;background:#4e3c58;border-radius:5px;overflow:hidden}.cdemo-candidate-track span{display:block;height:100%;border-radius:5px}.cdemo-data-disclaimer{font-size:10px;line-height:1.5;color:#cdbbd8;background:#3c2a46;border-radius:7px;padding:10px;margin:15px 0 0}
/* Long-form, crawlable explanatory material */
.cdemo-map-editorial{padding:65px clamp(20px,5vw,50px) 75px;background:#1a1321;border-top:1px solid #ffffff19}.cdemo-article-inner{max-width:900px;margin:auto}
.cdemo-map-editorial h2{font-size:clamp(27px,3.2vw,42px);letter-spacing:-.035em;line-height:1.2;margin:0 0 20px}.cdemo-map-editorial h3{font-size:18px;margin:35px 0 11px}.cdemo-map-editorial p{font-size:15px;line-height:1.78;color:#c9bad5}.cdemo-map-editorial strong{color:#eee5f6}
.cdemo-map-editorial details{border:1px solid #ffffff16;border-radius:10px;padding:15px;margin:10px 0;background:#241b2f}.cdemo-map-editorial summary{font-size:14px;cursor:pointer;font-weight:700}.cdemo-map-editorial details p{margin-bottom:0}.cdemo-map-editorial a{color:#d7b1f7;text-decoration:underline;text-underline-offset:3px}.cdemo-editorial-cta{margin:35px 0 22px;padding:20px;border-left:3px solid #9963c6;background:#2d2139}
/* Leaflet restyling */
.cdemo .leaflet-container{font-family:inherit}.cdemo .leaflet-tooltip{background:#21172b;color:#fff;border-color:#614675;border-radius:7px;font-size:11px;box-shadow:0 2px 12px #0006}.cdemo .leaflet-tooltip-top:before{border-top-color:#21172b}.cdemo .leaflet-control-attribution{font-size:9px!important}.cdemo .leaflet-control-zoom a{color:#17101e!important}
@media (max-width:1120px){.cdemo-toolbar{flex-wrap:wrap}.cdemo-toolbar-fields{flex-basis:100%}.cdemo-toolbar-fields label{max-width:none}.cdemo-toolbar-actions{margin-left:auto}.cdemo-app{height:100svh;min-height:660px}.cdemo-layers{width:320px;flex-basis:320px}.cdemo-hero-illustration{transform:none}}
@media (max-width:760px){.cdemo-site-header{padding:17px 20px}.cdemo-site-header nav a:first-child{display:none}.cdemo-site-header nav{gap:0}.cdemo-pill-outline{font-size:11px;padding:10px}.cdemo-brand{font-size:13px}.cdemo-brand small{font-size:9px}.cdemo-symbol{width:38px;height:38px}.cdemo-hero{grid-template-columns:1fr;min-height:0;padding:60px 22px 40px;gap:50px}.cdemo-hero h1{font-size:clamp(38px,9vw,58px)}.cdemo-hero-illustration{max-width:590px;width:100%;aspect-ratio:1.45}.cdemo-home-content{margin:35px auto 60px}.cdemo-step-grid{grid-template-columns:1fr}.cdemo-site-footer{padding:25px 20px}.cdemo-app{min-height:0;height:100svh;max-height:none}.cdemo-rail{width:48px;flex-basis:48px;padding:5px 3px}.cdemo-rail-logo{height:38px;min-height:38px}.cdemo-rail-logo svg{width:26px}.cdemo-rail-item,.cdemo-rail-more{height:48px;min-height:48px}.cdemo-rail-item>span{font-size:16px}.cdemo-rail-item small,.cdemo-rail-more small{font-size:7.2px}.cdemo-toolbar{padding:6px;gap:7px}.cdemo-toolbar-fields{overflow-x:auto;scrollbar-width:thin;gap:6px;padding-bottom:2px}.cdemo-toolbar-fields label{min-width:107px;max-width:140px;flex:1 0 107px}.cdemo-toolbar-fields label span{font-size:8px}.cdemo-toolbar select{height:32px;font-size:10px}.cdemo-toolbar-actions button{height:30px;padding:0 10px}.cdemo-layers{position:absolute;top:0;right:0;bottom:0;width:min(350px,calc(100% - 3px));max-width:100%;box-shadow:-10px 0 35px #0007}.cdemo-demo-warning{top:10px;left:7px;max-width:calc(100% - 60px);flex-wrap:wrap;gap:2px 6px;padding:6px 9px;font-size:9px}.cdemo-map-status{font-size:9px;bottom:56px;left:7px}.cdemo-map-helper{left:7px;bottom:10px;font-size:9px;max-width:64%}.cdemo-legend{right:7px;bottom:9px;min-width:0;width:148px;max-width:45%;padding:8px;font-size:9px}.cdemo-legend>strong{font-size:9px}.cdemo-detail{top:45px;left:8px;right:8px;width:auto;max-height:calc(100% - 95px)}.cdemo-map-editorial{padding:45px 20px}}
@media (max-width:430px){.cdemo-brand>span:last-child{font-size:11px}.cdemo-toolbar-actions{width:100%;justify-content:flex-end}.cdemo-legend{bottom:38px}.cdemo-map-helper{max-width:calc(100% - 14px);bottom:6px}}
@media (prefers-reduced-motion:reduce){.cdemo *{transition:none!important;animation:none!important}}

/* Brand fidelity updates */
.cdemo-site-header--official{gap:22px}
.cdemo-brand--official{font-size:18px;font-weight:900;letter-spacing:-.02em}
.cdemo-brand--official img{display:block;width:42px;height:42px;border-radius:12px}
.cdemo-home-actions{display:flex;align-items:center;gap:14px}
.cdemo-login-link{font-size:13px;font-weight:700;color:#e6dff0}
.cdemo-quick-dock{position:fixed;right:18px;top:150px;z-index:50;display:flex;flex-direction:column;gap:10px}
.cdemo-dock-link{width:112px;padding:12px 11px;border-radius:14px;background:#1d1426;border:1px solid #ffffff12;box-shadow:0 15px 38px #0004;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:12px;color:#f6effa}
.cdemo-dock-link span:first-child{font-size:18px;line-height:1}
.cdemo-dock-link strong{font-size:11px;line-height:1.2}
.cdemo-dock-link--primary{background:linear-gradient(135deg,#6b438c,#4b66b4)}
.cdemo-cta-double{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.cdemo-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 22px;background:#241a2f;color:#fff!important;border:1px solid #72568b;border-radius:12px;font-size:14px;font-weight:780;box-shadow:0 15px 42px #09080c40}
.cdemo-site-footer--official{display:block;max-width:1350px;padding:42px clamp(22px,4vw,52px) 28px}
.cdemo-footer-grid{display:grid;grid-template-columns:minmax(240px,320px) 1fr;gap:30px;align-items:start}
.cdemo-footer-grid p{margin:18px 0 0;color:#c9b9d5;line-height:1.6;font-size:14px}
.cdemo-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;font-size:14px;color:#d8cbdf}
.cdemo-footer-links a:hover{color:#fff}
.cdemo-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--cd-line);margin-top:26px;padding-top:18px;color:#a896b8;font-size:12px}
.cdemo-toolbar-link{height:37px;padding:0 14px;border:1px solid #ffffff10;background:#2c2138;border-radius:9px;font-size:11px;font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}
.cdemo-toolbar-link:hover{background:#684381}
.cdemo-rail-logo img{display:block;border-radius:9px}

/* Portrait page */
.cdemo-app--portrait{max-height:none;height:auto;min-height:100svh}
.cdemo-portrait-page{padding:26px 24px 40px;background:linear-gradient(180deg,#110b17,#17101e 26%,#15111d);overflow:auto;min-height:0}
.cdemo-portrait-hero{margin:0 auto 22px;max-width:1180px}
.cdemo-portrait-kicker{font-size:11px;letter-spacing:.12em;color:#b79fcc;font-weight:800;margin:0 0 10px}
.cdemo-portrait-hero h1{font-size:clamp(42px,5vw,68px);letter-spacing:-.06em;line-height:1;margin:0 0 10px;color:#fff}
.cdemo-portrait-subtitle{font-size:24px;font-weight:700;color:#cfc3db;margin:0}
.cdemo-portrait-card{max-width:1180px;margin:0 auto 22px;padding:16px;border:1px solid #ffffff12;border-radius:20px;background:#130e1be6;box-shadow:0 20px 40px #00000030}
.cdemo-portrait-card-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:14px}
.cdemo-portrait-card-head small{display:block;font-size:10px;letter-spacing:.09em;color:#a998b7;margin-bottom:8px}
.cdemo-portrait-card-head h2{margin:0;font-size:31px;line-height:1.1;letter-spacing:-.04em}
.cdemo-portrait-card-head p{margin:4px 0 0;color:#9d8fad;font-size:12px;line-height:1.5;text-align:right}
.cdemo-portrait-elected-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cdemo-portrait-panel{padding:18px;border:1px solid #ffffff10;border-radius:16px;background:#1a1223}
.cdemo-portrait-panel h3{margin:0 0 14px;font-size:14px;color:#b9a5c9}
.cdemo-bullet-line{display:flex;gap:10px;align-items:flex-start;margin-top:12px}
.cdemo-bullet{display:inline-block;width:9px;height:9px;border-radius:50%;margin-top:7px;flex:0 0 9px}
.cdemo-bullet--pink{background:#c05ac9}.cdemo-bullet--red{background:#f14c6f}.cdemo-bullet--light{background:#ddd0ec}.cdemo-bullet--blue{background:#274e9d}.cdemo-bullet--blue2{background:#4c86ff}.cdemo-bullet--yellow{background:#f0cb32}.cdemo-bullet--darkred{background:#9b1e3d}
.cdemo-bullet-line strong,.cdemo-portrait-candidate-row strong,.cdemo-portrait-listing strong{display:block;color:#fff;font-size:15px;line-height:1.35}
.cdemo-bullet-line small,.cdemo-portrait-candidate-row small,.cdemo-portrait-listing small{display:block;color:#ab99ba;font-size:12px;line-height:1.45}
.cdemo-portrait-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:12px 0 16px}
.cdemo-portrait-stats>div{padding:14px;border:1px solid #ffffff10;border-radius:14px;background:#17111f}
.cdemo-portrait-stats small{display:block;color:#9888a7;font-size:11px}
.cdemo-portrait-stats strong{display:block;margin-top:8px;font-size:33px;line-height:1;color:#fff}
.cdemo-portrait-result-box{padding:14px;border:1px solid #ffffff10;border-radius:16px;background:#16101d}
.cdemo-portrait-result-head{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:12px}
.cdemo-portrait-result-head h3{margin:0;font-size:29px;line-height:1.05}
.cdemo-portrait-result-head p,.cdemo-portrait-result-head small{margin:6px 0 0;color:#9f91ad;font-size:12px}
.cdemo-portrait-group{border:1px solid #ffffff10;border-radius:14px;background:#1b1323;margin:10px 0;overflow:hidden}
.cdemo-portrait-group-summary{display:flex;justify-content:space-between;gap:20px;align-items:start;padding:14px 16px}
.cdemo-portrait-group-summary>div:first-child{display:flex;gap:10px;align-items:flex-start}.cdemo-portrait-group-summary strong{display:block;font-size:15px}.cdemo-portrait-group-summary small{display:block;font-size:12px;color:#9f91ad}.cdemo-portrait-group-summary>div:last-child{text-align:right}
.cdemo-portrait-candidate-row{display:grid;grid-template-columns:9px 1fr auto;gap:10px;align-items:start;padding:0 16px 14px}
.cdemo-portrait-candidate-row>div:last-child,.cdemo-portrait-listing em{font-style:normal;color:#dcd2e3;font-size:13px;text-align:right;white-space:nowrap}
.cdemo-portrait-listing{display:flex;flex-direction:column;gap:0;border-top:1px solid #ffffff10}
.cdemo-portrait-listing>div{display:grid;grid-template-columns:9px 1fr auto;gap:10px;align-items:start;padding:14px 16px;border-top:1px solid #ffffff09}
.cdemo-portrait-listing>div:first-child{border-top:0}
.cdemo-portrait-note{margin:8px 0 16px;padding:18px;border-radius:14px;background:#2b2137;color:#f2e9f8;font-size:15px;line-height:1.5}
.cdemo-portrait-card--notes{display:flex;justify-content:space-between;align-items:center;gap:20px}.cdemo-portrait-card--notes h2{margin:8px 0;font-size:30px}.cdemo-portrait-card--notes p{margin:0;color:#cbbdd7}

@media (max-width:1180px){.cdemo-footer-grid{grid-template-columns:1fr}.cdemo-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}.cdemo-quick-dock{display:none}.cdemo-portrait-elected-grid{grid-template-columns:1fr}.cdemo-portrait-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.cdemo-site-header--official{flex-wrap:wrap}.cdemo-site-header--official nav{order:3;width:100%;justify-content:flex-start;overflow:auto;padding-bottom:4px}.cdemo-home-actions{margin-left:auto}.cdemo-footer-links{grid-template-columns:1fr}.cdemo-footer-bottom{flex-direction:column}.cdemo-toolbar-link{height:30px;padding:0 10px}.cdemo-portrait-page{padding:18px 12px 28px}.cdemo-portrait-subtitle{font-size:16px}.cdemo-portrait-card{padding:12px;border-radius:16px}.cdemo-portrait-card-head{flex-direction:column}.cdemo-portrait-card-head h2{font-size:24px}.cdemo-portrait-card-head p{text-align:left}.cdemo-portrait-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cdemo-portrait-stats strong{font-size:24px}.cdemo-portrait-result-head h3{font-size:22px}.cdemo-portrait-group-summary,.cdemo-portrait-candidate-row,.cdemo-portrait-listing>div{grid-template-columns:unset;display:flex;flex-direction:column}.cdemo-portrait-group-summary>div:last-child,.cdemo-portrait-candidate-row>div:last-child,.cdemo-portrait-listing em{text-align:left}.cdemo-portrait-card--notes{flex-direction:column;align-items:flex-start}}

/* Précision des sources de la vue Portrait */
.cdemo-portrait-disclosure{max-width:900px;margin:14px 0 0;padding:10px 13px;border-left:3px solid #a07aba;background:#271b33;color:#d6c8e1;font-size:12px;line-height:1.5}
@media (max-width:760px){.cdemo-portrait-disclosure{font-size:11px}.cdemo-portrait-card-head p{max-width:100%;overflow-wrap:anywhere}}

/* v0.1.3 — citazioni gramsciane, accueil sans portrait, portrait Marseille */
.cdemo-gramsci{margin-top:18px;max-width:355px}
.cdemo-footer-grid .cdemo-gramsci-title{margin:0 0 13px;color:#d6a9e9;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.11em}
.cdemo-gramsci blockquote{margin:0 0 12px;padding:0 0 0 11px;border-left:2px solid #8452a5;color:#ebe1f3;font-size:13px;line-height:1.5;font-weight:600}
.cdemo-footer-grid .cdemo-gramsci-source{margin:12px 0 0;font-size:11px;color:#c4b1d2}
.cdemo-gramsci-source a{text-decoration:underline;text-underline-offset:3px}
.cdemo-portrait-source{font-size:11px;line-height:1.45;color:#b7a7c4;margin:18px 0 0}
.cdemo-portrait-source a{color:#d2a7f0;text-decoration:underline;text-underline-offset:3px}
.cdemo-portrait-source--standalone{margin:14px 4px 0}
.cdemo-portrait-caveat{font-size:12px;color:#c0b1cb;line-height:1.6;margin:20px 4px 2px}
.cdemo-portrait-group summary{cursor:pointer;list-style:none}
.cdemo-portrait-group summary::-webkit-details-marker{display:none}
.cdemo-portrait-group summary::after{content:'⌄';display:block;margin-left:10px;font-size:17px;color:#a78eb6}
.cdemo-portrait-group[open] summary::after{content:'⌃'}
.cdemo-portrait-group-left{display:flex;align-items:flex-start;gap:10px;min-width:0}
.cdemo-portrait-group-left .cdemo-bullet{margin-top:5px}
.cdemo-portrait-group-summary>span:last-of-type{text-align:right;flex-shrink:0;margin-left:auto}
.cdemo-portrait-group-summary{align-items:center}
.cdemo-portrait-listing>div{grid-template-columns:9px 1fr auto}
@media(max-width:760px){.cdemo-portrait-group-summary{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;gap:10px}.cdemo-portrait-group-summary>span:last-of-type{text-align:right;white-space:nowrap}.cdemo-portrait-candidate-row,.cdemo-portrait-listing>div{display:grid!important;grid-template-columns:9px minmax(0,1fr)!important}.cdemo-portrait-candidate-row>div:last-child,.cdemo-portrait-listing em{grid-column:2;text-align:left}.cdemo-portrait-stats strong{font-size:21px}}
