:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.6;font-weight:400;color:#1a1a2e;background-color:#f8f9fa}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh}#root{max-width:1200px;margin:0 auto;padding:2rem}.app{max-width:900px;margin:0 auto}header{margin-bottom:2rem}header h1{font-size:1.8rem;font-weight:700;color:#1a1a2e;margin-bottom:.25rem}.subtitle{color:#666;font-size:.95rem}.scrape-form{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:600;font-size:.85rem;margin-bottom:.35rem;color:#374151}.form-group input,.form-group textarea{width:100%;padding:.6rem .8rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;font-family:inherit;background:#fafafa;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.form-group.small{width:100px}.form-row{display:flex;align-items:flex-end;gap:1rem}.btn-primary{padding:.6rem 1.5rem;background:#6366f1;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;height:fit-content;transition:background .2s}.btn-primary:hover:not(:disabled){background:#4f46e5}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.progress-section{margin-bottom:1.5rem}.progress-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:#6366f1;border-radius:4px;transition:width .3s ease}.progress-text{font-size:.85rem;color:#666}.error-box{padding:1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;margin-bottom:1.5rem;font-size:.9rem}.results-section{margin-bottom:2rem}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.results-header h2{font-size:1.1rem;font-weight:600}.btn-download{padding:.5rem 1rem;background:#10b981;color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-download:hover{background:#059669}.table-wrapper{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px}table{width:100%;border-collapse:collapse;font-size:.85rem}thead{background:#f8fafc}th{padding:.6rem .8rem;text-align:left;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0;cursor:pointer;white-space:nowrap;text-transform:capitalize;-webkit-user-select:none;user-select:none}th:hover{background:#f1f5f9}td{padding:.5rem .8rem;border-bottom:1px solid #f1f5f9;color:#334155;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}tr:hover td{background:#f8fafc}.tabs{display:flex;gap:.25rem;margin-top:1rem;border-bottom:2px solid #e2e8f0}.tab{padding:.5rem 1.2rem;border:none;background:none;font-size:.9rem;font-weight:500;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .2s}.tab:hover{color:#334155}.tab.active{color:#6366f1;border-bottom-color:#6366f1;font-weight:600}.btn-secondary{padding:.6rem 1.2rem;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;height:fit-content;transition:background .2s}.btn-secondary:hover{background:#e2e8f0}.btn-danger{padding:.4rem .8rem;background:#fef2f2;color:#dc2626;border:1px solid #fecaca;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer}.btn-danger:hover{background:#fee2e2}.btn-sm{padding:.35rem .7rem;font-size:.8rem}.history-list,.sites-list{display:flex;flex-direction:column;gap:.75rem}.history-card,.site-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.history-info,.site-info{display:flex;flex-direction:column;gap:.2rem;min-width:0}.history-url,.site-url{font-size:.85rem;color:#6366f1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-prompt,.site-prompt{font-size:.8rem;color:#94a3b8}.history-meta{font-size:.75rem;color:#94a3b8}.history-actions,.site-actions{display:flex;gap:.5rem;flex-shrink:0}.status-badge{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.15rem .5rem;border-radius:4px;width:fit-content}.status-badge.completed{background:#dcfce7;color:#166534}.status-badge.failed{background:#fef2f2;color:#991b1b}.status-badge.running{background:#dbeafe;color:#1e40af}.status-badge.pending{background:#f1f5f9;color:#64748b}.empty-state{text-align:center;padding:3rem;color:#94a3b8;font-size:.95rem}
