@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{color-scheme:dark;--bg:#141619;--surface:#1c1f26;--field:#20242d;--nav:rgba(20,22,26,.86);--text:#fff;--muted:#828794;--soft:#b4b8c2;--line:#2a2e38;--blue:#1453ff;--blue-dark:#0b3bd1;--link:#5c86ff;--hover:#262a33;--error:#ff8a80;--success:#6fd29a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;background:var(--bg);color:var(--text);min-height:100vh;position:relative;display:flow-root}body::before{content:"";position:absolute;inset:0 0 auto;height:560px;background:linear-gradient(180deg,#1452fc 0,#1148dc 100px,#0f3dbc 200px,#0c3195 300px,#102354 400px,#121c36 450px,#141720 500px,var(--bg) 560px);pointer-events:none;z-index:-1}
button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--link);outline-offset:3px}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}svg.fill{fill:currentColor;stroke:none}button svg{pointer-events:none}[hidden]{display:none!important}.skip{position:fixed;top:8px;left:8px;z-index:10;padding:12px;background:var(--surface);transform:translateY(-160%)}.skip:focus{transform:none}
.navbar{width:calc(100% - 48px);max-width:1520px;min-height:76px;margin:12px auto 0;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--nav);border-radius:20px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.brand{display:flex;align-items:center;gap:16px;min-height:48px;color:var(--text)}.brand:hover{text-decoration:none}.brand img{display:block;width:132px;height:44px;object-fit:contain}.brand>span{border-left:1px solid #3a3f4b;padding-left:16px;font-weight:600;font-size:16px}
.navbar nav{display:flex;gap:20px;align-items:center}.navbar nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:0 4px;color:var(--muted);font-size:14px;line-height:20px;white-space:nowrap;transition:color .15s}.navbar nav a svg{width:28px;height:28px}.navbar nav a:hover,.navbar nav a[aria-current=page]{color:var(--link);text-decoration:none}
main{width:calc(100% - 48px);max-width:1040px;margin:0 auto;min-height:calc(100vh - 210px)}
.home{padding:96px 0 64px}.hero{text-align:center;margin-bottom:40px}
h1{font-size:48px;line-height:60px;letter-spacing:-.04em;margin:0 0 16px;font-weight:700}.intro{color:var(--text);font-size:16px;line-height:24px;margin:0}
.dropzone{display:flex;justify-content:center;max-width:640px;margin:0 auto;border-radius:12px}.dropzone:focus-visible{outline-offset:6px}.dropzone[data-drag=true] .primary{background:#3a72ff;box-shadow:0 0 0 6px rgba(92,134,255,.3),inset 0 -2px 0 var(--blue-dark)}.primary,.secondary,.quiet,.icon-button{border:0;border-radius:10px;min-height:44px;padding:10px 18px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.primary{background:var(--blue);color:#fff;min-width:280px;min-height:52px;font-size:18px;line-height:28px;font-weight:700;box-shadow:inset 0 -2px 0 var(--blue-dark);transition:background-color .15s}.primary:hover{background:#2b63ff;text-decoration:none}.primary:active{box-shadow:none;transform:translateY(1px)}
.secondary{background:var(--field);color:var(--text)}.secondary:hover{background:var(--hover);text-decoration:none}.quiet{background:transparent;color:var(--link);padding-inline:12px;font-size:14px}.quiet:hover{background:var(--hover)}
.upload-note{max-width:640px;margin:16px auto 0;text-align:center;font-size:13px;color:var(--muted)}
.results{max-width:640px;margin:40px auto 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;min-height:40px}.section-head h2{font-size:20px;letter-spacing:-.02em;margin:0}.section-head>span{color:var(--muted);font-size:14px}
.file-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.file-row{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;background:var(--surface);border-radius:12px;overflow:hidden}.file-icon{width:40px;height:40px;border-radius:10px;background:rgba(20,83,255,.14);color:var(--link);display:grid;place-items:center;font-size:11px;font-weight:700;letter-spacing:.02em}.file-main{min-width:0}.file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:15px}.file-meta{color:var(--muted);font-size:13px;margin-top:2px}.file-link{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;margin-top:2px}.file-actions{display:flex;align-items:center;gap:2px}.icon-button{width:40px;min-height:40px;padding:8px;background:transparent;color:var(--muted)}.icon-button svg{width:20px;height:20px}.icon-button:hover{color:var(--text);background:var(--hover)}.file-progress{height:3px;position:absolute;bottom:0;left:0;width:100%;background:var(--line)}.file-progress>span{display:block;height:100%;background:var(--blue);width:0;transition:width .2s}.file-error{color:var(--error)}.file-done{color:var(--success)}
.inner-page{max-width:760px;margin:0 auto;padding:72px 0 48px}.page-heading{margin-bottom:32px}.page-heading h1{font-size:36px;line-height:44px;margin-bottom:8px}.page-heading>p{font-size:16px;color:var(--soft);margin:0}
.empty{padding:48px 24px;text-align:center;color:var(--muted);background:var(--surface);border-radius:12px;margin:0}.footnote{font-size:13px;color:var(--muted);max-width:640px;margin-top:20px}#more-history{margin-top:12px}
.prose h2{font-size:20px;line-height:28px;letter-spacing:-.02em;margin:36px 0 10px}.prose p{margin:0 0 14px;line-height:1.65;color:var(--soft)}.prose ol{padding-left:22px;color:var(--soft)}.prose li{margin-bottom:10px}.prose pre{padding:16px 18px;border-radius:12px;background:var(--surface);overflow-x:auto;white-space:pre-wrap;word-break:break-word;font-size:14px}.prose code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;color:var(--text)}.prose p code,.prose li code{background:var(--surface);padding:2px 5px;border-radius:5px;overflow-wrap:anywhere}.prose pre code{font-size:inherit}
footer{max-width:1520px;width:calc(100% - 48px);margin:24px auto 0;padding:20px 0 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:14px}footer a,footer button{color:var(--muted)}footer button{border:0;background:transparent;padding:8px 0;min-height:40px}footer button:hover,footer a:hover{color:var(--text);text-decoration:none}
#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#262a33;color:var(--text);border-radius:10px;max-width:calc(100vw - 32px);z-index:20;box-shadow:0 8px 30px #0006;text-align:center;font-size:14px}
dialog{max-width:480px;width:calc(100% - 32px);padding:24px;background:var(--surface);color:var(--text);border:0;border-radius:16px}dialog::backdrop{background:#000a}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.dialog-head h2{margin:0;font-size:20px;letter-spacing:-.02em}.dialog-head .icon-button{font-size:24px}dialog label{display:block;margin-top:16px;font-size:14px;font-weight:600}dialog label>span{color:var(--muted);font-weight:400}
input,textarea{display:block;width:100%;margin-top:8px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:10px;background:var(--bg);color:var(--text);resize:vertical}input:focus,textarea:focus{border-color:var(--link);outline:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}#report-state{font-size:14px;color:var(--muted);min-height:20px}#report-state.error{color:var(--error)}dialog .primary{width:100%;min-width:0;margin-top:8px;font-size:16px;min-height:48px}.noscript{max-width:760px;margin:16px auto;padding:24px;color:var(--error)}
@media(max-width:700px){body::before{height:480px}.navbar{width:calc(100% - 24px);margin-top:8px;flex-direction:column;align-items:stretch;gap:8px;padding:12px 12px 8px;border-radius:16px}.brand{justify-content:center;gap:12px}.brand img{width:120px;height:40px}.brand>span{padding-left:12px;font-size:15px}.navbar nav{justify-content:space-around;gap:4px}.navbar nav a{font-size:12px;line-height:16px;min-height:48px}.navbar nav a svg{width:24px;height:24px}main{width:calc(100% - 32px)}.home{padding:56px 0 40px}.hero{margin-bottom:28px}h1{font-size:32px;line-height:40px;margin-bottom:12px}.intro{font-size:15px;line-height:22px}.desk-break{display:none}.primary{min-width:0;width:100%}.inner-page{padding-top:48px}.page-heading h1{font-size:28px;line-height:36px}.file-row{grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:12px}.file-icon{width:36px;height:36px}footer{width:calc(100% - 32px);flex-wrap:wrap;justify-content:center;text-align:center;gap:4px 16px}footer span{display:none}dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

#queue-section .section-head{display:none}.results{max-width:700px;margin-top:24px}
.file-list{gap:6px}.file-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 8px 8px 14px;min-height:48px;border-radius:10px}.file-icon{display:none}
.file-main{display:flex;align-items:center;gap:16px;min-width:0}.file-name{flex:1;min-width:0;font-size:14px;font-weight:500}.file-meta{margin:0;white-space:nowrap;font-size:13px}.file-meta.file-done{display:none}.file-link{margin:0;flex:0 1 auto;max-width:55%;font-size:13px;color:var(--soft)}.file-link:hover{color:var(--text)}
.file-actions a.icon-button{display:none}.icon-button{width:34px;min-height:34px;padding:7px;border-radius:8px}.icon-button svg{width:18px;height:18px}.file-progress{height:2px}
@media(max-width:700px){.file-row{grid-template-columns:minmax(0,1fr) auto;padding:8px 8px 8px 12px}.file-main{flex-direction:column;align-items:flex-start;gap:0}.file-link{max-width:100%}}

.home{padding:88px 0 64px}.hero{margin-bottom:32px}.hero h1{font-size:56px;line-height:64px;margin:0}.prose b{color:var(--text);font-weight:600}
@media(max-width:700px){.home{padding:48px 0 40px}.hero h1{font-size:40px;line-height:48px}}
.dropzone .primary{min-width:400px;min-height:80px;padding:16px 32px;font-size:24px;line-height:32px;border-radius:12px;box-shadow:inset 0 -3px 0 var(--blue-dark)}
@media(max-width:700px){.dropzone .primary{min-width:0;width:100%;min-height:68px;font-size:20px}}
html{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
.hero h1{margin-bottom:8px}.hero .intro{color:rgba(255,255,255,.75);font-size:16px}.hero .intro a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.5);text-underline-offset:3px}
#copy-queue,#copy-history{display:none!important}
.dropzone .primary{width:440px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:700px){.dropzone .primary{width:100%;font-size:18px}}
.mascot{position:fixed;right:24px;bottom:0;z-index:0;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}.mascot img{display:block;max-height:300px;max-width:300px;width:auto;height:auto}.mascot a{pointer-events:auto;font-size:13px;color:var(--muted);margin:4px 0 10px}.mascot a:hover{color:var(--text)}main,footer,.navbar{position:relative;z-index:1}@media(max-width:1100px){.mascot{display:none}}
.faq-pic{display:block;width:160px;height:auto;margin:4px 0 8px;border:0;border-radius:0}.inline-report{border:0;background:none;padding:0;min-height:0;font:inherit;color:var(--link);cursor:pointer}.inline-report:hover{text-decoration:underline}
.mascot{z-index:50!important;pointer-events:none}.mascot img{max-height:260px;max-width:260px}
