.sg-hero{padding:44px 0 28px;background:linear-gradient(180deg,#eff6ff 0%,#fff 75%)}
.sg-hero h1{font-size:38px;line-height:1.15;margin:10px 0 12px}
.sg-hero .lead{max-width:740px;margin:0 0 18px}
.sg-badges{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 22px}
.sg-badges li{font-size:13px;font-weight:600;color:#1e3a8a;background:#dbeafe;padding:4px 12px;border-radius:999px}
.sg-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.sg-tab{padding:9px 18px;border:1px solid var(--line);border-radius:10px;background:#fff;font:600 14px/1 inherit;color:var(--muted);cursor:pointer}
.sg-tab[aria-selected="true"]{background:#2563eb;border-color:#2563eb;color:#fff}
.sg-drop{border:2px dashed #93c5fd;border-radius:16px;background:#f8fafc;padding:38px 24px;text-align:center}
.sg-drop p{margin:10px 0 0;color:var(--muted);font-size:14px}
.sg-bar{display:flex;flex-wrap:wrap;gap:12px 16px;padding:14px 16px;background:#f8fafc;border:1px solid var(--line);border-radius:14px;margin-bottom:14px;align-items:center}
.sg-bar label{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--ink)}
.sg-bar select,.sg-bar input{padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit}
.sg-stage{background:#f1f5f9;border:1px solid var(--line);border-radius:14px;padding:16px;text-align:center;overflow:auto;max-height:540px}
.sg-stage canvas{max-width:100%;height:auto;border-radius:6px;box-shadow:0 6px 20px rgba(15,23,42,.10)}
.sg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.sg-status{margin:10px 0 0;font-size:14px;font-weight:600;color:var(--muted)}
.sg-status.ok{color:#15803d}.sg-status.error{color:#b91c1c}
.sg-drop.over{border-color:#2563eb;background:#eff6ff}
.sg-post-cta{margin-top:20px;padding:16px 20px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
#sg-tool [hidden]{display:none!important}
.sg-post-cta strong{display:block;color:var(--ink)}.sg-post-cta span{font-size:14px;color:var(--muted)}
.sg-legal{margin-top:16px;font-size:13px;color:var(--soft);text-align:center}
@media(max-width:720px){.sg-hero h1{font-size:28px}}
