.header{background:var(--mfp-white);border-bottom:3px solid var(--mfp-cyan);box-shadow:var(--mfp-shadow);z-index:100;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;max-width:1200px;height:64px;margin:0 auto;padding:0 24px;display:flex}.header-brand{align-items:center;gap:14px;display:flex}.header-logo-box{background:var(--mfp-cyan);color:var(--mfp-white);letter-spacing:1px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:15px;font-weight:700;display:flex}.header-title-group{flex-direction:column;display:flex}.header-title{color:var(--mfp-dark-blue);font-size:17px;font-weight:700;line-height:1.2}.header-subtitle{color:var(--mfp-slate);font-size:12px;line-height:1.2}.header-badge{color:var(--mfp-text-muted);background:#f0faf5;border:1px solid #c3e6cb;border-radius:20px;align-items:center;gap:7px;padding:5px 12px;font-size:13px;display:flex}.badge-dot{background:#28a745;border-radius:50%;flex-shrink:0;width:8px;height:8px;animation:2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.header-right{align-items:center;gap:14px;display:flex}.header-nav{background:#edf5fb;border:1px solid #d6e6f4;border-radius:999px;align-items:center;gap:6px;padding:4px;display:flex}.header-nav-btn{color:var(--mfp-dark-blue);background:0 0;border:0;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700;transition:background-color .15s,color .15s}.header-nav-btn.active{background:var(--mfp-dark-blue);color:var(--mfp-white)}.header-nav-btn:hover{background:#1b3b731f}.header-user{align-items:center;gap:8px;display:flex}.user-avatar{background:var(--mfp-dark-blue);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:700;display:flex}.user-name{color:var(--mfp-text-muted);white-space:nowrap;font-size:13px}.btn-signout{border:1px solid var(--mfp-border);color:var(--mfp-slate);cursor:pointer;background:0 0;border-radius:4px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:all .15s;display:flex}.btn-signout:hover{color:#dc3545;border-color:#dc3545}@media (width<=1040px){.header-badge,.header-subtitle,.user-name{display:none}}@media (width<=600px){.header-subtitle,.header-badge,.user-name{display:none}.header-inner{padding:0 14px}.header-title-group{display:none}.header-nav{gap:2px}.header-nav-btn{padding:7px 9px;font-size:11px}}.message-list{scroll-behavior:smooth;flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.message{align-items:flex-start;gap:10px;max-width:100%;display:flex}.message--user{flex-direction:row-reverse}.message-avatar{background:linear-gradient(135deg, var(--mfp-cyan), var(--mfp-blue));color:#fff;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:700;display:flex}.message-avatar--user{background:linear-gradient(135deg, var(--mfp-orange), #e06030)}.message-content{flex-direction:column;max-width:72%;display:flex}.message--user .message-content{align-items:flex-end}.message-bubble{word-break:break-word;padding:12px 16px;font-size:15px;line-height:1.55}.message--assistant .message-bubble p{margin:0 0 8px}.message--assistant .message-bubble p:last-child{margin-bottom:0}.message--assistant .message-bubble ul,.message--assistant .message-bubble ol{margin:6px 0 8px;padding-left:20px}.message--assistant .message-bubble li{margin-bottom:4px}.message--assistant .message-bubble strong{color:var(--mfp-dark-blue);font-weight:700}.message--assistant .message-bubble em{font-style:italic}.message--assistant .message-bubble code{background:#e8f4fb;border:1px solid #c8e6f5;border-radius:3px;padding:1px 5px;font-family:ui-monospace,Consolas,monospace;font-size:13px}.message--assistant .message-bubble blockquote{border-left:3px solid var(--mfp-cyan);color:var(--mfp-text-muted);margin:8px 0;padding:4px 12px;font-style:italic}.message--assistant .message-bubble a{color:var(--mfp-cyan);word-break:break-all;font-weight:500;text-decoration:underline}.message--assistant .message-bubble a:hover{color:var(--mfp-cyan-hover)}.project-link-inline{border:1px solid var(--mfp-cyan);color:var(--mfp-cyan);cursor:pointer;vertical-align:baseline;background:#01a2d31a;border-radius:4px;margin:0 2px;padding:1px 6px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-block}.project-link-inline:hover{background:var(--mfp-cyan);color:#fff;transform:translateY(-1px);box-shadow:0 2px 4px #01a2d34d}.message--user .project-link-inline{color:#fff;background:#fff3;border-color:#fff}.message--user .project-link-inline:hover{color:var(--mfp-cyan);background:#fff}.message--assistant .message-bubble p:has(a){background:#01a2d30f;border:1px solid #c8e6f5;border-radius:6px;margin-top:10px;padding:8px 12px;font-size:13px}.message--assistant .message-bubble{color:var(--mfp-text);background:#f0f8fc;border:1px solid #c8e6f5;border-radius:0 8px 8px}.message--user .message-bubble{background:var(--mfp-cyan);color:#fff;border-radius:8px 8px 0}.message-meta{align-items:center;gap:10px;margin-top:4px;padding:0 2px;display:flex}.message--user .message-meta{justify-content:flex-end}.message-time{color:#aaa;font-size:11px}.btn-copy{border:1px solid var(--mfp-border);color:var(--mfp-slate);cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:4px;padding:2px 8px;font-family:inherit;font-size:11px;transition:all .15s;display:flex}.btn-copy:hover{border-color:var(--mfp-cyan);color:var(--mfp-cyan);background:#01a2d30d}.typing-bubble{background:#f0f8fc;border:1px solid #c8e6f5;border-radius:0 8px 8px;align-items:center;gap:5px;min-width:56px;padding:14px 18px;display:flex}.dot{background:var(--mfp-cyan);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite bounce}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-6px)}}.chat-input-area{border-top:1px solid var(--mfp-border);background:var(--mfp-white);flex-shrink:0;padding:14px 20px 10px}.chat-input-row{background:var(--mfp-bg);border:2px solid var(--mfp-border);align-items:flex-end;gap:10px;padding:8px 8px 8px 14px;transition:border-color .2s;display:flex}.chat-input-row:focus-within{border-color:var(--mfp-cyan)}.chat-textarea{resize:none;color:var(--mfp-text);background:0 0;border:none;outline:none;flex:1;max-height:160px;font-family:inherit;font-size:15px;line-height:1.5;overflow-y:auto}.chat-textarea::placeholder{color:#aaa}.chat-textarea:disabled{opacity:.6}.btn-send{background:var(--mfp-cyan);color:#fff;border:none;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:background .2s,transform .1s;display:flex}.btn-send:hover:not(:disabled){background:var(--mfp-cyan-hover)}.btn-send:active:not(:disabled){transform:scale(.95)}.btn-send:disabled{cursor:not-allowed;background:#b0d9ec}.chat-input-hint{color:#bbb;text-align:right;margin-top:6px;font-size:11px}.chat-input-hint kbd{background:#f0f0f0;border:1px solid #ddd;border-radius:3px;padding:1px 4px;font-family:inherit;font-size:11px}.engineering-key{background:var(--mfp-white);border:1px solid var(--mfp-border);width:580px;box-shadow:var(--mfp-shadow);border-radius:4px;flex-direction:column;flex-shrink:0;height:calc(100vh - 112px);min-height:500px;margin-left:20px;display:flex;overflow:hidden}.key-header{background:var(--mfp-dark-blue);color:#fff;flex-shrink:0;align-items:center;gap:10px;padding:16px 20px;display:flex}.key-header h2{color:#fff;text-transform:uppercase;letter-spacing:.5px;margin:0;font-size:15px}.key-content{flex-direction:column;flex:1;gap:24px;padding:20px;display:flex;overflow-y:auto}.key-content::-webkit-scrollbar{width:6px}.key-content::-webkit-scrollbar-thumb{background:var(--mfp-border);border-radius:10px}.key-section h3{color:var(--mfp-slate);text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid var(--mfp-bg);margin-bottom:12px;padding-bottom:6px;font-size:13px}.mode-grid{gap:10px;display:grid}.mode-item{background:var(--mfp-bg);border-left:3px solid var(--mfp-cyan);border-radius:6px;padding:10px}.mode-badge{color:var(--mfp-dark-blue);margin-bottom:4px;font-size:12px;font-weight:700;display:inline-block}.mode-item p{color:var(--mfp-text-muted);margin:0;font-size:11px;line-height:1.4}.key-table{border-collapse:collapse;width:100%;font-size:12px}.key-table th{text-align:left;color:var(--mfp-slate);padding:6px 0;font-weight:600}.key-table td{border-bottom:1px solid var(--mfp-bg);vertical-align:top;padding:8px 0}.key-table td strong{color:var(--mfp-cyan)}.key-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.key-list li{color:var(--mfp-text-muted);padding-left:12px;font-size:12px;position:relative}.key-list li:before{content:"";background:var(--mfp-orange);border-radius:50%;width:4px;height:4px;position:absolute;top:6px;left:0}.key-list li strong{color:var(--mfp-dark-blue);display:block}.prefix-tags{flex-direction:column;gap:8px;display:flex}.prefix-tag{align-items:center;gap:10px;display:flex}.tag-code{background:var(--mfp-dark-blue);color:#fff;text-align:center;border-radius:3px;min-width:60px;padding:2px 6px;font-family:monospace;font-size:11px;font-weight:700}.tag-desc{color:var(--mfp-text-muted);font-size:12px}.tips-container{flex-direction:column;gap:12px;display:flex}.tip-item{flex-direction:column;gap:2px;display:flex}.tip-item strong{color:var(--mfp-cyan);font-size:12px}.tip-item span{color:var(--mfp-text-muted);font-size:11px}.info-box{background:#fff8f0;border:1px solid #ffe8cc;border-radius:6px;padding:12px}.info-box p{margin:0 0 6px;font-size:12px}.info-box small{color:var(--mfp-slate);border-top:1px solid #ffe8cc;margin-top:8px;padding-top:8px;font-size:11px;font-style:italic;display:block}@media (width<=1200px){.engineering-key{display:none}}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#000000b3;justify-content:center;align-items:center;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content{background-color:#fff;border-radius:12px;flex-direction:column;width:90%;max-width:600px;max-height:85vh;animation:.3s cubic-bezier(.16,1,.3,1) slideUp;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header{background-color:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.modal-header h2{color:#111827;margin:0;font-size:1.25rem;font-weight:600}.modal-close-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;padding:4px;font-size:1.5rem;line-height:1}.modal-close-btn:hover{color:#111827}.modal-body{padding:24px;overflow-y:auto}.project-title{color:#1f2937;margin-top:0;margin-bottom:8px;font-size:1.5rem}.project-summary{color:#4b5563;margin-bottom:24px;font-size:1.05rem;line-height:1.5}.project-specs-grid{background-color:#f3f4f6;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:16px;padding:16px;display:grid}.spec-item{flex-direction:column;display:flex}.spec-label{text-transform:uppercase;letter-spacing:.05em;color:#6b7280;margin-bottom:4px;font-size:.75rem}.spec-value{color:#111827;font-weight:600}.modal-actions{justify-content:center;margin-top:24px;display:flex}.btn-view-pdf{color:#fff;background-color:#2563eb;border-radius:6px;padding:10px 20px;font-weight:500;text-decoration:none;transition:background-color .2s}.btn-view-pdf:hover{background-color:#1d4ed8}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-page{background:var(--mfp-bg);flex:1;justify-content:center;align-items:flex-start;width:100%;max-width:1480px;min-height:0;margin:0 auto;padding:24px 20px;display:flex}.chat-container{background:var(--mfp-white);border:1px solid var(--mfp-border);max-width:900px;box-shadow:var(--mfp-shadow-lg);flex-direction:column;flex:1;height:calc(100vh - 112px);min-height:500px;display:flex}.chat-header-bar{border-bottom:1px solid var(--mfp-border);background:var(--mfp-white);flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.chat-header-info{align-items:center;gap:12px;display:flex}.ai-avatar{background:linear-gradient(135deg, var(--mfp-cyan) 0%, var(--mfp-blue) 100%);color:#fff;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:13px;font-weight:700;display:flex}.chat-header-name{color:var(--mfp-dark-blue);font-size:15px;font-weight:700}.chat-header-desc{color:var(--mfp-slate);font-size:12px}.chat-header-actions{align-items:center;gap:8px;display:flex}.btn-toggle-key,.btn-clear{border:1px solid var(--mfp-border);color:var(--mfp-text-muted);cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;transition:all .2s;display:flex}.btn-toggle-key:hover,.btn-clear:hover{border-color:var(--mfp-cyan);color:var(--mfp-cyan);background:#01a2d30d}.btn-toggle-key.active{border-color:var(--mfp-cyan);color:var(--mfp-cyan);background:#01a2d31a}.chat-error{color:#721c24;background:#fff3f3;border-top:1px solid #f5c6cb;flex-shrink:0;align-items:center;gap:8px;padding:10px 20px;font-size:13px;display:flex}@media (width<=600px){.chat-page{padding:0}.chat-container{height:calc(100vh - 64px);box-shadow:none;border:none}}.project-loading-overlay,.project-error-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2000;background:#00000080;place-items:center;animation:.2s ease-out fadeIn;display:grid;position:fixed;inset:0}.project-loading-card,.project-error-card{text-align:center;background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:16px;width:90%;max-width:400px;padding:32px;display:flex;box-shadow:0 10px 25px #0003}.spinner{border:4px solid #f3f3f3;border-top:4px solid var(--mfp-cyan);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.project-error-card h3{color:#d32f2f;margin:0}.project-error-card button{background:var(--mfp-cyan);color:#fff;cursor:pointer;border:none;border-radius:4px;padding:8px 24px;font-weight:600}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.chat-logs-page{background:radial-gradient(circle at 0 0,#01a2d314,#0000 28%),linear-gradient(#f5f9fc 0%,#eef4f8 100%);flex:1;padding:28px}.chat-logs-shell{flex-direction:column;gap:20px;max-width:1360px;margin:0 auto;display:flex}.chat-logs-hero{color:var(--mfp-white);background:linear-gradient(145deg,#15315f 0%,#204881 100%);border-radius:20px;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;display:flex;box-shadow:0 22px 48px #1b3b732e}.chat-logs-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:#ffffffc7;margin:0 0 8px;font-size:12px}.chat-logs-hero h1{color:var(--mfp-white);margin:0;font-size:30px;line-height:1.1}.chat-logs-copy{color:#ffffffe0;max-width:760px;margin:12px 0 0}.chat-logs-hero-stat{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffff1f;border-radius:18px;flex-direction:column;align-items:flex-end;gap:6px;min-width:210px;padding:16px 18px;display:flex}.chat-logs-stat-label,.chat-logs-stat-subtle{color:#ffffffc2;font-size:13px}.chat-logs-hero-stat strong{font-size:34px;line-height:1}.chat-logs-toolbar{grid-template-columns:minmax(0,1fr) 280px;gap:20px;display:grid}.chat-logs-filter-panel,.chat-logs-summary-card,.chat-log-card,.chat-logs-feedback,.chat-logs-empty-state{background:#ffffffeb;border:1px solid #6383aa2e;border-radius:18px;box-shadow:0 16px 38px #1b3b7314}.chat-logs-filter-panel{padding:20px}.chat-logs-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.chat-logs-field{color:var(--mfp-dark-blue);flex-direction:column;gap:7px;font-size:13px;font-weight:700;display:flex}.chat-logs-field input,.chat-logs-field select{width:100%;color:var(--mfp-text);font:inherit;background:#fff;border:1px solid #d5e1eb;border-radius:12px;padding:10px 12px}.chat-logs-toolbar-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.chat-logs-primary-btn,.chat-logs-secondary-btn{border:0;border-radius:12px;padding:12px 16px;font-weight:700;transition:transform .15s,box-shadow .15s,background-color .15s}.chat-logs-primary-btn{background:var(--mfp-cyan);color:var(--mfp-white);box-shadow:0 12px 24px #01a2d33d}.chat-logs-primary-btn:hover:not(:disabled){background:var(--mfp-cyan-hover);transform:translateY(-1px)}.chat-logs-secondary-btn{color:var(--mfp-dark-blue);background:#dfeaf5}.chat-logs-secondary-btn:hover:not(:disabled){background:#d1e1ef}.chat-logs-secondary-btn.active{color:var(--mfp-white);background:#15315f;box-shadow:0 12px 24px #1b3b732e}.chat-logs-secondary-btn.active:hover:not(:disabled){background:#204881}.chat-logs-primary-btn:disabled,.chat-logs-secondary-btn:disabled{cursor:not-allowed;opacity:.62;box-shadow:none;transform:none}.chat-logs-summary-card{padding:20px}.chat-logs-summary-label{letter-spacing:.08em;text-transform:uppercase;color:var(--mfp-slate);margin-bottom:10px;font-size:12px;display:inline-block}.chat-logs-summary-card p{color:var(--mfp-text-muted);margin:0}.chat-logs-summary-detail{font-size:13px;color:var(--mfp-slate)!important;margin-top:12px!important}.chat-logs-view-toggle{background:#eef4f9;border:1px solid #d8e4ee;border-radius:14px;align-items:center;gap:6px;padding:5px;display:inline-flex}.chat-logs-view-btn{color:var(--mfp-dark-blue);letter-spacing:.03em;text-transform:uppercase;background:0 0;border:0;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:800;transition:background-color .15s,color .15s}.chat-logs-view-btn.active{background:var(--mfp-white);color:var(--mfp-dark-blue);box-shadow:0 8px 18px #1b3b731a}.chat-logs-feedback,.chat-logs-empty-state{padding:16px 18px}.chat-logs-feedback-error{color:#8d1f1f;background:#ffeeeef0;border-color:#b741413d}.chat-logs-results{flex-direction:column;gap:16px;display:flex}.chat-log-card{padding:20px}.chat-session-card{padding-bottom:18px}.chat-log-card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.chat-log-card-head h2{font-size:19px}.chat-log-card-head p{color:var(--mfp-slate);margin:4px 0 0;font-size:13px}.chat-log-card-badges{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.chat-log-card-actions{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.chat-log-toggle-btn{color:var(--mfp-dark-blue);background:#dfeaf5;border:0;border-radius:12px;padding:10px 14px;font-size:12px;font-weight:800;transition:background-color .15s,transform .15s}.chat-log-toggle-btn:hover:not(:disabled){background:#d1e1ef;transform:translateY(-1px)}.chat-log-toggle-btn:disabled{cursor:not-allowed;opacity:.62;transform:none}.chat-log-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-items:center;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex}.chat-log-badge.reviewed{color:#1d6b39;background:#e8f6ed}.chat-log-badge.unreviewed{color:#8d4f12;background:#fff0df}.chat-log-badge.mixed{color:#4b57a7;background:#eef2ff}.chat-log-badge.neutral{color:var(--mfp-dark-blue);background:#eaf3fb}.chat-log-meta-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.chat-log-meta-grid div{background:#f6fafc;border:1px solid #e1ecf4;border-radius:14px;padding:12px}.chat-log-meta-grid span{color:var(--mfp-slate);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px;font-size:12px;display:block}.chat-log-meta-grid strong{color:var(--mfp-dark-blue);word-break:break-word;font-size:13px}.chat-log-body-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.chat-log-body-section{min-width:0}.chat-log-body-label{color:var(--mfp-slate);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:12px;font-weight:800}.chat-log-body-content{color:#e8f2ff;white-space:pre-wrap;word-break:break-word;background:#0f223f;border-radius:16px;min-height:140px;padding:16px;font-size:13px;line-height:1.55}.chat-log-body-content-user{background:#15315f}.chat-session-meta-grid{margin-bottom:18px}.chat-session-thread{flex-direction:column;gap:14px;display:flex}.chat-session-entry{background:#f7fbfe;border:1px solid #dce8f2;border-radius:18px;padding:16px}.chat-session-entry-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.chat-session-entry-head strong{color:var(--mfp-dark-blue);margin-top:3px;font-size:14px;display:block}.chat-session-entry-subtle{color:var(--mfp-slate);margin:6px 0 0;font-size:12px}.chat-session-entry-label{color:var(--mfp-slate);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800;display:inline-block}.chat-session-entry-actions{gap:8px}.chat-session-body-grid{margin-top:14px}@media (width<=1120px){.chat-logs-toolbar{grid-template-columns:1fr}.chat-logs-filter-grid,.chat-log-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-log-body-grid{grid-template-columns:1fr}}@media (width<=760px){.chat-logs-page{padding:16px}.chat-logs-hero,.chat-log-card-head,.chat-session-entry-head{flex-direction:column}.chat-logs-hero-stat,.chat-log-card-actions,.chat-log-card-badges{justify-content:flex-start;align-items:flex-start}.chat-logs-filter-grid,.chat-log-meta-grid{grid-template-columns:1fr}.chat-logs-view-toggle{justify-content:space-between;width:100%}.chat-logs-view-btn{flex:1}}.login-page{background:var(--mfp-bg);flex:1;justify-content:center;align-items:center;padding:24px;display:flex}.login-card{background:var(--mfp-white);border:1px solid var(--mfp-border);box-shadow:var(--mfp-shadow-lg);text-align:center;flex-direction:column;align-items:center;width:100%;max-width:400px;padding:48px 40px;display:flex}.login-logo{background:var(--mfp-cyan);color:#fff;letter-spacing:1px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:20px;font-size:20px;font-weight:700;display:flex}.login-title{color:var(--mfp-dark-blue);margin:0 0 8px;font-size:24px;font-weight:700}.login-subtitle{color:var(--mfp-slate);margin:0 0 36px;font-size:14px}.btn-login{background:var(--mfp-cyan);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;gap:10px;width:100%;padding:13px 24px;font-family:inherit;font-size:15px;font-weight:600;transition:background .2s;display:flex}.btn-login:hover{background:var(--mfp-cyan-hover)}.login-note{color:#aaa;margin:16px 0 0;font-size:12px}.feedback-trigger{z-index:200;color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:24px;align-items:center;gap:7px;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,transform .15s,box-shadow .2s;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 14px #28a74566}.feedback-trigger:hover{background:#218838;transform:translateY(-2px);box-shadow:0 6px 18px #28a74573}.feedback-backdrop{z-index:201;background:#00000059;position:fixed;inset:0}.feedback-modal{z-index:202;background:#fff;border-radius:8px;flex-direction:column;width:420px;max-width:calc(100vw - 48px);max-height:calc(100vh - 120px);display:flex;position:fixed;bottom:80px;right:24px;overflow-y:auto;box-shadow:0 8px 40px #0000002e}.feedback-modal-header{border-bottom:1px solid var(--mfp-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.feedback-modal-header h3{color:var(--mfp-dark-blue);margin:0;font-size:16px;font-weight:700}.feedback-close{color:#aaa;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:16px;line-height:1}.feedback-close:hover{color:#333;background:#f0f0f0}.feedback-form{flex-direction:column;gap:14px;padding:16px 20px 20px;display:flex}.feedback-reporter{border:1px solid var(--mfp-border);background:#f7f7f7;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;display:flex}.reporter-avatar{background:var(--mfp-dark-blue);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:flex}.reporter-name{color:var(--mfp-text);font-size:13px;font-weight:600}.reporter-email{color:var(--mfp-slate);font-size:11px}.feedback-field{flex-direction:column;gap:5px;display:flex}.feedback-field label{color:var(--mfp-text);font-size:13px;font-weight:600}.required{color:#dc3545}.feedback-field textarea{color:var(--mfp-text);border:1px solid var(--mfp-border);resize:vertical;border-radius:4px;padding:8px 10px;font-family:inherit;font-size:13px;line-height:1.5;transition:border-color .2s}.feedback-field textarea:focus{border-color:var(--mfp-cyan);outline:none}.char-count{color:#aaa;text-align:right;font-size:11px}.feedback-type-toggle{gap:8px;display:flex}.type-btn{border:2px solid var(--mfp-border);cursor:pointer;color:var(--mfp-text-muted);background:#fff;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:6px;padding:9px;font-family:inherit;font-size:13px;font-weight:600;transition:all .15s;display:flex}.type-btn:hover{border-color:var(--mfp-cyan);color:var(--mfp-cyan)}.type-btn--active{border-color:var(--mfp-cyan);color:var(--mfp-cyan);background:#01a2d314}.btn-capture{border:1px dashed var(--mfp-border);color:var(--mfp-text-muted);cursor:pointer;background:#f7f7f7;border-radius:4px;justify-content:center;align-items:center;gap:8px;padding:10px;font-family:inherit;font-size:13px;transition:all .15s;display:flex}.btn-capture:hover:not(:disabled){border-color:var(--mfp-cyan);color:var(--mfp-cyan);background:#01a2d30d}.btn-capture:disabled{opacity:.6;cursor:not-allowed}.screenshot-preview{border:1px solid var(--mfp-border);border-radius:4px;position:relative;overflow:hidden}.screenshot-preview img{object-fit:cover;width:100%;max-height:140px;display:block}.btn-clear-screenshot{color:#fff;cursor:pointer;background:#0009;border:none;border-radius:3px;padding:3px 8px;font-family:inherit;font-size:11px;position:absolute;top:6px;right:6px}.feedback-error{color:#dc3545;background:#fff3f3;border:1px solid #f5c6cb;border-radius:4px;padding:8px 10px;font-size:12px}.feedback-actions{gap:8px;padding-top:4px;display:flex}.btn-cancel{color:var(--mfp-text-muted);cursor:pointer;background:#f0f0f0;border:none;border-radius:6px;flex:1;padding:10px;font-family:inherit;font-size:13px;font-weight:600;transition:background .15s}.btn-cancel:hover{background:#e0e0e0}.btn-feedback-submit{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:6px;flex:2;padding:10px;font-family:inherit;font-size:13px;font-weight:600;transition:background .15s}.btn-feedback-submit:hover:not(:disabled){background:#218838}.btn-feedback-submit:disabled{opacity:.6;cursor:not-allowed}.feedback-success{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:32px 20px;display:flex}.feedback-success p{color:var(--mfp-text);font-size:14px}.feedback-success .btn-feedback-submit{flex:unset;width:100%}@media (width<=480px){.feedback-modal{width:auto;max-width:unset;bottom:70px;left:12px;right:12px}.feedback-trigger{bottom:16px;right:16px}}.prompt-admin-page{background:radial-gradient(circle at 0 0,#01a2d314,#0000 28%),linear-gradient(#f5f9fc 0%,#eef4f8 100%);flex:1;padding:28px}.prompt-admin-shell{flex-direction:column;gap:20px;max-width:1360px;margin:0 auto;display:flex}.prompt-admin-hero{color:var(--mfp-white);background:linear-gradient(145deg,#15315f 0%,#204881 100%);border-radius:20px;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;display:flex;box-shadow:0 22px 48px #1b3b732e}.prompt-admin-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:#ffffffc7;margin:0 0 8px;font-size:12px}.prompt-admin-hero h1{color:var(--mfp-white);margin:0;font-size:30px;line-height:1.1}.prompt-admin-copy{color:#ffffffe0;max-width:760px;margin:12px 0 0}.prompt-admin-hero-actions{flex-direction:column;align-items:flex-end;gap:12px;display:flex}.prompt-admin-refresh,.prompt-primary-btn,.prompt-secondary-btn,.prompt-link-btn{border:0;border-radius:12px;font-weight:700;transition:transform .15s,box-shadow .15s,background-color .15s}.prompt-admin-refresh,.prompt-primary-btn{background:var(--mfp-cyan);color:var(--mfp-white);box-shadow:0 12px 24px #01a2d33d}.prompt-admin-refresh:hover,.prompt-primary-btn:hover{background:var(--mfp-cyan-hover);transform:translateY(-1px)}.prompt-admin-refresh,.prompt-secondary-btn,.prompt-primary-btn{padding:12px 16px}.prompt-admin-refresh:disabled,.prompt-primary-btn:disabled,.prompt-secondary-btn:disabled,.prompt-link-btn:disabled{cursor:not-allowed;opacity:.62;box-shadow:none;transform:none}.prompt-secondary-btn{color:var(--mfp-dark-blue);background:#dfeaf5}.prompt-secondary-btn:hover,.prompt-link-btn:hover{background:#d1e1ef}.prompt-link-btn{color:var(--mfp-dark-blue);background:#eef5fb;padding:8px 12px}.prompt-admin-content{grid-template-columns:360px minmax(0,1fr);gap:20px;display:grid}.prompt-admin-sidebar,.prompt-admin-editor{min-width:0}.prompt-admin-section{background:#ffffffeb;border:1px solid #6383aa2e;border-radius:18px;padding:20px;box-shadow:0 16px 38px #1b3b7314}.prompt-admin-sidebar{flex-direction:column;gap:20px;display:flex}.prompt-admin-section-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.prompt-admin-section h2{font-size:18px}.prompt-admin-busy{color:#fffffff0;background:#ffffff24;border-radius:999px;align-items:center;gap:10px;padding:10px 14px;font-size:13px;font-weight:600;display:inline-flex}.prompt-spinner{border:2px solid #ffffff47;border-top-color:#ffffffeb;border-radius:999px;width:14px;height:14px;animation:.8s linear infinite prompt-spin}.prompt-key-list,.prompt-version-list{flex-direction:column;gap:10px;display:flex}.prompt-key-card,.prompt-version-card{text-align:left;background:#f8fbfd;border:1px solid #d5e1eb;border-radius:14px;flex-direction:column;gap:4px;padding:14px;transition:border-color .15s,background-color .15s,transform .15s;display:flex}.prompt-key-card:hover,.prompt-version-card:hover{border-color:var(--mfp-cyan);transform:translateY(-1px)}.prompt-key-card.active,.prompt-version-card.active{border-color:var(--mfp-cyan);background:linear-gradient(#eff9fd 0%,#e7f5fb 100%)}.prompt-key-card-title,.prompt-version-title{color:var(--mfp-dark-blue);font-weight:700}.prompt-key-card-meta,.prompt-version-date,.prompt-admin-helper,.prompt-key-card-version,.prompt-version-meta,.prompt-admin-footnote,.prompt-empty-state{color:var(--mfp-slate);font-size:13px}.prompt-admin-actions{align-items:center;gap:10px;display:flex}.prompt-admin-status{flex-direction:column;align-items:flex-end;gap:6px;max-width:340px;display:flex}.prompt-mode-badge{color:var(--mfp-dark-blue);letter-spacing:.03em;text-transform:uppercase;background:#eaf3fb;border-radius:999px;align-items:center;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex}.prompt-mode-badge.draft{color:#8d4f12;background:#fff0df}.prompt-admin-inline-note,.prompt-admin-playbook{color:var(--mfp-slate);background:#f6fafc;border:1px solid #d8e4ee;border-radius:14px;margin-bottom:16px;font-size:14px}.prompt-admin-inline-note{padding:12px 14px}.prompt-admin-playbook{padding:16px 18px}.prompt-admin-playbook h3{color:var(--mfp-dark-blue);margin:0 0 10px;font-size:15px}.prompt-admin-playbook p{margin:0}.prompt-admin-playbook p+p{margin-top:10px}.prompt-feedback{border-radius:12px;margin-bottom:16px;padding:12px 14px;font-size:14px}.prompt-feedback-error{color:#8e2424;background:#fff0f0;border:1px solid #f0c3c3}.prompt-feedback-success{color:#1b6c3b;background:#edf9f2;border:1px solid #bfe1ca}.prompt-feedback-warning{color:#73520f;background:#fff8e8;border:1px solid #eed28a}.prompt-feedback-info{color:#1c5878;background:#eef7fd;border:1px solid #c7dfef}.prompt-pdf-flow-panel{background:#f6fafc;border:1px solid #d8e4ee;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 20px;margin-bottom:16px;padding:16px 18px;display:grid}.prompt-pdf-flow-panel h3{color:var(--mfp-dark-blue);margin:0 0 8px;font-size:15px}.prompt-pdf-flow-panel p{color:var(--mfp-slate);margin:0;font-size:14px}.prompt-pdf-flow-status{color:var(--mfp-slate);flex-wrap:wrap;grid-column:1/-1;gap:8px 18px;font-size:13px;display:flex}.prompt-pdf-flow-error{color:#8e2424}.prompt-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.prompt-field{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.prompt-field span{color:var(--mfp-dark-blue);font-size:13px;font-weight:700}.prompt-field input,.prompt-field textarea{width:100%;font:inherit;color:var(--mfp-text);background:#fcfeff;border:1px solid #ccd9e5;border-radius:14px;padding:13px 14px;transition:border-color .15s,box-shadow .15s}.prompt-field textarea{resize:vertical;min-height:480px;line-height:1.55}.prompt-field input:focus,.prompt-field textarea:focus{border-color:var(--mfp-cyan);outline:none;box-shadow:0 0 0 4px #01a2d31f}@media (width<=1100px){.prompt-admin-content{grid-template-columns:1fr}}@media (width<=700px){.prompt-admin-page{padding:16px}.prompt-admin-hero{flex-direction:column;padding:20px}.prompt-admin-hero-actions,.prompt-admin-status{align-items:stretch;width:100%}.prompt-admin-hero h1{font-size:24px}.prompt-form-grid{grid-template-columns:1fr}.prompt-admin-section-head,.prompt-admin-actions,.prompt-pdf-flow-panel{flex-direction:column;align-items:stretch}.prompt-pdf-flow-panel{display:flex}}@keyframes prompt-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.scopes-shell{--scope-ink:#17303a;--scope-muted:#64747a;--scope-line:#d8e0e2;--scope-surface:#f5f7f6;--scope-accent:#0f6d73;width:min(1440px,100%);color:var(--scope-ink);margin:0 auto;padding:40px clamp(20px,4vw,64px) 80px}.scopes-page-heading,.scope-workspace-header,.scope-form-heading,.scope-panel-heading,.scope-section-heading,.scope-group-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.scopes-page-heading h1,.scope-workspace-header h1{letter-spacing:-.035em;text-wrap:balance;margin:5px 0 8px;font-size:clamp(2.15rem,4vw,3.7rem);font-weight:750;line-height:1.02}.scopes-page-heading p,.scope-workspace-header p{max-width:660px;color:var(--scope-muted);margin:0;font-size:1.02rem}.scope-eyebrow{color:var(--scope-accent);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800;display:block}.scope-btn,.scope-icon-btn,.scope-back-btn,.scope-fact-action-btn,.scope-info-btn{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.scope-btn{min-height:42px;padding:0 16px}.scope-btn-primary{background:var(--scope-accent);color:#fff}.scope-btn-primary:hover{background:#0a555a}.scope-btn-secondary{background:#fff;border-color:#b9c7ca}.scope-btn-secondary:hover,.scope-btn-quiet:hover{background:#eaf0ef}.scope-btn-quiet{color:var(--scope-muted)}.scope-btn:disabled{cursor:not-allowed;opacity:.55}.scope-btn:focus-visible,.scope-icon-btn:focus-visible,.scope-back-btn:focus-visible,.scope-fact-action-btn:focus-visible,.scope-info-btn:focus-visible,.scope-list-row:focus-visible{outline-offset:2px;outline:3px solid #0f6d733d}.scope-btn:active:not(:disabled),.scope-icon-btn:active:not(:disabled),.scope-fact-action-btn:active:not(:disabled){transform:translateY(1px)}.scope-icon-btn{border-color:var(--scope-line);width:40px;height:40px}.scopes-state,.scopes-error,.scopes-empty{min-height:140px;color:var(--scope-muted);text-align:center;justify-content:center;align-items:center;gap:12px;display:flex}.scopes-spinner{animation:.9s linear infinite scope-spin}@keyframes scope-spin{to{transform:rotate(360deg)}}.scopes-error{color:#7e2b25;text-align:left;background:#fbefed;border-left:4px solid #ad3f37;justify-content:flex-start;min-height:auto;margin:24px 0;padding:16px}.scopes-error div{flex:1;gap:2px;display:grid}.scopes-error span{font-size:.78rem}.scopes-empty{border:1px dashed #c7d2d4;flex-direction:column;min-height:170px}.scopes-empty strong{color:var(--scope-ink)}.new-scope-form{border:1px solid var(--scope-line);background:#fff;gap:22px;margin:32px 0;padding:clamp(22px,4vw,40px);display:grid;box-shadow:0 20px 50px #122d3514}.scope-form-heading h2,.scope-panel-heading h2,.scope-section-heading h2,.scope-group-heading h2,.scope-related-section h2,.scope-review-section h2{margin:4px 0 0;font-size:1.25rem}.scope-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.new-scope-form label,.scope-source-form label,.scope-submit-panel label,.scope-review-actions label{color:#344f58;gap:7px;font-size:.82rem;font-weight:750;display:grid}.scope-required-mark{color:#b42318;font-weight:800}.new-scope-form input,.new-scope-form textarea,.scope-source-form input,.scope-source-form textarea,.scope-source-form select,.scope-fact textarea,.scope-fact select,.scope-engineering-comment input,.scope-submit-panel textarea,.scope-review-actions textarea,.scope-answer-form textarea{width:100%;color:var(--scope-ink);font:inherit;background:#fff;border:1px solid #b9c7ca;border-radius:6px;font-weight:400;line-height:1.5}.new-scope-form input,.scope-source-form input,.scope-source-form select,.scope-fact select{height:44px;padding:0 12px}.scope-engineering-comment input{height:40px;padding:0 11px}.new-scope-form textarea,.scope-source-form textarea,.scope-fact textarea,.scope-submit-panel textarea,.scope-review-actions textarea,.scope-answer-form textarea{resize:vertical;min-height:80px;padding:11px 12px}.new-scope-form input:focus,.new-scope-form textarea:focus,.scope-source-form input:focus,.scope-source-form textarea:focus,.scope-source-form select:focus,.scope-fact textarea:focus,.scope-fact select:focus,.scope-engineering-comment input:focus,.scope-submit-panel textarea:focus,.scope-review-actions textarea:focus,.scope-answer-form textarea:focus{border-color:var(--scope-accent);outline:3px solid #0f6d7324}.scope-form-actions{justify-content:flex-end;gap:10px;display:flex}.scope-dashboard-groups{gap:40px;margin-top:42px;display:grid}.scope-group-heading{border-bottom:2px solid var(--scope-ink);align-items:center;padding-bottom:10px}.scope-group-heading h2{margin:0}.scope-group-heading span{background:var(--scope-surface);border-radius:50%;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:800;display:grid}.scope-list{border-bottom:1px solid var(--scope-line)}.scope-list-row{border:0;border-top:1px solid var(--scope-line);width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff;grid-template-columns:minmax(220px,1.6fr) minmax(130px,.8fr) minmax(120px,auto) 120px 20px;align-items:center;gap:18px;padding:18px 8px;display:grid}.scope-list-row:hover{background:#f7f9f8}.scope-list-title,.scope-list-readiness{gap:4px;display:grid}.scope-list-title span,.scope-list-readiness span,.scope-list-date{color:var(--scope-muted);font-size:.78rem}.scope-list-readiness small{color:var(--scope-muted);font-size:.68rem}.scope-mini-progress{background:#dce5e5;width:100px;height:4px;display:block;overflow:hidden}.scope-mini-progress>span{background:var(--scope-accent);height:100%;display:block}.scope-status,.scope-job,.scope-related-decision{color:#40575f;letter-spacing:.04em;text-transform:uppercase;background:#e8eeef;border-radius:4px;align-items:center;width:fit-content;padding:5px 8px;font-size:.68rem;font-weight:800;display:inline-flex}.scope-status-approved,.scope-job-succeeded,.scope-related-accepted{color:#1d6748;background:#dcefe6}.scope-status-changes-requested,.scope-job-failed,.scope-related-rejected{color:#8a332d;background:#f7e2de}.scope-status-ready-for-review,.scope-status-in-review,.scope-job-queued,.scope-job-running{color:#345793;background:#e3eafb}.scope-back-btn{color:var(--scope-muted);padding:0}.scope-back-btn:hover{color:var(--scope-accent)}.scope-workspace-header{align-items:end;margin-top:30px}.scope-workspace-header h1{max-width:900px;font-size:clamp(2rem,3.5vw,3.25rem)}.scope-workspace-meta{color:var(--scope-muted);flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;font-size:.78rem;display:flex}.scope-readiness-banner{border:1px solid #cddbd9;border-left:4px solid var(--scope-accent);color:var(--scope-ink);background:#eff5f4;border-radius:8px;grid-template-columns:auto minmax(180px,1fr) minmax(220px,auto);align-items:center;gap:24px;margin:34px 0 20px;padding:18px 20px;display:grid}.scope-readiness-value{align-items:baseline;gap:8px;display:flex}.scope-readiness-value strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:2rem}.scope-readiness-value span,.scope-readiness-banner p{color:#52676d;font-size:.8rem}.scope-readiness-banner p{margin:0}.scope-readiness-track{background:#d1dfdd;border-radius:999px;height:6px;overflow:hidden}.scope-readiness-track span{border-radius:inherit;background:var(--scope-accent);height:100%;display:block}.scope-stage-readiness{border:1px solid var(--scope-line);background:var(--scope-line);border-radius:9px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:1px;margin:34px 0 20px;display:grid;overflow:hidden}.scope-stage-status{color:#8a5a16;background:#f8faf9;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;min-height:108px;padding:20px 22px;display:grid}.scope-stage-status.is-ready{color:#236449;background:#edf6f1}.scope-stage-status div{gap:3px;display:grid}.scope-stage-status small{color:currentColor;letter-spacing:.08em;text-transform:uppercase;font-size:.67rem;font-weight:800}.scope-stage-status strong{color:var(--scope-ink);font-size:1rem}.scope-stage-status span{color:var(--scope-muted);font-size:.76rem}.scope-workspace-layout-staged{grid-template-columns:minmax(330px,.78fr) minmax(520px,1.22fr);gap:clamp(24px,3vw,46px)}.scope-conversation-column{gap:18px;min-width:0;display:grid;position:sticky;top:92px}.scope-conversation-column .scope-source-panel{position:static}.scope-conversation-panel{background:#f7f9f8;border:1px solid #c9d5d6;border-radius:10px;gap:18px;padding:22px;display:grid;box-shadow:0 18px 45px #122d3512}.scope-conversation-heading{color:var(--scope-accent);justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.scope-conversation-heading h2{color:var(--scope-ink);margin:4px 0 0;font-size:1.3rem}.scope-active-question{gap:16px;display:grid}.scope-question-stage,.scope-field-stage,.scope-match-kind{color:#825217;letter-spacing:.05em;text-transform:uppercase;background:#f8e8d2;border-radius:4px;align-items:center;width:fit-content;padding:4px 7px;font-size:.62rem;font-weight:800;display:inline-flex}.scope-question-finish,.scope-field-stage-finish{color:#405d84;background:#e5ebf4}.scope-field-stage-preferred{color:#52666d;background:#e8eeef}.scope-active-question h3{letter-spacing:-.02em;margin:0;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.2}.scope-active-question dl{border-block:1px solid var(--scope-line);gap:10px;margin:0;padding:14px 0;display:grid}.scope-active-question dl div{gap:2px;display:grid}.scope-active-question dt,.scope-active-question blockquote small,.scope-answer-form label{color:var(--scope-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:800}.scope-active-question dd{color:#40555d;margin:0;font-size:.8rem;line-height:1.5}.scope-active-question blockquote{border-left:3px solid var(--scope-accent);color:#304a52;background:#eaf2f1;gap:5px;margin:0;padding:14px 16px;font-size:.82rem;line-height:1.5;display:grid}.scope-answer-form{gap:8px;display:grid}.scope-answer-form textarea{resize:vertical;width:100%}.scope-answer-form>div{justify-content:space-between;gap:10px;display:flex}.scope-conversation-empty,.scope-conversation-complete,.scope-conversation-processing{min-height:190px;color:var(--scope-accent);border:1px dashed #bfcdd0;align-content:center;justify-items:start;gap:8px;padding:24px;display:grid}.scope-conversation-empty strong,.scope-conversation-complete strong,.scope-conversation-processing strong{color:var(--scope-ink)}.scope-conversation-empty p,.scope-conversation-complete p,.scope-conversation-processing small{color:var(--scope-muted);margin:0 0 7px;font-size:.8rem;line-height:1.5}.scope-conversation-processing{position:relative;overflow:hidden}.scope-conversation-error{color:#8a3029;background:#fbefed;border-left:3px solid #a43d34;align-items:flex-start;gap:10px;padding:13px 14px;display:flex}.scope-conversation-error div{gap:3px;display:grid}.scope-conversation-error span,.scope-conversation-error small,.scope-conversation-warning{font-size:.73rem;line-height:1.45}.scope-conversation-warning{color:#76570c;background:#fff5d8;margin:0;padding:10px 12px}.scope-conversation-shimmer{background:#d8e4e3;border-radius:3px;width:72%;height:9px;animation:1.5s ease-in-out infinite scope-shimmer}@keyframes scope-shimmer{0%,to{opacity:.45;transform:translate(0)}50%{opacity:1;transform:translate(18%)}}.scope-deferred-questions,.scope-conversation-history{border-top:1px solid var(--scope-line);gap:6px;padding-top:15px;display:grid}.scope-deferred-questions h3,.scope-conversation-history h3{margin:0 0 5px;font-size:.78rem}.scope-deferred-questions button,.scope-conversation-history summary{border:0;border-top:1px solid var(--scope-line);color:#40555d;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:.76rem;display:flex}.scope-deferred-questions button:disabled{cursor:not-allowed;opacity:.55}.scope-conversation-history p{color:var(--scope-muted);margin:0;padding:4px 0 12px;font-size:.76rem;line-height:1.5}.scope-followup-lists{border:1px solid var(--scope-line);background:var(--scope-line);border-radius:9px;gap:1px;display:grid;overflow:hidden}.scope-followup-group{background:#fff;grid-template-columns:minmax(145px,.45fr) minmax(0,1fr);gap:18px;padding:15px 17px;display:grid}.scope-followup-group>div{align-content:start;gap:3px;display:grid}.scope-followup-group small{color:var(--scope-accent);letter-spacing:.07em;text-transform:uppercase;font-size:.67rem;font-weight:800}.scope-followup-group>div span,.scope-followup-group>p{color:var(--scope-muted);font-size:.7rem;line-height:1.4}.scope-followup-group ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.scope-followup-group li button{color:#344f58;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:.76rem;font-weight:700;display:flex}.scope-followup-group>p{align-items:center;gap:6px;margin:0;display:flex}.scope-mobile-panes{display:none}.scope-match-duplicate{color:#825217;background:#f8e8d2}.scope-match-reference{color:#405d84;background:#e5ebf4}.scope-next-question{width:100%;color:var(--scope-ink);font:inherit;text-align:left;cursor:pointer;background:#eff8f6;border:1px solid #aad0ce;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;padding:17px 20px;text-decoration:none;transition:background-color .14s,border-color .14s,box-shadow .14s;display:flex}.scope-next-question:hover{border-color:var(--scope-accent);background:#e3f3f0}.scope-next-question:focus-visible{outline:3px solid color-mix(in srgb, var(--scope-accent) 35%, transparent);outline-offset:3px}.scope-next-question span{gap:3px;display:grid}.scope-next-question small{color:var(--scope-accent);text-transform:uppercase;font-weight:800}.scope-workspace-layout{grid-template-columns:minmax(0,1fr) minmax(310px,370px);align-items:start;gap:clamp(24px,3vw,42px);display:grid}.scope-facts-column{gap:14px;display:grid}.scope-field-guide{border-left:4px solid var(--scope-accent);color:#4b626a;background:#edf4f3;flex-wrap:wrap;gap:8px 18px;padding:13px 15px;font-size:.75rem;line-height:1.45;display:flex}.scope-field-guide strong{color:var(--scope-ink)}.scope-fact-section{border:1px solid var(--scope-line);background:#fff;border-radius:9px;overflow:clip}.scope-related-section>.scope-section-heading,.scope-review-section>.scope-section-heading{border-bottom:2px solid var(--scope-ink);align-items:end;padding-bottom:10px}.scope-related-section>.scope-section-heading>div,.scope-review-section>.scope-section-heading>div{align-items:baseline;gap:10px;display:flex}.scope-section-number{color:var(--scope-accent);font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:800}.scope-sections-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:5px 2px 1px;display:flex}.scope-sections-toolbar>div{align-items:baseline;gap:10px;display:flex}.scope-sections-toolbar>div:first-child span{color:var(--scope-muted);font-size:.76rem}.scope-sections-toolbar .scope-btn{min-height:34px;padding:0 11px;font-size:.74rem}.scope-section-toggle{width:100%;color:var(--scope-ink);font:inherit;text-align:left;cursor:pointer;background:#f8faf9;border:0;grid-template-columns:28px minmax(0,1fr) auto 20px;align-items:center;gap:12px;padding:17px 18px;transition:background-color .18s;display:grid}.scope-section-toggle:hover{background:#eef4f3}.scope-section-toggle:focus-visible{outline-offset:-3px;outline:3px solid #0f6d733d;position:relative}.scope-section-title{gap:2px;display:grid}.scope-section-title-label{color:var(--mfp-dark-blue);margin:0;font-size:1.05rem;font-weight:700;line-height:1.25}.scope-section-title>span{color:var(--scope-muted);font-size:.72rem;font-weight:500}.scope-section-badges{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.scope-section-badge{color:#53676e;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;background:#e8eeef;border-radius:4px;padding:4px 7px;font-size:.64rem;font-weight:800}.scope-section-badge-blocking{color:#875311;background:#fff0db}.scope-section-badge-proposed{color:#3f5f94;background:#e8edf8}.scope-section-badge-complete{color:#246548;background:#dfeee7}.scope-section-caret{color:var(--scope-muted);transition:transform .18s}.scope-section-toggle[aria-expanded=true] .scope-section-caret{transform:rotate(180deg)}.scope-section-body{border-top:1px solid var(--scope-line);padding:0 18px}.scope-section-body[hidden]{display:none}.scope-section-body .scope-fact:last-child{border-bottom:0}.scope-fact{border-bottom:1px solid var(--scope-line);padding:19px 0 22px}.scope-fact-heading{justify-content:space-between;gap:16px;margin-bottom:5px;display:flex}.scope-fact-heading label{align-items:center;gap:9px;font-weight:800;display:flex}.scope-fact-indicators{justify-content:flex-end;align-items:flex-start;gap:10px;display:flex}.scope-fact-state{text-align:right;gap:1px;min-width:170px;display:grid}.scope-fact-state strong,.scope-save-state{color:var(--scope-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.65rem;font-weight:800}.scope-fact-state small{color:var(--scope-muted);font-size:.67rem;font-weight:500}.scope-fact-confirmed .scope-fact-state strong{color:#247054}.scope-fact-unknown .scope-fact-state strong,.scope-fact-assumption .scope-fact-state strong{color:#a85e14}.scope-fact-proposed .scope-fact-state strong{color:#345793}.scope-save-state{color:#247054;padding-top:2px}.scope-save-state-saving{color:var(--scope-muted)}.scope-save-state-conflict{color:#a3322a}.scope-fact>p{color:var(--scope-muted);margin:0 0 11px;font-size:.84rem}.scope-fact textarea:disabled,.scope-fact select:disabled{background:var(--scope-surface);opacity:1;border-color:#0000}.scope-fact-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.scope-fact-action-btn{color:#344f58;background:#fff;border-color:#aebdc0;min-height:34px;padding:0 11px;font-size:.73rem;box-shadow:0 1px 2px #17303a14}.scope-fact-action-btn:hover{background:#f1f5f4;border-color:#71878d}.scope-fact-action-btn[aria-pressed=true]{color:#805019;background:#fff6e8;border-color:#d29b59}.scope-engineering-comment{color:#344f58;gap:6px;margin-top:12px;font-size:.72rem;font-weight:750;display:grid}.scope-field-label-with-help{align-items:center;gap:7px;display:flex}.scope-info-tooltip{display:inline-flex;position:relative}.scope-info-btn{color:#3f5d66;background:#fff;border-color:#9aabb0;border-radius:50%;width:23px;height:23px;padding:0}.scope-info-btn:hover{border-color:var(--scope-accent);color:var(--scope-accent);background:#eaf4f2}.scope-info-popover{z-index:20;background:var(--scope-ink);color:#fff;opacity:0;pointer-events:none;border-radius:5px;width:min(310px,78vw);padding:10px 12px;font-size:.72rem;font-weight:500;line-height:1.45;transition:opacity .15s,transform .15s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,4px);box-shadow:0 10px 24px #17303a33}.scope-info-tooltip:hover .scope-info-popover,.scope-info-tooltip:focus-within .scope-info-popover{opacity:1;transform:translate(-50%)}.scope-engineering-comment-readonly{color:#3f5668;background:#f0f3fa;border-left:3px solid #607fb9;margin:0;padding:10px 11px;font-size:.78rem;font-weight:500}.scope-proposal{background:#f0f3fa;border-left:3px solid #607fb9;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:12px;padding:14px;display:flex}.scope-proposal>div{gap:5px;display:grid}.scope-proposal span,.scope-proposal em{color:#52657b;font-size:.72rem}.scope-proposal blockquote{color:#52616a;margin:2px 0;font-size:.8rem}.scope-source-panel{border:1px solid var(--scope-line);background:var(--scope-surface);border-radius:9px;gap:18px;padding:22px;display:grid;position:sticky;top:92px}.scope-source-form{gap:14px;display:grid}.scope-checkbox{grid-template-columns:auto 1fr;align-items:center;display:flex!important}.scope-checkbox input{width:16px;height:16px}.scope-source-warning,.scope-source-error,.scope-source-feedback{color:#76570c;background:#fff5d8;margin:0;padding:10px;font-size:.76rem}.scope-source-error{color:#7e2b25;background:#fbefed}.scope-source-error,.scope-source-feedback{gap:3px;display:grid}.scope-source-error small,.scope-source-feedback small{font-size:.66rem}.scope-source-feedback-success{color:#1d6748;background:#e5f3ec}.scope-source-feedback-error{color:#7e2b25;background:#fbefed}.scope-source-list{gap:8px;display:grid}.scope-source-list details{border-top:1px solid var(--scope-line)}.scope-source-list summary{cursor:pointer;gap:9px;padding:12px 0;display:flex}.scope-source-list summary span{gap:2px;display:grid}.scope-source-list small,.scope-source-list>p{color:var(--scope-muted);font-size:.72rem}.scope-source-list pre{white-space:pre-wrap;max-height:320px;font:.72rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.scope-related-section,.scope-review-section{margin-top:44px}.scope-related-section>.scope-section-heading p{max-width:430px;color:var(--scope-muted);text-align:right;margin:0;font-size:.76rem}.scope-related-heading,.scope-related-meta,.scope-related-actions,.scope-related-actions>div{align-items:center;display:flex}.scope-related-heading{gap:14px}.scope-related-count{color:#4d6269;white-space:nowrap;background:#e8eeef;border-radius:4px;padding:4px 7px;font-size:.7rem;font-weight:800}.scope-related-filters{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.scope-related-filters button{color:#41565e;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #bdcacc;border-radius:6px;align-items:center;gap:8px;padding:0 11px;font-size:.74rem;font-weight:700;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.scope-related-filters button:hover{background:#f2f6f5;border-color:#84969a}.scope-related-filters button[aria-pressed=true]{border-color:var(--scope-ink);background:var(--scope-ink);color:#fff}.scope-related-filters button:focus-visible{outline-offset:2px;outline:3px solid #0f6d733d}.scope-related-filters strong{text-align:center;background:#17303a14;border-radius:4px;min-width:19px;padding:2px 5px;font-size:.67rem}.scope-related-filters button[aria-pressed=true] strong{background:#ffffff24}.scope-related-list{border:1px solid var(--scope-line);background:#fff;border-radius:9px;margin-top:12px;display:grid;overflow:clip}.scope-related-kind-group{display:grid}.scope-related-kind-group+.scope-related-kind-group{border-top:1px solid #9fb0b4}.scope-related-kind-group>header{border-bottom:1px solid var(--scope-line);background:#edf2f1;gap:3px;padding:13px 17px;display:grid}.scope-related-kind-group>header strong{color:var(--scope-ink);font-size:.78rem}.scope-related-kind-group>header span{color:var(--scope-muted);font-size:.7rem}.scope-related-item{border-bottom:1px solid var(--scope-line);border-left:4px solid #aebec1;grid-template-columns:minmax(0,1fr) minmax(190px,auto);gap:clamp(20px,3vw,44px);padding:20px;display:grid}.scope-related-item:last-child{border-bottom:0}.scope-related-item-accepted{background:#fbfdfc;border-left-color:#3a8365}.scope-related-item-rejected{background:#fafbfb;border-left-color:#c8d1d3}.scope-related-content{min-width:0}.scope-related-meta{color:var(--scope-muted);flex-wrap:wrap;gap:7px 10px;font-size:.7rem}.scope-related-reference{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:750}.scope-related-list h3{color:var(--scope-ink);text-wrap:pretty;margin:10px 0 6px;font-size:1rem;line-height:1.35}.scope-related-preview{max-width:85ch;color:var(--scope-muted);margin:0;font-size:.79rem;line-height:1.5}.scope-related-evidence{margin-top:10px}.scope-related-evidence summary{width:fit-content;color:var(--scope-accent);cursor:pointer;font-size:.73rem;font-weight:750}.scope-related-evidence summary:hover{color:#0a555a}.scope-related-evidence summary:focus-visible{outline-offset:2px;outline:3px solid #0f6d733d}.scope-related-evidence p{color:#4b6067;overflow-wrap:anywhere;white-space:pre-wrap;background:#f3f6f5;border-left:3px solid #aebec1;max-height:220px;margin:10px 0 0;padding:12px;font:.72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.scope-related-actions{flex-direction:column;justify-content:space-between;align-self:stretch;gap:18px}.scope-related-actions>div{flex-wrap:wrap;justify-content:flex-end;gap:7px}.scope-related-actions>a{color:var(--scope-accent);justify-content:flex-end;align-items:center;gap:5px;font-size:.75rem;font-weight:750;display:flex}.scope-related-actions .scope-btn{min-height:36px;padding:0 11px;font-size:.73rem}.scope-submit-panel,.scope-review-actions{background:var(--scope-surface);gap:18px;margin-top:18px;padding:22px;display:grid}.scope-submit-panel .scope-btn{justify-self:end}.scope-review-actions>div{justify-content:flex-end;gap:10px;display:flex}.scope-review-history{margin-top:18px}.scope-review-history article{border-bottom:1px solid var(--scope-line);gap:4px;padding:14px 0;display:grid}.scope-review-history span,.scope-review-history p{color:var(--scope-muted);margin:0;font-size:.78rem}.scope-archive-row{justify-content:flex-end;margin-top:32px;display:flex}.scope-print-sheet{display:none}@media (width<=980px){.scope-list-row{grid-template-columns:minmax(200px,1fr) minmax(120px,auto) 20px}.scope-list-readiness,.scope-list-date{display:none}.scope-workspace-layout{grid-template-columns:1fr}.scope-workspace-layout-staged{display:block}.scope-mobile-panes{border:1px solid var(--scope-line);background:#edf1f1;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 14px;padding:4px;display:grid}.scope-mobile-panes button{min-height:40px;color:var(--scope-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;font-size:.78rem;font-weight:800}.scope-mobile-panes button[aria-selected=true]{color:var(--scope-ink);background:#fff;box-shadow:0 4px 12px #122d3512}.scope-mobile-pane-conversation .scope-brief-column,.scope-mobile-pane-brief .scope-conversation-column{display:none}.scope-conversation-column{position:static}.scope-source-panel{order:-1;position:static}.scope-readiness-banner{grid-template-columns:auto 1fr}.scope-readiness-banner p{grid-column:1/-1}.scope-related-item{grid-template-columns:1fr}.scope-related-actions{align-items:flex-start}.scope-related-actions>div,.scope-related-actions>a{justify-content:flex-start}}@media (width<=680px){.scopes-shell{padding:26px 16px 64px}.scopes-page-heading,.scope-workspace-header,.scope-form-heading,.scope-related-section>.scope-section-heading{flex-direction:column}.scope-form-grid{grid-template-columns:1fr}.scope-list-row{grid-template-columns:1fr auto 18px;gap:10px}.scope-readiness-banner,.scope-stage-readiness{grid-template-columns:1fr}.scope-stage-status{min-height:94px;padding:17px}.scope-readiness-banner p{grid-column:auto}.scope-proposal{flex-direction:column}.scope-answer-form>div{flex-direction:column-reverse;align-items:stretch}.scope-answer-form .scope-btn{width:100%}.scope-followup-group{grid-template-columns:1fr;gap:8px}.scope-fact-heading{align-items:flex-start}.scope-fact-state{min-width:0}.scope-fact-state small{display:none}.scope-related-section>.scope-section-heading p{text-align:left}.scope-sections-toolbar{flex-direction:column;align-items:flex-start}.scope-sections-toolbar>div:last-child{width:100%}.scope-sections-toolbar>div:last-child .scope-btn{flex:1}.scope-section-toggle{grid-template-columns:24px minmax(0,1fr) 18px;gap:9px;padding:15px 14px}.scope-section-badges{grid-area:2/2/auto/-1;justify-content:flex-start}.scope-section-caret{grid-area:1/3}.scope-section-body{padding:0 14px}.scope-related-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.scope-related-filters button{justify-content:space-between}.scope-related-actions>div{flex-direction:column;align-items:stretch;width:100%}.scope-related-actions .scope-btn{width:100%}}@media print{body *{visibility:hidden!important}.scope-print-sheet,.scope-print-sheet *{visibility:visible!important}.scope-print-sheet{color:#172f38;padding:.3in;font-family:Arial,sans-serif;display:block;position:absolute;inset:0}.scope-print-sheet header{border-bottom:3px solid #172f38;padding-bottom:18px}.scope-print-sheet header>span{color:#0f6d73;letter-spacing:.12em;text-transform:uppercase;font-size:9pt;font-weight:800}.scope-print-sheet h1{margin:8px 0 2px;font-family:Georgia,serif;font-size:28pt}.scope-print-sheet header>p{color:#52646a;margin:0}.scope-print-sheet dl{grid-template-columns:repeat(auto-fit,minmax(1.5in,1fr));gap:12px;margin-top:18px;display:grid}.scope-print-sheet dl div{gap:3px;display:grid}.scope-print-sheet dt{color:#607178;text-transform:uppercase;font-size:7pt;font-weight:800}.scope-print-sheet dd{margin:0;font-size:9pt}.scope-print-sheet section{break-inside:avoid;margin-top:20px}.scope-print-sheet section>h2{border-bottom:1px solid #829198;padding-bottom:5px;font-size:13pt}.scope-print-fact{border-bottom:1px solid #d7dfe1;grid-template-columns:2.2in 1fr;gap:14px;padding:7px 0;display:grid}.scope-print-fact h3,.scope-print-fact p{margin:0;font-size:9pt}.scope-print-fact small{color:#65767c;grid-column:2;font-size:7pt}.scope-print-followups>div{grid-template-columns:1.5in 1fr;gap:14px;padding:6px 0;display:grid}.scope-print-followups h3,.scope-print-followups p,.scope-print-followups ul{margin:0;font-size:9pt}.scope-print-followups ul{padding-left:16px}.scope-print-sheet footer{color:#65767c;border-top:1px solid #172f38;justify-content:space-between;margin-top:24px;padding-top:8px;font-size:7pt;display:flex}}.app{flex-direction:column;min-height:100vh;display:flex}.app-main{flex-direction:column;flex:1;display:flex}.app-footer{text-align:center;color:var(--mfp-slate);opacity:.5;padding:6px;font-size:11px}.app-loading{color:var(--mfp-slate);flex:1;justify-content:center;align-items:center;font-size:15px;display:flex}:root{--mfp-cyan:#01a2d3;--mfp-cyan-hover:#0095c6;--mfp-blue:#1893d1;--mfp-orange:#fc8041;--mfp-dark-blue:#1b3b73;--mfp-slate:#6383aa;--mfp-bg:#f7f7f7;--mfp-text:#111;--mfp-text-muted:#3d3d3d;--mfp-white:#fff;--mfp-border:#e0e0e0;--mfp-shadow:0 2px 12px #00000014;--mfp-shadow-lg:0 4px 24px #0000001f;color:var(--mfp-text);background:var(--mfp-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Arial,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}*,:before,:after{box-sizing:border-box}body{margin:0;padding:0}#root{flex-direction:column;min-height:100vh;display:flex}h1,h2,h3,h4{color:var(--mfp-dark-blue);margin:0;font-weight:700}button{cursor:pointer;font-family:inherit}a{color:var(--mfp-cyan);text-decoration:none}a:hover{color:var(--mfp-cyan-hover)}
