:root{color-scheme:light;--ink: #17202a;--muted: #657285;--line: #d7dee8;--surface: #ffffff;--page: #f4f7fb;--blue: #1d6df2;--blue-dark: #1554bd;--green: #0c8b66;--shadow: 0 18px 50px rgba(28, 45, 74, .12)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;color:var(--ink);background:linear-gradient(180deg,#f7f9fc,#edf3f9);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}button,input,select{font:inherit}.shell{width:min(1120px,calc(100vw - 32px));margin:0 auto;padding:32px 0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{margin:0 0 6px;color:var(--green);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1{margin:0;font-size:clamp(2rem,5vw,3.8rem);line-height:.95;letter-spacing:0}.status-pill{min-width:104px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--green);text-align:center;font-size:.92rem;font-weight:700;box-shadow:0 8px 30px #1c2d4a0f}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.uploader{display:flex;min-height:0;flex-direction:column;gap:14px;padding:18px}.dropzone{display:grid;min-height:clamp(320px,52vh,560px);flex:1 1 auto;place-items:center;align-content:center;gap:12px;border:2px dashed #b8c6d8;border-radius:8px;background:linear-gradient(135deg,#1d6df214,#0c8b6614),#fbfdff;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.dropzone:hover,.dropzone.is-dragging{border-color:var(--blue);background:linear-gradient(135deg,#1d6df221,#0c8b661f),#fff;transform:translateY(-1px)}.dropzone input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.file-icon{display:grid;width:86px;height:104px;place-items:center;border:2px solid var(--blue);border-radius:6px;background:#fff;color:var(--blue);font-weight:900;box-shadow:0 14px 30px #1d6df229}.drop-title{font-size:clamp(1.35rem,3vw,2rem);font-weight:850}.drop-subtitle,.file-size{color:var(--muted)}.file-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fbff}.file-row>div{min-width:0}.file-name,.file-size{margin:0}.file-name{max-width:100%;overflow-wrap:anywhere;line-height:1.2;font-weight:750}.settings{display:grid;gap:18px;align-content:start;padding:20px}.field{display:grid;gap:8px}label{color:#314050;font-size:.92rem;font-weight:800}select{width:100%;min-height:46px;padding:0 12px;border:1px solid #bfcada;border-radius:6px;background:#fff;color:var(--ink);cursor:pointer}.primary-button,.ghost-button{min-height:46px;border:0;border-radius:6px;font-weight:850;cursor:pointer}.primary-button{margin-top:8px;background:var(--blue);color:#fff}.primary-button:hover:not(:disabled){background:var(--blue-dark)}.primary-button:disabled{background:#aebbd0;cursor:not-allowed}.ghost-button{padding:0 14px;border:1px solid #c4cfdd;background:#fff;color:#314050}.progress-panel,.result-panel{margin-top:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 12px 34px #1c2d4a14}.progress-panel{display:grid;gap:14px;padding:18px}.progress-copy{display:flex;align-items:center;justify-content:space-between;gap:16px}.progress-copy p,.result-panel p{margin:0;font-weight:800}.progress-copy span{color:var(--muted)}.meter{width:100%;height:10px;overflow:hidden;border-radius:999px;background:#dbe5f1}.meter span{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--green));animation:loading 1.2s ease-in-out infinite alternate}.result-panel{padding:16px 18px}.result-panel p{overflow-wrap:anywhere;line-height:1.25}.result-panel.is-error{border-color:#e5b8a2;background:#fff7f2;color:#943700}.result-panel.is-success{border-color:#acd7c9;background:#f4fffb;color:#086246}@keyframes loading{0%{transform:translate(0)}to{transform:translate(165%)}}@media(max-width:780px){.shell{width:min(100% - 20px,680px);padding:20px 0}.topbar,.progress-copy{align-items:stretch;flex-direction:column}.status-pill{width:fit-content}.workspace{grid-template-columns:1fr}.uploader{min-height:300px}.dropzone{min-height:280px}.file-row{align-items:stretch;flex-direction:column}}
