:root{
  --slbst-bg:#f5f2ea;
  --slbst-card:#ffffff;
  --slbst-text:#121826;
  --slbst-muted:#667085;
  --slbst-border:#e6e8ef;
  --slbst-blue:#2563eb;
  --slbst-blue-2:#1d4ed8;
  --slbst-soft:#eff4ff;
  --slbst-shadow:0 20px 50px rgba(18,24,38,.08);
  --slbst-radius:24px;
}

.slbst-dashboard,
.slbst-tool-card{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slbst-text);
}

.slbst-dashboard{
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f2ea 100%);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--slbst-shadow);
}

.slbst-hero{
  background: var(--slbst-card);
  border: 1px solid var(--slbst-border);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--slbst-shadow);
  margin-bottom: 26px;
}

.slbst-hero-top{
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:center;
  text-align:center;
  flex-wrap:wrap;
}

.slbst-logo-mark{
  width:58px;
  height:58px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, #60a5fa, #2563eb 55%, #1e3a8a 100%);
  position:relative;
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
  flex:0 0 auto;
}

.slbst-logo-mark span{
  position:absolute;
  inset: 18px 15px 18px 21px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: #fff;
}

.slbst-hero h1{
  margin:0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height:1.05;
  letter-spacing:-0.04em;
}

.slbst-hero p{
  margin:10px auto 0;
  max-width: 920px;
  color: var(--slbst-muted);
  font-size: 1.02rem;
}

.slbst-hero-stats{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}

.slbst-stat{
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border:1px solid var(--slbst-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(18,24,38,.04);
  min-height: 92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.slbst-stat strong{
  font-size: 1.45rem;
  letter-spacing:-0.03em;
}

.slbst-stat span{
  color: var(--slbst-muted);
  margin-top: 6px;
  font-size: .94rem;
}

.slbst-dashboard-shell{
  display:grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.slbst-sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
  position: sticky;
  top: 20px;
  align-self:start;
}

.slbst-sidebar-card{
  background: var(--slbst-card);
  border:1px solid var(--slbst-border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(18,24,38,.04);
}

.slbst-sidebar-card h2{
  margin:0 0 14px;
  font-size: 1rem;
}

.slbst-sidebar-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.slbst-sidebar-links a{
  display:block;
  text-decoration:none;
  padding: 10px 12px;
  border: 1px solid var(--slbst-border);
  border-radius: 14px;
  color: var(--slbst-text);
  background: #fff;
  transition: .18s ease;
}

.slbst-sidebar-links a:hover{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 10px 20px rgba(37,99,235,.08);
  transform: translateY(-1px);
}

.slbst-shortcode-map{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.slbst-shortcode-map code{
  display:block;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--slbst-soft);
  color: var(--slbst-blue-2);
  overflow-wrap:anywhere;
}

.slbst-main{
  min-width: 0;
}

.slbst-section-title{
  margin-bottom: 18px;
  padding: 0 2px;
}

.slbst-section-title h2{
  margin:0;
  font-size: 1.45rem;
  letter-spacing:-0.03em;
}

.slbst-section-title p{
  margin: 8px 0 0;
  color: var(--slbst-muted);
}

.slbst-tool-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.slbst-tool-card{
  background: var(--slbst-card);
  border: 1px solid var(--slbst-border);
  border-radius: 28px;
  box-shadow: var(--slbst-shadow);
  padding: 22px;
}

.slbst-tool-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom: 18px;
}

.slbst-tool-kicker{
  color: var(--slbst-blue);
  font-weight:700;
  font-size: .78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom: 8px;
}

.slbst-tool-header h3{
  margin:0;
  font-size: 1.55rem;
  letter-spacing:-0.03em;
}

.slbst-tool-header p{
  margin:8px 0 0;
  color: var(--slbst-muted);
}


.slbst-tool-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}

.slbst-tool-form,
.slbst-tool-output{
  border: 1px solid var(--slbst-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfe 100%);
  padding: 18px;
}

.slbst-tool-form label{
  display:block;
  font-size: .92rem;
  font-weight: 700;
  margin: 12px 0 8px;
}

.slbst-input{
  width: 100%;
  border:1px solid var(--slbst-border);
  border-radius: 14px;
  padding: 12px 14px;
  background:#fff;
  color: var(--slbst-text);
  box-sizing:border-box;
  outline:none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.slbst-input:focus{
  border-color: rgba(37,99,235,.48);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

.slbst-textarea{
  min-height: 120px;
  resize: vertical;
}

.slbst-button{
  appearance:none;
  border: none;
  cursor:pointer;
  background: linear-gradient(180deg, var(--slbst-blue) 0%, var(--slbst-blue-2) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  margin-top: 14px;
  box-shadow: 0 10px 24px rgba(37,99,235,.24);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.slbst-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(37,99,235,.28);
}

.slbst-secondary-btn{
  background: #eef2ff;
  color: var(--slbst-blue-2);
  box-shadow:none;
  margin-right: 10px;
}

.slbst-output-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.slbst-output-head span{
  font-weight:700;
}

.slbst-copy-btn{
  border:1px solid var(--slbst-border);
  background:#fff;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:700;
}

.slbst-output{
  min-height: 280px;
  border-radius: 18px;
  border: 1px dashed #d6dbe8;
  background: linear-gradient(180deg, #fbfcff 0%, #f8fbff 100%);
  padding: 16px;
  overflow:auto;
  white-space:pre-wrap;
  word-break: break-word;
  line-height:1.6;
}

.slbst-output .slbst-preview{
  background:#fff;
  border:1px solid var(--slbst-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(18,24,38,.04);
}

.slbst-output .slbst-preview .slbst-url{
  color: #0f766e;
  font-size: .92rem;
  margin-bottom: 6px;
}

.slbst-output .slbst-preview .slbst-title{
  color: #1d4ed8;
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.slbst-output .slbst-preview .slbst-desc{
  color: #475467;
  font-size: .96rem;
}

.slbst-output .slbst-preview .slbst-brand{
  color: var(--slbst-muted);
  margin-top: 8px;
  font-size: .88rem;
}

.slbst-output table{
  width:100%;
  border-collapse:collapse;
  font-size:.94rem;
}

.slbst-output th,
.slbst-output td{
  border-bottom:1px solid #e8ecf4;
  padding: 10px 8px;
  text-align:left;
  vertical-align:top;
}

.slbst-output .slbst-warning{
  color:#b42318;
  font-weight:700;
}

.slbst-output .slbst-good{
  color:#067647;
  font-weight:700;
}

.slbst-output .slbst-bad{
  color:#b42318;
  font-weight:700;
}

.slbst-output pre{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.slbst-faq-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top: 4px;
}

.slbst-faq-row{
  padding: 14px;
  border:1px solid var(--slbst-border);
  border-radius: 18px;
  background: #fcfdff;
}

.slbst-faq-row .slbst-input + .slbst-textarea{
  margin-top: 10px;
}

.slbst-tool-card.is-compact .slbst-tool-layout{
  grid-template-columns: 1fr;
}


@media (max-width: 1200px){
  .slbst-dashboard-shell{
    grid-template-columns: 1fr;
  }
  .slbst-sidebar{
    position: static;
  }
  .slbst-hero-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slbst-tool-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  .slbst-dashboard,
  .slbst-hero,
  .slbst-tool-card{
    padding: 16px;
  }
  .slbst-hero-stats{
    grid-template-columns: 1fr;
  }
  .slbst-tool-header{
    flex-direction:column;
  }
}
