.hs-page{max-width:1180px;margin:0 auto;padding:28px 24px 56px;color:var(--text);font-family:Vazirmatn,sans-serif}
.hs-breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:20px}.hs-breadcrumb a{color:var(--primary)}
.hardsub-panel{background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-soft)}
.hs-heading{padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border)}.hs-heading h1{font-size:25px;font-weight:900;line-height:1.6;margin:5px 0}.hs-heading p{font-size:13px;color:var(--muted);line-height:1.9}.hs-eyebrow{color:var(--primary);font-size:11px;font-weight:700}.hs-free{color:var(--primary);background:var(--primary-soft);border-radius:8px;padding:6px 14px;font-size:12px;font-weight:700}
.hs-workbench{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:28px;padding:28px 30px}.hs-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.hs-section-heading h2{font-size:14px;font-weight:800}.hs-section-heading>span{font-size:11px;color:var(--muted)}
.hs-preview-stage{background:var(--bg);border:1px solid var(--border);border-radius:14px;min-height:290px;display:flex;align-items:center;justify-content:center;overflow:hidden;aspect-ratio:16/10}.hs-preview-stage img{width:100%;height:100%;object-fit:contain;max-height:480px}.hs-preview-stage img[hidden],.hs-preview-empty[hidden]{display:none}.hs-preview-empty{display:flex;align-items:center;flex-direction:column;gap:10px;padding:25px;text-align:center;color:var(--muted)}.hs-preview-empty svg{width:54px;height:54px;color:var(--primary);margin-bottom:6px}.hs-preview-empty strong{font-size:13px;color:var(--text-soft)}.hs-preview-empty span{font-size:12px}.hs-preview-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.hs-preview-footer>span{font-size:11px;line-height:1.8;color:var(--muted)}
.hs-settings{padding-inline-start:24px;border-inline-start:1px solid var(--border)}.hs-settings fieldset{margin:0 0 22px;border:0;padding:0}.hs-settings legend{font-size:12px;font-weight:700;margin-bottom:10px}.hs-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hs-swatch input,.hs-corners input{position:absolute;opacity:0;width:1px;height:1px}.hs-swatch>span{display:flex;align-items:center;flex-direction:column;gap:7px;border:1px solid var(--border);border-radius:9px;padding:10px 4px;cursor:pointer;transition:160ms}.hs-swatch i{width:24px;height:24px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px rgba(100,116,139,.3)}.hs-swatch small{font-size:10px;color:var(--muted)}.hs-swatch input:checked+span,.hs-corners input:checked+span{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 1px var(--primary)}.hs-swatch input:focus-visible+span,.hs-corners input:focus-visible+span{outline:3px solid var(--primary);outline-offset:3px}.hs-corners{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hs-corners label>span{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);border-radius:9px;padding:10px;font-size:12px;cursor:pointer}.hs-corners i{width:22px;height:16px;background:var(--muted)}.hs-corners .hs-round{border-radius:5px}.hs-sample{background:var(--surface-soft);border-radius:10px;padding:16px 8px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px}.hs-sample>span{padding:6px 12px;font-size:13px;transition:160ms}.hs-sample small{font-size:10px;color:var(--muted)}.hs-font-note{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.hs-font-note span{margin:0 8px}
.hs-button{display:inline-flex;gap:12px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:11px 16px;font:700 12px Vazirmatn,sans-serif;cursor:pointer;transition:160ms;white-space:nowrap}.hs-primary{background:var(--primary);color:#fff}.hs-secondary{background:var(--primary-soft);color:var(--primary);border-color:var(--border)}.hs-button:hover:not(:disabled){filter:brightness(.95);transform:translateY(-1px)}.hs-button:active:not(:disabled){transform:translateY(1px)}.hs-button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.hs-button:disabled{opacity:.5;cursor:wait}.hs-create-bar{margin:0 30px;padding:20px;border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hs-create-bar strong{font-size:14px}.hs-create-bar p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:5px}.hs-message{margin:16px 30px;font-size:12px;color:var(--muted);line-height:1.9}.hs-jobs-section{padding:12px 30px 24px}.hardsub-job{border:1px solid var(--border);border-radius:12px;padding:16px;margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.hs-job-info{flex:1;min-width:180px}.hs-job-info p{font-size:12px;font-weight:700}.hs-job-info small{font-size:11px;color:var(--muted)}.hs-job-error{color:var(--danger)!important;font-weight:400!important}.hs-progress{width:100%;height:5px;border-radius:4px;overflow:hidden;margin-top:10px;background:var(--bg)}.hs-progress>span{display:block;height:100%;background:var(--primary);transition:width .5s}.hs-cancel{color:var(--muted);background:var(--surface-soft);border-color:var(--border)}.hs-details{padding:16px 30px;background:var(--surface-soft);border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px 24px;font-size:11px;line-height:1.9;color:var(--muted)}.hs-details p:last-child{width:100%}.hs-empty-jobs{font-size:12px;color:var(--muted);padding:12px 0}.hardsub-result-link{display:inline-block;padding:.5rem 1rem;border-radius:.6rem;background:var(--primary-soft);color:var(--primary);font-weight:700}.hardsub-upload-note{font-size:.8rem;color:var(--muted);margin-block:.5rem;line-height:1.8}
@media(max-width:760px){.hs-page{padding:16px 12px 32px}.hs-heading{padding:20px}.hs-heading h1{font-size:20px}.hs-workbench{grid-template-columns:1fr;padding:20px;gap:24px}.hs-settings{padding:20px 0 0;border-inline-start:0;border-top:1px solid var(--border)}.hs-preview-stage{min-height:210px}.hs-create-bar{margin:0 20px;flex-direction:column;align-items:stretch}.hs-message{margin:16px 20px}.hs-jobs-section{padding:10px 20px 20px}.hs-details{padding:16px 20px}.hs-preview-footer{align-items:flex-start}.hs-section-heading>span{max-width:55%;text-align:left}}
@media(prefers-reduced-motion:reduce){.hs-button,.hs-swatch>span,.hs-sample>span,.hs-progress>span{transition:none}}
.hs-sample [lang="en"]{font-family:Arial,sans-serif}
.hs-page{width:100%;min-width:0;box-sizing:border-box}.hs-heading>div,.hs-settings,.hs-preview-section{min-width:0}@media(max-width:760px){.hs-workbench{grid-template-columns:minmax(0,1fr)}.hs-heading{align-items:flex-start}.hs-free{flex-shrink:0}}
.hs-height-label,.hs-height-ends{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.hs-height-label output{font-variant-numeric:tabular-nums;font-weight:700;color:var(--primary);background:var(--primary-soft);padding:3px 9px;border-radius:6px}.hs-height input[type=range]{position:static;opacity:1;width:100%;height:20px;margin:12px 0 4px;accent-color:var(--primary);cursor:pointer;direction:rtl}.hs-height input:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}.hs-height p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:8px}
@font-face{font-family:HardsubVazirmatn;src:url('/static/fonts/hardsub/Vazirmatn-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HardsubArial;src:local('Arial');font-weight:400;font-display:block}
@font-face{font-family:HSVazirmatn;src:url('/static/fonts/hardsub/Vazirmatn-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSVazirmatn;src:url('/static/fonts/hardsub/vazirmatn-Bold.ttf') format('truetype');font-weight:700;font-display:block}
@font-face{font-family:HSNazanin;src:url('/static/fonts/hardsub/nazanin-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSYekan;src:url('/static/fonts/hardsub/yekan-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSBadr;src:url('/static/fonts/hardsub/badr-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSArimo;src:url('/static/fonts/hardsub/arimo-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSArimo;src:url('/static/fonts/hardsub/arimo-Bold.ttf') format('truetype');font-weight:700;font-display:block}
@font-face{font-family:HSAsul;src:url('/static/fonts/hardsub/asul-Asul-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSAsul;src:url('/static/fonts/hardsub/asul-Asul-Bold.ttf') format('truetype');font-weight:700;font-display:block}
@font-face{font-family:HSMontserrat;src:url('/static/fonts/hardsub/montserrat-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSMontserrat;src:url('/static/fonts/hardsub/montserrat-Bold.ttf') format('truetype');font-weight:700;font-display:block}
@font-face{font-family:HSRoboto;src:url('/static/fonts/hardsub/roboto-Regular.ttf') format('truetype');font-weight:400;font-display:block}
@font-face{font-family:HSRoboto;src:url('/static/fonts/hardsub/roboto-Bold.ttf') format('truetype');font-weight:700;font-display:block}
.hs-preview-frame{position:relative;width:max-content;max-width:100%;overflow:hidden}.hs-preview-frame[hidden]{display:none}.hs-preview-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:480px;object-fit:contain}.hs-preview-stage .hs-preview-frame img{width:auto;height:auto;max-height:480px}
.hs-contrast-note{font-size:11px;line-height:1.8;color:var(--muted);margin:2px 0 12px}
.hs-settings .hs-font-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.hs-font-fields label,.hs-ranges label{font-size:11px;font-weight:700}.hs-font-fields select{display:block;width:100%;margin-top:4px;padding:7px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text)}.hs-toggles{display:flex;gap:12px;margin-bottom:10px;font-size:11px}.hs-toggles label{display:flex;gap:4px;align-items:center}.hs-settings fieldset{margin-bottom:10px}.hs-settings legend{margin-bottom:5px}.hs-swatches{grid-template-columns:repeat(6,1fr);gap:4px}.hs-swatch>span{padding:4px 2px;gap:2px}.hs-swatch i{width:16px;height:16px}.hs-swatch small{font-size:8px;white-space:nowrap}.hs-ranges{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.hs-ranges label{display:block;min-width:0}.hs-ranges output{float:left;color:var(--primary)}.hs-ranges input{display:block;width:100%;margin:4px 0 0;accent-color:var(--primary);direction:rtl}.hs-reset{border:0;background:none;color:var(--primary);font:700 11px Vazirmatn,sans-serif;cursor:pointer}.hs-jobs-section details{margin-top:6px}.hs-jobs-section summary{cursor:pointer;color:var(--primary);font-size:11px}.hs-jobs-section .hardsub-job{padding:8px 12px;margin-top:5px}
@media(min-width:1200px) and (min-height:850px){.hs-page{max-width:1600px;padding:8px 20px 12px}.hs-breadcrumb{margin-bottom:5px}.hs-heading{padding:10px 18px}.hs-heading h1{font-size:20px;margin:0}.hs-heading p{line-height:1.3}.hs-workbench{grid-template-columns:minmax(0,1.25fr) minmax(540px,1fr);padding:12px 18px;gap:14px}.hs-settings{padding-inline-start:14px}.hs-section-heading{margin-bottom:6px}.hs-preview-stage{min-height:0;aspect-ratio:16/9}.hs-preview-frame img{max-height:430px}.hs-preview-footer{margin-top:5px}.hs-create-bar{margin:0 18px;padding:8px 12px}.hs-message{margin:4px 18px}.hs-jobs-section{padding:4px 18px 8px}.hs-details{padding:5px 18px}.hs-details p:last-child{width:auto}.hs-settings .hs-contrast-note,.hs-settings .hs-font-note{margin:5px 0}}
@media(min-width:1200px) and (min-height:850px){.hs-heading{padding:6px 18px}.hs-heading p,.hs-details p{margin:0}.hs-preview-stage{height:min(34vh,315px);aspect-ratio:auto}.hs-preview-stage .hs-preview-frame img{max-height:min(34vh,315px)}}
/* The workbench uses source-sized video geometry inside a flexible editor layout. */
.hs-page{max-width:none;padding:10px 20px 18px}.hs-breadcrumb{margin-bottom:8px}
.hardsub-panel{border-radius:16px;box-shadow:0 14px 38px rgba(27,55,96,.07)}
.hs-heading{padding:10px 20px}.hs-heading h1{font-size:21px;line-height:1.45}.hs-heading .hs-eyebrow{font-size:11px}
.hs-workbench{direction:ltr;grid-template-columns:minmax(370px,400px) minmax(0,1fr);gap:18px;padding:12px 18px;align-items:start}
.hs-preview-section{grid-column:2;grid-row:1;direction:rtl;min-width:0}.hs-settings{grid-column:1;grid-row:1;direction:rtl;padding:0 0 0 18px;border-inline-start:0;border-left:1px solid var(--border)}
.hs-section-heading{margin-bottom:8px}.hs-section-heading h2{font-size:14px}
.hs-preview-stage{min-height:0;height:min(48vh,455px);aspect-ratio:auto;background:var(--surface-soft);border-radius:12px}
.hs-preview-stage .hs-preview-frame img{max-height:min(48vh,455px)}
.hs-preview-footer{margin-top:7px}.hs-preview-footer>span{font-size:12px}
.hs-control-group{padding:9px 0 10px;border-top:1px solid var(--border)}.hs-control-group h3{font-size:13px;font-weight:800;margin:0 0 8px;color:var(--text)}
.hs-settings .hs-font-fields{gap:8px;margin-bottom:8px}.hs-font-fields label,.hs-ranges label,.hs-settings legend{font-size:13px}
.hs-font-fields select{font-size:13px;padding:7px 8px;height:37px}
.hs-toggles{gap:8px;margin:0 0 9px}.hs-toggles label{position:relative;gap:6px;min-height:31px;padding:5px 10px;border:1px solid var(--border);border-radius:8px;font-size:12px;font-weight:700;cursor:pointer}.hs-toggles label:has(input:checked){background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.hs-toggles input{accent-color:var(--primary)}
.hs-settings fieldset{margin-bottom:9px}.hs-settings legend{margin-bottom:5px}.hs-swatches{gap:5px}.hs-swatch>span{min-height:45px;padding:3px 1px;gap:1px;border-radius:8px}.hs-swatch i{position:relative;width:18px;height:18px}.hs-swatch input:checked+span i::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#0f6fec;font:900 16px Arial,sans-serif;text-shadow:0 1px #fff}.hs-swatch small{font-size:10px}
.hs-ranges{gap:8px}.hs-ranges label{font-size:12px;line-height:1.35}.hs-ranges output{font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.hs-ranges input{height:17px;margin-top:5px;cursor:pointer}.hs-ranges input:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.hs-reset{font-size:12px}.hs-reset:hover{text-decoration:underline}.hs-reset:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}
.hs-settings .hs-contrast-note,.hs-settings .hs-font-note{font-size:11px;line-height:1.4;margin:3px 0}.hs-font-note{color:var(--muted)}
.hs-production{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;margin:0 18px;padding:9px 12px;background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;align-items:center}
.hs-create-bar{margin:0;padding:0;border:0;background:transparent;gap:12px}.hs-create-bar strong{font-size:13px}.hs-message{grid-column:1/-1;grid-row:2;margin:0;min-height:0;font-size:11px;line-height:1.4}.hs-message:empty{display:none}
.hs-jobs-section{padding:0;min-width:0}.hs-jobs-section .hs-section-heading{margin:0}.hs-jobs-section .hardsub-job{margin:0;padding:5px 8px;min-height:42px;background:var(--surface)}.hs-jobs-section .hs-job-info p{font-size:12px}.hs-jobs-section details{margin:3px 0 0}.hs-empty-jobs{padding:3px 0;margin:0}.hs-details{padding:7px 18px;gap:5px 16px}.hs-details p{margin:0;font-size:11px}
@media(max-width:1100px){.hs-workbench{grid-template-columns:minmax(0,1fr)}.hs-preview-section,.hs-settings{grid-column:1;grid-row:auto}.hs-settings{border-left:0;border-top:1px solid var(--border);padding:12px 0 0}.hs-preview-stage,.hs-preview-stage .hs-preview-frame img{max-height:52vh}.hs-production{grid-template-columns:1fr}.hs-message{grid-row:auto}}
@media(max-width:760px){.hs-page{padding:12px}.hs-workbench{padding:14px}.hs-preview-stage{height:auto;min-height:220px;aspect-ratio:16/10}.hs-preview-stage .hs-preview-frame img{max-height:56vh}.hs-font-fields label,.hs-ranges label{font-size:13px}.hs-production{margin:0 14px}.hs-create-bar{flex-direction:row;align-items:center}.hs-details{padding:12px 14px}}
@media(min-width:1200px) and (min-height:800px){.hs-control-group{padding:4px 0 5px}.hs-control-group h3{margin-bottom:3px}.hs-settings .hs-font-fields{margin-bottom:4px}.hs-font-fields select{height:32px;padding:4px 8px}.hs-toggles{margin-bottom:4px}.hs-toggles label{min-height:27px;padding:3px 8px}.hs-settings fieldset{margin-bottom:4px}.hs-settings legend{margin-bottom:2px}.hs-swatch>span{min-height:37px}.hs-production{padding:4px 8px;gap:2px 10px}.hs-jobs-section .hs-section-heading{display:none}.hs-jobs-section .hardsub-job{min-height:34px;padding:3px 6px}.hs-button{padding:7px 10px}.hs-details{padding:4px 18px}}
.hs-ranges label,.hs-toggles label{font-size:13px}
/* Approved three-card studio: both columns share the same bottom grid line. */
.hs-page{background:radial-gradient(ellipse at 40% 40%,rgba(75,155,255,.09),transparent 75%);padding:10px 0 18px}
.hardsub-panel{display:grid;direction:ltr;grid-template-columns:minmax(320px,370px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:16px 18px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.hs-heading{grid-column:1/-1;direction:rtl;padding:0 3px 2px;border:0;background:transparent!important}.hs-heading h1{font-size:23px}.hs-save-state{color:var(--success);font-size:12px;font-weight:700}.hs-workbench{display:contents}
.hs-settings{grid-column:1;grid-row:2/4;display:flex;flex-direction:column;gap:14px;padding:0;border:0;align-self:stretch}
.hs-control-group,.hs-preview-section,.hs-production{border:1px solid color-mix(in srgb,var(--primary) 13%,var(--surface));border-radius:16px;background:linear-gradient(150deg,var(--surface) 45%,color-mix(in srgb,var(--primary-soft) 45%,var(--surface)));box-shadow:0 7px 22px rgba(31,103,193,.07),inset 0 1px 0 rgba(255,255,255,.3)}
.hs-settings .hs-control-group{padding:15px 17px;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.hs-control-group h3{display:flex;align-items:center;gap:9px;font-size:16px;margin:0}.hs-group-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--primary-soft);color:var(--primary);font:700 18px Arial,sans-serif}
.hs-settings .hs-font-fields,.hs-color-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.hs-font-fields label,.hs-color-fields label{font-size:13px;font-weight:700}.hs-font-fields select,.hs-color-select select{height:36px;font:700 13px Vazirmatn,sans-serif;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);width:100%;padding:4px 8px}
.hs-color-select{display:block;position:relative;margin-top:5px}.hs-color-select select{padding-right:35px}.hs-color-select i{position:absolute;right:10px;top:10px;width:16px;height:16px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(100,116,139,.25);pointer-events:none}
.hs-toggles{direction:ltr;margin:0;gap:7px}.hs-toggles label{min-width:46px;padding:5px 12px;justify-content:center;background:var(--surface);font:700 15px Arial,sans-serif}.hs-toggles input{position:absolute;opacity:0}.hs-toggles label:has(input:checked){background:linear-gradient(135deg,#2687ff,#0663ef);color:#fff}.hs-toggles label:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:3px}
.hs-ranges{grid-template-columns:1fr;gap:13px}.hs-ranges label{font-size:13px}.hs-ranges output{padding:3px 9px;border-radius:7px;background:var(--primary-soft);color:var(--text);min-width:49px;text-align:center}.hs-ranges input{appearance:none;-webkit-appearance:none;height:6px;margin:12px 0 5px;border-radius:5px;background:linear-gradient(to left,var(--primary) var(--hs-fill,30%),var(--border) var(--hs-fill,30%))}.hs-ranges input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:var(--primary);border:2px solid var(--surface);box-shadow:0 2px 5px rgba(15,111,236,.22)}.hs-ranges input::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:var(--primary);border:2px solid var(--surface)}
.hs-reset{align-self:flex-end;border:1px solid var(--border-strong);border-radius:8px;padding:6px 11px;background:var(--surface);font-size:12px}.hs-settings .hs-contrast-note:empty{display:none}.hs-settings .hs-contrast-note{margin:0;font-size:11px}
.hs-preview-section{grid-column:2;grid-row:2;align-self:stretch;padding:13px;display:flex;flex-direction:column;min-height:0}.hs-preview-section .hs-section-heading{margin-bottom:10px}.hs-preview-section h2{color:var(--primary)}.hs-preview-section h2::before{content:'●';margin-left:7px;font-size:12px}.hs-preview-stage{height:auto;flex:1;min-height:310px;border:0;background:var(--surface-soft);border-radius:10px}.hs-preview-stage .hs-preview-frame img{max-height:min(49vh,520px)}.hs-preview-footer{min-height:17px}.hs-preview-footer>span{font-size:10px}
.hs-production{grid-column:2;grid-row:3;direction:rtl;margin:0;padding:12px;gap:7px 12px;grid-template-columns:auto minmax(0,1fr);align-self:end}.hs-create-bar>div{display:none}.hs-primary{background:linear-gradient(140deg,#2b8aff,#0560ef);box-shadow:0 4px 10px rgba(15,111,236,.14)}.hs-production .hs-button{padding:10px 14px;font-size:13px}.hs-jobs-section .hardsub-job{border:0;background:transparent;padding:0}.hs-jobs-section .hardsub-job a{background:var(--surface);color:var(--primary);border:1px solid var(--primary);box-shadow:none}.hs-jobs-section .hs-section-heading{display:none}.hs-details{grid-column:1/-1;border:0;background:transparent!important;padding:0;font-size:10px;gap:3px 10px}.hs-details p{font-size:10px}.hs-message{grid-row:auto}.hs-job-info p{margin:0}.hs-job-info small{font-size:10px}
@media(max-width:1100px){.hardsub-panel{grid-template-columns:1fr;grid-template-rows:auto}.hs-heading,.hs-settings,.hs-preview-section,.hs-production{grid-column:1;grid-row:auto}.hs-preview-section{order:1}.hs-settings{order:2}.hs-production{order:3}.hs-preview-stage{min-height:230px}.hs-settings .hs-control-group{flex:auto}.hs-preview-stage .hs-preview-frame img{max-height:50vh}}
/* Four cards sit in a fixed-height editor shell; accordion state never changes its bottom edge. */
@media(min-width:1101px){
  .hardsub-panel{height:var(--hs-panel-height);min-height:620px;grid-template-rows:auto minmax(0,1fr) auto;gap:9px 16px}
  .hs-settings{min-height:0;padding:10px;gap:7px;justify-content:flex-start;border:1px solid var(--border);border-radius:16px;background:linear-gradient(160deg,var(--surface),color-mix(in srgb,var(--primary-soft) 30%,var(--surface)));box-shadow:0 7px 22px rgba(31,103,193,.07)}
  .hs-settings .hs-control-group{flex:0 0 auto;gap:6px;padding:8px 10px;border-radius:10px;box-shadow:none;background:color-mix(in srgb,var(--surface) 92%,var(--primary-soft));justify-content:flex-start}
  .hs-control-group h3{font-size:14px}.hs-group-icon{width:25px;height:25px;font-size:15px}
  .hs-font-fields select,.hs-color-select select{height:30px;padding-block:2px}
  .hs-ranges{gap:5px}.hs-ranges input{margin:5px 0 2px}.hs-ranges output{padding:1px 6px}
  .hs-toggles label{min-height:29px}.hs-preview-stage{min-height:0}.hs-preview-section{overflow:hidden}
}
.hs-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.hs-card-heading h3{margin:0}
.hs-card-body{display:grid;gap:6px}.hs-card-body[hidden]{display:none}
.hs-text-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.hs-text-options .hs-toggles{align-self:end;padding-bottom:1px}
.hs-color-field{display:block;min-width:0;font-size:13px;font-weight:700}.hs-color-select{margin-top:2px}.hs-color-select i{top:7px}
.hs-two-ranges{grid-template-columns:1fr 1fr;gap:5px 10px}.hs-two-ranges label:last-child{grid-column:1/-1}
.hs-switch{display:inline-flex;align-items:center;cursor:pointer}.hs-switch input{position:absolute;opacity:0;width:1px;height:1px}.hs-switch span{width:38px;height:22px;border-radius:99px;background:var(--border-strong);padding:3px;transition:background .15s}.hs-switch span:before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}.hs-switch input:checked+span{background:var(--primary)}.hs-switch input:checked+span:before{transform:translateX(-16px)}.hs-switch input:focus-visible+span{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:1100px){.hardsub-panel{height:auto!important}.hs-settings{gap:10px;padding:10px;border:1px solid var(--border);border-radius:14px}.hs-settings .hs-control-group{flex:0 0 auto;gap:8px;padding:10px 12px}.hs-preview-section,.hs-production{overflow:visible}.hs-preview-stage{min-height:220px}}
.hs-render-progress{min-width:0;margin-top:6px}.hs-render-progress[hidden],.hs-details[hidden]{display:none!important}.hs-render-progress>[data-hs-render-label]{display:block;font-size:13px;font-weight:700;color:var(--text);margin-bottom:5px}.hs-render-progress .hs-progress{height:8px;margin:0;background:var(--border);border-radius:99px}.hs-render-progress .hs-progress>span{background:repeating-linear-gradient(110deg,rgba(255,255,255,.25) 0 9px,transparent 9px 18px),var(--primary);background-size:36px 100%,auto;animation:hs-progress-loop .8s linear infinite}.hs-render-progress .hs-progress.is-indeterminate>span{width:35%!important;animation:hs-progress-sweep 1.35s ease-in-out infinite}
@keyframes hs-progress-loop{to{background-position:36px 0,0 0}}@keyframes hs-progress-sweep{from{transform:translateX(-300%)}to{transform:translateX(300%)}}
@media(prefers-reduced-motion:reduce){.hs-render-progress .hs-progress>span,.hs-render-progress .hs-progress.is-indeterminate>span{animation:none}}
.hs-preview-frame img{transition:filter .18s ease,opacity .18s ease}.hs-preview-frame.is-loading img{filter:blur(5px);opacity:.72}.hs-preview-loading{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;background:rgba(15,23,42,.12)}.hs-preview-loading[hidden]{display:none!important}.hs-preview-loading span{width:42px;height:42px;border:4px solid rgba(255,255,255,.85);border-top-color:var(--primary);border-radius:50%;box-shadow:0 2px 12px rgba(15,23,42,.28);animation:hs-preview-spin .75s linear infinite}@keyframes hs-preview-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hs-preview-frame img{transition:none}.hs-preview-loading span{animation:none}}

/* Compact horizontal controls leave room between distinct editor sections. */
.hs-settings{padding:16px 14px;gap:50px;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.hs-settings .hs-control-group{flex:0 0 auto;padding:10px 12px;gap:10px;border:0;border-radius:10px;background:linear-gradient(180deg,color-mix(in srgb,var(--primary-soft) 55%,var(--surface)),var(--surface));box-shadow:none;justify-content:flex-start}
.hs-settings h3{font-size:15px;font-weight:800;line-height:24px;color:var(--text)}
.hs-settings .hs-font-fields{gap:10px}
.hs-settings .hs-font-fields label,.hs-settings .hs-color-field,.hs-settings .hs-ranges label{font-size:13px;font-weight:500;line-height:20px}
.hs-settings .hs-font-fields select,.hs-settings .hs-color-select select{height:32px;font-weight:500;margin-top:3px}
.hs-settings .hs-color-field{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:8px}
.hs-settings .hs-color-select{margin-top:0}.hs-settings .hs-color-select select{margin-top:0}.hs-settings .hs-color-select i{top:9px;width:14px;height:14px}
.hs-settings .hs-text-options{grid-template-columns:110px minmax(0,1fr) auto;gap:8px;align-items:center}
.hs-settings .hs-text-options .hs-color-field{display:contents}
.hs-settings .hs-text-options .hs-control-label{grid-column:1;grid-row:1}
.hs-settings .hs-text-options .hs-color-select{grid-column:2;grid-row:1}
.hs-settings .hs-text-options .hs-toggles{grid-column:3;grid-row:1}
.hs-settings .hs-toggles{direction:ltr;gap:5px;padding:0}
.hs-settings .hs-toggles label{flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;font:500 13px Vazirmatn,sans-serif;border:1px solid var(--border);border-radius:7px}
.hs-settings .hs-toggles b{font:700 14px Arial,sans-serif;margin:0}
.hs-settings .hs-toggles label:has(input:checked){background:var(--primary-soft);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 40%,var(--border))}
.hs-settings .hs-ranges{grid-template-columns:1fr;gap:10px}
.hs-settings .hs-ranges label{display:grid;grid-template-columns:110px minmax(0,1fr) 36px;align-items:center;gap:8px}
.hs-settings .hs-ranges .hs-control-label{grid-column:1;grid-row:1}
.hs-settings .hs-ranges output{grid-column:3;grid-row:1;background:none;padding:0;min-width:0;color:var(--muted);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;text-align:left}
.hs-settings .hs-ranges input{grid-column:2;grid-row:1;width:100%;min-width:0;height:5px;margin:0;cursor:pointer}
.hs-settings .hs-ranges input::-webkit-slider-thumb{width:16px;height:16px;box-shadow:none}
.hs-settings .hs-card-heading{justify-content:space-between;gap:12px;min-height:24px}
.hs-settings .hs-card-body{gap:10px}
.hs-settings .hs-contrast-note{margin-top:auto;padding-top:0;color:var(--muted);font-size:13px}
.hs-settings .hs-contrast-note:empty{display:none}
@media(max-width:1100px){.hs-settings{padding:16px;gap:30px}.hs-settings .hs-control-group{padding:12px;gap:12px}}
@media(max-width:380px){.hs-settings .hs-ranges label{grid-template-columns:96px minmax(0,1fr) 32px;gap:5px}.hs-settings .hs-color-field{grid-template-columns:96px minmax(0,1fr)}.hs-settings .hs-text-options{grid-template-columns:96px minmax(0,1fr) auto}}

/* Hardsub shares the media-translation workbench instead of opening a second page. */
#media-translate-form.is-hardsub-mode > .tool-primary-column,
#media-translate-form.is-hardsub-mode > .media-translate-settings{display:none!important}
#media-translate-form .media-hardsub-workbench[hidden]{display:none!important}
#media-complete-area [data-download-card][hidden]{display:none!important}
#media-translate-form.is-hardsub-mode .media-hardsub-workbench{display:block;width:100%;min-width:0;color:var(--text);font-family:Vazirmatn,sans-serif}
.media-hardsub-workbench .hardsub-panel{width:100%}
.media-hardsub-workbench .hs-heading{display:flex;align-items:center;justify-content:flex-start;gap:16px;padding-top:6px}
.media-hardsub-workbench .hs-back{margin-inline-end:auto;background:var(--surface);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 45%,var(--border));box-shadow:0 3px 10px rgba(15,111,236,.09);font-size:13px;padding:10px 16px}
.media-hardsub-workbench .hs-back::before{content:'→';font-size:19px;line-height:1}
.media-hardsub-workbench .hs-back:hover:not(:disabled),.media-hardsub-workbench .hs-back:active:not(:disabled){background:var(--primary-soft);transform:none}
@media(min-width:1101px){.media-hardsub-workbench .hardsub-panel{min-height:0;height:var(--hs-panel-height)}.media-hardsub-workbench .hs-settings{gap:clamp(16px,4vh,40px)}}
/* Keep generic dark-mode header and checked-label rules out of the editor chrome. */
html.dark .media-hardsub-workbench .hs-heading{background:transparent!important}
html.dark #media-translate-form .media-hardsub-workbench .hs-switch:has(input:checked){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html.dark .workspace-shell:has(#media-translate-form.is-hardsub-mode),
html.dark .workspace-tool-container:has(#media-translate-form.is-hardsub-mode){background-color:transparent!important}
@media(max-width:1100px){.media-hardsub-workbench .hs-preview-section{order:1}.media-hardsub-workbench .hs-settings{order:2}.media-hardsub-workbench .hs-production{order:3}}
.hs-render-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;margin-bottom:5px;font-size:13px}.hs-render-heading [data-hs-render-label]{font-weight:700;color:var(--text)}.hs-render-heading [data-hs-render-eta]{color:var(--muted)}.hs-render-heading [hidden]{display:none!important}@media(max-width:720px){.hs-render-heading [data-hs-render-eta]{flex-basis:100%}}

/* Static preview and appearance remain separate from the audio/text review. */
.hardsub-panel{grid-template-columns:repeat(3,minmax(0,1fr))}
.hardsub-panel .hs-settings{grid-column:1;grid-row:2;min-height:0;overflow:auto;gap:18px}
.hardsub-panel .hs-preview-section{grid-column:2;grid-row:2}
.hardsub-panel .hs-production{grid-column:1/-1;grid-row:3;grid-template-columns:auto minmax(0,1fr);align-self:stretch}
.hs-review{grid-column:3;grid-row:2;direction:rtl;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden}
.hs-review-header{flex:0 0 auto;padding:16px;border-bottom:1px solid var(--border);background:var(--surface);z-index:1}
.hs-review-header h2{margin:0 0 12px;font-size:17px;font-weight:800;color:var(--text)}
.hs-review-header p{margin:8px 0 0;font-size:11px;line-height:1.7;color:var(--muted)}
.hs-review-header [data-hs-audio-status]:empty{display:none}
.hs-audio-controls{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:var(--surface-soft)}
.hs-audio-controls button{flex:0 0 34px;height:34px;border:0;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:15px;cursor:pointer}
.hs-audio-controls input{flex:1;min-width:0;accent-color:var(--primary);cursor:pointer}
.hs-audio-controls span{font:11px Arial,sans-serif;white-space:nowrap;color:var(--text-soft);font-variant-numeric:tabular-nums}
.hs-audio-controls button:disabled{opacity:.5;cursor:wait}
.hs-review-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px;scrollbar-width:thin}
.hs-review-cue{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:10px;border:1px solid color-mix(in srgb,var(--primary) 12%,var(--border));border-radius:11px;margin-bottom:8px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 28%,var(--surface)),var(--surface) 75%);transition:border-color .15s,box-shadow .15s}
.hs-review-cue:hover{border-color:color-mix(in srgb,var(--primary) 32%,var(--border))}
.hs-review-cue.is-active{border-color:color-mix(in srgb,var(--primary) 65%,var(--border));background:linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 75%,var(--surface)),var(--surface) 90%);box-shadow:inset -2px 0 var(--primary),0 3px 12px color-mix(in srgb,var(--primary) 7%,transparent)}
.hs-review-cue.is-invalid textarea{border-color:#dc2626}
.hs-review-cue-number{border:0;border-radius:7px;padding:4px 8px;background:var(--primary-soft);color:var(--primary);font:700 12px Vazirmatn,sans-serif;cursor:pointer;margin:0;min-width:28px}
.hs-review-original{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.8;color:var(--muted);padding:0 3px}
.hs-review-cue textarea{grid-column:1/-1;box-sizing:border-box;display:block;width:100%;min-height:0;resize:none;overflow:hidden;border:1px solid color-mix(in srgb,var(--primary) 14%,var(--border));border-radius:7px;padding:7px 10px;background:var(--surface);color:var(--text);font:400 14px/1.8 Vazirmatn,sans-serif;overflow-wrap:anywhere}
.hs-review-cue textarea:focus{outline:2px solid color-mix(in srgb,var(--primary) 25%,transparent);border-color:var(--primary)}
.hs-review button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.hs-current-render{min-width:0}.hs-current-render .hardsub-job{margin:0;padding:0;border:0;justify-content:flex-end;background:transparent}
.hs-current-render .hs-job-info{flex:0 1 auto}.hs-current-render .hs-job-info p{font-size:12px}
.hs-current-render .hs-job-info small{display:none}
/* Unified card headings and modal render lifecycle. */
.hardsub-panel .hs-section-heading{box-sizing:border-box;min-height:56px;padding:16px;margin:0;border-bottom:1px solid var(--border);background:var(--surface);flex:0 0 auto}
.hardsub-panel .hs-section-heading h2{margin:0;font-size:14px;font-weight:800;color:var(--text);line-height:24px}
.hardsub-panel .hs-section-heading h2::before,.hardsub-panel .hs-section-heading h2::after{display:none}
.hardsub-panel .hs-settings{padding:0;overflow:hidden;gap:0}
.hs-settings-body{min-height:0;overflow:auto;padding:16px 14px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}
@media(min-width:1101px){.hs-settings-body{flex:1}.hs-settings-body:has([name="hs-background-enabled"]:checked):has([name="hs-stroke-enabled"]:checked){justify-content:space-between}.hs-settings-body .hs-contrast-note:empty{display:none}}
.hardsub-panel .hs-heading{display:flex;direction:rtl;align-items:center;justify-content:space-between;gap:16px}
.hardsub-panel .hs-heading h1{margin:0;text-align:right}
.hardsub-panel .hs-back{margin:0;color:var(--danger);border:1px solid var(--danger);background:color-mix(in srgb,var(--danger) 7%,var(--surface));text-decoration:none;flex-shrink:0}
.hardsub-panel .hs-back:hover:not(:disabled){background:color-mix(in srgb,var(--danger) 14%,var(--surface))}
.hardsub-panel .hs-preview-section [data-hs-action="video"]{background:linear-gradient(120deg,#2687ff,#0663ef);animation:hs-action-glow 2.8s ease-in-out infinite}
.hardsub-panel .hs-preview-section [data-hs-action="video"]:disabled{animation:none;box-shadow:none}
@keyframes hs-action-glow{0%,100%{box-shadow:0 0 10px rgba(15,111,236,.2)}50%{box-shadow:0 0 22px rgba(15,111,236,.45)}}
@media(prefers-reduced-motion:reduce){.hardsub-panel .hs-preview-section [data-hs-action="video"]{animation:none;box-shadow:0 0 12px rgba(15,111,236,.25)}}
.hardsub-panel .hs-preview-section{padding:0;display:flex;flex-direction:column;overflow:hidden}
.hardsub-panel .hs-preview-well{display:flex;flex-direction:column;flex:1;min-height:0;margin:16px 16px 0;padding:12px;border-radius:12px;background:var(--surface-soft)}
.hardsub-panel .hs-preview-stage{margin:0;flex:1;min-height:0;border:0;background:transparent;border-radius:10px}
.hardsub-panel .hs-preview-frame{border-radius:10px}
.hardsub-panel .hs-preview-caption{flex-shrink:0;margin:16px 0 6px;text-align:center;font-size:12px;line-height:1.8;color:var(--muted)}
.hardsub-panel .hs-preview-footer{margin:8px 16px 0}
.hardsub-panel .hs-preview-footer:has([data-hs-fit-note]:empty){display:none}
.hardsub-panel .hs-preview-section .hs-create-bar{display:grid;direction:rtl;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:24px 16px 16px;border:0;background:transparent;flex-shrink:0}
.hardsub-panel .hs-preview-section .hs-create-bar .hs-button{box-sizing:border-box;width:100%;min-width:0;min-height:50px;padding:12px 8px;font-size:14px;font-weight:800;justify-content:center}
.hardsub-panel .hs-preview-section [data-hs-download-srt]{background:var(--surface);border-color:color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--primary)}
.hardsub-panel .hs-preview-section .hs-message{margin:0 16px 12px;flex-shrink:0;overflow-wrap:anywhere}
@media(max-width:600px){.hardsub-panel .hs-preview-well{flex:none}.hardsub-panel .hs-preview-stage{min-height:220px}.hardsub-panel .hs-preview-section .hs-create-bar{grid-template-columns:1fr;padding-top:20px}}
.hardsub-panel .hs-review-header{padding:0}
.hs-review-header>:not(.hs-section-heading){margin-inline:16px}
.hs-review-header .hs-audio-controls{margin-top:12px}
.hs-review-header>p:last-child{margin-bottom:16px}
.hs-process-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--text);direction:rtl;box-shadow:var(--shadow-strong)}
.hs-process-dialog::backdrop{background:rgba(0,0,0,.45);backdrop-filter:blur(7px)}
.hs-process-dialog h2{margin:0 0 16px;font-size:20px}
.hs-process-dialog p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.hs-process-dialog video{display:block;width:100%;max-height:50dvh;margin-top:16px;border-radius:10px;background:#000}
.hs-process-dialog [hidden]{display:none!important}
.hs-process-dialog .hardsub-job{flex-wrap:wrap;gap:12px;justify-content:space-between}
.hs-process-footer{margin-top:20px;padding-top:16px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}
.hs-process-footer p{flex:1;min-width:180px;color:var(--muted);margin:0}
.hs-process-check{display:none;width:28px;height:28px;flex-shrink:0;color:var(--success,#22b573)}
.hs-process-footer [data-hs-current-job]:empty{display:none}
.hs-process-dialog.is-completed h2{display:flex;align-items:center;gap:10px;margin-bottom:20px;font-weight:800}
.hs-process-dialog.is-completed .hs-process-check{display:block}
.hs-process-dialog.is-completed [data-hs-process-status]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
.hs-process-dialog.is-completed video{margin-top:0}
.hs-process-dialog.is-completed .hs-process-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:0;border:0}
.hs-process-dialog.is-completed .hs-process-footer .hs-button{box-sizing:border-box;width:100%;min-width:0;min-height:48px;font-size:15px}
.hs-process-dialog.is-completed [data-hs-process-close]{background:var(--surface);color:var(--text);border-color:var(--border-strong)}
.hs-process-dialog.is-completed [data-hs-background-note]{grid-column:1/-1;min-width:0;text-align:center;font-size:12px;margin-top:4px}
html:has(.hs-process-dialog[open]){overflow:hidden}
@media(max-width:1300px) and (min-width:1101px){.hardsub-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}.hs-settings .hs-ranges label{grid-template-columns:90px minmax(0,1fr) 30px}.hs-settings .hs-color-field{grid-template-columns:90px minmax(0,1fr)}.hs-settings .hs-text-options{grid-template-columns:90px minmax(0,1fr) auto}}
@media(max-width:1100px){.hardsub-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto!important}.hardsub-panel .hs-preview-section{grid-column:1;grid-row:2;order:initial}.hardsub-panel .hs-settings{grid-column:1;grid-row:3;order:initial}.hs-review{grid-column:2;grid-row:2/4;max-height:900px}.hardsub-panel .hs-production{grid-row:4;order:initial}.hs-review-list{max-height:720px}.hs-preview-stage{min-height:220px}}
@media(max-width:760px){.hardsub-panel{grid-template-columns:minmax(0,1fr)}.hardsub-panel .hs-preview-section{grid-column:1;grid-row:2}.hs-review{grid-column:1;grid-row:3;max-height:none}.hs-review-header{position:sticky;top:0}.hs-review-list{height:440px;flex:none}.hardsub-panel .hs-settings{grid-column:1;grid-row:4}.hardsub-panel .hs-production{grid-row:5;grid-template-columns:minmax(0,1fr)}.hs-current-render .hardsub-job{justify-content:flex-start}.hs-audio-controls{gap:8px}}
