:root{--blue:#078fff;--muted:#8c9eb2;--line:#e8edf3;--ink:#292f38}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:linear-gradient(#e6f2ff 64px,#fff 510px)}button,a,input{font:inherit}button{cursor:pointer;background:white;border:1px solid #dce5ef;border-radius:7px;color:#879bb2;padding:9px 13px;transition:.18s}button:hover{border-color:var(--blue);color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #89c8ff;outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}.primary{background:linear-gradient(110deg,#087fff,#0da8e8);color:white;border:0}.primary:hover{color:white;filter:brightness(1.05)}header{height:64px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;background:white}header>div{display:flex;gap:12px}.brand{display:flex;align-items:center;text-decoration:none;gap:12px}.brand img{width:84px;height:32px}.brand span{border-left:1px solid var(--line);padding-left:12px;color:#939da9}.hero{text-align:center;padding:60px 20px 64px}.eyebrow{font-size:12px;letter-spacing:2px;color:#8da0b7}.hero h1{font-size:44px;margin:16px 0 20px;font-weight:750;letter-spacing:-1px}.hero h1 span{color:#089cf4}.hero>p:not(.eyebrow){color:#93a3b4}.pill{border:0;border-radius:30px;background:#d9ebff;color:#138cff;margin-top:10px;padding:8px 23px;font-size:12px}main{max-width:1200px;margin:0 auto;padding:0 0 20px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:0 8px 30px #263a501f}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.section-head h2{margin:0;font-size:16px;display:flex;align-items:center;gap:10px}.section-head h2 img{width:22px;height:22px;object-fit:contain}.small{font-size:12px;padding:4px 8px;border-radius:4px}.editor{display:grid;grid-template-columns:1.36fr 1fr;gap:40px}.step{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;color:#909ba8}.step span{background:#f6f8fb;border-radius:5px;padding:9px 13px}.step small{font-size:10px;color:#acb9c8}.drop{background:radial-gradient(ellipse,#303d49,#20252a 75%);border-radius:12px;aspect-ratio:1.88;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;flex:1;min-width:0;touch-action:none}.drop.dragging{outline:3px solid var(--blue)}#empty{text-align:center;color:#c4cfd9}#empty h3{font-size:19px;margin:22px 0 9px}#empty p{font-size:12px;color:#8a9aab}#empty small{display:block;font-size:10px;color:#7d8b9a;margin-top:20px}#choose{padding:12px 25px;margin-top:8px;box-shadow:0 8px 25px #008fff33}.orb{display:grid;place-items:center;width:70px;height:70px;border-radius:40% 60% 50% 40%;background:linear-gradient(145deg,#9ac9e3,#20485e 50%,#6c9db5);border:2px solid #86bad6;margin:auto;font-size:39px;color:#b7e0f9;box-shadow:0 0 0 7px #4b8da227;transform:rotate(-12deg)}video{width:100%;height:100%;max-height:340px;object-fit:contain}.media-foot{display:flex;align-items:center;justify-content:space-between;height:48px;margin-top:6px;color:#b3bfcd;font-size:11px}.setting-label{color:#8595a7;font-size:12px;margin-top:25px}.setting-label small{font-size:10px;color:#b2bdca;margin-left:8px}.modes{display:flex;gap:20px}.mode{text-align:left;width:50%;padding:16px 14px;border-radius:8px;position:relative}.mode:after{content:'○';position:absolute;right:12px;top:8px;color:#dbe5ef}.mode.active:after{content:'●';color:#63aaff}.mode.active{border-color:#6caaff;background:#f4f9ff;color:#68a8ff}.mode b{display:block;font-size:24px;margin-bottom:10px}.mode strong{display:block;font-size:12px;font-weight:500;margin-bottom:8px}.mode small{font-size:10px;color:#bac8d7}#details{color:#94a4b7;font-size:12px;margin-top:23px}#details h4{font-weight:500;margin-bottom:10px}#details p{line-height:1.8}.tip{font-size:10px;color:#b4c1d0}.settings{position:relative;padding-bottom:55px}.actions{display:flex;justify-content:flex-end;gap:12px;position:absolute;bottom:8px;right:0}.history{margin-top:24px;min-height:335px}.notice{font-size:10px;background:#f6f8fb;border-radius:6px;padding:13px;color:#a7b7c9}.notice span{color:#369aff}.empty-record{text-align:center;color:#a4b3c6;padding:62px 10px 50px}.empty-record>div{font-size:28px}.empty-record p{font-size:12px;margin-bottom:5px}.empty-record small{font-size:10px;color:#bdc9d7}.examples{margin-top:64px}.examples h2{font-size:20px;margin-bottom:8px}.examples>p{color:#a3b3c4;font-size:13px;margin:0 0 20px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:52px;box-shadow:0 8px 30px #263a5006}figure{margin:0}figcaption{color:#96abc4;font-size:12px;margin:4px 0 12px;display:flex;justify-content:space-between}figcaption small{font-size:10px;color:#bbc7d6}figure>img{display:block;width:100%;aspect-ratio:1.79;object-fit:cover;border-radius:7px}figure p{font-size:10px;color:#b3c3d8}footer{margin-top:185px;border-top:1px solid var(--line);padding:30px 0 10px;display:flex;justify-content:space-between;align-items:center;color:#b0c1d6;font-size:11px}footer button{border:0;font-size:11px;margin-left:5px;padding:7px}dialog{border:0;border-radius:16px;padding:40px;max-width:calc(100% - 32px);width:580px;box-shadow:0 30px 90px #10203944}dialog::backdrop{background:#252f3bb3}.close{position:absolute;right:12px;top:8px;border:0;font-size:25px;background:transparent}.help-icon{text-align:center;font-size:42px;color:var(--blue);margin:5px 0 50px}.help-list p{font-size:14px;line-height:1.8}.modal-bottom{text-align:center;margin-top:35px}.modal-bottom button{padding:14px 45px}.plans{text-align:center}.plans h2{font-size:27px}.plans>p{color:var(--muted)}.tabs{display:flex;background:#f6f6f9;border-radius:30px;margin:30px auto 35px;max-width:450px;padding:3px}.tabs button{width:50%;border:0;border-radius:30px;background:transparent;color:#333}.tabs button.active{background:white;box-shadow:0 0 2px #ddd}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.plan{text-align:left;border:1px solid var(--line);padding:22px 20px;border-radius:13px}.plan.featured{border-color:var(--blue)}.plan h3{font-size:16px}.plan p,.plan li{font-size:11px;color:var(--muted)}.price{font-size:44px;font-weight:650;margin:42px 0 20px}.price small{font-size:17px;font-weight:400;color:#7090b7}.price em{font-size:10px;font-style:normal;font-weight:400;color:#a7b7cb}.quota{color:#7090b7;border-bottom:1px solid var(--line);padding-bottom:22px}.plan ul{list-style:none;padding:12px 0;line-height:2.6}.plan li:before{content:'✓';color:#81a8d6;margin-right:9px}.plan button{width:100%;margin-top:12px}.prototype{font-size:11px;color:#8b9aab;margin-top:18px}.form-field{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:13px;margin:20px 0}.media-row{display:flex;gap:12px}#thumbs{width:105px;max-height:340px;overflow:auto;flex-shrink:0}#thumbs button{width:100%;display:block;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}#thumbs button.selected{border-color:var(--blue);background:#eef7ff}.filename{overflow-wrap:anywhere}#selection{position:absolute;border:2px solid #149cff;background:#098cff2e;pointer-events:none}#regionHint{position:absolute;top:12px;color:white;font-size:12px;background:#0007;padding:6px 12px;border-radius:6px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#26364a;color:white;padding:13px 22px;border-radius:10px;z-index:10;display:none;max-width:90%;font-size:13px} [hidden]{display:none!important}@media(min-width:1600px){.hero{padding-bottom:64px;padding-top:60px}}@media(max-width:1250px){main{margin:0 28px}.editor{gap:30px}}@media(max-width:760px){header{padding:0 15px}.brand span{display:none}header button{font-size:11px;padding:8px}.hero{padding:40px 15px}.hero h1{font-size:30px}.hero>p{font-size:12px}main{margin:0 14px}.panel{padding:18px}.editor{grid-template-columns:1fr;gap:20px}.settings{min-height:290px}.drop{aspect-ratio:1.6}#empty h3{font-size:15px}.orb{width:48px;height:48px;font-size:27px}.comparison{grid-template-columns:1fr;gap:24px}.examples{margin-top:40px}footer{margin-top:70px;gap:20px;flex-wrap:wrap}.plan-grid{grid-template-columns:1fr}.plan .price{margin:15px 0}.plan ul{display:none}dialog{padding:28px 20px}.plans h2{font-size:21px}.section-head h2{font-size:14px}.notice{line-height:1.8}#thumbs{width:72px}.plan{padding:12px 18px}}

/* Header dimensions follow the supplied design specifications. */
body{padding-top:64px}
.site-header{position:fixed;inset:0 0 auto;z-index:100;height:64px;padding:0 24px;background:#fff;display:flex;align-items:center;justify-content:space-between}
.site-header .brand{gap:10px;flex-shrink:0}
.site-header .brand img{display:block;width:82px;height:32px;flex-shrink:0}
.site-header .header-divider{display:block;width:1px;height:14px;background:#D2CFD8;flex-shrink:0}
.site-header .brand span{border:0;padding:0;font-size:14px;line-height:120%;color:#757F8A}
.site-header .header-actions{display:flex;align-items:center;gap:12px}
.site-header .header-login{height:32px;padding:0 14px;border:1px solid #E3E8EE;border-radius:8px;font-size:12px;line-height:120%;color:#757F8A;white-space:nowrap;display:flex;align-items:center;justify-content:center}
.site-header .header-upgrade{height:32px;padding:0 14px;border-radius:8px;font-size:12px;line-height:120%;display:flex;align-items:center;gap:10px;white-space:nowrap}
.header-upgrade i{width:1px;height:12px;background:#ffffff66}
#remainingTime{font-variant-numeric:tabular-nums}
@media(max-width:760px){.site-header .brand span,.site-header .header-divider{display:none}}
@media(max-width:380px){.site-header .header-actions{gap:8px}.site-header .header-upgrade{padding:0 10px;gap:6px}}

/* Banner spacing and typography from the design. */
body{background:#fff}
.hero{padding:64px 20px;display:flex;flex-direction:column;align-items:center;gap:16px;background:linear-gradient(180deg,rgba(8,123,250,.12) 0%,rgba(8,123,250,0) 100%)}
.hero .eyebrow{margin:0;font-size:12px;line-height:120%}
.hero h1{margin:0;font-size:48px;line-height:120%;letter-spacing:0}
.hero>p:not(.eyebrow){margin:0;font-size:14px;line-height:120%}
.hero .pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:8px 20px;background:#DBECFF;border:0;border-radius:30px;color:#087BFA;font-size:12px;line-height:120%}
.hero .pill img{display:block;width:16px;height:16px;flex-shrink:0}
@media(max-width:520px){.hero{padding-left:16px;padding-right:16px}.hero h1{font-size:clamp(26px,7.5vw,38px)}.hero .eyebrow{letter-spacing:1px}}

/* A soft light sweep behind the upgrade label. */
.site-header .header-upgrade{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 3px 12px rgba(8,123,250,.16)}
.site-header .header-upgrade::before{content:"";position:absolute;z-index:-1;inset:-70% auto -70% 0;width:45%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12) 25%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.12) 75%,transparent);transform:translateX(-200%) skewX(-22deg);animation:upgrade-light 4.2s ease-in-out infinite}
.site-header .header-upgrade:hover{box-shadow:0 4px 16px rgba(8,123,250,.25)}
@keyframes upgrade-light{0%,16%{transform:translateX(-200%) skewX(-22deg);opacity:0}22%{opacity:1}58%{transform:translateX(340%) skewX(-22deg);opacity:1}64%,100%{transform:translateX(340%) skewX(-22deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.site-header .header-upgrade::before{animation:none;opacity:0}}

/* The three supplied vivo Sans weights, served with the site. */
@font-face{font-family:'vivo Sans';src:url('assets/fonts/vivoSans-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'vivo Sans';src:url('assets/fonts/vivoSans-DemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'vivo Sans';src:url('assets/fonts/vivoSans-ExtraBold.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
body{font-family:'vivo Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-weight:400;font-synthesis:none}
button,a,input,textarea,select{font-family:inherit}
h1,h2,h3,h4,b,strong,.section-head h2,.plan h3,.price{font-weight:600}
.hero h1{font-weight:800}
.mode strong,#details h4{font-weight:400}

/* Workspace title row: 20px above and below the 24px icon. */
.workspace{padding-top:20px;padding-left:24px}
.workspace>.section-head{height:24px;margin-bottom:20px}
.workspace>.section-head h2{font-size:16px;line-height:24px}
.workspace>.section-head h2 img{display:block;width:24px;height:24px;flex-shrink:0}

/* Compact help control using the supplied 12px icon. */
.workspace .workspace-help{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;font-size:12px;line-height:16px}
.workspace-help img{display:block;width:12px;height:12px;flex-shrink:0}

/* Quiet section labels instead of numbered step badges. */
.workspace .step{min-height:20px;margin-bottom:16px;align-items:center}
.workspace .step h3{margin:0;padding:0;background:none;font-size:14px;line-height:20px;font-weight:600;color:#757F8A}
.workspace .step small{font-size:11px;line-height:16px;color:#9BAABD}
.workspace .setting-label{margin-top:0;line-height:20px}

/* Upload frame and supplied artwork. */
.workspace .editor{grid-template-columns:minmax(0,640px) minmax(0,1fr)}
.workspace .drop{height:340px;aspect-ratio:auto}
.upload-corner{position:absolute;width:14px;height:14px;pointer-events:none;z-index:2}
.corner-tl{top:18px;left:18px}.corner-tr{top:18px;right:18px;transform:rotate(90deg)}
.corner-bl{bottom:18px;left:18px;transform:rotate(-90deg)}.corner-br{bottom:18px;right:18px;transform:rotate(180deg)}
.upload-orb{display:block;width:96px;height:96px;object-fit:contain;margin:0 auto}
#empty h3{margin:16px 0 8px}#empty p{margin:0 0 16px}
#choose{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 24px;margin:0;font-size:12px;line-height:120%}
#choose img{display:block;width:18px;height:18px;flex-shrink:0}
.upload-formats{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;color:#889AAD;font-size:10px;line-height:12px}
.format-tag{display:inline-block;background:#889AAD;padding:3px 5px;color:#202830;border-radius:3px}
.format-divider{width:1px;height:10px;background:#889AAD;margin:0 4px}
@media(max-width:760px){.workspace .editor{grid-template-columns:minmax(0,1fr)}}

/* Matching treatment for the two processing modes. */
.workspace .mode{padding:16px 12px}
.workspace .mode .mode-icon{display:block;width:24px;height:24px;margin-bottom:10px;object-fit:contain;flex-shrink:0}
.workspace .mode strong{display:block;font-size:16px;line-height:18px;font-weight:400;margin:0 0 6px}
.workspace .mode small{display:block;font-size:14px;line-height:120%}

.upload-formats{color:#6B7886}
.upload-formats .format-tag{background:rgba(255,255,255,.024);color:#889AAD}

/* Upload empty state: explicit top offset and vertical rhythm. */
#empty{align-self:flex-start;width:100%;padding:36px 12px 0}
#empty .upload-orb{margin:0 auto}
#empty h3{color:#E8F1FA;font-size:24px;line-height:120%;margin:16px 0 8px}
#empty p{margin:0 0 20px}
#empty .upload-formats{margin-top:20px}
@media(max-width:520px){#empty h3{font-size:20px}}

/* Inline SVG strokes follow each card's selected state. */
.workspace .mode .mode-icon{color:#98ACC2;transition:color .18s ease}
.workspace .mode.active .mode-icon{color:#087BFA}

/* Keep labels opaque while the selected background remains pale. */
.workspace .mode{opacity:1;background:#fff;color:#757F8A}
.workspace .mode.active{background:rgba(8,123,250,.04);border-color:#6CAAFF;color:#087BFA}
.workspace .mode strong{color:#757F8A;opacity:1}
.workspace .mode.active strong{color:#087BFA}
.workspace .mode small{color:#757F8A;opacity:1}

.actions button,#reset{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.action-icon{display:block;width:14px;height:14px;flex-shrink:0}

/* Upload guidance typography. */
#details h4{font-size:14px;line-height:120%;color:#757F8A;margin:0 0 6px;font-weight:400}
#details p{font-size:12px;line-height:120%;color:#8A9BAD;margin:0}
.workspace .tip{display:flex;align-items:flex-start;gap:4px;font-size:12px;line-height:120%;color:#B4C1CE;margin-top:10px}
.tip-icon{display:block;width:14px;height:14px;flex-shrink:0;color:#B4C1CE}

/* Privacy note starts 20px below the video frame. */
.workspace .media-foot{margin-top:20px;height:auto;min-height:26px;align-items:flex-start}
.privacy-note{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:120%}
.privacy-note img{display:block;width:14px;height:14px;flex-shrink:0}

/* Align all three video actions on the same 32px row. */
.workspace #reset,.workspace #batch,.workspace #start{height:32px;padding:0 12px;font-size:12px;line-height:120%;gap:6px;border-radius:8px}
.workspace .media-foot{min-height:32px}
.workspace .actions{bottom:0;height:32px;align-items:center}

/* Per-video removal, also available to keyboard and touch users. */
.video-item{position:relative;margin-bottom:7px}
#thumbs .video-item-select{margin:0;padding-right:24px}
#thumbs .video-item-delete{position:absolute;top:2px;right:2px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin:0;padding:0;border:0;border-radius:5px;background:#fff;color:#8A9BAD;font-size:17px;line-height:1;opacity:0;pointer-events:none;transition:opacity .15s,color .15s}
#thumbs .video-item:hover .video-item-delete,#thumbs .video-item:focus-within .video-item-delete{opacity:1;pointer-events:auto}
#thumbs .video-item-delete:hover{color:#F05656;background:#FFF0F0}
@media(hover:none){#thumbs .video-item-delete{opacity:1;pointer-events:auto}}

#thumbs .video-item-select.selected{color:#087BFA}
#thumbs .video-item-delete{top:50%;transform:translateY(-50%)}
#videoNameTooltip{position:fixed;z-index:200;padding:8px 12px;border:1px solid #E3E8EE;border-radius:7px;background:#fff;color:#757F8A;box-shadow:0 4px 18px #23384f1a;font-size:12px;line-height:1.4;max-width:min(360px,calc(100vw - 16px));overflow-wrap:anywhere;pointer-events:none}

/* A visual media list with clear selection and less repeated labeling. */
.drop.has-video .upload-corner{display:none}
#thumbs{width:120px;scrollbar-width:thin;scrollbar-color:#d8e2ed transparent}
#thumbs>.video-item{margin-bottom:8px}
#thumbs .video-item-select{display:block;padding:3px;border-radius:8px;overflow:hidden;text-align:left;background:#fff;color:#757F8A;white-space:normal}
.video-thumb{display:block;width:100%;height:60px;object-fit:cover;border-radius:5px;background:linear-gradient(135deg,#23313e,#415568)}
.video-caption{display:block;padding:5px 4px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:14px}
#thumbs .video-item-select.selected{border-color:#087BFA;background:#EDF6FF;color:#087BFA;box-shadow:0 0 0 1px #087BFA inset}
#thumbs .video-item-delete{background:#ffffffed;box-shadow:0 1px 5px #0002;right:7px}
.workspace .setting-label{font-size:12px;color:#8A9BAD;margin:0 0 16px}
.range-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;margin-top:20px;background:#F6F9FC;border:1px solid #EDF1F6;border-radius:8px;font-size:12px;line-height:18px;color:#8A9BAD}
.range-summary strong{font-size:12px;font-weight:400;color:#757F8A;text-align:right}
.workspace .modes{gap:16px}
@media(max-width:520px){#thumbs{width:88px}.video-thumb{height:48px}.range-summary{padding:12px;gap:8px}.workspace .mode small{font-size:12px}}

/* Float the remove control over the thumbnail's upper-right corner. */
#thumbs{padding:8px 8px 0 0}
#thumbs .video-item-delete{top:0;right:0;transform:translate(30%,-25%);width:22px;height:22px;border-radius:50%;background:#FFEBE8;color:#FF5745;box-shadow:none;font-size:20px;line-height:1;z-index:3}
#thumbs .video-item-delete:hover{background:#FFDCD6;color:#E83F2F}

/* Settings hierarchy: choice, material summary, then a quiet hint. */
.workspace .settings{padding-bottom:64px}
.workspace .settings>.step{margin-bottom:20px}
.workspace .setting-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#757F8A;margin:0 0 12px}
.workspace .setting-label span{font-size:11px;color:#A8B3BF}
.workspace .mode{padding:16px 12px 18px;border-color:#E3E8EE;border-radius:10px}
.workspace .mode.active{border-color:#087BFA;background:#F3F8FF}
.workspace .mode small{font-size:12px;color:#8A9BAD}
.material-card{margin-top:24px;padding:16px;background:#F8FAFC;border:1px solid #EDF1F5;border-radius:10px}
.material-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;line-height:16px;color:#8A9BAD}
#materialStatus{font-size:10px;color:#9AA8B8;background:#EEF2F6;border-radius:20px;padding:2px 8px}
#materialStatus.ready{color:#37856B;background:#EAF5EF}
.material-card #details{margin:0}
.material-card #details h4{font-size:14px;line-height:20px;color:#505D6B;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.material-card #details p{font-size:12px;line-height:18px;color:#8A9BAD}
.material-card .range-summary{margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px solid #E5EBF1;border-radius:0;background:transparent;line-height:18px}
.material-card .range-summary strong{color:#505D6B}
.workspace .tip{margin-top:12px;font-size:11px;line-height:18px;color:#A3B1C0;gap:6px}
.workspace .tip-icon{margin-top:2px;color:#A3B1C0}
.workspace .mode small{font-size:14px;line-height:120%}
.workspace .tip{font-size:12px;line-height:120%;color:#B4C1CE}
.workspace .tip-icon{margin-top:0;color:#B4C1CE}

/* Minimal settings: modes, file information, and contextual selection status. */
.workspace .settings>.step{margin-bottom:16px}
.material-card{margin-top:24px;padding:16px}
.help-advice{color:#8A9BAD;font-size:12px!important;line-height:1.6}

/* Clearing media is a quiet, local action beside the preview. */
.workspace #reset{border-color:transparent;background:transparent;color:#8A9BAD;box-shadow:none}
.workspace #reset:hover{color:#757F8A;background:#F5F7FA;border-color:transparent}

/* Center the privacy note and all actions on the shared footer row. */
.workspace .media-foot{height:32px;align-items:center}
.workspace .privacy-note{line-height:120%;align-items:center}

/* Compact horizontal mode selectors. */
.workspace .modes{gap:12px}
.workspace .mode{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:18px 16px;column-gap:10px;row-gap:6px;align-content:center;align-items:center;min-height:80px;padding:16px 28px 16px 12px;border-radius:10px}
.workspace .mode .mode-icon{grid-column:1;grid-row:1 / 3;width:24px;height:24px;margin:0}
.workspace .mode strong{grid-column:2;grid-row:1;font-size:14px;line-height:18px;font-weight:600;margin:0;white-space:nowrap}
.workspace .mode small{grid-column:2;grid-row:2;font-size:12px;line-height:16px;white-space:nowrap}
.workspace .mode::after{content:none}
.workspace .mode.active::after{content:'✓';position:absolute;right:9px;top:10px;font-size:12px;line-height:14px;color:#087BFA}
@media(min-width:761px) and (max-width:1100px){.workspace .modes{flex-direction:column}.workspace .mode{width:100%}}
@media(max-width:400px){.workspace .mode{column-gap:8px;padding-left:10px;padding-right:20px}.workspace .mode small{font-size:11px}.workspace .modes{gap:8px}}

/* Keep selection beside the upload action and show details only when useful. */
.upload-buttons{display:flex;align-items:center;justify-content:center;gap:12px}
.workspace #batch{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:10px 16px;font-size:12px;line-height:120%;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.16);color:#B4C1CE;white-space:nowrap}
.workspace #batch:hover{background:rgba(255,255,255,.09);border-color:#889AAD;color:#E8F1FA}
#uploadMore:empty{display:none}
#uploadMore #batch{height:24px;padding:0 8px;color:#757F8A;border-color:transparent;background:transparent}
#uploadMore #batch:hover{color:#087BFA;background:#F3F8FF}
.workspace .upload-heading{height:24px;min-height:24px}
.material-card.is-empty{padding:0;border:0;background:transparent;margin-top:24px}
.material-card.is-empty #details p{font-size:12px;line-height:120%;color:#8A9BAD}
@media(max-width:400px){.upload-buttons{gap:8px}.workspace #batch{padding-left:12px;padding-right:12px}}

/* One background wraps both the batch icon and label. */
#uploadMore #batch{height:28px;padding:0 10px;gap:6px;border:0;background:#F6F8FB;border-radius:6px}
#uploadMore #batch span{padding:0;border-radius:0;background:transparent}
#uploadMore #batch:hover{background:#EDF5FF;color:#087BFA}
.material-card,.material-card.is-empty{margin-top:12px}

/* Shared top baseline for the media list, preview and settings. */
#thumbs{padding-top:0}
.workspace .settings>.step{height:24px;min-height:24px}
#regionLayer{position:absolute;z-index:4;pointer-events:none;touch-action:none}
.erase-region{position:absolute;border:2px solid #087BFA;background:rgba(8,123,250,.16);cursor:move;pointer-events:auto;touch-action:none;min-width:0;min-height:0}
.region-number{position:absolute;left:6px;top:4px;color:white;font-size:11px;text-shadow:0 1px 3px #0009;pointer-events:none}
.region-control{position:absolute;width:22px;height:22px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid white;border-radius:50%;font-size:19px;line-height:1;z-index:3;box-shadow:0 2px 6px #0002;touch-action:manipulation}
.region-plus{top:-12px;left:-12px;background:#087BFA;color:white}
.region-remove{bottom:-12px;right:-12px;background:#FFEBE8;color:#FF5745}
.region-plus:hover{background:#0068DF;color:white}.region-remove:hover{background:#FFDCD6;color:#E83F2F}
.region-handle{position:absolute;width:8px;height:8px;background:white;border:1px solid #087BFA;z-index:2;transform:translate(-50%,-50%)}
.handle-n{left:50%;top:0;cursor:ns-resize}.handle-s{left:50%;top:100%;cursor:ns-resize}.handle-e{left:100%;top:50%;cursor:ew-resize}.handle-w{left:0;top:50%;cursor:ew-resize}
.handle-ne{left:100%;top:0;cursor:nesw-resize}.handle-sw{left:0;top:100%;cursor:nesw-resize}.handle-nw{left:0;top:0;cursor:nwse-resize}.handle-se{left:100%;top:100%;cursor:nwse-resize}
.region-add-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:auto;background:#087BFA;color:white;border:0}

/* History shares the workspace title and help-control sizing. */
.history{padding-top:20px;padding-left:24px}
.history>.section-head{height:24px;margin-bottom:20px}
.history>.section-head h2{font-size:16px;line-height:24px;font-weight:600}
.history>.section-head h2 img{display:block;width:24px;height:24px;flex-shrink:0}
.history>.section-head>div{display:flex;align-items:center;gap:12px}
.history .small{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;font-size:12px;line-height:16px}
.history-action-icon{display:block;width:12px;height:12px;flex-shrink:0}

.notice{font-size:12px;line-height:120%}

/* Processing-history empty state. */
.empty-record{padding:60px 10px 50px;text-align:center}
.empty-record>img{display:block;width:40px;height:40px;margin:0 auto 14px}
.empty-record p{margin:0 0 6px;font-size:16px;line-height:120%;color:#8797A9}
.empty-record small{display:block;font-size:12px;line-height:120%;color:#B8C6D4}
.demo-history-bar{display:flex;align-items:center;justify-content:space-between;margin:16px 0 4px;font-size:12px;color:#A3B1C0}
.demo-history-bar button{background:transparent;border-color:transparent;color:#087BFA}
.history-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #EDF1F5}
.history-row:last-of-type{border-bottom:0}
.history-thumb{width:112px;height:64px;object-fit:cover;border-radius:7px;flex-shrink:0}
.history-info{flex:1;min-width:0}
.history-info h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;line-height:20px;color:#505D6B;margin:0 0 6px;overflow-wrap:anywhere}
.record-status{font-size:11px;line-height:16px;font-weight:400;background:#ECF7F1;color:#37856B;border-radius:4px;padding:2px 6px;white-space:nowrap}
.history-info p{font-size:12px;line-height:18px;color:#8A9BAD;margin:0 0 4px}
.history-info small{font-size:12px;line-height:18px;color:#B4C1CE}
.record-actions{display:flex;gap:10px;flex-shrink:0}
.record-actions .record-download{color:#087BFA;border-color:#98C7FF}.record-actions .record-delete{color:#F07065;border-color:#F5C6C1}
.history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:20px;border-top:1px solid #EDF1F5;font-size:12px;color:#8A9BAD}
.history-pagination>span{margin-right:12px}.history-pagination button{height:28px;min-width:28px;padding:0 8px;font-size:12px;border-radius:5px}.history-pagination .current{background:#087BFA;border-color:#087BFA;color:white}
.demo-label{font-size:12px;color:#8A9BAD;font-weight:400}
@media(max-width:1000px){.history-row{flex-wrap:wrap}.record-actions{margin-left:auto}}
@media(max-width:520px){.history-thumb{width:80px;height:52px}.history-info h3{font-size:12px}.record-actions{width:100%;justify-content:flex-end;gap:8px}.history-pagination{justify-content:center;flex-wrap:wrap}.demo-history-bar{gap:8px}}

/* Record typography, thumbnail sizing and supplied action icons. */
.history-row{gap:14px;align-items:center}
.history-thumb{width:116px;height:64px;flex-shrink:0}
.history-info{height:64px;display:flex;flex-direction:column;justify-content:flex-start}
.history-info h3{display:block;flex-shrink:0;margin:0 0 6px;font-size:16px;line-height:120%;color:#262C32;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-info .record-task{margin:0;font-size:12px;line-height:120%;color:#8596A9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-info .record-bottom{display:block;margin-top:auto;font-size:12px;line-height:120%;color:#8596A9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.record-actions .small{font-size:12px;line-height:120%;padding:4px 6px;gap:4px;white-space:nowrap}
.record-actions svg{display:block;width:14px;height:14px;flex-shrink:0}
@media(max-width:1100px){.record-actions{width:100%;justify-content:flex-end}.history-row{flex-wrap:wrap}}
@media(max-width:520px){.history-info h3{font-size:16px}.history-thumb{width:116px;height:64px}}

.examples{margin-top:64px}.examples h2{margin:0 0 8px;font-size:24px;line-height:120%;color:#262C32}.examples>p{margin:0 0 20px;font-size:12px;line-height:120%}
.comparison-interactive{padding:20px}.compare-toolbar{display:flex;justify-content:space-between;margin-bottom:14px;font-size:12px;color:#757F8A}.compare-toolbar span:last-child{color:#087BFA}
.compare-stage{position:relative;aspect-ratio:550/307;overflow:hidden;border-radius:10px;background:#17202B;isolation:isolate}.compare-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.compare-before{clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.compare-divider{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:white;transform:translateX(-50%);pointer-events:none;z-index:2;box-shadow:0 0 8px #0005}.compare-divider span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:white;color:#087BFA;font-size:18px;box-shadow:0 2px 15px #0004}
#compareSlider{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:3;touch-action:pan-y}.compare-stage:focus-within{outline:3px solid #89C8FF;outline-offset:3px}.compare-footer{margin-top:14px;text-align:center;font-size:12px;line-height:120%;color:#8A9BAD}
@media(max-width:520px){.comparison-interactive{padding:12px}}

.comparison-pair{gap:24px;padding:24px}.comparison-pair figcaption{align-items:center;margin:0 0 12px;font-size:12px;line-height:120%}.comparison-tag{padding:6px 10px;border-radius:5px}.original-tag{background:#F1F4F7;color:#757F8A}.processed-tag{background:#EAF4FF;color:#087BFA}.comparison-pair figcaption small{font-size:12px;color:#8A9BAD}.comparison-pair figure p{font-size:12px;line-height:120%;color:#8A9BAD;margin:12px 0 0}.comparison-pair figure>img{border:1px solid #E3E8EE}.comparison-pair figure:last-child>img{border-color:#B8D8FF}

.comparison-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.case-slider{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:3;touch-action:pan-y}
.comparison-cases .comparison-interactive{padding:16px}
.comparison-cases .compare-divider span{width:34px;height:34px;font-size:16px}
@media(max-width:760px){.comparison-cases{grid-template-columns:1fr}}
