.ed{position:fixed;inset:0;z-index:60;display:grid;grid-template-rows:auto 1fr;background:#f4eef2;color:var(--ink);font-family:var(--sans)}
.ed .ic.xs{width:14px;height:14px}
.ed .icon-btn.xs{width:30px;height:30px;border-radius:9px}
.ed .icon-btn:disabled{opacity:.4;cursor:default;background:var(--surface);color:var(--ink-2);border-color:var(--line-2)}
.ed-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.6rem;padding:.55rem .9rem;background:#fff;border-bottom:1px solid var(--line);min-height:60px;position:relative;z-index:8}
.ed-lead{display:flex;align-items:center;gap:.5rem;min-width:0}
.ed-mid{display:flex;align-items:center;justify-content:center;gap:.6rem;justify-self:center}
.ed-title{flex:1 1 180px;min-width:0;max-width:320px;min-height:40px;padding:.45rem .7rem;border:1.5px solid transparent;border-radius:10px;background:transparent;font:600 1rem var(--sans);color:var(--ink)}
.ed-title:hover{border-color:var(--line-2)}.ed-title:focus{outline:0;border-color:var(--brand);background:#fff}
.ed-status{flex:0 0 auto;width:7.5rem;font-size:.78rem;color:var(--muted);white-space:nowrap;display:inline-flex;align-items:center;gap:.35rem;overflow:hidden;text-overflow:ellipsis}
.ed-status::before{flex:none}
.ed-status>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ed-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.ed-status[data-state=ok]::before,.ed-status[data-state=demo]::before{background:var(--ok)}
.ed-status[data-state=dirty]::before{background:var(--warn)}.ed-status[data-state=saving]::before{background:var(--gold-hi)}
.ed-status[data-state=err]{color:var(--bad)}.ed-status[data-state=err]::before{background:var(--bad)}
.ed-grp{display:flex;gap:.35rem;align-items:center}
.ed-end{justify-self:end;min-width:0}
.ed-seg{display:flex;padding:3px;border-radius:12px;background:var(--bg-2);border:1px solid var(--line)}
.ed-seg button{display:grid;place-items:center;width:42px;height:36px;border:0;border-radius:9px;background:none;color:var(--muted);cursor:pointer}
.ed-seg button.on{background:#fff;color:var(--brand);box-shadow:var(--sh-1)}
.ed-zoom .btn{min-width:84px}.ed-zoom .btn.on{border-color:var(--brand);color:var(--brand)}
.ed-demo{display:flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:600;color:var(--ink-2)}
.ed-pop{position:relative}
.ed-pop>summary{list-style:none;cursor:pointer;position:relative}
.ed-pop>summary::-webkit-details-marker{display:none}
.ed-dot{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--ok);border:2px solid #fff}
.ed-pop-box{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 90px);overflow:auto;padding:1rem;display:grid;gap:.8rem;z-index:20;box-shadow:var(--sh-3)}
.ed-pop-box .slug{width:100%}.ed-pop-box .slug input{width:100%}
.ed-sub{border-top:1px solid var(--line);padding-top:.6rem}
.ed-sub>summary{display:flex;gap:.45rem;align-items:center;cursor:pointer;font-weight:600;min-height:40px}
.ed-sub[open]>summary{margin-bottom:.5rem}
.ed-flash{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:30;max-width:90vw}
.ed-flash p{margin:0;box-shadow:var(--sh-2)}
.ed-body{display:grid;grid-template-columns:300px minmax(0,1fr) 340px;min-height:0}
.ed-panel{background:#fff;overflow-x:hidden;display:flex;flex-direction:column;min-height:0;min-width:0}
.ed-left{border-right:1px solid var(--line)}.ed-right{border-left:1px solid var(--line)}
.ed-scroll{flex:1;overflow:auto;padding:1rem;overscroll-behavior:contain}
.ed-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
.ed-tab{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.6rem .2rem;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:600 .74rem var(--sans);cursor:pointer;min-height:56px}
.ed-tab.on{color:var(--brand);border-bottom-color:var(--brand)}
.ed-h{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:1.1rem 0 .55rem}
.ed-search{width:100%;min-height:40px;padding:.5rem .75rem;border:1.5px solid var(--line-2);border-radius:10px;font:inherit}
.ed-search:focus{outline:0;border-color:var(--brand)}
.ed-presets{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.ed-preset{display:grid;gap:.4rem;padding:.5rem;border:1px solid var(--line);border-radius:12px;background:var(--bg);font:600 .74rem var(--sans);color:var(--ink-2);cursor:pointer;text-align:left}
.ed-preset:hover,.ed-lib-item:hover{border-color:var(--brand);color:var(--brand)}
.ed-preset-th{display:grid;gap:3px}
.ed-preset-th i{display:flex;align-items:center;gap:4px;height:16px;border-radius:5px;background:#fff;border:1px solid var(--line);padding:0 4px;color:var(--brand)}
.ed-preset-th .ic{width:10px;height:10px}
.ed-preset-th i::after{content:"";flex:1;height:3px;border-radius:2px;background:var(--line-2)}
.ed-lib{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem}
.ed-lib-item{display:grid;gap:.3rem;padding:.4rem;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:grab;color:var(--ink-2);text-align:center}
.ed-th{display:grid;justify-items:center;gap:3px;padding:.5rem .3rem;border-radius:8px;background:linear-gradient(160deg,var(--bg-2),#fff);color:var(--brand)}
.ed-th .ic{width:20px;height:20px}
.ed-th i{display:block;height:3px;border-radius:2px;background:var(--line-2)}
.ed-th-l1{width:70%}.ed-th-l2{width:45%}
.ed-lib-name{font:600 .7rem/1.2 var(--sans);overflow-wrap:anywhere}
.ed-layers{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}
.ed-layer{display:flex;align-items:center;gap:.25rem;padding:.25rem;border:1px solid var(--line);border-radius:12px;background:#fff}
.ed-layer.on{border-color:var(--brand);background:var(--brand-soft)}
.ed-layer.over{box-shadow:0 -3px 0 var(--brand)}
.ed-layer.dragging{opacity:.4}
.ed-layer.is-off .ed-layer-name{opacity:.45}
.ed-grip{color:var(--muted);cursor:grab;display:grid}
.ed-layer.is-lock .ed-grip{visibility:hidden}
.ed-layer-name{flex:1;min-width:0;display:flex;align-items:center;gap:.5rem;padding:.3rem;border:0;background:none;text-align:left;cursor:pointer;color:var(--ink);min-height:40px}
.ed-layer-name>span{min-width:0;display:grid}
.ed-layer-name b{font-size:.82rem}
.ed-layer-name small{font-size:.72rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-layer-dev{display:flex;gap:2px;margin-left:auto;color:var(--bad)}
.ed-layer-acts{display:flex;gap:2px}
.ed-layer-acts .icon-btn{width:30px;height:30px;border:0;background:none}
.ed-hint{font-size:.75rem;color:var(--muted);margin:.6rem 0 0;line-height:1.45}
.ed-empty{display:grid;justify-items:center;gap:.6rem;text-align:center;color:var(--muted);padding:2rem 1rem}
.ed-empty .ic.xl{color:var(--line-2)}
.ed-stage{position:relative;overflow:auto;padding:28px 24px 80px;display:grid;justify-content:center;align-content:start;background:radial-gradient(circle at 1px 1px,rgba(122,18,57,.08) 1px,transparent 0) 0 0/22px 22px}
.ed-scaler{position:relative}
.ed-device{position:absolute;top:0;left:0;transform-origin:0 0;box-sizing:content-box;background:#fff;box-shadow:0 30px 70px rgba(45,18,56,.22)}
.ed-device.d-mobile{border:12px solid #1d0f24;border-radius:48px}
.ed-device.d-mobile::before{content:"";position:absolute;top:8px;left:50%;width:96px;height:24px;margin-left:-48px;border-radius:14px;background:#1d0f24;z-index:7}
.ed-device.d-tablet{border:16px solid #1d0f24;border-radius:30px}
.ed-device.d-desktop{border:1px solid #d9c9d3;border-radius:12px}
.ed-chrome{display:none;align-items:center;gap:6px;height:38px;padding:0 14px;background:#f3eef1;border-bottom:1px solid #e3d6de;border-radius:12px 12px 0 0}
.d-desktop .ed-chrome{display:flex}
.ed-chrome i{width:11px;height:11px;border-radius:50%;background:#e2c9d3}
.ed-chrome i:nth-child(1){background:#ff6b6b}.ed-chrome i:nth-child(2){background:#ffcf5c}.ed-chrome i:nth-child(3){background:#4fd27a}
.ed-url{margin-left:14px;flex:1;max-width:460px;padding:4px 12px;border-radius:999px;background:#fff;font-size:12px;color:var(--muted)}
.ed-screen{overflow:hidden;border-radius:inherit;position:relative}
.d-mobile .ed-screen{border-radius:36px}.d-tablet .ed-screen{border-radius:14px}.d-desktop .ed-screen{border-radius:0 0 12px 12px}
.ed-inv{min-height:780px}
.d-tablet .ed-inv{min-height:1080px}.d-desktop .ed-inv{min-height:760px}
.ed-device:not(.d-mobile) .ed-inv.fr-column{max-width:500px;margin-inline:auto;box-shadow:0 30px 80px rgba(0,0,0,.25);z-index:1}
.ed-screen>.inv-backdrop{position:absolute}
.d-mobile .ed-screen>.inv-backdrop{display:none}
.ed-inv [data-b]{cursor:pointer;outline:2px solid transparent;outline-offset:-2px;transition:outline-color .12s}
.ed-inv [data-b]:hover{outline:2px dashed color-mix(in srgb,var(--brand) 55%,transparent)}
.ed-inv [data-b].is-sel{outline:2px solid var(--brand)}
.ed-inv .anim-fade,.ed-inv .anim-slide,.ed-inv .anim-zoom,.ed-inv .ax-flip{opacity:1;transform:none}
.ed-inv .inv-wm{pointer-events:none}
.ed-seltools{position:absolute;z-index:6;display:flex;align-items:center;gap:3px;padding:4px;border-radius:12px;background:#2d1238;box-shadow:var(--sh-2)}
.ed-seltools .icon-btn{background:transparent;border:0;color:#fff}
.ed-seltools .icon-btn:hover{background:rgba(255,255,255,.14);color:#fff}
.ed-seltag{padding:0 .5rem;color:#fff;font:700 .72rem var(--sans);white-space:nowrap}
.ed-loader{position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad);transform:scaleX(0);transform-origin:0 50%;transition:transform .3s}
.ed-stage.busy .ed-loader{transform:scaleX(.7)}
.ed-insp-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.8rem}
.ed-insp-title{display:flex;align-items:center;gap:.45rem;min-width:0}
.ed-insp-title .ic{color:var(--brand)}
.ed-insp-tools{margin-left:auto;display:flex;gap:.2rem}
.ed-insp-tools .icon-btn{width:34px;height:34px}
.ed-itabs{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;border-radius:12px;background:var(--bg-2);margin-bottom:1rem}
.ed-itabs button{min-height:36px;border:0;border-radius:9px;background:none;font:600 .8rem var(--sans);color:var(--muted);cursor:pointer}
.ed-itabs button.on{background:#fff;color:var(--brand);box-shadow:var(--sh-1)}
.ed-locked{display:grid;justify-items:center;gap:.6rem;text-align:center;color:var(--muted)}
.ed-fld{display:grid;gap:.3rem;margin-bottom:.75rem;font-size:.8rem;font-weight:600;color:var(--ink-2)}
.ed-lbl{font-size:.76rem;font-weight:700;color:var(--ink-2)}
.ed-fld input:not([type=color]):not([type=range]):not([type=checkbox]):not([type=file]),.ed-fld textarea,.ed-fld select{width:100%;min-height:40px;padding:.45rem .65rem;border:1.5px solid var(--line-2);border-radius:10px;background:#fff;color:var(--ink);font:400 .88rem/1.4 var(--sans)}
.ed-fld textarea{resize:vertical;min-height:80px}
.ed-fld input:focus,.ed-fld textarea:focus,.ed-fld select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}
.ed-fld input.bad{border-color:var(--bad)}
.ed-segs{display:flex;flex-wrap:wrap;gap:3px;padding:3px;border-radius:10px;background:var(--bg-2)}
.ed-segs button{flex:1 1 auto;min-height:34px;padding:0 .5rem;border:0;border-radius:8px;background:none;font:600 .74rem var(--sans);color:var(--ink-2);cursor:pointer;display:inline-grid;place-items:center}
.ed-segs button.on{background:#fff;color:var(--brand);box-shadow:var(--sh-1)}
.ed-color{display:flex;align-items:center;gap:.35rem}
.ed-color input[type=color]{width:40px;height:36px;padding:2px;border:1.5px solid var(--line-2);border-radius:9px;background:#fff;cursor:pointer;flex:none}
.ed .ed-fld .ed-color input.ed-hex{flex:1 1 auto;width:auto!important;min-width:0;font-family:ui-monospace,monospace!important;text-transform:lowercase}
.ed-range{display:flex;align-items:center;gap:.35rem}
.ed-range input[type=range]{flex:1 1 auto;min-width:60px;accent-color:var(--brand)}
.ed .ed-fld .ed-range input.ed-num{width:62px!important;flex:none;padding:.35rem .4rem}
.ed-range small{min-width:1.4rem;color:var(--muted);font-weight:500}
.ed-row{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}
.ed-toggle{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600;min-height:32px;cursor:pointer}
.ed-toggle input{accent-color:var(--brand);width:18px;height:18px}
.ed-group{border:1px solid var(--line);border-radius:12px;margin-bottom:.6rem;background:#fff}
.ed-group>summary{display:flex;align-items:center;gap:.5rem;padding:.65rem .8rem;cursor:pointer;font:700 .82rem var(--sans);list-style:none;min-height:44px}
.ed-group>summary::-webkit-details-marker{display:none}
.ed-group>summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
.ed-group[open]>summary::after{transform:rotate(225deg)}
.ed-group>summary .ic{color:var(--brand)}
.ed-group[open]{padding-bottom:.25rem}
.ed-group>:not(summary){margin-left:.8rem;margin-right:.8rem}
.ed-group .ed-group{margin-left:0;margin-right:0}
.ed-icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:4px;padding-bottom:.6rem}
.ed-ic{display:grid;place-items:center;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink-2);cursor:pointer}
.ed-ic.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.ed-items{display:grid;gap:.5rem;margin-bottom:.5rem}
.ed-item{padding:.6rem;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.ed-item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}
.ed-item-head span{display:flex;gap:2px}
.ed-item .ed-fld{margin-bottom:.45rem}
.ed-swatches{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}
.ed-sw{display:flex;align-items:center;gap:2px}
.ed-sw input{width:36px;height:36px;padding:2px;border:1.5px solid var(--line-2);border-radius:50%;background:#fff}
.ed-media .src-tools{margin:0}
.ed-media label.btn{position:relative;overflow:hidden;cursor:pointer}
.ed-file{position:absolute;inset:0;opacity:0;cursor:pointer}
.ed-thumb{position:relative;display:inline-block}
.ed-thumb img{display:block;width:100%;max-height:160px;object-fit:cover;border-radius:10px}
.ed-thumb .icon-btn{position:absolute;top:6px;right:6px}
.ed-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem}
.ed-thumbs img{aspect-ratio:1;height:auto}
.ed-devs{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}
.ed-devtog{display:grid;justify-items:center;gap:.25rem;padding:.6rem .3rem;border:1.5px solid var(--line-2);border-radius:12px;background:#fff;color:var(--muted);font:600 .72rem var(--sans);cursor:pointer;text-decoration:line-through}
.ed-devtog.on{border-color:var(--brand);color:var(--brand);background:var(--brand-soft);text-decoration:none}
.ed-pals{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem}
.ed-pal{display:flex;height:34px;padding:0;border:1px solid var(--line-2);border-radius:10px;overflow:hidden;cursor:pointer;background:none}
.ed-pal svg{flex:1;height:100%}
.ed-pal:hover{box-shadow:0 0 0 2px var(--brand)}
.ed-pairs{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.75rem}
.ed-pair{display:grid;gap:.1rem;padding:.5rem;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;text-align:left;color:var(--ink)}
.ed-pair b{font-size:1.35rem;font-weight:500;line-height:1.1}
.ed-pair small{font-size:.66rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-pair.on{border-color:var(--brand);background:var(--brand-soft)}
.ed-right .btn.sm.ghost{margin-top:.25rem}
.ed .src-panel{margin-top:.5rem}
.ed-dock{display:none}
@media (max-width:1180px){.ed-body{grid-template-columns:270px minmax(0,1fr) 300px}.ed-zoom{display:none}}
@media (max-width:900px){
  .ed-top{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lead end" "mid mid";gap:.4rem .5rem;padding:.45rem .6rem}
  .ed-lead{grid-area:lead}
  .ed-end{grid-area:end}
  .ed-mid{grid-area:mid}
  .ed-title{max-width:none}
  .ed-status{width:auto;font-size:0;gap:0}
  .ed-pop>summary span,.ed-demo span{display:none}
  .ed-demo{font-size:0}
  .ed-body{grid-template-columns:1fr;position:relative}
  .ed-stage{padding:16px 12px 96px}
  .ed-panel{position:fixed;left:0;right:0;bottom:64px;height:min(62vh,560px);z-index:12;border:0;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(45,18,56,.22);transform:translateY(110%);transition:transform .25s ease;visibility:hidden}
  .ed[data-sheet=add] .ed-left,.ed[data-sheet=layers] .ed-left,.ed[data-sheet=theme] .ed-left,.ed[data-sheet=edit] .ed-right{transform:none;visibility:visible}
  .ed-left .ed-tabs{display:none}
  .ed-dock{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;height:64px;z-index:13;background:#fff;border-top:1px solid var(--line)}
  .ed-dock-btn{display:grid;justify-items:center;align-content:center;gap:.15rem;border:0;background:none;color:var(--muted);font:600 .7rem var(--sans);cursor:pointer}
  .ed-dock-btn.on{color:var(--brand)}
  .ed-lib{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:480px){.ed-lib{grid-template-columns:repeat(3,1fr)}.ed-seg button{width:38px}}
@media (prefers-reduced-motion:reduce){.ed-panel{transition:none}}
.ed-inv iframe{pointer-events:none}
.ed-audio{display:flex;align-items:center;gap:.35rem}.ed-audio audio{flex:1;min-width:0;height:36px}
.ed-music .ed-audio{flex-wrap:wrap}.ed-mu-now{flex:1 1 100%;font:600 .84rem/1.2 var(--sans);color:var(--ink)}
.ed-tracks{list-style:none;margin:0;padding:0;display:grid;gap:.3rem;max-height:260px;overflow:auto}
.ed-tracks li{display:flex;align-items:center;gap:.5rem;padding:.35rem .5rem;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.ed-tracks li.on{border-color:var(--brand);background:var(--brand-soft)}
.ed-tracks .on-play{background:var(--brand);color:var(--brand-ink)}
.ed-tr-tx{flex:1;min-width:0;display:grid}.ed-tr-tx b,.ed-tr-tx small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ed-tr-tx b{font-size:.84rem}.ed-tr-tx small{color:var(--muted);font-size:.74rem}
.ed-tr-on{color:var(--brand);font-weight:700;font-size:.74rem}
.ed-skins{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem}
.ed-skin{border:1px solid var(--line-2);background:var(--surface);border-radius:12px;padding:.6rem .5rem;font:600 .82rem/1.1 var(--sans);color:var(--ink-2);cursor:pointer;text-align:left;min-height:44px;display:flex;align-items:center;gap:.45rem}
.ed-skin::before{content:"";flex:none;width:18px;height:18px;border-radius:6px;background:var(--sw,#ddd);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.ed-skin.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft);color:var(--brand-ink)}
.sk-prev-classic{--sw:#fff}.sk-prev-navy{--sw:linear-gradient(135deg,#f4efe6 50%,#1f2f57 50%)}.sk-prev-watercolor{--sw:radial-gradient(circle at 30% 30%,#c7b48a,#f6f4ec)}.sk-prev-editorial{--sw:linear-gradient(135deg,#ece8e1 50%,#1b1b1b 50%)}
.sk-prev-glass{--sw:linear-gradient(135deg,#9fd0a0,#e3eee2)}.sk-prev-silk{--sw:linear-gradient(115deg,#efe6da,#fff 50%,#c8a882)}.sk-prev-boho{--sw:linear-gradient(135deg,#f3e9dc 50%,#b5653f 50%)}.sk-prev-brocade{--sw:linear-gradient(135deg,#5c0f1a 50%,#d4af37 50%)}
.sk-prev-midnight{--sw:linear-gradient(135deg,#0f1a2e 60%,#c9a96e 60%)}.sk-prev-pastel{--sw:linear-gradient(135deg,#f4a7b9 50%,#9cc6e8 50%)}.sk-prev-lilac{--sw:linear-gradient(135deg,#b79ad6,#f7f2fb)}.sk-prev-olive{--sw:linear-gradient(135deg,#f3f1e7 50%,#6b7448 50%)}
.sk-prev-party{--sw:linear-gradient(135deg,#ff5d73 33%,#ffc145 33% 66%,#7c5cff 66%)}.sk-prev-noir{--sw:linear-gradient(135deg,#121212 60%,#d4af37 60%)}.sk-prev-marble{--sw:linear-gradient(135deg,#f8f4e8,#d9c28a)}.sk-prev-lotus{--sw:linear-gradient(135deg,#fbf3f4 45%,#e58fa8 45% 75%,#d8b26a 75%)}.sk-prev-toile{--sw:repeating-linear-gradient(45deg,#f6efe3 0 6px,#a8242f 6px 8px)}.sk-prev-mahal{--sw:linear-gradient(135deg,#7a1630 45%,#c9a24e 45% 70%,#f7e7d4 70%)}.sk-prev-ribbon{--sw:linear-gradient(135deg,#fbfcf8 45%,#c9d6a8 45% 70%,#5e7d3a 70%)}.sk-prev-farm{--sw:linear-gradient(180deg,#bfe3f5 50%,#6cb64a 50% 80%,#c8412b 80%)}.sk-prev-neon{--sw:linear-gradient(135deg,#2a0f2b 50%,#ff3ea5 50% 75%,#3ee6ff 75%)}
.ed-intros{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.6rem}
.ed-intro{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:.45rem .8rem;font:600 .8rem/1 var(--sans);color:var(--ink-2);cursor:pointer;min-height:36px}
.ed-intro.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.ed-dk-add{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem;margin-bottom:.6rem}
.ed-dk-add .btn{justify-content:center}
.ed-orn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:.35rem;max-height:240px;overflow:auto;padding:.4rem;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.ed-orn-btn{display:grid;place-items:center;aspect-ratio:1;border:1px solid transparent;border-radius:10px;background:var(--surface);cursor:pointer;padding:6px}
.ed-orn-btn:hover{border-color:var(--brand)}
.ed-orn-btn .orn,.ed-dk-thumb .orn{width:100%;height:100%}
.ed-dk-picker{margin-bottom:.6rem}
.ed-dk-list{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.ed-dk-list>li:not(.ed-dk-ed){display:flex;align-items:center;gap:.35rem;border:1px solid var(--line);border-radius:12px;padding:.3rem .35rem;background:var(--surface)}
.ed-dk-list>li.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.ed-dk-pick{flex:1;min-width:0;display:flex;align-items:center;gap:.55rem;border:0;background:none;cursor:pointer;text-align:left;font:500 .85rem/1.2 var(--sans);color:var(--ink);padding:.2rem;min-height:40px}
.ed-dk-pick span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-dk-thumb{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--bg-2);padding:4px;color:var(--brand)}
.ed-dk-acts{display:flex;gap:.2rem}
.ed-dk-ed{display:grid;gap:.55rem;padding:.75rem;border-radius:12px;background:var(--bg-2)}
.ed-dk-orn .ed-orn-grid{max-height:150px}
.ed-inv .dk-h{position:absolute;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand-hi);color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);z-index:6;line-height:0;cursor:nwse-resize;touch-action:none}
.ed-inv .dk-h .ic{width:14px;height:14px}
.ed-inv .dk-rz{right:-13px;bottom:-13px}
.ed-inv .dk-rt{left:50%;top:-34px;margin-left:-13px;cursor:grab}
.ed-inv .dk{touch-action:none}

.ed-orn{display:grid;gap:.5rem}
.ed-orn-q{width:100%;min-height:40px;border:1px solid var(--line-2);border-radius:10px;padding:0 .7rem;font:inherit}
.ed-orn-cats{width:100%;min-height:40px;border:1px solid var(--line-2);border-radius:10px;padding:0 .7rem;background:var(--surface);font:600 .85rem var(--sans);color:var(--ink);cursor:pointer}
.ed-orn-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr))}
.ed-orn-btn{position:relative;background:#fff}
.ed-orn-btn.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.ed-orn-btn.locked .orn{opacity:.45}
.ed-orn-pr{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,#e7c27a,#c9962e);color:#fff;line-height:0}
.ed-orn-pr .ic{width:11px;height:11px}
.ed-lib-item b,.ed-lib-item span{overflow-wrap:normal;word-break:normal;hyphens:auto}

.ed-lib-name{overflow-wrap:normal;word-break:normal;hyphens:auto;line-height:1.15;font-size:.72rem}
.ed-lib{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}
.ed-lib-item{position:relative;align-content:start}
.ed-lib-more{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12);color:var(--brand);line-height:0}
.ed-lib-more .ic{width:11px;height:11px}
.ed-var{grid-column:1/-1;margin:.5rem 0 .8rem;padding:.7rem;border-radius:14px;background:var(--bg-2);border:1px solid var(--line-2);animation:ed-pop .18s ease}
@keyframes ed-pop{from{opacity:0;transform:translateY(-4px)}}
.ed-var-head{display:flex;align-items:center;gap:.45rem;margin-bottom:.55rem;color:var(--brand-ink)}
.ed-var-head b{flex:1;font-size:.85rem}
.ed-var-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:.4rem}
.ed-var-item{display:grid;gap:.3rem;padding:.4rem;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font:600 .72rem/1.15 var(--sans);color:var(--ink-2);text-align:center;min-height:44px}
.ed-var-item:hover{border-color:var(--brand);color:var(--brand)}
.ed-var-th{display:grid;justify-items:center;gap:3px;padding:.45rem .3rem;border-radius:8px;background:#fff;border:1px dashed var(--line-2);color:var(--brand)}
.ed-var-th .ic{width:18px;height:18px}
.ed-var-th i{display:block;height:3px;width:70%;border-radius:2px;background:var(--line-2)}
.ed-var-th i+i{width:45%}
.vr-solid .ed-var-th,.vr-cards .ed-var-th,.vr-boxes .ed-var-th{background:var(--brand-soft);border-style:solid}
.vr-glass .ed-var-th{background:linear-gradient(135deg,#fff,#f3e8f0);border-color:#fff;box-shadow:inset 0 0 0 1px rgba(194,37,92,.15)}
.vr-paper .ed-var-th{background:repeating-linear-gradient(0deg,#fffdf8 0 6px,#f3ece2 6px 7px);border-style:solid}
.vr-outline .ed-var-th{border:1.5px solid var(--brand)}
.vr-arch .ed-var-th,.vr-zigzag .ed-var-th{border-radius:40px 40px 8px 8px;border-style:solid}
.vr-circles .ed-var-th,.vr-monogram .ed-var-th{border-radius:50%;aspect-ratio:1;width:56px;justify-self:center}
.vr-polaroid .ed-var-th{border:4px solid #fff;border-bottom-width:12px;box-shadow:0 2px 6px rgba(0,0,0,.15);transform:rotate(-3deg)}
.vr-editorial .ed-var-th{background:#1b1b1b;color:#fff;border-radius:2px}
.vr-cover .ed-var-th{background:linear-gradient(160deg,var(--brand-ink),var(--brand-hi));color:#fff;border:0}
.vr-calendar .ed-var-th{background-image:radial-gradient(circle,var(--line-2) 1.2px,transparent 1.5px);background-size:8px 8px}
.ed-mbs{display:grid;gap:.35rem;margin-bottom:.4rem}
.ed-mb{display:flex;align-items:center;gap:.3rem;border:1px solid var(--line);border-radius:12px;background:#fff;padding:.25rem}
.ed-mb-add{flex:1;min-width:0;display:flex;align-items:center;gap:.55rem;border:0;background:none;cursor:pointer;text-align:left;padding:.35rem;color:var(--brand);min-height:44px}
.ed-mb-add span{display:grid;min-width:0;color:var(--ink)}
.ed-mb-add b{font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-mb-add small{color:var(--muted);font-size:.72rem}
.ed-finishes{display:grid;gap:.4rem}
.ed-finish{position:relative;display:flex;align-items:center;gap:.7rem;border:1px solid var(--line-2);background:var(--surface);border-radius:12px;padding:.5rem .6rem;cursor:pointer;text-align:left;min-height:52px;color:var(--ink-2)}
.ed-finish.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft);color:var(--brand-ink)}
.ed-finish.locked{opacity:.8}
.ed-finish-sw{flex:none;width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#fbf3ee;--a:#d95c86;--a2:#f1b4c6;--leaf:#7d9a72}
.ed-finish-sw .orn{width:32px;height:32px}
.ed-finish.fn-std .ed-finish-sw .orn{filter:drop-shadow(0 1px 1px rgba(0,0,0,.1)) drop-shadow(0 3px 4px rgba(0,0,0,.12))}
.ed-finish.fn-real .ed-finish-sw{background:linear-gradient(160deg,#fff6ef,#efdccf)}
.ed-finish.fn-real .ed-finish-sw .orn{filter:drop-shadow(0 1px 1px rgba(0,0,0,.2)) drop-shadow(1px 5px 6px rgba(0,0,0,.22))}
.ed-finish.fn-flat .ed-finish-sw .orn .oh{fill:rgba(255,255,255,.25)}
.ed-finish-tx{display:grid;gap:.1rem;min-width:0}
.ed-finish-tx b{font:600 .84rem/1.15 var(--sans)}
.ed-finish-tx small{font-size:.72rem;color:var(--muted);line-height:1.25}
.ed-finish .ed-orn-pr{position:static;margin-left:auto;flex:none}

.sk-prev-kraft{--sw:linear-gradient(135deg,#c9a67b 50%,#fbf6ec 50% 75%,#7a5a32 75%)}.sk-prev-acrylic{--sw:linear-gradient(135deg,#efe8de 40%,rgba(255,255,255,.9) 40% 70%,#b08d57 70%)}.sk-prev-nautical{--sw:repeating-linear-gradient(180deg,#1d3557 0 5px,#fff 5px 10px)}.sk-prev-construction{--sw:repeating-linear-gradient(135deg,#f2b705 0 6px,#2b2b2b 6px 12px)}.sk-prev-meadow{--sw:linear-gradient(135deg,#fffaf2 45%,#d9826a 45% 70%,#a9b98a 70%)}.sk-prev-blush{--sw:linear-gradient(135deg,#f8ece9 45%,#b86c77 45% 72%,#c9a46a 72%)}
.lib-panel{gap:.6rem}
.lib-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:10px;background:var(--bg-3)}
.lib-tab{min-height:34px;border:0;border-radius:8px;background:none;color:var(--ink-2);font:600 .8rem/1.2 var(--sans);cursor:pointer}
.lib-tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:var(--sh-1)}
.lib-tab:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.lib-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.lib-head label.btn{position:relative;overflow:hidden;cursor:pointer}
.lib-count{font-size:.75rem;color:var(--muted)}
.lib-count.full{color:var(--bad);font-weight:600}
.lib-panel .lib-grid{max-height:300px}
.lib-cell{position:relative}
.lib-cell .lib-item{width:100%}
.lib-acts{position:absolute;top:4px;right:4px;display:flex;gap:3px;opacity:0;transition:opacity .15s}
.lib-cell:hover .lib-acts,.lib-cell:focus-within .lib-acts{opacity:1}
.lib-acts .icon-btn{background:#fff;box-shadow:var(--sh-1)}
@media (hover:none){.lib-acts{opacity:1}}
.lib-demo{display:grid;gap:.5rem;justify-items:start;padding:.6rem;border-radius:10px;background:#fff;border:1px dashed var(--line-2)}
.lib-msg:empty{display:none}
.lib-add{padding-top:.5rem;border-top:1px solid var(--line)}
.ed-in{position:relative;display:block}
.ed-in>input,.ed-in>textarea{width:100%}
.ed-count{position:absolute;right:.5rem;bottom:.35rem;font-size:.68rem;line-height:1;color:var(--muted);background:rgba(255,255,255,.9);padding:1px 3px;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .15s}
.ed-count.on{opacity:1}
.ed-count.full{color:var(--bad);font-weight:600}
.ed-in:focus-within .ed-count{opacity:1}
.ed-musrc{border:1px solid var(--line);border-radius:10px;padding:.45rem .6rem;font-size:.8rem}.ed-musrc summary{cursor:pointer;font-weight:600}.ed-musrc ul{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}.ed-musrc a{display:inline-block;padding:.25rem .55rem;border:1px solid var(--line);border-radius:999px;color:inherit;text-decoration:none;white-space:nowrap}.ed-musrc a:hover,.ed-musrc a:focus-visible{border-color:var(--brand);background:var(--brand-soft)}.ed-mucheck audio{width:100%}
.ed-mucheck{display:grid;gap:.5rem;margin-top:.6rem}.ed-mucheck .ed-hint{margin:0}.ed-mustate{margin:0;padding:.45rem .6rem;border-radius:10px;font-size:.78rem;line-height:1.4}.ed-mustate.ok{background:#e8f6ee;color:#1d6b43}.ed-mustate.warn{background:#fdf1e3;color:#8a4b0c}.ed-mucheck>.btn{justify-self:start}.ed-mutest iframe{display:block;width:100%;border:0;border-radius:10px;aspect-ratio:16/9;background:#111}.ed-mutest iframe.mk-sp{aspect-ratio:auto;height:152px}.ed-mutest iframe.mk-am{aspect-ratio:auto;height:175px}.ed-mutest iframe.mk-sc{aspect-ratio:auto;height:166px}
.ed-mkf{display:grid;gap:.45rem;border-top:1px solid var(--line);padding-top:.7rem}
.ed-mks{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:.35rem}
.ed-mkb{display:grid;place-items:center;aspect-ratio:1;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;color:var(--brand)}
.ed-mkb svg{width:100%;height:100%;overflow:visible}
.ed-mkb.sh g{fill:currentColor}.ed-mkb.sh .mk-band{fill:none;stroke:currentColor;stroke-width:8}
.ed-mkb:hover{border-color:var(--brand)}
.ed-mkb.on{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 35%,transparent)}
.ed-mkb:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.ed-guides{position:fixed;inset:0;pointer-events:none;z-index:2147483000}
.ed-gl{position:fixed;display:block;background:#ff2d87;box-shadow:0 0 0 .5px rgba(255,255,255,.7)}
.ed-gl.v{width:1px;margin-left:-.5px}.ed-gl.h{height:1px;margin-top:-.5px}
.ed-gl.gc{background:none;box-shadow:none}.ed-gl.v.gc{border-left:1px dashed #7c3aed}.ed-gl.h.gc{border-top:1px dashed #7c3aed}
.ed-gpos{position:fixed;transform:translateX(-50%);padding:.18rem .5rem;border-radius:6px;background:#1b1530;color:#fff;font:600 .7rem/1.3 var(--sans,system-ui);white-space:pre;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.ed-dk-align{display:flex;flex-wrap:wrap;gap:.25rem}
.ed-dk-align .ed-snap{margin-left:auto}.ed-dk-align .ed-snap.on{background:var(--brand-soft,#f3e8ff);color:var(--brand,#7c3aed)}
