:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.sidebar{width:320px;height:100vh;background:linear-gradient(145deg,#fffffff2,#f8fafcf2);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-right:1px solid rgba(226,232,240,.8);display:flex;flex-direction:column;box-shadow:4px 0 24px #00000014;position:fixed;left:0;top:0;z-index:100;transition:transform .3s ease;transform:translate(0)}.sidebar:not(.open){transform:translate(-100%)}.sidebar-header{padding:24px 20px 19px;border-bottom:1px solid rgba(226,232,240,.6);display:flex;justify-content:space-between;align-items:center;background:#fffc}.sidebar-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#1e293b;background:linear-gradient(135deg,#2563eb,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sidebar-actions{display:flex;gap:8px}.clear-history-btn{background:#ef44441a;border:1px solid rgba(239,68,68,.2);color:#dc2626;padding:8px;border-radius:8px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.clear-history-btn:hover{background:#ef444426;border-color:#ef44444d;transform:translateY(-1px)}.clear-history-btn svg{width:16px;height:16px}.search-container{padding:16px 20px;background:#fff9;border-bottom:1px solid rgba(226,232,240,.6)}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;width:18px;height:18px;color:#64748b;z-index:1}.search-input{width:100%;padding:12px 12px 12px 40px;border:1px solid rgba(203,213,225,.8);border-radius:12px;background:#ffffffe6;font-size:.9rem;color:#334155;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background:#fff}.search-input::placeholder{color:#94a3b8}.clear-search-btn{position:absolute;right:8px;background:none;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.clear-search-btn:hover{background:#94a3b81a;color:#475569}.clear-search-btn svg{width:14px;height:14px}.history-list{flex:1;overflow-y:auto;padding:8px 0;scrollbar-width:thin;scrollbar-color:rgba(203,213,225,.6) transparent}.history-list::-webkit-scrollbar{width:6px}.history-list::-webkit-scrollbar-track{background:transparent}.history-list::-webkit-scrollbar-thumb{background:#cbd5e199;border-radius:3px}.history-list::-webkit-scrollbar-thumb:hover{background:#cbd5e1cc}.history-group{margin-bottom:16px}.history-group-title{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;padding:8px 20px;margin-bottom:4px;background:#f8fafccc;border-bottom:1px solid rgba(226,232,240,.4)}.history-item{margin:0 10px 6px;padding:10px 12px;background:#fffc;border:1px solid rgba(226,232,240,.6);border-radius:12px;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;overflow:hidden}.history-item:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#3b82f6,#8b5cf6);opacity:0;transition:opacity .2s ease}.history-item:hover{background:#fffffff2;border-color:#3b82f64d;transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.history-item:hover:before{opacity:1}.history-item.selected{background:#3b82f60d;border-color:#3b82f6;box-shadow:0 4px 20px #3b82f626}.history-item.selected:before{opacity:1}.history-item-header{display:flex;align-items:flex-start;gap:8px;margin-bottom:4px;position:relative}.file-section{flex-shrink:0;margin-top:2px}.file-icon{flex-shrink:0;width:28px;height:28px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff}.file-icon svg{width:16px;height:16px}.file-info{flex:1;min-width:0}.filename{font-weight:600;color:#1e293b;font-size:.9rem;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.file-meta{display:flex;align-items:center;gap:5px;font-size:.75rem;color:#64748b;line-height:1.2}.file-meta .file-size,.file-meta .page-count{font-size:.75rem}.separator{color:#cbd5e1}.history-item-preview{font-size:.8rem;color:#64748b;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;background:#f8fafc99;padding:8px 10px;border-radius:6px;border-left:3px solid rgba(59,130,246,.3);margin-top:4px;margin-bottom:6px}.history-item-actions{margin-top:6px;display:flex;justify-content:space-between;align-items:center;min-height:16px}.history-item-time-relocated{display:flex;align-items:center;color:#64748b;font-weight:500;flex-shrink:0}.history-item-time-relocated span{font-size:.7rem!important;line-height:1.1!important;color:#64748b!important;white-space:nowrap;display:inline-block!important}.delete-text-btn{background:none!important;border:none!important;color:#ef4444!important;font-size:.7rem!important;font-weight:500!important;cursor:pointer!important;padding:2px 0!important;margin:0!important;line-height:1.1!important;white-space:nowrap;flex-shrink:0;display:inline-block!important;transition:color .2s ease}.delete-text-btn:hover{color:#dc2626;text-decoration:underline}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:#64748b;height:300px}.empty-state svg{width:48px;height:48px;margin-bottom:16px;opacity:.6}.empty-state p{font-size:1rem;font-weight:600;margin:0 0 8px;color:#475569}.empty-state span{font-size:.9rem;color:#64748b}@media (prefers-color-scheme: dark){.sidebar{background:linear-gradient(145deg,#1e293bf2,#0f172af2);border-right-color:#334155cc}.sidebar-header{background:#0f172acc;border-bottom-color:#33415599}.sidebar-header h2{color:#e2e8f0}.search-container{background:#0f172a99;border-bottom-color:#33415599}.search-input{background:#1e293be6;border-color:#475569cc;color:#e2e8f0}.search-input:focus{background:#1e293b;border-color:#3b82f6}.history-group-title{background:#0f172acc;border-bottom-color:#33415566;color:#94a3b8}.history-item{background:#1e293bcc;border-color:#33415599}.history-item:hover{background:#1e293bf2}.history-item.selected{background:#3b82f61a}.filename{color:#e2e8f0}.file-meta,.file-meta .file-size,.file-meta .page-count,.history-item-preview{color:#94a3b8}.history-item-time-relocated,.history-item-time-relocated span{color:#94a3b8!important}.history-item-preview{background:#0f172a99}.delete-text-btn{color:#f87171}.delete-text-btn:hover{color:#ef4444}.empty-state p{color:#cbd5e1}.empty-state span{color:#94a3b8}}.mobile-close-btn{background:#ef44441a;border:1px solid rgba(239,68,68,.2);color:#dc2626;padding:8px;border-radius:8px;cursor:pointer;transition:all .2s ease;display:none;align-items:center;justify-content:center}.mobile-close-btn:hover{background:#ef444426;border-color:#ef44444d;transform:translateY(-1px)}.mobile-close-btn svg{width:16px;height:16px}@media (max-width: 768px){.sidebar{position:fixed;left:0;top:0;width:100%;transform:translate(-100%);transition:transform .3s ease;z-index:200}.sidebar.open{transform:translate(0)}.mobile-close-btn{display:flex}.sidebar-actions{gap:12px}}.multi-file-status-modal{position:fixed;bottom:20px;right:20px;width:380px;max-height:400px;background-color:#2d3748;color:#e2e8f0;border-radius:8px;box-shadow:0 10px 25px #0000004d,0 6px 10px #00000040;z-index:1000;display:flex;flex-direction:column;overflow:hidden;border:1px solid #4a5568;transition:all .3s ease-in-out}.multi-file-status-modal.minimized{max-height:60px;width:280px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-bottom:1px solid #4a5568;background-color:#1a202c;cursor:pointer}.modal-header h4{margin:0;font-size:.9rem;font-weight:600;color:#cbd5e0}.modal-header .summary-info{font-size:.8rem;color:#a0aec0}.action-buttons{display:flex;gap:8px}.toggle-minimize-btn,.clear-all-btn{background:none;border:none;color:#a0aec0;font-size:1rem;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px}.toggle-minimize-btn:hover,.clear-all-btn:hover{color:#e2e8f0;background-color:#4a5568}.clear-all-btn{font-size:.8rem;padding:5px 8px;background-color:#c53030;color:#fed7d7}.clear-all-btn:hover{background-color:#9b2c2c;color:#fff}.file-status-list{list-style:none;padding:5px 0;margin:0;overflow-y:auto;flex-grow:1}.multi-file-status-modal.minimized .file-status-list{display:none}.file-status-item{display:flex;align-items:center;padding:8px 15px;border-bottom:1px solid #4a5568;gap:10px;transition:background-color .2s ease}.file-status-item:last-child{border-bottom:none}.file-status-item:hover{background-color:#4a5568}.file-status-item .status-icon{font-size:1rem;flex-shrink:0}.file-details-wrapper{flex-grow:1;display:flex;flex-direction:column;overflow:hidden;gap:3px}.file-status-item .file-name-size{display:flex;justify-content:space-between;align-items:center}.file-status-item .file-name{font-size:.85rem;font-weight:500;color:#cbd5e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-status-item .file-size{font-size:.75rem;color:#a0aec0;white-space:nowrap;margin-left:5px}.status-and-progress{display:flex;align-items:center;gap:6px}.status-text{font-size:.75rem;font-weight:500;white-space:nowrap}.status-progress-text{font-size:.75rem;color:#718096}.progress-bar-container-thin{width:100%;height:5px;background-color:#4a5568;border-radius:2.5px;overflow:hidden}.progress-bar-fill-thin{height:100%;background-color:#4299e1;border-radius:2.5px;transition:width .3s ease-in-out}.file-item-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.file-item-actions button{background:none;border:1px solid #718096;color:#a0aec0;padding:3px 6px;border-radius:4px;font-size:.7rem;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}.file-item-actions button:hover{background-color:#718096;border-color:#a0aec0;color:#e2e8f0}.file-item-actions .retry-btn{border-color:#4299e1;color:#4299e1}.file-item-actions .retry-btn:hover{background-color:#2b6cb0;color:#bee3f8}.file-item-actions .remove-btn{border-color:#c53030;color:#c53030}.file-item-actions .remove-btn:hover{background-color:#9b2c2c;color:#fed7d7}.status-completed .status-text{color:#48bb78}.status-error .status-text{color:#f56565}.status-uploading .status-text,.status-processing .status-text{color:#4299e1}.status-queued .status-text,.status-skipped .status-text{color:#a0aec0}.status-error .file-name{color:#f56565}.file-status-list::-webkit-scrollbar{width:6px}.file-status-list::-webkit-scrollbar-track{background:#1a202c;border-radius:0 0 8px}.file-status-list::-webkit-scrollbar-thumb{background:#4a5568;border-radius:3px}.file-status-list::-webkit-scrollbar-thumb:hover{background:#718096}*{box-sizing:border-box}body{margin:0;min-height:100vh;width:100%;background:linear-gradient(135deg,#f0f4ff,#e6eeff);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-layout{position:relative;min-height:100vh;width:100%}.main-content{display:flex;flex-direction:column;min-height:100vh;width:100vw;transition:all .3s ease;margin-left:0}.main-content.with-sidebar{margin-left:320px;width:calc(100vw - 320px)}.top-bar{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(226,232,240,.8);padding:16px 24px;display:flex;align-items:center;gap:16px;position:sticky;top:0;z-index:50;box-shadow:0 1px 3px #0000000d;width:100%}.sidebar-toggle{background:#3b82f61a;border:1px solid rgba(59,130,246,.2);color:#3b82f6;padding:10px;border-radius:10px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:44px;height:44px}.sidebar-toggle:hover{background:#3b82f626;border-color:#3b82f64d;transform:translateY(-1px)}.sidebar-toggle svg{width:20px;height:20px}.app-title{flex:1}.app-title h1{margin:0;font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#2563eb,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.file-select-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:12px 20px;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:8px;box-shadow:0 4px 6px -1px #3b82f64d;min-width:140px;justify-content:center}.file-select-btn:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 25px -5px #3b82f666}.file-select-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.file-select-btn svg{width:18px;height:18px}.top-bar-controls{display:flex;align-items:center;gap:16px}.mode-switcher{display:flex;background:#f1f5f9cc;border-radius:12px;padding:2px;border:1px solid rgba(226,232,240,.8)}.mode-btn{background:transparent;border:none;padding:10px 16px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;color:#64748b;white-space:nowrap}.mode-btn:hover{color:#3b82f6;background:#3b82f61a}.mode-btn.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 4px #3b82f64d}.markdown-to-word-container{display:flex;flex-direction:column;height:100%;flex:1}.markdown-input-section{display:flex;flex-direction:column;height:100%;flex:1;gap:20px}.input-header{text-align:center;margin-bottom:20px}.input-header h3{margin:0 0 8px;font-size:1.5rem;font-weight:700;color:#1e293b;background:linear-gradient(135deg,#2563eb,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.input-header p{margin:0;color:#64748b;font-size:1rem;font-weight:500}.markdown-input{flex:1;min-height:400px;padding:24px;border:2px solid rgba(226,232,240,.8);border-radius:16px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.95rem;line-height:1.6;background:linear-gradient(145deg,#f8fafccc,#f1f5f9cc);color:#1e293b;resize:vertical;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 6px -1px #0000000d}.markdown-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background:#ffffffe6}.markdown-input::placeholder{color:#94a3b8;font-style:italic}.markdown-input:disabled{opacity:.6;cursor:not-allowed}.input-actions{display:flex;gap:12px;justify-content:center;align-items:center}.convert-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:14px 28px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:10px;box-shadow:0 4px 6px -1px #10b9814d;min-width:180px;justify-content:center}.convert-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 8px 25px -5px #10b98166}.convert-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.convert-btn.converting{background:linear-gradient(135deg,#6b7280,#4b5563);cursor:not-allowed}.convert-btn svg{width:20px;height:20px}.clear-btn{background:#ef44441a;color:#dc2626;border:1px solid rgba(239,68,68,.2);padding:14px 24px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.clear-btn:hover:not(:disabled){background:#ef444426;border-color:#ef44444d;transform:translateY(-1px)}.clear-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.container{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:40px 20px;box-sizing:border-box;min-width:0;display:flex;flex-direction:column;position:relative}.universal-drop-zone{transition:all .3s ease}.universal-drop-zone.dragging{background:linear-gradient(135deg,#3b82f60d,#93c5fd0d)}.universal-drop-zone.dragging:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:3px dashed #3b82f6;border-radius:20px;background:#3b82f60d;z-index:1;pointer-events:none}.universal-drop-zone.dragging .app-wrapper{position:relative;z-index:2}.app-wrapper{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:40px;border:1px solid rgba(255,255,255,.2);width:100%;flex:1;display:flex;flex-direction:column}.header{text-align:center;margin-bottom:40px}.header p{color:#64748b;font-size:1.1rem;margin:0;font-weight:500}.drop-zone{border:2px dashed #cbd5e1;background:linear-gradient(145deg,#f8fafccc,#f1f5f9cc);border-radius:20px;padding:60px 40px;text-align:center;cursor:pointer;margin-bottom:32px;transition:all .3s ease;display:flex;flex-direction:column;align-items:center;gap:20px;position:relative;overflow:hidden;min-height:200px;justify-content:center;width:100%}.drop-zone:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(59,130,246,.05) 50%,transparent 70%);opacity:0;transition:opacity .3s ease}.drop-zone:hover{border-color:#3b82f6;background:linear-gradient(145deg,#3b82f60d,#93c5fd0d);transform:translateY(-2px);box-shadow:0 20px 25px -5px #3b82f61a}.drop-zone:hover:before{opacity:1}.drop-zone.dragging{border-color:#2563eb;background:linear-gradient(145deg,#2563eb1a,#3b82f61a);transform:scale(1.02);box-shadow:0 25px 50px -12px #2563eb40}.drop-zone.loading{cursor:not-allowed;border-color:#94a3b8;background:linear-gradient(145deg,#94a3b81a,#cbd5e11a)}.drop-zone svg{width:64px;height:64px;color:#64748b;transition:all .3s ease}.drop-zone:hover svg{color:#3b82f6;transform:scale(1.1)}.drop-zone p{font-size:1.25rem;color:#475569;margin:0;font-weight:600;transition:color .3s ease}.drop-zone:hover p{color:#1e293b}.drop-zone .sub-text{font-size:1rem;color:#94a3b8;font-weight:500;transition:color .3s ease}.drop-zone:hover .sub-text{color:#64748b}.welcome-content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 40px;min-height:400px}.welcome-icon{width:80px;height:80px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:32px;box-shadow:0 10px 25px #3b82f64d}.welcome-icon svg{width:40px;height:40px;color:#fff}.welcome-content h2{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 16px;background:linear-gradient(135deg,#2563eb,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.welcome-content p{font-size:1.1rem;color:#64748b;margin:0;max-width:500px;line-height:1.6}.loading-content{display:flex;flex-direction:column;align-items:center;gap:24px;padding:80px 40px;min-height:400px;justify-content:center}.loading-spinner{width:48px;height:48px;border:4px solid rgba(59,130,246,.2);border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-text{text-align:center}.loading-text p{font-size:1.1rem;color:#475569;margin:0 0 8px;font-weight:600}.loading-text span{font-size:.9rem;color:#64748b;font-weight:500}.markdown-container{background:#ffffffe6;border-radius:20px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;overflow:hidden;border:1px solid rgba(226,232,240,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;flex-direction:column;max-height:calc(100vh - 240px)}.markdown-header{background:linear-gradient(145deg,#f8fafce6,#f1f5f9e6);padding:20px 24px;border-bottom:1px solid rgba(226,232,240,.8);display:flex;justify-content:space-between;align-items:center}.markdown-header h3{margin:0;color:#1e293b;font-size:1.25rem;font-weight:700}.markdown-actions{display:flex;gap:12px}.copy-button{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:12px 20px;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:8px;box-shadow:0 4px 6px -1px #3b82f64d}.copy-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 25px -5px #3b82f666}.copy-button.copied{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 6px -1px #10b9814d}.copy-button svg{width:18px;height:18px}.markdown-content{padding:32px;background:#fffffff2;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(203,213,225,.6) transparent;min-height:0}.markdown-content::-webkit-scrollbar{width:8px}.markdown-content::-webkit-scrollbar-track{background:transparent}.markdown-content::-webkit-scrollbar-thumb{background:#cbd5e199;border-radius:4px}.markdown-content::-webkit-scrollbar-thumb:hover{background:#cbd5e1cc}pre{white-space:pre-wrap;word-wrap:break-word;margin:0;color:#1e293b;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.95rem;line-height:1.7;background:linear-gradient(145deg,#f8fafc80,#f1f5f980);padding:24px;border-radius:12px;border:1px solid rgba(226,232,240,.6)}@media (prefers-color-scheme: dark){body{background:linear-gradient(135deg,#0f172a,#1e293b)}.top-bar{background:#0f172af2;border-bottom-color:#334155cc}.app-wrapper{background:#1e293bf2;border-color:#33415533}.header p{color:#94a3b8}.drop-zone{background:linear-gradient(145deg,#0f172acc,#1e293bcc);border-color:#475569cc}.drop-zone:hover{background:linear-gradient(145deg,#3b82f61a,#93c5fd1a)}.drop-zone p{color:#cbd5e1}.drop-zone:hover p{color:#e2e8f0}.drop-zone .sub-text{color:#64748b}.drop-zone:hover .sub-text{color:#94a3b8}.markdown-container{background:#1e293be6;border-color:#334155cc}.markdown-header{background:linear-gradient(145deg,#0f172ae6,#1e293be6);border-bottom-color:#334155cc}.markdown-header h3{color:#e2e8f0}.markdown-content{background:#1e293bf2}pre{color:#e2e8f0;background:linear-gradient(145deg,#0f172a80,#1e293b80);border-color:#33415599}.markdown-input{background:linear-gradient(145deg,#0f172acc,#1e293bcc);color:#e2e8f0;border-color:#334155cc}.markdown-input:focus{border-color:#3b82f6;background:#1e293bf2;box-shadow:0 0 0 3px #3b82f640}.markdown-input::placeholder{color:#718096}.input-header p{color:#94a3b8}.loading-text p{color:#cbd5e1}.loading-text span{color:#94a3b8}.welcome-content h2{color:#e2e8f0}.welcome-content p{color:#94a3b8}}@media (max-width: 1200px){.container{max-width:90%}}@media (max-width: 768px){.main-content.with-sidebar{margin-left:0;width:100vw}.container{padding:20px}.app-wrapper{padding:24px;border-radius:16px}.drop-zone{padding:40px 20px;border-radius:16px}.drop-zone svg{width:48px;height:48px}.drop-zone p{font-size:1.1rem}.drop-zone .sub-text{font-size:.9rem}.markdown-header{padding:16px 20px;flex-direction:row;gap:12px;align-items:center}.markdown-header h3{font-size:1.1rem}.copy-button{padding:10px 16px;font-size:.85rem;min-width:auto;flex-shrink:0}.markdown-content{padding:20px}.top-bar{padding:12px 16px}.app-title h1{font-size:1.25rem}.top-bar-controls{gap:8px}.mode-switcher{padding:2px}.mode-btn{padding:8px 12px;font-size:.8rem}.file-select-btn{padding:10px 16px;font-size:.85rem;min-width:120px}.markdown-input{min-height:300px;padding:16px;font-size:.9rem}.input-actions{flex-direction:column;gap:8px}.convert-btn{padding:12px 24px;font-size:.9rem;min-width:160px}.clear-btn{padding:12px 20px;font-size:.9rem}}@media (max-width: 480px){.container{padding:16px}.app-wrapper{padding:20px}.drop-zone{padding:32px 16px}.markdown-content{padding:16px}pre{font-size:.85rem;padding:16px}}@media (prefers-reduced-motion: no-preference){.drop-zone,.markdown-container,.copy-button,.sidebar-toggle{transition:all .3s cubic-bezier(.4,0,.2,1)}}.loading-content{display:flex;flex-direction:column;align-items:center;gap:32px;padding:20px}.loading-visual,.progress-ring{position:relative;display:flex;align-items:center;justify-content:center}.progress-circle{width:120px;height:120px;transform:rotate(-90deg)}.progress-circle-bg{stroke:#3b82f61a;stroke-width:8;fill:none}.progress-circle-fill{stroke:#3b82f6;stroke-width:8;fill:none;stroke-linecap:round;transition:stroke-dashoffset .5s ease}.progress-percentage{position:absolute;font-size:1.25rem;font-weight:700;color:#3b82f6;text-align:center}.loading-text{text-align:center;width:100%}.loading-text p{font-size:1.2rem;color:#475569;margin:0 0 16px;font-weight:600}.file-info{display:flex;flex-direction:column;gap:8px;margin:16px 0;padding:16px;background:#f8fafccc;border-radius:12px;border:1px solid rgba(226,232,240,.6);min-width:280px}.filename{font-size:.95rem;color:#1e293b;font-weight:600;display:flex;align-items:center;gap:8px}.file-size{font-size:.85rem;color:#64748b;font-weight:500}.time-estimate{margin:12px 0}.time-estimate span{font-size:.9rem;color:#64748b;font-weight:500;background:#3b82f61a;padding:6px 12px;border-radius:20px;border:1px solid rgba(59,130,246,.2)}.progress-bar{width:100%;height:8px;background:#cbd5e14d;border-radius:4px;overflow:hidden;margin-top:16px;position:relative}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);border-radius:4px;transition:width .5s ease;position:relative}.progress-fill:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-color-scheme: dark){.loading-text p{color:#cbd5e1}.file-info{background:#0f172acc;border-color:#33415599}.filename{color:#e2e8f0}.file-size{color:#94a3b8}.time-estimate span{color:#94a3b8;background:#3b82f633;border-color:#3b82f64d}.progress-bar{background:#4755694d}.progress-percentage{color:#60a5fa}.progress-circle-bg{stroke:#3b82f633}.progress-circle-fill{stroke:#60a5fa}}@media (max-width: 768px){.loading-content{gap:24px;padding:16px}.progress-circle{width:100px;height:100px}.progress-percentage{font-size:1rem}.file-info{min-width:240px;padding:12px}.loading-text p{font-size:1.1rem}}@media (max-width: 480px){.file-info{min-width:200px}.progress-circle{width:80px;height:80px}.progress-percentage{font-size:.9rem}}
