body.studio-open #app>.main,body.studio-open #collection-dock{display:none!important}.studio[hidden]{display:none}.studio{padding-bottom:70px}.studio-title,.studio-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.studio-title h1{font-size:36px;margin:8px 0}.studio-intro{color:#56636a;max-width:820px;line-height:1.6}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:30px}.library-card{border:1px solid #dbe2e3;border-radius:16px;overflow:hidden;background:#fff}.library-cover{display:flex;position:relative;align-items:center;justify-content:center;width:100%;aspect-ratio:9/12;background:#10282b;color:#b5f5d7;border:0;cursor:pointer;font-size:36px}.library-cover img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.library-cover-label{position:absolute;bottom:0;left:0;right:0;padding:14px;background:#10282bdd;color:white;font-size:14px}.library-info{padding:18px}.library-info strong{display:block}.library-info p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#65717a}.library-info>span{display:block;font-size:14px;margin:10px 0;color:#65717a}.studio-empty{border:1px dashed #97b9b2;border-radius:20px;padding:65px 25px;text-align:center;margin-top:30px;background:#f0f8f5}.studio-reel-heading{display:flex;align-items:center;gap:20px;margin:28px 0;overflow-wrap:anywhere}.studio-reel-heading>span{max-width:650px;color:#647277}.studio-settings,.studio-step{border:1px solid #d7e3df;border-radius:18px;background:white;padding:26px;margin:22px 0}.studio-settings summary,.advanced summary{cursor:pointer;font-weight:650;padding:8px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.studio label:not(.button):not(.reference-choice){font-weight:600;font-size:16px}.studio input:not([type=radio]):not([type=checkbox]):not([type=file]),.studio textarea,.studio select{display:block;width:100%;padding:12px;border:1px solid #aabfba;border-radius:9px;background:#fff;color:#102b26;font:inherit;font-weight:400;margin-top:8px;box-sizing:border-box}.studio textarea{resize:vertical}.studio p{line-height:1.6}.studio-settings p,.cost-note{color:#5c6a69;font-size:14px}.studio-flow{display:grid;grid-template-columns:1fr;gap:0}.step-title{display:flex;gap:12px;align-items:center;margin-bottom:22px}.step-title>span{width:36px;height:36px;background:#176b58;color:#fff;display:grid;place-items:center;border-radius:50%;font-weight:700}.step-title h2{margin:0;font-size:22px}.source-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:760px}.studio figure{margin:0}.source-pair video,.source-pair img{width:100%;height:360px;object-fit:contain;background:#102426;border-radius:12px}.studio figcaption{font-size:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:10px 0 20px}.studio a{color:#176b58;text-underline-offset:3px}.media-placeholder{height:250px;background:#edf4f1;display:grid;place-items:center;border-radius:12px;color:#53665f}.reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,180px));gap:16px;margin:22px 0}.reference-choice{position:relative;display:flex;flex-direction:column;gap:8px;border:2px solid #d9e4df;padding:10px;border-radius:12px;cursor:pointer;font-size:14px}.reference-choice:has(input:checked){border-color:#16745d;background:#edfff4}.reference-choice input{position:absolute;top:15px;left:15px;accent-color:#16745d;width:20px;height:20px}.reference-choice img{height:200px;width:100%;object-fit:contain}.studio-field{display:block;margin:18px 0}.advanced{margin:16px 0}.advanced label{display:block}.inline-check{display:flex;align-items:center;gap:10px}.inline-check input{width:20px;height:20px;accent-color:#176b58}.cost-note{margin-bottom:0}.video-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,300px));gap:24px;margin-top:20px}.video-results video{width:100%;max-height:450px;background:#102426;border-radius:12px}.job-list{list-style:none;padding:0;margin:0}.job-list li{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid #e1e8e5;padding:18px 0;overflow-wrap:anywhere}.job-list p{margin:8px 0;font-size:14px}.job-list small{font-size:13px}.job-error{color:#963e29}.studio-delete{text-align:right}.studio-delete button{color:#963e29}.studio .button{cursor:pointer}.studio .button:disabled{opacity:.5;cursor:wait}.header-actions{flex-wrap:wrap}.header-caption{flex-shrink:1}@media(max-width:1050px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-caption,.header-divider{display:none}}@media(max-width:720px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.studio-step,.studio-settings{padding:18px}.source-pair{gap:12px}.source-pair video,.source-pair img{height:250px}.job-list li{align-items:flex-start;flex-direction:column}.studio-title h1{font-size:30px}.header-inner{flex-wrap:wrap}.header-actions{justify-content:flex-start}.studio-reel-heading{display:block}}@media(max-width:420px){.library-grid{grid-template-columns:1fr}.source-pair{grid-template-columns:1fr}}
.result-tabs{display:flex;gap:12px;margin:24px 0}.saved-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.saved-result-media{background:#102426;height:350px;display:grid;place-items:center}.saved-result-media img,.saved-result-media video{width:100%;height:100%;max-height:350px;object-fit:contain}.saved-results-grid .library-info>.text-button{margin-top:18px}@media(max-width:950px){.saved-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.saved-results-grid{grid-template-columns:1fr}}
.studio img[data-studio="enlarge-image"]{cursor:zoom-in}.studio img[data-studio="enlarge-image"]:focus-visible{outline:3px solid #16745d;outline-offset:3px}dialog.image-lightbox{width:min(1200px,96vw);max-width:96vw;max-height:96dvh;border:0;border-radius:16px;padding:18px;background:#102426;color:#fff;overflow:auto}dialog.image-lightbox::backdrop{background:#061416db}.image-lightbox>img{display:block;max-width:100%;width:auto;height:auto;max-height:80dvh;object-fit:contain;margin:16px auto 0}.lightbox-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lightbox-bar strong{margin-right:auto}.lightbox-bar .button{min-height:42px}@media(max-width:600px){dialog.image-lightbox{padding:12px}.image-lightbox>img{max-height:75dvh}}

.batch-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0;position:sticky;top:70px;z-index:3;background:var(--bg,#fff);padding:16px;border:1px solid #d9e3df;border-radius:14px}.batch-selected{outline:3px solid #176b55}.batch-select{display:flex;align-items:center;gap:10px;padding:12px;font-size:16px;cursor:pointer}.batch-select input{width:20px;height:20px;accent-color:#176b55}.run-dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:0;border-radius:20px;padding:28px;color:#19302d}.run-dialog::backdrop{background:rgba(10,25,22,.65)}.run-dialog input{font:inherit;padding:12px;max-width:100%;border:1px solid #cdd9d4;border-radius:8px}.run-prompt{padding:16px;background:#eff5f2;border-radius:10px;font-size:14px;line-height:1.6}.batch-progress{padding:16px 0;border-top:1px solid #dce5e1}.batch-progress summary{cursor:pointer;font-weight:600;line-height:1.6}.batch-progress .job-list{max-height:440px;overflow:auto}.batch-progress a{display:inline-block;margin:4px 12px 4px 0}.run-status{color:#97452c}

.vmos-settings input,.vmos-network input{font:inherit;padding:12px;border:1px solid #cdd9d4;border-radius:8px;width:100%;box-sizing:border-box}.vmos-settings details{margin:20px 0}.vmos-settings summary{cursor:pointer;font-weight:600}.vmos-network{margin-top:24px;padding:16px;background:#eff5f2;border-radius:12px}.vmos-dialog video{width:100%;max-height:240px;background:#101a17;border-radius:12px}.vmos-dialog select{padding:12px;font:inherit;width:100%;border:1px solid #cdd9d4;border-radius:8px}.vmos-progress{border-top:1px solid #dce5e1;margin-top:16px;padding-top:8px;font-size:14px;overflow-wrap:anywhere}.vmos-progress p{white-space:normal;display:block;line-height:1.5;overflow:visible}.vmos-fields small{font-size:14px;color:#52665e}

.vmos-dialog textarea{width:100%;box-sizing:border-box;padding:12px;font:inherit;border:1px solid #cdd9d4;border-radius:8px;resize:vertical}.vmos-advanced{border-top:1px solid #dce5e1;padding:10px 0}.vmos-advanced summary{cursor:pointer;font-weight:600}.vmos-dialog input[readonly]{background:#eff5f2;color:#52665e}

.batch-stop{border-color:#ae4d3a;color:#963e29}.batch-reel-id{display:block;overflow-wrap:anywhere;margin:8px 0}.run-dialog select{width:100%;padding:12px;font:inherit;border:1px solid #cdd9d4;border-radius:8px}

.schedule-stats{display:flex;gap:24px;flex-wrap:wrap;margin:20px 0}.schedule-stats strong{font-size:24px}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.schedule-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;margin:0;overflow-wrap:anywhere}.schedule-card video{width:100%;aspect-ratio:9/16;background:#13231e;border-radius:10px;object-fit:contain}.schedule-card h2{font-size:20px;margin-top:0}.schedule-card p{margin:8px 0}.schedule-status{font-weight:600}.schedule-card small{font-size:14px}@media(max-width:900px){.schedule-grid{grid-template-columns:1fr}}@media(max-width:480px){.schedule-card{grid-template-columns:88px minmax(0,1fr);gap:12px}.schedule-card h2{font-size:18px}}
.bulk-plan-dialog{width:min(1000px,94vw)}
.bulk-phone-all{display:flex;gap:12px;align-items:center;font-weight:700;margin:20px 0 12px}
.bulk-phones{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;max-height:260px;overflow:auto;margin-bottom:22px}
.bulk-phones label{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dbe5df;border-radius:10px}
.bulk-phones small{display:block;color:#606d68;margin-top:3px;overflow-wrap:anywhere}
.bulk-phones label:has(:disabled){opacity:.55}
.bulk-phones input,.bulk-phone-all input{width:18px;height:18px;accent-color:#18634e;flex:none}
.bulk-preview{max-height:48vh;overflow:auto;border:1px solid #dbe5df;border-radius:10px}
.bulk-preview table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.bulk-preview th{position:sticky;top:0;background:#edf5ef;padding:14px;z-index:1}
.bulk-preview td{padding:14px;border-top:1px solid #e3e9e5;vertical-align:top;min-width:145px}
.bulk-preview td:first-child{min-width:235px}.bulk-preview td p{margin:6px 0 0}.bulk-preview small{color:#626e67}
.schedule-grid{align-items:start}
.schedule-card{align-items:start;min-width:0}
.schedule-media{width:100%;aspect-ratio:9/16;align-self:start;background:#13231e;border-radius:10px;overflow:hidden}
.schedule-media video{display:block;width:100%;height:100%;object-fit:contain}
.schedule-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;min-height:150px;padding:12px 4px;border:0;background:#13231e;color:#fff;border-radius:10px;touch-action:pan-y pinch-zoom}
.schedule-preview span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffff24;font-size:22px}
.schedule-preview small{font-size:14px;line-height:1.3}
.schedule-sync-status{min-height:1.6em;margin:8px 0;color:#61716b;font-size:14px}
