body{background:#F4F7FB!important;color:#1A2332!important}
.layout{height:100vh;overflow:hidden}
.sidebar{background:#003087!important;border-right:none!important;overflow-y:auto!important;overflow-x:hidden!important}
.sidebar-header{background:#003087!important;border-bottom:1px solid rgba(255,255,255,0.12)!important}
.sidebar-header .logo,.sidebar-header [class*="logo"]{color:#fff!important;font-weight:800!important}
.new-chat-btn{background:rgba(255,255,255,0.15)!important;border:1px solid rgba(255,255,255,0.25)!important;color:#fff!important;border-radius:6px!important}
.new-chat-btn:hover{background:rgba(255,255,255,0.25)!important}
#convo-search,[placeholder*="Search chats"]{background:rgba(255,255,255,0.10)!important;border:1px solid rgba(255,255,255,0.20)!important;color:#fff!important;border-radius:6px!important}
#convo-search::placeholder,[placeholder*="Search chats"]::placeholder{color:rgba(255,255,255,0.45)!important}
.convo-list .convo-item,.convo-list [class*="convo-item"],.convo-list li{color:rgba(255,255,255,0.80)!important;font-size:12.5px!important;border-radius:5px!important;margin:1px 6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.convo-list .convo-item:hover{background:rgba(255,255,255,0.12)!important;color:#fff!important}
.sidebar [class*="section"],.sidebar [class*="label"],.sidebar .nav-label{color:rgba(255,255,255,0.50)!important;font-size:9.5px!important;font-weight:700!important;letter-spacing:0.10em!important;text-transform:uppercase!important}
.sidebar button.inv-trigger,.sidebar [class*="inv-trigger"]{color:rgba(255,255,255,0.82)!important;background:transparent!important;font-size:13px!important;border-radius:6px!important;border:none!important}
.sidebar button.inv-trigger:hover,.sidebar [class*="inv-trigger"]:hover{background:rgba(255,255,255,0.12)!important;color:#fff!important}
.sidebar button.inv-trigger.active,.sidebar [class*="inv-trigger"].active{background:#0057B8!important;color:#fff!important}
.sidebar button svg,.sidebar .inv-trigger svg{stroke:rgba(255,255,255,0.75)!important;fill:none!important}
.sidebar button:hover svg,.sidebar .inv-trigger.active svg{stroke:#fff!important}
#quick-actions,#qa-dropdown{display:none!important}
.quick-actions{display:none!important}
.sidebar-footer{background:#002570!important;border-top:1px solid rgba(255,255,255,0.15)!important;color:rgba(255,255,255,0.75)!important}
.sidebar-footer button{color:rgba(255,255,255,0.65)!important;background:transparent!important;border:none!important}
.sidebar-footer button:hover{color:#fff!important}
.sidebar::-webkit-scrollbar{width:4px}.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.20);border-radius:2px}
.chat-area{display:flex!important;flex-direction:column!important;height:100vh!important;overflow:hidden!important}
#chat-header{flex:0 0 auto!important;min-height:40px!important;max-height:40px!important;background:#fff!important;border-bottom:2px solid #003087!important;padding:0 20px!important}
#chat-header .chat-title,#chat-header [class*="title"],#chat-header h1,#chat-header h2{color:#003087!important;font-weight:700!important;font-size:14px!important}
#messages{flex:0 0 calc(50% - 20px)!important;min-height:0!important;overflow-y:auto!important;background:#F4F7FB!important;padding:16px 20px!important;border-bottom:1px solid #C8D6E8!important}
.input-area{flex:0 0 calc(50% - 20px)!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fff!important;border-top:2px solid #C8D6E8!important;padding:12px 16px!important;box-sizing:border-box!important;height:auto!important;max-height:none!important}
.input-row{flex:1 1 auto!important;display:flex!important;align-items:stretch!important;gap:8px!important;min-height:0!important}
.input-wrap{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-height:0!important}
#chat-input{flex:1 1 auto!important;height:100%!important;min-height:80px!important;background:#F4F7FB!important;border:1.5px solid #C8D6E8!important;border-radius:8px!important;color:#1A2332!important;font-size:14px!important;font-family:inherit!important;resize:none!important;padding:12px 14px!important;width:100%!important;box-sizing:border-box!important;outline:none!important;line-height:1.5!important}
#chat-input:focus{border-color:#0057B8!important;background:#fff!important;box-shadow:0 0 0 3px rgba(0,87,184,0.10)!important}
#chat-input::placeholder{color:#8A9BB0!important}
#send-btn{background:#003087!important;color:#fff!important;border:none!important;border-radius:8px!important;width:42px!important;height:42px!important;flex-shrink:0!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:flex-end!important;margin-bottom:2px!important}
#send-btn:hover{background:#0057B8!important}
#send-btn svg path{fill:#fff!important}
.briefing-banner{display:none!important}
.msg.user{display:flex!important;flex-direction:column!important;align-items:flex-end!important;margin-bottom:12px!important}
.msg.user .msg-bubble{background:#003087!important;color:#fff!important;border-radius:14px 14px 3px 14px!important;padding:10px 14px!important;max-width:72%!important;font-size:14px!important;line-height:1.5!important}
.msg.user .msg-time{color:rgba(0,48,135,0.55)!important;font-size:11px!important;margin-top:3px!important;text-align:right!important}
.msg.assistant{display:flex!important;flex-direction:column!important;align-items:flex-start!important;margin-bottom:12px!important}
.msg.assistant .msg-bubble{background:#fff!important;color:#1A2332!important;border:1px solid #C8D6E8!important;border-radius:3px 14px 14px 14px!important;padding:12px 16px!important;max-width:88%!important;font-size:14px!important;line-height:1.6!important;box-shadow:0 1px 3px rgba(0,0,0,0.06)!important}
.msg.assistant .msg-time{color:#8A9BB0!important;font-size:11px!important;margin-top:3px!important}
.msg.assistant .msg-bubble strong,.msg.assistant .msg-bubble b{color:#003087!important}
.msg.assistant table{border-collapse:collapse!important;width:100%!important;font-size:13px!important;margin:10px 0!important;border:1px solid #C8D6E8!important}
.msg.assistant table tr:first-child td{background:#003087!important;color:#fff!important;font-weight:600!important;font-size:12px!important;letter-spacing:0.04em!important;text-transform:uppercase!important;padding:8px 12px!important;border-bottom:none!important}
.msg.assistant table tr:first-child td strong{color:#fff!important}
.msg.assistant table td{padding:8px 12px!important;border-bottom:1px solid #E8F0FA!important;color:#1A2332!important}
.msg.assistant table tr:nth-child(even):not(:first-child) td{background:#F4F7FB!important}
.msg.assistant table tr:nth-child(odd):not(:first-child) td{background:#fff!important}
.msg.assistant table tr:not(:first-child):hover td{background:#E8F0FA!important}
.msg-actions button{background:#E8F0FA!important;color:#003087!important;border:1px solid #C8D6E8!important;border-radius:5px!important;font-size:12px!important;font-weight:600!important;padding:4px 12px!important;margin-top:8px!important}
.msg-actions button:hover{background:#003087!important;color:#fff!important}
#messages::-webkit-scrollbar{width:5px}#messages::-webkit-scrollbar-thumb{background:#C8D6E8;border-radius:3px}