/* Editor skin: blue bar, flat panels, grey canvas */
:root { --dgb: #0494ea; --dgg: #22a361; }
body.sx { background: #f4f4f4; font-family: 'Poppins', 'Figtree', system-ui, sans-serif; }
.sx-top { background: var(--dgb); border: 0; height: 62px; color: #fff; justify-content: flex-start; position: relative; }
.sx-top .sx-back, .sx-top .sx-ibtn, .sx-top .sx-link, .sx-top .sx-x { color: #fff; }
.sx-top .sx-back:hover, .sx-top .sx-ibtn:hover:not(:disabled), .sx-top .sx-link:hover, .sx-top .sx-x:hover { background: rgba(255,255,255,.16); }
.sx-top svg { width: 24px; height: 24px; stroke-width: 2.2; }
.sx-prodname { border: 0; color: #fff; font-weight: 500; font-size: 14px; padding: 0 4px; max-width: 24vw; } .sx-prodname span { max-width: 24ch; }
.sx-tools { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; gap: 14px; }
.sx-ibtn { width: 44px; height: 44px; border-radius: 50%; color: #fff; } .sx-ibtn:disabled { opacity: .45; }
.sx-end { margin-left: auto; gap: 8px; } .sx-saved { color: rgba(255,255,255,.85); }
.sx-link { color: #fff; } .sx-link span { font-weight: 500; }
.sx-cta { background: rgba(255,255,255,.95); color: #0376bd; box-shadow: none; border-radius: 6px; height: 46px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px; font: 500 20px 'Poppins', sans-serif; }
.sx-cta svg { width: 24px; height: 24px; stroke-width: 3; } .sx-cta b { font: 500 19px 'Poppins', sans-serif; }
.sx-cta:hover { background: #fff; transform: none; filter: none; }
.sx-x { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; } .sx-x svg { width: 30px; height: 30px; stroke-width: 2.6; }

.sx-body { grid-template-columns: 76px 400px minmax(0, 1fr); }
.sx-rail { background: #fff; border-right: 1px solid #e4e4e4; padding: 14px 6px; gap: 10px; }
.sx-rail button { color: #0494ea; padding: 12px 2px 8px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.sx-rail button svg { width: 30px; height: 30px; stroke-width: 1.9; }
.sx-rail button:hover { background: #f0f7fd; }
.sx-rail button.on { background: #e8f6ee; color: var(--dgg); }
.sx-panel { margin: 0; border-radius: 0; box-shadow: none; border-right: 1px solid #e4e4e4; background: #fff; }
.sx-panel-in { padding: 0; }
.sx-panel-in > h2 { padding: 20px 20px 0; font: 600 20px 'Poppins', sans-serif; }
.sx-panel-in > *:not(.dg-tabs):not(.dg-pin):not(h2) { margin-left: 20px; margin-right: 20px; }
.sx-panel-in > h3 { margin-left: 20px; }
.sx-panel-in > :last-child { margin-bottom: 20px; }
.dg-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #eeeeee; }
.dg-tabs button { border: 0; background: transparent; height: 46px; color: #22a361; display: grid; place-items: center; }
.dg-tabs button.on { background: #fff; } .dg-tabs button svg { width: 26px; height: 26px; }
.dg-pin { padding: 14px 16px 20px; }
.dg-drop { border: 2px dashed #d6d6d6; background: #f5f5f5; border-radius: 6px; padding: 18px 12px 22px; text-align: center; display: grid; gap: 22px; justify-items: center; }
.dg-drop span { color: #0a63b6; font-size: 13px; letter-spacing: .01em; }
.dg-drop.over { border-color: var(--dgg); background: #eaf7f0; }
.dg-green { background: var(--dgg); color: #fff; border: 0; border-radius: 5px; padding: 12px 22px; font: 500 13px 'Poppins', sans-serif; cursor: pointer; letter-spacing: .02em; } .dg-green:hover { background: #1b8a51; }
.sx-btn { border-radius: 6px; } .sx-btn.hot { background: var(--dgg); border-color: var(--dgg); color: #fff; } .sx-btn { font-family: 'Poppins', sans-serif; font-weight: 500; }
.sx-chip.on, .sx-switch.on { background: var(--dgb); border-color: var(--dgb); }
.sx-ctx { margin: 0; border-radius: 0; box-shadow: 0 1px 0 #e4e4e4; min-height: 52px; }
.sx-canvas { background: #f4f4f4; }
.sx-stage-clip { box-shadow: 0 1px 8px rgba(0,0,0,.12); }
.sx-frame.scene .sx-stage-clip { box-shadow: none; }
.sx-mock { border-radius: 0; }
.sx-pills button + button { border-color: #9cc9e6; }
.sx-sides { position: absolute; right: 18px; bottom: 14px; z-index: 6; flex-direction: row; align-items: center; gap: 4px; padding: 6px 10px; background: #fff; border-radius: 6px; box-shadow: 0 1px 6px rgba(0,0,0,.14); overflow: visible; }
.sx-sides[hidden] { display: none; }
.dg-pg { border: 0; background: none; color: #0494ea; width: 40px; height: 36px; display: grid; place-items: center; } .dg-pg:disabled { color: #bcd7ea; cursor: default; } .dg-pg svg { width: 26px; height: 26px; stroke-width: 2.2; }
.dg-pn { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; color: #555; padding: 0 6px; } .dg-pn svg { width: 22px; height: 22px; color: #0494ea; } .dg-pn b { font-weight: 500; color: #0494ea; }
@media (max-width: 1180px) { .sx-body { grid-template-columns: 70px 320px minmax(0, 1fr); } .sx-prodname { display: none; } }
@media (max-width: 900px) {
  .sx-top { height: 54px; padding: 0 8px; gap: 4px; } .sx-prodname, .sx-saved, .sx-link span { display: none; }
  .sx-tools { position: static; transform: none; gap: 0; margin-left: 2px; } .sx-ibtn { width: 38px; height: 38px; } .sx-ibtn svg { width: 21px; height: 21px; }
  #sxPrev, #sxNext { display: none; }
  .sx-cta { height: 40px; padding: 0 12px; font-size: 16px; gap: 6px; } .sx-cta b { font-size: 15px; } .sx-cta svg { width: 20px; height: 20px; }
  .sx-x { width: 38px; height: 38px; } .sx-x svg { width: 24px; height: 24px; }
  .sx-rail button { color: #0494ea; } .sx-rail button.on { background: #e8f6ee; color: var(--dgg); }
  .sx-sides { right: 8px; top: auto; bottom: 8px; }
}
.sx-top .sx-cta { color: #0376bd; } .sx-top .sx-cta b, .sx-top .sx-cta span { color: #0376bd; }
.sx-panel-in > .sx-btn { width: calc(100% - 40px); }
.sx-rail button { font-size: 12px; letter-spacing: -.01em; overflow: hidden; }
.sx-panel-in > .sx-chips, .sx-panel-in > .sx-presets, .sx-panel-in > .sx-grid, .sx-panel-in > .sx-tpls { width: calc(100% - 40px); }
.dg-prep { position: fixed; inset: 0; z-index: 500; background: rgba(255,255,255,.94); display: grid; place-items: center; text-align: center; font-family: 'Poppins', system-ui, sans-serif; } .dg-prep[hidden] { display: none; }
.dg-prep i { display: block; width: 46px; height: 46px; margin: 0 auto 16px; border: 4px solid #cfe8f9; border-top-color: #0494ea; border-radius: 50%; animation: dgs 1s linear infinite; } .dg-prep b { display: block; font-size: 18px; font-weight: 600; } .dg-prep span { color: #666; font-size: 14px; }
@keyframes dgs { to { transform: rotate(360deg); } }
