:root{
  --navy:#0b1530;--navy2:#14244a;--blue:#2563eb;--blue2:#4f46e5;--cyan:#06b6d4;
  --ink:#18233b;--muted:#738099;--line:#e5eaf2;--bg:#f5f7fb;--card:#fff;--soft:#f8faff;
  --green:#16a34a;--red:#dc2626;--orange:#ea580c;--shadow:0 18px 50px rgba(28,44,78,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}.hidden{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:linear-gradient(180deg,#091329 0%,#0d1a36 100%);color:#fff;padding:26px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 26px;border-bottom:1px solid rgba(255,255,255,.09)}.brand-logo{width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#22d3ee,#2563eb 55%,#7c3aed);display:grid;place-items:center;font-size:24px;font-weight:900;box-shadow:0 10px 25px rgba(37,99,235,.25)}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:16px;letter-spacing:.3px}.brand-copy span{font-size:11px;color:#91a2c5;margin-top:2px;letter-spacing:.8px;text-transform:uppercase}.side-nav{display:flex;flex-direction:column;gap:6px;padding-top:24px}.nav-item{width:100%;border:0;background:transparent;color:#9ba9c6;border-radius:12px;padding:12px 13px;display:flex;align-items:center;gap:11px;cursor:pointer;text-align:left;font-weight:650;transition:.18s}.nav-item:hover{background:rgba(255,255,255,.06);color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(37,99,235,.26),rgba(37,99,235,.08));color:#fff;box-shadow:inset 3px 0 0 #60a5fa}.nav-icon{width:24px;text-align:center;font-size:17px}.nav-count{margin-left:auto;min-width:23px;height:21px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:11px}.side-bottom{margin-top:auto}.security-card{display:flex;gap:10px;align-items:flex-start;padding:13px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:13px}.security-card div{display:flex;flex-direction:column;gap:3px}.security-card strong{font-size:12px}.security-card small{font-size:10px;color:#8fa0bf}.security-dot{width:9px;height:9px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12);margin-top:3px}.version{text-align:center;color:#7181a2;font-size:10px;margin-top:13px;letter-spacing:1px}.workspace{margin-left:248px;min-width:0;flex:1}.topbar{height:92px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;position:sticky;top:0;z-index:20}.topbar h1{font-size:22px;margin:3px 0 0;letter-spacing:-.35px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#75819a}.top-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.health-chip{display:flex;align-items:center;gap:7px;border:1px solid #dbe2ec;background:#fff;border-radius:999px;padding:8px 11px;font-size:11px;color:#66748c}.health-chip span{width:8px;height:8px;border-radius:50%;background:#f59e0b}.health-chip.ok span{background:#22c55e}.health-chip.bad span{background:#ef4444}.health-chip.checking span{animation:pulse 1.25s infinite}.ghost-btn,.outline-btn,.secondary-btn,.primary-btn{border-radius:10px;font-weight:800;cursor:pointer;transition:.18s}.ghost-btn{border:1px solid var(--line);background:#fff;color:#35415a;padding:9px 13px}.ghost-btn:hover,.outline-btn:hover{border-color:#c2cede;background:#f8fafc}.mobile-menu{display:none;border:0;background:transparent;font-size:22px;margin-right:10px}.content{padding:28px 34px 42px;max-width:1500px;margin:0 auto}.page-section{display:none}.page-section.active{display:block}.intro-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr);gap:18px;margin-bottom:18px}.hero-card{background:radial-gradient(circle at 88% 15%,rgba(84,220,255,.22),transparent 31%),linear-gradient(125deg,#0b1734,#142e62 64%,#174b73);color:#fff;border-radius:22px;padding:29px 31px;min-height:190px;box-shadow:0 18px 45px rgba(13,28,65,.15)}.hero-tag{display:inline-flex;border:1px solid rgba(125,211,252,.25);background:rgba(14,165,233,.1);color:#93e8ff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;letter-spacing:1.2px}.hero-card h2{max-width:760px;font-size:27px;line-height:1.22;margin:15px 0 10px;letter-spacing:-.55px}.hero-card p{max-width:800px;color:#b9c9e7;line-height:1.6;margin:0;font-size:13px}.hero-points{display:flex;gap:20px;flex-wrap:wrap;margin-top:18px;color:#dce8ff;font-size:11px;font-weight:700}.workflow-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px 21px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.workflow-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;min-width:58px}.workflow-step b{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:11px}.workflow-step span{font-size:10px;font-weight:700;color:#596781}.workflow-card i{height:1px;flex:1;background:linear-gradient(90deg,#cbd5e1,#93c5fd);margin:0 6px}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:24px;margin-bottom:18px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.panel-head h3,.progress-copy h3{margin:4px 0 0;font-size:18px;letter-spacing:-.25px}.panel-head p{color:var(--muted);font-size:12px;margin:7px 0 0}.step-label{font-size:9px;font-weight:900;letter-spacing:1.2px;color:#2563eb}.step-label.success{color:#16a34a}.file-limit,.recommend-chip{font-size:10px;color:#6d7a91;background:#f6f8fb;border:1px solid var(--line);padding:6px 9px;border-radius:999px}.upload-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.dropzone{min-height:270px;border:1.5px dashed #bcc8d9;border-radius:16px;background:linear-gradient(180deg,#fbfcff,#f8faff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;transition:.2s}.dropzone.drag{border-color:#3b82f6;background:#f1f7ff;box-shadow:inset 0 0 0 1px #93c5fd}.upload-symbol{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#e0f2fe,#eef2ff);display:grid;place-items:center;margin-bottom:12px}.upload-symbol svg{width:27px;fill:none;stroke:#2563eb;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dropzone h3{font-size:17px;margin:3px 0}.dropzone p{font-size:12px;color:#7a879d;margin:6px 0}.dropzone small{font-size:10px;color:#9aa5b7}.text-btn{border:0;background:none;color:#2563eb;font-weight:800;cursor:pointer;padding:0}.picked{margin-top:13px;background:#ecfdf5;color:#166534;padding:8px 11px;border-radius:9px;font-size:11px;font-weight:700;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-empty,.video-preview{min-height:270px;border-radius:16px;background:#0f172a;overflow:hidden;position:relative}.preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94a3b8;text-align:center}.preview-empty strong{color:#d7e0ef;font-size:12px;margin-top:10px}.preview-empty span{font-size:10px;margin-top:5px}.preview-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#d7e8ff;padding-left:3px}.video-preview{display:flex;flex-direction:column}.video-preview video{width:100%;height:222px;object-fit:contain;background:#050a14}.video-meta{padding:11px 13px;display:flex;justify-content:space-between;gap:10px;color:#fff}.video-meta strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-meta span{font-size:10px;color:#93a4c1;white-space:nowrap}.config-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.field-card{border:1px solid var(--line);background:#fbfcfe;border-radius:14px;padding:14px;display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-items:center}.field-icon{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:#315fc5;display:grid;place-items:center;font-size:12px;font-weight:900}.field-copy{display:flex;flex-direction:column}.field-copy b{font-size:12px}.field-copy small{font-size:9px;color:#8793a7;margin-top:2px}.field-card select{grid-column:1/-1;margin-top:11px;width:100%;border:1px solid #dbe2ec;background:#fff;border-radius:9px;padding:10px 11px;color:#30405b;font-size:11px;outline:none}.field-card select:focus{border-color:#93b4ff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.advanced{margin-top:15px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe;overflow:hidden}.advanced summary{list-style:none;cursor:pointer;padding:13px 15px;color:#47556d;font-size:11px;font-weight:750}.advanced summary::-webkit-details-marker{display:none}.advanced summary span{margin-right:5px}.advanced summary small{color:#9aa5b6;font-weight:500;margin-left:6px}.sliders{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:3px 16px 16px}.sliders label{font-size:10px;color:#64748b}.sliders label>span{display:flex;justify-content:space-between}.sliders b{color:#334155}.sliders input{width:100%;accent-color:#2563eb;margin-top:9px}.password-box{padding:14px 0}.password-box label{font-size:11px;font-weight:700}.password-box input{display:block;margin-top:6px;border:1px solid var(--line);padding:10px;border-radius:9px;width:100%}.launch-row{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.launch-note{display:flex;align-items:center;gap:10px;color:#5f6c82}.launch-note>span{width:34px;height:34px;border-radius:10px;background:#eef4ff;color:#2563eb;display:grid;place-items:center}.launch-note div{display:flex;flex-direction:column}.launch-note b{font-size:11px;color:#334155}.launch-note small{font-size:9px;margin-top:2px}.primary-btn{border:0;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;padding:13px 18px;display:inline-flex;align-items:center;justify-content:center;gap:19px;box-shadow:0 9px 22px rgba(37,99,235,.2);text-decoration:none}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(37,99,235,.25)}.primary-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.primary-btn.compact{padding:10px 13px;font-size:10px;gap:6px}.progress-panel{padding:23px}.progress-top{display:flex;align-items:center;gap:15px}.processing-orb{width:48px;height:48px;border-radius:15px;background:#eff6ff;display:grid;place-items:center}.processing-orb span{width:20px;height:20px;border:3px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}.progress-copy{flex:1}.progress-copy h3{font-size:15px}.progress-copy p{font-size:10px;color:#8a96a9;margin:4px 0 0}.percent-ring{font-size:19px;font-weight:900;color:#2563eb}.progress-track{height:7px;border-radius:999px;background:#edf1f6;overflow:hidden;margin:18px 0 13px}.progress-track>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#22c1e3,#2563eb,#6d4fe5);transition:width .4s}.progress-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.progress-steps div{display:flex;align-items:center;gap:7px;color:#98a2b3;font-size:9px;font-weight:700}.progress-steps b{width:19px;height:19px;border-radius:50%;border:1px solid #d8e0eb;display:grid;place-items:center;font-size:8px;background:#fff}.progress-steps div.active{color:#2563eb}.progress-steps div.active b{background:#2563eb;color:#fff;border-color:#2563eb}.progress-steps div.done{color:#16a34a}.progress-steps div.done b{background:#dcfce7;color:#16a34a;border-color:#bbf7d0}.review-title{align-items:center}.review-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.outline-btn{border:1px solid #dce3ed;background:#fff;color:#46556d;padding:9px 12px;text-decoration:none;font-size:10px}.output-preview{position:relative;background:#0b1222;border-radius:15px;overflow:hidden;margin-bottom:15px;padding:12px}.output-preview video{width:100%;max-height:520px;display:block;background:#000;border-radius:10px}.preview-close{position:absolute;right:19px;top:19px;width:31px;height:31px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:20px;cursor:pointer}.table-toolbar{display:flex;align-items:center;justify-content:space-between;margin:6px 0 10px}.table-toolbar>div:first-child{display:flex;flex-direction:column}.table-toolbar b{font-size:11px}.table-toolbar span{font-size:9px;color:#94a0b2;margin-top:2px}.search-box{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;padding:0 9px;background:#fbfcfe}.search-box span{font-size:16px;color:#8996a9}.search-box input{border:0;background:transparent;outline:none;padding:8px;font-size:10px;width:190px}.table-wrap{border:1px solid var(--line);border-radius:13px;overflow:auto;max-height:520px}table{width:100%;border-collapse:collapse;font-size:11px}th{position:sticky;top:0;z-index:2;background:#f7f9fc;color:#67758d;text-align:left;padding:10px;border-bottom:1px solid var(--line);font-size:9px;text-transform:uppercase;letter-spacing:.4px}td{padding:10px;border-bottom:1px solid #edf0f4;vertical-align:top;line-height:1.5}td:nth-child(1){width:42px;color:#9aa5b6}td:nth-child(2){width:125px;white-space:nowrap;color:#738096}td:nth-child(3){width:33%;color:#40506a}.vi-edit{width:100%;min-width:250px;min-height:55px;border:1px solid #dbe2ec;border-radius:8px;padding:9px;background:#fff;resize:vertical;color:#22324c;font-size:11px;line-height:1.5}.vi-edit:focus{outline:none;border-color:#7da4ff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}tr.filtered{display:none}.rerender-row{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.saved-hint{font-size:9px;color:#738096}.saved-hint span{color:#16a34a;font-weight:900}.secondary-btn{border:1px solid #ccd7e6;background:#f6f9fc;color:#315273;padding:10px 13px;font-size:10px}.error-panel{position:relative;display:flex;align-items:flex-start;gap:11px;background:#fff7f7;border:1px solid #fecaca;border-radius:14px;padding:14px 45px 14px 14px;margin-bottom:18px}.error-icon{width:31px;height:31px;border-radius:9px;background:#fee2e2;color:#dc2626;display:grid;place-items:center;font-weight:900}.error-panel b{font-size:11px;color:#991b1b}.error-panel p{font-size:10px;color:#b45353;margin:4px 0 0}.error-panel button{position:absolute;right:12px;top:11px;border:0;background:transparent;color:#a65b5b;font-size:20px;cursor:pointer}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:6px 0 20px}.section-heading h2{font-size:25px;margin:5px 0 0;letter-spacing:-.45px}.section-heading p{font-size:11px;color:#7a879b;margin:6px 0 0}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.history-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}.history-card-top{display:flex;align-items:center;justify-content:space-between}.history-file-icon{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:#315fc5;display:grid;place-items:center;font-weight:800}.status-pill{font-size:9px;font-weight:800;border-radius:999px;padding:5px 8px;background:#f1f5f9;color:#64748b}.status-pill.done{background:#ecfdf5;color:#15803d}.status-pill.error{background:#fef2f2;color:#b91c1c}.history-card h3{font-size:12px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-card p{font-size:9px;color:#8793a5;margin:0}.history-card .history-progress{height:5px;border-radius:99px;background:#eef2f7;overflow:hidden}.history-card .history-progress span{display:block;height:100%;background:#2563eb}.history-card-actions{display:flex;gap:7px}.history-card-actions button,.history-card-actions a{flex:1;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px;text-align:center;text-decoration:none;color:#53627b;font-size:9px;font-weight:800;cursor:pointer}.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #cfd8e6;border-radius:18px;text-align:center;padding:55px 25px;color:#8a96a9}.empty-state>div{font-size:30px}.empty-state h3{font-size:14px;color:#56657c;margin:10px 0 5px}.empty-state p{font-size:10px;margin:0}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.guide-grid article{position:relative;background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px;box-shadow:var(--shadow);min-height:180px}.guide-grid article>span{position:absolute;right:17px;top:14px;font-size:26px;font-weight:900;color:#eef2f7}.guide-icon{width:42px;height:42px;border-radius:11px;background:#eef4ff;color:#2563eb;display:grid;place-items:center;font-weight:900}.guide-grid h3{font-size:13px;margin:15px 0 6px}.guide-grid p{font-size:10px;line-height:1.6;color:#7b879b;margin:0}.tip-panel{margin-top:15px;background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #dbeafe;border-radius:15px;padding:17px}.tip-panel b{font-size:11px;color:#315273}.tip-panel p{font-size:10px;color:#6f7d92;line-height:1.6;margin:5px 0 0}.footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:17px 35px;color:#9aa5b6;font-size:9px;background:#fff}.toast{position:fixed;right:24px;bottom:24px;background:#111c34;color:#fff;border-radius:10px;padding:11px 14px;font-size:10px;font-weight:700;box-shadow:0 15px 35px rgba(10,20,40,.25);transform:translateY(20px);opacity:0;pointer-events:none;transition:.2s;z-index:99}.toast.show{transform:translateY(0);opacity:1}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}
@media(max-width:1080px){.sidebar{width:210px}.workspace{margin-left:210px}.intro-grid{grid-template-columns:1fr}.workflow-card{min-height:105px}.config-grid{grid-template-columns:1fr 1fr}.field-card:last-child{grid-column:1/-1}.history-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.22s;width:248px}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:block}.topbar{height:78px;padding:0 15px}.topbar h1{font-size:18px}.health-chip{display:none}.ghost-btn{padding:8px 10px;font-size:10px}.content{padding:16px}.intro-grid{display:block}.workflow-card{margin-top:13px;padding:15px 10px}.hero-card{padding:23px 20px}.hero-card h2{font-size:22px}.panel{padding:17px;border-radius:16px}.upload-layout,.config-grid,.sliders,.guide-grid,.history-grid{grid-template-columns:1fr}.field-card:last-child{grid-column:auto}.preview-empty,.video-preview{min-height:230px}.video-preview video{height:185px}.panel-head,.launch-row,.review-title,.section-heading{display:block}.panel-head>*:last-child,.launch-row>.primary-btn,.review-actions,.section-heading>.outline-btn{margin-top:12px}.primary-btn{width:100%}.launch-note{margin-bottom:13px}.progress-steps{grid-template-columns:1fr 1fr}.review-actions{justify-content:stretch}.review-actions>*{flex:1}.table-toolbar{display:block}.search-box{margin-top:10px}.search-box input{width:100%}.rerender-row{display:block}.rerender-row .secondary-btn{width:100%;margin-top:10px}.footer{padding:14px 16px;display:block}.footer span{display:block;margin:4px 0}}

