@import url('/static/fonts.css');
:root{--ink:#202d3a;--muted:#73808d;--line:#e2e7eb;--paper:#f5f7f9;--green:#087f6b;--light:#e9f5f0;--red:#ad3a43;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,label{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #2a9d8f;outline-offset:4px}[hidden]{display:none!important}.topbar{min-height:88px;border-bottom:1px solid var(--line);background:white;padding:20px max(5vw,20px);display:flex;align-items:center;gap:40px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:18px}.brand strong{font-weight:400;color:var(--muted)}.brand-icon{display:grid;place-items:center;background:var(--ink);color:white;width:42px;height:42px;border-radius:11px;font-size:21px;font-weight:800}.topbar nav{display:flex;gap:28px;margin:auto}.topbar nav a{color:var(--muted);font-size:14px;padding:12px 0}.topbar nav a[aria-current]{color:var(--green);border-bottom:2px solid var(--green)}.account{display:flex;align-items:center;gap:18px;font-size:13px}.text-button{border:0;background:none;color:var(--muted);padding:8px}main{max-width:1360px;margin:auto;padding:56px 5vw 40px;min-height:calc(100vh - 165px)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(29px,3.1vw,44px);font-weight:650;letter-spacing:-1.5px;line-height:1.15;margin-bottom:16px}h2{font-size:19px;letter-spacing:-.4px;margin-bottom:10px}h3{font-size:18px}p{color:var(--muted);line-height:1.7;font-size:14px}.accent{color:var(--green)}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:2px;color:var(--green);margin-bottom:17px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.page-heading p{margin:0}.private-label{font-size:11px;background:var(--light);border:1px solid #cce6da;border-radius:30px;padding:9px 13px;color:var(--green);white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(240px,1fr);gap:24px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 18px #1a374404}.converter-card{padding:28px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-heading p{font-size:12px;margin-bottom:0}.step{font-size:9px;font-weight:650;letter-spacing:1.6px;color:#919aa4;white-space:nowrap}.dropzone{margin-top:26px;border:1.5px dashed #b7cfc9;background:#f8fcfa;border-radius:12px;min-height:244px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:9px;cursor:pointer;position:relative}.dropzone:hover,.dropzone.dragging{background:var(--light);border-color:var(--green)}.dropzone strong{font-size:17px}.dropzone>span:not(.upload-icon){font-size:13px;color:var(--muted)}.dropzone small{font-size:10px;color:var(--muted);margin-top:11px}.dropzone input{opacity:0;position:absolute;width:100%;height:100%;cursor:pointer}.dropzone:focus-within{outline:3px solid #2a9d8f;outline-offset:3px}.upload-icon{background:#e6f2ed;border:1px solid #d4e8df;border-radius:14px;color:var(--green);font-size:29px;width:55px;height:55px;display:grid;place-items:center;margin-bottom:8px}.link{color:var(--green);font-weight:600;font-size:12px}.format-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:17px 0 25px}.format-row span{font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:5px 9px}.upload-actions{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.upload-actions>span{color:var(--muted);font-size:10px;max-width:230px;line-height:1.6}.button{border:1px solid var(--line);background:white;border-radius:8px;padding:12px 16px;display:inline-flex;justify-content:center;align-items:center;gap:15px;font-size:12px;font-weight:600;line-height:1.4}.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 4px 10px #087f6b16}.button:hover{filter:brightness(.96)}.small{font-size:11px;padding:8px 12px}.full{width:100%}.side-stack{display:flex;flex-direction:column;gap:18px}.info-card{padding:27px;background:#f0f5f3;flex:1;border-color:#dce8e3}.mini-icon{color:var(--green);font-size:23px;display:inline-block;margin-bottom:18px}.info-card h2{font-size:26px;line-height:1.3;letter-spacing:-.8px}.info-card p{font-size:12px}.feature{font-size:11px;color:#4d695e;margin:12px 0}.stats{display:flex;padding:22px;gap:20px}.stats>div{flex:1}.stats>div+div{border-left:1px solid var(--line);padding-left:20px}.stats strong{font-size:27px;display:block;letter-spacing:-1px}.stats span{color:var(--muted);font-size:10px}.history-heading{margin:36px 0 18px}.batch-row{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;gap:22px;align-items:center;font-size:12px}.batch-row:last-child{border-bottom:0}.batch-row:hover{background:#f8fbfa;border-radius:18px}.file-icon{color:var(--green);border:1px solid #dce8e3;border-radius:8px;display:grid;place-items:center;width:38px;height:44px;background:#f5faf7;flex-shrink:0}.batch-description{flex:1}.batch-description strong{display:block;font-weight:600}.batch-description small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.badge{display:inline-block;font-size:10px;color:var(--green);background:var(--light);border-radius:20px;padding:6px 10px}.empty-state{text-align:center;padding:32px;color:var(--muted)}.empty-state .mini-icon{margin-bottom:8px}.empty-state h3{color:var(--ink);margin-bottom:6px}.empty-state p{font-size:12px;margin:0}.footnote{font-size:11px;margin-top:20px;line-height:1.7}.selection{max-height:220px;overflow:auto}.selected-file{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.selected-file span:first-child{overflow-wrap:anywhere}.selected-file small{color:var(--muted)}progress{width:100%;accent-color:var(--green);margin-top:20px}.notice{padding:16px 20px;border-radius:10px;border:1px solid #cfdfd8;background:var(--light);font-size:13px;margin-bottom:24px;line-height:1.6}.notice.error{background:#fff1f1;color:var(--red);border-color:#f2d6d8}.login-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;align-items:center;padding:40px 5%}.login-intro h1{font-size:clamp(40px,5vw,68px);letter-spacing:-2.5px}.login-intro p{max-width:330px}.login-intro .private-label{display:inline-block;margin-top:20px}.auth-card{padding:36px;max-width:460px;width:100%;margin:auto}.auth-card h2{font-size:24px}.auth-card>p{font-size:12px}label:not(.dropzone){display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:600;margin:20px 0}input:not([type=checkbox]):not([type=file]){width:100%;min-width:0;padding:12px;border:1px solid #d9e0e5;border-radius:7px;background:#fbfcfd;color:var(--ink)}.checkbox{flex-direction:row!important;align-items:center}.admin-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.padded{padding:30px}.user-row{padding:22px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:22px;font-size:13px}.user-row p{font-size:11px;margin-bottom:0}.user-actions{display:flex;gap:12px;flex-direction:column;align-items:flex-start}summary{font-size:11px;cursor:pointer;color:var(--green)}details form{max-width:210px}.account-card h1{font-size:26px}.results-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.5fr);gap:24px}.result-header{padding:22px;border-bottom:1px solid var(--line)}.result-header h2{margin:0}.result-file{border-bottom:1px solid var(--line);padding:18px 22px}.result-file:last-child{border:0}.result-file strong{font-size:12px;overflow-wrap:anywhere;display:block}.result-file p{font-size:11px;margin:8px 0}.result-file .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.result-file .actions a,.result-file .actions button{font-size:11px}.error-text{color:var(--red)}.preview-card{padding:22px;min-height:490px;min-width:0}.preview-card h2{overflow-wrap:anywhere;max-width:65%;font-size:16px}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-top:18px}.tabs button{border:0;background:white;color:var(--muted);padding:12px 0;font-size:11px}.tabs button[aria-selected=true]{color:var(--green);border-bottom:2px solid var(--green)}iframe{width:100%;height:490px;border:0;background:white}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:490px;overflow:auto;font-size:12px;line-height:1.7;background:#f8fafb;padding:18px;border-radius:8px}.pagination{display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:25px}.pagination a,.pagination span{font-size:11px;min-width:27px;padding:6px;text-align:center;border-radius:5px}.pagination a[aria-current]{background:var(--green);color:white}footer{max-width:1360px;padding:25px 5vw;margin:auto;display:flex;justify-content:space-between;color:#8b959f;font-size:10px;border-top:1px solid var(--line)}
@media(min-width:1500px){main{padding-left:40px;padding-right:40px}.topbar{padding-left:calc((100vw - 1280px)/2);padding-right:calc((100vw - 1280px)/2)}}
@media(max-width:950px){.topbar{gap:20px;flex-wrap:wrap}.topbar nav{order:3;width:100%;margin:0;justify-content:center}.account{margin-left:auto}.workspace{grid-template-columns:minmax(0,1fr)}.side-stack{display:grid;grid-template-columns:1.4fr 1fr}.info-card h2 br{display:none}.stats{align-items:center}.admin-layout{grid-template-columns:1fr}.results-layout{grid-template-columns:1fr}.login-layout{gap:30px;padding:25px 0}.login-intro h1{font-size:43px}}
@media(max-width:600px){main{padding:30px 18px}.topbar{padding:16px 18px;gap:10px}.brand{font-size:14px;gap:8px}.brand-icon{width:32px;height:32px;font-size:16px}.brand strong{display:block;font-size:11px}.account{gap:7px;font-size:11px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.page-heading h1{letter-spacing:-1px}.page-heading .private-label{display:none}.converter-card{padding:20px}.section-heading{gap:8px}.step{display:none}.dropzone{min-height:225px;text-align:center;padding:14px}.dropzone strong{font-size:15px}.upload-actions{flex-direction:column;align-items:stretch}.upload-actions>span{max-width:none}.format-row{gap:5px}.side-stack{grid-template-columns:1fr}.info-card{display:none}.stats{padding:18px}.history-heading h2{font-size:17px}.history-heading .link{white-space:nowrap;font-size:10px}.batch-row{padding:16px 14px;gap:12px;flex-wrap:wrap}.batch-row>.badge{font-size:8px}.batch-row>span:nth-child(3){font-size:10px}.batch-row>span:last-child{display:none}.batch-description{min-width:105px}.login-layout{display:flex;flex-direction:column;gap:30px}.login-intro{display:none}.auth-card{padding:27px}.user-row{flex-direction:column}.padded{padding:22px}.preview-card{padding:16px}.preview-card .section-heading{align-items:flex-start}.preview-card h2{font-size:14px}.preview-card .small{font-size:10px}footer{padding:20px 18px;gap:20px;font-size:9px}.footnote{font-size:10px}}

/* Compact batch workspace; the file list keeps its own scroll position. */
.batch-progress{padding:22px 24px;margin-bottom:24px}.progress-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px}.progress-heading>span{color:var(--green);font-size:24px;font-weight:700}.batch-progress progress{display:block;height:12px;margin:14px 0;border:0;border-radius:20px;overflow:hidden;background:var(--line)}.batch-progress progress::-webkit-progress-bar{background:var(--line);border-radius:20px}.batch-progress progress::-webkit-progress-value{background:var(--green);border-radius:20px}.batch-progress progress::-moz-progress-bar{background:var(--green);border-radius:20px}.batch-progress p{margin:0;font-size:12px;overflow-wrap:anywhere}.results-layout{align-items:start}.results-layout>section{min-width:0}.file-list-help{padding:12px 22px;margin:0;font-size:11px;border-bottom:1px solid var(--line)}.result-files-scroll{max-height:560px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:0 0 var(--radius) var(--radius)}.result-file{border-left:3px solid transparent;padding-left:19px}.result-file.is-selected{background:var(--light);border-left-color:var(--green)}.result-file .actions button[aria-pressed=true]{color:var(--green);border-color:var(--green);background:white}.preview-heading{min-width:0;flex:1}.preview-heading .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:8px}.preview-card .preview-heading h2{max-width:none;margin:0;font-size:16px}.preview-card{scroll-margin-top:20px}.creator-credit{text-align:center;color:var(--muted);font-size:11px!important;margin:22px 0 0}.creator-credit strong,footer strong{color:var(--green);font-weight:650}footer{flex-wrap:wrap;gap:12px}
@media(max-width:950px){.result-files-scroll{max-height:340px}.preview-card{min-height:420px}}
@media(max-width:600px){.batch-progress{padding:18px}.progress-heading{font-size:12px}.progress-heading>span{font-size:22px}.result-files-scroll{max-height:300px}.preview-card .preview-heading h2{font-size:14px}.preview-card iframe{height:360px}.preview-card pre{max-height:360px}}
