*{box-sizing:border-box}html,body,#root{color:#111827;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.shell{flex-direction:column;height:100dvh;display:flex}.shell header{border-bottom:1px solid #e5e7eb;flex:none;padding:12px 16px;font-size:14px}.muted{color:#6b7280}.shell .body{flex:auto;min-height:0;display:flex}.sidebar{border-right:1px solid #e5e7eb;flex-direction:column;flex:0 0 280px;gap:20px;padding:16px;display:flex;overflow-y:auto}.sidebar h3{text-transform:uppercase;letter-spacing:.04em;color:#6b7280;margin:0 0 8px;font-size:12px}.field{margin-bottom:8px;display:block}.field span{color:#374151;margin-bottom:4px;font-size:12px;display:block}.field input,.field select{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:6px 8px;font-size:14px}.hint{color:#9ca3af;margin-top:3px;font-size:11px;display:block}.combobox{position:relative}.combo-list{z-index:20;background:#fff;border:1px solid #d1d5db;border-radius:8px;max-height:240px;margin:4px 0 0;padding:4px;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #1118271f}.combo-list li{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;padding:6px 8px;font-size:14px;overflow:hidden}.combo-list li.highlight{background:#eff6ff}.sidebar button{cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:6px;padding:6px 12px;font-size:14px}.sidebar button:disabled{opacity:.5;cursor:default}ul.pending{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}ul.pending button{text-align:left;width:100%}ul.pending button.active{background:#eff6ff;border-color:#2563eb}.pending-row{gap:4px;display:flex}.pending-row>button:first-child{flex:auto;min-width:0}.pending-row button.reset{color:#b91c1c;background:#fef2f2;border-color:#fecaca;flex:none}.error{color:#b91c1c;font-size:13px}.shell main{flex:auto;min-height:0}.empty{justify-content:center;align-items:center;height:100%;font-size:14px;display:flex}.conversation{flex-direction:column;height:100%;min-height:0;display:flex}.transcript{background:#f9fafb;flex:auto;min-height:0;padding:16px;overflow-y:auto}.transcript-empty{padding:8px 0;font-size:14px}.bubble{border-radius:8px;max-width:80%;margin-bottom:6px;padding:6px 10px;font-size:14px}.bubble p{margin:0 0 6px}.bubble p:last-child,.bubble ul:last-child,.bubble ol:last-child{margin-bottom:0}.bubble.assistant{color:#1e293b;background:#eef2ff}.bubble.user{color:#111827;background:#e5e7eb;margin-left:auto}.dock{background:#fff;border-top:1px solid #e5e7eb;flex-direction:column;flex:none;gap:8px;max-height:60%;padding:10px 16px 16px;display:flex;overflow-y:auto}.activity{color:#6b7280;align-items:center;gap:6px;min-height:20px;font-size:13px;display:flex}.activity-dot{background:#2563eb;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite activity-pulse}@keyframes activity-pulse{0%,to{opacity:.35}50%{opacity:1}}.error-row{align-items:center;gap:10px;display:flex}.error-row button{color:#b91c1c;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:4px 10px;font-size:13px}.note{font-size:13px}.question-card{background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;flex-direction:column;gap:8px;padding:14px;display:flex}.question-text{color:#1e293b;font-size:15px}.question-text p{margin:0 0 8px}.question-text p:last-child{margin-bottom:0}.hypothesis{font-size:13px;font-style:italic}.question-card textarea{resize:vertical;border:1px solid #c7d2fe;border-radius:8px;width:100%;padding:8px;font-family:inherit;font-size:14px}.question-card button.primary{color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;border-radius:6px;align-self:flex-end;padding:6px 14px;font-size:14px}.question-card button.primary:disabled{opacity:.5;cursor:default}.completion-card{color:#064e3b;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;padding:14px;font-size:14px}.completion-title{margin-bottom:8px;font-weight:600}.completion-facts{grid-template-columns:max-content 1fr;gap:2px 12px;margin:0 0 8px;display:grid}.completion-facts dt{color:#047857;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.completion-facts dd{margin:0}.completion-note p{margin:0 0 6px}.completion-note p:last-child{margin-bottom:0}.completion-subtitle{text-transform:uppercase;letter-spacing:.04em;color:#047857;margin:8px 0 4px;font-size:12px}.completion-unresolved ul{margin:0;padding-left:18px}
