.video-editor{max-width:1320px;margin:0 auto;padding:clamp(16px,3vw,32px)}
.video-editor__header{margin-bottom:20px}.video-editor__header h1{margin:.25rem 0;font-size:clamp(1.75rem,4vw,2.5rem)}
.video-editor__header>p:last-child{max-width:760px;color:var(--color-text-muted,#536174)}
.video-editor__layout{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(320px,.85fr);gap:24px;align-items:start}
.video-editor__stage{position:sticky;top:20px;min-width:0}.video-editor__preview-heading{display:grid;gap:2px;margin:0 auto 10px;max-width:540px}.video-editor__preview-heading strong{font-size:.9rem;color:#0a315f}.video-editor__preview-heading span{font-size:.76rem;color:#64748b}.video-preview{position:relative;overflow:hidden;margin:auto;max-height:72vh;max-width:100%;background:#0a1424;border-radius:20px;box-shadow:0 18px 48px rgba(8,35,70,.22)}
.video-preview video:not(.video-preview__background){position:relative;z-index:1;display:block;width:100%;height:100%;min-height:320px;background:#0a1424}.video-preview__background{position:absolute;z-index:0;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(22px) brightness(.58);transform:scale(1.08)}
.video-preview__shade{position:absolute;z-index:2;inset:auto 0 0;height:35%;pointer-events:none;background:linear-gradient(transparent,rgba(0,25,56,.82))}
.video-preview__content{position:absolute;z-index:3;left:5px;right:5px;bottom:5px;min-height:12%;padding:3%;border-radius:14px;background:rgba(8,102,229,.9);color:#fff;display:grid;gap:6px;align-content:center}
.video-preview[data-template="title_price"] .video-preview__content,.video-preview[data-template="features"] .video-preview__content{background:rgba(7,59,118,.92)}
.video-preview [hidden]{display:none!important}
.video-preview__title{font-size:clamp(.41rem,.81vw,.57rem);line-height:1.22;text-transform:uppercase;text-wrap:balance}
.video-preview__price{justify-self:start;padding:.3em .62em;border-radius:999px;background:#fff;color:#073b76;font-size:.47rem;font-weight:800}
.video-preview__features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.video-preview__features span{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:2px;padding:.1em .3em;border:1px solid rgba(255,255,255,.68);border-radius:999px;font-size:.52rem;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-preview__features svg{width:.9em;height:.9em;flex:none}
.video-preview__logo{position:absolute;z-index:4;max-height:16%;object-fit:contain;filter:drop-shadow(0 2px 7px rgba(0,0,0,.35))}.video-preview__logo[data-position="bottom-left"]{left:2%;bottom:2%}.video-preview__logo[data-position="bottom-right"]{right:2%;bottom:2%}.video-preview__logo[data-position="top-left"]{left:2%;top:2%}.video-preview__logo[data-position="top-right"]{right:2%;top:2%}
.video-editor__metadata{margin:.75rem 0 0;color:var(--color-text-muted,#536174);overflow-wrap:anywhere}
.video-editor__settings{display:grid;gap:10px;min-width:0}.video-editor__group{border:1px solid var(--color-border,#dce3eb);border-radius:14px;background:var(--color-surface,#fff);overflow:hidden}.video-editor__group summary{min-height:48px;padding:14px 16px;cursor:pointer;font-weight:800;list-style:none}.video-editor__group summary::-webkit-details-marker{display:none}.video-editor__group summary::after{content:"⌄";float:right}.video-editor__group[open] summary::after{transform:rotate(180deg)}
.video-editor__group-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 16px 16px}.video-field{display:grid;gap:6px;font-size:.9rem;font-weight:700}.video-field input,.video-field select{width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--color-border,#cbd5e1);border-radius:9px;background:var(--color-surface,#fff);color:inherit}.video-field input[type="file"]{padding:7px}.video-field__hint{font-size:.78rem;font-weight:500;line-height:1.4;color:var(--color-text-muted,#536174);overflow-wrap:anywhere}.video-range{display:grid;grid-template-columns:1fr 44px;align-items:center;gap:8px}.video-range input{padding:0;border:0}.video-range output{text-align:right}.video-feature-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-check{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;border:1px solid var(--color-border,#dce3eb);border-radius:9px}.video-check input{width:20px;height:20px}.video-audio-file,.video-timing-grid{display:contents}
.video-editor__action{display:grid;gap:10px;padding:16px;border-radius:14px;background:var(--color-surface,#fff);border:1px solid var(--color-border,#dce3eb)}.video-editor__action progress{width:100%;height:12px}.video-editor__status{min-height:24px;overflow-wrap:anywhere}.video-editor__status[data-kind="error"],.video-editor__status[data-kind="failed"]{color:#a51d2d}.video-editor__status[data-kind="completed"]{color:#176b38}
.video-editor__progress{display:grid;gap:8px;padding:12px;border-radius:11px;background:var(--color-surface-soft,#f3f6fa);border:1px solid var(--color-border,#dce3eb)}.video-editor__progress[hidden]{display:none}.video-editor__progress-info{display:flex;align-items:center;justify-content:space-between;gap:12px}.video-editor__progress-label{font-weight:750}.video-editor__progress-percent{font-variant-numeric:tabular-nums;color:var(--color-primary,#155eef)}.video-editor__progress progress{display:block;width:100%;height:16px;accent-color:var(--color-primary,#155eef)}.video-editor__progress-help{color:var(--color-text-muted,#536174);line-height:1.4}
.video-editor__selection-progress{margin-top:10px}
@media(min-width:901px){.video-editor{padding-top:8px}.video-editor__header{margin-bottom:12px}.video-editor__header .eyebrow{display:none}.video-editor__header h1{margin:0 0 6px;font-size:2.15rem}.video-editor__header>p:last-child{margin:0}.video-editor__layout{gap:18px}.video-editor__stage{top:12px}}
@media(max-width:900px){.video-editor{padding:14px}.video-editor__layout{grid-template-columns:1fr}.video-editor__stage{position:static}.video-preview{max-height:62vh}.video-editor__group-body{grid-template-columns:1fr}.video-feature-grid{grid-template-columns:1fr 1fr}.video-timing-grid{display:grid;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px}}
@media(max-width:430px){.video-preview video{min-height:260px}.video-feature-grid,.video-timing-grid{grid-template-columns:1fr}.video-editor__header{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.video-editor *{scroll-behavior:auto!important;transition:none!important}}
