*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.toast-container{display:flex;flex-direction:column;gap:.75rem;pointer-events:none;position:fixed;right:20px;top:20px;z-index:10000}.toast{align-items:center;animation:slideIn .3s ease-out;background:#fff;border-left:4px solid;border-radius:8px;box-shadow:0 4px 12px #00000026;cursor:pointer;display:flex;gap:.75rem;max-width:500px;min-width:300px;padding:1rem 1.25rem;pointer-events:auto;transition:transform .2s,opacity .2s}.toast:hover{transform:translateX(-4px)}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.toast-success{border-left-color:#27ae60}.toast-error{border-left-color:#e74c3c}.toast-warning{border-left-color:#f39c12}.toast-info{border-left-color:#3498db}.toast-icon{flex-shrink:0;font-size:1.25rem;font-weight:700}.toast-success .toast-icon{color:#27ae60}.toast-error .toast-icon{color:#e74c3c}.toast-warning .toast-icon{color:#f39c12}.toast-info .toast-icon{color:#3498db}.toast-message{color:#2c3e50;flex:1 1;font-size:.9rem;line-height:1.4;white-space:pre-wrap}.toast-close{align-items:center;background:none;border:none;color:#999;cursor:pointer;display:flex;flex-shrink:0;font-size:1.5rem;height:24px;justify-content:center;padding:0;transition:color .2s;width:24px}.toast-close:hover{color:#333}@media (max-width:768px){.toast-container{left:10px;right:10px;top:10px}.toast{max-width:none;min-width:auto}}.login-page{align-items:center;background:#f4f6f8;display:flex;justify-content:center;min-height:calc(100vh - 2rem);padding:2rem 1rem}.login-card{background:#fff;border:1px solid #e2e6ea;border-radius:12px;box-shadow:0 4px 20px #0000000f;max-width:400px;padding:2rem 1.75rem;width:100%}.login-logo{display:block;filter:brightness(0);height:2.25rem;margin:0 auto 1.25rem;width:auto}.login-title{color:#1e293b;font-size:1.35rem;margin:0 0 .35rem;text-align:center}.login-sub{color:#64748b;font-size:.9rem;margin:0 0 1.5rem;text-align:center}.login-form{display:flex;flex-direction:column;gap:.35rem}.login-label{color:#475569;font-size:.8rem;font-weight:600;margin-top:.5rem}.login-input{border:1px solid #cfd6dc;border-radius:6px;font-family:inherit;font-size:.95rem;padding:.55rem .65rem}.login-input:focus{border-color:#8ab4e0;outline:2px solid #8ab4e0}.login-submit{background:#2c3e50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-family:inherit;font-size:.95rem;font-weight:600;margin-top:1.25rem;padding:.6rem 1rem}.login-submit:hover:not(:disabled){background:#243444}.login-submit:disabled{cursor:not-allowed;opacity:.65}.auth-loading-screen{color:#64748b;font-size:.95rem;min-height:50vh}.auth-loading-screen,.pf-modal-backdrop{align-items:center;display:flex;justify-content:center}.pf-modal-backdrop{background:#0f172a73;box-sizing:border-box;inset:0;padding:1rem;position:fixed;z-index:1000}.pf-modal-panel{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;box-shadow:0 12px 40px #0000002e;box-sizing:border-box;max-height:min(90vh,640px);overflow-y:auto;padding:1rem 1.1rem 1.15rem;width:100%}.pf-modal-panel--profile{max-width:42rem}.pf-modal-panel--focus{max-width:28rem}.pf-modal-panel--queue-brief{max-width:35rem}.pf-modal-panel--queue-form{max-width:37.5rem}.pf-modal-head{align-items:flex-start;border-bottom:1px solid #eef2f5;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.85rem;padding-bottom:.65rem}.pf-modal-head h3{color:#0f172a;font-size:1.05rem;font-weight:600;margin:0}.pf-modal-close{background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;flex-shrink:0;font-size:1.35rem;height:1.85rem;line-height:1;padding:0;width:1.85rem}.pf-modal-close:hover{background:#f1f5f9;color:#0f172a}.pf-modal-lead{color:#64748b;font-size:.89rem;line-height:1.45;margin:0 0 1rem}.pf-modal-panel .form-group{margin-bottom:1rem}.pf-modal-panel .form-group label{color:#334155;font-size:.9rem}.pf-modal-panel .form-group input,.pf-modal-panel .form-group select,.pf-modal-panel .form-group textarea{border:1px solid #cfd6dc;border-radius:6px;font-size:.9rem;padding:.55rem .65rem}.pf-modal-panel .form-group small{color:#64748b;font-size:.82rem}.pf-modal-actions{border-top:1px solid #eef2f5;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end;margin-top:1.15rem;padding-top:.85rem}.pf-explore{box-sizing:border-box;margin:0 auto;max-width:1400px;padding:1rem 1.5rem 2rem;width:100%}.pf-loading{color:#64748b;font-size:.95rem;padding:2.5rem 1rem;text-align:center}.pf-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.25rem}.pf-header h2{color:#1e293b;color:var(--text-strong,#1e293b);font-size:1.75rem;margin:0 0 .35rem}.pf-sub{color:#5a6570;color:var(--text-muted,#5a6570);font-size:.92rem;line-height:1.45;margin:0;max-width:42rem}.pf-header-actions{gap:.5rem}.pf-filters,.pf-header-actions{align-items:center;display:flex;flex-wrap:wrap}.pf-filters{gap:.75rem}.pf-filter-select{background:#fff;border:1px solid #cfd6dc;color:#334155;padding:.45rem .75rem}.pf-btn,.pf-filter-select{border-radius:6px;cursor:pointer;font-family:inherit;font-size:.9rem}.pf-btn{border:1px solid #0000;transition:background-color .15s,border-color .15s,opacity .15s}a.pf-btn{box-sizing:border-box;display:inline-block;text-decoration:none}.pf-btn:disabled{cursor:not-allowed;opacity:.55}.pf-btn-primary{background:#2c3e50;border-color:#2c3e50;color:#fff;padding:.45rem .9rem}.pf-btn-primary:hover:not(:disabled){background:#34495e;border-color:#34495e}.pf-btn-secondary{background:#fff;border-color:#cbd5e1;color:#334155;padding:.45rem .9rem}.pf-btn-secondary:hover:not(:disabled){background:#f8fafc}.pf-btn-accent{background:#198754;border-color:#198754;color:#fff;padding:.45rem .9rem}.pf-btn-accent:hover:not(:disabled){background:#157347;border-color:#157347}.pf-error-banner{background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;color:#842029;font-size:.9rem;margin-bottom:1rem;padding:.75rem 1rem}.pf-list-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;box-shadow:none}.pf-callout{background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;color:#78350f;font-size:.9rem;line-height:1.45;margin:0 0 1rem;max-width:52rem;padding:.75rem 1rem}.pf-empty{background:#0000;color:#64748b;padding:2.5rem 1rem;text-align:center}.pf-empty p{font-size:.95rem;margin:0 0 .5rem}.pf-empty .pf-empty-hint{color:#94a3b8;font-size:.88rem;font-style:normal;margin:0}.pf-btn-inline{background:#fff;border-color:#cbd5e1;color:#334155;font-size:.78rem;padding:.3rem .55rem}.pf-btn-inline:hover:not(:disabled){background:#f8fafc}.pf-btn-inline-danger{background:#fff;border-color:#fecaca;color:#b91c1c;font-size:.78rem;padding:.3rem .55rem}.pf-btn-inline-danger:hover:not(:disabled){background:#fef2f2}.rr-workspace{margin:0 auto;max-width:1400px;padding:1rem 1.5rem 2rem;width:100%}.rr-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.25rem}.rr-header h2{color:#1e293b;color:var(--text-strong,#1e293b);font-size:1.75rem;margin:0 0 .35rem}.rr-sub{color:#5a6570;color:var(--text-muted,#5a6570);font-size:.92rem;margin:0;max-width:40rem}.rr-filters{align-items:center;display:flex;gap:.75rem}.rr-select{background:#fff;border:1px solid #cfd6dc;border-radius:6px;font-size:.9rem;padding:.45rem .75rem}.rr-select-block{margin-top:.35rem;max-width:28rem;width:100%}.rr-reports-list{display:flex;flex-direction:column;gap:1rem}.rr-empty{color:#64748b;padding:2.5rem 1rem;text-align:center}.rr-card,.rr-empty{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px}.rr-card{padding:1rem 1.1rem}.rr-card-head{align-items:flex-start;border-radius:8px;cursor:pointer;display:flex;gap:1rem;justify-content:space-between;margin:-.25rem;padding:.35rem .25rem}.rr-card-head:hover{background:#f8fafc}.rr-card-head:focus-visible{outline:2px solid #94a3b8;outline-offset:2px}.rr-card-head-main{align-items:flex-start;display:flex;flex:1 1;gap:.5rem;min-width:0}.rr-chevron{color:#64748b;flex-shrink:0;font-size:.72rem;margin-top:.35rem}.rr-card-title{color:#0f172a;font-size:1.05rem;font-weight:600;margin:0 0 .35rem}.rr-meta{align-items:center;color:#64748b;display:flex;flex-wrap:wrap;font-size:.82rem;gap:.45rem}.rr-pill-muted{font-weight:500}.rr-pill{display:inline-block;max-width:16rem;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.rr-pill-focused{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:999px;color:#5b21b6;font-size:.72rem;font-weight:600;padding:.12rem .45rem}.rr-date{color:#94a3b8}.rr-card-head-actions{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.rr-status{border-radius:999px;font-size:.75rem;font-weight:600;padding:.22rem .55rem}.rr-status-pending{background:#fef9c3;color:#854d0e}.rr-status-reviewed{background:#e0f2fe;color:#075985}.rr-status-archived{background:#f1f5f9;color:#475569}.rr-btn-delete{background:#fff5f5;border:1px solid #f5c2c2;border-radius:6px;color:#991b1b;cursor:pointer;font-size:.82rem;padding:.32rem .65rem}.rr-btn-delete:hover{background:#fee2e2}.rr-card-body{border-top:1px solid #eef2f5;margin-top:.75rem;padding-top:.85rem}.rr-diagnostics{background:#fafbfc;border:1px solid #e2e6ea;border-radius:8px;margin-bottom:1rem;overflow:hidden}.rr-diagnostics-toggle{align-items:center;background:#0000;border:none;color:#475569;cursor:pointer;display:flex;font-size:.84rem;font-weight:600;gap:.75rem;justify-content:space-between;padding:.55rem .85rem;text-align:left;width:100%}.rr-diagnostics-toggle:hover{background:#f1f5f9}.rr-diagnostics-chevron{color:#94a3b8;font-size:.72rem}.rr-diagnostics-body{border-top:1px solid #eef2f5;font-size:.86rem;padding:.65rem .85rem .85rem}.rr-diagnostics-hint{color:#64748b;line-height:1.45;margin:0 0 .65rem}.rr-diagnostics-error{color:#b91c1c;margin:0 0 .5rem}.rr-diagnostics-note{color:#334155;margin:0 0 .65rem}.rr-mini-label{color:#64748b;font-size:.68rem;font-weight:600;letter-spacing:.04em;margin-bottom:.3rem;text-transform:uppercase}.rr-research-summary-block{margin:.5rem 0 .65rem}.rr-research-summary-pre{background:#fff;border:1px solid #e2e6ea;border-radius:6px;font-size:.8rem;line-height:1.45;margin:0;max-height:14rem;overflow:auto;padding:.5rem .65rem;white-space:pre-wrap;word-break:break-word}.rr-diagnostics-inputs{grid-gap:.35rem;display:grid;gap:.35rem;margin:.65rem 0 0}.rr-diagnostics-row{grid-gap:.5rem;display:grid;font-size:.8rem;gap:.5rem;grid-template-columns:minmax(5rem,11rem) 1fr}.rr-diagnostics-row dt{color:#64748b;margin:0}.rr-diagnostics-row dd{color:#334155;font-family:ui-monospace,monospace;font-size:.76rem;margin:0}.rr-angles{margin-top:.25rem}.rr-angles-header{align-items:center;display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between;margin-bottom:.65rem}.rr-angles-title{color:#0f172a;font-size:1rem;margin:0}.rr-bulk-actions{display:flex;gap:.4rem}.rr-btn-sm{background:#fff;border:1px solid #cfd6dc;border-radius:6px;color:#334155;cursor:pointer;font-size:.8rem;padding:.3rem .55rem}.rr-btn-sm:hover{background:#f8fafc}.rr-angles-list{list-style:none;margin:0;padding:0}.rr-angle-item{background:#fafbfc;border:1px solid #e8ecf0;border-radius:8px;margin-bottom:.55rem;padding:.75rem 2.35rem .75rem .85rem;position:relative}.rr-angle-item.selected{background:#f0fdf4;border-color:#86efac}.rr-angle-item.approved{background:#f8fafc;border-color:#e2e8f0;opacity:.88}.rr-angle-item.rejected{background:#fffbfb;border-color:#fecaca}.rr-angle-menu-btn{align-items:center;background:#fff;border:1px solid #e2e6ea;border-radius:6px;color:#64748b;cursor:pointer;display:flex;font-size:1rem;height:1.65rem;justify-content:center;line-height:1;margin:0;padding:0;position:absolute;right:.45rem;top:.5rem;width:1.65rem}.rr-angle-menu-btn:hover{background:#f1f5f9;color:#0f172a}.rr-angle-row{align-items:flex-start;display:flex;gap:.6rem}.rr-angle-row input[type=checkbox]{flex-shrink:0;height:1.05rem;margin-top:.2rem;width:1.05rem}.rr-angle-label{cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.35rem;min-width:0}.rr-angle-title{color:#0f172a;font-size:.92rem;font-weight:600;line-height:1.35}.rr-angle-meta{display:flex;flex-wrap:wrap;gap:.35rem}.rr-pill-soft{background:#f1f5f9;border-radius:999px;color:#475569;display:inline-block;font-size:.72rem;padding:.1rem .45rem}.rr-badge{border-radius:4px;font-size:.68rem;font-weight:600;margin-left:.35rem;padding:.08rem .38rem}.rr-badge-approved{background:#dcfce7;color:#166534}.rr-badge-rejected{background:#fee2e2;color:#991b1b}.rr-angle-snippet{color:#64748b;font-size:.85rem;line-height:1.5;margin:.55rem 0 0;padding-left:1.85rem}.rr-angle-rejection{background:#fff1f2;border-left:3px solid #f43f5e;border-radius:6px;color:#9f1239;font-size:.82rem;margin:.45rem 0 0 1.85rem;padding:.45rem .55rem}.rr-btn-reject-inline{background:#fff;border:1px solid #fecaca;border-radius:6px;color:#b91c1c;cursor:pointer;font-size:.8rem;margin:.5rem 0 0 1.85rem;padding:.35rem .65rem}.rr-btn-reject-inline:hover{background:#fef2f2}.rr-field-block label{color:#475569;display:block;font-size:.82rem;font-weight:600}.rr-field-block{margin-bottom:1rem}.rr-approve-zone{border-top:1px solid #eef2f5;margin-top:1rem;padding-top:1rem}.rr-btn-primary{background:#2c3e50;border:1px solid #1e3a5f;border-radius:6px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:.55rem 1rem}.rr-btn-primary:hover:not(:disabled){background:#34495e}.rr-btn-primary:disabled{cursor:not-allowed;opacity:.55}.rr-no-angles{color:#64748b;font-size:.92rem;padding:.35rem 0}.rr-modal-backdrop{align-items:center;background:#0f172a73;box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:1000}.rr-modal-panel{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;box-shadow:0 12px 40px #0000002e;max-height:min(90vh,560px);max-width:26rem;overflow-y:auto;padding:1rem 1.1rem 1.15rem;width:100%}.rr-modal-head{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.65rem}.rr-modal-head h4{font-size:1rem;font-weight:600;margin:0}.rr-modal-close{background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;flex-shrink:0;font-size:1.35rem;height:1.75rem;line-height:1;padding:0;width:1.75rem}.rr-modal-close:hover{background:#f1f5f9;color:#0f172a}.rr-modal-body{font-size:.9rem}.rr-modal-hint{color:#64748b;font-size:.86rem;line-height:1.45;margin:.5rem 0 .75rem}.rr-modal-textarea{border:1px solid #cfd6dc;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:.9rem;margin-bottom:.75rem;padding:.55rem .65rem;resize:vertical;width:100%}.rr-modal-actions{border-top:1px solid #eef2f5;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end;margin-top:.75rem;padding-top:.75rem}.rr-btn-secondary{background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#334155;cursor:pointer;font-size:.85rem;padding:.4rem .75rem}.rr-btn-secondary:hover{background:#f8fafc}.rr-btn-danger{background:#fff5f5;border:1px solid #e5a4a4;border-radius:6px;color:#991b1b;cursor:pointer;font-size:.85rem;padding:.4rem .75rem}.rr-btn-danger:hover{background:#fee2e2}.rr-angle-detail-muted{color:#94a3b8;font-size:.78rem;margin:0 0 .35rem}.rr-angle-detail-heading{color:#0f172a;font-size:1rem;font-weight:600;margin:0 0 .5rem}.rr-angle-detail-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem}.rr-angle-detail-section{margin-bottom:.85rem}.rr-angle-detail-section-warn{background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;padding:.5rem .65rem}.rr-angle-detail-body{color:#334155;font-size:.88rem;line-height:1.5;margin:.25rem 0 0;white-space:pre-wrap}.rr-workspace--list{max-width:1400px}.rr-focused-panel{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;margin-bottom:1.25rem;padding:1rem 1.1rem}.rr-focused-panel-inner{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.rr-focused-title{color:#1e293b;color:var(--text-strong,#1e293b);font-size:1.1rem;margin:0 0 .35rem}.rr-focused-lead{color:#5a6570;color:var(--text-muted,#5a6570);font-size:.88rem;line-height:1.45;margin:0;max-width:36rem}.rr-header-right{align-items:center;display:flex;flex-wrap:wrap;gap:.85rem}.rr-link-archive{color:#5b21b6;font-size:.88rem;font-weight:500;text-decoration:none;white-space:nowrap}.rr-link-archive:hover{text-decoration:underline}.rr-table-wrap{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;overflow-x:auto}.rr-table{border-collapse:collapse;font-size:.88rem;width:100%}.rr-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.rr-table th{color:#475569;font-size:.78rem;font-weight:600;letter-spacing:.03em;padding:.65rem .85rem;text-align:left;text-transform:uppercase}.rr-table td{border-bottom:1px solid #f1f5f9;color:#334155;padding:.65rem .85rem;vertical-align:top}.rr-table tbody tr:last-child td{border-bottom:none}.rr-table-row-click{cursor:pointer}.rr-table-row-click:hover{background:#f8fafc}.rr-table-source{color:#0f172a;display:inline;font-weight:500}.rr-pill-inline{margin-left:.35rem;vertical-align:middle}.rr-table-snippet{line-height:1.35;max-width:22rem}.rr-col-narrow{width:4.5rem}.rr-col-actions{text-align:right;width:11rem}.rr-table-actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.rr-btn-table{background:#fff;border:1px solid #cfd6dc;border-radius:6px;color:#334155;cursor:pointer;font-size:.78rem;padding:.28rem .55rem}.rr-btn-table:hover{background:#f8fafc}.rr-btn-table.rr-btn-delete{background:#fff5f5;border-color:#f5c2c2;color:#991b1b}.rr-detail-page{margin:0 auto;max-width:1400px;padding:1rem 1.5rem 2rem;width:100%}.rr-detail-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;margin-bottom:1rem}.rr-detail-toolbar-actions{display:flex;flex-wrap:wrap;gap:.5rem}.rr-back-link{color:#5b21b6;font-size:.9rem;font-weight:500;text-decoration:none}.rr-back-link:hover{text-decoration:underline}.rr-detail-head{margin-bottom:1.25rem}.rr-detail-title{color:#1e293b;color:var(--text-strong,#1e293b);font-size:1.65rem;margin:0 0 .5rem}.rr-detail-meta{gap:.5rem}.rr-detail-body-inner{padding-top:.35rem}.rr-diagnostics--detail{margin-bottom:1.25rem}.content-queue{width:100%}.queue-list{display:flex;flex-direction:column;gap:1.5rem}.queue-item{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;transition:box-shadow .2s,border-color .15s,background-color .15s}.queue-item:hover{box-shadow:0 4px 8px #00000026}.queue-item-header{margin-bottom:1rem}.queue-item-title-section .queue-item-title{color:#0f172a;font-size:1.05rem;font-weight:600;margin:0 0 .75rem}.queue-item-meta{display:flex;flex-wrap:wrap;gap:.5rem}.meta-badge{border-radius:12px;font-size:.875rem;font-weight:500;padding:.25rem .75rem}.profile-badge{background-color:#e3f2fd;color:#1976d2}.keyword-badge{background-color:#f3e5f5;color:#7b1fa2}.priority-badge{background-color:#fff3e0;color:#e65100}.priority-10,.priority-8,.priority-9{background-color:#ffebee;color:#c62828}.priority-5,.priority-6,.priority-7{background-color:#fff3e0;color:#e65100}.status-badge{background-color:#e8f5e9;color:#2e7d32}.status-badge.status-in_progress{background-color:#e3f2fd;color:#1976d2}.status-badge.status-completed{background-color:#f3e5f5;color:#7b1fa2}.one-off-queue-badge{background-color:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.queue-item-actions{border-top:1px solid #eef2f5;margin:1rem 0;padding-top:1rem}.voice-profile-indicator{background-color:#f0f4ff;border-left:3px solid #9b59b6;border-radius:4px;color:#555;font-size:.9rem;margin-bottom:.75rem;padding:.5rem}.voice-profile-indicator strong{color:#7b2cbf;margin-right:.5rem}.generate-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.select-voice-btn{background-color:#9b59b6;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:background-color .2s}.select-voice-btn:hover{background-color:#8e44ad}.voice-profile-selector{align-items:center;display:flex;gap:.5rem}.voice-profile-select{border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.5rem}.btn-cancel-small{background-color:#95a5a6;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;padding:.5rem .75rem}.btn-cancel-small:hover{background-color:#7f8c8d}.draft-status{color:#15803d;font-size:.89rem;font-weight:500;line-height:1.45}.queue-item-footer{align-items:center;border-top:1px solid #eef2f5;color:#64748b;display:flex;font-size:.875rem;justify-content:space-between;margin-top:1rem;padding-top:1rem}.queue-date{color:#94a3b8}.queue-item-footer-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.content-queue.pf-explore.draft-candidates-page .queue-list.pf-list-card{gap:.85rem;padding:1rem 1.1rem}.content-queue.pf-explore.draft-candidates-page .queue-item{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:8px;box-shadow:none;padding:.95rem 1rem}.content-queue.pf-explore.draft-candidates-page .queue-item:hover{background:#f8fafc;border-color:#cfd6dc;box-shadow:none}.content-queue.pf-explore .create-brief-btn{font-size:.88rem;padding:.42rem .85rem}.pf-queue-modal-intro{color:#64748b;font-size:.9rem;line-height:1.45;margin:0 0 1rem}.pf-queue-field-label{color:#334155;display:block;font-size:.87rem;font-weight:600;margin-bottom:.25rem;margin-top:1rem}.pf-queue-field-label:first-of-type{margin-top:0}.pf-queue-field-hint{color:#64748b;font-size:.82rem;line-height:1.4;margin:0 0 .5rem}.pf-queue-textarea{border:1px solid #cfd6dc;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:.9rem;margin-bottom:.35rem;min-height:5rem;padding:.55rem .65rem;resize:vertical;width:100%}.pf-queue-textarea:focus{border-color:#94a3b8;box-shadow:0 0 0 2px #94a3b840;outline:none}.in-progress{width:100%}.page-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.page-header h2{color:#2c3e50;font-size:2rem;margin:0}.filters{display:flex;gap:1rem}.profile-filter,.status-filter{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.5rem 1rem}.drafts-layout{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:300px 1fr;min-height:600px}.drafts-list{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;max-height:calc(100vh - 200px);overflow-y:auto;padding:1.5rem}.drafts-list h3{border-bottom:2px solid #eee;color:#2c3e50;font-size:1.1rem;margin:0 0 1rem;padding-bottom:1rem}.drafts-items{display:flex;flex-direction:column;gap:.75rem}.draft-item{align-items:flex-start;background-color:#f8f9fa;border:2px solid #0000;border-radius:6px;display:flex;gap:.5rem;justify-content:space-between;padding:1rem;transition:all .2s}.draft-item-content{cursor:pointer;flex:1 1}.draft-item:hover{background-color:#e9ecef;border-color:#3498db}.draft-item.active{background-color:#e3f2fd;border-color:#1976d2}.draft-item-content h4{color:#2c3e50;font-size:1rem;font-weight:600;margin:0 0 .5rem}.draft-item-delete-btn{background:none;border:none;border-radius:4px;cursor:pointer;flex-shrink:0;font-size:1.2rem;opacity:.6;padding:.25rem .5rem;transition:background-color .2s}.draft-item-delete-btn:hover{background-color:#e74c3c1a;opacity:1}.draft-item-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.draft-item-meta .meta-badge{border-radius:8px;font-size:.75rem;font-weight:500;padding:.2rem .5rem}.content-type-badge{border-radius:6px;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.3rem .6rem;text-transform:uppercase}.content-type-badge.snippet{background-color:#fff3cd;border:1px solid #ffc107;color:#856404}.content-type-badge.article{background-color:#d1ecf1;border:1px solid #17a2b8;color:#0c5460}.draft-title-section{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.draft-title-section h3{margin:0}.draft-item-meta .meta-badge.status-draft{background-color:#fff3e0;color:#e65100}.draft-item-meta .meta-badge.status-review{background-color:#e3f2fd;color:#1976d2}.draft-item-meta .meta-badge.status-approved{background-color:#e8f5e9;color:#2e7d32}.draft-item-meta .meta-badge.status-published{background-color:#f3e5f5;color:#7b1fa2}.draft-item-meta .meta-badge.status-drafting{background-color:#fff3e0;color:#e65100}.draft-item-meta .meta-badge.status-reviewing{background-color:#e3f2fd;color:#1976d2}.draft-item-meta .meta-badge.status-needs_revisions{background-color:#ffebee;color:#c62828}.draft-item-footer{color:#666;display:flex;font-size:.75rem;justify-content:space-between;margin-top:.5rem}.draft-details{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;max-height:calc(100vh - 200px);overflow-y:auto;padding:2rem}.draft-view{width:100%}.draft-header{align-items:flex-start;border-bottom:2px solid #eee;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.draft-header h3{color:#2c3e50;flex:1 1;font-size:1.5rem;margin:0}.draft-actions{align-items:center;display:flex;gap:.5rem}.cancel-btn,.edit-btn,.save-btn{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.edit-btn{background-color:#3498db;color:#fff}.edit-btn:hover{background-color:#2980b9}.save-btn{background-color:#27ae60;color:#fff}.save-btn:hover:not(:disabled){background-color:#229954}.save-btn:disabled{background-color:#95a5a6;cursor:not-allowed}.cancel-btn{background-color:#95a5a6;color:#fff}.cancel-btn:hover{background-color:#7f8c8d}.delete-btn{background-color:#e74c3c;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.delete-btn:hover{background-color:#c0392b}.status-select{border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.draft-meta-info{background-color:#f8f9fa;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.meta-row{color:#555;display:flex;font-size:.9rem;gap:2rem;margin-bottom:.5rem}.meta-row:last-child{margin-bottom:0}.meta-row strong{color:#2c3e50;margin-right:.5rem}.content-section,.outline-section,.seo-section{border-bottom:1px solid #eee;margin-bottom:2rem;padding-bottom:1.5rem}.content-section:last-child,.outline-section:last-child,.seo-section:last-child{border-bottom:none}.content-section h4,.outline-section h4,.seo-section h4{color:#2c3e50;font-size:1.2rem;margin:0 0 1rem}.content-section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.content-section-header h4{margin:0}.preview-toggle{align-items:center;cursor:pointer;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none}.preview-toggle input[type=checkbox]{cursor:pointer;height:18px;width:18px}.preview-toggle .toggle-label{color:#666;font-size:.9rem;font-weight:500}.seo-meta{background-color:#f8f9fa;border-radius:6px;padding:1rem}.seo-item{margin-bottom:1rem}.seo-item:last-child{margin-bottom:0}.seo-item strong{color:#2c3e50;display:block;font-size:.9rem;margin-bottom:.25rem}.seo-item p{color:#555;font-size:.95rem;margin:0}.outline-content{background-color:#f8f9fa;border-radius:6px;padding:1rem}.outline-sections{list-style:none;margin:0;padding:0}.outline-section-item{border-left:3px solid #3498db;margin-bottom:1rem;padding-left:1rem}.outline-section-item:last-child{margin-bottom:0}.outline-section-item strong{color:#2c3e50;display:block;font-size:1rem;margin-bottom:.5rem}.outline-section-item ul{color:#555;list-style:disc;margin:.5rem 0 .5rem 1.5rem}.outline-section-item ul li{margin-bottom:.25rem}.key-points{color:#666;font-size:.9rem;margin-top:.5rem}.content-editor{border:1px solid #ddd;border-radius:6px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6;min-height:400px;padding:1rem;resize:vertical;width:100%}.content-viewer{background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;padding:1.5rem}.content-text{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;white-space:pre-wrap}.content-rendered,.content-text{word-wrap:break-word;color:#2c3e50;line-height:1.8;margin:0}.content-rendered{font-size:1rem}.content-rendered h1{color:#2c3e50;font-size:2rem;font-weight:600;margin:1.5rem 0 1rem}.content-rendered h2{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:1.25rem 0 .75rem}.content-rendered h3{color:#2c3e50;font-size:1.25rem;font-weight:600;margin:1rem 0 .5rem}.content-rendered p{line-height:1.8;margin:0 0 1rem}.content-rendered ol,.content-rendered ul{margin:.5rem 0 1rem 1.5rem;padding-left:1.5rem}.content-rendered li{line-height:1.6;margin:.25rem 0}.content-rendered strong{color:#2c3e50;font-weight:600}.content-rendered em{font-style:italic}.content-rendered a{color:#3498db;text-decoration:none}.content-rendered a:hover{text-decoration:underline}.content-rendered br{line-height:1.8}.no-selection{align-items:center;color:#999;display:flex;font-size:1.1rem;height:100%;justify-content:center}.empty-state{color:#666;padding:2rem;text-align:center}.empty-state p{margin:.5rem 0}.empty-hint{color:#999;font-size:.9rem;font-style:italic}.error,.loading{font-size:1.1rem;padding:2rem;text-align:center}.error{color:#c62828;margin-bottom:1rem}@media (max-width:1024px){.drafts-layout{grid-template-columns:1fr}.drafts-list{max-height:300px}}.research-briefs-root{min-height:auto;width:100%}.research-briefs-fullwidth{max-width:none;width:100%}.publishing-queue-page>.drafts-list,.research-briefs-root .drafts-list{max-height:none}.research-brief-main-link{color:inherit;text-decoration:none}.research-brief-main-link:hover h4{text-decoration:underline}.research-brief-main-link h4{color:#0f172a;margin:0 0 .35rem}.research-brief-row .draft-item-content{cursor:default}.research-brief-row-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem}.compact-select{font-size:.9rem;max-width:11rem;padding:.35rem .5rem}.btn-secondary-sm{border-radius:4px;cursor:pointer;font-size:.85rem;padding:.35rem .75rem}.btn-secondary-sm:hover{background:#f4f6f8}.pf-explore .drafts-list.pf-list-card{padding:1rem 1.1rem}.pf-explore .drafts-list.pf-list-card h3{border-bottom-color:#eef2f5;color:#0f172a;font-size:1.05rem;font-weight:600}.pf-explore .draft-item{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:8px;padding:.95rem 1rem}.pf-explore .draft-item:hover{background:#f8fafc;border-color:#cfd6dc}.pf-explore .compact-select{max-width:11rem}.research-workspace{margin:0 auto;max-width:1400px;padding:1rem 1.5rem 2rem}.rb-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.25rem}.rb-header h2{margin:0 0 .35rem}.rb-sub{color:#5a6570;color:var(--text-muted,#5a6570);font-size:.95rem;margin:0;max-width:42rem}.rb-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.rb-header-actions .btn-refresh,.rb-header-actions .btn-secondary{background:#fff;border:1px solid #ccc;border-radius:6px;color:inherit;cursor:pointer;font-size:.9rem;padding:.45rem .9rem;text-decoration:none}.rb-header-actions .btn-refresh{background:#f0f7ff;border-color:#8ab4e0}.rb-banner{border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.rb-banner.legacy{background:#fff8e6;border:1px solid #e8c96a}.rb-mode-bar{background:#f4f6f8;border:1px solid #cfd6dc;border-radius:8px;display:inline-flex;flex-wrap:wrap;margin-bottom:1rem;overflow:hidden}.rb-mode-bar-btn{background:#0000;border:none;border-right:1px solid #cfd6dc;color:#475569;cursor:pointer;font-family:inherit;font-size:.875rem;padding:.4rem .95rem}.rb-mode-bar-btn:last-child{border-right:none}.rb-mode-bar-btn:hover{background:#e8ecf0;color:#0f172a}.rb-mode-bar-btn.active{background:#2c3e50;color:#fff}.rb-grid{grid-gap:1.25rem;align-items:start;display:grid;gap:1.25rem;grid-template-columns:minmax(300px,440px) 1fr}.rb-grid.rb-grid--write{align-items:stretch;margin-top:1.25rem;min-height:min(76vh,840px)}@media (max-width:960px){.rb-grid{grid-template-columns:1fr}.rb-grid.rb-grid--write{min-height:0;min-height:auto}}.rb-solo-pane{margin-top:1.25rem;width:100%}.rb-solo-outline .rb-outline-stretch,.rb-solo-writing .rb-article-stretch,.rb-writing-split{min-height:min(76vh,840px)}.rb-writing-split{grid-gap:1.25rem;align-items:stretch;display:grid;gap:1.25rem;grid-template-columns:minmax(0,7fr) minmax(0,3fr)}.rb-writing-split-main{display:flex;flex-direction:column;min-height:0;min-width:0}.rb-writing-split-aside{align-self:start;min-width:0;position:-webkit-sticky;position:sticky;top:.75rem}.rb-highlights-checklist-card,.rb-writing-split-aside{display:flex;flex-direction:column;max-height:min(76vh,840px)}.rb-highlights-checklist-card{min-height:0;padding:.85rem 1rem}.rb-highlights-checklist-title{font-size:1rem;margin:0 0 .35rem}.rb-highlights-checklist-hint{line-height:1.35;margin:0 0 .65rem}.rb-highlights-checklist-body{flex:1 1;min-height:0;overflow-y:auto;padding-right:.25rem}.rb-highlights-checklist-list{list-style:none;margin:0;padding:0}.rb-highlight-check-card{background:#fafbfc;border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:8px;margin-bottom:.5rem;padding:.45rem .55rem;transition:opacity .35s ease,transform .28s ease,background .25s ease}.rb-highlight-check-card--done{opacity:.42}.rb-highlight-check-label{align-items:flex-start;cursor:pointer;display:flex;font-size:.84rem;gap:.5rem;line-height:1.35;margin:0}.rb-highlight-check-input{flex-shrink:0;margin-top:.2rem}.rb-highlight-check-main{display:flex;flex:1 1;flex-direction:column;gap:.2rem;min-width:0}.rb-highlight-check-text{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.rb-highlight-check-src{font-feature-settings:"tnum";color:#5a6570;color:var(--text-muted,#5a6570);font-size:.72rem;font-variant-numeric:tabular-nums}@media (max-width:960px){.rb-solo-outline .rb-outline-stretch,.rb-solo-writing .rb-article-stretch{min-height:18rem}.rb-writing-split{grid-template-columns:1fr;min-height:0;min-height:auto}.rb-writing-split-aside{max-height:none;position:static}.rb-highlights-checklist-card{max-height:min(42vh,360px)}}.rb-research-sources-queries-split{grid-gap:1.25rem;align-items:stretch;display:grid;gap:1.25rem;grid-template-columns:minmax(0,7fr) minmax(0,3fr);min-height:0;width:100%}@media (min-width:961px){.rb-research-sources-queries-split{height:min(40vh,420px);max-height:min(40vh,420px);min-height:11rem}}.rb-research-sources-queries-main{display:flex;flex-direction:column;min-height:0;min-width:0}@media (min-width:961px){.rb-research-sources-queries-main{height:100%;max-height:100%}.rb-research-sources-queries-main .sources-list-wide{grid-template-columns:minmax(0,1fr)}}.rb-research-sources-queries-main>.rb-card.rb-pane{flex:1 1;min-height:0;overflow:hidden}.rb-research-sources-queries-main .rb-add-source-form,.rb-research-sources-queries-main .rb-sources-header{flex-shrink:0}.rb-research-sources-queries-main .rb-pane-body-wide{flex:1 1;max-height:none;min-height:0;overflow-y:auto}.rb-research-queries-aside{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;padding:.85rem 1rem}@media (min-width:961px){.rb-research-queries-aside{height:100%;max-height:100%}}.rb-research-queries-title{flex-shrink:0;font-size:1rem;margin:0 0 .35rem}.rb-research-queries-hint{flex-shrink:0;line-height:1.35;margin:0 0 .75rem}.rb-research-queries-list{flex:1 1;list-style:none;margin:0;min-height:0;overflow-y:auto;padding:0}.rb-research-queries-list li{margin-bottom:.55rem}.rb-research-query-link{color:#1a5fb4;font-size:.9rem;font-weight:600;text-decoration:underline;word-break:break-word}@media (max-width:960px){.rb-research-sources-queries-split{grid-template-columns:1fr}.rb-research-sources-queries-main{height:auto}.rb-research-sources-queries-main>.rb-card.rb-pane{flex:none}.rb-research-sources-queries-main .rb-pane-body-wide{flex:none;max-height:min(420px,50vh)}.rb-research-queries-aside{height:auto;max-height:none}.rb-research-queries-list{flex:none;min-height:0;overflow-y:visible}}.rb-aside{display:flex;flex-direction:column;gap:1rem}.rb-aside.rb-aside--outline{gap:0;min-height:0}.rb-main{min-width:0}.rb-main.rb-main--article{display:flex;flex-direction:column;min-height:0}.rb-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;padding:1rem 1.1rem}.rb-card h3{font-size:1.05rem;margin:0 0 .65rem}.rb-card-heading-row{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.35rem}.rb-card-heading-row h3{margin:0}.rb-toggle-group{border:1px solid #cfd6dc;border-radius:6px;display:inline-flex;overflow:hidden}.rb-toggle-group button{background:#f4f6f8;border:none;color:#444;cursor:pointer;font-size:.8rem;padding:.25rem .65rem}.rb-toggle-group button+button{border-left:1px solid #cfd6dc}.rb-toggle-group button.active{background:#2c3e50;color:#fff}.rb-outline-hint{margin-top:0}.rb-outline-stale-banner{align-items:center;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between;margin:0 0 .75rem;padding:.65rem .75rem}.rb-outline-stale-text{color:#78350f;flex:1 1;font-size:.84rem;line-height:1.4;margin:0;min-width:12rem}.rb-outline-regen-btn{flex-shrink:0}.rb-outline-insert-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.65rem}.rb-btn-insert{background:#fff;border:1px solid #cfd6dc;border-radius:6px;color:#334155;cursor:pointer;font-size:.82rem;padding:.35rem .65rem}.rb-btn-insert:hover{background:#f4f6f8;border-color:#9aa5ad}.rb-btn-insert-primary{background:#f0f7ff;border-color:#8ab4e0;color:#1e3a5f}.rb-btn-insert-primary:hover{background:#e3effc}.hint{color:#666;font-size:.85rem;margin:0 0 .5rem}.muted{color:#777;font-size:.9rem}.muted.sm{font-size:.82rem;margin:0}.rb-textarea{border:1px solid #ccc;border-radius:6px;box-sizing:border-box;font-family:inherit;padding:.5rem .65rem;resize:vertical;width:100%}.rb-textarea.mono{font-family:ui-monospace,monospace;font-size:.8rem}.rb-textarea.article{font-size:.95rem;line-height:1.45;min-height:0}.rb-exec-summary-fullwidth{margin-bottom:0;position:relative}.rb-exec-summary-header-row{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.rb-exec-summary-header-row h3{margin:0}.rb-exec-summary-corner-btn{align-items:center;background:#fff;border:1px solid #e2e6ea;border-radius:6px;color:#64748b;cursor:pointer;display:inline-flex;flex-shrink:0;font-size:1rem;height:1.65rem;justify-content:center;line-height:1;padding:0;width:1.65rem}.rb-exec-summary-corner-btn:hover{background:#f4f6f8;border-color:#9aa5ad;color:#334155}.rb-exec-summary-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.35rem}.rb-exec-collapse-btn{font-size:.82rem!important;padding:.28rem .55rem!important}.rb-exec-collapsed .rb-exec-summary-body{display:none}.rb-exec-summary-body{margin-top:.5rem}.rb-exec-summary-display{color:#334155;font-size:.92rem;line-height:1.55;margin:0;max-height:min(36vh,320px);overflow-y:auto;padding-right:.25rem;white-space:pre-wrap;word-break:break-word}.rb-exec-summary-empty{font-size:.9rem;margin:0}.rb-article-stretch,.rb-outline-stretch{display:flex;flex:1 1;flex-direction:column;min-height:0}.rb-outline-stretch .hint,.rb-outline-stretch .rb-card-heading-row,.rb-outline-stretch .rb-outline-insert-row,.rb-outline-stretch .rb-outline-stale-banner{flex-shrink:0}.rb-outline-editor-column{display:flex;flex:1 1;flex-direction:column;margin-top:.35rem;min-height:min(280px,36vh)}.rb-outline-stretch .rb-outline-markdown{flex:1 1;min-height:0;resize:vertical;width:100%}.rb-outline-stretch .rb-outline-preview-pane{flex:1 1;max-height:none;min-height:0}.rb-article-stretch .rb-card-heading-row{flex-shrink:0}.rb-article-stretch .rb-card-heading-row h3{margin:0}.rb-article-body-column{display:flex;flex:1 1;flex-direction:column;margin-top:.35rem;min-height:min(280px,36vh)}.rb-article-stretch .rb-textarea.article{box-sizing:border-box;flex:1 1;min-height:12rem;width:100%}.rb-article-preview-pane{background:#fafbfc;border:1px solid #cfd6dc;border-radius:6px;color:#1e293b;flex:1 1;font-size:.95rem;line-height:1.55;min-height:0;overflow-y:auto;padding:.85rem 1rem}.rb-article-preview-pane h1,.rb-article-preview-pane h2,.rb-article-preview-pane h3{color:#0f172a;line-height:1.25;margin:1rem 0 .5rem}.rb-article-preview-pane h1{font-size:1.35rem}.rb-article-preview-pane h2{font-size:1.18rem}.rb-article-preview-pane h3{font-size:1.05rem}.rb-article-preview-pane h1:first-child,.rb-article-preview-pane h2:first-child,.rb-article-preview-pane h3:first-child{margin-top:0}.rb-article-preview-pane p{margin:.5rem 0}.rb-article-preview-pane p:first-child{margin-top:0}.rb-article-preview-pane p:last-child{margin-bottom:0}.rb-article-preview-pane ol,.rb-article-preview-pane ul{margin:.4rem 0 .65rem;padding-left:1.35rem}.rb-article-preview-pane li{margin-bottom:.25rem}.rb-article-preview-pane a{color:#1a5fb4;text-decoration:underline}.rb-article-preview-pane .rb-article-preview-empty{margin:0}@media (max-width:960px){.rb-article-body-column,.rb-outline-editor-column{min-height:280px}.rb-article-stretch .rb-textarea.article{min-height:min(55vh,520px)}.rb-exec-summary-display{max-height:min(42vh,280px)}}.rb-code-hint{background:#f1f5f9;border-radius:4px;font-family:ui-monospace,monospace;font-size:.8em;padding:.05rem .35rem}.rb-outline-markdown{font-size:.88rem;line-height:1.45}.rb-outline-preview-pane{background:#fafbfc;border:1px solid #cfd6dc;border-radius:6px;font-size:.9rem;line-height:1.45;overflow-y:auto;padding:.65rem .85rem}.rb-outline-preview-inner>:first-child{margin-top:0}.rb-outline-preview-h3{color:#1e293b;font-size:1.05rem;font-weight:700;margin:1rem 0 .4rem}.rb-outline-preview-h3:first-child{margin-top:0}.rb-outline-preview-h4{color:#334155;font-size:.95rem;font-weight:600;margin:.85rem 0 .35rem}.rb-outline-preview-p{color:#475569;margin:.35rem 0}.rb-outline-preview-ul{color:#475569;margin:.25rem 0 .5rem;padding-left:1.25rem}.rb-outline-preview-ul li{margin-bottom:.2rem}.btn-primary-sm,.btn-secondary-sm{border-radius:5px;cursor:pointer;font-size:.85rem;padding:.35rem .75rem}.btn-primary-sm{background:#2c3e50;border:1px solid #2c3e50;color:#fff}.btn-secondary-sm{background:#fff;border:1px solid #ccc;color:#333}.rb-research-strip{display:flex;flex-direction:column;gap:1rem;margin-top:1.25rem;width:100%}.rb-strip-footer{margin:.25rem 0 0}.rb-pane{display:flex;flex-direction:column;min-height:0;padding:.75rem 1rem}.rb-pane-wide{width:100%}.rb-pane h3{flex-shrink:0;font-size:1rem;margin:0 0 .5rem}.rb-pane-body{flex:1 1;font-size:.88rem;max-height:280px;min-height:0;overflow-y:auto;padding-right:.25rem}.rb-pane-body-wide{font-size:.9rem;max-height:min(420px,50vh)}@media (min-width:960px){.sources-list-wide{grid-gap:.65rem 1.25rem;align-items:start;display:grid;gap:.65rem 1.25rem;grid-template-columns:repeat(2,minmax(0,1fr))}.sources-list-wide li{border-bottom:1px solid #eee;margin-bottom:0;padding-bottom:.65rem}}.sources-list{list-style:none;margin:0;padding:0}.sources-list li{border-bottom:1px solid #eee;margin-bottom:.5rem;padding-bottom:.4rem}.sources-list.sm li{margin-bottom:.5rem;padding-bottom:.35rem}.sources-list a{color:#1a5fb4;display:inline-block;font-size:.86rem;font-weight:600;line-height:1.3}.src-meta{color:#666;display:block;font-size:.72rem;margin-top:.15rem}.sources-list .snippet{color:#555;font-size:.84rem;line-height:1.45;margin:.35rem 0 0}.sources-list-wide .snippet{display:block;max-height:none}.snippet-clamp{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;line-height:1.35;margin:.2rem 0 0;overflow:hidden}.claims-list{list-style:none;margin:0;padding:0}.claims-list li{border-bottom:1px solid #eee;margin-bottom:.55rem;padding-bottom:.4rem}.rb-claim-row{padding-right:1.85rem;position:relative}.rb-claim-corner-btn{align-items:center;background:#fff;border:1px solid #e2e6ea;border-radius:6px;color:#64748b;cursor:pointer;display:flex;font-size:1rem;height:1.65rem;justify-content:center;line-height:1;margin:0;padding:0;position:absolute;right:0;top:0;width:1.65rem}.rb-claim-corner-btn:hover{background:#f4f6f8;border-color:#9aa5ad;color:#334155}.rb-claim-head{align-items:flex-start;display:flex;gap:.35rem}.rb-claim-warn-icon,.rb-claim-warn-spacer{flex-shrink:0;height:1.65rem;width:1.65rem}.rb-claim-warn-icon{align-items:center;background:#0000;border:none;border-radius:6px;color:#dc2626;cursor:pointer;display:flex;justify-content:center;margin:0;padding:0}.rb-claim-warn-icon:hover{background:#fef2f2}.claim-text.claim-approved{color:#15803d}.claim-text{font-size:.9rem;line-height:1.45}.claims-list-wide .claim-text{font-size:.92rem}.claim-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.2rem}.badge{background:#eef;border-radius:4px;font-size:.68rem;padding:.1rem .3rem}.badge-approved{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.src-id{color:#1a5fb4;font-size:.72rem}.warn-tag{color:#b45309;font-size:.7rem}.note{color:#555;font-size:.78rem;margin:.2rem 0 0}.warnings-list{margin:0;padding-left:1rem}.warnings-list-wide li,.warnings-list.sm li{font-size:.88rem;line-height:1.45;margin-bottom:.45rem}.gen-meta{font-size:.78rem;margin:0}.article-card{min-height:0}.rb-modal-panel--claim-warn{max-height:min(85vh,440px);max-width:24rem}.rb-warn-modal-claim{line-height:1.35;margin:0 0 .65rem}.rb-warn-modal-body{color:#1e293b;font-size:.9rem;line-height:1.5;margin:0 0 .75rem}.rb-warn-modal-actions{border-top:1px solid #eef2f5;display:flex;justify-content:flex-end;margin-top:0;padding-top:.75rem}.rb-modal-panel--exec-summary{max-width:36rem}.rb-exec-summary-modal-field{box-sizing:border-box;font-size:.92rem;line-height:1.45;margin-top:.35rem;min-height:200px;width:100%}.rb-modal-actions--row{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.rb-sources-header{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.rb-sources-header h3{margin:0}.rb-btn-add-source-toggle{background:#fff;border:1px solid #cfd6dc;border-radius:6px;color:#334155;cursor:pointer;font-size:.82rem;padding:.3rem .65rem}.rb-btn-add-source-toggle:hover{background:#f4f6f8}.rb-add-source-form{background:#fafbfc;border:1px dashed #cfd6dc;border-radius:8px;margin-bottom:.75rem;padding:.75rem 1rem}.rb-add-source-form .hint.sm{font-size:.82rem;margin-bottom:.65rem;margin-top:0}.rb-mini-label{color:#64748b;display:block;font-size:.72rem;font-weight:600;letter-spacing:.04em;margin-bottom:.2rem;margin-top:.5rem;text-transform:uppercase}.rb-input,.rb-select{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:.88rem;padding:.4rem .5rem;width:100%}.rb-add-source-row{grid-gap:.65rem;display:grid;gap:.65rem;grid-template-columns:1fr 1fr;margin:.35rem 0 .65rem}@media (max-width:600px){.rb-add-source-row{grid-template-columns:1fr}}.rb-source-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.35rem}.src-pill{background:#f4f6f8;border:1px solid #e2e6ea;border-radius:999px;color:#475569;font-size:.68rem;padding:.12rem .4rem}.src-pill.origin-user_seed{background:#f5f3ff;border-color:#c4b5fd;color:#5b21b6}.src-pill.origin-user_added{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.src-pill.origin-serp{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.src-pill.influence{text-transform:capitalize}.src-pill.verified{background:#f0fdf4;border-color:#86efac;color:#166534}.src-pill.review{background:#fffbeb;border-color:#fcd34d;color:#b45309}.rb-source-row{display:flex;flex-direction:column;gap:.15rem;padding-right:1.85rem;position:relative}.rb-source-corner-btn{align-items:center;background:#fff;border:1px solid #e2e6ea;border-radius:6px;color:#64748b;cursor:pointer;display:flex;font-size:1rem;height:1.65rem;justify-content:center;line-height:1;margin:0;padding:0;position:absolute;right:0;top:0;width:1.65rem}.rb-source-corner-btn:hover{background:#f4f6f8;border-color:#9aa5ad;color:#334155}.src-pill.sm{font-size:.62rem;padding:.08rem .32rem}.rb-btn-reject-source{background:#fff5f5;border:1px solid #e5a4a4;border-radius:6px;color:#991b1b;cursor:pointer;font-size:.8rem;padding:.32rem .65rem;white-space:nowrap}.rb-btn-reject-source:hover:not(:disabled){background:#fee2e2;border-color:#dc2626}.rb-btn-reject-source:disabled{cursor:not-allowed;opacity:.55}.rb-btn-reject-modal{margin-top:.5rem;padding:.45rem .75rem;width:100%}.rb-modal-backdrop{align-items:center;background:#0f172a73;box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:1000}.rb-modal-panel{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;box-shadow:0 12px 40px #0000002e;max-height:min(90vh,520px);max-width:26rem;overflow-y:auto;padding:1rem 1.1rem 1.15rem;width:100%}.rb-modal-head{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.rb-modal-head h4{font-size:1rem;font-weight:600;margin:0}.rb-modal-close{background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;flex-shrink:0;font-size:1.35rem;height:1.75rem;line-height:1;padding:0;width:1.75rem}.rb-modal-close:hover{background:#f1f5f9;color:#0f172a}.rb-modal-link{color:#1a5fb4;display:block;font-size:.9rem;font-weight:600;margin-bottom:.35rem;word-break:break-word}.rb-modal-snippet{color:#555;font-size:.82rem;line-height:1.4;margin:0 0 .75rem;max-height:6.5rem;overflow-y:auto}.rb-modal-fields{grid-gap:.65rem .85rem;display:grid;gap:.65rem .85rem;grid-template-columns:1fr 1fr}@media (max-width:480px){.rb-modal-fields{grid-template-columns:1fr}}.rb-modal-fields .rb-mini-label{margin-top:0}.rb-modal-actions{border-top:1px solid #eef2f5;margin-top:.75rem;padding-top:.75rem}.rb-claim-modal-textarea{font-size:.9rem;margin-bottom:.5rem}.rb-claim-save-text{margin-bottom:.75rem}.rb-claim-source-row{margin-top:.25rem}.rb-claim-source-full{grid-column:1/-1}.rb-claim-modal-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.rb-claim-modal-actions .btn-secondary-sm{flex:1 1;min-width:8rem}.profiles{width:100%}.pf-rejected-header{align-items:center;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.pf-btn-toggle{background:#fff;border:1px solid #cfd6dc;border-radius:6px;color:#475569;cursor:pointer;font-size:.8rem;padding:.28rem .55rem}.pf-btn-toggle:hover{background:#f8fafc}.pf-rejected-idea-heading{align-items:flex-start;display:flex;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.pf-btn-remove-idea{background:#0000;border:none;border-radius:4px;color:#b91c1c;cursor:pointer;flex-shrink:0;font-size:.75rem;padding:.15rem .45rem;text-decoration:underline;text-underline-offset:2px}.pf-btn-remove-idea:hover{color:#991b1b}.pf-table-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border:1px solid var(--border,#e2e6ea);border-radius:10px;box-shadow:none}.pf-btn-generate{background:#198754;border-color:#198754;color:#fff;font-size:.82rem;padding:.35rem .65rem;white-space:nowrap}.pf-btn-generate:hover:not(:disabled){background:#157347;border-color:#157347}.pf-btn-generate:disabled{background:#94b8a8;border-color:#94b8a8;color:#fff}.profiles-form-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:2rem}.profiles-form-card h3{color:#2c3e50;margin-bottom:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#2c3e50;display:block;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:1rem;padding:.75rem;width:100%}.form-group textarea{min-height:100px;resize:vertical}.form-group small{color:#666;display:block;font-size:.875rem;margin-top:.25rem}.form-actions{display:flex;gap:.5rem;margin-top:1.5rem}.profiles-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr)}@media (max-width:1024px){.profiles-list{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.profiles-list{grid-template-columns:1fr}}.profiles-list-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.profiles-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.profiles-card-header h3{color:#2c3e50;font-size:1.25rem;margin:0}.toggle-switch{cursor:pointer;display:inline-block;height:24px;position:relative;width:44px}.toggle-switch-small{height:20px;width:36px}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:#ccc;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.3s}.toggle-switch-small .toggle-slider{border-radius:20px}.toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.3s;width:18px}.toggle-switch-small .toggle-slider:before{bottom:3px;height:14px;left:3px;width:14px}.toggle-switch input:checked+.toggle-slider{background-color:#27ae60}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-switch-small input:checked+.toggle-slider:before{transform:translateX(16px)}.toggle-switch input:focus+.toggle-slider{box-shadow:0 0 1px #27ae60}.toggle-label{color:#666;font-size:.875rem;font-weight:500}.toggle-label-small{color:#666;font-size:.75rem;font-weight:500}.frequency-badge{background-color:#e8f5e9;border-radius:12px;color:#2e7d32;font-size:.875rem;font-weight:500;padding:.25rem .75rem;text-transform:capitalize}.profiles-card-field{color:#555;margin-bottom:1rem}.profiles-card-field strong{color:#2c3e50;margin-right:.5rem}.url-list{list-style:none;margin:.5rem 0 0;padding:0}.url-list li{margin:.25rem 0}.url-list a{color:#3498db;text-decoration:none;word-break:break-all}.url-list a:hover{text-decoration:underline}.profiles-card-actions{border-top:1px solid #eee;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding-top:1rem}.form-group-inline{margin-bottom:.65rem}.checkbox-label{align-items:flex-start;color:#444;cursor:pointer;display:flex;font-size:.9rem;font-weight:400;gap:.5rem}.checkbox-label input{margin-top:.2rem}.btn-edit{background-color:#f39c12;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background-color .2s}.btn-edit:hover{background-color:#e67e22}.btn-delete{background-color:#e74c3c;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background-color .2s}.btn-delete:hover{background-color:#c0392b}.profiles-card-footer{align-items:center;border-top:1px solid #eee;display:flex;justify-content:space-between;margin-top:.75rem;padding-top:.75rem}.profiles-card-footer-left{align-items:center;display:flex;gap:.5rem}.profiles-card-meta-text{color:#999;font-size:.75rem;margin-left:.5rem}.profiles-card-footer-actions{display:flex;gap:.5rem;justify-content:flex-end}.btn-icon-delete,.btn-icon-edit{align-items:center;background-color:initial;border:1px solid #ddd;border-radius:4px;cursor:pointer;display:flex;font-size:1rem;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.btn-icon-edit{border-color:#f39c12;color:#f39c12}.btn-icon-edit:hover{background-color:#f39c12;color:#fff}.btn-icon-delete{border-color:#e74c3c;color:#e74c3c}.btn-icon-delete:hover{background-color:#e74c3c;color:#fff}.rejected-ideas-list{background-color:#f8fafc;border:1px solid #e2e6ea;border-radius:8px;max-height:400px;overflow-y:auto;padding:1rem}.rejected-idea-item{background:#fff;background:var(--card-bg,#fff);border:1px solid #e2e6ea;border-radius:8px;margin-bottom:.75rem;padding:1rem}.rejected-idea-item:last-child{margin-bottom:0}.btn-toggle{background:#0000;border:1px solid #ddd;border-radius:4px;color:#666;cursor:pointer}.btn-toggle:hover{background-color:#f0f0f0}.btn-icon-delete-small{background:#0000;border:none;cursor:pointer;font-size:.875rem;opacity:.7;padding:.25rem;transition:opacity .2s}.btn-icon-delete-small:hover{opacity:1}.profiles-table-wrap{overflow-x:auto}.profiles-table{border-collapse:collapse;font-size:.95rem;width:100%}.profiles-table thead th{background:#f8fafc;border-bottom:2px solid #e2e6ea;color:#334155;font-weight:600;padding:.65rem .75rem;text-align:left;vertical-align:bottom}.profiles-sort-btn{background:none;border:none;color:#1e293b;cursor:pointer;font:inherit;font-weight:600;margin:0;padding:0;text-align:left}.profiles-sort-btn:hover{color:#0f172a}.profiles-table tbody td{border-bottom:1px solid #eef2f5;padding:.65rem .75rem;vertical-align:middle}.profiles-table tbody tr:hover{background-color:#f8fafc}.profiles-td-title{min-width:10rem}.profiles-title-text{color:#0f172a;display:block;font-weight:600}.profiles-niche-inline{color:#64748b;display:block;font-size:.78rem;margin-top:.2rem}.profiles-td-keywords{color:#555;font-size:.88rem;line-height:1.4;max-width:18rem}.profiles-col-narrow{width:6.5rem}.profiles-col-center,.profiles-td-auto{text-align:center}.profiles-col-date,.profiles-td-date{color:#64748b;font-size:.85rem;white-space:nowrap}.profiles-col-action{text-align:center;width:5.5rem}.profiles-col-actions-head{font-weight:600;text-align:center;width:5.25rem}.profiles-td-actions{text-align:center;vertical-align:middle}.profiles-actions-inline{align-items:center;display:inline-flex;flex-wrap:wrap;gap:.4rem;justify-content:center}.freq-badge-compact{font-size:.72rem;padding:.15rem .45rem}.app{display:flex;flex-direction:column;min-height:100vh}.navbar{background-color:#2c3e50;box-shadow:0 2px 4px #0000001a;color:#fff;padding:1rem 0}.nav-container{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;margin:0 auto;max-width:1200px;padding:0 2rem}.nav-brand{display:flex;flex-direction:column;gap:0;justify-content:center}.nav-brand-heading{line-height:0;margin:0}.nav-brand-link{display:inline-block;line-height:0;text-decoration:none}.nav-logo-img{display:block;filter:brightness(0) invert(1);height:2.6rem;width:auto}.nav-end{flex-shrink:0}.nav-end,.nav-links{align-items:center;display:flex;gap:1rem}.nav-links{flex-wrap:nowrap}.nav-avatar-btn{align-items:center;background:#ffffff1f;border:1px solid #ffffff47;border-radius:50%;color:#fffffff2;display:flex;flex-shrink:0;height:2.35rem;justify-content:center;padding:0;text-decoration:none;transition:background-color .2s,border-color .2s;width:2.35rem}.nav-avatar-btn:hover{background:#ffffff38;border-color:#fff6}.nav-avatar-icon{display:block;opacity:.95}.nav-link{border-radius:4px;color:#fff;font-size:.875rem;padding:.4rem .8rem;text-decoration:none;transition:background-color .2s;white-space:nowrap}.nav-link:hover{background-color:#ffffff1a}.nav-link.active{background-color:#fff3}.nav-dropdown{align-items:center;display:flex;position:relative}.nav-dropdown-toggle{cursor:pointer;display:inline-block}.dropdown-menu{background-color:#2c3e50;border-radius:4px;box-shadow:0 4px 6px #0003;left:0;margin-top:0;min-width:180px;padding:.5rem 0;position:absolute;top:100%;z-index:1000}.dropdown-item{color:#fff;display:block;font-size:.875rem;padding:.6rem 1rem;text-decoration:none;transition:background-color .2s}.dropdown-item:hover{background-color:#ffffff1a}.account-placeholder-card{padding:1.25rem 1.5rem}.account-placeholder-lead{color:#1e293b;color:var(--text-strong,#1e293b);font-weight:500;margin:0 0 .5rem}.main-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:1200px;padding:2rem;width:100%}.loading{color:#666}.error,.loading{padding:2rem;text-align:center}.error{background-color:#ffebee;border-radius:4px;color:#d32f2f}
/*# sourceMappingURL=main.5ec1d89b.css.map*/