/* Web Pro v5 — Auto Clean */
.retention-panel{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #ccebdc;border-radius:16px;padding:14px 16px;margin-bottom:18px;box-shadow:0 12px 30px rgba(16,185,129,.06)}
.retention-icon{width:39px;height:39px;flex:0 0 39px;border-radius:11px;background:#fff;color:#0f9f6e;display:grid;place-items:center;font-size:20px;box-shadow:0 6px 16px rgba(15,159,110,.09)}
.retention-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.retention-copy b{font-size:11px;color:#1e4d42}.retention-copy span{font-size:9.5px;color:#667a78;line-height:1.45}.retention-badge{margin-left:auto;border-radius:999px;padding:6px 9px;background:#dcfce7;color:#15803d;font-size:8px;font-weight:900;letter-spacing:.9px;white-space:nowrap}
.download-retention-note{display:flex;align-items:flex-start;gap:10px;background:#f8fbff;border:1px solid #e0e9f6;border-radius:12px;padding:11px 13px;margin:-2px 0 15px;color:#54657e}.download-retention-note>span{width:28px;height:28px;border-radius:8px;background:#eef4ff;color:#2563eb;display:grid;place-items:center;flex:0 0 28px}.download-retention-note div{display:flex;flex-direction:column;gap:3px}.download-retention-note b{font-size:10px;color:#334155}.download-retention-note small{font-size:9px;line-height:1.5;color:#78869a}
.status-pill.cleaned{background:#f0fdf4;color:#166534}.history-card.archived{background:#fbfdfc;border-color:#dcebe3;box-shadow:none}.history-card.archived .history-file-icon{background:#ecfdf5;color:#15803d}.history-card.archived .history-progress span{background:#86efac}.auto-cleaned{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid #d7eadf;background:#f5fbf7;border-radius:8px;padding:8px;color:#48745d;font-size:9px;font-weight:800}.storage-tip{background:linear-gradient(135deg,#ecfdf5,#f0fdfa);border-color:#ccebdc}
@media(max-width:760px){.retention-panel{align-items:flex-start}.retention-badge{display:none}.download-retention-note{margin-top:2px}}
