
/* Toutes les règles sont encapsulées afin de ne pas modifier le thème WordPress. */
#esp36{--navy:#112b48;--blue:#1768c8;--mint:#0aa789;--line:#dbe6f2;--text:#17324c;font:14px/1.45 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;color:var(--text)!important;background:#eef4fb!important;box-sizing:border-box!important;width:min(100vw - 16px,1800px)!important;max-width:none!important;min-width:0!important;margin:12px 0 18px 50%!important;transform:translateX(-50%)!important;border:1px solid #ccdeef;border-radius:17px;overflow:hidden;box-shadow:0 18px 44px #0c305019;isolation:isolate}
#esp36,#esp36 *{box-sizing:border-box}#esp36 button,#esp36 input,#esp36 select{font:inherit}#esp36 button{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;min-height:36px;padding:7px 10px;background:#fff;color:#22415f;border:1px solid #cbdced;border-radius:8px;cursor:pointer;line-height:1.2;text-transform:none;letter-spacing:0;box-shadow:none}#esp36 button:hover{background:#e9f4ff;border-color:#91b6e2}#esp36 button.on{background:#1768c8;color:#fff;border-color:#1768c8}#esp36 .esp-top{background:linear-gradient(110deg,#102a49,#154974);color:#fff;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px}#esp36 .esp-brand{display:flex;align-items:center;gap:11px;min-width:0}#esp36 .esp-logo{font-size:23px;background:#ffffff21;border:1px solid #ffffff39;border-radius:12px;padding:7px}#esp36 .esp-brand strong{display:block;font-size:19px;color:#fff}#esp36 .esp-brand small{display:block;color:#b7d9f0;font-size:11px}#esp36 .esp-topright{display:flex;gap:10px;align-items:center}#esp36 .esp-topright button{background:#ffffff1c;color:white;border-color:#ffffff44}#esp36 .esp-badge{font-size:11px;border-radius:20px;background:#0b987d;padding:7px 10px;color:#fff;white-space:nowrap}#esp36 .esp-toolbar,#esp36 .esp-config{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 11px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}#esp36 .esp-tools{display:flex;flex-wrap:wrap;gap:6px}#esp36 .esp-tools-secondary button{font-size:12px}#esp36 .esp-config{background:#f5faff;justify-content:flex-start}#esp36 .esp-config label{display:flex;align-items:center;gap:6px;font-weight:600;font-size:12px}#esp36 select,#esp36 .esp-search{background:white;color:var(--text);border:1px solid #bfd1e4;border-radius:8px;padding:8px;min-width:0}#esp36 .esp-check input{accent-color:#1768c8}#esp36 .esp-layout{display:grid;grid-template-columns:minmax(235px,285px) minmax(0,1fr);gap:10px;padding:10px;min-width:0;align-items:stretch}#esp36 .esp-sidebar,#esp36 .esp-workspace{min-width:0;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}#esp36 .esp-sidebar{display:flex;flex-direction:column;max-height:76vh;min-height:440px}#esp36 .esp-sidehead{display:flex;justify-content:space-between;gap:10px;padding:13px}#esp36 .esp-sidehead span{color:#7890a7;font-size:12px}#esp36 .esp-search{margin:0 10px 10px;width:calc(100% - 20px)!important;max-width:none!important;font-size:13px}#esp36 .esp-tabs{padding:0 9px 10px;display:flex;gap:5px;flex-wrap:wrap}#esp36 .esp-tabs button{font-size:11px;min-height:28px;padding:5px 7px;border-radius:20px}#esp36 .esp-palette{min-height:0;overflow:auto;flex:1;padding:0 8px 12px;overscroll-behavior:contain}#esp36 .esp-entry{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:2px 0;border:1px solid transparent;text-align:left;white-space:normal!important;padding:6px!important;font-size:12px}#esp36 .esp-entry svg{width:51px;height:45px;flex-shrink:0;border-radius:7px;border:1px solid #e5edf5;background:#fff}#esp36 .esp-entry span{white-space:normal;text-align:left}#esp36 .esp-empty{padding:20px 7px;color:#7890a7}#esp36 .esp-workspace{display:flex;flex-direction:column}#esp36 .esp-workhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;background:#fbfdff;border-bottom:1px solid var(--line)}#esp36 .esp-workhead strong{display:block}#esp36 .esp-workhead small{display:block;color:#587792;font-size:11px}#esp36 .esp-stats{display:flex;gap:9px;font-size:11px;color:#4f7391;white-space:nowrap}#esp36 .esp-stats span{padding:5px 7px;background:#eaf4fd;border-radius:6px}#esp36 .esp-stage{flex:1;min-height:0;overflow:hidden;background:white}#esp36 svg[data-id=canvas]{width:100%!important;max-width:none!important;height:clamp(430px,65vh,790px)!important;min-width:0;display:block;touch-action:none;user-select:none;-webkit-user-select:none;background:#fff;cursor:crosshair}#esp36 .esp-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 12px;border-top:1px solid var(--line);color:#54708a;font-size:11px}#esp36 .esp-legal{font-size:10px;color:#5f7388;padding:0 12px 12px}#esp36 .esp-pin{fill:#fff;stroke:#0871da;stroke-width:2;cursor:crosshair}#esp36 .esp-hit{fill:transparent;stroke:transparent;cursor:grab}#esp36 .esp-selected .esp-hit{stroke:#1683ed;stroke-width:1.5;stroke-dasharray:5 3}#esp36 .esp-wirehit{stroke:transparent;stroke-width:20;fill:none;pointer-events:stroke;cursor:pointer}#esp36 .esp-mobile-toggle{display:none}#esp36.esp-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;transform:none!important;z-index:2147483000!important;border:0!important;border-radius:0!important;display:flex;flex-direction:column}#esp36.esp-fullscreen .esp-layout{flex:1;min-height:0}#esp36.esp-fullscreen .esp-sidebar{max-height:none;min-height:0}#esp36.esp-fullscreen .esp-workspace{min-height:0}#esp36.esp-fullscreen .esp-stage{min-height:0}#esp36.esp-fullscreen svg[data-id=canvas]{height:100%!important;min-height:250px}
@media(max-width:900px){#esp36 .esp-layout{grid-template-columns:minmax(190px,230px) minmax(0,1fr)}#esp36 .esp-badge{display:none}#esp36 .esp-tools-secondary button{font-size:11px}}
@media(max-width:700px){#esp36{width:calc(100vw - 10px)!important}#esp36 .esp-layout{grid-template-columns:minmax(0,1fr);padding:6px;gap:6px}#esp36 .esp-mobile-toggle{display:inline-flex}#esp36 .esp-sidebar{max-height:225px;min-height:0}#esp36 .esp-sidebar.esp-collapsed{display:none}#esp36 .esp-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px}#esp36 .esp-entry{min-height:55px}#esp36 .esp-entry svg{width:41px;height:39px}#esp36 .esp-toolbar{padding:7px}#esp36 .esp-tools{gap:4px}#esp36 .esp-tools button{font-size:11px;min-height:32px;padding:6px}#esp36 .esp-config{padding:7px}#esp36 .esp-brand strong{font-size:16px}#esp36 .esp-workhead{padding:8px}#esp36 .esp-workhead small{max-width:170px}#esp36 .esp-stats{display:block;text-align:right}#esp36 .esp-stats span{display:block;margin:2px}#esp36 svg[data-id=canvas]{height:55dvh!important;min-height:300px}}
@media(orientation:landscape) and (max-height:620px){#esp36 .esp-layout{grid-template-columns:minmax(180px,225px) minmax(0,1fr)}#esp36 .esp-sidebar{max-height:none;min-height:220px}#esp36 .esp-palette{display:block}#esp36 .esp-entry{width:100%}#esp36 svg[data-id=canvas]{height:76dvh!important;min-height:260px}#esp36 .esp-foot{display:none}#esp36 .esp-top{padding:7px 11px}#esp36 .esp-toolbar{padding:5px}}
@media(orientation:landscape) and (max-height:620px) and (max-width:700px){#esp36 .esp-layout{grid-template-columns:minmax(155px,200px) minmax(0,1fr)}#esp36 .esp-sidebar{max-height:none}#esp36 .esp-palette{display:block}}
@media(max-width:500px){#esp36 .esp-topright button{padding:6px;font-size:11px}#esp36 .esp-brand small{font-size:10px}#esp36 .esp-tools-secondary{width:100%}}


#esp36 .esp-color-preview{width:33px;height:33px;border:2px solid #d5e4ee;border-radius:9px;display:inline-block;box-shadow:0 0 0 1px #fff inset}
#esp36 .esp-tabs button{font-size:12px;gap:4px}#esp36 .esp-tabs button.on{background:#1768c8;color:white}
#esp36 .esp-entry .esp-itemcat{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:8px;background:#eff6fd;flex-shrink:0;font-size:16px}
#esp36 .esp-entry{justify-content:flex-start}#esp36 .esp-entry>span{flex:1}

/* V7.11 : carrousel horizontal de domaines et panneau de symboles garanti visible. */
#esp36 .esp-category-bar{display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px!important;align-items:center;gap:5px;flex:none;min-width:0;background:#f2f7ff;padding:7px!important;border-bottom:1px solid #dce7f3}
#esp36 .esp-cat-arrow{display:flex!important;width:34px!important;height:40px!important;min-width:34px!important;padding:0!important;border-radius:9px!important;background:#184d9c!important;color:white!important;font-size:26px!important;font-weight:bold!important;border:0!important;cursor:pointer;align-items:center;justify-content:center}
#esp36 .esp-tabs{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;min-width:0!important;max-height:none!important;height:46px!important;white-space:nowrap!important;padding:3px 1px!important;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
#esp36 .esp-tabs::-webkit-scrollbar{display:none}
#esp36 .esp-tabs button{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important;min-width:max-content!important;padding:7px 11px!important;border-radius:9px!important;min-height:37px!important;font-size:12px!important;font-weight:700!important;color:#314f72!important;background:#fff!important;border:1px solid #d5e3f4!important}
#esp36 .esp-tabs button.on{background:#1966da!important;color:white!important;border-color:#1966da!important}
#esp36 .esp-active-category{flex:none!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 12px;background:#fff;padding:10px 12px 6px;border-bottom:1px solid #edf2f9;color:#193b64}
#esp36 .esp-active-category strong{font-size:13px;font-weight:850}
#esp36 .esp-active-category span{font-size:10px;color:#6982a0}
#esp36 .esp-sidebar{overflow:visible!important;display:flex!important;flex-direction:column!important;max-height:none!important;height:auto!important;min-height:410px!important}
#esp36 .esp-palette{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:8px!important;flex:1 1 auto!important;min-height:260px!important;height:340px!important;max-height:56vh!important;overflow-y:auto!important;overflow-x:hidden!important;visibility:visible!important;opacity:1!important;padding:10px!important;background:white!important}
#esp36 .esp-entry{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:normal!important;margin:0!important;padding:9px 5px!important;min-height:106px!important;text-align:center!important;border-radius:10px!important;background:#f8fbff!important;border:1px solid #d9e4f2!important;cursor:pointer!important}
#esp36 .esp-entry svg{display:block!important;width:65px!important;height:60px!important;min-height:55px!important;flex-shrink:0!important;background:#fff!important}
#esp36 .esp-entry span{font-size:11px!important;line-height:1.3!important;color:#254467!important;font-weight:700!important;max-width:100%;overflow-wrap:anywhere}
#esp36 .esp-entry.esp-entry-textonly{background:#ecf5ff!important}
#esp36 .esp-warning,#esp36 .esp-empty{grid-column:1/-1!important}
@media(max-width:750px){#esp36 .esp-sidebar{max-height:none!important;min-height:0!important;height:auto!important}#esp36 .esp-palette{height:300px!important;min-height:250px!important;max-height:55vh!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}#esp36 .esp-category-bar{grid-template-columns:32px minmax(0,1fr) 32px!important}#esp36 .esp-cat-arrow{width:32px!important;min-width:32px!important}#esp36 .esp-entry{min-height:100px!important}}


#esp36 .esp-entry .esp-itemcat{display:none!important}
#esp36 .esp-warning{padding:10px;margin:4px 0 10px;border:1px solid #f0cf89;background:#fff9e8;color:#694713;border-radius:8px;font-size:12px;line-height:1.45;grid-column:1/-1}
#esp36 .esp-sidebar{overflow:hidden;min-height:0!important}
#esp36 .esp-tabs{flex:0 0 auto;overflow-y:visible}
#esp36 .esp-palette{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;position:relative}
@media(max-width:700px) and (orientation:portrait){
 #esp36 .esp-sidebar{max-height:none!important;height:auto!important;overflow:visible!important;display:flex!important}
 #esp36 .esp-sidebar.esp-collapsed{display:none!important}
 #esp36 .esp-palette{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));max-height:54dvh!important;min-height:175px!important;height:auto!important;flex:0 1 auto!important;overflow-y:scroll!important;touch-action:pan-y!important;align-content:start}
 #esp36 .esp-tabs{max-height:none!important}
 #esp36 .esp-entry{width:100%;min-width:0;white-space:normal!important}
}
@media(min-width:701px), (orientation:landscape){
 #esp36 .esp-sidebar{max-height:78dvh!important;min-height:260px!important}
 #esp36 .esp-palette{flex:1 1 0!important;overflow-y:auto!important}
}


/* La zone de composants a sa propre hauteur calculable : le doigt peut la faire défiler. */
#esp36 .esp-sidebar { min-height:0!important; display:flex!important; flex-direction:column!important; }
#esp36 .esp-sidebar.esp-collapsed { display:none!important; }
#esp36 .esp-palette {
  min-height:100px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain;
  touch-action:pan-y!important;
  position:relative;
}
/* Smartphone portrait : liste à deux colonnes, défilement interne. */
@media (orientation:portrait) and (max-width:700px) {
  #esp36 .esp-sidebar {height:auto!important; max-height:none!important;}
  #esp36 .esp-palette {
    height:45dvh!important;
    min-height:180px!important;
    max-height:460px!important;
    flex:0 1 auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-content:start!important;
  }
}
/* Smartphone paysage : bibliothèque latérale et barre de défilement indépendante. */
@media (orientation:landscape) and (max-height:620px) {
  #esp36 .esp-layout {align-items:start!important;}
  #esp36 .esp-sidebar {
    height:clamp(240px,76dvh,480px)!important;
    max-height:clamp(240px,76dvh,480px)!important;
    overflow:hidden!important;
  }
  #esp36 .esp-sidehead {flex:0 0 auto!important;padding:7px 9px!important;}
  #esp36 .esp-search {flex:0 0 auto!important;margin-bottom:5px!important;}
  #esp36 .esp-tabs {
    flex:0 0 auto!important;
    max-height:92px!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    padding-bottom:5px!important;
  }
  #esp36 .esp-palette {
    display:block!important;
    flex:1 1 0px!important;
    height:0!important;
    max-height:none!important;
    min-height:90px!important;
    overflow-y:scroll!important;
  }
}
/* Tablettes et ordinateurs : le panneau défile aussi, quelle que soit l'orientation. */
@media (min-width:701px) and (min-height:621px) {
  #esp36 .esp-sidebar {height:min(76vh,790px)!important;max-height:none!important;}
  #esp36 .esp-palette {flex:1 1 0px!important;height:0!important;overflow-y:auto!important;}
}


#esp36 .esp-v6-banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 14px;background:#e4f3fe;border-bottom:1px solid #b8d5ec;color:#103b60;font-size:13px}
#esp36 .esp-v6-banner b{border-radius:7px;color:#fff;background:#0c6aa8;padding:4px 8px}
#esp36 .esp-v6-banner [data-v6="lamp"]{margin-left:auto;font-weight:700}
#esp36 .esp-v6-help{padding:12px 15px;font-size:12px;background:#f7fbff;border-top:1px solid #dceaf5;color:#30516f}
#esp36 button.esp-v6-primary{background:#088765;color:#fff;border-color:#088765}
#esp36 .esp-v6-lamp-active>g:first-child circle{filter:drop-shadow(0 0 9px #ffcc00)}
@media(max-width:700px){#esp36 .esp-v6-banner [data-v6="lamp"]{margin-left:0}}


/* V6.0.1 : vrai plein écran hors du conteneur WordPress */
html.esp-screen-open{overflow:hidden!important}
body > #esp36.esp-fullscreen{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;z-index:2147483640!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#edf5fd!important;transform:none!important}
#esp36.esp-fullscreen .esp-layout{display:grid!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#esp36.esp-fullscreen .esp-workspace{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
#esp36.esp-fullscreen .esp-stage{display:flex!important;flex:1 1 0!important;min-height:120px!important;overflow:hidden!important}
#esp36.esp-fullscreen svg[data-id="canvas"]{display:block!important;flex:1!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;visibility:visible!important}
#esp36.esp-fullscreen .esp-sidebar{height:auto!important;min-height:0!important;max-height:none!important}
#esp36.esp-fullscreen .esp-palette{min-height:0!important;flex:1 1 0!important;height:auto!important;max-height:none!important;overflow-y:auto!important}
@media(max-width:700px) and (orientation:portrait){#esp36.esp-fullscreen .esp-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,34%) minmax(0,1fr)!important}#esp36.esp-fullscreen .esp-sidebar{height:100%!important}#esp36.esp-fullscreen .esp-palette{height:0!important;min-height:0!important}#esp36.esp-fullscreen .esp-stage{min-height:100px!important}}
@media (orientation:landscape) and (max-height:620px){#esp36.esp-fullscreen .esp-layout{grid-template-columns:minmax(190px,240px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}#esp36.esp-fullscreen .esp-sidebar{height:100%!important;max-height:100%!important;min-height:0!important}#esp36.esp-fullscreen .esp-palette{height:0!important;min-height:0!important}}


/* V7.10: nouvelle disposition : barre d'application, ruban, bibliothèque et propriétés. */
#esp36{--navy:#0d192c;--blue:#2769e6;--text:#203048;--line:#dce3ed;width:min(calc(100vw - 22px),1920px)!important;background:#e9edf4!important;border:1px solid #c7d1e0!important;border-radius:14px!important;box-shadow:0 22px 60px #061b3440!important}
#esp36 .esp-top{padding:14px 19px!important;background:linear-gradient(112deg,#0a182d,#16355a 65%,#213c7f)!important}
#esp36 .esp-brand strong{font-size:20px!important;font-weight:750!important;letter-spacing:-.3px}
#esp36 .esp-logo{background:#2769e6!important;border:1px solid #5899ee!important}
#esp36 .esp-badge{background:#184e6f!important;border:1px solid #5f92a8!important;font-weight:700!important}
#esp36 .esp-toolbar{display:flex!important;gap:9px!important;background:#f8fafc!important;padding:10px 12px!important;border-bottom:1px solid #d2dbe6!important}
#esp36 .esp-tools{display:flex!important;align-content:start;gap:5px!important}
#esp36 .esp-tools-secondary{border-left:1px solid #dae3ed;padding-left:10px}
#esp36 button{transition:background-color .12s,border-color .12s,transform .08s!important;border-radius:8px!important;font-weight:550!important}
#esp36 button:active{transform:translateY(1px)}
#esp36 button.on{background:#2769e6!important;color:#fff!important}
#esp36 .esp-config{background:#eef4fa!important;padding:9px 15px!important;gap:10px!important}
#esp36 .esp-v6-banner{background:#e4f4ff!important;border-bottom:1px solid #c8dff1!important}
#esp36 .esp-layout{display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;padding:10px!important;min-height:570px!important;overflow:visible!important}
#esp36 .esp-sidebar{display:flex!important;flex-direction:column!important;height:clamp(540px,72vh,820px)!important;max-height:none!important;min-height:0!important;overflow:hidden!important;background:#fbfcfe!important;border:1px solid #d7e1ed!important}
#esp36 .esp-sidehead{flex:none!important;padding:12px 14px!important}
#esp36 .esp-search{flex:none!important;max-width:none!important;margin:0 10px 10px!important}
#esp36 .esp-tabs{display:flex!important;flex:none!important;max-height:104px!important;overflow:auto!important;padding:0 10px 10px!important;gap:5px!important}
#esp36 .esp-palette{display:block!important;flex:1 1 auto!important;min-height:140px!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px 9px!important;visibility:visible!important;opacity:1!important}
#esp36 .esp-entry{display:flex!important;width:100%!important;min-height:59px!important;padding:7px!important;gap:10px!important;background:#fff!important;border:1px solid #e4ebf4!important;border-radius:8px!important;margin:3px 0!important;white-space:normal!important;justify-content:flex-start!important}
#esp36 .esp-entry:hover{border-color:#7eb5f4!important;background:#edf6ff!important}
#esp36 .esp-entry svg{width:60px!important;height:47px!important;flex-shrink:0!important}
#esp36 .esp-entry span{font-size:12px!important;color:#1e344f!important}
#esp36 .esp-inspector{flex:none!important;min-height:90px;max-height:230px;overflow:auto;border-top:1px solid #dbe4ef;background:#f5f8fd;padding:10px 12px;font-size:12px;color:#465c76}
#esp36 .esp-inspector-heading{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#7186a0;margin:0 0 8px}
#esp36 .esp-inspector-name{display:block;margin-bottom:6px;color:#193a5d;font-size:13px}
#esp36 .esp-inspector label{display:flex;align-items:center;gap:7px;margin:8px 0}
#esp36 .esp-inspector input{width:100%;min-width:0;border-radius:5px;border:1px solid #bdccdc;padding:6px;font-size:12px}
#esp36 .esp-inspector button{min-height:29px!important;padding:5px 9px!important;margin:4px 4px 0 0!important;font-size:11px!important}
#esp36 .esp-bend-row{display:flex;align-items:center;gap:5px;margin:3px 0}
#esp36 .esp-bend-row input{width:62px!important}
#esp36 .esp-workspace{min-height:0!important;background:#fff!important;box-shadow:0 6px 22px #1133570b}
#esp36 .esp-workhead{background:#f9fbfe!important;padding:13px 16px!important}
#esp36 .esp-workhead strong{font-size:15px!important}
#esp36 svg[data-id="canvas"]{height:clamp(470px,66vh,820px)!important;min-height:390px!important;background:#fff!important;cursor:crosshair}
#esp36 .esp-foot{background:#fbfcff!important}
#esp36 .esp-fullscreen .esp-palette{min-height:100px!important}
@media(max-width:840px){#esp36 .esp-layout{grid-template-columns:minmax(0,1fr)!important;min-height:0!important}#esp36 .esp-sidebar{height:370px!important;min-height:0!important;max-height:none!important}#esp36 .esp-tabs{max-height:88px!important}#esp36 .esp-palette{min-height:105px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:4px!important}#esp36 .esp-entry{min-width:0!important;min-height:70px!important}#esp36 .esp-entry svg{width:42px!important;height:43px!important}#esp36 .esp-inspector{max-height:115px!important;min-height:65px!important}#esp36 .esp-tools-secondary{border:0;padding:0}#esp36 .esp-topright{flex-wrap:wrap}#esp36 .esp-badge{display:none}#esp36 svg[data-id="canvas"]{height:57dvh!important;min-height:320px!important}}
@media(max-width:500px){#esp36 .esp-palette{display:block!important}#esp36 .esp-sidebar{height:330px!important}#esp36 .esp-top{padding:11px!important}#esp36 .esp-workhead{flex-wrap:wrap}#esp36 .esp-foot{font-size:10px}#esp36 .esp-layout{padding:5px!important}}
#esp36.esp-fullscreen .esp-layout{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#esp36.esp-fullscreen .esp-sidebar{height:100%!important;min-height:0!important}
#esp36.esp-fullscreen .esp-palette{flex:1 1 auto!important;min-height:85px!important;height:auto!important;overflow:auto!important}
#esp36.esp-fullscreen svg[data-id="canvas"]{height:100%!important;min-height:0!important}
@media(max-width:840px){#esp36.esp-fullscreen .esp-sidebar{height:100%!important}#esp36.esp-fullscreen .esp-layout{grid-template-rows:minmax(180px,34%) minmax(0,1fr)!important}}


/* V7.12 Studio — design system encapsulé, sans modification du thème WordPress */
#esp36{--navy:#0e1c32;--blue:#2365df;--mint:#11a884;--line:#d7e0ed;--text:#233854;background:#e8eef6!important;border:1px solid #bacadd!important;border-radius:15px!important;box-shadow:0 20px 50px #102e5433!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important}
#esp36 .esp-top{padding:17px 19px!important;background:linear-gradient(115deg,#08172c 0%,#17365c 58%,#21467e 100%)!important;border-bottom:1px solid #3f5d89;position:relative}
#esp36 .esp-logo{background:linear-gradient(145deg,#2a7aff,#1746bd);font-size:27px;border-radius:11px;min-width:48px;text-align:center;box-shadow:0 6px 14px #0003}
#esp36 .esp-brand strong{font-size:21px!important;letter-spacing:-.025em}#esp36 .esp-brand small{color:#bed2ea!important;font-size:12px!important}
#esp36 .esp-badge{background:#144b78!important;border:1px solid #62a5e7!important;font-size:10px!important;letter-spacing:.05em}
#esp36 .esp-menubar{display:flex;align-items:center;gap:0;min-height:39px;padding:0 13px;background:#101f35;color:#d6e4f8;border-bottom:1px solid #2b3c55;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
#esp36 .esp-menubar>span:not(.esp-menu-doc){font-size:10px;font-weight:800;letter-spacing:.08em;padding:13px 12px}
#esp36 .esp-menubar .esp-menu-current{background:#2464d9;color:#fff}
#esp36 .esp-menu-doc{margin-left:auto;color:#b8cbe7;font-size:11px;padding:7px 14px;border:1px solid #415b79;border-radius:7px;cursor:pointer}
#esp36 .esp-toolbar{justify-content:flex-start!important;gap:13px!important;padding:12px 14px!important;background:#f5f8fd!important;box-shadow:inset 0 -1px #d2ddec;align-items:center}
#esp36 .esp-ribbon-title{display:flex;flex-direction:column;min-width:115px;font-size:11px;letter-spacing:.08em;font-weight:900;color:#204878}
#esp36 .esp-ribbon-title small{font-size:10px;letter-spacing:0;font-weight:500;color:#607e9f;margin-top:2px}
#esp36 .esp-ribbon-divider{height:42px;width:1px;background:#c9d7e6;align-self:center}
#esp36 .esp-tools{gap:5px!important}
#esp36 .esp-tools button{border-radius:9px!important;min-height:39px!important;border:1px solid #d5e1ef!important;background:#fff!important;box-shadow:0 1px 3px #081d3d0d!important;color:#243e5b!important;font-size:12px!important;font-weight:650!important}
#esp36 .esp-tools button.on,#esp36 .esp-tools button.esp-v6-primary{background:#225dd8!important;border-color:#225dd8!important;color:#fff!important;box-shadow:0 3px 9px #2765db38!important}
#esp36 .esp-tools button[data-act="sim"]{background:#07886f!important;border-color:#07886f!important;color:white!important}
#esp36 .esp-tools button[data-act="teacher"],#esp36 .esp-tools button[data-act="check"]{background:#eaf7ff!important;border-color:#bed5e9!important}
#esp36 .esp-config{background:#eaf1fa!important;padding:10px 13px!important;gap:12px!important;border-bottom:1px solid #cfdaeb}
#esp36 .esp-param-label{color:#56718f;font-size:10px;letter-spacing:.065em;font-weight:900;margin-right:5px}
#esp36 .esp-v6-banner{background:#dcebf8!important;color:#18486f!important;border-color:#c8ddea!important;padding:9px 15px!important}
#esp36 .esp-layout{display:grid!important;grid-template-columns:minmax(235px,285px) minmax(0,1fr) minmax(190px,230px)!important;gap:10px!important;padding:12px!important;align-items:stretch!important}
#esp36 .esp-sidebar,#esp36 .esp-property-dock,#esp36 .esp-workspace{background:#fff!important;border:1px solid #d2dce9!important;box-shadow:0 3px 13px #182d4c0c!important;border-radius:11px!important;overflow:hidden}
#esp36 .esp-sidebar{max-height:76vh!important;min-height:430px!important;display:flex!important;flex-direction:column!important}
#esp36 .esp-sidehead{background:#142e4b;color:white!important;align-items:center;padding:14px 12px!important}
#esp36 .esp-sidehead strong{color:#fff!important;font-size:14px!important}#esp36 .esp-sidehead span{color:#9dc5ee!important}
#esp36 .esp-search{margin-top:12px!important;box-shadow:0 0 0 2px #e8eff9!important}
#esp36 .esp-tabs{padding:2px 9px 12px!important;gap:5px!important}
#esp36 .esp-tabs button{background:#f0f4fa!important;border-color:#e0e8f1!important;color:#465e7b!important;min-height:29px!important}
#esp36 .esp-tabs button.on{background:#1c5fd5!important;color:white!important}
#esp36 .esp-palette{flex:1!important;min-height:160px!important;overflow-y:auto!important;display:block!important;max-height:none!important;padding:3px 9px 14px!important}
#esp36 .esp-entry{background:#f8fafe!important;border:1px solid #e2e9f3!important;border-radius:9px!important;margin:5px 0!important;padding:7px!important;white-space:normal!important;min-height:65px!important;gap:9px!important;font-weight:600!important;color:#28415c!important}
#esp36 .esp-entry:hover{border-color:#78a5f0!important;background:#edf5ff!important;transform:translateY(-1px)}
#esp36 .esp-entry svg{width:60px!important;height:52px!important;border:1px solid #d5e3f2!important;border-radius:7px!important;flex-shrink:0!important}
#esp36 .esp-property-dock{display:flex;flex-direction:column;min-height:440px;max-height:76vh;overflow:auto!important}
#esp36 .esp-property-dock>header{padding:15px 13px;background:#142e4b;display:flex;flex-direction:column;gap:4px;color:white}
#esp36 .esp-property-dock>header>span{font-size:12px;font-weight:900;letter-spacing:.09em;color:white}#esp36 .esp-property-dock>header>small{font-size:11px;color:#a9c3df}
#esp36 .esp-inspector{padding:16px 12px!important;border:0!important;display:block!important;max-height:none!important;background:white!important}
#esp36 .esp-inspector-heading{margin-bottom:16px!important;font-size:11px!important;color:#49617e!important;font-weight:900!important;letter-spacing:.06em}
#esp36 .esp-dock-tip{margin-top:auto;padding:15px 12px;background:#eef5fd;border-top:1px solid #dbe6f3;font-size:12px;color:#476583;line-height:1.7}
#esp36 .esp-workhead{background:#f8faff!important;padding:13px 14px!important}
#esp36 .esp-workhead strong{font-size:14px!important;color:#1b3455!important}
#esp36 .esp-stats{align-items:center;flex-wrap:wrap}
#esp36 .esp-paper-label{display:flex;gap:6px;align-items:center;font-weight:750;color:#2b557f;font-size:11px}
#esp36 .esp-paper-label select{min-width:0;width:77px;padding:5px;font-size:11px}
#esp36 .esp-stage{background:#dce5f1!important;padding:20px 14px 25px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:480px!important}
#esp36 .esp-paper-caption{width:min(100%,820px);background:#fff;border:1px solid #dce4eb;border-bottom:0;box-shadow:0 -3px 12px #1b3b6520;padding:9px 14px;color:#5c7492;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.04em}
#esp36 .esp-paper-caption strong{color:#284765}#esp36 .esp-paper-caption span:last-child{border:1px solid #d7e2ef;padding:4px 7px;font-weight:800;border-radius:4px}
#esp36 svg[data-id=canvas]{width:min(100%,820px)!important;height:clamp(460px,67vh,790px)!important;background:#fff!important;border:1px solid #dce4eb;box-shadow:0 12px 25px #10274623!important;cursor:crosshair;min-width:0}
#esp36.esp-paper-a4 svg[data-id=canvas]{max-width:770px!important}
#esp36.esp-paper-wide svg[data-id=canvas]{max-width:none!important;width:100%!important}
#esp36 .esp-foot{background:#f5f8fd;font-size:11px!important}
#esp36 .esp-v6-help{background:#f5f9fe!important;border-top:1px solid #d2e0ef!important}
#esp36 .esp-warning{font-size:11px!important}
#esp36.esp-fullscreen .esp-layout{min-height:0;overflow:auto;grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(190px,225px)!important}
#esp36.esp-fullscreen .esp-stage{min-height:0!important;overflow:auto!important}
#esp36.esp-fullscreen svg[data-id=canvas]{height:100%!important;min-height:390px!important}
@media(max-width:1250px){#esp36 .esp-layout{grid-template-columns:minmax(205px,255px) minmax(0,1fr)!important}#esp36 .esp-property-dock{grid-column:1/-1;min-height:0!important;max-height:310px!important}#esp36 .esp-property-dock .esp-dock-tip{display:none}}
@media(max-width:750px){#esp36{width:calc(100vw - 10px)!important}#esp36 .esp-layout{grid-template-columns:minmax(0,1fr)!important;display:grid!important;gap:8px!important;padding:7px!important}#esp36 .esp-sidebar{min-height:0!important;max-height:350px!important;height:auto!important;overflow:hidden!important;display:flex!important}#esp36 .esp-sidebar.esp-collapsed{display:none!important}#esp36 .esp-palette{min-height:100px!important;max-height:200px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}#esp36 .esp-entry{margin:0!important;min-height:76px!important;gap:6px!important}#esp36 .esp-entry svg{width:38px!important;height:38px!important}#esp36 .esp-property-dock{grid-column:1;min-height:0!important;max-height:260px!important}#esp36 .esp-menu-doc{display:none!important}#esp36 .esp-menubar span{padding:11px 9px!important}#esp36 .esp-ribbon-title{display:none}#esp36 .esp-ribbon-divider{display:none}#esp36 .esp-tools{gap:4px!important}#esp36 .esp-toolbar button{min-height:34px!important}#esp36 .esp-stage{min-height:310px!important;padding:10px 7px 16px!important}#esp36 svg[data-id=canvas]{height:50dvh!important;min-height:290px!important}#esp36 .esp-paper-caption{font-size:9px}#esp36 .esp-paper-caption span:nth-child(2){display:none}#esp36 .esp-workhead{flex-wrap:wrap}#esp36 .esp-topright button{min-width:0}#esp36 .esp-brand strong{font-size:17px!important}}


/* V7.12 — navigation applicative et bibliothèque toujours lisible */
#esp36 .esp-menubar{position:relative!important;overflow:visible!important;flex-wrap:wrap!important;gap:3px!important;padding:5px 9px!important;z-index:80!important;min-height:46px!important}
#esp36 .esp-menu{position:relative;flex:0 0 auto}
#esp36 .esp-menu summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;user-select:none;padding:11px 13px;color:#e7f1ff;font-size:12px;font-weight:800;letter-spacing:.04em;border-radius:7px}
#esp36 .esp-menu summary::-webkit-details-marker{display:none}
#esp36 .esp-menu[open] summary,#esp36 .esp-menu summary:hover{background:#2464d9;color:white}
#esp36 .esp-menu-panel{position:absolute;top:calc(100% + 4px);left:0;z-index:500!important;display:grid;gap:2px;width:max-content;min-width:230px;max-width:min(330px,calc(100vw - 22px));max-height:65vh;overflow-y:auto;background:#fff;box-shadow:0 12px 35px #001d3650;border:1px solid #cddced;border-radius:12px;padding:7px}
#esp36 .esp-menu-panel button{display:block!important;min-height:38px!important;border:none!important;text-align:left!important;justify-content:flex-start!important;background:#fff!important;color:#173250!important;font-weight:600!important;white-space:normal!important;border-radius:7px!important;width:100%!important}
#esp36 .esp-menu-panel button:hover,#esp36 .esp-menu-panel button:focus-visible{background:#e6f1ff!important;color:#134dab!important}
#esp36 button.esp-menu-doc{margin-left:auto!important;min-height:32px!important;padding:5px 12px!important;color:#d5e7ff!important;background:#183651!important;border:1px solid #385577!important;border-radius:7px!important;font-size:12px!important;cursor:pointer}
#esp36 .esp-sidebar{position:relative!important;z-index:1!important}
#esp36 .esp-library-status{padding:5px 10px!important;color:#46637e!important;background:#f4f8fe!important;font-size:11px!important;min-height:27px!important}
#esp36 .esp-library-status.esp-loaded{color:#13765e!important}
#esp36 .esp-retry-lib{min-height:34px!important;background:#f0f6ff!important;color:#1558a9!important;border:1px solid #c8ddff!important;margin:6px!important;font-size:11px!important}
#esp36 .esp-palette{display:grid!important;visibility:visible!important;opacity:1!important;min-height:280px!important;overflow-y:auto!important}
@media(max-width:700px){#esp36 .esp-menubar{gap:1px!important}#esp36 .esp-menu summary{padding:8px 7px!important;font-size:10px!important}#esp36 .esp-menu-panel{position:fixed!important;top:24vh!important;left:14px!important;max-height:60vh!important;z-index:9999!important}#esp36 button.esp-menu-doc{margin-left:0!important}#esp36 .esp-sidebar{min-height:370px!important}}

/* V7.13: bibliothèque visible dans les thèmes WordPress */
#esp36 .esp-sidebar { min-height: 420px !important; overflow: hidden !important; }
#esp36 .esp-category-bar {display:grid !important; grid-template-columns:36px minmax(0,1fr) 36px !important; min-width:0 !important;}
#esp36 .esp-tabs {display:flex !important; flex-wrap:nowrap !important; overflow-x:auto !important; overflow-y:hidden !important; min-width:0 !important; max-width:100% !important; height:auto !important; max-height:none !important;}
#esp36 .esp-tabs button {flex:0 0 auto !important; white-space:nowrap !important;}
#esp36 .esp-cat-arrow {cursor:pointer !important; position:relative !important; z-index:3 !important;}
#esp36 .esp-palette {display:grid !important; grid-template-columns:1fr !important; height:auto !important; min-height:260px !important; max-height:400px !important; overflow-y:auto !important; visibility:visible !important; opacity:1 !important; position:relative !important;}
#esp36 .esp-entry {display:flex !important; visibility:visible !important; opacity:1 !important; min-height:65px !important;}
#esp36 .esp-menu[open] .esp-menu-panel {display:flex !important;}
@media(max-width:750px){#esp36 .esp-palette{grid-template-columns:repeat(2,minmax(0,1fr)) !important;max-height:340px !important}}

/* Élec Schéma Pro V7.14 : lisibilité et retour visuel des outils */
#esp36 .esp-entry{overflow:hidden!important;box-sizing:border-box!important;min-width:0!important;gap:9px!important;align-items:center!important}
#esp36 .esp-entry svg{overflow:visible!important;flex-shrink:0!important;max-width:68px!important;box-sizing:border-box!important}
#esp36 .esp-entry span{min-width:0!important;overflow-wrap:anywhere!important;line-height:1.22!important}
#esp36 .esp-entry:focus-visible{outline:3px solid #1675c9!important;outline-offset:-3px!important}
#esp36 .esp-entry:hover{border-color:#2084d1!important;background:#eef7ff!important}
#esp36 #esp714-wire-preview{filter:drop-shadow(0 0 2px #a7d7ff)}
@media(max-width:700px){#esp36 .esp-entry{padding:7px!important;gap:7px!important}#esp36 .esp-entry svg{width:52px!important;height:48px!important}}

/* V7.15 : menus de commandes empilés, boutons de sous-menu également empilés. */
#esp36 .esp-menubar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;flex-wrap:nowrap!important;overflow:visible!important;padding:8px!important;}
#esp36 .esp-menu{width:100%!important;display:block!important;}
#esp36 .esp-menu summary{width:100%!important;display:flex!important;justify-content:space-between!important;background:#1b3958!important;min-height:38px!important;}
#esp36 .esp-menu[open] .esp-menu-panel{position:static!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;margin-top:3px!important;}
#esp36 .esp-menu-panel button{display:flex!important;width:100%!important;justify-content:flex-start!important;}
#esp36 .esp-menu-doc{width:100%!important;margin:3px 0 0!important;text-align:left!important;}
#esp36 .esp-segment-grip{stroke:transparent;stroke-width:20;fill:none;pointer-events:stroke;cursor:move;touch-action:none;}
#esp36 .esp-segment-grip:hover{stroke:#3e9cec77;stroke-width:10;}
#esp36 .esp-segment-note{padding:7px 9px;background:#eaf5ff;border-radius:7px;color:#155590;font-size:12px;font-weight:600;}
@media(max-width:750px){#esp36 .esp-menu-panel{top:auto!important;left:auto!important;position:static!important;max-height:none!important;}#esp36 .esp-menu summary{padding:11px 12px!important;font-size:12px!important;}}

/* V7.16 — Barre horizontale, sous-menus verticaux (priorité aux règles V7.15). */
#esp36 .esp-menubar {display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;padding:7px 10px!important;position:relative!important;min-height:48px!important;overflow:visible!important;isolation:isolate}
#esp36 .esp-menu {position:relative!important;display:block!important;flex:0 0 auto!important;width:auto!important;min-width:0!important}
#esp36 .esp-menu summary {display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-height:37px!important;padding:8px 11px!important;white-space:nowrap!important;font-size:11px!important;background:#193b5b!important}
#esp36 .esp-menu[open] .esp-menu-panel {position:absolute!important;top:calc(100% + 5px)!important;left:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;width:max-content!important;min-width:215px!important;max-width:min(320px,calc(100vw - 28px))!important;max-height:min(65vh,500px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px!important;box-shadow:0 14px 36px #001a3860!important;margin:0!important;background:#fff!important;z-index:99999!important}
#esp36 .esp-menu-panel button {display:block!important;width:100%!important;white-space:normal!important;text-align:left!important;min-height:35px!important}
#esp36 .esp-menu-doc {margin:0 0 0 auto!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;white-space:nowrap!important;text-align:center!important}
#esp36 .esp-stage{position:relative!important}
#esp36 .esp-wire-nav[hidden] {display:none!important}
#esp36 .esp-wire-nav{position:absolute;z-index:45;right:15px;top:15px;width:196px;max-width:calc(100% - 28px);padding:12px;background:#122a44f2;color:#f5faff;border:1px solid #49769a;border-radius:12px;box-shadow:0 9px 26px #08213e40;display:flex;flex-direction:column;align-items:stretch;gap:7px;font-family:system-ui,Arial,sans-serif}
#esp36 .esp-wire-nav-title{font-size:13px;font-weight:800}
#esp36 .esp-wire-nav-title small{display:block;font-size:10px;color:#b8d7ee;font-weight:400}
#esp36 .esp-wire-nav>small{font-size:10px;line-height:1.35;color:#cae4fb}
#esp36 .esp-wire-arrows{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
#esp36 .esp-wire-arrows button{min-height:34px!important;border-radius:8px!important;font-weight:800!important;color:#fff!important;background:#186bb0!important;border:1px solid #5caddf!important;font-size:20px!important;cursor:pointer!important;padding:0!important}
#esp36 .esp-wire-arrows button:hover{background:#2495de!important}
#esp36 .esp-wire-arrows [data-wire-dir=up]{grid-column:2;grid-row:1}
#esp36 .esp-wire-arrows [data-wire-dir=left]{grid-column:1;grid-row:2}
#esp36 .esp-wire-arrows [data-wire-dir=right]{grid-column:3;grid-row:2}
#esp36 .esp-wire-arrows [data-wire-dir=down]{grid-column:2;grid-row:3}
#esp36 .esp-wire-back,#esp36 .esp-wire-cancel{color:#e9f5ff!important;background:#244d72!important;border:1px solid #4c779a!important;border-radius:6px!important;padding:7px!important;font-size:11px!important}
@media(max-width:1100px){#esp36 .esp-menubar{gap:1px!important;padding:6px 4px!important}#esp36 .esp-menu summary{padding:8px 5px!important;font-size:10px!important}#esp36 .esp-menu-doc{display:none!important}}
@media(max-width:680px){#esp36 .esp-menubar{flex-wrap:wrap!important;justify-content:center!important;gap:3px!important}#esp36 .esp-menu summary{font-size:9px!important;padding:7px 6px!important}#esp36 .esp-menu[open] .esp-menu-panel{position:fixed!important;top:125px!important;left:12px!important;max-height:55vh!important}#esp36 .esp-wire-nav{width:154px;padding:8px;right:8px;top:8px}#esp36 .esp-wire-nav-title{font-size:11px}}
