/* SmartTools India Video Studio v14 — uncluttered teacher-friendly interface */
.studio-head{background:linear-gradient(125deg,#e8faf5,#f0f6ff 70%,#fff);padding:23px;border-radius:19px;margin-bottom:22px;border:1px solid #cde9e1}
.studio-head h2{font-size:clamp(1.45rem,3vw,2rem);font-weight:800;letter-spacing:-.03em;color:#0d3140;margin:12px 0 8px}
.studio-head p{color:#365665;margin:0;line-height:1.65}
.studio-steps{display:grid;gap:22px}
.studio-step{border:1px solid #dbe9ee;border-radius:18px;background:#fff;padding:21px;box-shadow:0 8px 30px #0c45500a}
.studio-step-top{display:flex;align-items:center;gap:11px;margin-bottom:18px;flex-wrap:wrap}
.studio-step-top strong{font-size:1.14rem;color:#153448}.studio-step-top small{margin-left:auto;color:#5d7786}
.studio-step-num{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#d9f7ed;color:#076e58;font-weight:800}
.studio-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.studio-upload{display:flex;flex-direction:column;gap:5px;position:relative;min-width:0;padding:20px 14px;border-radius:15px;border:2px dashed #b9d8d9;background:#f9fcfc;cursor:pointer;transition:background .2s,border-color .2s;text-align:center;align-items:center}
.studio-upload:hover,.studio-upload:focus-within{background:#edfaf6;border-color:#069a78}
.studio-upload-icon{font-size:1.8rem}.studio-upload strong{font-size:1rem;color:#103c4a}.studio-upload>span:not(.studio-upload-icon){color:#5b7885;font-size:.85rem}
.studio-upload input{display:block;width:100%;max-width:100%;font-size:.76rem;margin-top:8px;color:#335d69}
.studio-upload-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650;color:#106f60!important}
.studio-meta,.studio-status,.studio-note{background:#eef9f5;color:#286653;border-radius:12px;padding:12px 15px;font-size:.91rem;line-height:1.65}
.studio-meta{margin-top:12px}.studio-status{white-space:pre-line}.studio-note{background:#f2f6f9;color:#54717f}
.studio-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:end}.studio-controls>div{min-width:0}
.studio-controls .form-label{font-size:.9rem}.studio-text-input{padding:13px;font-size:1rem}
.studio-color{height:42px;width:100%!important;cursor:pointer}
.studio-advanced{background:#f8fbfc;border:1px solid #e2eaed;border-radius:14px;padding:15px}
.studio-advanced summary{cursor:pointer;font-weight:750;color:#17675a}.studio-sound{display:flex;align-items:center;gap:8px;padding:10px 0}.studio-sound input{width:18px;height:18px}
.studio-preview-wrap{background:#f7fafc;padding:15px;border-radius:16px;border:1px solid #e2ebee}
.studio-preview-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:9px}.studio-preview-heading span{font-size:.82rem;color:#68808b}
#studioCanvas{display:block;background:#122536;width:100%;max-height:500px;object-fit:contain;aspect-ratio:16/9;border-radius:13px;cursor:crosshair;touch-action:manipulation}
.studio-preview-btn{margin-top:10px;border-radius:11px;font-weight:700}.studio-output{border:1px solid #b2e6cf;background:#eefaf3;padding:16px;border-radius:16px}.studio-output>strong{display:block;color:#116f46;margin-bottom:12px}.studio-output video{width:100%;max-height:420px;background:#122536;border-radius:12px}
.studio-step .action-btn{padding:13px 18px;font-size:1rem;font-weight:750}
@media(max-width:640px){.studio-input-grid,.studio-controls{grid-template-columns:1fr}.studio-step{padding:15px}.studio-head{padding:17px}.studio-step-top small{width:100%;margin-left:45px}.studio-upload{padding:15px 9px}.studio-preview-heading span{width:100%}}
/* Prevent long input content pushing the mobile workspace sideways. */
.studio-steps,.studio-steps *{box-sizing:border-box}
.studio-step .form-control,.studio-step .form-select,.studio-step input[type=file]{max-width:100%;min-width:0}
