/* Editor chrome. Every class here starts with ed- so nothing leaks into the exported site. */
/* Screenloop Branded Marketing tokens (ink #08243E, violet accent #5348FE, teal #4AE5D2, Athens Gray #F7F8FA, indigo #1D1551) */
@font-face{font-family:'Pangea';src:url('brand/fonts/Pangea-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Nunito Sans';src:url('brand/fonts/NunitoSans-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nunito Sans';src:url('brand/fonts/NunitoSans-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Nunito Sans';src:url('brand/fonts/NunitoSans-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--ed-ink:#08243E;--ed-muted:#5E6C84;--ed-line:#DCE2FF;--ed-ctl:#C0C9FF;--ed-bg:#F7F8FA;--ed-panel:#ffffff;--ed-blue:#5348FE;--ed-blue-dark:#4126DC;--ed-blue-soft:#ECF0FF;
  --ed-teal:#4AE5D2;--ed-teal-text:#107570;--ed-teal-soft:#F0FDFA;--ed-indigo:#1D1551;--ed-green:#107570;--ed-amber:#B25E00;--ed-red:#C4352B;--ed-r:18px;
  --ed-font:'Nunito Sans','Segoe UI',system-ui,-apple-system,sans-serif;--ed-display:'Pangea','Nunito Sans','Segoe UI',system-ui,sans-serif;
  --ed-shadow:4px 6px 24px 4px rgba(120,129,214,.10);--ed-shadow-xl:4px 6px 48px 12px rgba(120,129,214,.16)}
html,body{margin:0;height:100%}
.ed-body{font:400 14px/1.45 var(--ed-font);color:var(--ed-ink);background:var(--ed-bg);overflow:hidden}
.ed-body *{box-sizing:border-box}
.ed-app{display:flex;flex-direction:column;height:100vh;height:100dvh}
.ed-btn{font:600 14px/1 var(--ed-font);display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 15px;border-radius:999px;border:1px solid var(--ed-ctl);background:#fff;color:var(--ed-ink);cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.ed-btn:hover{background:var(--ed-blue-soft);border-color:#9AA6FF}
.ed-btn svg{flex:none}
.ed-btn:disabled{opacity:.4;cursor:default}
.ed-btn:focus-visible,.ed-body button:focus-visible,.ed-body input:focus-visible,.ed-body select:focus-visible,.ed-body textarea:focus-visible{outline:3px solid var(--ed-blue);outline-offset:2px}
.ed-primary{background:var(--ed-blue);border-color:var(--ed-blue);color:#fff;font-weight:700;box-shadow:0 4px 14px rgba(83,72,254,.25)}
.ed-primary:hover{background:var(--ed-blue-dark);border-color:var(--ed-blue-dark)}
.ed-danger{color:var(--ed-red)}
.ed-icon{width:36px;padding:0;font-size:16px}
.ed-block{width:100%}
/* top bar */
.ed-top{position:relative;display:flex;align-items:center;gap:14px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--ed-line);z-index:50;min-height:58px}
.ed-brand{display:flex;align-items:center;gap:10px;min-width:0}
.ed-logo{display:block;height:22px;width:auto;flex:none}
.ed-divider{width:1px;height:28px;background:var(--ed-line);flex:none}
.ed-brand strong{display:block;font:700 14px/1.2 var(--ed-font)}
.ed-brand div span{display:block;color:var(--ed-muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.ed-status{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;background:var(--ed-blue-soft);font-family:var(--ed-font);font-size:13px;font-weight:500;color:var(--ed-muted);border:0;cursor:default;white-space:nowrap}
.ed-status .ed-dot{width:8px;height:8px;border-radius:50%;background:#9aa3b2;flex:none}
.ed-status[data-state=saved]{background:var(--ed-teal-soft);color:var(--ed-teal-text)}.ed-status[data-state=saved] .ed-dot{background:var(--ed-teal);box-shadow:0 0 0 3px rgba(74,229,210,.25)}
.ed-status[data-state=saving] .ed-dot{background:var(--ed-blue);animation:ed-pulse 1s infinite}
.ed-status[data-state=unsaved]{background:var(--ed-blue-soft);color:var(--ed-ink)}.ed-status[data-state=unsaved] .ed-dot{background:#9AA6FF}
.ed-status[data-state=error]{background:#fdecea;color:#9b241b;cursor:pointer}.ed-status[data-state=error] .ed-dot{background:var(--ed-red)}
@keyframes ed-pulse{50%{opacity:.3}}
.ed-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.ed-seg{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--ed-ctl);border-radius:999px;height:36px;background:#fff}
.ed-seg button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:28px;border:0;border-radius:999px;background:transparent;padding:0;cursor:pointer;color:var(--ed-muted)}
.ed-seg button:hover{color:var(--ed-ink);background:var(--ed-blue-soft)}
.ed-seg button[aria-pressed=true]{background:var(--ed-blue);color:#fff}
.ed-btn[aria-pressed=true]{background:var(--ed-blue-soft);border-color:#b9cff6;color:var(--ed-blue)}
.ed-menu-wrap{position:relative}
.ed-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:280px;background:#fff;border:1px solid var(--ed-line);border-radius:18px;box-shadow:0 16px 40px rgba(29,21,81,.16);padding:6px;z-index:40}
.ed-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;border:0;background:none;padding:10px 12px;border-radius:12px;font:700 14px/1.3 var(--ed-font);color:var(--ed-ink);cursor:pointer}
.ed-menu button small{font-weight:400;color:var(--ed-muted);font-size:12.5px}
.ed-menu button:hover,.ed-menu button:focus-visible{background:var(--ed-blue-soft)}
.ed-menu hr{border:0;border-top:1px solid var(--ed-line);margin:6px 4px}
.ed-banner{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fdecea;color:#7f1d16;font-weight:500;border-bottom:1px solid #f5c6c1}
.ed-banner[data-kind=info]{background:#fff4e5;color:#6b3a00;border-color:#f3d6a8}
.ed-banner .ed-btn{height:30px}
.ed-banner[hidden]{display:none}
/* layout */
.ed-main{display:flex;flex:1;min-height:0}
.ed-side{width:290px;flex:none;background:var(--ed-panel);border-right:1px solid var(--ed-line);overflow-y:auto;padding:16px 12px 24px}
.ed-side-head{padding:0 6px 10px}
.ed-side h2{font:700 17px/1.2 var(--ed-display);margin:0 0 6px;letter-spacing:-.01em}
.ed-side p{margin:0;color:var(--ed-muted);font-size:13px}
.ed-seclist{list-style:none;margin:8px 0 14px;padding:0}
.ed-sec{display:flex;align-items:center;gap:6px;padding:6px 6px 6px 4px;border-radius:12px;border:1px solid transparent;margin-bottom:2px;background:#fff}
.ed-sec:hover{background:var(--ed-blue-soft)}
.ed-sec.ed-off .ed-secbtn{color:#7C88A0}
.ed-sec.ed-drag{opacity:.4}
.ed-sec.ed-dropbefore{box-shadow:0 -2px 0 var(--ed-blue)}
.ed-grip{cursor:grab;color:#a3aab6;width:16px;text-align:center;flex:none;font-size:14px;user-select:none}
.ed-grip.ed-lock{cursor:default;opacity:.35}
.ed-secbtn{flex:1;min-width:0;text-align:left;border:0;background:none;padding:4px 2px;cursor:pointer;font:700 13.5px/1.25 var(--ed-font);color:var(--ed-ink)}
.ed-secbtn small{display:block;font-weight:400;color:var(--ed-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-mini{border:0;background:none;width:24px;height:26px;border-radius:6px;cursor:pointer;color:var(--ed-muted);font-size:13px;flex:none}
.ed-mini{display:inline-flex;align-items:center;justify-content:center}
.ed-mini:hover{background:#DCE2FF;color:var(--ed-ink)}
.ed-mini:disabled{opacity:.25;cursor:default;background:none}
.ed-switch{position:relative;width:38px;height:22px;border-radius:999px;border:0;background:#C0C9FF;cursor:pointer;flex:none;transition:background .2s;padding:0}
.ed-switch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .2s}
.ed-switch[aria-checked=true]{background:var(--ed-blue)}
.ed-switch[aria-checked=true]::after{transform:translateX(16px)}
.ed-switch:disabled{opacity:.5;cursor:default}
.ed-side-foot{margin-top:18px;padding:12px 14px;border-radius:14px;background:var(--ed-blue-soft);color:var(--ed-muted);font-size:12.5px}
.ed-canvas{flex:1;overflow:auto;position:relative;background:var(--ed-bg);isolation:isolate}
.ed-frame{margin:0 auto;background:#fff;min-height:100%;transition:max-width .25s}
.ed-device-mobile .ed-canvas{padding:24px 0 40px}
.ed-device-mobile .ed-frame,.ed-device-tablet .ed-frame{min-height:0;border-radius:28px;box-shadow:0 0 0 10px var(--ed-indigo),0 24px 60px rgba(29,21,81,.28);overflow:clip}
.ed-device-mobile .ed-frame{max-width:390px}
.ed-device-tablet .ed-canvas{padding:24px 0 40px}
.ed-device-tablet .ed-frame{max-width:834px;border-radius:24px}
.ed-sidetoggle{display:none}
/* ---------- edit-mode affordances inside the site ---------- */
.site.ed-on [data-f]{outline:1.5px dashed transparent;outline-offset:4px;border-radius:3px;transition:outline-color .15s,background-color .15s;cursor:text;min-width:1ch}
.site.ed-on [data-f]:hover{outline-color:color-mix(in srgb,#5348FE 55%,transparent)}
.site.ed-on [data-f]:focus{outline:2px solid #5348FE;outline-offset:4px;background:color-mix(in srgb,#5348FE 6%,transparent)}
.site.ed-on [data-f]:empty::before{content:attr(data-ph);opacity:.5;font-style:italic;pointer-events:none}
.site.ed-on .tone-brand [data-f]:hover,.site.ed-on .ftr [data-f]:hover{outline-color:rgba(255,255,255,.6)}
.site.ed-on .tone-brand [data-f]:focus,.site.ed-on .ftr-brand [data-f]:focus,.site.ed-on .ftr-dark [data-f]:focus{outline-color:#fff;background:rgba(255,255,255,.08)}
.site.ed-on a [data-f]{cursor:text}
.site.ed-on [data-img]{cursor:pointer;transition:filter .15s,outline-color .15s;outline:2px solid transparent;outline-offset:3px}
.site.ed-on [data-img]:hover,.site.ed-on [data-img]:focus-visible{filter:brightness(.92);outline-color:#5348FE}
.site.ed-on [data-placeholder]{outline:2px dashed color-mix(in srgb,#b25e00 55%,transparent);outline-offset:3px}
.site.ed-on .sec{outline:1px solid transparent;outline-offset:-1px}
.site.ed-on .sec:hover,.site.ed-on .sec:focus-within{outline-color:color-mix(in srgb,#5348FE 35%,transparent)}
.ed-secbar{position:absolute;top:10px;right:10px;z-index:25;display:flex;align-items:center;gap:4px;padding:4px;border-radius:10px;background:#1D1551;color:#fff;font:500 12.5px/1 var(--ed-font,'Inter',system-ui,sans-serif);box-shadow:0 6px 20px rgba(0,0,0,.2);opacity:0;transform:translateY(-4px);transition:opacity .15s,transform .15s;pointer-events:none;letter-spacing:0}
.site.ed-on .sec:hover>.ed-secbar,.site.ed-on .sec:focus-within>.ed-secbar,.ed-secbar:focus-within{opacity:1;transform:none;pointer-events:auto}
.ed-secname{padding:0 8px 0 6px;display:flex;flex-direction:column;gap:2px;font-weight:600}
.ed-secname small{font-weight:400;opacity:.65;font-size:11px}
.ed-secbar button{font:500 12.5px/1 var(--ed-font,'Inter',system-ui,sans-serif);height:28px;min-width:28px;padding:0 9px;border-radius:7px;border:0;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
.ed-secbar button:hover{background:rgba(255,255,255,.22)}
.ed-secbar button:disabled{opacity:.3;cursor:default}
.site.ed-on [data-item]{position:relative}
.ed-itembar{position:absolute;top:-12px;right:-6px;z-index:24;display:flex;gap:2px;padding:3px;border-radius:9px;background:#fff;border:1px solid #d5dae2;box-shadow:0 4px 14px rgba(0,0,0,.12);opacity:0;pointer-events:none;transition:opacity .15s}
.site.ed-on [data-item]:hover>.ed-itembar,.site.ed-on [data-item]:focus-within>.ed-itembar,.site.ed-on .quote:hover>.ed-itembar,.site.ed-on [data-item]:focus-within .ed-itembar,.site.ed-on [data-item]:hover .ed-itembar{opacity:1;pointer-events:auto}
.ed-itembar button{width:26px;height:24px;border:0;border-radius:6px;background:none;color:#3b4352;cursor:pointer;font:600 14px/1 system-ui,sans-serif}
.ed-itembar button:hover{background:#eef1f5}
.ed-itembar button[data-act=item-del]:hover{background:#fdecea;color:var(--ed-red)}
.ed-itembar button:disabled{opacity:.25;cursor:default;background:none}
.ed-add{display:flex;align-items:center;justify-content:center;width:100%;margin-top:14px;padding:12px;border-radius:12px;border:1.5px dashed color-mix(in srgb,currentColor 35%,transparent);background:transparent;color:inherit;font:600 14px/1 var(--ed-font,'Inter',system-ui,sans-serif);cursor:pointer;opacity:.75}
.ed-add:hover{opacity:1;background:color-mix(in srgb,currentColor 5%,transparent)}
.ed-imgempty{display:flex;align-items:center;justify-content:center;width:100%;min-height:120px;aspect-ratio:3/2;border-radius:var(--r,12px);border:2px dashed color-mix(in srgb,currentColor 30%,transparent);background:color-mix(in srgb,currentColor 4%,transparent);color:inherit;font:600 14px/1.3 var(--ed-font,'Inter',system-ui,sans-serif);cursor:pointer;opacity:.8;margin-bottom:16px}
.ed-imgempty:hover{opacity:1;border-color:#5348FE}
.ed-imgempty small{font-weight:400;opacity:.75}
.ed-imgempty.split-img{aspect-ratio:4/3;margin:0}
.ed-imgempty-sm{min-height:0;aspect-ratio:auto;padding:8px;margin:-6px 0 14px;font-size:12.5px;border-width:1.5px;width:auto;display:inline-flex;opacity:0;transition:opacity .15s}
.site.ed-on [data-item]:hover .ed-imgempty-sm,.site.ed-on [data-item]:focus-within .ed-imgempty-sm,.ed-imgempty-sm:focus-visible{opacity:.85}
.ed-imgempty-round,.quote figcaption .ed-imgempty{width:48px;height:48px;min-height:0;aspect-ratio:1;border-radius:50%;margin:0;font-size:0;flex:none}
.quote figcaption .ed-imgempty span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.quote figcaption .ed-imgempty{position:relative}
.quote figcaption .ed-imgempty::before,.quote figcaption .ed-imgempty::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;margin:-1px 0 0 -7px;border-radius:2px;background:currentColor;opacity:.7}
.quote figcaption .ed-imgempty::after{transform:rotate(90deg)}
.hero-photo .ed-imgempty{aspect-ratio:4/1;margin:0}
.ed-hidden-sec{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:repeating-linear-gradient(135deg,#f6f7f9 0 10px,#eef0f3 10px 20px);border-top:1px solid #e3e6eb;border-bottom:1px solid #e3e6eb;color:#5b6475;font:400 13.5px/1.3 var(--ed-font,'Inter',system-ui,sans-serif)}
.ed-hidden-sec button{font:600 13px/1 var(--ed-font,'Inter',system-ui,sans-serif);height:30px;padding:0 12px;border-radius:8px;border:1px solid #cfd4dc;background:#fff;cursor:pointer;color:#1D1551;flex:none}
.ed-only{font:400 13px/1.4 var(--ed-font,'Inter',system-ui,sans-serif);opacity:.8;margin:10px 0 0}
.ed-inline-url [data-f]{font-weight:600;word-break:break-all}
.ed-warn{color:#b25e00;font-style:normal}
.ed-flash{animation:ed-flash 1.2s}
@keyframes ed-flash{0%,40%{box-shadow:inset 0 0 0 3px #5348FE}100%{box-shadow:inset 0 0 0 3px transparent}}
/* floating bits */
.ed-fmt{position:fixed;z-index:60;display:flex;align-items:center;gap:4px;padding:4px;border-radius:10px;background:#1D1551;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);max-width:min(460px,calc(100vw - 20px))}
.ed-fmt[hidden]{display:none}
.ed-fmt button{font:600 13px/1 var(--ed-font);height:28px;min-width:28px;padding:0 9px;border-radius:7px;border:0;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
.ed-fmt button[aria-pressed=true]{background:#5348FE}
.ed-fmt button[hidden]{display:none}
.ed-fmt-hint{font-size:12.5px;opacity:.8;padding:0 8px 0 4px;line-height:1.3}
.ed-imgfloat{position:fixed;z-index:55;font:600 13px/1 var(--ed-font);height:32px;padding:0 12px;border-radius:8px;border:0;background:#fff;color:#1D1551;box-shadow:0 4px 16px rgba(0,0,0,.22);cursor:pointer}
.ed-imgfloat[hidden]{display:none}
.ed-toasts{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:80;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.ed-toast{display:flex;align-items:center;gap:14px;padding:11px 14px 11px 18px;border-radius:999px;background:#1D1551;color:#fff;font:500 14px/1.3 var(--ed-font);box-shadow:0 10px 30px rgba(0,0,0,.25);pointer-events:auto;max-width:min(560px,calc(100vw - 24px))}
.ed-toast button{font:700 13.5px/1 var(--ed-font);border:0;background:var(--ed-teal);color:#052E2E;height:28px;padding:0 12px;border-radius:999px;cursor:pointer}
/* dialogs */
.ed-dialog{border:0;border-radius:24px;padding:0;width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 40px);box-shadow:0 30px 80px rgba(29,21,81,.35);color:var(--ed-ink);font:400 14px/1.5 var(--ed-font)}
.ed-dialog::backdrop{background:rgba(29,21,81,.45)}
.ed-dialog.ed-wide{width:min(820px,calc(100vw - 24px))}
.ed-dialog.ed-sheet{margin:0 0 0 auto;height:100vh;max-height:100vh;border-radius:0;width:min(480px,100vw)}
.ed-dlg{display:flex;flex-direction:column;max-height:inherit;height:100%}
.ed-dlg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 8px}
.ed-dlg-head h2{margin:0;font:700 22px/1.15 var(--ed-display);letter-spacing:-.015em}
.ed-dlg-head p{margin:4px 0 0;color:var(--ed-muted)}
.ed-dlg-body{padding:8px 22px 18px;overflow-y:auto;flex:1}
.ed-dlg-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 22px;border-top:1px solid var(--ed-line);background:var(--ed-bg);flex-wrap:wrap}
.ed-dlg-foot .ed-left{margin-right:auto}
.ed-x{border:0;background:none;width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;color:var(--ed-muted);flex:none}
.ed-x:hover{background:var(--ed-blue-soft)}
.ed-field{display:block;margin:0 0 14px}
.ed-field>span{display:block;font-weight:700;margin-bottom:5px;font-size:13.5px}
.ed-field>small{display:block;color:var(--ed-muted);margin-top:4px;font-size:12.5px}
.ed-input,.ed-select{width:100%;height:40px;padding:0 12px;border-radius:10px;border:1px solid #7376FF;font:400 14px/1 var(--ed-font);color:var(--ed-ink);background:#fff}
textarea.ed-input{height:auto;padding:9px 11px;line-height:1.45;resize:vertical}
.ed-input:focus,.ed-select:focus{border-color:var(--ed-blue)}
.ed-row{display:flex;gap:10px;align-items:center}
.ed-row>*{flex:1}
.ed-colour{display:flex;gap:8px;align-items:center}
.ed-colour input[type=color]{width:44px;height:40px;padding:3px;border:1px solid #7376FF;border-radius:10px;background:#fff;flex:none;cursor:pointer}
.ed-h3{font:700 15px/1.2 var(--ed-display);margin:22px 0 10px;padding-top:16px;border-top:1px solid var(--ed-line);letter-spacing:0}
.ed-h3:first-child{border-top:0;padding-top:0;margin-top:6px}
.ed-note{padding:10px 14px;border-radius:12px;background:var(--ed-blue-soft);color:var(--ed-muted);font-size:13px;margin:6px 0 14px}
.ed-note.ed-warnbox{background:#fff4e5;color:#6b3a00}
.ed-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.ed-preset{display:flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 8px;border:1px solid var(--ed-ctl);border-radius:999px;background:#fff;cursor:pointer;font:600 13px/1 var(--ed-font);color:var(--ed-ink)}
.ed-preset:hover{background:var(--ed-blue-soft)}
.ed-preset i{display:inline-flex;border-radius:999px;overflow:hidden}
.ed-preset i b{display:block;width:12px;height:20px}
.ed-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.ed-toggle-row span{font-weight:600;font-size:13.5px}
.ed-toggle-row small{display:block;font-weight:400;color:var(--ed-muted)}
.ed-asset{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:10px 12px;border:1px solid var(--ed-line);border-radius:14px}
.ed-asset .ed-thumb{width:64px;height:44px;border-radius:6px;background:#f1f3f6 center/contain no-repeat;flex:none;border:1px solid var(--ed-line)}
.ed-asset div{flex:1;min-width:0}.ed-asset strong{display:block;font-size:13.5px}.ed-asset small{color:var(--ed-muted);font-size:12.5px}
/* image dialog */
.ed-imgdlg{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}
.ed-imgprev{position:relative;border-radius:14px;overflow:hidden;background:#f1f3f6;cursor:crosshair;user-select:none}
.ed-imgprev img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;background:repeating-conic-gradient(#eceff3 0 25%,#fff 0 50%) 0 0/16px 16px}
.ed-focal{position:absolute;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #5348FE,0 2px 8px rgba(0,0,0,.4);pointer-events:none}
.ed-guide{padding:12px 14px;border-radius:14px;background:var(--ed-teal-soft);color:var(--ed-ink);border:1px solid #CDFAF3;margin:0 0 12px;font-size:13.5px}
.ed-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;border:2px dashed #9AA6FF;border-radius:18px;text-align:center;color:var(--ed-muted);margin:0 0 12px}
.ed-drop.ed-over{border-color:var(--ed-blue);background:var(--ed-blue-soft)}
.ed-info{font-size:13px;color:var(--ed-muted);margin:0 0 12px;min-height:1.4em}
.ed-info.ed-ok{color:var(--ed-green)}
.ed-permission{font-size:12.5px;line-height:1.45;color:var(--ed-muted);margin:-4px 0 14px}.ed-info.ed-bad{color:var(--ed-red)}
.ed-checks{list-style:none;margin:6px 0 0;padding:0}
.ed-checks li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--ed-line)}
.ed-checks li:last-child{border-bottom:0}
.ed-checks .ed-ci{flex:none;width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;background:var(--ed-amber)}
.ed-checks .ed-info-i{background:#7a8496}.ed-checks .ed-ok-i{background:var(--ed-green)}
.ed-checks button{border:0;background:none;color:var(--ed-blue);font:600 13px/1.4 var(--ed-font);cursor:pointer;padding:0;text-align:left}
.ed-welcome ul{list-style:none;padding:0;margin:8px 0 0}
.ed-welcome li{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.ed-welcome li b.ed-wi{flex:none;width:38px;height:38px;border-radius:12px;background:var(--ed-teal-soft);color:var(--ed-teal-text);border:1px solid #CDFAF3;display:inline-flex;align-items:center;justify-content:center;font-size:16px}
.ed-addlist{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ed-addlist button{text-align:left;border:1px solid var(--ed-line);background:#fff;border-radius:16px;padding:14px;cursor:pointer;font:700 14px/1.3 var(--ed-font);color:var(--ed-ink)}
.ed-addlist button small{display:block;font-weight:400;color:var(--ed-muted);font-size:12.5px;margin-top:3px}
.ed-addlist button:hover{border-color:var(--ed-blue);background:var(--ed-blue-soft)}
.ed-versions{list-style:none;margin:0;padding:0}
.ed-versions li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--ed-line)}
.ed-versions small{display:block;color:var(--ed-muted)}
.ed-spinner{display:inline-block;width:16px;height:16px;border:2px solid #C0C9FF;border-top-color:var(--ed-blue);border-radius:50%;animation:ed-spin .8s linear infinite;vertical-align:-3px}
@keyframes ed-spin{to{transform:rotate(360deg)}}
/* small screens */
@media (max-width:1180px){.ed-hide-md{display:none!important}.ed-brand span{max-width:140px}}
@media (max-width:900px){
  .ed-side{position:fixed;left:0;top:58px;bottom:0;z-index:30;transform:translateX(-102%);transition:transform .2s;box-shadow:0 0 40px rgba(0,0,0,.2)}
  .ed-side.ed-open{transform:none}
  .ed-sidetoggle{display:inline-flex}
  .ed-hide-sm{display:none!important}
  .ed-top{gap:8px;padding:8px 10px;flex-wrap:wrap}
  .ed-tools{gap:6px}
  .ed-imgdlg{grid-template-columns:1fr}
  .ed-addlist{grid-template-columns:1fr}
  .ed-secbar{opacity:1;transform:none;pointer-events:auto;position:relative;top:0;left:0;margin:0;border-radius:0;justify-content:flex-start;flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){.ed-body *{animation:none!important;transition:none!important}}

/* welcome: promo gradient header (approved brand gradient), white logo, one teal accent */
.ed-welcome-dlg .ed-dlg-head{background:linear-gradient(135deg,#4A3FE0 0%,#2B2394 55%,#090A38 100%);color:#fff;padding:26px 26px 24px;position:relative;overflow:hidden}
.ed-welcome-dlg .ed-dlg-head::after{content:"";position:absolute;right:-40px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(74,229,210,.28),transparent 65%);pointer-events:none}
.ed-welcome-dlg .ed-dlg-head h2{font-size:28px;color:#fff;margin-top:14px}
.ed-welcome-dlg .ed-dlg-head h2 em{font-style:normal;color:var(--ed-teal)}
.ed-welcome-dlg .ed-dlg-head p{color:rgba(255,255,255,.82);font-size:15px;max-width:30em}
.ed-welcome-dlg .ed-x{color:#fff;position:relative;z-index:1}.ed-welcome-dlg .ed-x:hover{background:rgba(255,255,255,.14)}
.ed-welcome-logo{display:block;height:20px;width:auto}
.ed-welcome li strong{font-weight:700}
/* preview mode: editor chrome steps aside, a small floating pill switches screen size */
.ed-previewing .ed-top,.ed-previewing .ed-side,.ed-previewing .ed-sidetoggle{display:none!important}
.ed-previewbar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 16px;border-radius:999px;background:var(--ed-indigo);color:#fff;box-shadow:0 12px 40px rgba(29,21,81,.35);font:700 13px/1 var(--ed-font)}
.ed-previewbar[hidden]{display:none}
.ed-previewbar .ed-seg{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
.ed-previewbar .ed-seg button{color:rgba(255,255,255,.75)}
.ed-previewbar .ed-seg button:hover{background:rgba(255,255,255,.12);color:#fff}
.ed-previewbar .ed-seg button[aria-pressed=true]{background:var(--ed-teal);color:#052E2E}
.ed-previewbar .ed-btn{height:34px}
.ed-pv-label{display:inline-flex;align-items:center;gap:7px;opacity:.9}
.ed-pv-label i{width:7px;height:7px;border-radius:50%;background:var(--ed-teal);box-shadow:0 0 0 3px rgba(74,229,210,.25)}
.ed-previewing .ed-toasts{bottom:84px}

/* the client's own fonts (Brand and settings) */
.ed-ownfonts{margin:2px 0 16px;padding:12px;border:1px solid var(--ed-line);border-radius:14px}
.ed-sub{display:block;font-size:13.5px;margin-bottom:4px}
.ed-hint{color:var(--ed-muted);font-size:12.5px;margin:0 0 10px;line-height:1.45}
.ed-fontlist{list-style:none;margin:0 0 10px;padding:0}
.ed-fontlist li{display:flex;align-items:center;gap:12px;padding:6px 0;border-top:1px solid var(--ed-line)}
.ed-fontlist li:first-child{border-top:0}
.ed-fontlist div{flex:1;min-width:0}.ed-fontlist strong{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-fontlist small{color:var(--ed-muted);font-size:12.5px}
.ed-fontsample{width:44px;height:36px;border-radius:8px;background:#f1f3f6;display:grid;place-items:center;font-size:20px;line-height:1;flex:none;color:#1D1551}
.ed-fontform{background:#f7f8fa;border-radius:12px;padding:12px}
.ed-fontfile{margin:0 0 8px;font-size:13px;word-break:break-all}
.ed-checkrow{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;margin:6px 0;cursor:pointer}
.ed-checkrow input{margin-top:3px;width:16px;height:16px;accent-color:var(--ed-blue,#5348FE)}
.ed-ferr{color:#b42318;font-size:13px;margin:6px 0 0;min-height:0}
.ed-ferr:empty{display:none}
.ed-fontbtns{display:flex;gap:8px;margin-top:10px}
