/* Sukatutor Billing – Canvas Layout (no theme header/footer) */
:root{
  --st-primary: #0b57d0;
  --st-ink: rgba(0,0,0,.86);
  --st-muted: rgba(0,0,0,.58);
  --st-line: rgba(0,0,0,.08);
  --st-card: rgba(255,255,255,.88);
  --st-shadow: 0 14px 40px rgba(0,0,0,.10);
  --st-radius: 18px;
}

body.st-canvas-page{
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 20% 15%, rgba(11,87,208,.18), transparent 65%),
    radial-gradient(900px 700px at 85% 35%, rgba(0,188,212,.18), transparent 60%),
    radial-gradient(900px 700px at 60% 95%, rgba(255,165,0,.12), transparent 55%),
    #f6f8fb;
  color: var(--st-ink);
}

body.st-canvas-page * { box-sizing: border-box; }

/* Make sure theme doesn't constrain canvas */
body.st-canvas-page #page,
body.st-canvas-page .site,
body.st-canvas-page .site-content{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.st-canvas{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.st-canvas-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--st-line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
}

.st-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.st-brand img{
  height: 28px;
  width: auto;
  display: block;
}
.st-topmeta{
  display: flex;
  align-items: center;
  gap: 10px;
}
.st-userpill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
}
.st-toplink{
  text-decoration: none;
  font-weight: 700;
  color: var(--st-primary);
}

/* Main grid */
.st-canvas-main{
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items: start;
}

.st-canvas-side{
  position: sticky;
  top: 78px; /* below topbar */
}

.st-side-card{
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: var(--st-card);
  box-shadow: var(--st-shadow);
  padding: 16px;
}
.st-side-card + .st-side-card { margin-top: 14px; }

.st-side-title{
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

/* Founder */
.st-founder{
  display: flex;
  gap: 14px;
  align-items: center;
}
.st-founder-img{
  width: 120px;
  height: 120px;
  border-radius: 26px;
  background:
    radial-gradient(120px 120px at 30% 20%, rgba(11,87,208,.20), transparent 60%),
    rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.08);
  display: grid;
  place-items: end center;
  overflow: hidden;
}
.st-founder-img img{
  width: 118px;
  height: auto;
  display: block;
  transform: translateY(6px);
}
.st-founder-name{
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}
.st-founder-meta .st-muted{
  margin-top: 4px;
}

/* Gallery */
.st-gallery{
  display: grid;
  gap: 10px;
}
.st-gallery img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  display: block;
}

/* Bullets */
.st-bullets{
  margin: 0;
  padding-left: 16px;
  color: var(--st-muted);
  font-size: 13px;
}
.st-bullets li{ margin: 8px 0; }

/* Content */
.st-canvas-content{
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: var(--st-card);
  box-shadow: var(--st-shadow);
  padding: 16px;
}

/* Make existing plugin UI fit inside canvas */
.st-canvas-content .st-wrap,
.st-canvas-content .st-app{
  max-width: none;
  margin: 0;
  padding: 0;
}
.st-canvas-content .st-card{
  background: rgba(255,255,255,.92);
}

/* Slightly nicer buttons on canvas */
.st-canvas-page .st-btn{
  border-radius: 14px;
}

/* Mobile */
@media (max-width: 980px){
  .st-canvas-main{
    grid-template-columns: 1fr;
  }
  .st-canvas-side{
    position: relative;
    top: auto;
  }
  .st-founder-img{
    width: 104px;
    height: 104px;
  }
  .st-founder-img img{
    width: 102px;
  }
}
