.tw-rc-app{max-width:1200px;margin:0 auto;padding-top:20px;font-family:inherit;color:#1a1a2e}
.tw-rc-app *,.tw-rc-app *::before,.tw-rc-app *::after{box-sizing:border-box}

/* Header */
.tw-rc-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px;flex-wrap:wrap}
.tw-rc-panel-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b7280}
.tw-rc-header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tw-rc-url-count{font-size:12px;font-weight:600;color:#6b7280}
.tw-rc-btn-action{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:500;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .15s;font-family:inherit;line-height:1}
.tw-rc-btn-action:hover{background:#56aea4;color:#fff;border-color:#56aea4}
.tw-rc-btn-action.tw-rc-btn-analyze{background:#56aea4;color:#fff;border-color:#56aea4;font-weight:600}
.tw-rc-btn-action.tw-rc-btn-analyze:hover{background:#4a9e94;border-color:#4a9e94}
.tw-rc-btn-action:disabled{opacity:.5;cursor:not-allowed}

/* Input */
.tw-rc-input-wrap{margin-bottom:12px}
.tw-rc-textarea{width:100%;min-height:120px;padding:14px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;line-height:1.6;color:#1a1a2e;font-family:'Courier New',monospace;resize:vertical;outline:none;transition:border-color .2s}
.tw-rc-textarea:focus{border-color:#56aea4;box-shadow:0 0 0 3px rgba(86,174,164,.1)}
.tw-rc-textarea::placeholder{color:#b0b5c0}

/* Status */
.tw-rc-status{min-height:16px;margin-bottom:8px}
.tw-rc-alert{padding:8px 12px;border-radius:6px;font-size:12px;margin:6px 0 0}
.tw-rc-alert-error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}
.tw-rc-loading{display:flex;align-items:center;gap:6px;padding:6px 0;color:#6b7280;font-size:12px}
.tw-rc-spinner{width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#56aea4;border-radius:50%;animation:tw-rc-spin .6s linear infinite}
@keyframes tw-rc-spin{to{transform:rotate(360deg)}}

/* Single results — chain */
.tw-rc-summary{padding:12px 16px;background:#f0fdf8;border:1px solid #bbf7d0;border-radius:10px;margin-bottom:14px;font-size:14px;font-weight:600;color:#1a1a2e}
.tw-rc-chain{display:flex;flex-direction:column;gap:0;margin-bottom:14px}
.tw-rc-hop{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:8px;transition:all .15s}
.tw-rc-hop:hover{border-color:#56aea4;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.tw-rc-hop-status{font-size:14px;font-weight:700;min-width:44px;text-align:center;padding:4px 8px;border-radius:6px;color:#fff;display:inline-block}
.tw-rc-hop-status.tw-rc-2xx{background:#16a34a}
.tw-rc-hop-status.tw-rc-3xx{background:#f59e0b}
.tw-rc-hop-status.tw-rc-4xx{background:#dc2626}
.tw-rc-hop-status.tw-rc-5xx{background:#7c3aed}
.tw-rc-hop-status.tw-rc-0xx{background:#6b7280}
.tw-rc-hop-url{flex:1;font-size:13px;color:#1a1a2e;word-break:break-all}
.tw-rc-hop-time{font-size:12px;color:#6b7280;white-space:nowrap}
.tw-rc-hop-arrow{display:flex;justify-content:center;padding:4px 0}
.tw-rc-hop-arrow svg{color:#56aea4}

/* Progress */
.tw-rc-progress-wrap{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.tw-rc-progress-bar{flex:1;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}
.tw-rc-progress-fill{height:100%;background:#56aea4;border-radius:4px;transition:width .3s}
.tw-rc-progress-text{font-size:12px;font-weight:600;color:#6b7280;white-space:nowrap}

/* Bulk results */
.tw-rc-bulk-summary{padding:12px 16px;background:#f0fdf8;border:1px solid #bbf7d0;border-radius:10px;margin-bottom:14px;font-size:14px;font-weight:600;color:#1a1a2e}
.tw-rc-bs-ok{color:#16a34a}
.tw-rc-bs-redir{color:#f59e0b}
.tw-rc-bs-err{color:#dc2626}

/* Export group */
.tw-rc-export-group{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}

/* Bulk table */
.tw-rc-bulk-table{width:100%;border-collapse:collapse;margin-bottom:14px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}
.tw-rc-bulk-table thead th{background:#f8f9fa;padding:10px 14px;text-align:left;font-size:12px;font-weight:600;color:#6b7280;border-bottom:1px solid #e5e7eb}
.tw-rc-bulk-table tbody td{padding:10px 14px;font-size:13px;color:#1a1a2e;border-bottom:1px solid #f3f4f6}
.tw-rc-bulk-table tbody tr:last-child td{border-bottom:none}
.tw-rc-cell-url{max-width:300px;word-break:break-all}
.tw-rc-cell-center{text-align:center}

/* Article toggle */
.tw-rc-article-toggle{margin-bottom:12px}
.tw-rc-toggle-btn{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;background:#fff;border:1.5px solid #56aea4;border-radius:10px;cursor:pointer;font-size:14px;font-weight:600;color:#56aea4;font-family:inherit;transition:all .15s;text-align:left}
.tw-rc-toggle-btn:hover{background:#f0fdf8}
.tw-rc-toggle-chevron{transition:transform .25s ease;flex-shrink:0;color:#56aea4}
.tw-rc-toggle-btn.tw-rc-toggle-open .tw-rc-toggle-chevron{transform:rotate(180deg)}
.tw-rc-h2{font-size:14px;font-weight:600;margin:0;padding:0;color:inherit;font-family:inherit;line-height:1.4}

@media(max-width:880px){.tw-rc-bulk-table{font-size:12px}.tw-rc-cell-url{max-width:200px}}
@media(max-width:500px){.tw-rc-header{flex-direction:column;align-items:stretch}.tw-rc-header-actions{justify-content:flex-end}.tw-rc-export-group{flex-direction:column}}

/* Expandable chain in bulk */
.tw-rc-expand-btn{cursor:pointer;color:#56aea4;font-weight:700;display:inline-flex;align-items:center;gap:4px}
.tw-rc-expand-btn svg{transition:transform .2s}
.tw-rc-expand-btn.tw-rc-expand-open svg{transform:rotate(180deg)}
.tw-rc-bulk-row{transition:background .15s}
.tw-rc-bulk-row:hover{background:#f8fffe}
.tw-rc-detail-cell{padding:0!important;background:#f8f9fa}
.tw-rc-mini-chain{display:flex;align-items:center;gap:8px;padding:12px 16px;flex-wrap:wrap}
.tw-rc-mini-hop{display:flex;align-items:center;gap:6px}
.tw-rc-mini-url{font-size:12px;color:#1a1a2e;word-break:break-all;max-width:300px}
.tw-rc-mini-time{font-size:11px;color:#6b7280}
.tw-rc-mini-arrow{color:#56aea4;font-weight:700;font-size:16px}
