html,body,#root{height:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;background:#f5f7fa}.appRoot{height:100%;display:flex;flex-direction:column}.airbusHeader{height:64px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 24px;background:#091f58;color:#fff;box-shadow:0 2px 8px #00000040;border-bottom:1px solid rgba(255,255,255,.12)}.airbusHeaderLeft{display:flex;align-items:center;gap:14px}.airbusLogo{font-size:18px;font-weight:900;letter-spacing:.18em}.airbusDivider{width:1px;height:26px;background:#ffffff59}.airbusProduct{font-size:14px;font-weight:600;opacity:.9}.airbusHeaderRight{display:flex;align-items:center}.airbusEnv{font-size:12px;padding:6px 10px;border-radius:999px;background:#ffffff26;border:1px solid rgba(255,255,255,.25);font-weight:700}.airbusNav{display:flex;gap:10px;margin-left:18px}.airbusNavLink{text-decoration:none;font-size:13px;font-weight:800;color:#ffffffe0;padding:8px 10px;border-radius:10px;border:1px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.airbusNavLink:hover{background:#ffffff1a;border-color:#ffffff2e;color:#fff}.airbusNavLink.active{background:#ffffff29;border-color:#ffffff38;color:#fff}.appLayout{display:flex;height:calc(100vh - 64px);overflow:hidden;box-sizing:border-box}.appSidebar{display:flex;flex-direction:column;background:#06194a;border-right:1px solid rgba(255,255,255,.08);flex-shrink:0;transition:width .2s ease;overflow:hidden}.appSidebar--open{width:240px}.appSidebar--closed{width:48px}.appSidebarHeader{display:flex;align-items:center;gap:10px;padding:14px 10px;border-bottom:1px solid rgba(255,255,255,.08);flex-shrink:0;min-height:52px}.appSidebarToggle{background:none;border:none;color:#fff9;font-size:16px;cursor:pointer;padding:4px 6px;border-radius:6px;flex-shrink:0;line-height:1;transition:background .12s,color .12s}.appSidebarToggle:hover{background:#ffffff1a;color:#fff}.appSidebarTitle{font-size:11px;font-weight:800;letter-spacing:.1em;color:#ffffff80;text-transform:uppercase;flex:1;white-space:nowrap}.chatSidebarNew{background:#ffffff1f;border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:8px;width:26px;height:26px;font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.chatSidebarNew:hover{background:#ffffff38}.chatSidebarList{list-style:none;margin:0;padding:8px 0;flex:1;overflow-y:auto}.chatSidebarEmpty{font-size:12px;color:#ffffff4d;padding:12px 14px}.chatSidebarItem{display:flex;align-items:center;padding:2px 6px;gap:4px}.chatSidebarItem.active .chatSidebarItemBtn{background:#ffffff24}.chatSidebarItemBtn{flex:1;background:none;border:none;border-radius:8px;cursor:pointer;padding:8px 10px;text-align:left;display:flex;flex-direction:column;gap:2px;transition:background .12s;min-width:0}.chatSidebarItemBtn:hover{background:#ffffff14}.chatSidebarItemTitle{font-size:12px;font-weight:600;color:#ffffffd9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatSidebarItemDate{font-size:10px;color:#ffffff59}.chatSidebarItemDelete{background:none;border:none;color:#ffffff40;font-size:10px;cursor:pointer;padding:4px;border-radius:4px;flex-shrink:0;transition:color .12s,background .12s}.chatSidebarItemDelete:hover{color:#ffffffb3;background:#ffffff14}.chatShell{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;margin:20px;border-radius:16px;background:#fffffff0;border:1px solid rgba(0,0,0,.08);box-shadow:0 18px 40px #0000002e}.chatHeader{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#091f58;color:#fff;border-bottom:1px solid rgba(255,255,255,.12);flex-shrink:0}.chatTitle{display:flex;align-items:center;gap:12px}.chatBadge{font-weight:900;letter-spacing:.14em;font-size:12px;padding:6px 10px;border-radius:999px;background:#ffffff24;border:1px solid rgba(255,255,255,.18)}.chatName{font-size:14px;font-weight:900;line-height:1.1}.chatSub{font-size:12px;opacity:.85;margin-top:2px}.chatBody{flex:1;overflow-y:auto;padding:24px 20px;min-height:0}.chatRow{display:flex;margin:10px 0}.chatRow.user{justify-content:flex-end}.chatRow.assistant{justify-content:flex-start}.chatBubble{max-width:min(720px,80%);border-radius:14px;padding:10px 14px;box-shadow:0 2px 8px #00000012;border:1px solid rgba(0,0,0,.06)}.chatRow.user .chatBubble{background:#091f58;color:#fff;border-color:#ffffff1f}.chatRow.assistant .chatBubble{background:#fff;color:#0f172a}.chatMeta{font-size:11px;font-weight:900;opacity:.7;margin-bottom:6px;letter-spacing:.02em}.chatText{font-size:14px;line-height:1.5;white-space:pre-wrap}.chatComposer{display:flex;gap:10px;padding:16px 20px;background:#fff;border-top:1px solid rgba(0,0,0,.08);flex-shrink:0}.chatInput{flex:1;border-radius:12px;border:1px solid rgba(0,0,0,.14);padding:12px 14px;outline:none;font-size:14px;background:#fff}.chatInput:focus{border-color:#091f5873;box-shadow:0 0 0 4px #091f581a}.chatSend{border:none;border-radius:12px;padding:12px 20px;font-weight:900;cursor:pointer;background:#091f58;color:#fff;transition:background-color .2s ease,transform .05s ease}.chatSend:hover{background:#2a4991}.chatSend:active{transform:translateY(1px)}.chatSend:disabled,.chatInput:disabled{opacity:.7;cursor:not-allowed}.chatSourceHint{font-size:.72rem;color:#6366f1;margin-left:4px;font-weight:500;opacity:.85}.chatBubble--clickable{cursor:pointer;transition:box-shadow .15s,transform .1s}.chatBubble--clickable:hover{box-shadow:0 0 0 2px #6366f1;transform:translateY(-1px)}.chatThinking{display:flex;align-items:center;gap:5px;height:20px}.chatThinking span{width:7px;height:7px;border-radius:50%;background:#9ca3af;animation:bounce 1.2s infinite ease-in-out}.chatThinking span:nth-child(2){animation-delay:.2s}.chatThinking span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-6px);opacity:1}}.appUploadPanel{width:200px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;padding:20px 16px;background:#fff;border-left:1px solid rgba(0,0,0,.08);overflow-y:auto}.appUploadLabel{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9ca3af;margin:0}.appUploadBtn{border:1px dashed rgba(9,31,88,.3);border-radius:10px;padding:10px 12px;font-size:12px;font-weight:700;cursor:pointer;background:#f5f7ff;color:#091f58;transition:background .15s,border-color .15s;text-align:center}.appUploadBtn:hover{background:#eaedff;border-color:#091f5880}.appUploadBtn:disabled{opacity:.6;cursor:not-allowed}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#00000073;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.modalPanel{background:#fff;width:100%;max-width:900px;max-height:78vh;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;animation:modalIn .22s cubic-bezier(.22,1,.36,1);box-shadow:0 24px 60px #00000038}@keyframes modalIn{0%{transform:scale(.96) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.modalHeader{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 14px;border-bottom:1px solid #f3f4f6;flex-shrink:0}.modalTitle{font-weight:700;font-size:.95rem;color:#111827;display:flex;align-items:center;gap:8px}.modalCount{background:#6366f1;color:#fff;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:99px}.modalClose{background:#f3f4f6;border:none;border-radius:50%;width:30px;height:30px;font-size:.8rem;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s}.modalClose:hover{background:#e5e7eb;color:#111}.modalList{list-style:none;margin:0;padding:12px 16px 20px;flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.modalItem{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#fafafa;transition:border-color .12s}.modalItem:hover{border-color:#6366f1}.modalItemHeader{display:flex;align-items:center;gap:10px;padding:10px 14px}.modalItemIndex{font-size:.75rem;font-weight:700;color:#d1d5db;min-width:22px}.modalItemFilename{flex:1;font-size:.84rem;font-weight:600;color:#6366f1;background:none;border:none;cursor:pointer;text-align:left;padding:0;word-break:break-all}.modalItemFilename:hover{text-decoration:underline}.modalItemScore{font-size:.72rem;color:#9ca3af;white-space:nowrap;background:#f3f4f6;padding:2px 7px;border-radius:99px}.modalItemToggle{background:transparent;border:none;font-size:.7rem;color:#9ca3af;cursor:pointer;padding:4px;transition:color .1s}.modalItemToggle:hover{color:#374151}.modalItemChunk{margin:0;padding:10px 14px;border-top:1px solid #e5e7eb;background:#f9fafb;font-family:Menlo,Consolas,monospace;font-size:.76rem;line-height:1.6;color:#374151;white-space:pre-wrap;word-break:break-word;width:100%;box-sizing:border-box;max-height:220px;overflow-y:auto}.modalDebugFooter{flex-shrink:0;border-top:1px solid #f3f4f6;background:#fafafa;padding:10px 16px;display:flex;align-items:flex-start;gap:10px;max-height:180px;overflow-y:auto}.modalDebugLabel{font-size:.68rem;font-weight:700;letter-spacing:.08em;color:#9ca3af;text-transform:uppercase;white-space:nowrap;padding-top:2px}.modalDebugQuery{flex:1;font-family:Menlo,Consolas,monospace;font-size:.72rem;color:#6366f1;background:none;border:none;margin:0;padding:0;white-space:pre-wrap;word-break:break-word;line-height:1.5}.modalDocViewer{flex:1;overflow-y:auto;padding:0 16px 20px}.modalDocContent{margin:0;font-family:Menlo,Consolas,monospace;font-size:.78rem;line-height:1.7;color:#374151;white-space:pre-wrap;word-break:break-word}.modalDocStatus{color:#9ca3af;font-size:.85rem;padding:20px 0}.modalDocError{color:#ef4444}.modalBack{background:none;border:none;cursor:pointer;font-size:.9rem;color:#6366f1;padding:0 6px 0 0;font-weight:600}.modalBack:hover{color:#4f46e5}
