*{box-sizing:border-box;padding:0}*,body{margin:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#1e293b;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}.App{background-color:#f8fafc;min-height:100vh}.navbar{background-color:#1e293b;box-shadow:0 2px 4px #0000001a;color:#fff;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.nav-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 2rem}.nav-logo{color:#fff;font-size:1.5rem;font-weight:600;letter-spacing:-.5px;text-decoration:none}.nav-links{display:flex;gap:2rem}.nav-link{border-radius:6px;color:#cbd5e1;font-weight:500;padding:.5rem 1rem;text-decoration:none;transition:all .2s}.nav-link:hover{background-color:#ffffff1a;color:#fff}.nav-link.active{background-color:#3b82f6;color:#fff}.container{margin:0 auto;max-width:1400px;padding:2rem}@media (max-width:768px){.nav-container{padding:0 1rem}.nav-logo{font-size:1.2rem}.nav-links{gap:1rem}.container{padding:1rem}}:root{--primary-50:#eff6ff;--primary-100:#dbeafe;--primary-300:#93c5fd;--primary-500:#3b82f6;--primary-600:#2563eb;--primary-700:#1d4ed8;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-500:#6b7280;--gray-700:#374151;--success:#10b981;--success-hover:#059669;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.grc-documents-page{background:linear-gradient(180deg,#f8fafc,#fff);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0 auto;max-width:1400px;min-height:100vh;padding:1rem;transition:padding-right .3s ease}body.chatbot-open .grc-documents-page{padding-right:420px}@media (max-width:1600px){body.chatbot-open .grc-documents-page{padding-right:0}}.grc-header{margin-bottom:1rem}.grc-header-top{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.grc-header-top>div:first-child{text-align:left}.grc-header-actions{align-items:center;display:flex;gap:1rem}.utility-selector{align-items:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:2px solid #cbd5e1;border-radius:10px;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.utility-selector:hover{border-color:#94a3b8;box-shadow:0 2px 8px #0000001a}.utility-label{color:#475569;font-size:.85rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.utility-select{background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:#1e293b;cursor:pointer;font-size:.95rem;font-weight:600;min-width:180px;padding:.5rem 1rem;transition:all .2s}.utility-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633;outline:none}.utility-select option{font-weight:500;padding:.5rem}.grc-header h1{color:#1a1a2e;font-size:1.75rem;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:.25rem}.grc-subtitle{color:#6b7280;font-size:.875rem;font-weight:400;margin-bottom:.5rem}.grc-stats{background:#f8f9fa;border-radius:8px;display:flex;gap:2rem;justify-content:center;padding:1rem}.stat-item{color:#444;font-size:.9rem}.stat-item code{background:#e9ecef;border-radius:4px;font-family:Monaco,Menlo,monospace;font-size:.85rem;padding:.2rem .5rem}.data-sources-section-wrapper{align-items:flex-end;display:flex;flex-direction:column;margin-bottom:1rem}.data-sources-toggle-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#64748b;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;gap:.25rem;padding:.4rem .75rem;transition:all .2s}.data-sources-toggle-btn:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;box-shadow:var(--shadow);color:#1e293b}.data-sources-section{animation:slideDown .3s ease;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);margin-top:.5rem;padding:1rem 1.25rem;transition:all .3s ease;width:100%}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.data-sources-content{display:flex;flex-direction:column;gap:0}.data-source-item{background:#fff;border-left:3px solid #3b82f6;border-left:3px solid var(--primary-500);border-radius:6px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);padding:.75rem 1rem;transition:all .2s ease}.data-source-item:hover{box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;box-shadow:var(--shadow);transform:translateY(-1px)}.data-source-name{color:#1e293b;font-size:.95rem;font-weight:600;margin:0 0 .5rem}.data-source-subheading{border-top:1px solid #e2e8f0;color:#1e293b;font-size:.9rem;font-weight:600;margin:1rem 0 .5rem;padding-top:.75rem}.data-source-subheading:first-of-type{margin-top:.75rem;padding-top:.75rem}.data-source-description{color:#475569;font-size:.85rem;line-height:1.5;margin:0 0 .5rem}.data-source-details{background:#f8fafc;border-radius:4px;margin-top:.5rem;padding:.75rem}.data-source-details p{color:#64748b;font-size:.9rem;margin:.5rem 0}.data-source-details a{color:#2563eb;color:var(--primary-600);font-weight:500;text-decoration:none;transition:color .2s}.data-source-details a:hover{color:#1d4ed8;color:var(--primary-700);text-decoration:underline}.data-source-details code{background:#e2e8f0;border-radius:4px;color:#1e293b;font-family:Monaco,Courier New,monospace;font-size:.85rem;font-weight:600;padding:.2rem .5rem}.utility-cases{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:.5rem}.utility-case{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:.75rem}.utility-case strong{color:#1e293b;display:block;font-size:1rem;margin-bottom:.5rem}.utility-case p{color:#64748b;font-size:.9rem;margin:.4rem 0}.utility-case code{background:#e2e8f0;border-radius:4px;color:#1e293b;font-family:Monaco,Courier New,monospace;font-size:.85rem;font-weight:600;padding:.2rem .5rem}.data-source-note{background:#fef3c7;border:1px solid #fde68a;border-left:3px solid #f59e0b;border-radius:4px;margin-top:.5rem;padding:.75rem 1rem}.data-source-note p{color:#92400e;font-size:.9rem;line-height:1.6;margin:0}.data-source-note a{color:#b45309;font-weight:600;text-decoration:none;transition:color .2s}.data-source-note a:hover{color:#92400e;text-decoration:underline}@media (max-width:768px){.data-sources-section{padding:1rem 1.25rem}.data-sources-title{font-size:1.25rem}.utility-cases{grid-template-columns:1fr}.data-source-item{padding:1rem}}.grc-search-section{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);margin-bottom:1rem;padding:1rem}.grc-search-form{display:flex;gap:.75rem;margin:0 auto;max-width:700px}.grc-search-input{background:#f9fafb;background:var(--gray-50);border:2px solid #e5e7eb;border:2px solid var(--gray-200);border-radius:8px;flex:1 1;font-size:1rem;padding:.875rem 1.25rem;transition:all .2s}.grc-search-input:focus{background:#fff;border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 0 0 3px #eff6ff;box-shadow:0 0 0 3px var(--primary-50);outline:none}.grc-search-button{background:linear-gradient(135deg,#2563eb,#1d4ed8);background:linear-gradient(135deg,var(--primary-600) 0,var(--primary-700) 100%);border:none;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md);color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 2rem;transition:all .2s}.grc-search-button:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;box-shadow:var(--shadow-lg);transform:translateY(-1px)}.grc-clear-button{background:#f3f4f6;border:none;border-radius:8px;color:#374151;cursor:pointer;font-size:1rem;padding:.75rem 1rem;transition:background .2s}.grc-clear-button:hover{background:#e5e7eb}.grc-filters{background:linear-gradient(180deg,#f9fafb,#fff);background:linear-gradient(to bottom,var(--gray-50),#fff);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);flex-wrap:wrap;gap:.75rem;justify-content:flex-start;margin-top:.75rem;padding:.75rem}.filter-group,.grc-filters{align-items:center;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:6px;display:flex}.filter-group{background:#fff;gap:.5rem;padding:.4rem .6rem;transition:all .2s}.filter-group:hover{border-color:#93c5fd;border-color:var(--primary-300);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm)}.filter-label{color:#374151;color:var(--gray-700);font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}.filter-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:.9rem;min-width:140px;padding:.5rem .75rem}.filter-date-input:focus,.filter-select:focus,.filter-text-input:focus{border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 0 0 3px #eff6ff;box-shadow:0 0 0 3px var(--primary-50);outline:none}.sort-toggle-button{background:#1a1a2e;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:background .2s}.sort-toggle-button:hover{background:#2d2d4a}.grc-results-count{margin-top:.75rem;text-align:center}.results-badge{background:linear-gradient(135deg,#1a1a2e,#2d2d4a);border:1px solid #ffffff1a;border-radius:6px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff;display:inline-block;font-size:.85rem;padding:.5rem 1rem}.results-badge strong{font-size:.95rem}.results-badge .total-count{color:#94a3b8;font-weight:400}.results-badge .search-term{color:#93c5fd;font-weight:500}.results-badge .filter-info{color:#94a3b8;font-size:.85rem}.grc-loading{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:3rem}.spinner{animation:spin 1s linear infinite;border:4px solid #e0e0e0;border-radius:50%;border-top-color:#2563eb;height:40px;margin-bottom:1rem;width:40px}.grc-error{background:#fef2f2;border-radius:6px;color:#dc2626;padding:1rem;text-align:center}.grc-error button{background:#dc2626;border:none;border-radius:6px;color:#fff;cursor:pointer;margin-top:.75rem;padding:.5rem 1rem}.grc-error .error-help{background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;color:#9a3412;margin-top:1rem;padding:1rem;text-align:left}.grc-error .error-help p{font-weight:600;margin:0 0 .5rem}.grc-error .error-help ol{margin:0;padding-left:1.5rem}.grc-error .error-help li{margin-bottom:.25rem}.grc-error .error-help code{background:#fef3c7;border-radius:4px;font-family:Monaco,Menlo,monospace;font-size:.85rem;padding:.15rem .35rem}.grc-empty{color:#666;padding:1.5rem;text-align:center}.grc-empty .grc-clear-button{margin-top:1rem}.grc-documents-grid{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);overflow:hidden}.grc-documents-header{grid-gap:.75rem;background:linear-gradient(135deg,#1a1a2e,#2d2d4a);border-bottom:1px solid #ffffff1a;color:#fff;display:grid;font-size:.8rem;font-weight:600;gap:.75rem;grid-template-columns:100px 80px minmax(120px,180px) minmax(120px,1fr) minmax(150px,1fr) minmax(200px,220px);letter-spacing:.05em;padding:.75rem 1rem;text-transform:uppercase}.grc-documents-header span{color:#fff}.grc-document-row{grid-gap:.75rem;align-items:start;background:#fff;border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--gray-100);display:grid;gap:.75rem;grid-template-columns:100px 80px minmax(120px,180px) minmax(120px,1fr) minmax(150px,1fr) minmax(200px,220px);padding:.75rem 1rem;transition:all .2s}.grc-document-row:hover{background:#eff6ff;background:var(--primary-50);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);transform:translateX(2px)}.grc-document-row:last-child{border-bottom:none}.col-date{color:#666;font-size:.9rem}.col-date-header{align-items:center;color:#fff;display:flex;gap:.5rem}.sort-toggle-btn{align-items:center;background:#fff3;border:none;border-radius:4px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:700;height:24px;justify-content:center;padding:0;transition:all .2s;width:24px}.sort-toggle-btn:hover{background:#fff6;transform:scale(1.1)}.col-type{padding-top:.1rem;text-align:center}.doc-type-badge{background:linear-gradient(135deg,#dbeafe,#eff6ff);background:linear-gradient(135deg,var(--primary-100) 0,var(--primary-50) 100%);border:1px solid var(--primary-200);border-radius:20px;color:#1d4ed8;color:var(--primary-700);display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.375rem .875rem;text-transform:uppercase}.col-filer{color:#374151;font-size:.85rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.col-filer.clickable-filer{color:#2563eb;cursor:pointer;text-decoration:underline;transition:all .2s}.col-filer.clickable-filer:hover{background-color:#eff6ff;border-radius:4px;color:#1d4ed8;padding:.2rem .4rem;text-decoration:underline}.col-title{color:#1a1a2e}.col-description,.col-title{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;font-size:.85rem;line-height:1.4;min-width:0;overflow:hidden;word-break:break-word}.col-description{color:#374151}.col-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;min-width:0;padding:.25rem 0}.view-button{background:linear-gradient(135deg,#10b981,#059669);background:linear-gradient(135deg,var(--success) 0,var(--success-hover) 100%);border:none;border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff;cursor:pointer;flex-shrink:0;font-size:.8rem;font-weight:600;padding:.5rem 1rem;transition:all .2s;white-space:nowrap}.view-button:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md);transform:translateY(-1px)}.rebuttal-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff;cursor:pointer;flex-shrink:0;font-size:.8rem;font-weight:600;padding:.5rem 1rem;transition:all .2s;white-space:nowrap}.rebuttal-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md);transform:translateY(-1px)}.no-url{color:#9ca3af;font-size:.85rem}.grc-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:2rem;position:fixed;right:0;top:0;z-index:10000}.grc-modal{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:16px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;height:90vh;max-width:1200px;overflow:hidden;width:100%}.grc-modal-header{align-items:center;background:linear-gradient(135deg,#1a1a2e,#2d2d4a);border-bottom:2px solid #ffffff1a;color:#fff;display:flex;justify-content:space-between;padding:1.5rem 2rem}.grc-modal-title-section{flex:1 1;max-width:70%;min-width:0}.grc-modal-header h2{font-size:1.25rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grc-modal-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#fffc;display:-webkit-box;font-size:.9rem;font-weight:400;line-height:1.4;margin:.25rem 0 0;overflow:hidden}.grc-modal-actions{display:flex;gap:.5rem}.open-tab-button{background:#2563eb;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background .2s}.open-tab-button:hover:not(:disabled){background:#1d4ed8}.open-tab-button:disabled{background:#6b7280;cursor:not-allowed}.close-button{align-items:center;background:#fff3;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:36px;justify-content:center;transition:background .2s;width:36px}.close-button:hover{background:#ffffff4d}.grc-modal-info{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;display:flex;font-size:.9rem;gap:2rem;padding:.75rem 1.5rem}.grc-modal-body{background:#f3f4f6;flex:1 1;overflow:hidden}.pdf-viewer{border:none;height:100%;width:100%}.grc-modal-footer{background:#f8fafc;border-top:1px solid #e5e7eb;padding:.75rem 1.5rem;text-align:center}.url-expiry{color:#6b7280;font-size:.85rem}@media (max-width:1400px){.grc-document-row,.grc-documents-header{font-size:.8rem;gap:.75rem;grid-template-columns:90px 70px minmax(100px,150px) minmax(100px,1fr) minmax(120px,1fr) minmax(180px,200px)}}@media (max-width:1200px){.grc-document-row,.grc-documents-header{font-size:.75rem;gap:.5rem;grid-template-columns:85px 65px minmax(90px,130px) minmax(90px,1fr) minmax(100px,1fr) minmax(160px,180px);padding:.75rem 1rem}.rebuttal-button,.view-button{font-size:.75rem;padding:.4rem .75rem}}@media (max-width:1024px){.grc-document-row,.grc-documents-header{font-size:.7rem;gap:.5rem;grid-template-columns:80px 60px minmax(80px,120px) minmax(80px,1fr) minmax(90px,1fr) 80px;padding:.5rem .75rem}}@media (max-width:768px){.grc-documents-page{padding:1rem}.grc-filters{align-items:stretch;flex-direction:column}.filter-group{justify-content:space-between}.filter-select,.filter-text-input{flex:1 1;min-width:120px}.grc-documents-header{display:none}.grc-document-row{display:flex;flex-direction:column;gap:.5rem;padding:1rem}.grc-document-row .col-description,.grc-document-row .col-title{-webkit-line-clamp:unset;display:block}.grc-document-row .col-title:before{color:#1a1a2e;content:"Title: ";font-weight:600}.grc-document-row .col-description:before{color:#1a1a2e;content:"Description: ";font-weight:600}.grc-modal{border-radius:8px;height:95vh}.grc-modal-overlay{padding:.5rem}.grc-modal-info{flex-direction:column;gap:.5rem}}.selection-mode-btn{background:#0000;border:2px solid #4a90a4;border-radius:8px;color:#4a90a4;cursor:pointer;font-size:.9rem;font-weight:500;padding:.6rem 1.2rem;transition:all .2s;white-space:nowrap}.selection-mode-btn:hover{background:#4a90a4;color:#fff}.selection-mode-btn.active{background:linear-gradient(135deg,#4a90a4,#357a8f);border-color:#0000;color:#fff}.selection-toolbar{align-items:center;background:linear-gradient(135deg,#eff6ff,#dbeafe);background:linear-gradient(135deg,var(--primary-50) 0,var(--primary-100) 100%);border:1px solid var(--primary-200);border-radius:6px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);display:flex;justify-content:space-between;margin-top:.5rem;padding:.75rem 1rem}.selection-count{color:#1a5f7a;font-size:.9rem;font-weight:600}.selection-actions{align-items:center;display:flex;gap:.75rem}.selection-action-btn{background:#fff;border:2px solid #93c5fd;border:2px solid var(--primary-300);border-radius:8px;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#1d4ed8;color:var(--primary-700);cursor:pointer;font-size:.875rem;font-weight:600;padding:.625rem 1.25rem;transition:all .2s}.selection-action-btn:hover:not(:disabled){background:#2563eb;background:var(--primary-600);border-color:#2563eb;border-color:var(--primary-600);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md);color:#fff;transform:translateY(-1px)}.selection-action-btn:disabled{background:#f3f4f6;background:var(--gray-100);border-color:#d1d5db;border-color:var(--gray-300);color:#6b7280;color:var(--gray-500);cursor:not-allowed;opacity:.5}.chat-with-selected-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;box-shadow:var(--shadow-md);color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.chat-with-selected-btn:hover:not(:disabled){box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;box-shadow:var(--shadow-lg);transform:translateY(-2px)}.chat-with-selected-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.grc-documents-grid.selection-mode .grc-document-row,.grc-documents-grid.selection-mode .grc-documents-header{grid-template-columns:50px 100px 80px minmax(120px,180px) minmax(120px,1fr) minmax(150px,1fr) 100px}.col-select{align-items:center;display:flex;justify-content:center}.col-select input[type=checkbox]{accent-color:#4a90a4;cursor:pointer;height:18px;width:18px}.col-select input[type=checkbox]:disabled{cursor:not-allowed;opacity:.4}.grc-document-row.selected{background:#e8f4fd!important;border-left:4px solid #4a90a4}.grc-documents-grid.selection-mode .grc-document-row{cursor:pointer}.grc-documents-grid.selection-mode .grc-document-row:hover{background:#f0f9ff}@media (max-width:1400px){.grc-documents-grid.selection-mode .grc-document-row,.grc-documents-grid.selection-mode .grc-documents-header{grid-template-columns:45px 90px 70px minmax(100px,150px) minmax(100px,1fr) minmax(120px,1fr) 90px}}@media (max-width:1200px){.grc-documents-grid.selection-mode .grc-document-row,.grc-documents-grid.selection-mode .grc-documents-header{grid-template-columns:40px 85px 65px minmax(90px,130px) minmax(90px,1fr) minmax(100px,1fr) 85px}}@media (max-width:768px){.grc-header-top{flex-direction:column;gap:1rem}.grc-header-top>div:first-child{text-align:center}.grc-header-actions{justify-content:center}.selection-toolbar{flex-direction:column;gap:1rem;text-align:center}.selection-actions{flex-wrap:wrap;justify-content:center}.grc-documents-grid.selection-mode .grc-document-row{display:flex;flex-direction:column;padding-left:3rem;position:relative}.grc-documents-grid.selection-mode .grc-document-row .col-select{left:1rem;position:absolute;top:1rem}}:root{--chat-primary:#0f766e;--chat-primary-light:#14b8a6;--chat-primary-dark:#0d5a54;--chat-secondary:#f0fdfa;--chat-accent:#2dd4bf;--chat-bg:#fff;--chat-surface:#f8fafc;--chat-text:#0f172a;--chat-text-muted:#64748b;--chat-border:#e2e8f0;--chat-shadow:0 25px 50px -12px #00000040;--chat-radius:16px;--chat-transition:0.3s cubic-bezier(0.4,0,0.2,1)}.chatbot-fab{align-items:center;animation:pulse-glow 2s infinite;background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);border:none;border-radius:50%;bottom:24px;box-shadow:0 4px 14px #0f766e66,0 0 0 0 #0f766e66;cursor:pointer;display:flex;height:60px;justify-content:center;position:fixed;right:24px;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition);width:60px;z-index:9999}@keyframes pulse-glow{0%,to{box-shadow:0 4px 14px #0f766e66,0 0 0 0 #0f766e66}50%{box-shadow:0 4px 14px #0f766e66,0 0 0 8px #0f766e00}}.chatbot-fab:hover{animation:none;box-shadow:0 6px 20px #0f766e80;transform:scale(1.1)}.chatbot-fab.active{animation:none;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 14px #ef444466}.chatbot-fab svg{color:#fff;height:28px;width:28px}.chatbot-window{animation:slideUp .35s cubic-bezier(.34,1.56,.64,1);background:#fff;background:var(--chat-bg);border:1px solid #0f766e1a;border-radius:16px;border-radius:var(--chat-radius);bottom:100px;box-shadow:0 25px 50px -12px #00000040;box-shadow:var(--chat-shadow);display:flex;flex-direction:column;height:550px;max-height:calc(100vh - 140px);max-width:calc(100vw - 48px);overflow:hidden;position:fixed;right:24px;width:380px;z-index:9998}@media (max-width:1400px){.chatbot-window{max-width:380px;width:calc(100vw - 48px)}}.chatbot-header{align-items:center;background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);display:flex;flex-shrink:0;justify-content:space-between;padding:16px 20px}.chatbot-header-content{align-items:center;display:flex;gap:12px}.chatbot-avatar{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border-radius:12px;display:flex;height:42px;justify-content:center;width:42px}.chatbot-avatar svg{color:#fff;height:24px;width:24px}.chatbot-header-text h3{color:#fff;font-family:Söhne,Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:1rem;font-weight:600;letter-spacing:-.02em;margin:0}.chatbot-status{align-items:center;color:#fffc;display:flex;font-size:.75rem;gap:6px}.chatbot-status.online:before{animation:pulse 2s infinite;background:#4ade80;border-radius:50%;content:"";height:8px;width:8px}.chatbot-status.offline:before{background:#f87171;border-radius:50%;content:"";height:8px;width:8px}.chatbot-header-actions{display:flex;gap:8px}.header-action-btn{align-items:center;background:#ffffff1a;border:none;border-radius:10px;cursor:pointer;display:flex;height:36px;justify-content:center;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition);width:36px}.header-action-btn:hover{background:#fff3}.header-action-btn svg{color:#fff;height:18px;width:18px}.exit-selection-btn{background:#ef444433;border:1px solid #ef44444d;color:#fecaca;font-size:.75rem;font-weight:500;padding:0 12px;width:auto}.exit-selection-btn:hover{background:#ef444466;border-color:#ef444480}.exit-selection-btn span{white-space:nowrap}.chatbot-header.selection-mode{background:linear-gradient(135deg,#4a90a4,#357a8f)}.chatbot-header.selection-mode .chatbot-avatar{background:#fff3}.chatbot-header.selection-mode .chatbot-status:before{animation:none;background:none;content:"📄";height:auto;margin-right:4px;width:auto}.chatbot-messages{background:linear-gradient(180deg,#f8fafc,#fff);background:linear-gradient(180deg,var(--chat-surface) 0,var(--chat-bg) 100%);display:flex;flex:1 1;flex-direction:column;gap:16px;overflow-y:auto;padding:20px;scroll-behavior:smooth}.chatbot-messages::-webkit-scrollbar{width:6px}.chatbot-messages::-webkit-scrollbar-track{background:#0000}.chatbot-messages::-webkit-scrollbar-thumb{background:#e2e8f0;background:var(--chat-border);border-radius:3px}.chatbot-messages::-webkit-scrollbar-thumb:hover{background:#64748b;background:var(--chat-text-muted)}.chat-message{animation:fadeInMessage .4s ease-out;gap:12px}@keyframes fadeInMessage{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-message.user{flex-direction:row-reverse}.message-avatar{align-items:center;background:linear-gradient(135deg,#14b8a6,#0f766e);background:linear-gradient(135deg,var(--chat-primary-light) 0,var(--chat-primary) 100%);border-radius:10px;display:flex;flex-shrink:0;height:32px;justify-content:center;min-width:32px;width:32px}.message-avatar svg{color:#fff;height:18px;width:18px}.message-wrapper{display:flex;flex-direction:column;gap:6px;max-width:80%}.chat-message.user .message-wrapper{align-items:flex-end}.message-content{border-radius:16px;font-family:Söhne,Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;line-height:1.6;padding:14px 18px}.message-paragraph{margin:0 0 8px}.message-paragraph:last-child{margin-bottom:0}.message-list-item{margin:4px 0 4px 16px;padding-left:4px}.chat-message.bot .message-content{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--chat-border);border-bottom-left-radius:4px;box-shadow:0 1px 3px #0000000d;color:#0f172a;color:var(--chat-text)}.chat-message.user .message-content{background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);border-bottom-right-radius:4px;color:#fff}.chat-message.error .message-content{background:#fef2f2;border-color:#fecaca;color:#991b1b}.message-timestamp{color:#64748b;color:var(--chat-text-muted);font-size:.7rem;padding:0 4px}.message-content.loading{align-items:center;color:#64748b;color:var(--chat-text-muted);display:flex;font-style:italic;gap:10px}.typing-indicator{display:flex;gap:4px}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background:#14b8a6;background:var(--chat-primary-light);border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:0s}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}.message-citations{background:#f0fdfa;background:var(--chat-secondary);border:1px solid #0f766e1a;border-radius:12px;margin-top:12px;padding:12px}.citations-header{align-items:center;color:#0f766e;color:var(--chat-primary);display:flex;font-size:.75rem;font-weight:600;gap:6px;letter-spacing:.05em;margin-bottom:10px;text-transform:uppercase}.citations-header svg{height:14px;width:14px}.citations-list{display:flex;flex-direction:column;gap:8px}.citation-item{align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border:1px solid var(--chat-border);border-radius:8px;display:flex;gap:10px;padding:10px;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition)}.citation-item:hover{border-color:#14b8a6;border-color:var(--chat-primary-light);box-shadow:0 2px 8px #0f766e1a}.citation-number{align-items:center;background:#0f766e;background:var(--chat-primary);border-radius:6px;color:#fff;display:flex;font-size:.7rem;font-weight:600;height:22px;justify-content:center;min-width:22px;width:22px}.citation-info{display:flex;flex-direction:column;font-size:.8rem;gap:2px;overflow:hidden}.citation-title{color:#0f172a;color:var(--chat-text);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.citation-filer{color:#64748b;color:var(--chat-text-muted);font-size:.75rem}.citation-date,.citation-type{color:#0f766e;color:var(--chat-primary);font-size:.7rem;font-weight:500}.chatbot-suggestions{background:#f8fafc;background:var(--chat-surface);border-top:1px solid #e2e8f0;border-top:1px solid var(--chat-border);padding:12px 20px}.suggestions-label{color:#64748b;color:var(--chat-text-muted);display:block;font-size:.75rem;margin-bottom:10px}.suggestions-list{display:flex;flex-wrap:wrap;gap:8px}.suggestion-chip{background:#fff;border:1px solid #e2e8f0;border:1px solid var(--chat-border);border-radius:20px;color:#0f172a;color:var(--chat-text);cursor:pointer;font-size:.8rem;max-width:100%;overflow:hidden;padding:8px 14px;text-overflow:ellipsis;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition);white-space:nowrap}.suggestion-chip:hover{background:#f0fdfa;background:var(--chat-secondary);border-color:#14b8a6;border-color:var(--chat-primary-light);color:#0f766e;color:var(--chat-primary)}.chatbot-input-form{background:#fff;border-top:1px solid #e2e8f0;border-top:1px solid var(--chat-border);display:flex;flex-shrink:0;gap:10px;padding:16px 20px}.chatbot-input{background:#f8fafc;background:var(--chat-surface);border:2px solid #e2e8f0;border:2px solid var(--chat-border);border-radius:12px;flex:1 1;font-family:Söhne,Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;padding:14px 18px;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition)}.chatbot-input:focus{background:#fff;border-color:#14b8a6;border-color:var(--chat-primary-light);box-shadow:0 0 0 4px #0f766e1a;outline:none}.chatbot-input:disabled{background:#f8fafc;background:var(--chat-surface);cursor:not-allowed;opacity:.6}.chatbot-input::placeholder{color:#64748b;color:var(--chat-text-muted)}.chatbot-send-btn{align-items:center;background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);border:none;border-radius:12px;cursor:pointer;display:flex;height:48px;justify-content:center;min-width:48px;transition:.3s cubic-bezier(.4,0,.2,1);transition:var(--chat-transition);width:48px}.chatbot-send-btn:hover:not(:disabled){box-shadow:0 4px 14px #0f766e66;transform:scale(1.05)}.chatbot-send-btn:disabled{cursor:not-allowed;opacity:.5}.chatbot-send-btn svg{color:#fff;height:20px;width:20px}@media (max-width:480px){.chatbot-fab{bottom:16px;height:54px;right:16px;width:54px}.chatbot-window{animation:slideUpMobile .35s ease-out;border-radius:0;bottom:0;height:100vh;max-height:100vh;max-width:100vw;right:0;width:100vw}@keyframes slideUpMobile{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.chatbot-header{border-radius:0;padding:16px}.message-wrapper{max-width:85%}.suggestion-chip{font-size:.75rem;padding:6px 12px}}@media (prefers-color-scheme:dark){.chatbot-window{--chat-bg:#1e293b;--chat-surface:#0f172a;--chat-text:#f1f5f9;--chat-text-muted:#94a3b8;--chat-border:#334155;background:#fff;background:var(--chat-bg)}.chat-message.bot .message-content,.chatbot-input{background:#f8fafc;background:var(--chat-surface);border-color:#e2e8f0;border-color:var(--chat-border);color:#0f172a;color:var(--chat-text)}.chatbot-input-form,.chatbot-input:focus{background:#fff;background:var(--chat-bg)}.chatbot-input-form{border-color:#e2e8f0;border-color:var(--chat-border)}.message-citations{background:#f8fafc;background:var(--chat-surface)}.citation-item{background:#fff;background:var(--chat-bg);border-color:#e2e8f0;border-color:var(--chat-border)}.suggestion-chip{color:#0f172a;color:var(--chat-text)}.chatbot-suggestions,.suggestion-chip{background:#f8fafc;background:var(--chat-surface);border-color:#e2e8f0;border-color:var(--chat-border)}}.message-source-chunks{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border:1px solid var(--chat-border);border-radius:12px;margin-top:12px;overflow:hidden}.message-source-chunks>summary{align-items:center;background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:8px;justify-content:space-between;list-style:none;padding:12px 16px;transition:all .3s ease}.message-source-chunks>summary::-webkit-details-marker{display:none}.message-source-chunks>summary:after{content:"▼";font-size:.7rem;opacity:.8;transition:transform .3s ease}.message-source-chunks[open]>summary:after{transform:rotate(180deg)}.message-source-chunks>summary:hover{background:linear-gradient(135deg,#0d5a54,#0a4a45);background:linear-gradient(135deg,var(--chat-primary-dark) 0,#0a4a45 100%)}.source-chunks-header{align-items:center;display:flex;flex:1 1;gap:8px}.source-chunks-header svg{color:#fff;height:16px;opacity:.9;width:16px}.message-source-chunks .source-chunks-list{display:flex;flex-direction:column;gap:10px;max-height:400px;overflow-y:auto;padding:12px}.message-source-chunks .source-chunks-list::-webkit-scrollbar{width:6px}.message-source-chunks .source-chunks-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.message-source-chunks .source-chunks-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.message-source-chunks .source-chunks-list::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.message-source-chunks .source-chunk-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000d;overflow:hidden;transition:all .2s ease}.message-source-chunks .source-chunk-item:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.message-source-chunks .source-chunk-header{align-items:center;background:linear-gradient(135deg,#f8fafc,#eef2f7);border-bottom:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:10px 14px}.message-source-chunks .source-chunk-number{align-items:center;background:linear-gradient(135deg,#0f766e,#0d5a54);background:linear-gradient(135deg,var(--chat-primary) 0,var(--chat-primary-dark) 100%);border-radius:20px;color:#fff;display:inline-flex;font-size:.75rem;font-weight:700;justify-content:center;letter-spacing:.5px;padding:5px 12px;text-transform:uppercase}.message-source-chunks .source-chunk-score{align-items:center;background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;border-radius:16px;color:#166534;display:inline-flex;font-size:.75rem;font-weight:600;gap:4px;padding:4px 10px}.message-source-chunks .source-chunk-text{background:#f9fafb;border-left:4px solid #0f766e;border-left:4px solid var(--chat-primary);border-radius:8px;color:#374151;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.85rem;line-height:1.6;max-height:150px;overflow-y:auto;padding:12px 14px;white-space:pre-wrap;word-break:break-word}.message-source-chunks .source-chunk-text::-webkit-scrollbar{width:5px}.message-source-chunks .source-chunk-text::-webkit-scrollbar-track{background:#e5e7eb;border-radius:3px}.message-source-chunks .source-chunk-text::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:3px}.message-source-chunks .source-chunk-uri{background:#f8fafc;border-top:1px solid #e2e8f0;color:#64748b;font-size:.75rem;padding:8px 14px}.message-source-chunks .source-chunk-uri small{align-items:center;display:flex;gap:6px;word-break:break-all}.message-source-chunks .source-chunk-uri small:before{content:"📄";font-size:.9rem}@media (prefers-color-scheme:dark){.message-source-chunks{background:#f8fafc;background:var(--chat-surface);border-color:#e2e8f0;border-color:var(--chat-border)}.message-source-chunks .source-chunk-item{background:#fff;background:var(--chat-bg);border-color:#e2e8f0;border-color:var(--chat-border)}.message-source-chunks .source-chunk-text{background:#f8fafc;background:var(--chat-surface);color:#0f172a;color:var(--chat-text)}.message-source-chunks .source-chunk-uri{background:#f8fafc;background:var(--chat-surface);border-color:#e2e8f0;border-color:var(--chat-border);color:#64748b;color:var(--chat-text-muted)}}.rebuttal-page{margin:0 auto;max-width:1800px;padding:2rem;width:100%}.rebuttal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.rebuttal-header h1{margin:0}.new-complaint-form{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:2rem;padding:2rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:600;margin-bottom:.5rem}.form-group input,.form-group textarea{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-sizing:border-box;color:#333;font-size:1rem;padding:.75rem 1rem;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.form-group textarea{font-family:inherit;resize:vertical}.rebuttal-layout{align-items:flex-start;display:flex;gap:2rem;width:100%}.rebuttal-layout.with-selection{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr;width:100%}.rebuttal-workspace-fullscreen{margin:0!important;max-width:100%!important;padding:0!important;width:100%!important}.complaints-grid-container{max-width:100%;width:100%}.complaints-header-row{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.complaints-header-row h2{font-size:1.5rem;margin:0}.utility-filter-container{align-items:center;display:flex;gap:.75rem}.utility-filter-label{color:#333;font-weight:600;white-space:nowrap}.utility-filter-select{background:#fff;border:2px solid #007bff;border-radius:8px;color:#333;cursor:pointer;font-size:.95rem;font-weight:500;min-width:180px;padding:.5rem 1rem;transition:all .2s ease}.utility-filter-select:hover{background:#f8f9fa;border-color:#0056b3}.utility-filter-select:focus{border-color:#0056b3;box-shadow:0 0 0 3px #007bff26;outline:none}.complaints-count{color:#666;font-size:.9rem;margin-bottom:1rem}.complaints-grid-container h2{font-size:1.5rem;margin-bottom:1.5rem}.complaints-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));width:100%}@media (max-width:1200px){.rebuttal-layout.with-selection{grid-template-columns:1fr}.rebuttal-layout.with-selection .complaints-grid-container{max-height:400px}.complaints-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}.rebuttal-layout.with-selection .complaints-grid-container{max-height:calc(100vh - 200px);overflow-y:auto;padding-right:1rem}.rebuttal-layout.with-selection .complaints-grid-container::-webkit-scrollbar,.rebuttal-workspace::-webkit-scrollbar{width:8px}.rebuttal-layout.with-selection .complaints-grid-container::-webkit-scrollbar-track,.rebuttal-workspace::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.rebuttal-layout.with-selection .complaints-grid-container::-webkit-scrollbar-thumb,.rebuttal-workspace::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.rebuttal-layout.with-selection .complaints-grid-container::-webkit-scrollbar-thumb:hover,.rebuttal-workspace::-webkit-scrollbar-thumb:hover{background:#555}.complaint-card{background:#fff;border:2px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 4px #0000000d;cursor:pointer;display:flex;flex-direction:column;min-height:200px;padding:1.5rem;transition:all .3s ease}.complaint-card:hover{border-color:#007bff;box-shadow:0 4px 12px #007bff26;transform:translateY(-2px)}.complaint-card.selected{background:linear-gradient(135deg,#e7f3ff,#f0f8ff);border-color:#007bff;box-shadow:0 4px 16px #007bff33}.complaint-card-header{display:flex;justify-content:flex-end;margin-bottom:.75rem}.complaint-filer{background:#007bff;border-radius:6px;color:#fff;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:.35rem .75rem;text-transform:uppercase}.complaint-card.selected .complaint-filer{background:#0056b3}.complaint-card-title{-webkit-line-clamp:2;color:#333;font-size:1.1rem;font-weight:600;line-height:1.3;margin:0 0 .75rem}.complaint-card-preview,.complaint-card-title{-webkit-box-orient:vertical;display:-webkit-box;flex:1 1;overflow:hidden}.complaint-card-preview{-webkit-line-clamp:4;color:#666;font-size:.9rem;line-height:1.5;margin:0 0 1rem}.complaint-card-meta{border-top:1px solid #f0f0f0;color:#999;font-size:.8rem;margin-top:auto;padding-top:.75rem}.rebuttal-workspace-fullscreen{display:flex;flex-direction:column;margin:0;max-width:100%;padding:0;width:100%}.rebuttal-page:has(.rebuttal-workspace-fullscreen){max-width:100%;padding:2rem;width:100%}.rebuttal-workspace{display:flex;flex-direction:column;gap:2rem;max-height:calc(100vh - 200px);overflow-y:auto;padding-right:1rem;width:100%}.rebuttal-workspace-fullscreen .rebuttal-workspace{max-height:calc(100vh - 250px);width:100%}.complaint-view{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:2rem;width:100%}.complaint-details{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:1rem 0;padding:1.25rem}.complaint-text{margin-top:1.5rem}.text-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;color:#333;line-height:1.6;padding:1.5rem;white-space:pre-wrap}.rebuttal-actions{display:flex;gap:1rem}.manual-rebuttal-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;width:100%}.manual-rebuttal-section textarea{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-sizing:border-box;color:#333;font-family:inherit;font-size:1rem;margin-bottom:1rem;padding:1rem;resize:vertical;transition:border-color .2s,box-shadow .2s;width:100%}.manual-rebuttal-section textarea:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.rebuttals-list{display:flex;flex-direction:column;gap:1.5rem;width:100%}.rebuttal-item{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;padding:1.5rem;transition:box-shadow .2s,transform .2s}.rebuttal-item:hover{box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.rebuttal-expanded-content{border-top:1px solid #f0f0f0;margin-top:1rem;padding-top:1rem}.rebuttal-header-item{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.rebuttal-header-left{align-items:center;display:flex;flex:1 1;gap:.75rem}.rebuttal-title-section{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.rebuttal-title{color:#333;font-size:1.1rem;font-weight:600;margin:0}.rebuttal-header-right{align-items:center;display:flex;gap:1rem}.rebuttal-actions-header{align-items:center;display:flex;gap:.5rem}.rebuttal-score-badge{border-radius:6px;font-size:.9rem;font-weight:600;padding:.4rem .8rem;white-space:nowrap}.rebuttal-badge{border-radius:4px;font-size:.9rem;font-weight:600;margin-right:1rem;padding:.5rem 1rem}.rebuttal-badge.ai{background:#e7f3ff;color:#06c}.rebuttal-badge.manual{background:#fff3cd;color:#856404}.quality-score-container{display:flex;flex-direction:column;gap:.5rem}.quality-score{font-size:1.1rem;font-weight:600}.score-quick-explanation{color:#666;font-size:.85rem;font-style:italic;line-height:1.4;max-width:500px}.rebuttal-date{color:#999;font-size:.85rem;white-space:nowrap}.rebuttal-text{background:#fff;border:1px solid #e0e0e0;border-radius:8px;color:#333;line-height:1.6;margin-bottom:1rem;padding:1.5rem;white-space:pre-wrap}.coverage-analysis{background:#e7f3ff;border-radius:4px;margin-top:1rem;padding:1rem}.coverage-analysis h4{margin-top:0}.score-details,.score-details-section{margin-top:1rem}.score-details{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:1.25rem}.score-details summary{color:#007bff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:.5rem;-webkit-user-select:none;user-select:none}.score-details summary:hover{color:#0056b3}.score-breakdown{border-top:1px solid #ddd;margin-top:1rem;padding-top:1rem}.score-explanation,.scoring-summary{background:#f8fbff;border-left:4px solid #007bff;border-radius:8px;margin-bottom:1.5rem;padding:1.25rem}.score-explanation h4,.scoring-summary h4{color:#333;margin-bottom:.5rem;margin-top:0}.score-explanation p,.scoring-summary p{color:#555;line-height:1.6;margin:0}.category-scores{margin-bottom:1.5rem}.category-scores h4{color:#333;margin-bottom:1rem}.category-grid{display:flex;flex-direction:column;gap:1rem}.category-item{background:#fafbfc;border:1px solid #e8e8e8;border-radius:10px;padding:1.25rem;transition:box-shadow .2s,transform .2s}.category-item:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.category-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.category-name{color:#333;font-size:1rem;font-weight:600}.category-score{background:#e7f3ff;border-radius:4px;color:#007bff;font-size:1.1rem;font-weight:700;padding:.25rem .75rem}.category-explanation{border-top:1px solid #f0f0f0;margin-top:.75rem;padding-top:.75rem}.category-explanation p{color:#666;font-size:.95rem;line-height:1.6;margin:0}.category-item.needs-improvement{background:linear-gradient(135deg,#fffef5,#fff8e6);border-color:#ffc107}.category-item.needs-improvement:hover{box-shadow:0 4px 16px #ffc10740}.warning-icon{font-size:1rem;margin-right:.5rem}.category-score.low-score{background:#fff3e0;color:#e65100}.improvement-suggestion{background:linear-gradient(135deg,#fff8e1,#fffde7);border-left:4px solid #ffc107;border-radius:8px;margin-top:1rem;padding:1rem}.suggestion-header{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.suggestion-icon{font-size:1.1rem}.suggestion-label{color:#f57c00;font-size:.9rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.suggestion-text{color:#5d4037;font-size:.95rem;line-height:1.6;margin:0}.detailed-issues-section{border-radius:8px;margin-top:1rem;overflow:hidden}.detailed-issues-section summary.see-more-btn{align-items:center;background:linear-gradient(135deg,#e8eaf6,#c5cae9);border-radius:8px;color:#3949ab;cursor:pointer;display:flex;font-weight:600;gap:.5rem;list-style:none;padding:.75rem 1rem;transition:all .2s ease}.detailed-issues-section summary.see-more-btn::-webkit-details-marker{display:none}.detailed-issues-section summary.see-more-btn:after{content:"▶";font-size:.8rem;margin-left:auto;transition:transform .2s ease}.detailed-issues-section[open] summary.see-more-btn:after{transform:rotate(90deg)}.detailed-issues-section summary.see-more-btn:hover{background:linear-gradient(135deg,#c5cae9,#9fa8da)}.see-more-icon{font-size:1rem}.detailed-issues-list{background:#fafafa;border:1px solid #e0e0e0;border-radius:0 0 8px 8px;border-top:none;display:flex;flex-direction:column;gap:1rem;padding:1rem}.issue-card{background:#fff;border-left:4px solid #9e9e9e;border-radius:8px;box-shadow:0 1px 4px #00000014;padding:1rem}.issue-card.severity-critical{background:#ffebee;border-left-color:#d32f2f}.issue-card.severity-major{background:#fff3e0;border-left-color:#f57c00}.issue-card.severity-minor{background:#fffde7;border-left-color:#fbc02d}.issue-header{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.severity-badge{border-radius:4px;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.25rem .5rem}.severity-badge.critical{background:#d32f2f;color:#fff}.severity-badge.major{background:#f57c00;color:#fff}.severity-badge.minor{background:#fbc02d;color:#5d4037}.issue-type{color:#616161;font-size:.9rem;font-weight:500;text-transform:capitalize}.issue-complaint-point,.issue-fix,.issue-impact,.issue-location,.issue-problem{font-size:.9rem;line-height:1.5;margin-bottom:.5rem}.issue-location{color:#5c6bc0}.issue-complaint-point{color:#7b1fa2}.issue-quote{margin-bottom:.75rem}.issue-quote blockquote{background:#f5f5f5;border-left:3px solid #bdbdbd;border-radius:4px;color:#424242;font-size:.9rem;font-style:italic;line-height:1.5;margin:.5rem 0 0;padding:.75rem 1rem}.issue-problem{color:#c62828}.issue-fix{background:#e8f5e9;border-radius:4px;color:#2e7d32;padding:.5rem}.issue-impact{color:#e65100;font-style:italic}.fix-metric-section{border-top:2px dashed #e0e0e0;margin-top:1.25rem;padding-top:1.25rem;text-align:center}.btn-fix-metric{align-items:center;background:linear-gradient(135deg,#1565c0,#0d47a1);border:none;border-radius:8px;box-shadow:0 4px 12px #1565c040;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;min-width:280px;padding:.875rem 1.5rem;transition:all .2s ease}.btn-fix-metric:hover:not(:disabled){background:linear-gradient(135deg,#1976d2,#1565c0);box-shadow:0 6px 16px #1565c059;transform:translateY(-2px)}.btn-fix-metric:active:not(:disabled){box-shadow:0 2px 8px #1565c040;transform:translateY(0)}.btn-fix-metric:disabled{animation:pulse-fixing 1.5s ease-in-out infinite;background:linear-gradient(135deg,#90a4ae,#78909c);box-shadow:none;cursor:not-allowed}@keyframes pulse-fixing{0%,to{opacity:.8}50%{opacity:1}}.fix-metric-note{color:#757575;font-size:.85rem;font-style:italic;margin-top:.75rem}.improve-rebuttal-section{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:1px solid #90caf9;border-radius:12px;margin-top:2rem;padding:1.5rem;text-align:center}.priority-improvement{background:#fff;border-radius:8px;color:#1565c0;font-size:.95rem;margin-bottom:1rem;padding:.75rem 1rem;text-align:left}.btn-improve-rebuttal{background:linear-gradient(135deg,#2196f3,#1976d2);border:none;border-radius:8px;box-shadow:0 4px 15px #2196f366;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem 2.5rem;transition:all .3s ease}.btn-improve-rebuttal:hover:not(:disabled){background:linear-gradient(135deg,#1976d2,#1565c0);box-shadow:0 6px 20px #2196f380;transform:translateY(-2px)}.btn-improve-rebuttal:disabled{background:#90caf9;box-shadow:none;cursor:not-allowed;transform:none}.improve-note{color:#1565c0;font-size:.85rem;margin-bottom:0;margin-top:.75rem;opacity:.8}.full-details{border-top:1px solid #ddd;margin-top:1.5rem;padding-top:1rem}.full-details summary{color:#666;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem}.full-details summary:hover{color:#333}.full-details pre,.score-details pre{background:#fafafa;border:1px solid #e8e8e8;border-radius:8px;color:#333;font-size:.85rem;line-height:1.4;margin-top:.5rem;overflow-x:auto;padding:1rem}.btn-primary,.btn-secondary{border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-primary:disabled{background:#ccc;cursor:not-allowed}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-secondary:disabled{background:#ccc;cursor:not-allowed}.btn-show-more{background:#fff;border:1px solid #007bff;border-radius:4px;color:#007bff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .2s}.btn-show-more:hover{background:#007bff;color:#fff}.download-dropdown-container{position:relative}.btn-download{background:#fff;border:1px solid #28a745;border-radius:4px;color:#28a745;cursor:pointer;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .2s}.btn-download:hover{background:#28a745;color:#fff}.btn-rescore{background:#fff;border:1px solid #ffc107;border-radius:4px;color:#ffc107;cursor:pointer;font-size:.85rem;font-weight:600;padding:.4rem .8rem;transition:all .2s;white-space:nowrap}.btn-rescore:hover:not(:disabled){background:#ffc107;color:#fff}.btn-rescore:disabled{cursor:not-allowed;opacity:.6}.btn-back{margin-bottom:1.5rem}.download-dropdown-menu{animation:fadeIn .2s ease-in;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 12px #00000026;margin-top:.25rem;min-width:200px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.download-option{background:#fff;border:none;color:#333;cursor:pointer;display:block;font-size:.9rem;padding:.75rem 1rem;text-align:left;transition:background .2s;width:100%}.download-option:hover{background:#f8f9fa}.download-option:first-child{border-bottom:1px solid #f0f0f0}.btn-edit{background:#fff;border:1px solid #007bff;border-radius:4px;color:#007bff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .2s;white-space:nowrap}.btn-edit:hover{background:#007bff;color:#fff}.rebuttal-edit-container{background:#fff;border:2px solid #007bff;border-radius:12px;box-shadow:0 4px 12px #007bff1a;margin-top:1.5rem;padding:1.5rem}.edit-section-header{align-items:center;border-bottom:2px solid #dee2e6;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.edit-section-header h4{color:#333;font-size:1.2rem;margin:0}.edit-actions{display:flex;gap:.75rem}.btn-save-edit:hover{background:#218838;box-shadow:0 2px 4px #28a7454d;transform:translateY(-1px)}.edit-tabs{border-bottom:2px solid #dee2e6;display:flex;gap:.5rem;margin-bottom:1.5rem}.edit-content{margin-top:1rem}.edit-tab-content label{color:#333;font-size:.95rem;font-weight:600}.edit-textarea{min-height:300px}.edit-instructions,.edit-textarea{background:#fff;border:1px solid #e0e0e0;border-radius:8px;color:#333;transition:border-color .2s,box-shadow .2s}.edit-instructions{min-height:100px}.ai-editing-note,.ai-preview-note{margin-top:1rem}.ai-edit-layout{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-top:1rem}@media (max-width:1200px){.ai-edit-layout{grid-template-columns:1fr}}.ai-edit-left{gap:1rem}.ai-edit-left,.ai-edit-right{display:flex;flex-direction:column}.complaint-reference{border:2px solid #e0e0e0;max-height:600px}.complaint-reference-collapsible{border:1px solid #dee2e6;border-radius:4px;padding:0}.complaint-reference-collapsible summary{list-style:none}.complaint-reference-collapsible summary::-webkit-details-marker{display:none}.text-truncated{color:#999;font-style:italic}.text-length-note{border-top:1px solid #f0f0f0;color:#666;font-size:.85rem;font-style:italic;margin-top:.75rem;padding-top:.75rem}.no-complaint-text{color:#999;font-style:italic;padding:2rem;text-align:center}.complaint-reference-footer{border-top:2px solid #f0f0f0;display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;padding-top:1rem}.source-chunks-section{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e0e6ed;border-radius:12px;margin-top:1.5rem;overflow:hidden}.source-chunks-details{width:100%}.source-chunks-details>summary{align-items:center;background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;justify-content:space-between;list-style:none;padding:16px 20px;transition:all .3s ease}.source-chunks-details>summary::-webkit-details-marker{display:none}.source-chunks-details>summary:after{content:"▼";font-size:.75rem;opacity:.8;transition:transform .3s ease}.source-chunks-details[open]>summary:after{transform:rotate(180deg)}.source-chunks-details>summary:hover{background:linear-gradient(135deg,#2d5a87,#3d6a97)}.source-chunks-header-content{align-items:center;display:flex;gap:10px}.source-chunks-icon{font-size:1.2rem}.source-chunks-count-badge{background:#fff3;border-radius:20px;font-size:.85rem;font-weight:700;margin-left:8px;padding:4px 12px}.source-chunks-list{display:flex;flex-direction:column;gap:12px;max-height:600px;overflow-y:auto;padding:16px}.source-chunks-list::-webkit-scrollbar{width:8px}.source-chunks-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.source-chunks-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.source-chunks-list::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.source-chunk-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000d;overflow:hidden;transition:all .2s ease}.source-chunk-item:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014;transform:translateY(-1px)}.source-chunk-header{align-items:center;background:linear-gradient(135deg,#f8fafc,#eef2f7);border-bottom:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:12px 16px}.source-chunk-header-left{gap:12px}.source-chunk-header-left,.source-chunk-title-section{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;min-width:0}.source-chunk-title-section{gap:10px}.source-chunk-number{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:20px;color:#fff;display:inline-flex;flex-shrink:0;font-size:.8rem;font-weight:700;justify-content:center;letter-spacing:.5px;padding:6px 14px;text-transform:uppercase}.source-chunk-preview{color:#475569;display:inline-block;flex:1 1;font-size:.85rem;font-style:italic;font-weight:500;line-height:1.4;max-width:100%;max-width:600px;min-width:0;overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;word-break:normal}.source-chunk-relevance{align-items:center;border-radius:16px;display:inline-flex;font-size:.8rem;font-weight:600;gap:6px;padding:5px 12px}.source-chunk-relevance.high{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;color:#166534}.source-chunk-relevance.medium{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;color:#92400e}.source-chunk-relevance.low{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #fca5a5;color:#991b1b}.source-chunk-relevance-icon{font-size:.9rem}.source-chunk-actions{align-items:center;display:flex;gap:8px}.source-chunk-uri-link{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:6px;padding:6px 14px;text-decoration:none;transition:all .2s ease}.source-chunk-uri-link:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 2px 8px #2563eb4d;color:#fff;text-decoration:none;transform:translateY(-1px)}.source-chunk-uri-icon{font-size:.9rem}.source-chunk-body{padding:16px}.source-chunk-text{background:#f9fafb;border-left:4px solid #3b82f6;border-radius:8px;color:#374151;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;line-height:1.7;max-height:200px;overflow-y:auto;padding:14px 16px;white-space:pre-wrap;word-break:break-word}.source-chunk-text::-webkit-scrollbar{width:6px}.source-chunk-text::-webkit-scrollbar-track{background:#e5e7eb;border-radius:3px}.source-chunk-text::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:3px}.source-chunk-footer{align-items:center;background:#f8fafc;border-top:1px solid #e2e8f0;color:#64748b;display:flex;font-size:.8rem;justify-content:space-between;padding:10px 16px}.source-chunk-meta{align-items:center;display:flex;gap:16px}.source-chunk-meta-item{align-items:center;display:flex;gap:4px}.source-chunk-meta-icon{opacity:.7}.source-chunk-expand-btn{background:#0000;border:1px solid #cbd5e1;border-radius:4px;color:#64748b;cursor:pointer;font-size:.75rem;font-weight:500;padding:4px 10px;transition:all .2s ease}.source-chunk-expand-btn:hover{background:#e2e8f0;color:#475569}.source-chunks-empty{color:#64748b;padding:40px 20px;text-align:center}.source-chunks-empty-icon{font-size:3rem;margin-bottom:12px;opacity:.5}.source-chunks-empty-text{font-size:.95rem}.pdf-viewer-modal{align-items:center;animation:fadeIn .2s ease;background:#000000bf;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:10000}.pdf-viewer-modal-content{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;height:90vh;max-width:95vw;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.pdf-viewer-modal-header{align-items:center;background:linear-gradient(135deg,#1e3a5f,#2d5a87);border-radius:12px 12px 0 0;color:#fff;display:flex;justify-content:space-between;padding:16px 20px}.pdf-viewer-modal-title{align-items:center;display:flex;flex:1 1;font-size:1.1rem;font-weight:600;gap:8px;min-width:0}.pdf-viewer-search-hint{font-size:.85rem;font-style:italic;font-weight:400;opacity:.9}.pdf-viewer-modal-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.2rem;height:32px;justify-content:center;transition:all .2s ease;width:32px}.pdf-viewer-modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.pdf-viewer-modal-body{display:flex;flex:1 1;flex-direction:column;overflow:hidden;position:relative}.pdf-viewer-modal-iframe{border:none;flex:1 1;height:100%;width:100%}.pdf-viewer-search-instructions{background:#f0f9ff;border-top:2px solid #3b82f6;color:#1e40af;font-size:.85rem;padding:12px 20px}.pdf-viewer-search-instructions p{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin:0}.pdf-viewer-search-instructions code{background:#dbeafe;border-radius:4px;color:#1e3a8a;font-family:Monaco,Courier New,monospace;font-size:.9em;font-weight:600;padding:4px 8px}.pdf-viewer-with-highlight{background:#f5f5f5;display:flex;flex-direction:column;height:100%}.pdf-viewer-controls{align-items:center;background:#fff;border-bottom:1px solid #e0e0e0;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:12px 16px}.pdf-controls-center,.pdf-controls-left,.pdf-controls-right{align-items:center;display:flex;gap:8px}.pdf-controls-center button,.pdf-controls-left button,.pdf-controls-right button{background:#3b82f6;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;padding:6px 12px;transition:all .2s}.pdf-controls-center button:hover:not(:disabled),.pdf-controls-left button:hover:not(:disabled),.pdf-controls-right button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.pdf-controls-center button:disabled,.pdf-controls-left button:disabled{background:#cbd5e1;cursor:not-allowed;transform:none}.page-info,.search-results-info{color:#475569;font-size:.85rem;font-weight:500;padding:0 8px}.pdf-canvas-container{align-items:center;background:#525252;display:flex;flex:1 1;flex-direction:column;overflow:auto;padding:20px;position:relative}.pdf-canvas-container canvas{background:#fff;box-shadow:0 4px 12px #0000004d}.highlight-indicator{animation:pulse 2s infinite;background:#3b82f6;border-radius:20px;box-shadow:0 2px 8px #3b82f666;color:#fff;font-size:.85rem;font-weight:600;left:50%;padding:8px 16px;position:absolute;top:30px;transform:translateX(-50%);z-index:10}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.pdf-search-info{background:#f0f9ff;border-top:1px solid #bae6fd;color:#1e40af;font-size:.85rem;padding:12px 16px;text-align:center}.pdf-viewer-hybrid{background:#f5f5f5;display:flex;flex-direction:column;height:100%;width:100%}.pdf-search-banner{background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom:2px solid #1d4ed8;box-shadow:0 2px 8px #0000001a;color:#fff;padding:16px 20px;z-index:10}.search-banner-content{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;max-width:100%}.search-banner-text{flex:1 1;font-size:.9rem;line-height:1.6}.search-banner-text strong{display:block;font-size:1rem;margin-bottom:8px}.search-banner-text ol{margin:8px 0;padding-left:24px}.search-banner-text li{margin:6px 0}.search-banner-text kbd{background:#fff3;font-size:.85em;padding:3px 8px}.search-banner-text .search-query,.search-banner-text kbd{border:1px solid #ffffff4d;border-radius:4px;font-family:Monaco,Courier New,monospace;font-weight:600}.search-banner-text .search-query{background:#ffffff40;color:#fef3c7;display:inline-block;font-size:.9em;margin:0 4px;padding:4px 10px}.close-banner-btn{align-items:center;background:#fff3;border:1px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1rem;height:28px;justify-content:center;padding:0;transition:all .2s;width:28px}.close-banner-btn:hover{background:#ffffff4d;transform:scale(1.1)}.pdf-iframe-container{background:#525252;flex:1 1;overflow:hidden;position:relative}.pdf-viewer-iframe{border:none;display:block;height:100%;width:100%}.show-instructions-btn{background:#3b82f6;border:none;border-radius:8px;bottom:20px;box-shadow:0 2px 8px #0003;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:10px 16px;position:absolute;right:20px;transition:all .2s;z-index:100}.show-instructions-btn:hover{background:#2563eb;box-shadow:0 4px 12px #0000004d;transform:translateY(-2px)}.pdf-auto-search-indicator{animation:fadeInUp .3s ease;background:#3b82f6f2;border-radius:8px;bottom:20px;box-shadow:0 4px 12px #0003;color:#fff;font-size:.85rem;left:50%;padding:12px 20px;position:absolute;transform:translateX(-50%);z-index:100}@keyframes fadeInUp{0%{opacity:0;transform:translateX(-50%) translateY(10px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.edit-rebuttal-page{background:#f5f5f5;min-height:calc(100vh - 60px);width:100%}.edit-page-layout{display:flex;height:calc(100vh - 60px);width:100%}.error-container,.loading-container{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:400px}.edit-sidebar{background:#fff;border-right:1px solid #e0e0e0;box-shadow:2px 0 8px #0000001a;color:#333;display:flex;flex-direction:column;flex-shrink:0;width:280px}.sidebar-header{border-bottom:1px solid #e0e0e0;padding:1.5rem}.sidebar-header h2{color:#333;font-size:1.5rem;margin:0 0 1rem}.btn-back-sidebar{background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;color:#333;cursor:pointer;font-size:.9rem;font-weight:600;padding:.75rem;transition:all .2s;width:100%}.btn-back-sidebar:hover{background:#007bff;border-color:#007bff;color:#fff}.sidebar-nav{flex:1 1;overflow-y:auto;padding:1rem 0}.nav-section{margin-bottom:2rem;padding:0 1.5rem}.nav-section-title{color:#666;font-size:.75rem;font-weight:600;letter-spacing:1px;margin:0 0 .75rem;text-transform:uppercase}.nav-item{align-items:center;background:#0000;border:none;border-radius:4px;color:#333;cursor:pointer;display:flex;font-size:.95rem;gap:.5rem;margin-bottom:.5rem;padding:.75rem 1rem;text-align:left;transition:all .2s;width:100%}.nav-item:hover{background:#e7f3ff;color:#007bff}.nav-item.active{background:#007bff;color:#fff;font-weight:600}.nav-info-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;margin-bottom:.5rem;padding:.75rem 1rem}.nav-info-label{color:#666;display:block;font-size:.75rem;letter-spacing:.5px;margin-bottom:.25rem;text-transform:uppercase}.nav-info-value{color:#333;display:block;font-size:.9rem;font-weight:500;word-break:break-word}.nav-info-value.score-value{font-size:1.1rem;font-weight:700}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:#f1f1f1}.sidebar-nav::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#555}.edit-main-content{background:#f5f5f5;display:flex;flex:1 1;flex-direction:column;overflow:hidden}.edit-content-header{align-items:center;background:#fff;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 4px #0000000d;display:flex;justify-content:space-between;padding:1.5rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.edit-content-header h1{color:#333;font-size:1.75rem;margin:0}.edit-header-actions{gap:.75rem}.btn-back,.edit-header-actions{align-items:center;display:flex}.btn-back{background-color:#6c757d;border:none;border-radius:50%;box-shadow:0 2px 4px #0003;color:#fff;cursor:pointer;flex-shrink:0;font-size:1.5rem;font-weight:600;height:48px;justify-content:center;padding:0;transition:all .2s;width:48px}.btn-back:hover{background-color:#5a6268;box-shadow:0 4px 8px #0000004d;transform:scale(1.05)}.btn-back:active{transform:scale(.95)}.btn-back .back-arrow{align-items:center;display:flex;font-size:1.5rem;justify-content:center;line-height:1}.edit-header-content{flex:1 1}.edit-header h1{color:#333;font-size:2rem;margin:0 0 .5rem}.edit-header-info{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.complaint-info{color:#666;font-size:1rem}.score-badge{border-radius:6px;font-size:.9rem;font-weight:600;padding:.4rem .8rem;white-space:nowrap}.edit-content-container{grid-gap:2rem;display:grid;flex:1 1;gap:2rem;grid-template-columns:1fr 1fr;min-height:0;overflow:hidden;padding:2rem}.document-section-right,.edit-section-left{display:flex;flex-direction:column;min-height:0;overflow-y:auto}@media (max-width:1400px){.edit-content-container{grid-template-columns:1fr}.document-section-right{order:-1}}.edit-tabs{display:none}.edit-tab{background:#0000;border:none;border-bottom:3px solid #0000;color:#6c757d;cursor:pointer;font-size:.95rem;font-weight:600;margin-bottom:-2px;padding:.75rem 1.5rem;transition:all .2s}.edit-tab:hover{background:#f8f9fa;color:#007bff}.edit-tab.active{background:#0000;border-bottom-color:#007bff;color:#007bff}.edit-tab-content-wrapper{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;flex-direction:column;height:100%;min-height:500px;padding:1.5rem}.edit-tab-content-wrapper.ai-chatbox-container{border:none;box-shadow:none;padding:0}.edit-tab-content{display:flex;flex-direction:column;gap:1rem}.edit-textarea-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.edit-textarea-header label{color:#333;font-size:.95rem;font-weight:600;margin:0}.btn-toggle-view{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .2s;white-space:nowrap}.btn-toggle-view:hover{background:#5a6268;box-shadow:0 2px 4px #0003;transform:translateY(-1px)}.edit-textarea{border:2px solid #dee2e6;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:.95rem;line-height:1.6;min-height:400px;padding:1rem;resize:vertical;transition:border-color .2s;width:100%}.edit-textarea:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.view-mode-note{background:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;font-size:.9rem;font-weight:500;margin-top:.75rem;padding:.75rem}.view-mode-note-small{color:#666;font-size:.85rem;font-style:italic}.ai-chatbox-container{padding:0}.ai-chatbox,.ai-chatbox-container{display:flex;flex-direction:column;height:100%}.ai-chatbox{background:#fff;border-radius:8px;overflow:hidden}.chat-messages{background:#f8f9fa;display:flex;flex:1 1;flex-direction:column;gap:1rem;overflow-y:auto;padding:1.5rem}.chat-welcome{color:#666;padding:2rem;text-align:center}.chat-welcome h4{color:#333;font-size:1.2rem;margin:0 0 1rem}.chat-welcome p{font-size:.95rem;margin:0 0 1rem}.chat-welcome ul{display:inline-block;margin:0;padding-left:1.5rem;text-align:left}.chat-welcome li{font-size:.9rem;margin-bottom:.5rem}.chat-message{animation:fadeIn .3s ease-in;display:flex;flex-direction:column;max-width:80%}.chat-message.user{align-self:flex-end}.chat-message.assistant{align-self:flex-start}.chat-message-content{word-wrap:break-word;border-radius:12px;padding:.75rem 1rem}.chat-message.user .chat-message-content{background:#007bff;border-bottom-right-radius:4px;color:#fff}.chat-message.assistant .chat-message-content{background:#fff;border:1px solid #e0e0e0;border-bottom-left-radius:4px;color:#333}.chat-message.assistant.error .chat-message-content{background:#f8d7da;border-color:#f5c6cb;color:#721c24}.chat-message-content p{font-size:.95rem;line-height:1.5;margin:0}.chat-message-time{color:#999;font-size:.75rem;margin-top:.25rem;padding:0 .5rem}.chat-message.user .chat-message-time{text-align:right}.chat-loading{align-items:center;display:flex;gap:.5rem}.chat-loading span{animation:bounce 1.4s ease-in-out infinite both;background:#007bff;border-radius:50%;height:8px;width:8px}.chat-loading span:first-child{animation-delay:-.32s}.chat-loading span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{opacity:.5;transform:scale(0)}40%{opacity:1;transform:scale(1)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-input-container{align-items:flex-end;background:#fff;border-top:1px solid #e0e0e0;display:flex;gap:.75rem;padding:1rem}.chat-input{border:1px solid #dee2e6;border-radius:8px;box-sizing:border-box;flex:1 1;font-family:inherit;font-size:.95rem;max-height:120px;padding:.75rem;resize:none;transition:border-color .2s}.chat-input:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.chat-input:disabled{background:#f8f9fa;cursor:not-allowed}.btn-send-chat{align-items:center;background:#007bff;border:none;border-radius:6px;box-shadow:0 1px 2px #007bff33;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:.875rem;font-weight:600;gap:.5rem;height:-webkit-fit-content;height:fit-content;justify-content:center;padding:.75rem 1.5rem;transition:all .2s ease;white-space:nowrap}.btn-send-chat:hover:not(:disabled){background:#0056b3;box-shadow:0 2px 4px #007bff4d;transform:translateY(-1px)}.btn-send-chat:active:not(:disabled){box-shadow:0 1px 2px #007bff33;transform:translateY(0)}.btn-send-chat:disabled{background:#6c757d;box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.btn-send-chat svg{flex-shrink:0}.btn-send-chat .spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#555}.attached-files-container{background:#fff;border-top:1px solid #e0e0e0;max-height:200px;overflow-y:auto;padding:1rem}.attached-files-header{color:#666;font-size:.85rem;font-weight:600;margin-bottom:.75rem}.attached-files-list{display:flex;flex-direction:column;gap:.5rem}.attached-file-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem;transition:all .2s}.attached-file-item.ready{background:#f0f9f4;border-color:#28a745}.attached-file-item.uploading{background:#fffbf0;border-color:#ffc107}.attached-file-item.error{background:#fff5f5;border-color:#dc3545}.attached-file-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.attached-file-name{color:#333;font-size:.9rem;font-weight:600}.attached-file-size{color:#666;font-size:.8rem}.attached-file-status{color:#28a745;font-size:.75rem;font-weight:500}.attached-file-status.error{color:#dc3545}.btn-remove-file{align-items:center;background:#0000;border:none;border-radius:4px;color:#6c757d;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;opacity:.7;padding:.5rem;transition:all .2s}.btn-remove-file:hover{background:#f8f9fa;color:#dc3545;opacity:1}.btn-remove-file:active{background:#e9ecef}.btn-remove-file svg{flex-shrink:0}.chat-input-wrapper{align-items:flex-end;display:flex;flex:1 1;gap:.5rem}.file-upload-input{display:none}.btn-attach-file{align-items:center;background:#fff;border:1.5px solid #dee2e6;border-radius:6px;color:#495057;cursor:pointer;display:flex;flex-shrink:0;font-size:.75rem;font-weight:500;gap:.375rem;height:-webkit-fit-content;height:fit-content;justify-content:center;padding:.5rem .75rem;transition:all .2s ease;white-space:nowrap}.btn-attach-file:hover{background:#f8f9fa;border-color:#007bff;box-shadow:0 1px 3px #007bff26;color:#007bff}.btn-attach-file:active{box-shadow:0 1px 2px #0000001a;transform:translateY(1px)}.btn-attach-file:disabled{background:#f8f9fa;border-color:#e9ecef;color:#adb5bd;cursor:not-allowed;opacity:.6}.btn-attach-file svg{flex-shrink:0;height:14px;width:14px}.message-attachments{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.message-attachment-badge{background:#fff3;border-radius:4px;display:inline-block;font-size:.8rem;font-weight:500;padding:.25rem .5rem}.chat-message.system{align-self:center;max-width:90%}.chat-message.system .chat-message-content{background:#e7f3ff;border:1px solid #b3d9ff;color:#004085}.saved-documents-container{background:#f8f9fa;border-top:1px solid #e0e0e0;max-height:200px;overflow-y:auto;padding:1rem}.saved-documents-header{color:#666;font-size:.85rem;font-weight:600;margin-bottom:.75rem}.saved-documents-list{display:flex;flex-direction:column;gap:.5rem}.saved-document-item{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem;transition:all .2s}.saved-document-item:hover{border-color:#007bff;box-shadow:0 1px 3px #007bff26}.saved-document-info{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.saved-document-name{color:#333;font-size:.9rem;font-weight:600}.saved-document-size{color:#666;font-size:.8rem}.saved-document-date{color:#999;font-size:.75rem}.btn-load-document{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;flex-shrink:0;font-size:.8rem;font-weight:500;padding:.5rem 1rem;transition:all .2s}.btn-load-document:hover{background:#0056b3;box-shadow:0 2px 4px #007bff4d;transform:translateY(-1px)}.btn-load-document:active{transform:translateY(0)}.ai-edit-left label{color:#333;font-size:.95rem;font-weight:600}.edit-instructions{border:2px solid #dee2e6;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:.95rem;min-height:150px;padding:1rem;resize:vertical;transition:border-color .2s;width:100%}.edit-instructions:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.btn-ai-edit{align-self:flex-start;background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.btn-ai-edit:hover:not(:disabled){background:#0056b3;box-shadow:0 2px 8px #007bff4d;transform:translateY(-1px)}.btn-ai-edit:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.ai-editing-note{background:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;font-size:.9rem;padding:1rem}.ai-preview-note{background:#d4edda;border:1px solid #28a745;border-radius:4px;color:#155724;font-size:.9rem;font-weight:500;padding:1rem}.rebuttal-preview{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;display:flex;flex-direction:column;max-height:500px;padding:1.5rem}.rebuttal-preview-header{border-bottom:2px solid #f0f0f0;margin-bottom:1rem;padding-bottom:1rem}.rebuttal-preview-header h5{color:#333;font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.preview-subtitle{color:#666;display:block;font-size:.9rem;font-weight:500;line-height:1.4}.rebuttal-preview-text{flex:1 1;overflow-y:auto;padding-right:.5rem}.rebuttal-text-preview{word-wrap:break-word;color:#333;font-size:.9rem;line-height:1.6;padding:.5rem;white-space:pre-wrap}.rebuttal-preview-footer{border-top:2px solid #f0f0f0;display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;padding-top:1rem}.rebuttal-preview-text::-webkit-scrollbar{width:8px}.rebuttal-preview-text::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.rebuttal-preview-text::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.rebuttal-preview-text::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:768px){.edit-page-layout{flex-direction:column}.edit-sidebar{max-height:200px;width:100%}.edit-main-content{width:100%}}.btn-score-again{background:#ffc107;border:none;border-radius:4px;color:#333;cursor:pointer;font-size:.9rem;font-weight:600;padding:.6rem 1.2rem;transition:all .2s}.btn-score-again:hover:not(:disabled){background:#e0a800;box-shadow:0 2px 4px #ffc1074d;transform:translateY(-1px)}.btn-score-again:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-save-edit{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.6rem 1.2rem;transition:all .2s}.btn-save-edit:hover:not(:disabled){background:#218838;box-shadow:0 2px 4px #28a7454d;transform:translateY(-1px)}.btn-save-edit:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-cancel-edit{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.6rem 1.2rem;transition:all .2s}.btn-cancel-edit:hover{background:#5a6268}.complaint-reference,.rebuttal-preview-panel{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000d;display:flex;flex-direction:column;height:100%;min-height:0;padding:1.5rem}.complaint-reference-header{border-bottom:2px solid #f0f0f0;margin-bottom:1rem;padding-bottom:1rem}.complaint-reference-header h5{color:#333;font-size:1.1rem;font-weight:600;margin:0 0 .5rem}.complaint-reference-subtitle{color:#666;display:block;font-size:.9rem;font-weight:500;line-height:1.4}.complaint-reference-text{flex:1 1;overflow-y:auto;padding-right:.5rem}.complaint-text-preview{word-wrap:break-word;color:#333;font-size:.9rem;line-height:1.6;white-space:pre-wrap}.complaint-reference-text::-webkit-scrollbar{width:8px}.complaint-reference-text::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.complaint-reference-text::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.complaint-reference-text::-webkit-scrollbar-thumb:hover{background:#555}.btn-primary{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.btn-primary:hover{background:#0056b3}
/*# sourceMappingURL=main.9e579dba.css.map*/