:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f8f9f7;--panel:#fff;--panel-soft:#f4f8f5;--border:#dfe7ea;--text:#172033;--muted:#58657a;--accent:#0d5c70;--accent-strong:#0a4351;--accent-soft:#e9f4f6;--success:#1b8c61;--success-soft:#e9f7f1;--danger:#b54436;--danger-soft:#fff1ed;--shadow:0 20px 50px #0f172a17;background:#f7f9f8;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;color:var(--text);background:linear-gradient(#f7f9f8 0%,#eef3f2 100%);margin:0}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}#root{min-height:100vh}.site-shell{flex-direction:column;min-height:100vh;display:flex}.page-shell{flex:1;width:min(1100px,100% - 32px);margin:0 auto;padding:36px 0 50px}.site-header{z-index:50;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8fafced;border-bottom:1px solid #dde5ef;position:sticky;top:0}.nav-wrap{justify-content:space-between;align-items:center;width:min(1100px,100% - 32px);min-height:72px;margin:0 auto;display:flex}.brand,.footer-brand{color:var(--text);align-items:center;gap:10px;font-size:19px;font-weight:800;display:inline-flex}.brand-mark{color:#fff;background:#f06449;border-radius:8px;justify-content:center;align-items:center;width:29px;height:29px;font-family:SFMono-Regular,Consolas,monospace;font-size:18px;font-weight:700;display:inline-flex}.nav-links{align-items:center;gap:26px;font-size:14px;font-weight:600;display:flex}.nav-links a{color:#536175}.nav-links a:hover,.footer-links a:hover{color:var(--accent)}.site-footer{color:#eef3f9;background:#172033;padding:36px 0 26px}.footer-content{width:min(1100px,100% - 32px);margin:0 auto}.footer-brand{font-size:17px}.footer-brand .brand-mark{width:25px;height:25px}.footer-links{flex-wrap:wrap;gap:18px;margin-top:22px;display:flex}.footer-links a,.site-footer small{color:#d4ddea;font-size:12px}.site-footer small{border-top:1px solid #ffffff1f;margin-top:26px;padding-top:18px;display:block}.tool-panel{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:22px;padding:30px 28px 26px}.page-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.eyebrow{color:#d26045;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:700}h1,h2,h3,p,ul,ol{margin-top:0}h1{color:var(--text);letter-spacing:-.06em;margin-bottom:0;font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.08}.page-subtitle{max-width:680px;color:var(--muted);margin-top:16px;font-size:1.1rem;line-height:1.6}.privacy-banner{background:var(--success-soft);color:var(--success);border:1px solid #1b8c612e;border-radius:999px;align-items:center;gap:10px;margin-top:20px;padding:12px 16px;font-weight:600;display:inline-flex}.dropzone-wrap{margin-top:28px}.dropzone{background:linear-gradient(#f9fbfb 0%,#f3f8f6 100%);border:2px dashed #b9d4d7;border-radius:22px;justify-content:center;align-items:stretch;min-height:220px;transition:border-color .2s,background .2s,transform .2s;display:flex}.dropzone.dragging{border-color:var(--accent);background:var(--accent-soft);transform:translateY(-1px)}.dropzone-content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;padding:20px;display:flex}.dropzone-title{letter-spacing:-.04em;color:var(--text);font-size:clamp(1.5rem,2vw,2rem);font-weight:700}.dropzone-divider{color:var(--muted);font-weight:600}.dropzone-caption{color:var(--muted);font-size:.95rem}.upload-button{margin-top:4px}.file-input{display:none}.selection-header{justify-content:space-between;align-items:center;gap:12px;margin-top:30px;margin-bottom:16px;display:flex}.selection-header h2{letter-spacing:-.04em;margin-bottom:0;font-size:1.5rem}.clear-button,.button,.move-button,.remove-button,.drag-handle{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:10px;transition:border-color .2s,background .2s,transform .2s}.clear-button,.button{justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-weight:700;display:inline-flex}.clear-button{color:var(--danger);background:#fff8f7;border-color:#e1d7d6}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover,.button.primary:focus-visible{background:var(--accent-strong);border-color:var(--accent-strong)}.button.secondary{border-color:var(--border);color:var(--text);background:#fff}.button:focus-visible,.clear-button:focus-visible,.move-button:focus-visible,.remove-button:focus-visible,.drag-handle:focus-visible,.dropzone:focus-visible,.tool-links a:focus-visible,.nav-links a:focus-visible,.footer-links a:focus-visible{outline-offset:2px;outline:3px solid #06737d40}.inline-error{background:var(--danger-soft);color:var(--danger);border:1px solid #b544362e;border-radius:12px;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;font-weight:600;display:flex}.empty-state{border:1px dashed var(--border);background:var(--panel-soft);color:var(--muted);border-radius:12px;margin-top:18px;padding:18px}.pdf-list-wrap{margin-top:8px}.pdf-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.pdf-item{border:1px solid var(--border);background:var(--panel-soft);border-radius:14px}.pdf-item-main{align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.drag-handle{width:34px;height:34px;color:var(--muted);background:#fff;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.pdf-item-info{flex:1;min-width:0}.pdf-item-title-row{align-items:center;gap:8px;display:flex}.pdf-filename{word-break:break-word;font-weight:700}.pdf-item-meta{color:var(--muted);align-items:center;gap:8px;margin-top:4px;font-size:.82rem;display:flex}.pdf-item-actions{align-items:center;gap:8px;display:flex}.move-buttons{align-items:center;gap:4px;display:inline-flex}.move-button,.remove-button{background:#fff;justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:0 8px;display:inline-flex}.remove-button{color:var(--danger)}.processing-box{margin-top:22px}.progress-panel{border:1px solid var(--border);background:var(--panel-soft);border-radius:16px;padding:18px}.progress-panel p{margin-bottom:12px;font-weight:700}.progress-track{background:#dfe7eb;border-radius:999px;width:100%;height:12px;overflow:hidden}.progress-bar{border-radius:inherit;background:linear-gradient(90deg, var(--accent) 0%, #4aa9b9 100%);height:100%;transition:width .2s}.progress-labels{color:var(--muted);justify-content:space-between;gap:8px;margin-top:10px;font-size:.82rem;display:flex}.progress-visual{gap:6px;margin-top:12px;display:flex}.progress-visual span{background:#dfe7eb;border-radius:999px;flex:1;height:8px;display:block}.progress-visual span.filled{background:var(--accent)}.spinner{animation:.8s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.merge-actions{margin-top:22px}.merge-button{min-width:190px}.merge-result{background:linear-gradient(#f3fdf8 0%,#ecfaf3 100%);border:1px solid #1b8c612e;border-radius:18px;margin-top:28px;padding:22px}.success-header{align-items:flex-start;gap:12px;display:flex}.success-icon{background:var(--success);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.success-header h3{color:var(--success);letter-spacing:-.04em;margin-bottom:6px;font-size:1.5rem}.success-header p{color:var(--muted)}.result-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.info-section{border:1px solid var(--border);background:#ffffffb8;border-radius:18px;width:min(1100px,100% - 32px);margin:30px auto 0;padding:28px 30px}.info-section h2{letter-spacing:-.04em;margin-bottom:16px;font-size:clamp(1.7rem,2vw,2.2rem)}.info-section p,.info-section li,.info-section h3{color:var(--muted)}.info-section ol,.info-section ul{gap:10px;margin:0;padding-left:22px;display:grid}.faq-list{gap:16px;display:grid}.faq-list article{border-top:1px solid var(--border);padding-top:12px}.faq-list article:first-child{border-top:0;padding-top:0}.faq-list h3{color:var(--text);margin-bottom:6px;font-size:1.05rem}.more-tools-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:14px;font-size:1rem}.tool-links{flex-wrap:wrap;gap:12px;display:flex}.tool-links a{border:1px solid var(--border);min-height:42px;color:var(--text);background:#fff;border-radius:999px;align-items:center;padding:0 14px;font-weight:600;display:inline-flex}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=720px){.nav-wrap,.page-shell,.info-section,.footer-content{width:min(100% - 20px,1100px)}.nav-wrap{min-height:62px}.nav-links{gap:14px;font-size:12px}.tool-panel{padding:22px 18px 20px}.dropzone{min-height:180px}.selection-header{margin-top:24px;margin-bottom:12px}.pdf-item-main{flex-wrap:wrap}.pdf-item-actions{justify-content:space-between;width:100%}.merge-button{width:100%}.result-actions{flex-direction:column}.result-actions .button{width:100%}}
