/* v1.7.1 Script Studio: touch-friendly, isolated editor */
.script-studio-card {scroll-margin-top:32px}
.script-label {display:flex;gap:6px;flex-direction:column;margin:8px 0 10px}
.script-editor {display:block;box-sizing:border-box;width:100%;min-height:220px;max-height:480px;resize:vertical;
  padding:14px;border-radius:12px;background:#091727;color:#d6f6ff;border:1px solid #39637a;
  font:500 13px/1.65 ui-monospace,Menlo,Consolas,monospace;tab-size:2;overflow:auto;
  -webkit-user-select:text;user-select:text;touch-action:pan-y}
.script-editor:focus {outline:2px solid #56d3ea;outline-offset:2px}
.script-buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.script-buttons .tool-button {min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
.script-log {box-sizing:border-box;max-width:100%;min-height:42px;max-height:240px;margin:10px 0;
  overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:10px;
  background:#061424;color:#bde7db;font:12px/1.5 ui-monospace,monospace}
@media(max-width:350px){.script-buttons {grid-template-columns:1fr}}
