:root{--color-water-blue-dark: #004E9A;--color-water-blue-bright: #187BC0;--color-water-blue-tint: #E8F2FC;--color-red-clay-bright: #D15420;--color-red-clay-soft: rgba(209, 84, 32, .5);--color-slate-gray-dark: #464646;--color-metal-gray: #BCBCBC;--color-white: #ffffff;--color-black: #000000;--color-leaf-green-dark: #326820;--color-leaf-green-bright: #669B41;--color-amber: #DE9027;--color-clay-deep: #914115;--color-sky-bright: #1CA6DF;--brand-primary: var(--color-water-blue-dark);--brand-primary-hover: #003d7a;--brand-primary-soft: var(--color-water-blue-bright);--brand-accent: var(--color-red-clay-bright);--brand-accent-soft: var(--color-red-clay-soft);--surface: var(--color-white);--surface-muted: #f8fafc;--surface-tint: var(--color-water-blue-tint);--border: var(--color-metal-gray);--border-soft: #e2e8f0;--text: var(--color-slate-gray-dark);--text-muted: #787878;--text-on-brand: var(--color-white);--text-link: var(--color-water-blue-bright);--shadow-input: 0 4px 4px rgba(0, 78, 154, .1), 0 8px 16px rgba(0, 78, 154, .25);--shadow-card: 0 2px 8px rgba(0, 0, 0, .04);--shadow-fab: 0 2px 8px rgba(0, 0, 0, .25);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-pill: 999px;--font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--surface);color:var(--text)}h1,h2,h3,h4,h5,h6{font-family:var(--font-display)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 32px;background:var(--surface);color:var(--text);border-bottom:1px solid var(--border);position:relative;z-index:10;min-height:88px}.header-brand{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 auto}.header-logo{height:44px;width:44px;display:block;flex-shrink:0}.header-title{margin:0;font-family:var(--font-display);font-size:19px;font-weight:600;line-height:24px;letter-spacing:.4px;color:var(--color-black);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:var(--surface);border:1px solid var(--text);border-radius:var(--radius-md);color:var(--text);font-family:var(--font-body);font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;transition:background .15s,color .15s,border-color .15s;white-space:nowrap}.header-btn:hover{background:var(--surface-tint);border-color:var(--brand-primary);color:var(--brand-primary)}.header-btn--primary{background:var(--brand-primary);border-color:var(--brand-primary);color:var(--text-on-brand)}.header-btn--primary:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover);color:var(--text-on-brand)}.btn-tour-hint{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:2px;border-radius:50%;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.btn-tour-hint:hover{background:var(--brand-primary);color:var(--text-on-brand)}@media(max-width:1100px){.header-title{font-size:16px;line-height:1.3;letter-spacing:.3px}}@media(max-width:900px){.header-btn span{display:none}.header-btn{padding:8px}}@media(max-width:768px){.header{padding:14px 16px;min-height:auto}}.welcome-screen{display:flex;align-items:center;justify-content:center;width:100%}.welcome-content{max-width:800px;width:100%;text-align:center;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:12px}.welcome-content h1{margin:0;font-family:var(--font-display);font-size:32px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:var(--brand-primary)}.welcome-subtitle{font-family:var(--font-body);font-size:16px;color:var(--text-muted);margin:0;line-height:1.6;max-width:560px}.sources-container{margin-top:16px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.sources-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 16px;background:#f8fafc;border:none;cursor:pointer;font-family:inherit;font-size:.875rem;font-weight:600;color:var(--brand-primary);transition:background-color .2s}.sources-header:hover{background:#f1f5f9}.sources-header-left{display:flex;align-items:center;gap:8px}.sources-header-right{display:flex;align-items:center;gap:10px}.confidence-inline{padding:3px 10px;font-size:12px;font-weight:600;border-radius:999px;color:#fff;white-space:nowrap}.sources-list{display:flex;flex-direction:column;gap:2px;padding:8px;background:#fff}.source-card{display:flex;cursor:pointer;gap:12px;padding:12px;border-radius:6px;border-left:3px solid var(--color-leaf-green-bright);background:#f8fafc;transition:all .2s}.source-card:hover{background:#f1f5f9;border-left-color:var(--color-leaf-green-dark)}.source-row{display:flex;align-items:center;gap:10px;padding:6px 10px;cursor:pointer;height:32px}.source-badge{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:var(--color-leaf-green-bright);color:#fff;font-size:.7rem;font-weight:600;border-radius:4px}.source-citation{flex:1;font-weight:600;color:var(--brand-primary);font-size:.825rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-expand-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;border-radius:4px;transition:all .15s}.source-expand-btn:hover{background:#e2e8f0;color:var(--brand-primary);font-size:.875rem;margin-bottom:4px;text-decoration:underline}.source-details{display:flex;flex-direction:column;gap:2px;padding:4px 10px 8px 42px;font-size:.8rem;color:var(--text-muted);animation:slideDown .15s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.source-title{color:var(--text)}.source-chapter,.source-section{padding-left:8px}.source-highlight{outline:2px solid var(--color-leaf-green-bright);background:#50a05a14;animation:highlightPulse 2s ease}@keyframes highlightPulse{0%,to{background:#f8fafc}25%,75%{background:#d4edda;border-left-color:var(--color-leaf-green-dark)}}.source-card-active{outline:2px solid var(--color-leaf-green-bright);background:#50a05a14}.source-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:flex-end;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:1000}.source-modal-overlay.open{opacity:1;visibility:visible}.source-modal{background:#fff;width:40%;max-width:600px;min-width:420px;height:100%;padding:1rem;overflow-y:auto;position:relative;transform:translate(100%);transition:transform .3s ease;box-shadow:-6px 0 15px #00000040;border-left:1px solid rgba(0,0,0,.1)}.source-modal.open{transform:translate(0)}.close-button{position:absolute;top:.5rem;right:1rem;font-size:1.5rem;background:none;border:none;cursor:pointer}.citation-title{margin:0 2rem 1rem 0;font-size:1rem;font-weight:700;color:#1f2933}.source-content{margin-top:2rem;white-space:normal}.legal-header-panel{margin-bottom:1rem;padding:1rem;background:#f7f8fa;border:1px solid rgba(0,0,0,.08);border-radius:10px}.legal-header-text{display:flex;align-items:flex-start;gap:.75rem}.legal-header-text svg{flex-shrink:0;margin-top:.15rem}.legal-context{display:flex;flex-direction:column;gap:.4rem}.legal-context-title{font-size:.95rem;font-weight:700;color:#2f3a45}.legal-context-line,.legal-context-section{font-size:.85rem;color:#4b5563;line-height:1.35}.legal-context-section{margin-top:.25rem;color:#1f2933}.legal-section-title{margin:.25rem 0 0;font-size:1.05rem;font-weight:700;color:#1f2933;line-height:1.3}.citation-structured{display:flex;flex-direction:column;gap:1rem}.legal-section{display:flex;flex-direction:column;gap:.5rem;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:0;max-width:none;font-family:inherit}.legal-section-body{display:flex;flex-direction:column;gap:.4rem}.citation-row{line-height:1.45}.citation-line{display:flex;align-items:flex-start;gap:.35rem}.legal-subsection-label{font-weight:700;flex-shrink:0;color:#1f4e79}.citation-text{flex:1}.citation-plain{line-height:1.45;white-space:pre-wrap}.legal-source{margin-top:1.25rem;padding-top:.75rem;border-top:1px solid rgba(0,0,0,.08);font-size:.85rem;color:#4b5563}@media(max-width:768px){.source-modal{width:90%;min-width:unset;max-width:none}}.feedback-modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:2000;animation:overlayFadeIn .15s ease}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.feedback-modal{background:#fff;border-radius:12px;width:420px;max-width:90vw;box-shadow:0 16px 48px #00000026;animation:modalSlideIn .2s ease}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.feedback-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e2e8f0}.feedback-modal-title{display:flex;align-items:center;gap:10px;font-weight:600;font-size:.95rem;color:var(--text)}.feedback-icon-positive{color:var(--color-leaf-green-bright)}.feedback-icon-negative{color:#dc3545}.feedback-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;border-radius:6px;transition:all .15s}.feedback-modal-close:hover{background:#f1f5f9;color:var(--text)}.feedback-textarea{display:block;width:100%;padding:16px 20px;border:none;border-bottom:1px solid #e2e8f0;resize:vertical;font-family:inherit;font-size:.875rem;color:var(--text);line-height:1.5;outline:none;box-sizing:border-box}.feedback-textarea::placeholder{color:#a0aec0}.feedback-textarea:focus{background:#fafbfc}.feedback-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px}.feedback-btn-cancel{padding:8px 16px;border:1px solid #e2e8f0;background:#fff;color:var(--text-muted);font-family:inherit;font-size:.85rem;font-weight:500;border-radius:6px;cursor:pointer;transition:all .15s}.feedback-btn-cancel:hover{background:#f8fafc;border-color:#cbd5e0}.feedback-btn-submit{padding:8px 20px;border:none;background:var(--brand-primary);color:#fff;font-family:inherit;font-size:.85rem;font-weight:600;border-radius:6px;cursor:pointer;transition:all .15s}.feedback-btn-submit:hover{background:var(--brand-primary-hover)}.feedback-btn-submit:disabled{opacity:.6;cursor:not-allowed}.feedback-buttons{display:flex;align-items:center;gap:4px;margin-top:8px;margin-bottom:4px}.feedback-thumb{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #e2e8f0;background:#fff;color:#a0aec0;border-radius:6px;cursor:pointer;transition:all .15s}.feedback-thumb:hover{background:#f8fafc;border-color:#cbd5e0;color:var(--text)}.feedback-thumb-active-positive{background:#f0fdf4;border-color:var(--color-leaf-green-bright);color:var(--color-leaf-green-bright)}.feedback-thumb-active-negative{background:#fef2f2;border-color:#dc3545;color:#dc3545}.feedback-thanks{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--color-leaf-green-bright);font-weight:500}.chat-message{display:flex;gap:12px;padding:24px 0;animation:fadeIn .3s ease}.chat-message.user{display:block;padding:32px 0 16px}.chat-message.assistant{display:block;padding:0 0 32px}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.user-question{display:flex;flex-direction:column;gap:24px;width:100%}.user-question-row{display:flex;align-items:center;gap:16px}.user-question-text{margin:0;flex:1;font-family:var(--font-body);font-size:18px;font-weight:600;line-height:27px;letter-spacing:.43px;color:var(--color-black)}.user-question-divider{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}.user-question-divider-line{flex:1;height:1px;background:var(--brand-accent)}.user-question-divider-chevron{display:inline-flex;align-items:center;justify-content:center;transform:rotate(90deg)}.message-content{flex:1;min-width:0;line-height:1.6;color:var(--text);font-family:var(--font-body);position:relative}.message-content p{margin:0 0 12px}.message-content p:last-child{margin-bottom:0}.message-content h1,.message-content h2,.message-content h3,.message-content h4,.message-content h5,.message-content h6{margin:16px 0 8px;font-family:var(--font-body);color:var(--brand-primary);font-weight:600}.message-content h1{font-size:1.25rem}.message-content h2{font-size:1.125rem}.message-content h3{font-size:1rem}.message-content ul,.message-content ol{margin:8px 0;padding-left:24px}.message-content li{margin:4px 0}.message-content blockquote{margin:12px 0;padding:12px 16px;background:var(--surface-muted);border-left:3px solid var(--brand-primary);border-radius:0 8px 8px 0;font-style:italic;color:var(--text-muted)}.message-content code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:.875em;font-family:SF Mono,Monaco,monospace}.message-content pre{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto;margin:12px 0}.message-content pre code{background:none;padding:0;color:inherit}.message-content hr{border:none;border-top:1px solid var(--border-soft);margin:16px 0}.message-content a{color:var(--text-link);text-decoration:underline}.message-content strong{font-weight:600;color:var(--text)}.message-text{display:inline}.message-text>*{display:inline}.message-text p{display:inline}.citation-link{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin:0 2px;background:var(--color-leaf-green-bright);color:var(--text-on-brand);font-size:.7rem;font-weight:700;font-family:var(--font-body);border:none;border-radius:4px;cursor:pointer;transition:background .15s,transform .15s;vertical-align:middle}.citation-link:hover{background:var(--color-leaf-green-dark);transform:scale(1.1)}.confidence-badge{position:absolute;bottom:4px;right:4px;font-size:.7rem;font-weight:700;color:#fff;padding:2px 8px;border-radius:var(--radius-pill);transition:transform .15s,background-color .15s}.confidence-badge:hover{transform:scale(1.1)}.streaming-cursor{display:inline-block;color:var(--brand-primary);font-weight:400;margin-left:1px;animation:cursorBlink .8s step-end infinite;vertical-align:baseline}@keyframes cursorBlink{0%,to{opacity:1}50%{opacity:0}}.source-highlight{animation:highlightPulse 2s ease}@keyframes highlightPulse{0%,to{background:var(--surface-muted)}25%,75%{background:#d4edda;border-left-color:var(--color-leaf-green-dark)}}.chat-input-container{background:var(--surface);border-radius:var(--radius-xl);padding:12px 12px 12px 24px;box-shadow:var(--shadow-input);display:flex;align-items:center;gap:16px;margin:0 auto;max-width:700px;width:100%;box-sizing:border-box}.chat-input-wrapper{display:flex;flex:1;align-items:center;background:transparent;border:none;padding:0;width:100%;min-width:0}.chat-input-wrapper textarea{flex:1 1 auto;min-width:0;border:none!important;outline:none!important;background:transparent!important;resize:none;overflow-y:auto;scrollbar-width:none;font-family:var(--font-body);font-size:14px;line-height:1.6;padding:8px 0;margin:0;color:var(--text);min-height:24px;max-height:200px;box-shadow:none!important;-webkit-appearance:none;appearance:none}.chat-input-wrapper textarea::-webkit-scrollbar{width:0;height:0;display:none}.chat-input-wrapper textarea:focus{outline:none;box-shadow:none}.chat-input-wrapper textarea::placeholder{color:#00000080;letter-spacing:.43px;font-size:13px}.chat-input-wrapper textarea:disabled{opacity:.6;background:transparent}.chat-input-wrapper button{flex-shrink:0;width:40px;height:40px;border:none;border-radius:var(--radius-md);background:var(--brand-primary);color:var(--text-on-brand);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .15s,transform .1s,opacity .15s;padding:0;margin:0}.chat-input-wrapper button:hover:not(:disabled){background:var(--brand-primary-hover)}.chat-input-wrapper button:active:not(:disabled){transform:scale(.95)}.chat-input-wrapper button:disabled{background:var(--brand-primary);opacity:.4;cursor:not-allowed}.chat-input-hint{margin:8px 0 0;font-size:12px;color:var(--text-muted);text-align:center}.loading-indicator{display:flex;gap:12px;padding:4px 20px 16px;background:#fff;animation:fadeIn .3s ease}.loading-indicator .message-avatar{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.loading-dots{display:flex;gap:4px;align-items:center;padding:8px 0}.loading-dots span{width:8px;height:8px;background:#94a3b8;border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.loading-dots span:nth-child(1){animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}.loading-content{display:flex;flex-direction:column;gap:4px;justify-content:center}.loading-phase-label{margin:0;font-size:.8rem;color:#94a3b8}.statistics-overlay{position:fixed;inset:0;background:#0014328c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:stretch;padding:0}.statistics-panel{background:#f1f5f9;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.statistics-header{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;background:var(--brand-primary);color:#fff;flex-shrink:0}.statistics-header-content{display:flex;align-items:center;gap:12px}.statistics-header h2{margin:0;font-size:1.25rem;font-weight:600}.statistics-close{background:#ffffff1a;border:none;color:#fff;padding:8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.statistics-close:hover{background:#fff3}.statistics-loading{padding:60px;text-align:center;color:var(--text-muted)}.statistics-content{padding:24px;overflow-y:auto;flex:1}.stats-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}@media(max-width:768px){.stats-overview{grid-template-columns:repeat(2,1fr)}}.stat-card{background:#fff;border-radius:10px;padding:16px;display:flex;align-items:center;gap:12px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.stat-icon{width:40px;height:40px;border-radius:8px;background:var(--brand-primary);color:#fff;display:flex;align-items:center;justify-content:center}.stat-value{font-size:1.5rem;font-weight:700;color:var(--brand-primary);line-height:1}.stat-label{font-size:.8rem;color:var(--text-muted);margin-top:2px}.title-selector{margin-bottom:24px}.title-selector label{display:block;font-weight:600;color:var(--text);margin-bottom:8px}.select-wrapper{position:relative}.select-wrapper select{width:100%;padding:12px 40px 12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;color:var(--text);background:#fff;appearance:none;cursor:pointer}.select-wrapper select:focus{outline:none;border-color:var(--brand-primary-soft);box-shadow:0 0 0 3px #187bc01a}.select-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.title-details h3{color:var(--brand-primary);font-size:1.125rem;margin:0 0 16px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}@media(max-width:768px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}.metric-card{background:#fff;border-radius:8px;padding:12px 16px;border-left:3px solid var(--color-leaf-green-bright)}.metric-header{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.metric-value{font-size:1.125rem;font-weight:600;color:var(--text)}.readability-section{margin-bottom:24px}.readability-section h4{color:var(--text);font-size:.9375rem;margin:0 0 12px}.readability-display{display:flex;align-items:center;gap:20px;background:#fff;border-radius:10px;padding:16px 20px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.readability-score{width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.25rem;font-weight:700;flex-shrink:0}.readability-info{flex:1}.readability-label{font-weight:600;color:var(--text);margin-bottom:8px}.readability-scale{width:100%}.scale-bar{height:8px;background:linear-gradient(to right,var(--brand-accent),var(--color-amber),var(--color-leaf-green-bright));border-radius:4px;position:relative}.scale-marker{position:absolute;top:-4px;width:16px;height:16px;background:#fff;border:3px solid var(--brand-primary);border-radius:50%;transform:translate(-50%);box-shadow:0 2px 4px #0003}.scale-labels{display:flex;justify-content:space-between;margin-top:4px;font-size:.7rem;color:var(--text-muted)}.chapters-section h4{color:var(--text);font-size:.9375rem;margin:0 0 12px}.chapters-chart{background:#fff;border-radius:10px;padding:16px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.chapter-bar-container{display:flex;align-items:center;gap:8px;margin-bottom:8px}.chapter-bar-container:last-child{margin-bottom:0}.chapter-name{width:50px;font-size:.75rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.chapter-bar-wrapper{flex:1;height:20px;background:#e2e8f0;border-radius:4px;overflow:hidden}.chapter-bar{height:100%;border-radius:4px;transition:width .3s ease}.chapter-value{width:30px;font-size:.75rem;color:var(--text);text-align:right;flex-shrink:0}.chapters-more{text-align:center;font-size:.8rem;color:var(--text-muted);margin-top:8px;padding-top:8px;border-top:1px solid #e2e8f0}.keywords-section{margin-top:24px}.keywords-section h4{color:var(--text);font-size:.9375rem;margin:0 0 12px}.keywords-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px;padding:12px 16px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.legend-item{display:flex;align-items:center;gap:6px}.legend-color{width:12px;height:12px;border-radius:3px;flex-shrink:0}.legend-label{font-size:.75rem;color:var(--text)}.keywords-chart{background:#fff;border-radius:10px;padding:16px;position:relative;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.stacked-bar-container{display:flex;align-items:center;gap:8px;margin-bottom:6px}.stacked-bar-container:last-child{margin-bottom:0}.stacked-bar-label{width:50px;font-size:.75rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.stacked-bar-wrapper{flex:1;height:24px;background:#e2e8f0;border-radius:4px;overflow:hidden}.stacked-bar{height:100%;display:flex;border-radius:4px;overflow:hidden;min-width:20px}.stacked-segment{height:100%;transition:opacity .15s;cursor:pointer}.stacked-segment:hover{opacity:.8}.stacked-bar-total{width:40px;font-size:.75rem;color:var(--text);text-align:right;flex-shrink:0;font-weight:500}.keyword-tooltip{position:fixed;background:#1e293b;color:#fff;padding:10px 14px;border-radius:8px;font-size:.8125rem;z-index:200;transform:translate(-50%,-100%);pointer-events:none;box-shadow:0 4px 12px #0000004d;max-width:300px}.keyword-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#1e293b}.tooltip-chapter{font-size:.75rem;color:#94a3b8;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-keyword{display:flex;align-items:center;gap:6px}.tooltip-color{width:10px;height:10px;border-radius:2px;flex-shrink:0}.similarity-section{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}.similarity-section h4{color:var(--text);font-size:.9375rem;margin:0 0 8px}.similarity-description{font-size:.8125rem;color:var(--text-muted);margin:0 0 16px;line-height:1.5}.similarity-selectors{display:flex;gap:16px;margin-bottom:16px}@media(max-width:640px){.similarity-selectors{flex-direction:column}}.similarity-select-group{flex:1;min-width:0}.similarity-select-group label{display:block;font-weight:500;color:var(--text);margin-bottom:6px;font-size:.8125rem}.similarity-results{background:#fff;border-radius:10px;padding:16px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.selected-section-info{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.selected-section-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);margin-bottom:4px}.selected-section-title{font-weight:600;color:var(--brand-primary);font-size:.9375rem}.similar-sections-header{font-size:.8125rem;font-weight:600;color:var(--text);margin-bottom:12px}.similar-sections-list{display:flex;flex-direction:column;gap:8px}.similar-section-card{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.similar-section-rank{font-size:.75rem;font-weight:600;color:var(--text-muted);min-width:24px}.similar-section-content{flex:1;min-width:0}.similar-section-title{font-weight:500;color:var(--text);font-size:.875rem;margin-bottom:4px;word-break:break-word}.similar-section-source{font-size:.75rem;color:var(--text-muted)}.similar-section-score{text-align:center;flex-shrink:0}.score-badge{display:inline-block;padding:4px 10px;border-radius:12px;color:#fff;font-weight:600;font-size:.8125rem}.score-label{font-size:.65rem;color:var(--text-muted);margin-top:2px}.no-similarities{text-align:center;color:var(--text-muted);font-size:.875rem;padding:20px}.keyword-row{display:flex;align-items:center;flex-direction:column;gap:16px;margin-bottom:16px}.keyword-stats{display:flex;gap:24px}.keyword-item{display:flex;flex-direction:column;align-items:center}.keyword-header{width:100%;font-size:12px;font-weight:600;color:#666;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.keywords-summary-section{margin-top:24px}.keywords-description{font-size:13px;color:#666;margin-bottom:12px}.sim-overlay{position:fixed;inset:0;background:#0014328c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:stretch;padding:0}.sim-dashboard{background:#f1f5f9;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.sim-header{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;background:var(--brand-primary);color:#fff;flex-shrink:0}.sim-header-left{display:flex;align-items:center;gap:14px}.sim-header h2{margin:0;font-size:1.25rem;font-weight:600;letter-spacing:-.01em}.sim-header-sub{margin:2px 0 0;font-size:.8rem;opacity:.7;font-weight:400}.sim-close{background:#ffffff1a;border:none;color:#fff;padding:8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.sim-close:hover{background:#fff3}.sim-close-labeled{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:8px 12px;border-radius:8px;white-space:nowrap}.sim-close-labeled span{font-size:.85rem;font-weight:600;line-height:1}.sim-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--text-muted);font-size:.9375rem}.sim-loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:var(--brand-primary);border-radius:50%;animation:sim-spin .8s linear infinite}@keyframes sim-spin{to{transform:rotate(360deg)}}.sim-body{flex:1;overflow-y:auto;padding:24px 28px 40px}.sim-breadcrumb{display:flex;align-items:center;gap:4px;margin-bottom:20px;font-size:.8125rem}.sim-breadcrumb-sep{color:#94a3b8;flex-shrink:0}.sim-breadcrumb-btn{background:none;border:none;color:var(--brand-primary-soft);cursor:pointer;font-family:inherit;font-size:.8125rem;padding:2px 4px;border-radius:4px;transition:background .15s}.sim-breadcrumb-btn:hover{background:#187bc014}.sim-breadcrumb-btn.active{color:var(--text);font-weight:600;cursor:default}.sim-breadcrumb-btn.active:hover{background:none}.sim-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.sim-stat-card{background:#fff;border-radius:10px;padding:18px 16px;display:flex;align-items:center;gap:14px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a}.sim-stat-card.compact{padding:14px 16px;flex-direction:column;align-items:flex-start;gap:4px}.sim-stat-icon{width:40px;height:40px;border-radius:8px;background:var(--brand-primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sim-stat-card.accent-red .sim-stat-icon{background:var(--brand-accent)}.sim-stat-card.accent-orange .sim-stat-icon{background:var(--color-amber)}.sim-stat-card.accent-red .sim-stat-value{color:var(--brand-accent)}.sim-stat-card.accent-orange .sim-stat-value{color:var(--color-amber)}.sim-stat-value{font-size:1.5rem;font-weight:700;color:var(--brand-primary);line-height:1}.sim-stat-card.compact .sim-stat-value{font-size:1.375rem}.sim-stat-label{font-size:.75rem;color:var(--text-muted);margin-top:2px}.sim-guide{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:20px;box-shadow:0 1px 3px #0000000a;overflow:hidden}.sim-guide-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:14px 18px;background:#f0f4ff;border:none;border-bottom:1px solid transparent;cursor:pointer;font-family:inherit;font-size:.9rem;font-weight:600;color:var(--brand-primary);transition:background .15s}.sim-guide-toggle:hover{background:#e0eaff}.sim-guide-toggle-text{flex:1;text-align:left}.sim-guide-body{padding:18px 22px 22px;border-top:1px solid #e2e8f0}.sim-guide-section{margin-bottom:18px}.sim-guide-section:last-child{margin-bottom:0}.sim-guide-section h4{margin:0 0 6px;font-size:.8375rem;font-weight:600;color:var(--brand-primary)}.sim-guide-section p{margin:0;font-size:.8125rem;color:var(--text);line-height:1.6}.sim-guide-section em{font-style:italic}.sim-guide-buckets{display:flex;flex-direction:column;gap:8px;margin-top:10px}.sim-guide-bucket{display:flex;align-items:flex-start;gap:10px}.sim-guide-dot{width:12px;height:12px;border-radius:3px;flex-shrink:0;margin-top:3px}.sim-guide-bucket strong{display:block;font-size:.8rem;color:var(--text);margin-bottom:1px}.sim-guide-bucket span{font-size:.775rem;color:var(--text-muted);line-height:1.4}.sim-key-findings{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.sim-finding{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px 16px}.sim-finding-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#92400e}.sim-finding-header h4{margin:0;font-size:.775rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:#92400e}.sim-finding p{margin:0;font-size:.8125rem;color:#78350f;line-height:1.5}.sim-section-block{margin-bottom:24px}.sim-section-header h3{color:var(--brand-primary);font-size:1rem;margin:0 0 4px;font-weight:600}.sim-section-header p{color:var(--text-muted);font-size:.8125rem;margin:0 0 14px;line-height:1.4}.sim-section-header.with-search{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.sim-search{display:flex;align-items:center;gap:.45rem;min-width:260px;padding:.5rem .65rem;border:1px solid rgba(0,0,0,.14);border-radius:8px;background:#fff}.sim-search input{width:100%;border:none;outline:none;font-size:.9rem;background:transparent}.sim-legend-row{margin-bottom:14px}.sim-legend-label{font-size:.75rem;color:var(--text-muted);display:block;margin-bottom:6px}.sim-legend-gradient{display:flex;height:10px;border-radius:5px;overflow:hidden}.sim-legend-stop{flex:1}.sim-legend-range{display:flex;justify-content:space-between;font-size:.675rem;color:#94a3b8;margin-top:3px}.sim-tile-grid{display:flex;flex-wrap:wrap;gap:4px}.sim-tile{width:52px;height:52px;border-radius:6px;border:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;transition:transform .15s,box-shadow .15s;position:relative}.sim-tile:hover,.sim-tile.hovered{transform:scale(1.15);box-shadow:0 4px 14px #0000002e;z-index:2}.sim-tile-number{font-weight:700;font-size:.75rem;line-height:1}.sim-tile-sections{font-size:.6rem;opacity:.7;margin-top:2px}.sim-table-wrap{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 1px 3px #0000000a}.sim-table{width:100%;border-collapse:collapse;font-size:.8375rem}.sim-table thead th{background:#f8fafc;padding:10px 14px;text-align:left;font-weight:600;font-size:.7rem;text-transform:uppercase;letter-spacing:.4px;color:var(--text-muted);border-bottom:1px solid #e2e8f0;white-space:nowrap}.sim-table thead th.col-num{text-align:right;width:70px}.sim-table thead th.col-bar{width:180px}.sim-table tbody td{padding:10px 14px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.sim-table tbody td.col-num{text-align:right;font-variant-numeric:tabular-nums}.sim-table-row.clickable{cursor:pointer;transition:background .12s}.sim-table-row.clickable:hover{background:#f8fafc}.sim-table-tn{display:block;font-weight:600;color:var(--brand-primary);font-size:.75rem}.sim-table-name{display:block;color:var(--text);font-size:.8125rem;margin-top:1px;max-width:380px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-pct-hot{color:var(--brand-accent);font-weight:600}.sim-row-arrow{color:#94a3b8;flex-shrink:0}.sim-mini-bar{display:flex;height:14px;border-radius:3px;overflow:hidden;background:#f1f5f9}.sim-mini-bar>div{min-width:2px}.sim-title-header{margin-bottom:18px}.sim-back-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--brand-primary-soft);font-family:inherit;font-size:.8125rem;cursor:pointer;padding:4px 0;margin-bottom:8px;transition:opacity .15s,background .15s,border-color .15s}.sim-back-btn:hover{opacity:.7}.sim-back-btn.prominent{font-weight:700;color:var(--brand-primary);background:#187bc014;border:1px solid rgba(24,123,192,.18);border-radius:8px;padding:7px 10px;margin-bottom:12px}.sim-back-btn.prominent:hover{opacity:1;background:#187bc024;border-color:#187bc047}.sim-back-btn.prominent span{font-size:.85rem}.sim-title-header h3{margin:0;font-size:1.25rem;color:var(--text);font-weight:600}.sim-title-num{color:var(--brand-primary);margin-right:8px}.sim-title-bar-summary{background:#fff;border-radius:10px;padding:16px 18px;border:1px solid #e2e8f0;margin-bottom:20px;box-shadow:0 1px 3px #0000000a}.sim-title-bar-labels{display:flex;gap:16px;margin-bottom:10px}.sim-bucket-legend{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text)}.sim-bucket-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.sim-title-overall-bar{display:flex;height:32px;border-radius:6px;overflow:hidden;background:#f1f5f9}.sim-bar-seg{display:flex;align-items:center;justify-content:center;min-width:4px;transition:flex .3s}.sim-bar-seg span{color:#fff;font-size:.7rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);white-space:nowrap}.sim-title-overall-bar .sim-bar-seg span{font-size:.75rem}.sim-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.sim-chapter-list{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 1px 3px #0000000a;max-height:520px;overflow-y:auto}.sim-chapter-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:none;background:none;font-family:inherit;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .12s;text-align:left}.sim-chapter-row:last-child{border-bottom:none}.sim-chapter-row:hover{background:#f8fafc}.sim-chapter-label{width:100px;flex-shrink:0}.sim-chapter-num{display:block;font-weight:600;font-size:.8125rem;color:var(--text)}.sim-chapter-count{display:block;font-size:.7rem;color:#94a3b8}.sim-chapter-bar{flex:1;display:flex;height:18px;border-radius:4px;overflow:hidden;background:#f1f5f9}.sim-cross-list{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 1px 3px #0000000a;max-height:520px;overflow-y:auto}.sim-cross-card{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #f1f5f9}.sim-cross-card:last-child{border-bottom:none}.sim-cross-rank{font-size:.7rem;font-weight:700;color:#94a3b8;width:20px;text-align:center;flex-shrink:0}.sim-cross-info{flex:1;min-width:0}.sim-cross-name{font-size:.8125rem;color:var(--text);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-cross-meta{font-size:.7rem;color:#94a3b8}.sim-cross-stats{text-align:center;flex-shrink:0;min-width:48px}.sim-cross-count{font-weight:700;font-size:.9375rem;color:var(--brand-primary)}.sim-cross-score{font-weight:700;font-size:.9375rem}.sim-cross-label{font-size:.625rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px}.sim-cross-go{background:none;border:1px solid #e2e8f0;border-radius:6px;padding:6px;cursor:pointer;color:#94a3b8;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0}.sim-cross-go:hover{color:var(--brand-primary-soft);border-color:var(--brand-primary-soft);background:#187bc00f}.sim-chapter-detail{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}.sim-section-list{background:#fff;border-radius:10px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 1px 3px #0000000a;max-height:600px;overflow-y:auto}.sim-section-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 14px;border:none;background:none;font-family:inherit;cursor:pointer;border-bottom:1px solid #f1f5f9;text-align:left;transition:background .12s}.sim-section-row:last-child{border-bottom:none}.sim-section-row:hover{background:#f8fafc}.sim-section-row.active{background:#eff6ff;border-left:3px solid var(--brand-primary)}.sim-section-info{flex:1;min-width:0}.sim-section-num{display:block;font-weight:600;font-size:.75rem;color:var(--brand-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-section-name{display:block;font-size:.8rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-section-badge{padding:3px 8px;border-radius:10px;color:#fff;font-weight:600;font-size:.7rem;flex-shrink:0;white-space:nowrap}.sim-matches-panel{background:#fff;border-radius:10px;border:1px solid #e2e8f0;padding:18px;box-shadow:0 1px 3px #0000000a;min-height:300px}.sim-matches-panel .sim-section-header{margin-bottom:0}.sim-matches-panel .sim-section-header h3{margin-bottom:2px}.sim-matches-panel .sim-section-header p{margin-bottom:16px;font-weight:500;color:var(--brand-primary);font-size:.875rem}.sim-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;color:#94a3b8;text-align:center;font-size:.875rem}.sim-match-list{display:flex;flex-direction:column;gap:8px}.sim-match-card{background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.sim-match-card-header{display:flex;align-items:center;gap:10px;padding:12px 14px}.sim-match-rank{font-size:.75rem;font-weight:700;color:#94a3b8;min-width:24px;padding-top:2px}.sim-match-body{flex:1;min-width:0}.sim-match-title{font-weight:500;color:var(--text);font-size:.8375rem;margin-bottom:4px;word-break:break-word}.sim-match-source{font-size:.75rem;color:var(--text-muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sim-match-tag{display:inline-block;padding:1px 6px;border-radius:4px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.tag-internal{background:#dbeafe;color:#1e40af}.tag-cross{background:#fef3c7;color:#92400e}.sim-match-score{padding:5px 10px;border-radius:8px;color:#fff;font-weight:700;font-size:.8125rem;flex-shrink:0;white-space:nowrap}.sim-match-expand-btn{background:none;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;color:#94a3b8;padding:3px 6px;display:flex;align-items:center;flex-shrink:0;transition:color .15s,border-color .15s,background .15s}.sim-match-expand-btn:hover{color:var(--brand-primary);border-color:var(--brand-primary);background:#e8f0fb}.sim-tooltip{position:fixed;background:#1e293b;color:#fff;padding:10px 14px;border-radius:8px;font-size:.75rem;z-index:200;transform:translate(-50%,calc(-100% - 12px));pointer-events:none;box-shadow:0 4px 14px #0000004d;max-width:320px;line-height:1.5;white-space:normal;overflow-wrap:break-word;transition:none}.sim-citation-panel{margin:10px 0 6px;border-radius:6px;overflow:hidden;border:1px solid #d0d7e2}.sim-citation-label{font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);padding:5px 10px;background:#f1f5f9;border-bottom:1px solid #d0d7e2}.sim-citation-box-wrap{display:flex;align-items:stretch}.sim-citation-box{flex:1;max-height:240px;overflow-y:auto;padding:10px 12px;font-size:.8rem;line-height:1.6;color:var(--text);background:#fff;scrollbar-width:thin}.sim-citation-box::-webkit-scrollbar{width:4px}.sim-citation-box::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.sim-citation-scroll-btns{display:flex;flex-direction:column;border-left:1px solid #d0d7e2;background:#f8fafc}.sim-citation-scroll-btn{flex:1;background:none;border:none;cursor:pointer;font-size:1.1rem;color:#94a3b8;padding:0 8px;line-height:1;transition:color .15s,background .15s}.sim-citation-scroll-btn:hover{color:var(--brand-primary);background:#e8f0fb}.sim-citation-scroll-btn:not(:last-child){border-bottom:1px solid #d0d7e2}.sim-citation-preamble{font-size:.78rem;color:var(--text);line-height:1.55;font-style:italic;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #e2e8f0}.sim-citation-subsection{margin-bottom:.6rem}.sim-citation-sub-row{display:flex;gap:6px;align-items:baseline}.sim-citation-sub-label{font-weight:700;color:var(--brand-primary);flex-shrink:0;font-size:.78rem}.sim-citation-sub-text{color:var(--text);font-size:.78rem;line-height:1.55}.sim-citation-list{margin:4px 0 0;padding-left:1.4rem;list-style-type:decimal;font-size:.78rem;color:var(--text);line-height:1.55}.sim-citation-list li{margin-bottom:3px}.sim-citation-plain{font-size:.78rem;color:var(--text);line-height:1.55;white-space:pre-wrap}.sim-citation-source{margin-top:8px;padding-top:6px;border-top:1px solid #e2e8f0;font-size:.72rem;color:#94a3b8}.sim-citation-loading{display:flex;flex-direction:column;gap:8px;padding:12px;background:#fff}.sim-citation-skeleton{height:12px;border-radius:4px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.4s infinite}.sim-citation-skeleton.short{width:60%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.sim-citation-error{padding:12px;font-size:.8rem;color:#dc2626;background:#fef2f2}@media(max-width:900px){.sim-two-col,.sim-chapter-detail{grid-template-columns:1fr}}@media(max-width:768px){.sim-stats-row,.sim-stats-row.four-col{grid-template-columns:repeat(2,1fr)}.sim-body{padding:16px}.sim-header{padding:14px 16px}.sim-close-labeled span{display:none}.sim-close-labeled{padding:8px}.sim-key-findings{grid-template-columns:1fr}.sim-section-header.with-search{flex-direction:column}.sim-search{width:100%;min-width:unset}.sim-tile{width:44px;height:44px}.sim-tile-number{font-size:.65rem}.sim-table-name{max-width:200px}}@media(max-width:480px){.sim-stats-row{grid-template-columns:1fr 1fr;gap:8px}.sim-tile{width:38px;height:38px}}:root{--auth-blue: var(--brand-primary);--auth-blue-soft: var(--brand-primary-soft);--auth-bg: #f1f5f9;--auth-card: #ffffff;--auth-border: #e2e8f0;--auth-border-soft: #f1f5f9;--auth-text: #334155;--auth-text-strong: #24313f;--auth-text-muted: var(--text-muted);--auth-shadow: 0 1px 3px rgba(0, 0, 0, .04);--auth-shadow-hover: 0 6px 18px rgba(15, 23, 42, .14);--auth-radius: 10px}.auth-overlay{position:fixed;inset:0;background:#0014328c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:stretch}.auth-dashboard{width:100%;height:100%;background:var(--auth-bg);overflow:hidden;display:flex;flex-direction:column}.auth-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:var(--auth-blue);color:#fff;flex-shrink:0;box-shadow:0 1px #ffffff14 inset}.auth-header-left{display:flex;align-items:center;gap:14px;min-width:0}.auth-header h2{margin:0;font-size:1.25rem;font-weight:600;letter-spacing:-.01em}.auth-header-sub{margin:2px 0 0;font-size:.8rem;opacity:.76;font-weight:400}.auth-close{background:#ffffff1f;border:none;color:#fff;padding:8px;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,transform .15s ease}.auth-close:hover{background:#fff3;transform:translateY(-1px)}.auth-loading,.auth-load-error{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--auth-text-muted);font-size:.9375rem;padding:24px}.auth-load-error{color:#9f1239}.auth-loading-spinner{width:32px;height:32px;border:3px solid var(--auth-border);border-top-color:var(--auth-blue);border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-body{flex:1;overflow-y:auto;padding:24px 28px 40px}.auth-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-bottom:20px;font-size:.8125rem}.auth-breadcrumb-sep{color:#94a3b8;flex-shrink:0}.auth-breadcrumb-btn{background:none;border:none;color:var(--auth-blue-soft);cursor:pointer;font-family:inherit;font-size:.8125rem;padding:2px 4px;border-radius:4px;transition:background .15s ease,color .15s ease}.auth-breadcrumb-btn:hover{background:#187bc014}.auth-breadcrumb-btn.active{color:var(--text);font-weight:600;cursor:default}.auth-breadcrumb-btn.active:hover{background:transparent}.auth-guide,.auth-table-wrap,.auth-subpanel,.auth-chapter-list,.auth-section-list,.auth-matches-panel{background:var(--auth-card);border:1px solid var(--auth-border);border-radius:var(--auth-radius);box-shadow:var(--auth-shadow)}.auth-stats-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:20px}.auth-stats-row.four-col{grid-template-columns:repeat(4,1fr)}.auth-stat-card{background:var(--auth-card);border-radius:var(--auth-radius);padding:18px 16px;display:flex;align-items:center;gap:14px;border:1px solid var(--auth-border);box-shadow:var(--auth-shadow);min-width:0}.auth-stat-card.compact{padding:14px 16px;flex-direction:column;align-items:flex-start;gap:4px}.auth-stat-icon{width:40px;height:40px;border-radius:8px;background:var(--auth-blue);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.auth-stat-card.accent-green .auth-stat-icon{background:#1e7f4f}.auth-stat-card.accent-red .auth-stat-icon{background:#c74b32}.auth-stat-card.accent-purple .auth-stat-icon{background:#7a5af8}.auth-stat-card.accent-slate .auth-stat-icon{background:#475569}.auth-stat-card.accent-green .auth-stat-value{color:#1e7f4f}.auth-stat-card.accent-red .auth-stat-value{color:#c74b32}.auth-stat-card.accent-purple .auth-stat-value{color:#7a5af8}.auth-stat-card.accent-slate .auth-stat-value{color:#475569}.auth-stat-value{font-size:1.5rem;font-weight:700;color:var(--auth-blue);line-height:1}.auth-stat-card.compact .auth-stat-value{font-size:1.375rem}.auth-stat-label{font-size:.75rem;color:var(--auth-text-muted);margin-top:2px}.auth-guide{margin-bottom:20px;overflow:hidden}.auth-guide-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:14px 18px;background:#f0f4ff;border:none;border-bottom:1px solid transparent;cursor:pointer;font-family:inherit;font-size:.9rem;font-weight:600;color:var(--auth-blue);transition:background .15s ease}.auth-guide-toggle:hover{background:#e4edff}.auth-guide-toggle-text{flex:1;text-align:left}.auth-guide-body{padding:18px 22px 22px;border-top:1px solid var(--auth-border)}.auth-guide-section+.auth-guide-section{margin-top:18px}.auth-guide-section h4{margin:0 0 6px;font-size:.8375rem;font-weight:600;color:var(--auth-blue)}.auth-guide-section p{margin:0;font-size:.8125rem;color:var(--text);line-height:1.6}.auth-key-findings{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.auth-finding{background:#f8fafc;border:1px solid #dbe7f3;border-radius:var(--auth-radius);padding:14px 16px}.auth-finding-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--auth-blue)}.auth-finding-header h4{margin:0;font-size:.775rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:var(--auth-blue)}.auth-finding p{margin:0;font-size:.8125rem;color:var(--auth-text);line-height:1.5}.auth-section-block{margin-bottom:24px}.auth-section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.auth-section-header.with-search{align-items:center}.auth-section-header h3{color:var(--auth-blue);font-size:1rem;margin:0 0 4px;font-weight:600}.auth-section-header p{color:var(--auth-text-muted);font-size:.8125rem;margin:0;line-height:1.4}.auth-search{display:inline-flex;align-items:center;gap:8px;background:var(--auth-card);border:1px solid #dbe2ea;border-radius:8px;padding:0 10px;min-width:270px;height:38px;color:#94a3b8;box-shadow:0 1px 2px #00000008}.auth-search input{border:none;outline:none;width:100%;background:transparent;font:inherit;font-size:.8125rem;color:var(--auth-text)}.auth-legend-row{margin-bottom:14px}.auth-legend-label{font-size:.75rem;color:var(--auth-text-muted);display:block;margin-bottom:6px}.auth-legend-gradient{display:flex;height:10px;border-radius:5px;overflow:hidden}.auth-legend-stop{flex:1}.auth-legend-range{display:flex;justify-content:space-between;font-size:.675rem;color:#94a3b8;margin-top:3px}.auth-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}.auth-tile{min-height:82px;border-radius:8px;border:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;cursor:pointer;font-family:inherit;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;padding:12px;text-align:left}.auth-tile:hover{transform:translateY(-2px);box-shadow:var(--auth-shadow-hover);filter:saturate(1.05);z-index:2}.auth-tile-number{font-weight:700;font-size:.8rem;line-height:1.1}.auth-tile-sections,.auth-tile-pct{font-size:.68rem;opacity:.84}.auth-table-wrap{overflow:hidden}.auth-table{width:100%;border-collapse:collapse;font-size:.8375rem}.auth-table thead th{background:#f8fafc;padding:10px 14px;text-align:left;font-weight:600;font-size:.7rem;text-transform:uppercase;letter-spacing:.4px;color:var(--auth-text-muted);border-bottom:1px solid var(--auth-border);white-space:nowrap}.auth-table thead th.col-num{text-align:right;width:80px}.auth-table thead th.col-bar{width:180px}.auth-table tbody td{padding:10px 14px;border-bottom:1px solid var(--auth-border-soft);vertical-align:middle}.auth-table tbody td.col-num{text-align:right;font-variant-numeric:tabular-nums}.auth-table-row.clickable{cursor:pointer;transition:background .12s ease}.auth-table-row.clickable:hover{background:#f8fafc}.auth-table-tn{display:block;font-weight:600;color:var(--auth-blue);font-size:.75rem}.auth-table-name{display:block;color:var(--text);font-size:.8125rem;margin-top:1px;max-width:380px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-pct-hot{color:#c74b32;font-weight:600}.auth-row-arrow{color:#94a3b8;flex-shrink:0}.auth-mini-bar,.auth-title-overall-bar,.auth-chapter-bar{display:flex;overflow:hidden;background:#f1f5f9}.auth-mini-bar{height:14px;border-radius:4px}.auth-mini-bar>div,.auth-title-overall-bar>div,.auth-chapter-bar>div{min-width:2px}.auth-title-header{margin-bottom:18px}.auth-back-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--auth-blue-soft);font-family:inherit;font-size:.8125rem;cursor:pointer;padding:4px 0;margin-bottom:8px;transition:opacity .15s ease}.auth-back-btn:hover{opacity:.75}.auth-title-header h3{margin:0;font-size:1.25rem;color:var(--text);font-weight:600}.auth-title-num{color:var(--auth-blue);margin-right:8px}.auth-title-overall-bar{height:32px;border-radius:6px}.auth-bar-seg{display:flex;align-items:center;justify-content:center;min-width:4px;transition:flex .3s ease}.auth-bar-seg.labeled span{color:#fff;font-size:.72rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);white-space:nowrap}.auth-title-bar-labels{display:flex;gap:16px;margin-top:12px;flex-wrap:wrap}.auth-title-bar-labels.stacked{flex-direction:column;gap:8px}.auth-title-bar-labels.two-col-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.auth-bucket-legend{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text)}.auth-bucket-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.auth-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.auth-chapter-detail{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}.auth-chapter-list,.auth-section-list{overflow:hidden;max-height:600px;overflow-y:auto}.auth-chapter-row,.auth-section-row{width:100%;border:none;background:transparent;font-family:inherit;cursor:pointer;text-align:left;transition:background .12s ease}.auth-chapter-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--auth-border-soft)}.auth-chapter-row:last-child,.auth-section-row:last-child{border-bottom:none}.auth-chapter-row:hover,.auth-section-row:hover{background:#f8fafc}.auth-chapter-label{width:180px;flex-shrink:0;min-width:0}.auth-chapter-num{display:block;font-weight:600;font-size:.8125rem;color:var(--text)}.auth-chapter-count,.auth-chapter-title{display:block;font-size:.7rem;color:#94a3b8}.auth-chapter-title{margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-chapter-bar{flex:1;height:18px;border-radius:4px}.auth-subpanel{padding:16px 18px;margin-bottom:16px}.auth-subpanel:last-child{margin-bottom:0}.auth-subpanel h4{margin:0 0 12px;font-size:.875rem;color:var(--auth-blue);font-weight:600}.auth-issue-list{display:flex;flex-direction:column;gap:10px}.auth-issue-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8125rem;color:var(--auth-text)}.auth-issue-name{display:flex;align-items:center;gap:8px}.auth-section-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--auth-border-soft)}.auth-section-row.active{background:#eff6ff;border-left:3px solid var(--auth-blue)}.auth-section-info{flex:1;min-width:0}.auth-section-num{display:block;font-weight:600;font-size:.75rem;color:var(--auth-blue);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-section-name{display:block;font-size:.8rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-section-row-right{display:flex;align-items:center;gap:10px;flex-shrink:0}.auth-section-meta{font-size:.7rem;color:#94a3b8;white-space:nowrap}.auth-section-badge,.auth-status-pill{padding:3px 8px;border-radius:999px;color:#fff;font-weight:600;font-size:.7rem;flex-shrink:0;white-space:nowrap}.auth-matches-panel{padding:18px;min-height:300px}.auth-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;color:#94a3b8;text-align:center;font-size:.875rem}.auth-empty-state.compact{padding:16px;align-items:flex-start;text-align:left}.auth-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.auth-detail-card{background:#f8fafc;border-radius:8px;border:1px solid var(--auth-border);padding:12px 14px}.auth-detail-label{font-size:.68rem;color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.auth-detail-value,.auth-detail-value-row strong{font-size:.92rem;color:var(--auth-text)}.auth-detail-value-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.auth-citation-list{display:flex;flex-direction:column;gap:10px}.auth-citation-card{background:#f8fafc;border-radius:8px;border:1px solid var(--auth-border);padding:12px 14px}.auth-citation-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.auth-citation-type{font-size:.68rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.auth-citation-main{font-size:.84rem;color:var(--auth-text);line-height:1.55;margin-bottom:8px;word-break:break-word}.auth-citation-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:.72rem;color:#64748b}.auth-citation-raw{margin-top:8px;padding-top:8px;border-top:1px dashed #d8e0ea;font-size:.75rem;color:#64748b}.auth-tooltip{position:fixed;background:#1e293b;color:#fff;padding:10px 14px;border-radius:8px;font-size:.75rem;z-index:200;transform:translate(-50%,calc(-100% - 12px));pointer-events:none;box-shadow:0 4px 14px #0000004d;max-width:320px;line-height:1.5;white-space:normal;overflow-wrap:break-word}@media(max-width:1100px){.auth-stats-row,.auth-stats-row.auth-stats-row--overview{grid-template-columns:repeat(3,1fr)}.auth-detail-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.auth-two-col,.auth-chapter-detail,.auth-key-findings{grid-template-columns:1fr}.auth-section-header.with-search{flex-direction:column;align-items:stretch}.auth-search{min-width:0;width:100%}}@media(max-width:768px){.auth-body{padding:16px}.auth-header{padding:14px 16px}.auth-stats-row,.auth-stats-row.four-col,.auth-stats-row.auth-stats-row--overview{grid-template-columns:repeat(2,1fr)}.auth-table-name{max-width:200px}.auth-title-bar-labels.two-col-grid,.auth-detail-grid{grid-template-columns:1fr}.auth-chapter-label{width:140px}}@media(max-width:480px){.auth-stats-row,.auth-stats-row.four-col,.auth-stats-row.auth-stats-row--overview{grid-template-columns:1fr 1fr;gap:8px}.auth-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-section-row,.auth-chapter-row,.auth-citation-top{align-items:flex-start}.auth-section-row{flex-direction:column}.auth-section-row-right{width:100%;justify-content:space-between}.auth-citation-card.clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.auth-citation-card.clickable:hover{transform:translateY(-1px);box-shadow:0 8px 20px #00000014}.auth-citation-card.clickable:focus-visible{outline:2px solid #4f7cac;outline-offset:2px}.auth-citation-main{display:flex;align-items:center;justify-content:space-between;gap:8px}.auth-citation-link-text{color:#1f4f82;font-weight:600}}.source-modal-overlay{position:fixed;inset:0;background:#141e2873;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:999;display:flex;justify-content:flex-end;opacity:0;pointer-events:none;transition:opacity .2s ease}.source-modal-overlay.open{opacity:1;pointer-events:auto}.source-modal.statute-modal{position:relative;width:min(720px,50vw);height:100%;background:#fff;box-shadow:-10px 0 28px #0000002e;transform:translate(100%);transition:transform .25s ease;display:flex;flex-direction:column;overflow:hidden}.source-modal.statute-modal.open{transform:translate(0)}.source-modal.statute-modal h3{font-size:1.1rem;font-weight:600;margin:16px 20px 6px;color:#1f2d3a}.auth-statute-modal-title{margin:0 20px 4px;font-weight:600;font-size:.95rem;color:#2c3e50}.auth-statute-modal-context{margin:0 20px 12px;font-size:.8rem;color:#6b7c8f}.close-button{position:absolute;top:12px;right:14px;background:transparent;border:none;font-size:22px;cursor:pointer;color:#6b7c8f;transition:color .15s ease}.close-button:hover{color:#1f2d3a}.source-content{flex:1;overflow-y:auto;padding:16px 20px 24px;border-top:1px solid #e6ecf1}.auth-statute-content{font-size:.9rem;line-height:1.5;color:#24313f;white-space:pre-wrap}.auth-statute-content p{margin-bottom:10px}.auth-empty-state.compact{font-size:.85rem;color:#6b7c8f}.auth-load-error{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#c74b32}.source-content::-webkit-scrollbar{width:8px}.source-content::-webkit-scrollbar-thumb{background:#788ca066;border-radius:4px}.source-content::-webkit-scrollbar-thumb:hover{background:#788ca099}.auth-citation-link{background:none;border:none;padding:0;margin:0;font:inherit;display:inline-flex;align-items:center;gap:6px;color:#1f5fa9;cursor:pointer;text-decoration:underline}.auth-citation-link:hover{color:#163f70}.statute-loading-state,.statute-error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;text-align:center;padding:32px 20px}.statute-loading-state p,.statute-error-state p{margin:12px 0 0;color:#475569}.statute-error-state h4{margin:0 0 8px;color:#0f172a;font-size:1.05rem}.statute-loading-spinner{width:32px;height:32px;border:3px solid #dbe4ee;border-top-color:#4f7cac;border-radius:50%;animation:statute-spin .8s linear infinite}@keyframes statute-spin{to{transform:rotate(360deg)}}.statute-section{display:flex;flex-direction:column;gap:16px;color:#1f2937}.statute-header-panel{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;background:#f8fafc;border:1px solid #dbe4ee;border-radius:14px}.statute-header-text{display:flex;flex-direction:column;gap:10px;min-width:0}.statute-section-title{margin:0;font-size:1.35rem;line-height:1.25;font-weight:700}.statute-meta-row{display:flex;flex-wrap:wrap;gap:8px}.statute-citation-chip,.statute-meta-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.82rem;line-height:1}.statute-citation-chip{background:#dbeafe;color:#1d4ed8;font-weight:700}.statute-meta-chip{background:#eef2f7;color:#475569}.statute-heading{margin:0;font-size:1rem;font-weight:700;color:#0f172a}.statute-context{padding:10px 12px;border-left:4px solid #94a3b8;background:#f8fafc;border-radius:8px;font-size:.92rem;color:#334155;word-break:break-word}.statute-body-wrap{display:flex;flex-direction:column;gap:10px}.statute-section-block{display:flex;flex-direction:column;gap:12px}.statute-section-text{font-size:1rem;line-height:1.6;font-weight:600;color:#0f172a}.statute-node{display:flex;flex-direction:column;gap:8px}.statute-line{display:flex;align-items:flex-start;gap:10px}.statute-marker{min-width:24px;font-weight:700;color:#0f4c81;flex-shrink:0}.statute-body{line-height:1.65;color:#1f2937;white-space:pre-wrap}.statute-children{display:flex;flex-direction:column;gap:10px}.statute-node-subsection>.statute-line .statute-marker{color:#1d4ed8}.statute-node-number>.statute-line .statute-marker{color:#7c3aed}.statute-node-clause>.statute-line .statute-marker{color:#0f766e}.statute-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;background:#f8fafc}.chat-sidebar{width:260px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;height:100%;flex-shrink:0}.sidebar-header{padding:32px;display:flex;align-items:center}.new-chat-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:12px 24px;background:var(--brand-primary);color:var(--text-on-brand);border:none;border-radius:var(--radius-md);font-family:var(--font-body);font-size:16px;font-weight:700;line-height:1.5;cursor:pointer;transition:background .15s}.new-chat-button:hover{background:var(--brand-primary-hover)}.sidebar-divider{height:1px;background:var(--brand-primary-soft);margin:0 32px}.sidebar-content{flex:1;overflow-y:auto;padding:32px}.sidebar-footer{position:relative;padding:16px 32px 20px;flex-shrink:0}.sidebar-user-btn{width:100%;display:inline-flex;align-items:center;gap:10px;padding:4px 0;background:transparent;border:none;font-family:var(--font-body);font-size:14px;font-weight:600;color:var(--brand-primary);cursor:pointer;text-align:left}.sidebar-user-btn:focus{outline:none}.sidebar-user-gear{flex-shrink:0;color:var(--text-muted);padding:6px;border-radius:50%;box-sizing:content-box;transition:background .15s,color .15s,stroke-width .15s}.sidebar-user-btn:hover .sidebar-user-gear,.sidebar-user-btn.is-open .sidebar-user-gear{background:var(--surface-tint, rgba(0, 78, 154, .04));color:var(--brand-primary);stroke-width:2.5}.sidebar-user-btn:focus-visible .sidebar-user-gear{outline:2px solid var(--brand-primary);outline-offset:2px}.sidebar-user-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-menu{position:absolute;bottom:calc(100% - 8px);left:32px;right:32px;background:#fff;border:1px solid var(--border, #e2e8f0);border-radius:var(--radius-md);box-shadow:0 8px 24px #0014322e;padding:4px;display:flex;flex-direction:column;z-index:10}.sidebar-user-menu-item{display:inline-flex;align-items:center;gap:10px;padding:8px 10px;background:transparent;border:none;border-radius:6px;font-family:var(--font-body);font-size:13px;font-weight:500;color:var(--text);cursor:pointer;text-align:left;transition:background .12s,color .12s}.sidebar-user-menu-item:hover{background:var(--surface-tint, rgba(0, 78, 154, .04));color:var(--brand-primary)}.sidebar-user-menu-item:hover svg{stroke-width:2.5}.sidebar-user-menu-item:focus-visible{outline:2px solid var(--brand-primary);outline-offset:-2px}.sidebar-user-menu-item svg{color:var(--text-muted);flex-shrink:0;transition:color .12s,stroke-width .12s}.sidebar-user-menu-item:hover svg{color:var(--brand-primary)}.sidebar-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 0;color:var(--text-muted);font-size:.875rem}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.sidebar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px 0;color:var(--text-muted);text-align:center}.sidebar-empty p{margin:0;font-size:.875rem}.sidebar-empty-hint{font-size:.75rem!important;color:#a0a0a0}.chat-list{display:flex;flex-direction:column;gap:16px}.chat-group{display:flex;flex-direction:column;gap:12px}.chat-group-label{font-family:var(--font-display);font-size:12px;font-weight:700;line-height:21px;letter-spacing:.34px;text-transform:uppercase;color:var(--text)}.chat-item{width:100%;display:block;padding:0;background:transparent;border:none;text-align:left;font-family:var(--font-display);font-size:12px;font-weight:400;line-height:21px;letter-spacing:.34px;color:var(--color-black);cursor:pointer;transition:color .15s}.chat-item:hover{color:var(--brand-primary)}.chat-item.active{color:var(--brand-primary);font-weight:600}.chat-item-title{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:768px){.chat-sidebar{width:100%;max-width:300px;position:fixed;left:0;top:0;bottom:0;z-index:50;transform:translate(-100%);transition:transform .2s ease}.chat-sidebar.open{transform:translate(0)}}.react-joyride__tooltip{font-family:inherit!important;border-radius:12px!important;padding:0!important}.tour-tooltip{background:#fff;border-radius:12px;box-shadow:0 12px 40px #0003;max-width:420px;overflow:hidden}.tour-tooltip-body{padding:20px 24px 16px}.tour-tooltip-title{font-size:1rem;font-weight:700;color:var(--brand-primary);margin:0 0 8px}.tour-tooltip-content{font-size:.875rem;line-height:1.6;color:var(--text);margin:0}.tour-tooltip-content em{color:var(--brand-primary);font-style:italic}.tour-tooltip-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:#f8fafc;border-top:1px solid #e2e8f0}.tour-tooltip-progress{font-size:.75rem;color:#94a3b8;font-weight:500}.tour-tooltip-buttons{display:flex;gap:8px}.tour-btn-skip{padding:6px 14px;background:none;border:1px solid #e2e8f0;border-radius:6px;color:var(--text-muted);font-size:.8rem;font-family:inherit;cursor:pointer;transition:all .15s}.tour-btn-skip:hover{background:#f1f5f9;border-color:#cbd5e1}.tour-btn-back{padding:6px 14px;background:none;border:1px solid #e2e8f0;border-radius:6px;color:var(--text);font-size:.8rem;font-family:inherit;cursor:pointer;transition:all .15s}.tour-btn-back:hover{background:#f1f5f9}.tour-btn-next{padding:6px 18px;background:var(--brand-primary);border:none;border-radius:6px;color:#fff;font-size:.8rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s}.tour-btn-next:hover{background:var(--brand-primary-hover)}.tour-btn-finish{padding:6px 18px;background:var(--color-leaf-green-bright);border:none;border-radius:6px;color:#fff;font-size:.8rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s}.tour-btn-finish:hover{background:#567f36}.app{height:100vh;background:var(--surface);position:relative;overflow:auto}.app-layout{display:flex;height:100%}.app-main{display:flex;flex-direction:column;flex:1;min-width:0}.main-content{display:flex;flex-direction:column;flex:1;width:100%;min-height:0;overflow-y:auto;padding:0 20px}.main-content.empty{justify-content:center;align-items:center;gap:30px}.main-content.has-messages .chat-area{flex:1}.chat-area{display:flex;flex-direction:column;width:100%;max-width:800px;margin:0 auto}.messages-container{flex:1;overflow-x:hidden}.messages{display:flex;flex-direction:column;padding:0 20px}.error-message{padding:12px 20px;margin:12px 0;background:#fef2f2;border:1px solid #fecaca;border-radius:var(--radius-md);color:#dc2626;font-size:.875rem}.error-message p{margin:0}.input-section{max-width:800px;width:100%;box-sizing:border-box;margin:0 auto;padding:10px 0;flex-shrink:0}.footer{padding:16px 32px;text-align:center;font-family:var(--font-body);font-size:10px;letter-spacing:.43px;color:var(--brand-primary);background:var(--surface-tint);border-top:1px solid var(--border);line-height:1.6;width:100%}.suggestions-wrap{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:32px;width:100%}.suggestions-label{margin:0;font-family:var(--font-display);font-size:14px;font-weight:600;color:var(--text);text-align:center}.suggestions{display:flex;flex-direction:row;gap:16px;justify-content:center;flex-wrap:wrap;width:100%}.suggestion-button{display:flex;flex-direction:column;align-items:center;gap:16px;width:170px;min-height:130px;padding:18px 16px 22px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);cursor:pointer;font-family:var(--font-body);font-size:13px;font-weight:400;line-height:1.45;color:var(--text);text-align:center;box-shadow:var(--shadow-card);transition:border-color .18s,transform .18s,box-shadow .18s}.suggestion-button:hover{border-color:var(--card-accent, var(--brand-accent));transform:translateY(-2px);box-shadow:0 6px 14px #00000014}.suggestion-rule{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:14px}.suggestion-rule-line{flex:1;height:1px;background:var(--card-accent, var(--brand-accent));opacity:.85}.suggestion-text{display:block;width:100%;word-break:break-word}:root{--pr-blue: var(--brand-primary, #004e9a);--pr-blue-soft: var(--brand-primary-soft, #187bc0);--pr-bg: #f1f5f9;--pr-card: #ffffff;--pr-border: #e2e8f0;--pr-border-soft: #f1f5f9;--pr-text: #334155;--pr-text-strong: #1f2937;--pr-muted: var(--text-muted, #64748b);--pr-green: #16803c;--pr-orange: #de9027;--pr-red: #d15420;--pr-purple: #6d28d9;--pr-slate: #475569;--pr-shadow: 0 1px 3px rgba(15, 23, 42, .05);--pr-shadow-hover: 0 8px 22px rgba(15, 23, 42, .13);--pr-radius: 12px}.pr-overlay{position:fixed;inset:0;z-index:100;background:#0014328c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pr-dashboard{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--pr-bg);color:var(--pr-text)}.pr-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 28px;background:var(--pr-blue);color:#fff}.pr-header-left,.pr-header-actions{display:flex;align-items:center;gap:13px}.pr-header-left h2{margin:0;font-size:1.22rem;font-weight:650}.pr-header-left p{margin:2px 0 0;font-size:.8rem;opacity:.78}.pr-header-primary,.pr-close{border:0;color:#fff;cursor:pointer;border-radius:8px}.pr-header-primary{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;background:#ffffff29;font-weight:650}.pr-header-primary:hover,.pr-close:hover{background:#ffffff3b}.pr-close{display:inline-flex;align-items:center;justify-content:center;padding:8px;background:#ffffff1f}.pr-toolbar{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:12px 28px;background:#fff;border-bottom:1px solid var(--pr-border)}.pr-search{flex:1;min-width:280px;display:flex;align-items:center;gap:8px;height:39px;padding:0 11px;background:#fff;border:1px solid #dbe2ea;border-radius:8px;color:#94a3b8}.pr-search input{width:100%;border:0;outline:0;background:transparent;color:var(--pr-text);font:inherit;font-size:.83rem}.pr-toolbar select{min-width:170px;height:39px;padding:0 30px 0 10px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:var(--pr-text);font:inherit;font-size:.8rem}.pr-toolbar select:first-of-type{min-width:235px}.pr-icon-button{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:var(--pr-blue);cursor:pointer}.pr-icon-button:hover{background:#f8fafc}.pr-body{flex:1;overflow-y:auto;padding:22px 28px 40px}.pr-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.pr-stat-card{min-width:0;display:flex;align-items:center;gap:12px;padding:15px;background:var(--pr-card);border:1px solid var(--pr-border);border-radius:10px;box-shadow:var(--pr-shadow)}.pr-stat-icon{width:39px;height:39px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--pr-blue);color:#fff}.pr-stat-value{font-size:1.45rem;line-height:1;font-weight:750;color:var(--pr-blue)}.pr-stat-label{margin-top:4px;font-size:.72rem;color:var(--pr-muted)}.pr-stat-card.accent-green .pr-stat-icon{background:var(--pr-green)}.pr-stat-card.accent-green .pr-stat-value{color:var(--pr-green)}.pr-stat-card.accent-orange .pr-stat-icon{background:var(--pr-orange)}.pr-stat-card.accent-orange .pr-stat-value{color:#ad6900}.pr-stat-card.accent-red .pr-stat-icon{background:var(--pr-red)}.pr-stat-card.accent-red .pr-stat-value{color:var(--pr-red)}.pr-stat-card.accent-slate .pr-stat-icon{background:var(--pr-slate)}.pr-stat-card.accent-slate .pr-stat-value{color:var(--pr-slate)}.pr-tabs{display:flex;gap:7px;margin-bottom:18px}.pr-tabs button,.pr-detail-tabs button{border:1px solid var(--pr-border);background:#fff;color:var(--pr-muted);border-radius:999px;padding:7px 12px;cursor:pointer;font:inherit;font-size:.78rem;font-weight:600}.pr-tabs button.active,.pr-detail-tabs button.active{background:var(--pr-blue);color:#fff;border-color:var(--pr-blue)}.pr-agency-groups{display:flex;flex-direction:column;gap:22px}.pr-agency-section{min-width:0}.pr-section-title{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:10px}.pr-section-title h3{display:flex;align-items:center;gap:8px;margin:0;color:var(--pr-blue);font-size:.98rem;font-weight:650}.pr-section-title p{margin:3px 0 0 26px;font-size:.75rem;color:var(--pr-muted)}.pr-rule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(295px,1fr));gap:12px}.pr-rule-card{position:relative;overflow:hidden;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid var(--pr-border);border-radius:var(--pr-radius);box-shadow:var(--pr-shadow);transition:transform .15s ease,box-shadow .15s ease}.pr-rule-card:hover{transform:translateY(-2px);box-shadow:var(--pr-shadow-hover)}.pr-rule-card-strip{height:6px;background:var(--pr-slate)}.pr-rule-card-strip.approved{background:var(--pr-green)}.pr-rule-card-strip.followup{background:var(--pr-orange)}.pr-rule-card-strip.disagree{background:var(--pr-red)}.pr-rule-card-body{padding:14px}.pr-rule-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pr-docket{display:block;margin-bottom:3px;color:var(--pr-blue);font-size:.7rem;font-weight:750;text-transform:uppercase;letter-spacing:.35px}.pr-rule-card h4{margin:0;color:var(--pr-text-strong);font-size:.94rem;line-height:1.3}.pr-rule-card-top>svg{flex-shrink:0;color:#94a3b8}.pr-rule-meta{display:flex;flex-direction:column;gap:2px;margin-top:8px;color:var(--pr-muted);font-size:.72rem}.pr-rule-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.pr-status-pill,.pr-major-pill{display:inline-flex;align-items:center;width:fit-content;padding:4px 7px;border-radius:999px;font-size:.67rem;font-weight:700;white-space:nowrap}.pr-status-pill.pending{background:#e2e8f0;color:#475569}.pr-status-pill.approved{background:#dcfce7;color:#166534}.pr-status-pill.followup{background:#fef3c7;color:#92400e}.pr-status-pill.disagree,.pr-major-pill.major{background:#fee2e2;color:#991b1b}.pr-major-pill.nonmajor{background:#dcfce7;color:#166534}.pr-major-pill.unknown{background:#e0e7ff;color:#4338ca}.pr-rule-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:11px}.pr-rule-metrics>div{padding:8px;background:#f8fafc;border-radius:8px}.pr-rule-metrics strong{display:block;color:var(--pr-blue);font-size:.87rem}.pr-rule-metrics span{display:block;margin-top:2px;color:var(--pr-muted);font-size:.61rem;text-transform:uppercase;letter-spacing:.25px}.pr-table-card{overflow:hidden;background:#fff;border:1px solid var(--pr-border);border-radius:var(--pr-radius);box-shadow:var(--pr-shadow)}.pr-table-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;border-bottom:1px solid var(--pr-border)}.pr-table-heading h3{margin:0;color:var(--pr-blue);font-size:.95rem}.pr-table-heading p,.pr-table-heading>span{margin:3px 0 0;color:var(--pr-muted);font-size:.72rem}.pr-table-scroll{overflow-x:auto}.pr-table{width:100%;border-collapse:collapse;font-size:.78rem}.pr-table th{padding:9px 12px;background:#f8fafc;color:var(--pr-muted);border-bottom:1px solid var(--pr-border);text-align:left;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap}.pr-table td{padding:10px 12px;border-bottom:1px solid var(--pr-border-soft);vertical-align:middle}.pr-table tbody tr{cursor:pointer}.pr-table tbody tr:hover{background:#f8fafc}.pr-table td strong,.pr-table td small{display:block}.pr-table td small{margin-top:2px;color:var(--pr-muted)}.pr-arrow-cell{width:34px;color:#94a3b8}.pr-loading,.pr-error-state,.pr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;padding:28px;color:var(--pr-muted);text-align:center}.pr-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:var(--pr-radius)}.pr-empty h3{margin:0;color:var(--pr-text);font-size:.92rem}.pr-empty p{margin:0;font-size:.8rem}.pr-error-state{color:#9f1239}.pr-error-state button{border:1px solid var(--pr-border);border-radius:8px;background:#fff;padding:7px 10px;cursor:pointer}.pr-spinner,.pr-button-spinner{border-radius:50%;animation:pr-spin .8s linear infinite}.pr-spinner{width:30px;height:30px;border:3px solid var(--pr-border);border-top-color:var(--pr-blue)}.pr-button-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff}@keyframes pr-spin{to{transform:rotate(360deg)}}.pr-drawer-backdrop{position:fixed;inset:0;z-index:120;display:flex;justify-content:flex-end;background:#0f172a80}.pr-drawer{width:min(1180px,96vw);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-8px 0 28px #00000038}.pr-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 20px;background:var(--pr-blue);color:#fff}.pr-drawer-head h2{margin:0;font-size:1.06rem}.pr-drawer-head p{margin:3px 0 0;font-size:.77rem;opacity:.78}.pr-drawer-head-actions{display:flex;align-items:center;gap:8px}.pr-drawer-head-actions button{border:0;border-radius:8px;background:#ffffff21;color:#fff;cursor:pointer}.pr-drawer-head-actions>button:last-child{display:inline-flex;padding:8px}.pr-drawer-review{padding:8px 11px;font:inherit;font-size:.76rem;font-weight:650}.pr-drawer-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 20px;border-bottom:1px solid var(--pr-border);color:var(--pr-muted);font-size:.72rem}.pr-detail-tabs{display:flex;gap:7px;padding:10px 20px 0;border-bottom:1px solid var(--pr-border)}.pr-detail-tabs button{margin-bottom:10px}.pr-drawer-body{flex:1;overflow-y:auto;padding:16px 20px 28px;background:var(--pr-bg)}.drawer-loading{flex:1}.pr-detail-stack{display:flex;flex-direction:column;gap:14px}.pr-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.pr-detail-metric,.pr-detail-section,.pr-requirement-card,.pr-document-list,.pr-pdf-panel{background:#fff;border:1px solid var(--pr-border);border-radius:10px;box-shadow:var(--pr-shadow)}.pr-detail-metric{padding:12px}.pr-detail-metric span,.pr-info-grid span{display:block;color:var(--pr-muted);font-size:.67rem;text-transform:uppercase;letter-spacing:.3px}.pr-detail-metric strong{display:block;margin-top:4px;color:var(--pr-text-strong);font-size:.87rem}.pr-detail-section{padding:15px 17px}.pr-detail-section h3{margin:0 0 8px;color:var(--pr-blue);font-size:.9rem}.pr-detail-section>p{margin:0;color:var(--pr-text);font-size:.82rem;line-height:1.58}.pr-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px}.pr-info-grid strong{display:block;margin-top:3px;font-size:.79rem;font-weight:600}.pr-gap-list{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;list-style:none}.pr-gap-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412;font-size:.78rem;line-height:1.4}.pr-gap-list svg{flex-shrink:0;margin-top:1px}.pr-muted{color:var(--pr-muted)!important}.pr-requirement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pr-requirement-card{position:relative;overflow:hidden;padding:15px}.pr-requirement-card:before{content:"";position:absolute;top:0;left:0;width:5px;height:100%;background:var(--pr-red)}.pr-requirement-card.band-strong:before{background:var(--pr-green)}.pr-requirement-card.band-substantial:before{background:var(--pr-blue-soft)}.pr-requirement-card.band-partial:before{background:var(--pr-orange)}.pr-requirement-card.band-weak:before,.pr-requirement-card.band-missing:before{background:var(--pr-red)}.pr-requirement-head{display:flex;justify-content:space-between;gap:14px}.pr-requirement-head>div:first-child>span{color:var(--pr-muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.35px;font-weight:700}.pr-requirement-head h3{margin:3px 0 0;color:var(--pr-text-strong);font-size:.89rem}.pr-score{flex-shrink:0;color:var(--pr-blue)}.pr-score strong{font-size:1.4rem}.pr-score span{color:var(--pr-muted);font-size:.67rem}.pr-confidence{margin-top:8px;color:var(--pr-muted);font-size:.7rem}.pr-requirement-card>p{margin:10px 0 0;color:var(--pr-text);font-size:.78rem;line-height:1.5}.pr-deficiency{margin-top:10px;padding:9px 10px;background:#fff7ed;border-radius:8px;color:#9a3412;font-size:.74rem}.pr-deficiency p{margin:3px 0 0;line-height:1.4}.pr-evidence{margin-top:10px;border-top:1px solid var(--pr-border);padding-top:9px}.pr-evidence summary{cursor:pointer;color:var(--pr-blue);font-size:.73rem;font-weight:650}.pr-evidence-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.pr-evidence-list>div{padding:8px 9px;background:#f8fafc;border-radius:7px}.pr-evidence-list strong{font-size:.71rem}.pr-evidence-list p{margin:3px 0 0;color:var(--pr-muted);font-size:.7rem;line-height:1.4}.pr-document-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;min-height:calc(100vh - 235px)}.pr-document-list{overflow:hidden;align-self:start}.pr-document-list button{width:100%;display:grid;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;gap:8px;padding:11px;border:0;border-bottom:1px solid var(--pr-border-soft);background:#fff;color:var(--pr-text);text-align:left;cursor:pointer}.pr-document-list button:last-child{border-bottom:0}.pr-document-list button:hover,.pr-document-list button.active{background:#f0f6fc}.pr-document-list button:disabled{cursor:not-allowed;opacity:.55}.pr-document-list span{min-width:0}.pr-document-list strong,.pr-document-list small{display:block;overflow:hidden;text-overflow:ellipsis}.pr-document-list strong{white-space:nowrap;font-size:.74rem}.pr-document-list small{margin-top:2px;color:var(--pr-muted);font-size:.66rem}.pr-pdf-panel{min-width:0;overflow:hidden;display:flex;flex-direction:column}.pr-pdf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;border-bottom:1px solid var(--pr-border)}.pr-pdf-toolbar strong,.pr-pdf-toolbar span{display:block}.pr-pdf-toolbar strong{font-size:.76rem}.pr-pdf-toolbar span{margin-top:2px;color:var(--pr-muted);font-size:.65rem}.pr-pdf-toolbar>div:last-child{display:flex;gap:7px}.pr-pdf-toolbar a{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--pr-border);border-radius:7px;color:var(--pr-blue);font-size:.69rem;font-weight:650;text-decoration:none}.pr-pdf-panel iframe{width:100%;flex:1;min-height:650px;border:0;background:#eef2f7}.pr-pdf-empty{min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--pr-muted)}.pr-history{position:relative;display:flex;flex-direction:column;gap:12px}.pr-history article{display:grid;grid-template-columns:14px minmax(0,1fr);gap:10px;padding:13px;background:#fff;border:1px solid var(--pr-border);border-radius:10px}.pr-history-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;background:var(--pr-slate)}.pr-history-dot.approved{background:var(--pr-green)}.pr-history-dot.followup{background:var(--pr-orange)}.pr-history-dot.disagree{background:var(--pr-red)}.pr-history-dot.pending{background:var(--pr-slate)}.pr-history-dot.info{background:var(--pr-blue-soft)}.pr-history-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}.pr-history time,.pr-history small{color:var(--pr-muted);font-size:.68rem}.pr-history>article>div:last-child>strong,.pr-history>article>div:last-child>small{display:block}.pr-history p{margin:7px 0 0;color:var(--pr-text);font-size:.76rem;line-height:1.48}.pr-history-content{min-width:0}.pr-history-summary{font-size:.82rem!important}.pr-history-details{margin:8px 0 0;padding-left:19px;color:var(--pr-muted);font-size:.75rem;line-height:1.5}.pr-history-details li+li{margin-top:4px}.pr-status-pill.info{background:#e8f3fb;color:#1d5f91}.pr-modal-backdrop{position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a94}.pr-modal-backdrop.review-layer{z-index:150}.pr-modal-card{width:min(850px,96vw);max-height:92vh;overflow-y:auto;background:#fff;border-radius:14px;box-shadow:0 18px 60px #00000047}.pr-modal-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:15px;padding:14px 16px;background:#fff;border-bottom:1px solid var(--pr-border)}.pr-modal-head h3{margin:0;color:var(--pr-blue);font-size:.98rem}.pr-modal-head p{margin:3px 0 0;color:var(--pr-muted);font-size:.74rem}.pr-modal-close{border:0;background:transparent;color:var(--pr-muted);cursor:pointer}.pr-intake-modal form,.pr-review-modal{padding-bottom:0}.pr-intake-modal form{padding:16px}.pr-email-editor{box-sizing:border-box;width:100%;min-height:390px;max-height:580px;overflow-y:auto;padding:14px;border:1px solid #b8c1cc;border-radius:8px;background:#fff;font:inherit;font-size:.82rem;line-height:1.5}.pr-email-editor:focus{outline:2px solid var(--pr-blue-soft);outline-offset:1px}.pr-email-editor.disabled{background:#f4f5f7;opacity:.7}.pr-email-editor:empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none}.pr-email-editor a{color:var(--pr-blue-soft);text-decoration:underline}.pr-inline-error{display:flex;align-items:flex-start;gap:7px;margin-top:10px;padding:9px 10px;border-radius:8px;background:#fff1f2;color:#9f1239;font-size:.75rem}.pr-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.pr-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border-radius:8px;cursor:pointer;font:inherit;font-size:.76rem;font-weight:650}.pr-button.primary{border:1px solid var(--pr-blue);background:var(--pr-blue);color:#fff}.pr-button.secondary{border:1px solid var(--pr-border);background:#fff;color:var(--pr-text)}.pr-button:disabled{cursor:not-allowed;opacity:.6}.pr-review-modal{width:min(760px,96vw);padding-bottom:16px}.pr-review-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:16px 16px 0}.pr-review-choice{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--pr-border);border-radius:10px;background:#fff;color:var(--pr-text);cursor:pointer;text-align:left}.pr-review-choice.active{border-color:var(--pr-blue);box-shadow:0 0 0 3px #004e9a1a}.pr-review-choice svg{flex-shrink:0;color:var(--pr-blue)}.pr-review-choice strong,.pr-review-choice small{display:block}.pr-review-choice strong{font-size:.75rem}.pr-review-choice small{margin-top:3px;color:var(--pr-muted);font-size:.67rem;line-height:1.35}.pr-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px 16px 0}.pr-form-grid label,.pr-review-notes{color:var(--pr-text);font-size:.72rem;font-weight:650}.pr-form-grid input,.pr-review-notes textarea{box-sizing:border-box;width:100%;margin-top:5px;padding:8px 9px;border:1px solid var(--pr-border);border-radius:8px;background:#fff;color:var(--pr-text);font:inherit;font-size:.76rem}.pr-review-notes{display:block;padding:12px 16px 0}.pr-review-notes textarea{min-height:105px;resize:vertical}.pr-review-modal>.pr-inline-error,.pr-review-modal>.pr-modal-actions{margin-left:16px;margin-right:16px}@media(max-width:1100px){.pr-stats{grid-template-columns:repeat(3,1fr)}.pr-toolbar{flex-wrap:wrap}.pr-search{flex-basis:100%}.pr-toolbar select,.pr-toolbar select:first-of-type{flex:1;min-width:180px}.pr-detail-stats{grid-template-columns:repeat(2,1fr)}.pr-document-layout{grid-template-columns:250px minmax(0,1fr)}}@media(max-width:760px){.pr-header{padding:13px 16px}.pr-header-left p{display:none}.pr-header-primary{padding:8px;font-size:0}.pr-header-primary svg{margin:0}.pr-toolbar,.pr-body{padding-left:16px;padding-right:16px}.pr-stats{grid-template-columns:repeat(2,1fr)}.pr-rule-grid,.pr-requirement-grid{grid-template-columns:1fr}.pr-info-grid{grid-template-columns:repeat(2,1fr)}.pr-document-layout{grid-template-columns:1fr;min-height:auto}.pr-pdf-panel iframe{min-height:520px}.pr-review-choices,.pr-form-grid{grid-template-columns:1fr}}.pr-intake-progress{margin-top:16px;padding:14px 16px;border:1px solid #dbe4ee;border-radius:10px;background:#f8fafc}.pr-intake-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:13px;color:#475569}.pr-intake-progress-head strong{color:#0f172a;font-size:13px;font-variant-numeric:tabular-nums}.pr-intake-progress-status{display:flex;align-items:center;gap:8px;min-width:0}.pr-intake-progress-track{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#e2e8f0}.pr-intake-progress-bar{height:100%;border-radius:999px;background:#2563eb;transition:width .45s ease}.pr-intake-progress-note{margin-top:8px;font-size:11px;color:#94a3b8}.pr-overview-assessment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pr-overview-assessment-card{display:flex;align-items:flex-start;gap:14px;min-height:138px;padding:18px;border:1px solid;border-radius:14px}.pr-overview-assessment-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:10px}.pr-overview-assessment-content{min-width:0;flex:1}.pr-overview-assessment-title{display:block;margin-bottom:7px;font-size:11px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.pr-overview-assessment-score-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px}.pr-overview-assessment-score-row strong{font-size:28px;line-height:1;font-weight:750}.pr-overview-assessment-score-row span{font-size:13px;font-weight:700}.pr-overview-assessment-card p{margin:10px 0 0;font-size:12px;line-height:1.5}.pr-overview-assessment-card.tone-green{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.pr-overview-assessment-card.tone-green .pr-overview-assessment-icon{background:#dcfce7;color:#15803d}.pr-overview-assessment-card.tone-yellow{background:#fffbeb;border-color:#fde68a;color:#854d0e}.pr-overview-assessment-card.tone-yellow .pr-overview-assessment-icon{background:#fef3c7;color:#a16207}.pr-overview-assessment-card.tone-red{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pr-overview-assessment-card.tone-red .pr-overview-assessment-icon{background:#fee2e2;color:#b91c1c}.pr-overview-assessment-card.tone-unknown{background:#f8fafc;border-color:#dbe3ea;color:#64748b}.pr-overview-assessment-card.tone-unknown .pr-overview-assessment-icon{background:#eef2f6;color:#64748b}@media(max-width:850px){.pr-overview-assessment-grid{grid-template-columns:1fr}}.pr-intake-modal{display:flex;flex-direction:column;max-height:85vh;overflow:hidden}.pr-intake-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.pr-intake-scroll-area{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.pr-email-editor{min-height:300px;max-height:55vh;overflow-y:auto;overflow-x:hidden}.pr-intake-fixed-bottom{flex-shrink:0;background:#fff;border-top:1px solid #e2e8f0;padding-top:14px}.pr-detail-tabs{flex-wrap:wrap}.pr-review-workflow{padding:20px;background:#fff;border:1px solid var(--pr-border);border-radius:12px}.pr-review-workflow-heading h3{margin:0 0 8px}.pr-review-workflow-heading p{margin:4px 0;color:var(--pr-muted)}.pr-review-workflow-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.pr-review-workflow-actions button{padding:10px 14px;border:1px solid var(--pr-blue);border-radius:8px;background:var(--pr-blue);color:#fff;font:inherit;font-size:.83rem;font-weight:650;cursor:pointer}.pr-review-workflow-actions button:hover{filter:brightness(1.1)}.pr-review-workflow-empty{color:var(--pr-muted)}.pr-modal-eyebrow{display:block;margin-bottom:5px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5a6d82}.pr-assignment-modal{width:min(760px,calc(100vw - 32px))}.pr-assignment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px;background:#f6f9fc;border-bottom:1px solid #dde6ef}.pr-assignment-summary>div{min-width:0}.pr-assignment-summary span,.pr-assignment-fields label>span,.pr-workflow-current>span,.pr-economic-impact-summary>span{display:block;margin-bottom:5px;color:#687a8f;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pr-assignment-summary strong{display:block;overflow:hidden;color:#172d45;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.pr-assignment-fields{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,.8fr);gap:18px;padding:22px 20px 14px}.pr-assignment-fields label{color:#24384f;font-size:13px;font-weight:700}.pr-assignment-fields select,.pr-assignment-fields input{width:100%;height:46px;margin-top:7px;padding:0 13px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;color:#172d45;font:inherit}.pr-assignment-fields select:focus,.pr-assignment-fields input:focus,.pr-review-notes textarea:focus{outline:3px solid rgba(42,112,179,.13);border-color:#4d89bf}.pr-assignment-next-state{display:flex;gap:12px;align-items:flex-start;margin:2px 20px 18px;padding:13px 14px;border:1px solid #d7e5f2;border-radius:9px;background:#f4f9fd;color:#2c5f8f}.pr-assignment-next-state svg{flex:0 0 auto;margin-top:2px}.pr-assignment-next-state strong,.pr-assignment-next-state span{display:block}.pr-assignment-next-state span{margin-top:2px;color:#62758a;font-size:12px}.pr-workflow-review-modal{width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow-y:auto}.pr-workflow-current{margin:0 20px;padding:14px 16px;border:1px solid #dbe5ef;border-radius:10px;background:#f8fafc}.pr-workflow-current strong,.pr-workflow-current small{display:block}.pr-workflow-current strong{color:#163a60;font-size:17px}.pr-workflow-current small{margin-top:3px;color:#6a7a8d}.pr-workflow-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 20px}.pr-workflow-choice{display:flex;gap:12px;align-items:flex-start;min-height:86px;padding:14px;border:1px solid #d5e0eb;border-radius:10px;background:#fff;color:#24384f;text-align:left;cursor:pointer}.pr-workflow-choice:hover{border-color:#95b4d1;background:#f8fbfe}.pr-workflow-choice.active{border-color:#357ab6;box-shadow:inset 0 0 0 1px #357ab6;background:#edf6fd}.pr-workflow-choice-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:9px;background:#edf3f8;color:#2f6698}.pr-workflow-choice.active .pr-workflow-choice-icon{background:#d9eafb;color:#165a95}.pr-workflow-choice span:last-child,.pr-workflow-choice strong,.pr-workflow-choice small{display:block}.pr-workflow-choice strong{margin-bottom:4px;font-size:14px}.pr-workflow-choice small{color:#697a8e;line-height:1.4}.pr-loft-modal-message,.pr-loft-callout{display:flex;gap:14px;align-items:flex-start;border:1px solid #e2b84c;border-radius:11px;background:#fff8df;color:#674b00}.pr-loft-modal-message{margin:0 20px 18px;padding:14px 16px}.pr-loft-modal-message strong,.pr-loft-modal-message span{display:block}.pr-loft-modal-message strong{font-size:15px;letter-spacing:.025em}.pr-loft-modal-message span{margin-top:3px;color:#7b650f;font-size:12px}.pr-reins-analysis-stack{display:grid;gap:18px}.pr-loft-callout{padding:20px}.pr-loft-callout-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:11px;background:#f2cd60;color:#5b4300}.pr-loft-callout span,.pr-loft-callout strong,.pr-loft-callout p{display:block}.pr-loft-callout span{margin-bottom:3px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pr-loft-callout strong{font-size:22px;letter-spacing:.02em}.pr-loft-callout p{margin:5px 0 0;color:#765e13;line-height:1.45}.pr-major-requirement{border-width:2px}.pr-major-determination,.pr-economic-impact-summary{margin:12px 0 14px;padding:12px 14px;border-radius:9px}.pr-major-determination{display:flex;justify-content:space-between;gap:12px;border:1px solid #dce6ef;background:#f8fafc}.pr-major-determination.major{border-color:#e2b84c;background:#fff8df}.pr-major-determination strong{color:#213b55}.pr-major-determination span{color:#687a8e;font-size:12px;text-align:right}.pr-economic-impact-summary{border:1px solid #cfe1ef;background:#f3f8fc}.pr-economic-impact-summary strong{color:#173d63;font-size:20px}@media(max-width:720px){.pr-assignment-summary,.pr-assignment-fields,.pr-workflow-choice-grid{grid-template-columns:1fr}.pr-major-determination{flex-direction:column}.pr-major-determination span{text-align:left}}.pr-rule-grid{grid-template-columns:repeat(auto-fill,minmax(330px,420px));gap:16px;align-items:start}.pr-rule-card{border-radius:14px;box-shadow:0 5px 18px #1b344e14}.pr-rule-card-strip{height:5px}.pr-rule-card-body{padding:18px}.pr-rule-card h4{font-size:1rem;line-height:1.25}.pr-rule-card-name{display:-webkit-box;overflow:hidden;margin:6px 0 0;color:#42566d;font-size:.8rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pr-rule-meta-inline{flex-direction:row;flex-wrap:wrap;gap:5px 14px;margin-top:12px}.pr-rule-pills{margin-top:12px}.pr-rule-metrics{display:flex;gap:0;margin-top:14px;padding-top:13px;border-top:1px solid #e5ebf1}.pr-rule-metrics>div{flex:1;min-width:0;padding:0 12px;background:transparent;border-radius:0;text-align:left}.pr-rule-metrics>div:first-child{padding-left:0}.pr-rule-metrics>div+div{border-left:1px solid #e5ebf1}.pr-rule-metrics strong{font-size:.95rem}.pr-rule-metrics span{margin-top:2px;font-size:.62rem}.pr-reins-analysis-stack{gap:14px;max-width:1080px;margin:0 auto}.pr-requirement-grid{grid-template-columns:1fr;gap:12px}.pr-requirement-card{padding:18px 20px 18px 22px;border-radius:12px;box-shadow:0 3px 12px #1b344e0f}.pr-requirement-card:before{width:4px}.pr-requirement-head{align-items:center}.pr-requirement-head>div:first-child>span{font-size:.62rem;letter-spacing:.07em}.pr-requirement-head h3{margin-top:4px;font-size:1rem;line-height:1.25}.pr-score strong{font-size:1.5rem}.pr-confidence{margin-top:5px}.pr-requirement-card>p{max-width:900px;margin-top:12px;font-size:.82rem;line-height:1.55}.pr-deficiency{margin-top:12px;padding:10px 12px;border-left:3px solid #d97706;border-radius:7px;background:#fff8ef}.pr-evidence{margin-top:12px}.pr-major-requirement,.pr-economic-requirement{border-width:1px}.pr-major-requirement .pr-requirement-head,.pr-economic-requirement .pr-requirement-head{margin-bottom:10px}.pr-major-determination{align-items:center;margin:8px 0 12px;padding:10px 12px;border-radius:8px}.pr-major-determination strong{font-size:.92rem}.pr-major-determination span{max-width:560px;font-size:.75rem}.pr-economic-impact-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 12px;padding:10px 12px}.pr-economic-impact-summary>span{margin:0}.pr-economic-impact-summary strong{flex:0 0 auto;font-size:1.35rem}.pr-loft-callout{align-items:center;padding:14px 16px;border-width:2px}.pr-loft-callout-icon{flex-basis:40px;width:40px;height:40px}.pr-loft-callout strong{font-size:1.15rem}.pr-loft-callout p{margin-top:2px;font-size:.78rem}@media(max-width:720px){.pr-rule-grid{grid-template-columns:1fr}.pr-economic-impact-summary,.pr-major-determination{align-items:flex-start;flex-direction:column}.pr-major-determination span{text-align:left}}.pr-reins-compact{max-width:none}.pr-reins-score-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:8px;align-items:stretch}.pr-reins-score-tile{position:relative;min-width:0;min-height:112px;padding:10px 10px 9px;border:1px solid #d8e2ee;border-radius:10px;background:#fff;color:#243246;text-align:left;cursor:pointer;box-shadow:0 2px 7px #1b344e0b;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease}.pr-reins-score-tile:hover{border-color:#8fb5da;box-shadow:0 5px 14px #194b781a;transform:translateY(-1px)}.pr-reins-score-tile.active{border-color:#0f5fa8;background:#f5faff;box-shadow:0 0 0 2px #0f5fa81a}.pr-reins-score-title{display:-webkit-box;min-height:31px;margin-top:7px;overflow:hidden;color:#243246;font-size:.76rem;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pr-reins-score-value{display:block;margin-top:7px;color:#0759a4;font-size:1.25rem;font-weight:800;line-height:1}.pr-reins-score-value small{margin-left:2px;color:#7b8794;font-size:.58rem;font-weight:600}.pr-reins-score-expand{display:block;margin-top:7px;color:#6a7b8e;font-size:.62rem;font-weight:700}.pr-reins-score-tile.major-tile{border-color:#b8dfc4}.pr-reins-score-tile.economic-tile{border-color:#c8dcef}.pr-reins-score-tile.band-weak,.pr-reins-score-tile.band-missing{border-top:3px solid #c94a4a}.pr-reins-score-tile.band-partial{border-top:3px solid #d88923}.pr-reins-score-tile.band-substantial{border-top:3px solid #3287bd}.pr-reins-score-tile.band-strong{border-top:3px solid #2c8b57}.pr-reins-expanded{margin-top:4px}.pr-requirement-expanded-card{max-width:none;padding:18px 20px 18px 22px;animation:pr-reins-expand-in .16s ease-out}.pr-reins-select-hint{padding:13px 16px;border:1px dashed #cbd8e5;border-radius:9px;background:#f9fbfd;color:#6d7c8c;font-size:.76rem;text-align:center}.pr-loft-callout-compact{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:10px 14px}.pr-loft-callout-compact div{display:flex;flex-direction:column}.pr-loft-callout-compact div span{font-size:.6rem}.pr-loft-callout-compact div strong{font-size:.9rem}.pr-loft-callout-compact>p{margin:0 0 0 auto;font-size:.72rem}@keyframes pr-reins-expand-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.pr-reins-score-strip{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.pr-loft-callout-compact{grid-template-columns:auto 1fr}.pr-loft-callout-compact>p{grid-column:1 / -1;margin-left:0}}.pr-possible-gap{margin-top:12px;border-top:1px solid #e4eaf0;padding-top:10px;color:#667689}.pr-possible-gap summary{width:fit-content;cursor:pointer;color:#667689;font-size:.72rem;font-weight:700}.pr-possible-gap[open] summary{color:#44566b}.pr-possible-gap p{margin:8px 0 0;padding:10px 12px;border-radius:8px;background:#f7f9fb;color:#526377;font-size:.78rem;line-height:1.45}.pr-reins-score-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pr-reins-score-tile{min-height:126px;padding:13px 12px 11px}.pr-reins-score-title{min-height:40px;margin-top:1px;font-size:.82rem;line-height:1.25;-webkit-line-clamp:2}.pr-reins-score-value{margin-top:9px;font-size:1.35rem}.pr-reins-score-expand{margin-top:9px;font-size:.66rem}@media(max-width:1180px){.pr-reins-score-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.pr-reins-score-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.pr-reins-score-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}.pr-tabs button{display:inline-flex;align-items:center;gap:7px}.pr-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#e8eef5;color:#526276;font-size:11px;font-weight:800}.pr-tabs button.active .pr-tab-count{background:#ffffff2e;color:#fff}.pr-action-queue-table th:nth-child(1){width:28%}.pr-action-queue-table th:nth-child(2){width:15%}.pr-action-queue-table th:nth-child(3){width:13%}.pr-action-queue-table th:nth-child(4){width:12%}.pr-action-queue-table th:nth-child(5){width:20%}.pr-action-queue-table th:nth-child(6){width:12%}.pr-queue-row{position:relative}.pr-queue-row.due-overdue td:first-child{box-shadow:inset 4px 0 #c63d3d}.pr-queue-row.due-due-soon td:first-child{box-shadow:inset 4px 0 #dc8a16}.pr-queue-rule-cell strong,.pr-reviewer-cell strong,.pr-reviewer-cell small,.pr-queue-rule-cell small{display:block}.pr-queue-rule-cell small,.pr-reviewer-cell small{margin-top:3px;color:#738092}.pr-workflow-pill{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;background:#e9eef4;color:#4b5c70;font-size:12px;font-weight:800;white-space:nowrap}.pr-workflow-pill.status-in_review,.pr-workflow-pill.status-assigned{background:#e4f0fb;color:#135f9c}.pr-workflow-pill.status-agency_follow_up{background:#fff1d8;color:#9a5a00}.pr-workflow-pill.status-reviewer_complete,.pr-workflow-pill.status-chair_review{background:#e6f6eb;color:#19713b}.pr-workflow-pill.status-major_rule_loft_review{background:#fff2cf;color:#755200}.pr-workflow-pill.status-approved{background:#dbf7e4;color:#177238}.pr-workflow-pill.status-rejected{background:#fde5e5;color:#a62f2f}.pr-due-date strong,.pr-due-date small{display:block}.pr-due-date strong{white-space:nowrap}.pr-due-date small{margin-top:3px;font-size:11px;font-weight:800}.pr-due-overdue strong,.pr-due-overdue small{color:#b02f2f}.pr-due-due-soon strong,.pr-due-due-soon small{color:#a96000}.pr-review-queue-card .pr-table-heading{align-items:center}@media(max-width:1250px){.pr-action-queue-table{min-width:1120px}}.pr-chair-review-action{display:inline-flex;align-items:center;gap:3px;color:#0b5da5;font-size:12px;font-weight:800;white-space:nowrap}.pr-reins-guide{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid #cfddea;border-radius:10px;background:#f7fafc;color:#31465d}.pr-reins-guide-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:9px;background:#e7f0f8;color:#245f91}.pr-reins-guide strong,.pr-reins-guide p{display:block}.pr-reins-guide>div:last-child>strong{margin-bottom:4px;color:#1d3853;font-size:.88rem}.pr-reins-guide p{margin:0;color:#5c6e81;font-size:.76rem;line-height:1.5}.pr-reins-guide-major{margin-top:5px!important}.pr-reins-guide-major strong{display:inline;color:#324b64}.pr-reins-score-tile{display:flex;flex-direction:column;min-height:154px;border-top-width:4px}.pr-reins-score-tile.outcome-supported{border-color:#bcdcc8;border-top-color:#2c8b57}.pr-reins-score-tile.outcome-review{border-color:#ead49c;border-top-color:#d88923;background:#fffdf8}.pr-reins-score-tile.outcome-concern{border-color:#e7b9b9;border-top-color:#c94a4a;background:snow}.pr-reins-score-tile.outcome-unknown{border-color:#d7dfe7;border-top-color:#8492a3}.pr-reins-score-tile.active{box-shadow:0 0 0 2px #0f5fa81a}.pr-reins-outcome{display:flex;gap:6px;align-items:flex-start;margin-top:10px;font-size:.78rem;line-height:1.25}.pr-reins-outcome svg{flex:0 0 auto;margin-top:1px}.pr-reins-outcome.outcome-supported,.pr-expanded-outcome.outcome-supported{color:#247347}.pr-reins-outcome.outcome-review,.pr-expanded-outcome.outcome-review{color:#9a620b}.pr-reins-outcome.outcome-concern,.pr-expanded-outcome.outcome-concern{color:#aa3636}.pr-reins-outcome.outcome-unknown,.pr-expanded-outcome.outcome-unknown{color:#677789}.pr-reins-outcome-detail{display:block;margin-top:4px;color:#657589;font-size:.68rem;line-height:1.3}.pr-reins-confidence{display:inline-flex;align-items:center;width:fit-content;margin-top:auto;padding-top:10px;color:#647487;font-size:.66rem;font-weight:800}.pr-reins-confidence.confidence-low{color:#a85f00}.pr-reins-confidence.confidence-moderate{color:#556e87}.pr-reins-confidence.confidence-high{color:#365d4a}.pr-reins-score-expand{margin-top:6px}.pr-expanded-outcome{display:inline-flex;gap:6px;align-items:center;padding:6px 9px;border-radius:999px;background:#f2f5f8;font-size:.75rem;font-weight:800;white-space:nowrap}.pr-requirement-expanded-card.outcome-supported{border-left:4px solid #2c8b57}.pr-requirement-expanded-card.outcome-review{border-left:4px solid #d88923}.pr-requirement-expanded-card.outcome-concern{border-left:4px solid #c94a4a}.pr-requirement-expanded-card.outcome-unknown{border-left:4px solid #8492a3}.pr-expanded-explanation{margin-top:12px}.pr-expanded-explanation>strong{display:block;margin-bottom:5px;color:#596c80;font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.pr-expanded-explanation p{max-width:900px;margin:0;color:#33485e;font-size:.82rem;line-height:1.55}.pr-reviewer-attention{display:flex;gap:9px;align-items:flex-start;margin-top:12px;padding:10px 12px;border:1px solid #ead39c;border-radius:8px;background:#fff9ea;color:#8a5909}.pr-reviewer-attention svg{flex:0 0 auto;margin-top:2px}.pr-reviewer-attention strong,.pr-reviewer-attention p{display:block}.pr-reviewer-attention strong{font-size:.76rem}.pr-reviewer-attention p{margin:3px 0 0;color:#6e5a2f;font-size:.76rem;line-height:1.45}.pr-analysis-meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:13px;padding-top:11px;border-top:1px solid #e5ebf1;color:#758395;font-size:.68rem}.pr-analysis-meta .pr-reins-confidence{margin-top:0;padding-top:0}@media(max-width:640px){.pr-reins-guide{flex-direction:column}.pr-reins-score-tile{min-height:148px}.pr-expanded-outcome{white-space:normal}}.pr-questionnaire{display:grid;gap:12px;padding:18px 20px 8px}.pr-questionnaire-loading{display:flex;gap:9px;align-items:center;padding:28px 20px;color:#66798e;font-size:13px;font-weight:700}.pr-review-question{padding:16px;border:1px solid #d8e3ed;border-radius:11px;background:#fff}.pr-review-question-head{display:flex;gap:10px;align-items:flex-start}.pr-review-question-head>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:999px;background:#eaf2fa;color:#1d619d;font-size:12px;font-weight:800}.pr-review-question-head strong{padding-top:3px;color:#20374f;font-size:14px;line-height:1.45}.pr-yes-no-group{display:flex;gap:8px;margin:13px 0 0 38px}.pr-yes-no-group label{display:inline-flex;gap:7px;align-items:center;min-width:82px;padding:8px 12px;border:1px solid #ccd9e6;border-radius:8px;background:#fff;color:#3f5368;font-size:13px;font-weight:700;cursor:pointer}.pr-yes-no-group label.selected{border-color:#347bb8;background:#edf6fd;color:#145a93;box-shadow:inset 0 0 0 1px #347bb8}.pr-yes-no-group input{margin:0;accent-color:#1768a8}.pr-question-comment{display:block;margin:13px 0 0 38px;color:#42566d;font-size:12px;font-weight:800}.pr-question-comment>span{display:flex;gap:7px;align-items:center}.pr-question-comment em,.pr-question-comment small{font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase}.pr-question-comment em{color:#b13737}.pr-question-comment small{color:#7b8998}.pr-question-comment textarea{width:100%;min-height:78px;margin-top:7px;padding:10px 12px;resize:vertical;border:1px solid #cbd8e6;border-radius:8px;color:#24384f;font:inherit;font-weight:400}.pr-question-comment textarea:focus,.pr-chair-comment textarea:focus{outline:3px solid rgba(42,112,179,.13);border-color:#4d89bf}.pr-review-outcome{margin:10px 20px 18px;padding:14px 16px;border:1px solid #cfe0ee;border-radius:10px;background:#f4f9fd}.pr-review-outcome span,.pr-review-outcome strong{display:block}.pr-review-outcome span{margin-bottom:4px;color:#6b7c8f;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.pr-review-outcome strong{color:#155b96;font-size:15px}.pr-chair-reviewer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 20px 0}.pr-chair-reviewer-summary>div{padding:12px 13px;border:1px solid #dce5ee;border-radius:9px;background:#f8fafc}.pr-chair-reviewer-summary span,.pr-chair-reviewer-summary strong{display:block}.pr-chair-reviewer-summary span{margin-bottom:4px;color:#718094;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.pr-chair-reviewer-summary strong{color:#213c57;font-size:13px}.pr-chair-answer-list{display:grid;gap:9px;padding:16px 20px 4px}.pr-chair-answer{padding:13px 14px;border:1px solid #dce5ee;border-radius:9px;background:#fff}.pr-chair-answer-line{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.pr-chair-answer-line strong{color:#2d4258;font-size:13px;line-height:1.4}.pr-chair-answer-line>span{flex:0 0 auto;min-width:48px;padding:4px 8px;border-radius:999px;text-align:center;font-size:11px;font-weight:800}.pr-chair-answer-line>span.yes{background:#e3f5e9;color:#1d733e}.pr-chair-answer-line>span.no{background:#fde8e8;color:#a43131}.pr-chair-answer p{margin:8px 0 0;padding-top:8px;border-top:1px solid #edf1f5;color:#596b7e;font-size:12px;line-height:1.45}.pr-chair-comment{margin:12px 20px 18px}.pr-chair-missing-review{margin:20px}.pr-chair-actions .pr-button.danger{display:inline-flex;gap:6px;align-items:center;border:1px solid #d68a8a;background:#fff;color:#a53232}.pr-chair-actions .pr-button.danger:hover{background:#fff3f3}@media(max-width:720px){.pr-chair-reviewer-summary{grid-template-columns:1fr}.pr-yes-no-group,.pr-question-comment{margin-left:0}.pr-chair-answer-line{flex-direction:column}}.pr-workflow-review-modal .pr-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:0;padding:16px 20px 20px;border-top:1px solid #e5ebf1;background:#fff}@media(max-width:640px){.pr-workflow-review-modal .pr-modal-actions{gap:8px;padding:14px 16px 16px}}.pr-agency-followup-modal{width:min(820px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow-y:auto}.pr-followup-callout{display:flex;gap:12px;align-items:flex-start;margin:0 20px 16px;padding:13px 14px;border:1px solid #d7e5f2;border-radius:10px;background:#f5f9fd;color:#285d8c}.pr-followup-callout svg{flex:0 0 auto;margin-top:1px}.pr-followup-callout strong,.pr-followup-callout span{display:block}.pr-followup-callout span{margin-top:3px;color:#66788c;font-size:12px;line-height:1.4}.pr-followup-section,.pr-followup-resolution{margin:0 20px 16px;padding:16px;border:1px solid #dce5ee;border-radius:10px;background:#fff}.pr-followup-section-title{display:block;margin-bottom:10px;color:#5e7085;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pr-followup-existing-list,.pr-followup-selected-list{display:grid;gap:8px}.pr-followup-existing-list>div,.pr-followup-selected-list>div{display:flex;gap:10px;align-items:center;padding:10px 11px;border:1px solid #e0e7ef;border-radius:8px;background:#f9fbfd}.pr-followup-existing-list>div>span,.pr-followup-selected-list>div>span{min-width:0;flex:1}.pr-followup-existing-list strong,.pr-followup-existing-list small,.pr-followup-selected-list strong,.pr-followup-selected-list small{display:block}.pr-followup-existing-list strong,.pr-followup-selected-list strong{overflow:hidden;color:#24384f;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.pr-followup-existing-list small,.pr-followup-selected-list small{margin-top:2px;color:#718094;font-size:11px}.pr-followup-selected-list button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#65778b;cursor:pointer}.pr-followup-selected-list button:hover{background:#edf2f7;color:#2b435c}.pr-followup-upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:132px;padding:18px;border:2px dashed #bdd0e2;border-radius:10px;background:#f8fbfe;color:#356b9a;text-align:center;cursor:pointer}.pr-followup-upload-box strong{margin-top:7px;color:#24435f}.pr-followup-upload-box span{margin-top:4px;color:#708195;font-size:12px}.pr-followup-upload-box input{display:none}.pr-followup-selected-list{margin-top:10px}.pr-followup-upload-button{margin-top:12px}.pr-followup-resolution>strong{display:block;color:#1d3853;font-size:14px}.pr-followup-resolution>p{margin:5px 0 14px;color:#65778b;font-size:12px;line-height:1.45}.pr-followup-resolution label{display:block;color:#24384f;font-size:12px;font-weight:800}.pr-followup-resolution label>span{color:#8190a0;font-weight:600}.pr-followup-resolution textarea{width:100%;min-height:90px;margin-top:7px;padding:10px 12px;border:1px solid #cfdbe7;border-radius:8px;resize:vertical;color:#24384f;font:inherit}.pr-followup-resolution textarea:focus{outline:3px solid rgba(42,112,179,.13);border-color:#4d89bf}.pr-document-group+.pr-document-group{margin-top:14px;padding-top:14px;border-top:1px solid #e2e8ef}.pr-document-group-title{margin:0 0 7px;color:#687a8f;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pr-document-type-badge{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e5f4eb;color:#267348;font-size:10px;font-weight:800}@media(max-width:640px){.pr-followup-section,.pr-followup-resolution,.pr-followup-callout{margin-left:16px;margin-right:16px}}.pr-yes-no-group label.major-clear{border-color:#9fd2b1;background:#edf9f1;color:#176a3b}.pr-chair-answer-line>span.major-clear{background:#e2f5e8;color:#176a3b}.pr-loft-confirmation{display:flex;gap:12px;align-items:flex-start;margin:18px 22px 0;padding:14px 16px;border:1px solid #e2b84c;border-radius:10px;background:#fff8df;color:#674b00;cursor:pointer}.pr-loft-confirmation input{width:18px;height:18px;margin-top:2px;accent-color:#0b5da5}.pr-loft-confirmation span,.pr-loft-confirmation strong,.pr-loft-confirmation small{display:block}.pr-loft-confirmation strong{font-size:.86rem}.pr-loft-confirmation small{margin-top:3px;color:#7b650f;font-size:.72rem}.pr-queue-heading-actions{display:flex;gap:12px;align-items:center}.pr-bulk-assign-button{min-height:34px;padding:7px 12px;font-size:12px}.pr-select-column{width:58px!important;text-align:center}.pr-select-column input{width:16px;height:16px;cursor:pointer}.pr-select-column input:disabled{cursor:not-allowed}.pr-page-count-cell{width:74px;white-space:nowrap}.pr-page-count-cell strong{color:#203b57}.pr-bulk-assignment-modal{width:min(1060px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto}.pr-bulk-workload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;padding:18px 20px 8px}.pr-bulk-workload-card{padding:12px 14px;border:1px solid #d8e3ee;border-radius:9px;background:#f8fafc}.pr-bulk-workload-card strong,.pr-bulk-workload-card span{display:block}.pr-bulk-workload-card strong{color:#193b5d;font-size:.83rem}.pr-bulk-workload-card span{margin-top:3px;color:#68798c;font-size:.72rem}.pr-bulk-due-date{display:block;margin:10px 20px 16px;color:#24384f;font-size:.76rem;font-weight:700}.pr-bulk-due-date>span{display:block;margin-bottom:6px}.pr-bulk-due-date small{color:#7a8795;font-weight:500}.pr-bulk-due-date input{height:40px;padding:0 11px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:#172d45;font:inherit}.pr-bulk-assignment-list{display:grid;gap:10px;padding:0 20px 6px}.pr-bulk-assignment-row{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(220px,1.25fr) minmax(180px,.9fr);gap:16px;align-items:center;padding:14px;border:1px solid #d8e3ee;border-radius:10px;background:#fff}.pr-bulk-packet-summary strong,.pr-bulk-packet-summary span,.pr-bulk-packet-summary small,.pr-bulk-agency-history>span,.pr-bulk-agency-history small,.pr-bulk-reviewer-select>span{display:block}.pr-bulk-packet-summary strong{color:#153a5f;font-size:.88rem}.pr-bulk-packet-summary span{margin-top:3px;color:#55697f;font-size:.76rem}.pr-bulk-packet-summary small{margin-top:4px;color:#0b5da5;font-size:.72rem;font-weight:800}.pr-bulk-agency-history>span,.pr-bulk-reviewer-select>span{margin-bottom:5px;color:#6a7c8f;font-size:.65rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pr-bulk-agency-history div{display:flex;flex-wrap:wrap;gap:5px}.pr-bulk-agency-history small{width:fit-content;padding:4px 7px;border-radius:999px;background:#edf3f8;color:#42586f;font-size:.68rem}.pr-bulk-reviewer-select select{width:100%;height:42px;padding:0 10px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:#172d45;font:inherit}@media(max-width:900px){.pr-bulk-assignment-row{grid-template-columns:1fr}.pr-queue-heading-actions{align-items:flex-end;flex-direction:column}}.pr-agency-select-bar{display:flex;gap:16px;align-items:flex-start;padding:12px 16px;border-top:1px solid #e3ebf3;border-bottom:1px solid #e3ebf3;background:#f8fbfe}.pr-agency-select-label{min-width:150px}.pr-agency-select-label strong,.pr-agency-select-label span{display:block}.pr-agency-select-label strong{color:#173a5d;font-size:.76rem}.pr-agency-select-label span{margin-top:2px;color:#728195;font-size:.68rem}.pr-agency-select-actions{display:flex;flex-wrap:wrap;gap:7px}.pr-agency-select-chip{display:inline-flex;gap:8px;align-items:center;min-height:32px;padding:6px 10px;border:1px solid #cbd9e7;border-radius:999px;background:#fff;color:#29445f;cursor:pointer;font:inherit;font-size:.72rem;font-weight:700}.pr-agency-select-chip:hover{border-color:#8fb7dc;background:#f1f7fc}.pr-agency-select-chip.selected{border-color:#0b67b2;background:#e6f2fc;color:#07528e}.pr-agency-select-chip small{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf2f7;color:#587087;font-size:.64rem}.pr-agency-select-chip.selected small{background:#cfe7fa;color:#07528e}.pr-bulk-reviewer-picker{padding:18px 20px 8px}.pr-bulk-picker-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:10px}.pr-bulk-picker-heading strong,.pr-bulk-picker-heading span{display:block}.pr-bulk-picker-heading strong{color:#173a5d;font-size:.82rem}.pr-bulk-picker-heading>div>span{margin-top:3px;color:#718095;font-size:.7rem}.pr-bulk-selected-summary{color:#0b5da5;font-size:.72rem;font-weight:800;white-space:nowrap}.pr-bulk-reviewer-picker .pr-bulk-workload-grid{padding:0}.pr-bulk-workload-card{text-align:left;cursor:pointer;font:inherit;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.pr-bulk-workload-card:hover:not(:disabled){border-color:#8db8de;background:#f3f8fc}.pr-bulk-workload-card.selected{border-color:#0b67b2;background:#eaf5fd;box-shadow:inset 0 0 0 1px #0b67b2}.pr-bulk-workload-card:disabled{cursor:not-allowed;opacity:.7}.pr-bulk-workload-card small{display:block;margin-top:6px;color:#0b67b2;font-size:.68rem;font-weight:800}.pr-bulk-assigned-reviewer>span{display:block;margin-bottom:5px;color:#6a7c8f;font-size:.65rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pr-bulk-assigned-reviewer strong{display:block;padding:9px 10px;border:1px solid #d9e4ef;border-radius:8px;background:#f7f9fb;color:#203b57;font-size:.76rem}@media(max-width:900px){.pr-agency-select-bar,.pr-bulk-picker-heading{flex-direction:column;align-items:stretch}.pr-bulk-selected-summary{white-space:normal}}.pr-workflow-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.pr-my-review-section{display:flex;flex-direction:column;gap:14px}.pr-my-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 2px 0}.pr-my-review-heading h3{margin:0;color:#123252;font-size:1rem}.pr-my-review-heading p{margin:4px 0 0;color:#738092;font-size:.78rem}.pr-view-toggle{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #d7e1ec;border-radius:10px;background:#f5f8fb}.pr-view-toggle button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border:0;border-radius:7px;background:transparent;color:#586a7f;font-size:.76rem;font-weight:800;cursor:pointer}.pr-view-toggle button.active{background:#fff;color:#075aa6;box-shadow:0 1px 3px #16304c24}.pr-my-review-grid{margin-top:0}@media(max-width:1350px){.pr-workflow-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.pr-workflow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pr-my-review-heading{align-items:flex-start;flex-direction:column}}.pr-stat-card.clickable{width:100%;appearance:none;border:1px solid #d9e2ec;text-align:left;font:inherit;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.pr-stat-card.clickable:hover{transform:translateY(-1px);border-color:#9fb8d1;box-shadow:0 6px 16px #2037521a}.pr-stat-card.clickable:focus-visible{outline:3px solid rgba(0,95,168,.22);outline-offset:2px}.pr-stat-card.clickable.active{border-color:#006fbe;box-shadow:0 0 0 2px #006fbe1f}.pr-stat-content{min-width:0}.pr-stat-detail{margin-top:3px;color:#697b8f;font-size:11px;line-height:1.25;white-space:normal}.pr-loft-status-modal{max-width:680px}.pr-loft-status-question{padding:18px 20px;border:1px solid #d7e2ec;border-radius:10px;background:#fff}.pr-loft-status-question>strong{display:block;margin-bottom:12px;color:#18324f;font-size:15px}.pr-loft-confirmation.pr-loft-confirmation-readonly{background:#effaf3;border-color:#b9e4c8}.pr-loft-confirmation.pr-loft-confirmation-readonly strong{color:#166534}.pr-loft-confirmation.pr-loft-confirmation-readonly input{accent-color:#15803d}.pr-loft-confirmed-banner{display:flex;align-items:flex-start;gap:10px;margin:14px 0 4px;padding:12px 14px;border:1px solid #b9e4c8;border-radius:10px;background:#effaf3;color:#166534}.pr-loft-confirmed-banner svg{flex:0 0 auto;margin-top:1px}.pr-loft-confirmed-banner div{display:flex;flex-direction:column;gap:2px}.pr-loft-confirmed-banner strong{font-size:13px}.pr-loft-confirmed-banner span{font-size:12px;color:#3f6f50}.pr-review-question-head>div{min-width:0;flex:1}.pr-review-question-head>div>strong{display:block}.pr-review-question-head-next-step{margin-top:6px}.pr-review-question-head-next-step>span{width:auto;min-width:42px;padding:0 8px;border-radius:999px;font-size:10px;text-transform:uppercase}.pr-review-question-head-next-step small{display:block;margin-bottom:3px;color:#687a8f;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.pr-review-guidance{margin:8px 0 0;padding-left:20px;color:#607286;font-size:12px;font-weight:500;line-height:1.5}.pr-review-guidance li+li{margin-top:3px}.pr-reset-reviewer-button{margin-right:auto}.pr-authority-analysis-page{display:flex;flex-direction:column;gap:18px;width:100%;color:var(--text, #1f2937)}.pr-authority-analysis-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px;border:1px solid #dbe3ea;border-radius:14px;background:#fff}.pr-authority-analysis-heading{display:flex;align-items:flex-start;gap:14px}.pr-authority-analysis-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:11px;background:#eef5fb;color:#1769aa}.pr-authority-eyebrow{display:block;margin-bottom:4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}.pr-authority-analysis-heading h2{margin:0;font-size:21px;line-height:1.25;font-weight:700;color:#111827}.pr-authority-analysis-heading p{max-width:720px;margin:6px 0 0;font-size:13px;line-height:1.55;color:#64748b}.pr-authority-status-badge{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.pr-authority-status-badge.supported{background:#ecfdf3;color:#18794e;border:1px solid #b7e4c7}.pr-authority-status-badge.partial{background:#fff8e6;color:#946200;border:1px solid #f1d58a}.pr-authority-status-badge.questionable{background:#fff4e5;color:#a45100;border:1px solid #f4c27a}.pr-authority-status-badge.unsupported{background:#fef2f2;color:#b42318;border:1px solid #fecaca}.pr-authority-status-badge.insufficient{background:#f3f4f6;color:#4b5563;border:1px solid #d1d5db}.pr-authority-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pr-authority-score-card{min-height:126px;padding:18px;border:1px solid #dbe3ea;border-radius:13px;background:#fff}.pr-authority-score-card.primary{border-color:#b8d4ea;background:#f7fbff}.pr-authority-score-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:12px;font-weight:700;color:#64748b}.pr-authority-score-card strong{display:block;font-size:30px;line-height:1;font-weight:750;color:#111827}.pr-authority-score-card small{display:block;margin-top:7px;font-size:12px;color:#7c8798}.pr-authority-section-title{display:flex;align-items:flex-start;gap:10px}.pr-authority-section-title svg{margin-top:2px;flex:0 0 auto;color:#447393}.pr-authority-section-title span{display:block;margin-bottom:2px;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#8491a3}.pr-authority-section-title strong{display:block;font-size:14px;font-weight:700;color:#1f2937}.pr-authority-summary-card{padding:20px 22px;border:1px solid #dbe3ea;border-radius:14px;background:#fff}.pr-authority-summary-text{margin:16px 0 0;font-size:14px;line-height:1.7;color:#334155}.pr-authority-findings-grid{display:grid;grid-template-columns:1fr;gap:14px}.pr-authority-finding-card{min-height:150px;padding:19px;border:1px solid #dbe3ea;border-radius:13px;background:#fff}.pr-authority-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pr-authority-citation-chip{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #cddce8;border-radius:8px;background:#f7fafc;font-size:12px;font-weight:650;color:#34556c}.pr-authority-concern-list{display:flex;flex-direction:column;gap:9px;margin:15px 0 0;padding-left:19px}.pr-authority-concern-list li{font-size:13px;line-height:1.55;color:#4b5563}.pr-authority-muted{margin:15px 0 0;font-size:13px;line-height:1.55;color:#7c8798}.pr-authority-no-analysis{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #f0d89c;border-radius:12px;background:#fffbeb}.pr-authority-no-analysis svg{flex:0 0 auto;color:#9a6700}.pr-authority-no-analysis strong{font-size:14px;color:#4b3a05}.pr-authority-no-analysis p{margin:4px 0 0;font-size:13px;line-height:1.5;color:#79651f}.pr-authority-supporting-section{margin-top:4px;padding-top:20px;border-top:1px solid #dbe3ea}.pr-authority-supporting-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.pr-authority-supporting-head h3{margin:0;font-size:17px;line-height:1.3;font-weight:700;color:#1f2937}.pr-authority-supporting-head p{margin:5px 0 0;font-size:12px;line-height:1.5;color:#758195}.pr-authority-count-pill,.pr-authority-source-pill{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#f1f5f9;border:1px solid #dbe3ea;color:#64748b;font-size:11px;font-weight:650;white-space:nowrap}.pr-authority-statutes-layout{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);min-height:360px;overflow:hidden;border:1px solid #dbe3ea;border-radius:13px;background:#fff}.pr-authority-statute-list{border-right:1px solid #dbe3ea;background:#f8fafc}.pr-authority-statute-buttons{display:flex;flex-direction:column;padding:8px;gap:4px}.pr-authority-statute-buttons button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid transparent;border-radius:9px;background:transparent;text-align:left;cursor:pointer;transition:background .12s ease,border-color .12s ease}.pr-authority-statute-buttons button:hover{background:#eef3f7}.pr-authority-statute-buttons button.active{background:#fff;border-color:#bfd4e3}.pr-authority-statute-buttons button svg{color:#6b8192}.pr-authority-statute-buttons button span{min-width:0}.pr-authority-statute-buttons button strong{display:block;overflow:hidden;font-size:12px;font-weight:700;color:#253746;text-overflow:ellipsis}.pr-authority-statute-buttons button small{display:block;margin-top:3px;overflow:hidden;font-size:10px;line-height:1.35;color:#8391a0;text-overflow:ellipsis}.pr-authority-statute-viewer{min-width:0;background:#fff}.pr-authority-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 17px;border-bottom:1px solid #e2e8f0}.pr-authority-viewer-head span{display:block;margin-bottom:2px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a98a8}.pr-authority-viewer-head h3{margin:0;font-size:14px;font-weight:700;color:#243746}.pr-authority-content-box{max-height:470px;overflow-y:auto;padding:18px}.pr-authority-content-head{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.pr-authority-content-head h3{margin:0;font-size:14px;font-weight:700;color:#1f2937}.pr-authority-content-head p{margin:5px 0 0;font-size:11px;line-height:1.45;color:#7b8794}.pr-authority-structured-text{display:flex;flex-direction:column;gap:7px}.pr-authority-statute-heading{margin-top:9px;padding-bottom:5px;font-size:12px;line-height:1.5;font-weight:700;color:#243746}.pr-authority-statute-heading:first-child{margin-top:0}.pr-authority-statute-row,.pr-authority-plain-text{font-size:12px;line-height:1.6;color:#4b5563}.pr-authority-plain-text{white-space:pre-wrap}.pr-authority-content-box.loading{display:flex;flex-direction:column;gap:11px}.pr-authority-skeleton{height:12px;border-radius:5px;background:#e8edf2}.pr-authority-skeleton.short{width:45%}.pr-authority-skeleton.medium{width:70%}.pr-authority-content-box.error{display:flex;align-items:flex-start;gap:10px;color:#a33a32}.pr-authority-content-box.error strong{font-size:13px}.pr-authority-content-box.error p{margin:4px 0 0;font-size:12px;line-height:1.5}.pr-authority-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;padding:30px;text-align:center;color:#718096}.pr-authority-empty h3{margin:10px 0 4px;font-size:16px;color:#334155}.pr-authority-empty p{max-width:420px;margin:0;font-size:13px;line-height:1.55}@media(max-width:1000px){.pr-authority-score-grid,.pr-authority-findings-grid,.pr-authority-statutes-layout{grid-template-columns:1fr}.pr-authority-statute-list{border-right:0;border-bottom:1px solid #dbe3ea}.pr-authority-statute-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pr-authority-analysis-hero,.pr-authority-supporting-head{flex-direction:column}.pr-authority-statute-buttons{grid-template-columns:1fr}.pr-authority-analysis-heading h2{font-size:19px}.pr-authority-score-card strong{font-size:26px}}.pr-statute-pdf-viewer{background:#f2f5f8;min-width:0}.pr-statute-pdf-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 13px;background:#fff;border-bottom:1px solid #dbe3ea;font-size:12px;color:#536579}.pr-statute-pdf-navigation{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.pr-statute-pdf-navigation button{padding:5px 8px;background:#fff;border:1px solid #cdd8e3;border-radius:5px;font-size:11px;color:#254666;cursor:pointer}.pr-statute-pdf-navigation button:disabled{opacity:.45;cursor:default}.pr-statute-pdf-navigation span{padding:0 6px;white-space:nowrap}.pr-statute-pdf-scroll{max-height:560px;overflow:auto;padding:14px}.pr-statute-pdf-page{position:relative;width:max-content;margin:0 auto;box-shadow:0 2px 9px #20354c22;background:#fff}.pr-statute-pdf-page canvas{display:block}.pr-statute-pdf-overlay{position:absolute;inset:0;pointer-events:none}.pr-statute-pdf-highlight{position:absolute;background:#f3cd43a6;box-shadow:0 0 0 1px #c89528a8;mix-blend-mode:multiply}.pr-statute-pdf-message{margin:0;padding:11px 14px;font-size:12px;color:#485e76;background:#fff}.pr-statute-pdf-message.error{color:#a12727}.admin-app{min-height:100vh;background:var(--surface);display:flex;flex-direction:column}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 32px;border-bottom:1px solid var(--border);min-height:88px;background:var(--surface)}.admin-header-brand{display:flex;align-items:center;gap:14px}.admin-header-logo{height:44px;width:44px;display:block}.admin-header-title{margin:0;font-family:var(--font-display);font-size:19px;font-weight:600;line-height:24px;letter-spacing:.4px;color:var(--color-black)}.admin-header-subtitle{margin:2px 0 0;font-family:var(--font-body);font-size:12px;color:var(--text-muted);letter-spacing:.3px}.admin-refresh-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:var(--surface);border:1px solid var(--text);border-radius:var(--radius-md);color:var(--text);font-family:var(--font-body);font-size:13px;font-weight:700;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.admin-refresh-btn:hover:not(:disabled){background:var(--surface-tint);border-color:var(--brand-primary);color:var(--brand-primary)}.admin-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.admin-main{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:32px;display:flex;flex-direction:column;gap:24px}.admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-stat{display:flex;align-items:center;gap:16px;padding:20px 24px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.admin-stat--total{border-left:4px solid var(--brand-primary)}.admin-stat--positive{border-left:4px solid var(--color-leaf-green-bright)}.admin-stat--negative{border-left:4px solid var(--brand-accent)}.admin-stat-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;background:var(--surface-tint);color:var(--brand-primary);flex-shrink:0}.admin-stat--positive .admin-stat-icon{background:#669b411f;color:var(--color-leaf-green-bright)}.admin-stat--negative .admin-stat-icon{background:#d154201f;color:var(--brand-accent)}.admin-stat-body{display:flex;flex-direction:column;min-width:0}.admin-stat-label{font-family:var(--font-body);font-size:12px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--text-muted)}.admin-stat-value{font-family:var(--font-display);font-size:28px;font-weight:700;line-height:1.2;color:var(--color-black);margin-top:2px}.admin-stat-meta{font-family:var(--font-body);font-size:12px;color:var(--text-muted);margin-top:2px}.admin-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-wrap:wrap}.admin-controls-group{display:inline-flex;gap:8px}.admin-controls-right{display:inline-flex;align-items:center;gap:16px;flex-wrap:wrap}.admin-pill{padding:8px 14px;border-radius:var(--radius-pill);border:1px solid var(--border-soft);background:var(--surface);font-family:var(--font-body);font-size:13px;font-weight:600;color:var(--text);cursor:pointer;transition:background .15s,border-color .15s,color .15s}.admin-pill:hover{border-color:var(--brand-primary);color:var(--brand-primary)}.admin-pill--active{background:var(--brand-primary);border-color:var(--brand-primary);color:var(--text-on-brand)}.admin-pill--active:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover);color:var(--text-on-brand)}.admin-select{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-body);font-size:13px}.admin-select-label{font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px;font-size:11px}.admin-select select{font-family:var(--font-body);font-size:13px;padding:7px 10px;border-radius:var(--radius-md);border:1px solid var(--border-soft);background:var(--surface);color:var(--text);cursor:pointer}.admin-select select:focus{outline:none;border-color:var(--brand-primary)}.admin-list{display:flex;flex-direction:column;gap:8px}.admin-row{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);overflow:hidden;transition:border-color .15s}.admin-row:hover,.admin-row--expanded{border-color:var(--brand-primary)}.admin-row-header{display:grid;grid-template-columns:20px auto 1fr auto;align-items:center;gap:16px;width:100%;padding:14px 18px;background:transparent;border:none;cursor:pointer;font-family:var(--font-body);text-align:left;color:var(--text)}.admin-row-toggle{color:var(--text-muted);display:inline-flex}.admin-row-rating{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:var(--radius-pill);white-space:nowrap}.admin-row-rating--positive{background:#669b4126;color:var(--color-leaf-green-dark)}.admin-row-rating--negative{background:#d1542026;color:var(--brand-accent)}.admin-row-question{font-size:14px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.admin-row-date{font-size:12px;color:var(--text-muted);white-space:nowrap}.admin-row-detail{padding:16px 20px 20px 54px;border-top:1px solid var(--border-soft);background:var(--surface-muted);display:flex;flex-direction:column;gap:14px}.admin-detail-field{display:flex;flex-direction:column;gap:4px}.admin-detail-label{font-family:var(--font-body);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--text-muted)}.admin-detail-value{font-family:var(--font-body);font-size:14px;line-height:1.5;color:var(--text);white-space:pre-wrap;word-break:break-word}.admin-detail-value em{color:var(--text-muted);font-style:italic}.admin-row-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding-top:8px;border-top:1px dashed var(--border-soft)}.admin-meta-cell{display:flex;flex-direction:column;gap:2px;min-width:0}.admin-meta-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--text-muted)}.admin-meta-value{font-size:12px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-meta-value--mono{font-family:SF Mono,Monaco,monospace;font-size:11px}.admin-list-state{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 24px;background:var(--surface);border:1px dashed var(--border-soft);border-radius:var(--radius-md);font-family:var(--font-body);font-size:14px;color:var(--text-muted)}.admin-list-state--error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.admin-spinner{animation:admin-spin 1s linear infinite}@keyframes admin-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.admin-fresh{margin:0;text-align:center;font-family:var(--font-body);font-size:11px;color:var(--text-muted)}@media(max-width:768px){.admin-summary{grid-template-columns:1fr}.admin-row-header{grid-template-columns:20px auto 1fr}.admin-row-date{grid-column:2 / -1;grid-row:2;margin-left:0}.admin-row-detail{padding-left:18px}}.admin-panel{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:18px;box-shadow:0 8px 24px #0f172a0f}.admin-panel-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.admin-section-title{margin:0;font-size:1.05rem;font-weight:700;color:#111827}.admin-muted{margin:4px 0 0;color:#6b7280;font-size:.9rem}.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.admin-metric-card{border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:14px;background:#f9fafb}.admin-metric-label{font-size:.78rem;color:#6b7280;margin-bottom:6px}.admin-metric-value{font-size:1.55rem;font-weight:800;color:#111827}.admin-metric-subtext{margin-top:4px;font-size:.75rem;color:#6b7280}.admin-analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.admin-analytics-card{border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:14px;background:#fff}.admin-analytics-card h3,.admin-review-box h3{margin:0 0 10px;font-size:.95rem;color:#111827}.admin-mini-table{display:flex;flex-direction:column;gap:8px}.admin-mini-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(15,23,42,.06);font-size:.88rem}.admin-mini-row:last-child{border-bottom:0;padding-bottom:0}.admin-mini-row span{color:#374151}.admin-mini-row small{display:block;color:#9ca3af;font-size:.72rem;margin-top:2px}.admin-mini-row strong{color:#111827;font-variant-numeric:tabular-nums}.admin-review-box{margin-top:16px;border:1px solid rgba(245,158,11,.35);background:#fffbebb3;border-radius:14px;padding:14px}.admin-review-list{display:flex;flex-direction:column;gap:10px}.admin-review-item{background:#fff;border-radius:12px;padding:12px;border:1px solid rgba(15,23,42,.08)}.admin-review-question{font-weight:700;color:#111827;margin-bottom:4px}.admin-review-meta{color:#6b7280;font-size:.8rem}.admin-review-reason{margin-top:6px;color:#92400e;font-size:.82rem}@media(max-width:1100px){.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-analytics-grid{grid-template-columns:1fr}}@media(max-width:640px){.admin-metric-grid{grid-template-columns:1fr}}.login-splash{position:fixed;inset:0;z-index:1000;background:linear-gradient(140deg,var(--brand-primary) 0%,var(--brand-primary-hover, #00366a) 100%);display:flex;align-items:center;justify-content:center;padding:24px;font-family:var(--font-body)}.login-card{position:relative;width:100%;max-width:420px;background:#fff;border-radius:14px;padding:32px 32px 28px;box-shadow:0 30px 80px #00143259}.login-logo{width:56px;height:56px;display:block;flex-shrink:0;margin-bottom:16px}.login-title{margin:0 0 8px;font-family:var(--font-heading);font-size:1.25rem;font-weight:700;color:var(--brand-primary);line-height:1.25}.login-subtitle{margin:0 0 20px;font-size:.875rem;color:var(--text-muted);line-height:1.5}.login-form{display:flex;flex-direction:column;gap:14px}.login-field{display:flex;flex-direction:column;gap:6px}.login-field>span{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.login-field input{width:100%;padding:10px 12px;border:1px solid var(--border, #d6d6d6);border-radius:8px;font-family:var(--font-body);font-size:.9375rem;color:var(--text);background:#fff;transition:border-color .15s,box-shadow .15s}.login-field input:focus{outline:none;border-color:var(--brand-primary);box-shadow:0 0 0 3px var(--brand-primary-soft)}.login-password-row{position:relative;display:flex}.login-password-row input{padding-right:38px}.login-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:none;padding:4px;cursor:pointer;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center}.login-password-toggle:hover{color:var(--brand-primary)}.login-error{font-size:.8125rem;color:#b91c1c;background:#fee2e2;border-radius:6px;padding:8px 10px}.login-submit{margin-top:4px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;background:var(--brand-primary);color:#fff;border:none;border-radius:10px;font-family:var(--font-body);font-size:.9375rem;font-weight:700;cursor:pointer;transition:background .15s,transform .05s}.login-submit:hover:not(:disabled){background:var(--brand-primary-hover, #00366a)}.login-submit:disabled{opacity:.6;cursor:not-allowed}.login-spinner{animation:login-spin 1s linear infinite}@keyframes login-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.login-footnote{margin-top:18px;text-align:center;font-size:.75rem;color:var(--text-muted)}.auth-checking{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:var(--brand-primary);color:#fff;z-index:1000}.auth-checking-spinner{animation:login-spin 1s linear infinite}
