*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--accent: #2563eb;--accent-dark: #1d4ed8;--accent-light: #eff5fe;--grey-900: #212121;--grey-700: #424242;--grey-400: #bdbdbd;--grey-200: #eeeeee;--grey-100: #f5f5f5;--bg: #fafafa;--text: #212121;--text-muted: #757575;--border: #e0e0e0;--radius: 6px;--shadow: 0 1px 4px rgba(0,0,0,.1)}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;display:flex;flex-direction:column}#app{display:flex;flex-direction:column;min-height:100vh}header{background:#141414;color:#fff;padding:20px 24px}.header-inner{max-width:800px;margin:0 auto;display:flex;align-items:center;gap:16px}.logo{display:block;height:36px;width:auto;flex-shrink:0}.header-text h1{font-size:18px;font-weight:600;line-height:1.3}.header-text p{font-size:13px;color:#bdbdbd;margin-top:2px}main{flex:1;max-width:800px;width:100%;margin:32px auto;padding:0 24px;display:flex;flex-direction:column;gap:20px}.drop-zone{border:2px dashed var(--border);border-radius:var(--radius);padding:48px 24px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;background:#fff;-webkit-user-select:none;user-select:none}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--accent);background:var(--accent-light)}.drop-zone.has-file{border-style:solid;border-color:var(--accent);background:var(--accent-light);padding:28px 24px}.drop-prompt{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--text-muted);font-size:15px}.drop-icon{width:44px;height:44px;opacity:.4}.file-info{display:flex;align-items:center;justify-content:center;gap:12px}.file-icon{width:32px;height:32px;color:var(--accent);flex-shrink:0}.file-name{font-size:16px;font-weight:500;color:var(--grey-700);word-break:break-all}.message{padding:12px 16px;border-radius:var(--radius);font-size:14px;line-height:1.5}.message.error{background:#fce4ec;color:#b71c1c;border:1px solid #ef9a9a}.result{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:20px}.stats{display:flex;gap:16px;flex-wrap:wrap}.stat{flex:1;min-width:100px;background:var(--grey-100);border-radius:var(--radius);padding:12px 16px;text-align:center}.stat-value{display:block;font-size:28px;font-weight:700;color:var(--accent);line-height:1.2}.stat-label{display:block;font-size:12px;color:var(--text-muted);margin-top:2px;text-transform:uppercase;letter-spacing:.05em}.download-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:#fff;border:none;border-radius:var(--radius);padding:12px 24px;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s;width:100%}.download-btn:hover{background:var(--accent-dark)}.download-icon{width:18px;height:18px}.warnings{display:flex;flex-direction:column;gap:6px}.warning{font-size:13px;color:#e65100;background:#fff3e0;border:1px solid #ffcc80;border-radius:4px;padding:6px 10px}footer{text-align:center;padding:20px;font-size:13px;color:var(--text-muted);border-top:1px solid var(--border)}footer a{color:var(--accent);text-decoration:none}footer a:hover{text-decoration:underline}
