@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root{
  --bg: #0b1020;
  --card: rgba(255,255,255,0.08);
  --card2: rgba(255,255,255,0.06);
  --stroke: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --accent: #7c5cff;
  --accent2:#2dd4bf;
}
html,body{height:100%;}
body{
  font-family: Roboto, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(124,92,255,0.35), transparent 55%),
    radial-gradient(700px 380px at 80% 30%, rgba(45,212,191,0.28), transparent 55%),
    linear-gradient(180deg, #060817 0%, #0b1020 60%, #050613 100%);
  color: var(--text);
}
a{color: #b9b1ff;}
.navbar, .box, .card{
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}
.box{border-radius: 18px;}
.button.is-primary{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border: 0;
  color: #071018;
  font-weight: 700;
}
.button.is-light{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
}
.input, .textarea, .select select{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
}
.input::placeholder, .textarea::placeholder{color: rgba(255,255,255,0.45);}
.help{color: rgba(255,255,255,0.65);}
.tag.is-info{background: rgba(45,212,191,0.2); color: #d9fffa; border: 1px solid rgba(45,212,191,0.3);}
.tag.is-warning{background: rgba(255,180,80,0.18); color: #ffe7c7; border: 1px solid rgba(255,180,80,0.28);}
.hr-soft{height:1px;background:rgba(255,255,255,0.12);border:0;margin:1rem 0;}
.builder{
  display:grid;
  grid-template-columns: 320px 1fr 360px;
  gap:14px;
  height: calc(100vh - 76px);
}
.panel{
  border-radius: 18px;
  background: var(--card2);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.panel header{
  padding: 12px 14px;
  border-bottom:1px solid rgba(255,255,255,0.10);
  display:flex; align-items:center; justify-content:space-between;
}
.panel header .title{
  font-size: 14px; margin:0; color: var(--muted);
  letter-spacing: 0.3px;
}
.panel .content{
  padding: 12px 14px;
  overflow:auto;
  height: calc(100% - 49px);
}
.section-item{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  margin-bottom:10px;
  cursor: grab;
}
.section-item.active{
  outline: 2px solid rgba(124,92,255,0.55);
}
.kbd{
  font-size:12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}
.mini{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.preview-frame{
  width:100%;
  height:100%;
  border:0;
  border-radius: 14px;
  background:#fff;
}
.notice{
  padding:10px 12px;
  border-radius: 14px;
  border:1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.72);
}
