:root{font-family:Arial,Helvetica,sans-serif;color:#1c2e3a;background:#f6f8fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.shell{display:flex;min-height:100vh;height:100dvh;overflow:hidden}.sidebar{width:280px;background:#fff;border-right:1px solid #e4e9ef;display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{height:82px;padding:19px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #ecf0f4}.brand-icon,.logo{background:#e6f2f1;color:#1f7775;border-radius:14px;display:grid;place-items:center;width:43px;height:43px}.sidebar-header strong,.topbar strong{display:block;font-size:15px}.sidebar-header small,.topbar small{display:block;color:#70818e;font-size:12px;margin-top:4px}.sidebar-body{padding:18px;overflow-y:auto;flex:1 1}.field-label,.side-caption{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;color:#7d8994;margin-bottom:9px}.select-wrap{position:relative}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:43px;border:1px solid #dbe3e9;border-radius:9px;background:#fff;padding:0 30px 0 11px;color:#273847}.select-wrap svg{position:absolute;right:10px;top:13px;pointer-events:none;color:#789}.new-chat{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;border:1px solid #c8deda;border-radius:10px;background:#edf7f6;color:#206b66;margin:20px 0 28px;font-weight:700;font-size:13px}.history{display:grid;grid-gap:5px;gap:5px}.history-item{display:flex;align-items:center;gap:9px;border:0;text-align:left;background:transparent;color:#536b77;padding:11px;border-radius:9px;width:100%;font-size:13px}.history-item.active,.history-item:hover{background:#f0f5f6;color:#206b66}.history-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-footer{border-top:1px solid #ecf0f4;padding:17px 13px;display:flex;align-items:center;gap:9px}.avatar{height:35px;width:35px;border-radius:50%;background:#ddeeea;display:grid;place-items:center;color:#287970;font-weight:700}.identity{flex:1 1;min-width:0}.identity small,.identity strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.identity strong{font-size:12px}.identity small{font-size:11px;color:#81919c;margin-top:3px}.icon-btn{border:0;background:transparent;color:#72828d;padding:7px;display:grid;place-items:center;border-radius:8px}.icon-btn:hover{background:#edf2f5}.main{display:flex;flex-direction:column;min-width:0;flex:1 1}.topbar{height:74px;background:#fff;border-bottom:1px solid #e8edf1;justify-content:space-between;padding:0 32px;flex-shrink:0}.top-left,.topbar{display:flex;align-items:center}.top-left{gap:10px}.privacy{display:flex;align-items:center;gap:6px;color:#307b70;background:#edf7f4;border-radius:20px;padding:8px 12px;font-size:12px}.messages{overflow-y:auto;flex:1 1;padding:20px 24px}.welcome{max-width:720px;margin:min(12vh,100px) auto 0;text-align:center}.welcome-icon{margin:auto;background:#e1efed;color:#277b75;width:60px;height:60px;border-radius:17px;display:grid;place-items:center}.welcome h1{font-size:28px;margin:20px 0 10px}.welcome>p{color:#677a87;line-height:1.6;max-width:590px;margin:0 auto}.suggestions{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-top:33px;text-align:left}.suggestions button{border:1px solid #e0e7ec;background:#fff;padding:17px;display:flex;gap:13px;align-items:flex-start;text-align:left;border-radius:13px;box-shadow:0 2px 10px #213c4d07;color:#27766c}.suggestions button strong{display:block;color:#263a45;font-size:14px}.suggestions button small{display:block;color:#75848b;font-size:12px;line-height:1.4;margin-top:5px}.message-list{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:20px;padding:20px 0 50px}.message-row{display:flex;justify-content:flex-start}.message-row.from-user{justify-content:flex-end}.bubble{padding:16px 18px;border-radius:15px;max-width:min(82%,720px);line-height:1.6;font-size:14px;overflow-wrap:anywhere}.bubble.mine{background:#217b75;color:#fff;border-bottom-right-radius:4px;white-space:pre-wrap}.bubble.assistant{background:#fff;border:1px solid #e3e9ed;border-bottom-left-radius:4px;width:-moz-fit-content;width:fit-content}.bubble-text{white-space:pre-wrap}.message-meta{border-top:1px solid #edf0f3;margin-top:13px;padding-top:11px}.sources{display:grid;grid-gap:5px;gap:5px}.source{font-size:11px;color:#426775}.feedback,.source{display:flex;align-items:center;gap:6px}.feedback{margin-top:12px}.feedback button{border:1px solid #e8eef0;background:#fff;border-radius:7px;padding:6px;color:#82919a;display:grid;place-items:center}.feedback button.chosen{background:#e4f3ee;color:#207a66;border-color:#b2d9ce}.feedback span{gap:4px}.feedback span,.typing{display:flex;align-items:center}.typing{font-size:13px;color:#66818b;gap:6px}.typing span{height:6px;width:6px;background:#6a9999;border-radius:50%;animation:bounce 1s infinite alternate}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes bounce{to{opacity:.2;transform:translateY(-4px)}}.composer-area{background:linear-gradient(#f6f8fb,#fff);padding:14px 25px 20px}.composer{max-width:900px;margin:auto;display:flex;align-items:flex-end;gap:10px;border:1px solid #d7e1e7;background:#fff;border-radius:14px;box-shadow:0 3px 20px #142c3d0d;padding:10px}.composer textarea{border:0;outline:0;resize:vertical;min-height:50px;max-height:160px;flex:1 1;padding:13px 8px;line-height:1.4;color:#29404e}.composer textarea::placeholder{color:#9ba9b1}.primary,.send{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:#267e77;color:#fff;border-radius:9px;padding:11px}.primary:hover,.send:hover{background:#18635e}.footer-note{text-align:center;color:#82939d;font-size:11px;margin-top:11px}.error{max-width:900px;margin:0 auto 10px;padding:11px 14px;border:1px solid #e9c7c2;color:#983f36;background:#fff3f1;border-radius:10px;font-size:13px;display:flex;align-items:center;gap:8px}.error button{border:0;background:transparent;margin-left:auto;color:#983f36}.muted{color:#7e919b}.tiny{font-size:11px}.auth-center{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px}.auth-card{background:#fff;border:1px solid #e1e8ed;border-radius:20px;max-width:430px;padding:35px;width:100%;text-align:center;box-shadow:0 20px 80px #20384c12}.auth-card .brand-icon{margin:0 auto 20px;width:56px;height:56px}.auth-card h1{font-size:23px}.auth-card p{color:#667d8b;line-height:1.6;margin-bottom:24px}.auth-card .full{width:100%;padding:14px;margin-bottom:22px}.spinner{border:3px solid #d5e5e1;border-top-color:#247a74;border-radius:50%;width:35px;height:35px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.mobile-only,.overlay{display:none}@media(max-width:720px){.sidebar{position:fixed;left:-310px;top:0;bottom:0;z-index:20;transition:left .2s;width:280px}.sidebar.show{left:0}.mobile-only{display:grid}.overlay{display:block;position:fixed;inset:0;background:#10293780;z-index:19;border:0}.topbar{padding:0 17px;height:66px}.messages{padding:12px}.composer-area{padding:9px 11px 13px}.welcome{margin:65px auto 0}.welcome h1{font-size:24px}.suggestions{grid-template-columns:1fr;gap:9px}.bubble{max-width:94%}.privacy{font-size:0;gap:0;padding:9px}.privacy svg{width:18px;height:18px}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;scroll-behavior:auto!important}}