@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');
:root{--bg:#faf8f5;--text:#332921;--muted:#83786f;--brown:#503b2f;--line:#eae4dd;--accent:#9b7357}
html,body{font-family:Assistant,Arial,sans-serif;background:#faf8f5;color:#332921}
.app{min-height:100vh;display:flex}
.sidebar{width:230px;background:#f4eee7;border-left:1px solid #ebe2d9;padding:32px 18px 22px}
.brand{align-items:center;margin:0 0 46px;gap:12px}
.logo-bear{width:53px;height:53px;border:none;background:white;border-radius:50%;box-shadow:0 0 0 1px #eaded2}
.logo-bear img{mix-blend-mode:multiply;object-fit:contain}
.brand .teddy-brand{font-size:20px;letter-spacing:0;font-family:'DM Serif Display',Georgia,serif;font-weight:400;color:#483227}
.brand small{font-size:11px;color:#927f6e;margin-top:5px}
.nav-heading{color:#a29487;font-size:11px;font-weight:700;letter-spacing:.05em}
.nav-btn{font-size:14px;height:46px;color:#776457;border-radius:12px;font-weight:600}
.nav-btn.active{background:#e7d7c7;color:#4d3327}
.nav-btn span{font-size:18px}
.side-file{background:#fcfaf8;border:1px solid #ede3da;border-radius:12px;padding:12px 8px}
.side-file strong{font-size:12px}
.side-file small{font-size:11px}
.honey-tip,.bear-note{display:none}
.side-footer{font-size:10px;color:#a69585}
.main{background:#fbfaf8}
.topbar{background:#f3e9df;min-height:225px;padding:37px 54px 35px;border-bottom:1px solid #e9ded4;position:relative;overflow:hidden;align-items:center}
.topbar::after{content:'';position:absolute;width:390px;height:390px;left:-130px;bottom:-270px;border-radius:50%;background:#e8d6c3;opacity:.34}
.topbar>div:first-child{position:relative;z-index:2;margin-right:154px}
.topbar::before{content:'';display:block;position:absolute;right:42px;top:20px;width:152px;height:178px;background:url('teddy-photo.png') center 44%/contain no-repeat;mix-blend-mode:multiply;filter:contrast(1.05)}
.eyebrow{font-size:11px;color:#997f6b;letter-spacing:.02em;font-weight:700}
.topbar h1{font-size:clamp(27px,3vw,42px);font-weight:700;letter-spacing:-1px;line-height:1.22;margin:13px 0 9px;color:#402c22}
.wave{display:none}
.subtitle{font-size:15px;color:#7e6e62;line-height:1.6}
.header-actions{position:relative;z-index:3;align-self:flex-start;gap:11px;flex-wrap:wrap}
.status{background:#fffaf5;border:1px solid #e4d9cd;color:#756957;font-size:12px;padding:10px 14px}
.outline-button{background:#523b2d;border:1px solid #523b2d;color:#fff;padding:11px 19px;font-size:13px;border-radius:9px}
.outline-button:hover{background:#765640;color:white}
.content{max-width:1540px;margin:0 auto;padding:28px 38px 44px}
.stats{gap:15px;margin-bottom:18px}
.stat{background:#fff;border:1px solid #ece5de;border-radius:13px;padding:19px 23px;min-height:102px;box-shadow:0 3px 15px #41301e06}
.stat-label{font-size:13px;color:#7b7169;font-weight:600}
.stat-number{font-size:30px;font-weight:700;color:#503a2c}
.stat-note{font-size:11px;color:#aa9e93}
.workspace{grid-template-columns:minmax(0,1.8fr) minmax(255px,.77fr);gap:18px}
.chat-panel{border-radius:14px;box-shadow:0 6px 22px #5542350b;border:1px solid #e8e1d9;min-height:600px;height:calc(100vh - 425px);max-height:830px}
.chat-heading{padding:16px 22px;background:#fff;border-bottom:1px solid #efe8e2}
.chat-avatar{background:#eee5dc;border-radius:50%;font-size:19px;color:#72553f;width:38px;height:38px}
.chat-heading strong{font-weight:700;font-size:15px}
.chat-heading small{font-size:12px;color:#998b7f}
.new-chat{font-size:12px;border-radius:9px;padding:8px 14px}
.messages{padding:22px 26px;background:#fff}
.welcome{max-width:400px;padding:0 14px}
.welcome-bear{width:156px;height:156px;border:0;background:#fff;overflow:visible;margin:0 auto 10px}
.welcome-bear img{object-fit:contain;mix-blend-mode:multiply}
.welcome h2{font-size:25px;color:#4e392c;font-weight:700;margin:12px 0}
.welcome p{font-size:14px;line-height:1.85;color:#8e8177}
.welcome-upload{border-radius:9px;background:#513b2d;font-size:13px;padding:11px 22px}
.msg{max-width:88%}
.bubble{font-size:14px;padding:13px 17px;border-radius:15px 15px 5px 15px;line-height:1.95;background:#f8f5f1;border:1px solid #eee7df}
.msg.user .bubble{background:#6b5040;border-color:#6b5040;border-radius:15px 15px 15px 5px}
.meta{font-size:11px}
.composer{background:#fff;border-top:1px solid #eee8e1;padding:14px 20px 12px}
.suggestions button{font-size:12px;border-radius:50px;background:#f7f2ed;color:#765b48}
.input-wrap{background:white;border:1px solid #e6ded5;border-radius:12px;box-shadow:0 1px 4px #3c2b190a}
.input-wrap textarea{font-size:14px}
.send{border-radius:9px;background:#604838}
.composer-foot{font-size:11px;color:#ad9c90}
.card{border-radius:14px;background:#fff;border:1px solid #ebe4dd;box-shadow:0 4px 18px #59463608;padding:22px}
.card-title{font-size:15px;font-weight:700;margin-bottom:18px}
.dropzone{border:1px dashed #cbb8a5;border-radius:11px;background:#fbf9f6;padding:26px 12px;min-height:198px}
.dropzone strong{font-size:14px}
.dropzone p{font-size:12px}
.file-pill{font-size:11px}
.hint{padding:15px 0}
.hint strong{font-size:13px}
.hint small{font-size:12px;line-height:1.55}
.hint>span{font-size:18px;width:38px;height:38px;background:#f2ebe4}
.data-top h2{font-size:23px}
.data-top p{font-size:13px}
.data-table-card{border-radius:14px}
@media(max-width:1100px){.sidebar{width:200px}.topbar{padding:32px}.topbar::before{right:25px;width:125px;height:156px}.topbar>div:first-child{margin-right:128px}.content{padding:24px}.workspace{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:850px){.sidebar{display:none}.topbar{min-height:208px}.topbar::before{right:18px;top:28px;width:125px;height:150px}.topbar>div:first-child{margin-right:132px}.right-panel{display:grid;grid-template-columns:1fr 1fr}.chat-panel{height:580px}}
@media(max-width:600px){.topbar{padding:22px 18px 20px;min-height:200px;align-items:flex-start}.topbar>div:first-child{margin-right:87px}.topbar::before{right:8px;top:33px;width:94px;height:112px}.topbar h1{font-size:24px}.eyebrow{font-size:9px}.subtitle{font-size:12px}.header-actions{position:absolute;left:14px;bottom:17px;gap:5px}.status{padding:6px 8px;font-size:9px}.outline-button{padding:7px 9px;font-size:10px}.content{padding:15px 12px}.stats{gap:7px}.stat{padding:12px}.stat-label{font-size:10px}.stat-number{font-size:24px}.workspace{grid-template-columns:1fr}.right-panel{grid-template-columns:1fr}.chat-panel{height:550px}.welcome-bear{width:128px;height:128px}.welcome h2{font-size:22px}}
