:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1e293b;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background-color:#f8fafc}a{font-weight:500;color:#2563eb;text-decoration:inherit;transition:color .2s ease}a:hover{color:#1d4ed8}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.2;color:#1e293b}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s ease}button:focus,button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}input,select,textarea{font-family:inherit;font-size:inherit}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;background:#f8fafc;padding:2rem}.login-background{position:absolute;inset:0;overflow:hidden;z-index:0}.login-gradient{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(135deg,#2563eb1a,#1e40af0d,#3b82f61a);animation:gradientShift 15s ease infinite}@keyframes gradientShift{0%,to{transform:rotate(0)}50%{transform:rotate(180deg)}}.login-card{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:3rem;width:100%;max-width:440px;position:relative;z-index:1;border:1px solid rgba(226,232,240,.8)}.login-header{text-align:center;margin-bottom:2.5rem}.login-logo{display:inline-flex;margin-bottom:1rem;filter:drop-shadow(0 4px 6px rgba(37,99,235,.2))}.login-logo-img{height:64px;width:auto;object-fit:contain;max-width:200px}.login-title{font-size:2rem;font-weight:700;color:#1e293b;margin:.5rem 0;letter-spacing:-.02em}.login-subtitle{font-size:1.125rem;color:#64748b;margin:.25rem 0;font-weight:500}.login-description{font-size:.875rem;color:#94a3b8;margin-top:.5rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.login-error{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem;font-weight:500}.form-group label{font-size:.875rem;font-weight:600;color:#374151;letter-spacing:.01em}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none;z-index:2;width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.input-wrapper{position:relative;display:flex;align-items:center;width:100%}.form-input{width:100%;padding:.875rem 1rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;color:#1f2937;background:#fff;transition:all .2s ease;font-family:inherit;box-sizing:border-box;line-height:1.5}.form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-input::placeholder{color:#9ca3af;opacity:1;font-size:.9375rem;padding-left:0;margin-left:0}.form-options{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;color:#6b7280;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;cursor:pointer;accent-color:#2563eb}.forgot-password{color:#2563eb;text-decoration:none;font-weight:500;transition:color .2s ease}.forgot-password:hover{color:#1d4ed8;text-decoration:underline}.login-button{width:100%;padding:.875rem 1.5rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 4px 6px -1px #2563eb4d;margin-top:.5rem}.login-button:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e3a8a);box-shadow:0 6px 8px -1px #2563eb66;transform:translateY(-1px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;text-align:center}.login-footer p{font-size:.75rem;color:#94a3b8;margin:0}@media(max-width:640px){.login-card{padding:2rem 1.5rem;margin:1rem}.login-title{font-size:1.75rem}}.dashboard{padding:2rem;max-width:1600px;margin:0 auto}.dashboard-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1rem}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.dashboard-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.dashboard-subtitle{color:#64748b;font-size:1rem;margin:0}.btn-primary{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none;border-radius:8px;font-weight:600;text-decoration:none;box-shadow:0 4px 6px -1px #2563eb4d;transition:all .2s ease}.btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#1e3a8a);box-shadow:0 6px 8px -1px #2563eb66;transform:translateY(-1px)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0;display:flex;align-items:center;gap:1rem;transition:all .2s ease}.stat-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px)}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.projects{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.stat-icon.documents{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.stat-icon.revisions{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.stat-icon.comments{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.stat-content{flex:1}.stat-label{font-size:.875rem;color:#64748b;margin:0 0 .25rem;font-weight:500}.stat-value{font-size:1.875rem;font-weight:700;color:#1e293b;margin:0;line-height:1.2}.dashboard-section{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0}.dashboard-section h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1.5rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.view-all-link{color:#2563eb;text-decoration:none;font-weight:500;font-size:.875rem;transition:color .2s ease}.view-all-link:hover{color:#1d4ed8;text-decoration:underline}.comment-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.status-card{padding:1rem;border-radius:8px;border:1px solid #e2e8f0}.status-card.open{background:#fef2f2;border-color:#fecaca}.status-card.addressed{background:#fffbeb;border-color:#fed7aa}.status-card.closed{background:#f0fdf4;border-color:#bbf7d0}.status-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-badge.open{background:#fee2e2;color:#dc2626}.status-badge.addressed{background:#fed7aa;color:#d97706}.status-badge.closed{background:#bbf7d0;color:#059669}.status-count{font-size:1.25rem;font-weight:700;color:#1e293b}.status-bar{height:8px;background:#0000001a;border-radius:4px;overflow:hidden}.status-bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.status-bar-fill.open{background:#dc2626}.status-bar-fill.addressed{background:#d97706}.status-bar-fill.closed{background:#059669}.completion-rate{text-align:center;padding-top:1.5rem;border-top:1px solid #e2e8f0}.completion-rate p{font-size:.875rem;color:#64748b;margin:0 0 1rem;font-weight:500}.completion-circle{position:relative;display:inline-block}.completion-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.completion-percentage{font-size:1.5rem;font-weight:700;color:#059669}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.project-card-mini{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.25rem;text-decoration:none;color:inherit;transition:all .2s ease}.project-card-mini:hover{background:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px);border-color:#cbd5e1}.project-card-mini h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.project-client{font-size:.875rem;color:#64748b;margin:0 0 .5rem}.project-date{font-size:.75rem;color:#94a3b8;margin:0}.empty-state{text-align:center;padding:3rem 2rem;color:#64748b}.empty-state p{margin:0 0 1.5rem;font-size:1rem}.quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.quick-action-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;text-decoration:none;color:#1e293b;transition:all .2s ease}.quick-action-card:hover{background:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px);border-color:#2563eb}.quick-action-card svg{color:#2563eb}.quick-action-card span{font-weight:500;font-size:.875rem}@media(max-width:768px){.dashboard{padding:1rem}.dashboard-header{flex-direction:column;gap:1rem}.stats-grid,.comment-status-grid,.projects-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(2,1fr)}}.settings{padding:2rem;max-width:1400px;margin:0 auto}.settings-loading{display:flex;align-items:center;justify-content:center;min-height:60vh}.settings-header{margin-bottom:2rem}.settings-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.settings-subtitle{color:#64748b;font-size:1rem;margin:0}.settings-container{display:grid;grid-template-columns:240px 1fr;gap:2rem}.settings-sidebar{display:flex;flex-direction:column;gap:.5rem}.settings-tab{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:.9375rem;font-weight:500;color:#64748b;text-align:left}.settings-tab:hover{background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.settings-tab.active{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border-color:#2563eb;box-shadow:0 4px 6px -1px #2563eb4d}.settings-tab svg{flex-shrink:0}.settings-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0}.settings-panel h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1.5rem}.settings-form{display:flex;flex-direction:column;gap:1.5rem}.form-group input,.form-group select{padding:.75rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;transition:all .2s ease;font-family:inherit}.disabled-input{background:#f1f5f9;color:#64748b;cursor:not-allowed}.form-help{font-size:.75rem;color:#94a3b8;margin:0}.toggle-group{display:flex;flex-direction:column;gap:1.5rem}.toggle-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.toggle-item label{font-size:.9375rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.toggle-description{font-size:.875rem;color:#64748b;margin:0}.toggle-switch{position:relative;display:inline-block;width:48px;height:28px;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e1;transition:.3s;border-radius:28px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#2563eb}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.settings-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e2e8f0}.settings-section h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.section-description{font-size:.875rem;color:#64748b;margin:0 0 1rem}.sessions-list{display:flex;flex-direction:column;gap:1rem}.session-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.session-device{font-weight:600;color:#1e293b;margin:0 0 .25rem;font-size:.9375rem}.session-info{font-size:.875rem;color:#64748b;margin:0}.session-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.session-badge.active{background:#d1fae5;color:#059669}.api-key-section{display:flex;flex-direction:column;gap:1rem}.api-key-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.api-key-name{font-weight:600;color:#1e293b;margin:0 0 .25rem;font-size:.9375rem}.api-key-info{font-size:.875rem;color:#64748b;margin:0}.integrations-list{display:flex;flex-direction:column;gap:1rem}.ai-provider-status{display:flex;flex-direction:column;gap:1.5rem;margin-top:1.5rem}.provider-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.provider-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.provider-header h4{margin:0;color:#1e293b;font-size:1.125rem}.provider-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.provider-badge.active{background:#d1fae5;color:#065f46}.provider-details{margin-bottom:1rem}.provider-details p{margin:.5rem 0;color:#64748b;font-size:.9375rem}.config-help{color:#f59e0b;font-size:.875rem;font-style:italic}.config-info{color:#059669;font-size:.875rem;margin:.25rem 0}.provider-actions{display:flex;gap:.75rem;flex-wrap:wrap}.ollama-models{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.ollama-models h5{margin:0 0 .75rem;color:#374151;font-size:.9375rem}.ollama-models ul{margin:0;padding-left:1.5rem;color:#64748b;font-size:.875rem}.ollama-models li{margin:.5rem 0}.test-result{margin-top:2rem;padding:1.5rem;border-radius:12px;border:2px solid}.test-result.success{background:#f0fdf4;border-color:#bbf7d0}.test-result.error{background:#fef2f2;border-color:#fecaca}.test-result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.test-result-header h4{margin:0;color:#1e293b}.test-status{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.test-status.success{background:#d1fae5;color:#065f46}.test-status.error{background:#fee2e2;color:#dc2626}.test-result-details{color:#374151;font-size:.9375rem}.test-result-details p{margin:.5rem 0}.test-error{color:#dc2626}.setup-instructions{margin-top:1rem}.setup-instructions h4{margin:1.5rem 0 .75rem;color:#1e293b;font-size:1rem}.setup-instructions h4:first-child{margin-top:0}.setup-instructions ol{margin:.75rem 0;padding-left:1.5rem;color:#64748b}.setup-instructions li{margin:.5rem 0;line-height:1.6}.setup-instructions code{background:#f1f5f9;padding:.125rem .5rem;border-radius:4px;font-family:Courier New,monospace;font-size:.875rem;color:#1e293b}.setup-instructions a{color:#2563eb;text-decoration:none}.setup-instructions a:hover{text-decoration:underline}.integration-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.integration-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;font-size:1.5rem;flex-shrink:0}.integration-name{font-weight:600;color:#1e293b;margin:0 0 .25rem;font-size:.9375rem}.integration-status{font-size:.875rem;color:#64748b;margin:0}.error-message{padding:.875rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem}.success-message{padding:.875rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#059669;font-size:.875rem}.radio-group{display:flex;flex-direction:column;gap:1rem}.radio-option{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#f8fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s ease}.radio-option:hover{background:#f1f5f9;border-color:#cbd5e1}.radio-option input[type=radio]{margin-top:.25rem;cursor:pointer}.radio-option input[type=radio]:checked+div{color:#1e293b}.radio-option:has(input[type=radio]:checked){background:#eff6ff;border-color:#2563eb}.radio-option strong{display:block;color:#1e293b;margin-bottom:.25rem;font-size:.9375rem}.radio-option p{margin:0;color:#64748b;font-size:.875rem}.provider-config-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.provider-config-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.provider-config-header h4{margin:0;color:#1e293b;font-size:1.125rem}.provider-config-actions{display:flex;align-items:center;gap:1rem;margin-top:1rem}.test-indicator{padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600}.test-indicator.success{background:#d1fae5;color:#065f46}.test-indicator.error{background:#fee2e2;color:#dc2626}.test-error-message{margin-top:.75rem;padding:.75rem;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;font-size:.875rem}.status-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.5rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.status-item{font-size:.9375rem;color:#64748b}.status-item strong{color:#1e293b;display:block;margin-bottom:.25rem;font-size:.875rem}@media(max-width:968px){.settings-container{grid-template-columns:1fr}.settings-sidebar{flex-direction:row;overflow-x:auto;padding-bottom:.5rem}.settings-tab{white-space:nowrap;min-width:140px}}.users-page{padding:2rem;max-width:1400px;margin:0 auto}.users-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.users-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.users-subtitle{color:#64748b;font-size:1rem;margin:0}.users-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.users-table{width:100%;border-collapse:collapse}.users-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.users-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em}.users-table td{padding:1rem;border-bottom:1px solid #e5e7eb;font-size:.9375rem;color:#1f2937}.users-table tbody tr:hover{background:#f9fafb}.users-table tbody tr:last-child td{border-bottom:none}.user-info{display:flex;align-items:center;gap:.75rem}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem}.role-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.role-badge.admin{background:#fef3c7;color:#92400e}.role-badge.user{background:#dbeafe;color:#1e40af}.status-badge.inactive{background:#fee2e2;color:#991b1b}.action-buttons{display:flex;gap:.5rem}.btn-icon{background:none;border:1px solid #e5e7eb;border-radius:6px;padding:.5rem;cursor:pointer;color:#6b7280;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-icon:hover{background:#f3f4f6;border-color:#d1d5db;color:#374151}.btn-icon-danger{color:#dc2626}.btn-icon-danger:hover{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.empty-state{text-align:center;padding:3rem;color:#6b7280}.empty-state p{margin:0}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a;animation:modalSlideIn .3s ease-out}.modal-close{background:none;border:none;cursor:pointer;color:#6b7280;padding:.5rem;border-radius:6px;transition:all .2s ease}.modal-error{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:8px;margin-bottom:1.5rem;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:.875rem}.form-group input,.form-group select{width:100%;padding:.75rem 1rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;color:#1f2937;background:#fff;transition:all .2s ease;font-family:inherit}.form-group input:focus,.form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group input:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:auto;cursor:pointer}.btn-primary,.btn-secondary,.btn-danger{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#1e3a8a);transform:translateY(-1px)}.btn-danger{background:#dc2626;color:#fff}.users-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.search-page{padding:2rem;max-width:1200px;margin:0 auto}.search-header{margin-bottom:2rem}.search-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.search-subtitle{color:#64748b;font-size:1rem;margin:0}.search-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:2rem}.search-form{margin-bottom:2rem}.search-input-group{display:flex;gap:1rem;margin-bottom:1.5rem}.search-type-selector{display:flex;gap:.5rem;background:#f3f4f6;padding:.25rem;border-radius:8px}.search-type-btn{padding:.5rem 1rem;border:none;background:transparent;border-radius:6px;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.search-type-btn.active{background:#fff;color:#2563eb;box-shadow:0 1px 2px #0000000d}.search-input-wrapper{flex:1;position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:1rem;color:#9ca3af;pointer-events:none}.search-input{width:100%;padding:.875rem 1rem .875rem 2.75rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:1rem;color:#1f2937;transition:all .2s ease}.search-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.clear-search{position:absolute;right:1rem;background:none;border:none;color:#9ca3af;cursor:pointer;padding:.25rem;display:flex;align-items:center;transition:color .2s ease}.clear-search:hover{color:#374151}.search-btn{padding:.875rem 1.5rem;display:flex;align-items:center;gap:.5rem}.search-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.5rem;background:#f8fafc;border-radius:8px}.filter-group select,.filter-group input[type=text],.filter-group input[type=date]{padding:.625rem .875rem;border:1.5px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#1f2937;background:#fff;transition:all .2s ease}.clear-filters{align-self:flex-end;padding:.625rem 1rem}.search-results{margin-top:2rem}.results-header{margin-bottom:1.5rem}.results-header h2{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.results-list{display:flex;flex-direction:column;gap:1rem}.result-card{padding:1.5rem;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s ease}.result-card:hover{border-color:#2563eb;box-shadow:0 4px 6px -1px #0000001a}.result-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.result-title{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.result-badge{display:inline-block;padding:.25rem .75rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.75rem;font-weight:600}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-badge.open{background:#fee2e2;color:#991b1b}.status-badge.addressed{background:#fef3c7;color:#92400e}.status-badge.closed{background:#d1fae5;color:#065f46}.confidence-badge{font-size:.75rem;color:#6b7280}.result-text{color:#374151;margin:.5rem 0;line-height:1.6}.result-normalized{color:#6b7280;font-size:.875rem;margin:.5rem 0;padding:.75rem;background:#f8fafc;border-radius:6px;border-left:3px solid #2563eb}.result-meta{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.meta-tag{font-size:.875rem;color:#6b7280}.result-link{color:#2563eb;text-decoration:none;font-size:.875rem;font-weight:500;transition:color .2s ease}.result-link:hover{color:#1d4ed8;text-decoration:underline}.empty-results{text-align:center;padding:4rem 2rem;color:#6b7280}.empty-results svg{margin-bottom:1rem;color:#9ca3af}.empty-results p{margin:.5rem 0;font-size:1.125rem}.activity-log-page{padding:2rem;max-width:1200px;margin:0 auto}.activity-header{margin-bottom:2rem}.activity-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.activity-subtitle{color:#64748b;font-size:1rem;margin:0}.activity-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{font-size:.875rem;font-weight:600;color:#374151}.filter-group select,.filter-group input{padding:.625rem .875rem;border:1.5px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#1f2937;background:#fff}.filter-group select:focus,.filter-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.activity-list{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.activity-item{display:flex;gap:1rem;padding:1.5rem;border-bottom:1px solid #e5e7eb;transition:background .2s ease}.activity-item:last-child{border-bottom:none}.activity-item:hover{background:#f9fafb}.activity-icon{flex-shrink:0}.activity-icon span{display:inline-block;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem}.icon-green{background:#d1fae5}.icon-blue{background:#dbeafe}.icon-red{background:#fee2e2}.icon-gray{background:#f3f4f6}.activity-content{flex:1}.activity-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.action-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.action-badge.green{background:#d1fae5;color:#065f46}.action-badge.blue{background:#dbeafe;color:#1e40af}.action-badge.red{background:#fee2e2;color:#991b1b}.action-badge.gray{background:#f3f4f6;color:#374151}.activity-time{font-size:.875rem;color:#6b7280}.activity-description{color:#374151;margin:.5rem 0;line-height:1.6}.activity-meta{font-size:.875rem;color:#9ca3af;margin:.5rem 0 0}.activity-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:2rem;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.pagination button:disabled{opacity:.5;cursor:not-allowed}.notifications-page{padding:2rem;max-width:1200px;margin:0 auto}.notifications-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.notifications-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.notifications-subtitle{color:#64748b;font-size:1rem;margin:0}.notifications-filters{display:flex;gap:.5rem;margin-bottom:2rem;padding:.5rem;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.filter-btn{padding:.625rem 1.25rem;border:none;background:transparent;border-radius:6px;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.filter-btn.active{background:#2563eb;color:#fff}.filter-btn:hover:not(.active){background:#f3f4f6}.notifications-list{display:flex;flex-direction:column;gap:1rem}.notification-item{display:flex;gap:1rem;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;cursor:pointer;transition:all .2s ease;position:relative}.notification-item:hover{box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-1px)}.notification-item.unread{border-left:4px solid #2563eb;background:#f8fafc}.notification-icon{flex-shrink:0;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.notification-icon.blue{background:#dbeafe}.notification-icon.green{background:#d1fae5}.notification-icon.yellow{background:#fef3c7}.notification-icon.gray{background:#f3f4f6}.notification-content{flex:1}.notification-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.notification-header h3{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.unread-dot{width:8px;height:8px;border-radius:50%;background:#2563eb;flex-shrink:0}.notification-message{color:#64748b;margin:.5rem 0;line-height:1.6}.notification-time{font-size:.875rem;color:#9ca3af}.notification-delete{flex-shrink:0;background:none;border:none;color:#9ca3af;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.notification-delete:hover{background:#fee2e2;color:#dc2626}.empty-state{text-align:center;padding:4rem 2rem;color:#6b7280}.empty-state svg{margin-bottom:1rem;color:#9ca3af}.empty-state p{margin:0;font-size:1.125rem}.notifications-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}.gemini-extraction-modal{max-width:600px}.extraction-info{margin-bottom:1.5rem}.extraction-info p{color:#64748b;margin-bottom:1rem;line-height:1.6}.pdf-info{background:#f8fafc;border-radius:8px;padding:1rem;border:1px solid #e2e8f0}.pdf-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e2e8f0}.pdf-item:last-child{border-bottom:none}.pdf-item strong{color:#1e293b}.pdf-item span{color:#64748b;font-size:.875rem}.extraction-progress{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f0f9ff;border-radius:8px;border:1px solid #bae6fd;margin:1rem 0}.progress-spinner{width:24px;height:24px;border:3px solid #e0f2fe;border-top-color:#0ea5e9;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.extraction-results{margin:1.5rem 0;padding:1rem;background:#f0fdf4;border-radius:8px;border:1px solid #bbf7d0}.success-message{display:flex;align-items:center;gap:.75rem;color:#16a34a;font-weight:600;margin-bottom:1rem}.results-preview{margin-top:1rem}.results-preview h4{font-size:.875rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.results-preview ul{list-style:none;padding:0;margin:0}.results-preview li{padding:.5rem 0;color:#475569;font-size:.875rem;line-height:1.5;border-bottom:1px solid #e2e8f0}.results-preview li:last-child{border-bottom:none}.results-preview li strong{color:#2563eb;margin-right:.5rem}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.btn-primary:disabled,.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.submission-manager{width:100%}.submission-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.submission-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0}.upload-form-card{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0}.upload-form-card h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1.5rem}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#374151}.form-group input[type=text]{padding:.75rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;transition:all .2s ease}.form-group input[type=text]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.file-upload{position:relative}.file-upload input[type=file]{position:absolute;opacity:0;width:0;height:0}.file-upload-label{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:2px dashed #cbd5e1;border-radius:8px;background:#f8fafc;cursor:pointer;transition:all .2s ease;font-size:.875rem;color:#64748b}.file-upload-label:hover{border-color:#2563eb;background:#eff6ff;color:#2563eb}.file-upload-label svg{flex-shrink:0}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.btn-secondary{padding:.75rem 1.5rem;background:#fff;color:#374151;border:1.5px solid #e5e7eb;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.submissions-list{margin-top:2rem}.submissions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.submissions-header h3{margin:0;color:#1e293b;font-size:1.25rem;font-weight:700}.submissions-count{color:#64748b;font-size:.875rem}.submissions-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;overflow-x:auto}.submissions-table{width:100%;border-collapse:collapse;min-width:1000px}.submissions-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.submissions-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.submissions-table td{padding:1rem;border-bottom:1px solid #e5e7eb;font-size:.9375rem;color:#1f2937;vertical-align:middle}.submissions-table tbody tr:hover{background:#f9fafb}.submissions-table tbody tr:last-child td{border-bottom:none}.file-status{display:flex;align-items:center;gap:.5rem;color:#059669}.file-status svg{flex-shrink:0}.file-status-missing{color:#9ca3af;font-style:italic}.submission-actions{display:flex;gap:.5rem;align-items:center}.action-button:hover:not(:disabled){background:#e5e7eb;border-color:#d1d5db;color:#1e293b}.action-button:disabled{opacity:.5;cursor:not-allowed}.action-button-view:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd;color:#1e40af}.action-button-extract:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd;color:#1e40af}.action-button-report{color:#059669}.action-button-report:hover:not(:disabled){background:#d1fae5;border-color:#86efac;color:#047857}.action-button-delete{color:#ef4444}.action-button-delete:hover:not(:disabled){background:#fee2e2;border-color:#fecaca;color:#dc2626}.submission-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0;transition:all .2s ease}.submission-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px)}.submission-header-card{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.submission-header-card h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.submission-date{font-size:.875rem;color:#64748b;margin:0}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;white-space:nowrap}.status-badge.submitted{background:#dbeafe;color:#1e40af}.status-badge.processing{background:#fef3c7;color:#92400e}.status-badge.completed{background:#d1fae5;color:#065f46}.submission-files{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;padding:1rem;background:#f8fafc;border-radius:8px}.file-info{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.file-info svg{flex-shrink:0;color:#94a3b8}.btn-review{width:100%;padding:.75rem 1rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s ease;box-shadow:0 4px 6px -1px #2563eb4d}.btn-review:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e3a8a);box-shadow:0 6px 8px -1px #2563eb66;transform:translateY(-1px)}.btn-review:disabled{opacity:.5;cursor:not-allowed}.comments-review-panel{background:#fff;border-radius:12px;padding:2rem;margin-top:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0}.review-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.review-header h3{font-size:1.25rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.review-subtitle{font-size:.875rem;color:#64748b;margin:0}.btn-close{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease}.btn-close:hover{background:#f1f5f9;color:#1e293b}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;gap:1rem}.loading-state p{color:#64748b;margin:0}.comments-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e2e8f0;margin-top:1.5rem}.comment-text{max-width:300px;word-wrap:break-word;line-height:1.5}.normalized-comment{max-width:300px;word-wrap:break-word;color:#64748b;font-style:italic}.category-badge{display:inline-block;padding:.25rem .75rem;background:#e0e7ff;color:#4338ca;border-radius:12px;font-size:.75rem;font-weight:500}.status-select{padding:.5rem .75rem;border:1.5px solid #e5e7eb;border-radius:6px;font-size:.875rem;cursor:pointer;background:#fff;transition:all .2s ease}.status-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.status-select.open{border-color:#fecaca;background:#fef2f2;color:#dc2626}.status-select.addressed{border-color:#fed7aa;background:#fffbeb;color:#d97706}.status-select.closed{border-color:#bbf7d0;background:#f0fdf4;color:#059669}.confidence-badge{display:inline-block;padding:.25rem .75rem;background:#f1f5f9;color:#475569;border-radius:12px;font-size:.75rem;font-weight:500}.btn-icon{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.btn-icon:hover{background:#f1f5f9;color:#2563eb}.empty-comments{text-align:center;padding:3rem;color:#64748b}.empty-comments-actions{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.extraction-progress{padding:2rem;text-align:center;margin-bottom:1.5rem}.extraction-progress-inline{margin-bottom:1.5rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.extraction-status-inline{display:flex;align-items:center;gap:.75rem;font-size:.9375rem;color:#1e293b;font-weight:500}.loading-spinner-small{width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.extraction-loader{margin-bottom:2rem}.loading-spinner-large{width:64px;height:64px;border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.extraction-status{font-size:1rem;color:#64748b;margin-top:1rem}.extraction-logs{margin-top:2rem;text-align:left;background:#f8fafc;border-radius:8px;padding:0;border:1px solid #e2e8f0;overflow:hidden}.logs-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}.logs-header:hover{background:#f1f5f9}.logs-header h4{margin:0;color:#1e293b;font-size:1rem;font-weight:600}.logs-toggle-icon{color:#64748b;transition:transform .2s ease;flex-shrink:0}.logs-toggle-icon.expanded{transform:rotate(180deg)}.logs-container{max-height:300px;overflow-y:auto;font-family:Courier New,monospace;font-size:.875rem;padding:0 1.5rem 1.5rem;background:#fff}.log-entry{display:flex;gap:1rem;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.log-entry:last-child{border-bottom:none}.log-time{color:#64748b;min-width:80px}.log-message{color:#1e293b;flex:1}.empty-state{text-align:center;padding:3rem;color:#64748b}.error-message{padding:.875rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem;margin-bottom:1rem}.success-message{padding:.875rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#059669;font-size:.875rem;margin-bottom:1rem}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content-large{max-width:95%;max-width:1400px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1.5rem 2rem;border-bottom:1px solid #e2e8f0}.modal-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.modal-subtitle{font-size:.875rem;color:#64748b;margin:0}.modal-close{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-close:hover:not(:disabled){background:#f1f5f9;color:#1e293b}.modal-close:disabled{opacity:.5;cursor:not-allowed}.modal-body{padding:2rem;overflow-y:auto;flex:1}@media(max-width:768px){.submissions-grid,.form-row{grid-template-columns:1fr}.comments-table-container{font-size:.75rem}.comments-table th,.comments-table td{padding:.75rem .5rem}.modal-content{max-width:100%;max-height:100vh;border-radius:0}.modal-header{padding:1rem 1.5rem}.modal-body{padding:1.5rem}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:modalSlideIn .3s ease-out}.modal-content-small{max-width:400px}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#1e293b}.modal-close{background:none;border:none;cursor:pointer;color:#6b7280;padding:.5rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#f3f4f6;color:#1e293b}.modal-form{padding:1.5rem}.modal-error,.modal-success{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.875rem;font-weight:500}.modal-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.modal-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:600;color:#374151}.form-group label .required{color:#dc2626}.form-group input{width:100%;padding:.75rem 1rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;color:#1f2937;background:#fff;transition:all .2s ease;font-family:inherit}.form-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group input::placeholder{color:#9ca3af}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;border:none}.btn-primary{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;box-shadow:0 4px 6px -1px #2563eb4d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e3a8a);box-shadow:0 6px 8px -1px #2563eb66;transform:translateY(-1px)}.btn-primary:disabled{opacity:.7;cursor:not-allowed}.btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#d1d5db}.btn-secondary:disabled{opacity:.7;cursor:not-allowed}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.report-view{min-height:100vh;background:#f8fafc;padding:2rem}.report-view-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}.report-view-loading .loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}.report-view-header{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.report-view-header>div{display:flex;align-items:center;gap:1.5rem}.report-view-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.report-subtitle{font-size:1rem;color:#64748b;margin:0}.btn-back{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#fff;color:#374151;border:1.5px solid #e5e7eb;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-back:hover{background:#f9fafb;border-color:#d1d5db;color:#1e293b}.report-view-content{max-width:1400px;margin:0 auto}.report-actions{display:flex;gap:12px;margin-bottom:24px;padding:16px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;flex-wrap:wrap}.report-actions button{display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:6px;font-weight:500;transition:all .2s;border:none;cursor:pointer}.report-actions .btn-secondary{background:#fff;color:#374151;border:1.5px solid #e5e7eb}.report-actions .btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.report-actions .btn-primary{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff}.report-actions .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e3a8a)}.report-actions button:disabled{opacity:.5;cursor:not-allowed}.report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;text-align:center;box-shadow:0 1px 3px #0000001a}.summary-label{font-size:.875rem;color:#64748b;font-weight:500;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.05em}.summary-value{font-size:2rem;font-weight:700;color:#1e293b}.summary-value.open{color:#dc2626}.summary-value.addressed{color:#d97706}.summary-value.closed{color:#059669}.comments-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 3px #0000001a}.comments-table{width:100%;border-collapse:collapse;background:#fff}.comments-table thead{background:#f8fafc;border-bottom:2px solid #e2e8f0}.comments-table th{padding:1rem;text-align:left;font-weight:600;font-size:.875rem;color:#374151;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.comments-table td{padding:1rem;border-bottom:1px solid #f1f5f9;font-size:.875rem;color:#1e293b;vertical-align:top}.comments-table tbody tr:hover{background:#f8fafc}.comments-table tbody tr:last-child td{border-bottom:none}.report-table .arrow-reference{font-weight:500;color:#475569;max-width:250px;word-wrap:break-word}.report-table .mapped-item{font-style:italic;color:#64748b;max-width:200px;word-wrap:break-word}.report-table .comment-text{max-width:400px;line-height:1.5;word-wrap:break-word}.comment-number{font-weight:600;color:#2563eb;font-family:Courier New,monospace}.status-badge.status-open{background:#fee2e2;color:#dc2626}.status-badge.status-addressed{background:#fef3c7;color:#d97706}.status-badge.status-closed{background:#d1fae5;color:#059669}.empty-comments{text-align:center;padding:3rem;color:#64748b;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.empty-comments p{margin:.5rem 0;font-size:1rem}.text-muted{color:#9ca3af;font-size:.875rem}@media(max-width:768px){.report-view{padding:1rem}.report-view-header{padding:1.5rem}.report-view-header h1{font-size:1.5rem}.report-actions{flex-direction:column}.report-actions button{width:100%;justify-content:center}.comments-table-container{font-size:.75rem}.comments-table th,.comments-table td{padding:.75rem .5rem}}.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:#f8fafc}.error-boundary-content{background:#fff;border-radius:12px;padding:3rem;max-width:600px;text-align:center;box-shadow:0 4px 6px -1px #0000001a}.error-boundary-content svg{color:#dc2626;margin-bottom:1.5rem}.error-boundary-content h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.error-boundary-content p{color:#64748b;margin:0 0 2rem;line-height:1.6}.error-details{text-align:left;margin:2rem 0;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.error-details summary{cursor:pointer;font-weight:600;color:#374151;margin-bottom:1rem}.error-details pre{font-size:.75rem;color:#dc2626;overflow-x:auto;white-space:pre-wrap;word-break:break-all}.error-actions{display:flex;gap:1rem;justify-content:center}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn-primary{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff}.btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#1e3a8a)}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.btn-secondary:hover{background:#e5e7eb}.sidebar{width:260px;min-height:100vh;background:linear-gradient(180deg,#1e293b,#0f172a);color:#fff;display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:100;box-shadow:2px 0 8px #0000001a}.sidebar-header{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#fff}.sidebar-logo-img{height:40px;width:auto;object-fit:contain}.sidebar-logo-text{display:flex;flex-direction:column}.logo-name{font-size:1.125rem;font-weight:700;line-height:1.2}.logo-subtitle{font-size:.75rem;color:#ffffffb3;line-height:1.2}.sidebar-nav{flex:1;padding:1rem 0;overflow-y:auto}.sidebar-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;color:#fffc;text-decoration:none;transition:all .2s ease;border-left:3px solid transparent}.sidebar-item:hover{background:#ffffff0d;color:#fff}.sidebar-item.active{background:#2563eb33;border-left-color:#2563eb;color:#fff;font-weight:600}.sidebar-icon{font-size:1.25rem;width:24px;text-align:center;flex-shrink:0}.sidebar-label{font-size:.9375rem}.sidebar-footer{padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}.sidebar-signout{width:100%;display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;background:none;border:none;color:#fffc;cursor:pointer;transition:all .2s ease;text-align:left;font-size:.9375rem;border-left:3px solid transparent}.sidebar-signout:hover{background:#dc26261a;border-left-color:#dc2626;color:#fff}@media(max-width:768px){.sidebar{width:240px;transform:translate(-100%);transition:transform .3s ease}.sidebar.open{transform:translate(0)}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc}.app{min-height:100vh;display:flex;flex-direction:row}.app-main{flex:1;margin-left:260px;padding:2rem;max-width:calc(100% - 260px);width:100%;background:#f8fafc;min-height:100vh}@media(max-width:768px){.app-main{margin-left:0;max-width:100%;padding:1rem}}.nav-logo{color:#fff;text-decoration:none;font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:.75rem;letter-spacing:-.02em;transition:opacity .2s ease}.nav-logo:hover{opacity:.9}.nav-logo-img{height:40px;width:auto;object-fit:contain}.nav-logo span{background:linear-gradient(135deg,#fff,#e2e8f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nav-links{display:flex;align-items:center;gap:.5rem;flex:1;margin-left:2rem}.nav-actions{display:flex;align-items:center;gap:1rem}.nav-link{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:6px;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .2s ease;white-space:nowrap}.nav-link:hover{background:#ffffff26;border-color:#ffffff4d}.nav-logout{padding:.5rem 1rem;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s ease}.nav-logout:hover{background:#ffffff26;border-color:#ffffff4d}.app-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc}.loading-spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.home{padding:2rem;max-width:1600px;margin:0 auto}.home-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.home-header h1{color:#1e293b;font-size:2rem;font-weight:700;letter-spacing:-.02em}.create-project-form{background:#fff;padding:2rem;border-radius:12px;margin-bottom:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0}.create-project-form h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1.5rem}.create-project-form .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.create-project-form .form-group{display:flex;flex-direction:column;gap:.5rem}.create-project-form .form-group label{font-size:.875rem;font-weight:600;color:#374151}.create-project-form .form-group input,.create-project-form .form-group select,.create-project-form .form-group textarea{padding:.75rem;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;transition:all .2s ease;font-family:inherit}.create-project-form .form-group input:focus,.create-project-form .form-group select:focus,.create-project-form .form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.create-project-form .form-group textarea{resize:vertical;min-height:80px}.create-project-form .form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.create-project-form form{display:flex;gap:1rem}.create-project-form input{flex:1;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.create-project-form button{padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;box-shadow:0 4px 6px -1px #2563eb4d;transition:all .2s ease}.create-project-form button:hover{background:linear-gradient(135deg,#1d4ed8,#1e3a8a);box-shadow:0 6px 8px -1px #2563eb66;transform:translateY(-1px)}.projects-list{margin-top:2rem}.projects-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.projects-header h2{margin:0;color:#1e293b;font-size:1.5rem;font-weight:700}.projects-count{color:#64748b;font-size:.875rem}.projects-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;overflow-x:auto}.projects-table{width:100%;border-collapse:collapse;min-width:1200px}.projects-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.projects-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.projects-table td{padding:1rem;border-bottom:1px solid #e5e7eb;font-size:.9375rem;color:#1f2937;vertical-align:middle}.projects-table tbody tr:hover{background:#f9fafb}.projects-table tbody tr:last-child td{border-bottom:none}.project-name-link{color:#2563eb;text-decoration:none;font-weight:600;transition:color .2s ease}.project-name-link:hover{color:#1d4ed8;text-decoration:underline}.location-cell{display:flex;align-items:center;color:#64748b}.description-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description-cell span{color:#64748b;cursor:help}.date-cell{color:#6b7280;font-size:.875rem;white-space:nowrap}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;white-space:nowrap}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.on-hold{background:#fef3c7;color:#92400e}.status-badge.completed{background:#dbeafe;color:#1e40af}.status-badge.archived{background:#f3f4f6;color:#6b7280}.action-link{display:inline-flex;align-items:center;gap:.5rem;color:#2563eb;text-decoration:none;font-size:.875rem;font-weight:500;transition:color .2s ease}.action-link:hover{color:#1d4ed8;text-decoration:underline}.action-link svg{flex-shrink:0}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;color:#64748b}.project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.project-card{background:#fff;padding:1.75rem;border-radius:12px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e2e8f0;text-decoration:none;color:inherit;transition:all .2s ease;position:relative;overflow:hidden}.project-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2563eb,#1e40af);transform:scaleX(0);transition:transform .2s ease}.project-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-color:#cbd5e1}.project-card:hover:before{transform:scaleX(1)}.project-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.project-card h3{color:#1e293b;margin:0;font-size:1.125rem;font-weight:600}.project-status{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;white-space:nowrap}.project-status.active{background:#d1fae5;color:#059669}.project-status.on-hold{background:#fef3c7;color:#d97706}.project-status.completed{background:#dbeafe;color:#1e40af}.project-status.archived{background:#f3f4f6;color:#6b7280}.project-client{color:#64748b;font-size:.875rem;margin:.5rem 0}.project-location{color:#64748b;font-size:.875rem;margin:.25rem 0}.project-card-footer{display:flex;flex-direction:column;gap:.25rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f1f5f9}.project-date{color:#7f8c8d;font-size:.9rem;margin-top:.5rem}.project-view{width:100%;padding:2rem;max-width:1600px;margin:0 auto}.project-view-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.project-view-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.project-subtitle{color:#64748b;font-size:1rem;margin:0}.document-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.document-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.document-meta{display:flex;flex-wrap:wrap;gap:.75rem}.meta-badge{display:inline-block;padding:.375rem .875rem;background:#f1f5f9;color:#475569;border-radius:6px;font-size:.875rem;font-weight:500}.documents-list{margin-bottom:2rem}.documents-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.documents-header h2{margin:0;color:#1e293b;font-size:1.5rem;font-weight:700}.documents-count{color:#64748b;font-size:.875rem}.documents-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;overflow-x:auto}.documents-table{width:100%;border-collapse:collapse;min-width:1000px}.documents-table thead{background:#f8fafc;border-bottom:2px solid #e5e7eb}.documents-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.documents-table td{padding:1rem;border-bottom:1px solid #e5e7eb;font-size:.9375rem;color:#1f2937;vertical-align:middle}.documents-table tbody tr{cursor:pointer;transition:background-color .2s ease}.documents-table tbody tr:hover{background:#f9fafb}.documents-table tbody tr.selected{background:#eff6ff;border-left:4px solid #2563eb}.documents-table tbody tr:last-child td{border-bottom:none}.document-number-cell{display:flex;align-items:center;gap:.75rem}.document-number-cell strong{color:#1e293b;font-weight:600}.selected-indicator{display:inline-block;padding:.125rem .5rem;background:#2563eb;color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.action-buttons,.project-actions{display:flex;gap:.5rem;align-items:center}.action-button{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;color:#374151;cursor:pointer;transition:all .2s ease;width:36px;height:36px}.action-button:hover{background:#e5e7eb;border-color:#d1d5db;color:#1e293b}.action-button-view:hover{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.action-button-edit:hover{background:#fef3c7;border-color:#fde68a;color:#92400e}.action-button-delete:hover{background:#fee2e2;border-color:#fecaca;color:#dc2626}.action-button svg{flex-shrink:0}.alert{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.9375rem}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.modal-body{padding:1.5rem}.modal-body p{margin:.5rem 0;color:#374151}.text-muted{color:#6b7280;font-size:.875rem}.btn-danger{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.document-details{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.revisions-list{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}.revision-link{text-decoration:none;color:inherit}.revision-card{background:#ecf0f1;padding:1rem;border-radius:6px;display:flex;gap:1rem;align-items:center;transition:background-color .2s}.revision-card:hover{background:#d5dbdb}.revision-code{font-weight:600;color:#2c3e50}.revision-status{padding:.25rem .75rem;background:#3498db;color:#fff;border-radius:12px;font-size:.85rem}.revision-upload{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-top:2rem}.revision-upload h3{margin-bottom:1rem;color:#2c3e50}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#2c3e50}.form-group input[type=text],.form-group input[type=file]{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.file-name{display:block;margin-top:.5rem;color:#27ae60;font-size:.9rem}.error-message{color:#e74c3c;margin:1rem 0;padding:.75rem;background:#fadbd8;border-radius:4px}.success-message{color:#27ae60;margin:1rem 0;padding:.75rem;background:#d5f4e6;border-radius:4px}.revision-upload button{padding:.75rem 1.5rem;background-color:#27ae60;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.revision-upload button:hover:not(:disabled){background-color:#229954}.revision-upload button:disabled{background-color:#95a5a6;cursor:not-allowed}.pdf-viewer{background:#fff;border-radius:8px;padding:1rem;box-shadow:0 2px 4px #0000001a}.pdf-controls{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1rem;padding:.5rem;background:#ecf0f1;border-radius:4px}.pdf-controls button{padding:.5rem 1rem;background:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer}.pdf-controls button:hover:not(:disabled){background:#2980b9}.pdf-controls button:disabled{background:#bdc3c7;cursor:not-allowed}.pdf-canvas-container{display:flex;justify-content:center;overflow:auto;max-height:80vh}.pdf-canvas{border:1px solid #ddd;box-shadow:0 2px 8px #0000001a}.pdf-viewer.loading,.pdf-viewer.error,.pdf-viewer.empty{padding:3rem;text-align:center;color:#7f8c8d}.revision-view{width:100%}.revision-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.revision-header h1{color:#2c3e50}.revision-actions{display:flex;gap:1rem}.revision-actions select,.revision-actions button{padding:.75rem 1.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;cursor:pointer}.revision-actions button{background:#3498db;color:#fff;border:none}.revision-actions button:hover{background:#2980b9}.export-button{padding:.75rem 1.5rem;background:#27ae60;color:#fff;text-decoration:none;border-radius:4px;font-size:1rem;display:inline-block;transition:background-color .2s}.export-button:hover{background:#229954}.pdf-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:2rem}.pdf-panel h3{margin-bottom:1rem;color:#2c3e50;font-size:1rem}.crs-table{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;margin-top:2rem}.crs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.crs-header h2{color:#2c3e50}.crs-stats{display:flex;gap:1rem}.crs-stats .stat{padding:.5rem 1rem;background:#ecf0f1;border-radius:4px;font-size:.9rem}.crs-stats .stat.open{background:#fadbd8;color:#c0392b}.crs-stats .stat.addressed{background:#fef5e7;color:#d68910}.crs-stats .stat.closed{background:#d5f4e6;color:#27ae60}.crs-filters{display:flex;gap:.5rem;margin-bottom:1rem}.crs-filters button{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;transition:all .2s}.crs-filters button:hover{background:#ecf0f1}.crs-filters button.active{background:#3498db;color:#fff;border-color:#3498db}.crs-table-container{overflow-x:auto}.crs-table-container table{width:100%;border-collapse:collapse}.crs-table-container th{background:#ecf0f1;padding:.75rem;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #bdc3c7}.crs-table-container td{padding:.75rem;border-bottom:1px solid #ecf0f1}.crs-table-container tr:hover{background:#f8f9fa}.comment-text,.normalized-comment{max-width:300px;word-wrap:break-word}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.85rem;font-weight:500}.status-select{padding:.5rem;border:1px solid #ddd;border-radius:4px;cursor:pointer}.zero-comments-indicator{margin-top:1.5rem;padding:1rem;background:#d5f4e6;color:#27ae60;border-radius:4px;text-align:center;font-weight:600;font-size:1.1rem}.empty-state{text-align:center;color:#7f8c8d;padding:2rem}@media(max-width:768px){.pdf-comparison{grid-template-columns:1fr}.app-main{padding:1rem}.crs-table-container{font-size:.9rem}}
