.studio-panel{margin:26px 0;padding:clamp(16px,3vw,30px);border:1px solid #294458;border-radius:16px;background:#0d2032;min-width:0}.studio-panel h2{margin-top:0}.studio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}.studio-grid article{border:1px solid #294458;background:#081827;border-radius:12px;padding:12px;min-width:0}.studio-grid svg,#anim-svg{display:block;width:100%;height:auto;background:#071421;border-radius:10px}.studio-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:18px 0;align-items:end}.studio-panel label{display:flex;flex-direction:column;gap:5px;min-width:0}.studio-panel :where(input,select,textarea),header select{min-width:0;width:100%;max-width:100%;font:inherit;padding:10px;border:1px solid #507288;background:#081727;color:#eef7fc;border-radius:8px}.studio-panel button{cursor:pointer;min-height:44px}.studio-scroll{overflow:auto;max-height:640px}.studio-scroll table{width:100%;min-width:700px;border-collapse:collapse;font-size:14px}.studio-scroll th,.studio-scroll td{padding:10px;border-bottom:1px solid #294458;text-align:left;vertical-align:top}.studio-scroll thead{position:sticky;top:0;background:#172f43;z-index:1}.studio-scroll td button{min-height:36px;font:inherit;color:#a7e5ff;background:#15384e;border:1px solid #426980;border-radius:6px}.studio-panel #draft{width:100%;line-height:1.6}.studio-panel .links{display:flex;flex-wrap:wrap;gap:8px}.studio-panel .note{overflow-wrap:anywhere}@media(max-width:600px){.studio-grid,.studio-controls{grid-template-columns:minmax(0,1fr)}.studio-panel .links button{flex:1 1 100%}}
.studio-scroll{min-width:0;max-width:100%;overscroll-behavior-inline:contain}.studio-scroll table{max-width:none}.studio-scroll td,.studio-scroll th{overflow-wrap:anywhere}.studio-panel .links button{min-height:44px}
