.converter{flex-direction:column;gap:1.25rem;max-width:900px;margin:0 auto;display:flex}.converter__support{color:#475569;flex-wrap:wrap;justify-content:center;align-items:center;gap:.65rem;margin:-.45rem 0 .25rem;font-size:.9rem;display:flex}.converter__support a{border:1px solid var(--color-accent,#28677a);background:var(--color-accent,#28677a);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-height:42px;padding:0 1rem;font-weight:650;text-decoration:none;transition:background-color .15s,border-color .15s,transform .15s;display:inline-flex}.converter__support a:hover{background:#1b5263;border-color:#1b5263;transform:translateY(-1px)}.converter__support a:focus-visible{outline-offset:3px;outline:3px solid #28677a4d}@media (prefers-reduced-motion:reduce){.converter__support a{transition:none}}.dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #94a3b8;border-radius:12px;padding:2.5rem 1.5rem;transition:border-color .15s,background .15s}.dropzone--active{background:#eff6ff;border-color:#2563eb}.dropzone p{color:#1e293b;margin:0 0 .35rem;font-weight:600}.dropzone__hint{color:#64748b;font-size:.85rem}.url-fetch{flex-direction:column;gap:.5rem;display:flex}.url-fetch__divider{text-align:center;color:#94a3b8;font-size:.8rem;position:relative}.url-fetch__row{gap:.6rem;display:flex}.url-fetch__input{border:1px solid #cbd5e1;border-radius:8px;flex:1;padding:.55rem .8rem;font-size:.9rem}.url-fetch__input:focus{border-color:#2563eb;outline:none}.file-list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.file-list li{background:#f1f5f9;border-radius:8px;justify-content:space-between;align-items:center;padding:.5rem .8rem;font-size:.9rem;display:flex}.file-list button{color:#ef4444;cursor:pointer;background:0 0;border:none;font-weight:700}.actions{flex-wrap:wrap;gap:.75rem;display:flex}.btn{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:.6rem 1.1rem;font-weight:600}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--primary{color:#fff;background:#2563eb;border-color:#2563eb}.btn--ghost{color:#64748b;border-color:#0000}.error-banner{color:#991b1b;background:#fee2e2;border-radius:8px;padding:.75rem 1rem}.errors-box{background:#fff7ed;border:1px solid #fdba74;border-radius:8px;padding:.75rem 1rem}.errors-box h3{margin:0 0 .5rem;font-size:1rem}.results{border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:220px 1fr;gap:1rem;min-height:280px;padding:1rem;display:grid}.results__list h3{margin:0 0 .5rem;font-size:1rem}.results__list ul{flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.results__list li{padding:0}.results__file-button{color:#334155;width:100%;min-height:44px;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.5rem .65rem;font-size:.85rem;display:block}.results__file-button.active,.results__file-button:hover{color:#245766;background:#eaf1ed}.results__file-button:focus-visible{outline-offset:2px;outline:3px solid #28677a66}.results__content{flex-direction:column;gap:.5rem;min-width:0;display:flex}.preview-toggle{gap:.4rem;display:flex}.preview-toggle button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-height:44px;padding:.35rem .8rem;font-size:.85rem}.preview-toggle button.active{color:#fff;background:#2563eb;border-color:#2563eb}.results__preview{border-radius:8px;max-height:480px;overflow:auto}.results__preview--raw{color:#e2e8f0;white-space:pre-wrap;background:#0f172a;margin:0;padding:1rem;font-size:.85rem}.results__preview--rendered{color:#1e293b;background:#fff;border:1px solid #e2e8f0;padding:1.25rem 1.5rem;font-size:.95rem;line-height:1.6}.results__preview--rendered h1,.results__preview--rendered h2,.results__preview--rendered h3{margin-top:1.2em;margin-bottom:.5em;line-height:1.3}.results__preview--rendered h1:first-child,.results__preview--rendered h2:first-child,.results__preview--rendered h3:first-child{margin-top:0}.results__preview--rendered p{margin:.6em 0}.results__preview--rendered code{background:#f1f5f9;border-radius:4px;padding:.15em .35em;font-size:.85em}.results__preview--rendered pre{color:#e2e8f0;background:#0f172a;border-radius:8px;padding:.9rem;overflow:auto}.results__preview--rendered pre code{background:0 0;padding:0}.results__preview--rendered table{border-collapse:collapse;width:100%;margin:.8em 0}.results__preview--rendered th,.results__preview--rendered td{text-align:left;border:1px solid #e2e8f0;padding:.4rem .6rem}.results__preview--rendered th{background:#f8fafc}.results__preview--rendered blockquote{color:#64748b;border-left:3px solid #cbd5e1;margin:.8em 0;padding:.2em 1em}.results__preview--rendered img{max-width:100%}.results__preview--rendered ul,.results__preview--rendered ol{padding-left:1.4em}.converter{box-sizing:border-box;border:1px solid var(--color-rule,#d8dfdf);background:var(--color-sheet,#fff);border-radius:12px 24px 12px 12px;gap:1.15rem;width:100%;max-width:960px;padding:clamp(1.1rem,3.5vw,2rem);box-shadow:0 22px 55px #1f313a17,0 2px 5px #1f313a0a}.converter__intro{background:#f2f5f2;border-bottom:1px solid #e5e9e7;border-radius:11px 23px 0 0;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);align-items:center;gap:clamp(1.25rem,4vw,3rem);margin:calc(-1*clamp(1.1rem,3.5vw,2rem)) calc(-1*clamp(1.1rem,3.5vw,2rem)) -.1rem;padding:clamp(1.5rem,4vw,2.5rem);display:grid}.converter__intro h1{max-width:11ch;color:var(--color-ink,#1b2b34);letter-spacing:-.055em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.35rem,5.2vw,4rem);font-weight:500;line-height:.99}.converter__intro p{max-width:35rem;color:var(--color-muted,#52616a);margin:1rem 0 0;font-size:clamp(.94rem,1.7vw,1.05rem);line-height:1.65}.converter__steps{border-bottom:1px solid #e5e9e7;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.5rem,2vw,1.25rem);margin:0;padding:.1rem .15rem .75rem;list-style:none;display:grid}.converter__steps li{color:#52616a;align-items:center;gap:.55rem;min-width:0;font-size:.82rem;line-height:1.35;display:flex}.converter__step-number{color:#245766;font-variant-numeric:tabular-nums;border:1px solid #a6bfba;border-radius:50%;flex:none;place-items:center;width:1.65rem;height:1.65rem;font-size:.75rem;font-weight:700;display:grid}.converter__example{color:#52616a;flex-wrap:wrap;align-items:center;gap:.4rem .55rem;margin:-.55rem 0 -.25rem;font-size:.8rem;line-height:1.45;display:flex}.converter__example>span:first-child{color:#385854;font-weight:650}.converter__example code{color:#245766;background:#f2f5f2;border:1px solid #d8e3df;border-radius:4px;padding:.17rem .4rem;font:.82rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.converter__process{color:#285c70;background:#fbfcf9;border:1px solid #d8e0dc;border-radius:7px 15px 7px 7px;justify-content:center;align-items:center;gap:.75rem;min-height:145px;padding:.8rem 1rem;display:flex}.converter__source{justify-items:center;gap:.55rem;display:grid}.converter__paper-stack{width:62px;height:70px;position:relative}.converter__paper{background:#fff;border:1px solid #ccd5d4;border-radius:3px;width:43px;height:55px;display:block;position:absolute}.converter__paper--back{top:1px;left:15px;transform:rotate(10deg)}.converter__paper--middle{top:5px;left:9px;transform:rotate(5deg)}.converter__paper--front{box-sizing:border-box;padding:10px 7px;top:9px;left:3px;box-shadow:0 4px 8px #1f313a14}.converter__paper--front i,.converter__markdown-lines i,.converter__markdown-lines em{background:#d8dfdf;height:2px;margin-bottom:4px;display:block}.converter__paper--front i:first-child{background:var(--color-signal,#d58b52);width:20px;height:3px}.converter__paper--front i:nth-child(2){width:25px}.converter__paper--front i:nth-child(3){width:18px}.converter__paper--front b{color:#be7041;font:700 7px/1 system-ui,sans-serif;position:absolute;bottom:5px;right:5px}.converter__formats{color:#67777b;letter-spacing:.02em;white-space:nowrap;font:650 .59rem/1 system-ui,sans-serif}.converter__transform{color:#879998;flex:none;width:43px}.converter__markdown{background:#203440;border:1px solid #263b46;border-radius:5px;width:76px;overflow:hidden;box-shadow:0 7px 14px #1f313a21}.converter__markdown-bar{border-bottom:1px solid #ffffff1a;gap:3px;padding:5px 6px;display:flex}.converter__markdown-bar span{background:#809498;border-radius:50%;width:4px;height:4px}.converter__markdown-lines{padding:9px 8px 2px}.converter__markdown-lines b{float:left;color:#e4ac69;margin-right:4px;font:700 9px/1.4 ui-monospace,monospace}.converter__markdown-lines i{background:#dce5e1;width:39px}.converter__markdown-lines i:nth-of-type(2){opacity:.75;width:48px}.converter__markdown-lines i:nth-of-type(3){opacity:.55;width:30px}.converter__markdown-lines em{background:#6f8990;width:53px;height:1px}.converter__markdown-label{color:#b9c7c5;padding:4px 8px 7px;font:600 .57rem/1 system-ui,sans-serif;display:block}@media (width<=680px){.converter__intro{grid-template-columns:minmax(0,1fr) 160px;gap:1rem}.converter__process{gap:.25rem;min-height:125px;padding:.55rem}.converter__transform{width:30px}.converter__formats{font-size:.5rem}}@media (width<=520px){.converter__intro{grid-template-columns:1fr}.converter__intro h1{max-width:13ch;font-size:clamp(2.15rem,10vw,3.1rem)}.converter__process{justify-self:center;width:min(100%,310px);min-height:115px}}.converter>:not(.converter__intro){position:relative}.converter>.dropzone{margin-top:.1rem}.dropzone{background:#f7faf8;border:1.5px dashed #8caaa9;border-radius:7px 15px 7px 7px;padding:2.25rem 1.25rem;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}.dropzone:hover,.dropzone:focus-visible{border-color:#28677a;box-shadow:0 0 0 3px #28677a1f}.dropzone:focus-visible{outline-offset:3px;outline:3px solid #28677a99}.dropzone:active{transform:scale(.995)}.dropzone--active{background:#edf6f3;border-color:#28677a;box-shadow:0 0 0 3px #28677a1f}.dropzone__icon{color:#28677a;background:#fff;border:1px solid #d8e3df;border-radius:8px 13px 8px 8px;place-items:center;width:3.15rem;height:3.15rem;margin:0 auto .8rem;display:grid;box-shadow:0 4px 10px #1f313a14}.dropzone__icon svg{width:1.5rem;height:1.5rem}.dropzone__prompt{color:#1e293b;margin-bottom:.55rem;font-size:1rem;font-weight:650}.dropzone__hint{color:#52616a;overflow-wrap:anywhere;max-width:60rem;margin:0 auto;font-size:.9rem;line-height:1.55;display:block}.dropzone__limits{box-sizing:border-box;color:#385854;background:#edf4f1;border:1px solid #d8e3df;border-radius:6px;max-width:100%;margin-top:.85rem;padding:.4rem .65rem;font-size:.82rem;line-height:1.4;display:inline-block}.dropzone[aria-disabled=true]{cursor:wait;opacity:.7}.converter__notes{gap:.55rem;margin-top:-.55rem;display:grid}.converter__notes p{color:#64748b;margin:0;font-size:.81rem;line-height:1.5}.converter__privacy-note{align-items:flex-start;gap:.45rem;display:flex}.converter__privacy-note a{color:#28677a;text-underline-offset:2px}.converter__ocr-note{padding-left:1.35rem}.url-fetch__hint{color:#8794a7;font-size:.76rem}.url-fetch{gap:.7rem}.url-fetch__divider{color:#94a3b8;align-items:center;gap:.8rem;display:flex}.url-fetch__divider:before,.url-fetch__divider:after{content:"";background:#e8edf4;flex:1;height:1px}.url-fetch__row{gap:.65rem}.url-fetch__input{background:#fff;min-width:0;min-height:44px;padding:.65rem .8rem}.url-fetch__input:focus{border-color:#28677a;box-shadow:0 0 0 3px #28677a1f}.btn{color:#334155;border-color:#d7e0eb;min-height:42px;padding:.62rem 1rem;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.btn:hover:not(:disabled){background:#f8fafc;border-color:#a8bad3}.btn:focus-visible,.preview-toggle button:focus-visible{outline-offset:2px;outline:3px solid #28677a47}.btn:active:not(:disabled){transform:translateY(1px)}.btn--primary{color:#fff;background:#28677a;border-color:#28677a;box-shadow:0 3px 8px #28677a29}.btn--primary:hover:not(:disabled){color:#fff;background:#1f5364;border-color:#1f5364}.btn--primary:disabled{color:#405653;box-shadow:none;opacity:1;background:#e8eeeb;border-color:#d4dfdc}.actions{align-items:center}.btn--cancel{color:#b91c1c;background:#fff;border-color:#fecaca}.btn--cancel:hover{background:#fef2f2;border-color:#fca5a5}.conversion-paused{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;padding:.75rem .9rem;font-size:.84rem;line-height:1.5}.errors-box__hint{color:#7c4a03;margin:.6rem 0 0;font-size:.83rem}.file-list li{background:#f8fafc;border:1px solid #e8edf4;min-height:42px}.file-list__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.file-list__status{color:#64748b;background:#e9eef5;border-radius:999px;flex:none;padding:.2rem .5rem;font-size:.72rem}.file-list__status--converting{color:#1d4ed8;background:#dbeafe}.file-list__status--done{color:#15803d;background:#dcfce7}.file-list__status--error{color:#b91c1c;background:#fee2e2}.file-list button{border-radius:7px;min-width:44px;min-height:44px}.file-list button:hover{background:#fee2e2}.conversion-progress{color:#1d4ed8;align-items:center;gap:.65rem;font-size:.88rem;font-weight:600;display:flex}.conversion-progress__spinner{border:2px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;width:1rem;height:1rem;animation:.8s linear infinite conversion-spin}.selection-limit{color:#b91c1c;margin:-.75rem 0 0;font-size:.84rem}@keyframes conversion-spin{to{transform:rotate(360deg)}}.results{background:#f8fafc;border-color:#e2e8f0;border-radius:14px;grid-template-columns:minmax(170px,220px) minmax(0,1fr)}.results__file-button{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.results__preview--rendered{border-color:#e2e8f0;border-radius:8px}.results__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.results__export{gap:.4rem;display:flex}.btn--small{min-height:34px;padding:.35rem .65rem;font-size:.78rem}.results__editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.65rem;min-width:0;display:grid}.results__editor textarea{box-sizing:border-box;resize:vertical;color:#e2e8f0;background:#0f172a;border:1px solid #26364d;border-radius:8px;width:100%;min-height:360px;padding:.9rem;font:.84rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.results__editor textarea:focus-visible{outline-offset:2px;outline:3px solid #2563eb59}.results__editor-preview{min-height:320px}@media (width<=640px){.converter{border-radius:16px;gap:1rem;padding:1rem}.converter__intro{border-radius:15px 15px 0 0;margin:-1rem -1rem 0}.dropzone{padding:1.55rem 1rem}.dropzone__limits{font-size:.78rem}.url-fetch__row{flex-direction:column}.url-fetch__row .btn{width:100%}.actions{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.actions .btn--primary{grid-column:1/-1}.actions .btn{width:100%;min-height:44px;padding-inline:.55rem;font-size:.88rem}.preview-toggle button,.btn--small{min-height:44px}.converter__steps{gap:.4rem;padding-inline:0}.converter__steps li{flex-direction:column;align-items:flex-start;gap:.3rem;font-size:.76rem}.results{grid-template-columns:1fr;padding:.75rem}.results__list ul{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));display:grid}.results__preview--rendered{padding:1rem}.results__toolbar{align-items:flex-start}.results__editor{grid-template-columns:1fr}.results__editor textarea{min-height:260px}.results__editor-preview{min-height:180px}}@media (prefers-reduced-motion:reduce){.dropzone,.btn{transition:none}.conversion-progress__spinner{animation:none}}
