*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --cyan:#00a3e0;--magenta:#e4007c;--yellow:#ffd200;--ink:#151a3a;
  --primary:#e4007c;--primary-dark:#c2006a;--primary-soft:#fdeaf4;
  --text:#2b2f33;--muted:#6b7280;--line:#e6e7eb;--gray:#f4f5f7;--stage:#e9eaee;
  --wa:#25d366;--wa-dark:#1ebe5b;
}
[hidden]{display:none!important}
html,body{height:100%}
body{font-family:'Poppins',system-ui,sans-serif;color:var(--text);background:var(--stage);font-size:14px;overflow:hidden;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
input,select,textarea{font:inherit;color:inherit}

/* buttons */
.ebtn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;height:40px;padding:0 1rem;border-radius:10px;font-weight:600;font-size:.86rem;transition:background .15s,color .15s,border-color .15s,transform .15s;white-space:nowrap}
.ebtn:disabled{opacity:.45;cursor:not-allowed}
.ebtn--primary{background:var(--primary);color:#fff}
.ebtn--primary:not(:disabled):hover{background:var(--primary-dark)}
.ebtn--ghost{border:1.5px solid var(--line);background:#fff}
.ebtn--ghost:hover{border-color:#cfd1d8}
.ebtn--soft{background:var(--gray);color:var(--text)}
.ebtn--soft:hover{background:var(--primary-soft);color:var(--primary)}
.ebtn--wa{background:var(--wa);color:#fff}
.ebtn--wa:not(:disabled):hover{background:var(--wa-dark)}
.ebtn--block{width:100%}
.ebtn--lg{height:50px;font-size:1rem}

/* loading */
.ed-loading{position:fixed;inset:0;z-index:500;background:#fff;display:grid;place-content:center;justify-items:center;gap:1rem;color:var(--muted);transition:opacity .3s}
.ed-loading.is-done{opacity:0;pointer-events:none}
.ed-loading__logo{width:56px;height:56px}
.ed-loading__logo circle{animation:dot 1s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
.ed-loading__logo circle:nth-child(2){animation-delay:.15s}
.ed-loading__logo circle:nth-child(3){animation-delay:.3s}
.ed-loading__logo circle:nth-child(4){animation-delay:.45s}
@keyframes dot{50%{transform:scale(.6)}}

/* top bar */
.ed-top{height:60px;display:flex;align-items:center;gap:1rem;padding:0 1rem;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:30}
.ed-back{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--muted)}
.ed-back:hover{background:var(--gray);color:var(--text)}
.ed-logo{display:flex;align-items:center;gap:.4rem;font-weight:700;font-size:1.15rem;color:var(--ink);letter-spacing:-.02em}
.ed-logo svg{width:28px;height:28px}
.ed-doc{display:flex;flex-direction:column;line-height:1.25;padding-left:1rem;border-left:1px solid var(--line);min-width:0}
.ed-doc b{font-size:.88rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-doc small{font-size:.74rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-doc a{color:var(--primary);font-weight:600}
.ed-history{display:flex;gap:.2rem;margin-left:auto}
.ed-history button{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--text)}
.ed-history button:not(:disabled):hover{background:var(--gray)}
.ed-history button:disabled{opacity:.3;cursor:default}
.ed-sides{display:flex;background:var(--gray);border-radius:10px;padding:4px}
.ed-sides button{height:32px;padding:0 1rem;border-radius:8px;font-size:.82rem;font-weight:600;color:var(--muted);position:relative}
.ed-sides button.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.ed-sides button.is-locked::after{content:"🔒";font-size:.7rem;margin-left:.3rem}
.ed-top__right{display:flex;align-items:center;gap:.6rem;margin-left:auto}
.ed-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1;padding-right:.4rem}
.ed-price small{font-size:.68rem;color:var(--muted)}
.ed-price b{font-size:1.05rem;color:var(--ink)}

/* body layout */
.ed-body{display:flex;height:calc(100vh - 60px);height:calc(100dvh - 60px)}
.ed-rail{width:76px;flex:none;background:var(--ink);display:flex;flex-direction:column;gap:.2rem;padding:.6rem .4rem;overflow-y:auto}
.ed-rail button{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.6rem .2rem;border-radius:10px;color:#aeb3cf;font-size:.68rem;font-weight:500;transition:.15s}
.ed-rail button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ed-rail button:hover{color:#fff;background:rgba(255,255,255,.06)}
.ed-rail button.is-active{color:#fff;background:rgba(255,255,255,.12)}
.ed-rail button.is-active svg{stroke:var(--yellow)}

.ed-panel{width:300px;flex:none;background:#fff;border-right:1px solid var(--line);overflow-y:auto;position:relative}
.ed-panel__close{display:none}
.ed-sec{display:none;padding:1.2rem}
.ed-sec.is-active{display:block;animation:fade .2s ease}
@keyframes fade{from{opacity:0;transform:translateY(4px)}}
.ed-sec h4{font-size:1rem;color:var(--ink);margin-bottom:.4rem}
.ed-sec h5{font-size:.8rem;color:var(--ink);margin:1.3rem 0 .6rem;text-transform:uppercase;letter-spacing:.06em}
.ed-hint{font-size:.78rem;color:var(--muted);line-height:1.5;margin-bottom:.9rem}

.ed-fields{display:flex;flex-direction:column;gap:.65rem;margin-bottom:1rem}
.ed-field label{display:flex;justify-content:space-between;font-size:.74rem;font-weight:600;color:var(--muted);margin-bottom:.25rem}
.ed-field label button{color:var(--muted);font-size:.72rem;font-weight:500}
.ed-field label button:hover{color:#dc2626}
.ed-field input{width:100%;height:40px;border:1.5px solid var(--line);border-radius:9px;padding:0 .75rem;outline:none;font-size:.86rem;transition:border-color .15s,box-shadow .15s}
.ed-field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(228,0,124,.1)}
.ed-field.is-selected input{border-color:var(--primary);background:var(--primary-soft)}
.ed-empty{font-size:.82rem;color:var(--muted);padding:1rem;border:1.5px dashed var(--line);border-radius:10px;text-align:center}

.ed-textbtn{display:block;width:100%;text-align:left;padding:.8rem 1rem;border:1.5px solid var(--line);border-radius:10px;margin-bottom:.5rem;transition:.15s}
.ed-textbtn:hover{border-color:var(--primary);background:var(--primary-soft)}
.ed-textbtn--h{font-size:1.25rem;font-weight:700;color:var(--ink)}
.ed-textbtn--s{font-size:1rem;font-weight:600}
.ed-textbtn--b{font-size:.85rem}
.ed-combos{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.ed-combos button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;height:74px;border:1.5px solid var(--line);border-radius:10px;transition:.15s}
.ed-combos button:hover{border-color:var(--primary)}
.ed-combos b{font-size:1.05rem;color:var(--ink);line-height:1.1}
.ed-combos small{font-size:.66rem;color:var(--muted)}

.ed-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:1.4rem 1rem;border:2px dashed #d5d6dd;border-radius:14px;text-align:center;cursor:pointer;transition:.15s;margin-bottom:.7rem}
.ed-drop:hover,.ed-drop.is-over{border-color:var(--primary);background:var(--primary-soft)}
.ed-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ed-drop__icon{width:44px;height:44px;border-radius:12px;background:var(--gray);display:grid;place-items:center;font-size:1.3rem;color:var(--primary);margin-bottom:.3rem}
.ed-drop b{font-size:.88rem;color:var(--ink)}
.ed-drop small{font-size:.72rem;color:var(--muted)}
.ed-uploads{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}
.ed-uploads .ed-hint{grid-column:1/-1;margin:0}
.ed-uploads button{aspect-ratio:1;border:1.5px solid var(--line);border-radius:10px;background:var(--gray) center/contain no-repeat;background-origin:content-box;padding:6px;transition:.15s}
.ed-uploads button:hover{border-color:var(--primary)}
.ed-note{margin-top:1.2rem;padding:.8rem .9rem;border-radius:10px;background:#fff8d6;font-size:.76rem;line-height:1.5;color:#6b5500}
.ed-note b{display:block;color:#4d3d00;margin-bottom:.15rem}

.ed-shapes{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.ed-shapes button{aspect-ratio:1;border:1.5px solid var(--line);border-radius:10px;display:grid;place-items:center;transition:.15s}
.ed-shapes button:hover{border-color:var(--primary);background:var(--primary-soft)}
.ed-shapes svg{width:26px;height:26px;fill:var(--ink);stroke:var(--ink)}
.ed-shapes--icons svg{width:22px;height:22px;stroke:none}

.ed-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:.4rem;margin-bottom:.8rem}
.ed-swatches button,.sw{aspect-ratio:1;border-radius:8px;border:1px solid rgba(0,0,0,.1);transition:transform .15s;position:relative}
.ed-swatches button:hover,.sw:hover{transform:scale(1.1)}
.ed-swatches button.is-active,.sw.is-active{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--primary)}
.ed-color{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border:1.5px solid var(--line);border-radius:10px;cursor:pointer;margin-bottom:.8rem;font-size:.82rem}
.ed-color input{width:32px;height:32px;border:0;border-radius:8px;padding:0;background:none;cursor:pointer}
.ed-color input::-webkit-color-swatch-wrapper{padding:0}
.ed-color input::-webkit-color-swatch{border:1px solid rgba(0,0,0,.15);border-radius:7px}

.ed-seg{display:flex;background:var(--gray);border-radius:10px;padding:4px;margin-bottom:.9rem}
.ed-seg button{flex:1;height:32px;border-radius:8px;font-size:.76rem;font-weight:600;color:var(--muted)}
.ed-seg button.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.ed-form{display:flex;flex-direction:column;gap:.6rem;margin-bottom:.8rem}
.ed-form label{font-size:.74rem;font-weight:600;color:var(--muted);display:flex;flex-direction:column;gap:.25rem}
.ed-form input{height:40px;border:1.5px solid var(--line);border-radius:9px;padding:0 .75rem;outline:none;font-size:.86rem;font-weight:400;color:var(--text)}
.ed-form input:focus{border-color:var(--primary)}

.ed-tpls{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.ed-tpls button{display:flex;flex-direction:column;gap:.3rem;padding:.4rem;border:1.5px solid var(--line);border-radius:10px;transition:.15s;text-align:left}
.ed-tpls button:hover{border-color:var(--primary)}
.ed-tpls button.is-current{border-color:var(--primary);background:var(--primary-soft)}
.ed-tpls img{width:100%;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.12);background:var(--gray);aspect-ratio:85/55;object-fit:cover}
.ed-tpls.is-sticker img{aspect-ratio:1;border-radius:50%}
.ed-tpls span{font-size:.7rem;color:var(--muted);padding:0 .15rem}

/* stage */
.ed-stage{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;background:radial-gradient(circle at 50% 40%,#f3f4f7,var(--stage))}
.ed-canvas-wrap{position:relative;margin:auto;box-shadow:0 2px 4px rgba(0,0,0,.06),0 20px 50px -12px rgba(21,26,58,.35)}
.ed-canvas-wrap .canvas-container{display:block}
.ed-guides{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.ed-guides.is-off{display:none}
.g-bleed{display:none}
.g-trim{position:absolute;inset:var(--b);border:1.5px solid var(--magenta);border-radius:var(--r,0);box-shadow:0 0 0 9999px rgba(255,255,255,.55)}
.g-safe{position:absolute;inset:var(--s);border:1.5px dashed var(--cyan);border-radius:var(--r,0)}
.ed-snap{position:absolute;background:var(--magenta);pointer-events:none;opacity:0;transition:opacity .1s}
.ed-snap.is-on{opacity:1}
.ed-snap--v{top:0;bottom:0;left:50%;width:1px}
.ed-snap--h{left:0;right:0;top:50%;height:1px}
.ed-stage__bar{display:flex;align-items:center;gap:1.2rem;padding:.6rem 1.2rem;border-top:1px solid var(--line);background:#fff;font-size:.74rem;color:var(--muted);flex-wrap:wrap}
.ed-legend{display:flex;gap:1rem;flex-wrap:wrap}
.ed-legend span{display:flex;align-items:center;gap:.35rem}
.lg{width:16px;height:10px;display:inline-block;border-radius:2px}
.lg--bleed{background:#fff;border:1px solid #ccc;box-shadow:inset 0 0 0 3px #eee}
.lg--trim{border:1.5px solid var(--magenta)}
.lg--safe{border:1.5px dashed var(--cyan)}
.ed-toggle{display:flex;align-items:center;gap:.35rem;cursor:pointer;margin-left:auto}
.ed-toggle input{accent-color:var(--primary)}
.ed-size{font-weight:600;color:var(--ink)}

/* properties */
.ed-props{width:280px;flex:none;background:#fff;border-left:1px solid var(--line);overflow-y:auto;padding:1.2rem}
.ep-empty{text-align:center;color:var(--muted);font-size:.8rem;padding-top:1.5rem}
.ep-empty svg{width:44px;height:44px;margin:0 auto .7rem;display:block;stroke:#c5c8d3;fill:none;stroke-width:1.5}
.ep-keys{text-align:left;margin-top:1.5rem;font-size:.74rem;display:grid;gap:.45rem}
.ep-keys div{display:flex;justify-content:space-between;gap:.5rem}
kbd{font-family:inherit;font-size:.68rem;background:var(--gray);border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:.05rem .4rem;color:var(--text)}
.ep-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.ep-head b{font-size:.92rem;color:var(--ink)}
.ep-actions{display:flex;gap:.2rem}
.ep-actions button{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}
.ep-actions button:hover{background:var(--gray);color:var(--text)}
.ep-actions button.danger:hover{background:#fee2e2;color:#dc2626}
.ep-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ep-group{margin-bottom:1.05rem}
.ep-label{display:flex;justify-content:space-between;font-size:.72rem;font-weight:600;color:var(--muted);margin-bottom:.4rem;text-transform:uppercase;letter-spacing:.04em}
.ep-label span{text-transform:none;letter-spacing:0;color:var(--text);font-weight:500}
.ed-select{width:100%;height:40px;border:1.5px solid var(--line);border-radius:9px;padding:0 .7rem;outline:none;background:#fff;cursor:pointer;font-size:.86rem}
.ed-select:focus{border-color:var(--primary)}
.ep-row{display:flex;gap:.4rem}
.ep-num{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:9px;overflow:hidden;height:40px}
.ep-num button{width:34px;height:100%;font-size:1.1rem;color:var(--muted)}
.ep-num button:hover{background:var(--gray);color:var(--text)}
.ep-num input{width:52px;border:0;text-align:center;outline:none;height:100%;font-size:.86rem}
.ep-tog{display:flex;border:1.5px solid var(--line);border-radius:9px;overflow:hidden;height:40px;flex:1}
.ep-tog button{flex:1;display:grid;place-items:center;color:var(--muted);border-right:1px solid var(--line);font-size:.9rem}
.ep-tog button:last-child{border-right:0}
.ep-tog button.is-on{background:var(--primary-soft);color:var(--primary)}
.ep-tog svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ep-colors{display:grid;grid-template-columns:repeat(7,1fr);gap:.35rem}
.ep-colors label{aspect-ratio:1;border-radius:8px;border:1.5px dashed #c5c8d3;display:grid;place-items:center;cursor:pointer;position:relative;font-size:.9rem;color:var(--muted);overflow:hidden}
.ep-colors label input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ep-range{width:100%;accent-color:var(--primary)}
.ep-textarea{width:100%;border:1.5px solid var(--line);border-radius:9px;padding:.55rem .7rem;outline:none;resize:vertical;min-height:44px;font-size:.86rem}
.ep-textarea:focus{border-color:var(--primary)}
.ep-grid2{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}
.ep-btn{height:38px;border:1.5px solid var(--line);border-radius:9px;font-size:.78rem;font-weight:500;display:flex;align-items:center;justify-content:center;gap:.35rem;transition:.15s}
.ep-btn:hover{border-color:var(--primary);color:var(--primary)}
.ep-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ep-info{font-size:.76rem;line-height:1.5;padding:.7rem .8rem;border-radius:10px;background:var(--primary-soft);color:#8a0a4f;margin-bottom:1rem}

/* modals */
.emodal{position:fixed;inset:0;z-index:300;background:rgba(15,19,48,.55);display:grid;place-items:center;padding:1rem;animation:fade .2s}
.emodal__box{position:relative;background:#fff;border-radius:18px;padding:1.5rem;width:min(460px,100%);max-height:calc(100dvh - 2rem);overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.emodal__box--wide{width:min(980px,100%)}
.emodal__box h3{font-size:1.2rem;color:var(--ink);margin-bottom:.4rem;padding-right:2rem}
.emodal__close{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;background:var(--gray);font-size:1.4rem;line-height:1}
.emodal__close:hover{background:var(--primary-soft);color:var(--primary)}
.emodal__foot{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}
.ed-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;padding:1.8rem;border-radius:14px;background:linear-gradient(145deg,#f4f3f1,#e5e2dc)}
.ed-preview figure{text-align:center}
.ed-preview img{width:100%;max-width:440px;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,.08),0 20px 40px -12px rgba(0,0,0,.4)}
.ed-preview.is-sticker img{border-radius:50%;max-width:320px}
.ed-preview.is-oval img{border-radius:14px}
.ed-preview figcaption{font-size:.78rem;color:var(--muted);margin-top:.6rem}
.ed-preview--sm{padding:1.2rem;gap:1rem;grid-template-columns:1fr}
.ed-preview--sm img{max-width:360px}
.ed-order{display:grid;grid-template-columns:1.1fr 1fr;gap:1.5rem;margin-top:1rem}
.ed-warn{margin-top:.8rem;padding:.75rem .9rem;border-radius:10px;background:#fff4e5;color:#8a4b00;font-size:.78rem;line-height:1.5}
.ed-warn b{display:block;margin-bottom:.15rem}
.ed-sum{border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;margin-bottom:.8rem;font-size:.8rem}
.ed-sum b{display:block;font-size:.92rem;color:var(--ink);margin-bottom:.4rem}
.ed-sum div{display:flex;justify-content:space-between;padding:.25rem 0;border-bottom:1px dashed var(--line)}
.ed-sum div:last-child{border:0}
.ed-sum span{color:var(--muted)}
.ed-sum a{color:var(--primary);font-weight:600;font-size:.76rem}
.ed-lbl{display:flex;flex-direction:column;gap:.3rem;font-size:.76rem;font-weight:600;color:var(--muted);margin-bottom:.8rem}
.ed-lbl small{font-weight:400}
.ed-textarea{border:1.5px solid var(--line);border-radius:9px;padding:.55rem .7rem;outline:none;resize:vertical;font-size:.85rem;font-weight:400;color:var(--text)}
.ed-textarea:focus{border-color:var(--primary)}
.ed-total{display:flex;justify-content:space-between;align-items:flex-end;padding:.8rem 0;border-top:1px solid var(--line);margin-bottom:.6rem}
.ed-total span{font-size:.8rem;color:var(--muted)}
.ed-total b{font-size:1.6rem;color:var(--ink);letter-spacing:-.02em;line-height:1}
.ed-check{display:flex;gap:.55rem;align-items:flex-start;font-size:.8rem;line-height:1.45;margin-bottom:.6rem;cursor:pointer}
.ed-check input{width:17px;height:17px;margin-top:2px;flex:none;accent-color:var(--primary)}
.ed-status{font-size:.78rem;color:var(--muted);text-align:center;margin-top:.6rem;min-height:1.2em}
.ed-status.err{color:#b45309}

.ed-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,160%);z-index:400;background:var(--ink);color:#fff;padding:.75rem 1.1rem;border-radius:12px;font-size:.84rem;box-shadow:0 12px 30px rgba(0,0,0,.25);transition:transform .35s cubic-bezier(.2,.9,.3,1.2);display:flex;align-items:center;gap:.8rem;max-width:calc(100% - 2rem)}
.ed-toast.is-show{transform:translate(-50%,0)}
.ed-toast button{color:var(--yellow);font-weight:600;font-size:.8rem}

/* responsive */
@media (max-width:1180px){
  .ed-props{width:250px;padding:1rem}
  .ed-panel{width:270px}
  .ed-price{display:none}
}
@media (max-width:900px){
  html,body{overflow:auto;overflow-x:hidden;max-width:100%}
  .ed-top{height:auto;flex-wrap:wrap;gap:.5rem;padding:.5rem .7rem}
  .ed-logo span,.ed-doc,.ed-logo{display:none}
  .ed-history{margin-left:0;order:2}
  .ed-sides{order:3;margin-left:auto}
  .ed-top__right{order:4;width:100%;margin:0;justify-content:space-between}
  .ed-price{display:flex;align-items:flex-start}
  #previewBtn span{display:none}
  #orderBtn{flex:1}
  .ed-body{flex-direction:column;height:auto;min-height:calc(100dvh - 110px);padding-bottom:70px}
  .ed-rail{position:fixed;left:0;right:0;bottom:0;width:auto;height:64px;flex-direction:row;justify-content:space-around;padding:.3rem;z-index:40;overflow-x:auto}
  .ed-rail button{flex:1;min-width:52px;padding:.35rem .1rem;font-size:.62rem}
  .ed-rail button svg{width:20px;height:20px}
  .ed-panel{position:fixed;left:0;right:0;bottom:64px;width:auto;max-height:58dvh;border:0;border-radius:18px 18px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.18);z-index:35;transform:translateY(110%);transition:transform .3s ease}
  .ed-panel.is-open{transform:none}
  .ed-panel__close{display:grid;place-items:center;position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;background:var(--gray);font-size:1.3rem;z-index:2}
  .ed-stage{flex:none;min-height:auto;padding:1rem 0}
  .ed-stage__bar{border:0;background:transparent;justify-content:center;gap:.6rem}
  .ed-legend{gap:.6rem}
  .ed-toggle{margin-left:0}
  .ed-props{width:auto;border:0;border-top:1px solid var(--line)}
  .ed-props:has(.ep-empty){display:none}
  .ed-order{grid-template-columns:1fr}
}
