.st-hero{padding:24px 0 8px;max-width:820px}.st-hero h1{font-size:clamp(28px,4vw,42px);line-height:1.1;margin:12px 0}
.grad{background:linear-gradient(90deg,#22d3ee,#a78bfa);-webkit-background-clip:text;background-clip:text;color:transparent}
.st-new{max-width:820px}.st-new textarea{min-height:110px;font:15px/1.5 Inter,sans-serif}
.st-how{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:28px 0}.st-how .card{margin:0}.st-how b{color:#fff}
.st-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.st-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}
@media(max-width:900px){.st-grid{grid-template-columns:1fr}}
.st-chat{display:flex;flex-direction:column;height:calc(100vh - 210px);min-height:460px;margin:0}
.st-log{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding-right:4px}
.st-msg{padding:10px 13px;border-radius:14px;max-width:88%;line-height:1.5;font-size:14.5px;word-wrap:break-word}
.st-user{align-self:flex-end;background:linear-gradient(90deg,rgba(34,211,238,.18),rgba(59,130,246,.18));border:1px solid rgba(34,211,238,.3);color:#fff}
.st-bot{align-self:flex-start;background:rgba(148,163,184,.08);border:1px solid var(--line)}
.st-step{align-self:flex-start;font-size:12.5px;color:var(--muted);padding:3px 10px;border-left:2px solid rgba(34,211,238,.45);border-radius:0;max-width:100%}
.st-system{align-self:center;font-size:13px;color:#a7f3d0;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.25)}
.st-error{align-self:center;font-size:13px;color:#fecdd3;background:rgba(244,63,94,.08);border:1px solid rgba(244,63,94,.3)}
.st-working{font-size:13px;color:var(--muted);padding:6px 2px;display:flex;gap:4px;align-items:center}
.st-working span{width:6px;height:6px;border-radius:50%;background:#22d3ee;animation:stDot 1s infinite}.st-working span:nth-child(2){animation-delay:.15s}.st-working span:nth-child(3){animation-delay:.3s}
@keyframes stDot{0%,100%{opacity:.25}50%{opacity:1}}
.st-input{display:flex;gap:8px;margin-top:10px}.st-input textarea{flex:1;resize:none;font:14.5px Inter,sans-serif}.st-input.sm input{flex:1}
.st-side .card{margin:0 0 14px}.st-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.st-addr{margin:10px 0 4px;font-size:14px}.st-addr code{font-size:14px;color:#22d3ee;user-select:all}
.st-tabs{display:flex;gap:4px;margin-bottom:10px}.st-tabs button{background:transparent;border:1px solid var(--line);color:var(--soft);padding:6px 12px;border-radius:10px;font-size:13px;box-shadow:none}
.st-tabs button.on{border-color:rgba(34,211,238,.5);color:#22d3ee;background:rgba(34,211,238,.08)}
.st-list{list-style:none;padding:0;margin:0;max-height:320px;overflow:auto}.st-list li{padding:6px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.st-console{background:#05080f;border:1px solid var(--line);border-radius:10px;padding:10px;height:300px;overflow:auto;font:12px/1.5 ui-monospace,Menlo,monospace;color:#cbd5e1;white-space:pre-wrap;word-break:break-word;margin:0}
#studio [hidden],.st-working[hidden]{display:none!important}
.st-engine{width:auto;min-width:0;padding:8px 10px;font-size:13px;border-radius:10px}
.st-sendcol{display:flex;flex-direction:column;gap:6px;min-width:150px}.st-sendcol button{flex:1}
@media(max-width:560px){.st-input{flex-direction:column}.st-sendcol{flex-direction:row}.st-sendcol select{flex:1}}
.st-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:8px 0 4px}
.st-bot{display:block;position:relative;cursor:pointer;border:1px solid var(--line);border-radius:14px;padding:14px 14px 12px;background:rgba(148,163,184,.04);transition:border-color .15s,background .15s;text-transform:none;letter-spacing:0;font-weight:400;color:inherit;font-size:14px}
.st-bot:hover{border-color:rgba(34,211,238,.4)}.st-bot:has(input:checked){border-color:#22d3ee;background:rgba(34,211,238,.07);box-shadow:0 0 0 1px rgba(34,211,238,.35)}
.st-bot.off{opacity:.5;cursor:not-allowed}.st-bot input{position:absolute;opacity:0;pointer-events:none}
.st-bot-h{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:15.5px;color:#fff}.st-bot p{margin:6px 0 10px;font-size:13px;line-height:1.45}
.st-bars{display:grid;gap:5px}.st-bar{display:grid;grid-template-columns:110px 1fr;align-items:center;font-size:12.5px;color:var(--soft)}
.st-bar i{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}.st-bar em{height:7px;border-radius:4px;background:rgba(148,163,184,.15)}
.st-bar em.on{background:linear-gradient(90deg,#22d3ee,#a78bfa)}
.st-facts{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 4px}.st-facts span{font-size:11.5px;padding:3px 8px;border-radius:999px;border:1px solid var(--line);color:var(--soft)}
.st-bot details{margin-top:8px;font-size:13px}.st-bot summary{cursor:pointer;color:#22d3ee}.st-bot ul{margin:6px 0 0;padding-left:18px;line-height:1.55}
.st-cost{margin-top:8px;font-size:12.5px;color:var(--muted)}
.st-bots-card summary{cursor:pointer}.st-bots-card .st-bots{grid-template-columns:1fr}.st-bots-card .st-bot{cursor:default}
.st-bot,.st-bot *{font-family:Inter,system-ui,sans-serif}.st-bot .st-bar span{text-transform:none;letter-spacing:0}
.st-bar.cost em.on{background:linear-gradient(90deg,#f59e0b,#f43f5e)}
/* Workspace (3D view): a simple Roblox-Studio-like layout: Explorer | viewport | Properties */
.st-view{padding:0;overflow:hidden;margin:0 0 16px}
.st-vbar{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.st-vstatus{flex:1;font-size:13px;color:var(--soft);min-width:160px}.st-vtools{display:flex;gap:6px}
.st-vprog{height:3px;background:rgba(148,163,184,.12)}.st-vprog i{display:block;height:100%;width:0;background:linear-gradient(90deg,#22d3ee,#a78bfa);transition:width .4s}
.st-vbody{display:grid;grid-template-columns:200px minmax(0,1fr) 230px;height:440px}
.st-3d{position:relative;min-height:0;background:#9fd0ff}.st-3d canvas{display:block;width:100%;height:100%;cursor:grab}.st-3d canvas:active{cursor:grabbing}
.st-explorer,.st-props{overflow:auto;font-size:13px;padding:8px 10px;background:rgba(5,8,15,.35)}
.st-explorer{border-right:1px solid var(--line)}.st-props{border-left:1px solid var(--line)}
.st-ph{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:6px 0 6px}
.st-tree,.st-tree ul{list-style:none;margin:0;padding-left:12px}.st-tree{padding-left:0}.st-tree li{padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-tree a{font-size:11.5px;color:#22d3ee}
.st-quick{display:flex;flex-direction:column;gap:5px}.st-quick button{text-align:left}
.st-props dl{margin:0}.st-props dt{font-size:11.5px;color:var(--muted);margin-top:10px}.st-props dd{margin:4px 0 0}.st-props code{word-break:break-all;color:#22d3ee}
.st-view.full{position:fixed;inset:0;z-index:1000;margin:0;border-radius:0}.st-view.full .st-vbody{height:calc(100vh - 50px)}
@media(max-width:1000px){.st-vbody{grid-template-columns:1fr;grid-template-rows:360px auto auto;height:auto}.st-3d{order:-1;height:360px}.st-explorer,.st-props{border:0;border-top:1px solid var(--line)}.st-quick{flex-direction:row;flex-wrap:wrap}}

.st-fb{display:flex;gap:4px;margin-top:6px;flex-wrap:wrap;align-items:center}.st-fb button{background:transparent;border:1px solid var(--line,rgba(148,163,184,.3));border-radius:8px;padding:2px 7px;font-size:12px;cursor:pointer;color:inherit;box-shadow:none}
.st-fb textarea{flex:1 1 100%;min-height:40px;font:13px Inter,sans-serif;background:rgba(2,6,23,.6);color:#fff;border:1px solid rgba(148,163,184,.3);border-radius:8px;padding:6px}
.st-fb .err{color:#fda4af;font-size:12px}.sw-acts .st-fb{margin-top:0}.sw-fbbox{flex:1 1 100%}
/* phones: Studio needs a computer (keyboard + mouse) */
.st-phone{display:none}
@media (hover:none) and (pointer:coarse){
  .st-phone{display:block;max-width:520px;margin:40px auto;padding:28px 22px;text-align:center;border-radius:20px;background:var(--glass,rgba(15,23,42,.8));border:1px solid var(--line2,rgba(0,229,255,.3))}
  .st-phone h2{margin:8px 0}.st-phone p{color:var(--soft,#cbd5e1)}
  .st-desktop{display:none}
}
/* beta notice (yellow) */
.st-beta{display:flex;align-items:flex-start;gap:10px;margin:14px 0 4px;padding:12px 14px;border-radius:14px;background:rgba(250,204,21,.12);border:1px solid rgba(250,204,21,.55);color:#fde68a;font-size:14px;line-height:1.5}
.st-beta[hidden]{display:none}
.st-beta p{margin:0;flex:1}.st-beta b{color:#fde047}.st-beta i{color:#fef08a;font-style:normal;font-weight:700;white-space:nowrap}
.st-beta a{color:#fde047;text-decoration:underline;font-weight:700}
.st-beta-ico{font-size:18px;line-height:1.3}
.st-beta-x{background:none;border:0;color:#fde68a;font-size:15px;cursor:pointer;padding:0 4px;line-height:1.4;width:auto;box-shadow:none}
.st-beta-x:hover{color:#fff}
