/* ed2 v2: editor links + design layout */
html body #esheet #own-opt{display:none!important}
html body #esheet #p-links label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web){display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;align-items:center!important;column-gap:10px!important;margin:0 0 8px!important}
html body #esheet #p-links label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web)>span{display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:0!important;overflow:visible!important;white-space:nowrap!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;margin:0!important}
html body #esheet #p-links label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web)>input{height:42px!important;min-height:0!important;padding:0 12px!important;font-size:14px!important;width:100%!important;box-sizing:border-box!important}
html body #esheet #p-links label.field>input{height:44px!important;min-height:0!important;font-size:15px!important}
html body #esheet #p-design{display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;padding-bottom:84px}
html body #esheet #p-design>#dprev{order:-1;position:sticky;top:var(--ed2h,120px);z-index:3;height:230px!important;margin:0;border-radius:16px;overflow:hidden}
html body #esheet #sf2tp .grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body #esheet #sf2tp .grid::before{content:"\1F338  ثيمات بنات";grid-column:1/-1;order:0;font-weight:800;font-size:15px;color:var(--ink,#3d1f33);padding:2px 2px 6px;border-bottom:1px solid var(--line,#cfe3d8)}
html body #esheet #sf2tp .grid::after{content:"\1F499  ثيمات شباب";grid-column:1/-1;order:10;font-weight:800;font-size:15px;color:var(--ink,#3d1f33);padding:2px 2px 6px;margin-top:8px;border-bottom:1px solid var(--line,#cfe3d8)}
html body #esheet #sf2tp .tpi{order:20;position:relative;margin:0}
html body #esheet #sf2tp .tpi[data-t=rose]{order:1}
html body #esheet #sf2tp .tpi[data-t=soft]{order:2}
html body #esheet #sf2tp .tpi[data-t=coquette]{order:3}
html body #esheet #sf2tp .tpi[data-t=boutique]{order:4}
html body #esheet #sf2tp .tpi[data-t=editorial]{order:5}
html body #esheet #sf2tp .tpi[data-t=beauty]{order:6}
html body #esheet #sf2tp .tpi[data-t=minimal]{order:11}
html body #esheet #sf2tp .tpi[data-t=business]{order:12}
html body #esheet #sf2tp .tpi[data-t=modern]{order:13}
html body #esheet #sf2tp .tpi[data-t=lifestyle]{order:14}
html body #esheet #sf2tp .tpi[data-t=digital]{order:15}
html body #esheet #sf2tp .tpi.on::after{content:"\2713";position:absolute;top:6px;inset-inline-end:6px;width:24px;height:24px;border-radius:50%;background:#0B6E4F;color:#fff;font-size:15px;font-weight:800;display:grid;place-items:center;z-index:2}
#ed2bar{position:fixed;left:50%;right:auto;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:2147483000;display:flex;gap:8px;padding:6px;background:#fff;border:1px solid #E2E6E1;border-radius:14px;box-shadow:0 6px 18px rgba(11,110,79,.16)}
#ed2bar button{flex:none;width:44px;height:40px;padding:0;border-radius:10px;border:0;font-size:20px;font-weight:800;line-height:1;font-family:inherit;cursor:pointer;display:grid;place-items:center;transition:transform .15s,background .15s}
#ed2bar .ok{background:#0B6E4F;color:#fff}#ed2bar .no{background:#F1F3F1;color:#1F2A26}
#ed2bar button:hover{filter:brightness(1.06)}#ed2bar button.hit{transform:scale(1.15)}#ed2bar .ok.hit{background:#C9A227}
@media(min-width:760px){
html body #esheet #p-design{grid-template-columns:minmax(0,1fr) 400px}
html body #esheet #p-design>#sf2tp{grid-column:1;grid-row:1}
html body #esheet #p-design>#dprev{grid-column:2;grid-row:1;order:0;height:600px!important}
html body #esheet #sf2tp .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #esheet #p-links label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web){grid-template-columns:130px minmax(0,1fr)!important}
}