*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f1f5f9;color:#1e293b;min-height:100vh;font-size:14px}.app{max-width:1200px;margin:0 auto;padding:0 1.25rem 3rem}.header{padding:2rem 0 1.5rem;border-bottom:1px solid #e2e8f0;margin-bottom:1.5rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.25rem}.login-card{width:100%;max-width:380px;text-align:center}.login-card h1{font-size:1.25rem;color:#0f172a;margin-bottom:1rem}.login-hint{color:#64748b;font-size:.875rem;margin-bottom:1rem}.login-btn{width:100%;margin-top:.75rem}.header h1{font-size:1.5rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.header p{color:#64748b;margin-top:.25rem;font-size:.875rem}.card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:1.25rem;margin-bottom:1rem}.controls{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.source-tabs{display:flex;gap:.25rem;background:#f1f5f9;padding:.25rem;border-radius:8px}.tab{padding:.375rem 1rem;border:none;background:transparent;border-radius:6px;cursor:pointer;font-size:.8125rem;font-weight:500;color:#64748b;transition:background .15s,color .15s,box-shadow .15s}.tab:hover:not(:disabled){color:#1e293b}.tab.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a}.tab:disabled{opacity:.45;cursor:not-allowed}.actions{display:flex;gap:.625rem;margin-left:auto}.btn{padding:.4375rem 1.125rem;border-radius:8px;border:none;font-size:.8125rem;font-weight:600;cursor:pointer;transition:background .15s,opacity .15s;white-space:nowrap}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.error-banner{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;border-radius:8px;padding:.5rem .875rem;font-size:.8125rem;width:100%;margin-top:.25rem}.table-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.875rem}.table-title{font-size:.9375rem;font-weight:600;color:#0f172a}.player-count{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.175rem .625rem;border-radius:999px}.progress-bar-wrap{height:3px;background:#e2e8f0;border-radius:2px;margin-bottom:.875rem;overflow:hidden}.progress-bar{height:100%;background:#2563eb;border-radius:2px;transition:width .4s ease}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th{text-align:left;padding:.5rem .75rem;color:#94a3b8;font-weight:600;font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #e2e8f0;white-space:nowrap}td{padding:.625rem .75rem;border-bottom:1px solid #f8fafc;color:#334155}tr:last-child td{border-bottom:none}tr.row-processing td{background:#eff6ff}tr.row-done td{opacity:.7}.num{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;gap:.25rem;padding:.1875rem .5rem;border-radius:999px;font-size:.6875rem;font-weight:600;white-space:nowrap}.badge-pending{background:#f1f5f9;color:#64748b}.badge-processing{background:#dbeafe;color:#1d4ed8}.badge-done{background:#dcfce7;color:#15803d}.badge-skipped{background:#fef9c3;color:#92400e}.badge-error{background:#fef2f2;color:#b91c1c}.badge-reported{background:#dcfce7;color:#15803d}.badge-notreported{background:#fee2e2;color:#b91c1c}.badge-review{background:#fef3c7;color:#b45309}.badge-unknown{background:#f1f5f9;color:#64748b}.filter-field{display:flex;flex-direction:column;gap:.3rem;min-width:140px}.filter-field select.setting-input{cursor:pointer}.partner{display:block;font-size:.6875rem;color:#94a3b8;font-weight:400}.event-level{display:block;font-size:.6875rem;color:#94a3b8}.color-notreported{color:#dc2626}.color-review{color:#b45309}.job-counts{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.875rem;padding-top:.875rem;border-top:1px solid #f1f5f9}.job-count{font-size:.8125rem;color:#64748b}.job-count strong{color:#0f172a}.log-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.log-title{font-size:.9375rem;font-weight:600;color:#0f172a}.log-count{font-size:.75rem;color:#64748b}.log-panel{background:#0f172a;border-radius:8px;padding:.875rem 1rem;height:260px;overflow-y:auto;font-family:Courier New,Consolas,monospace;font-size:.75rem;line-height:1.6}.log-line{display:flex;gap:.5rem}.log-ts{color:#334155;flex-shrink:0;-webkit-user-select:none;user-select:none}.log-info .log-msg{color:#94a3b8}.log-success .log-msg{color:#4ade80}.log-warning .log-msg{color:#fbbf24}.log-error .log-msg{color:#f87171}.summary-grid{display:flex;gap:1.5rem;flex-wrap:wrap}.summary-stat{display:flex;flex-direction:column;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.875rem 1.5rem;min-width:90px}.summary-value{font-size:1.75rem;font-weight:700;line-height:1;margin-bottom:.25rem}.summary-label{font-size:.75rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.color-done{color:#16a34a}.color-skipped{color:#d97706}.color-error{color:#dc2626}.color-total{color:#2563eb}.summary-title{font-size:.9375rem;font-weight:600;color:#0f172a;margin-bottom:.875rem}.settings-card{padding:0;overflow:hidden}.settings-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.875rem 1.25rem;background:none;border:none;cursor:pointer;font-size:.9375rem;font-weight:600;color:#0f172a;text-align:left}.settings-toggle:hover{background:#f8fafc}.settings-toggle-label{display:flex;align-items:center;gap:.5rem;color:#475569}.settings-arrow{font-size:.625rem;color:#94a3b8}.settings-body{padding:0 1.25rem 1.25rem;display:flex;flex-direction:column;gap:1.25rem;border-top:1px solid #f1f5f9}.settings-group{display:flex;flex-direction:column;gap:.5rem}.settings-group-title{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;padding-top:.5rem}.settings-row{display:flex;flex-wrap:wrap;gap:.75rem}.setting-field{display:flex;flex-direction:column;gap:.3rem;flex:1;min-width:180px}.setting-label{font-size:.75rem;font-weight:500;color:#64748b}.setting-input{padding:.4rem .625rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;color:#1e293b;background:#fff;outline:none;transition:border-color .15s;width:100%}.setting-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.setting-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.setting-input[type=number]{max-width:90px}.settings-hint{font-size:.75rem;color:#94a3b8;margin-bottom:.25rem}.settings-hint code{background:#f1f5f9;padding:.1em .3em;border-radius:3px;font-size:.7rem}.settings-footer{padding-top:.25rem;border-top:1px solid #f1f5f9}.btn-sm{padding:.3rem .75rem;font-size:.75rem}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
