@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800&display=swap');
:root{--bg:#f8f5f0;--brown:#684a37;--text:#372b24;--muted:#9b8b7e;--line:#eee5dc;--light:#fff;--accent:#a77b5b;--peach:#f5e4d0;--soft:#f7f0e7}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Heebo,Arial,sans-serif;color:var(--text);background:var(--bg)}button,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.app{display:flex;min-height:100vh}.sidebar{width:264px;background:#fffcf9;border-left:1px solid var(--line);padding:29px 18px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;flex-shrink:0}.brand{display:flex;gap:11px;align-items:center;margin:4px 4px 46px}.logo-bear{width:51px;height:51px;background:#f2e3d1;border-radius:17px;display:grid;place-items:center;padding:5px}.logo-bear svg{width:43px}.brand strong{font-size:23px;letter-spacing:-1px;display:block;line-height:1.2}.brand strong span{color:#ac8268}.brand small{font-size:10.5px;color:var(--muted);display:block;white-space:nowrap;margin-top:6px}.nav-heading{font-size:11px;color:#af9d8e;font-weight:800;padding:0 16px;margin-bottom:13px}.nav-btn{height:45px;border:0;background:none;text-align:right;width:100%;border-radius:12px;padding:0 16px;color:#867364;font-weight:700;font-size:13px;display:flex;gap:13px;align-items:center;margin-bottom:4px}.nav-btn span{font-size:21px}.nav-btn.active{background:#f2e7db;color:#694c3a}.side-separator{height:1px;background:var(--line);margin:21px 7px 25px}.side-file{display:flex;gap:10px;align-items:center;padding:9px 8px}.file-icon{background:#eee2d7;border-radius:10px;padding:10px 12px;color:var(--brown)}.side-file strong{font-size:11px;display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-file small{font-size:10px;color:var(--muted)}.side-bottom{margin-top:auto}.honey-tip{display:flex;gap:11px;padding:15px;border:1px solid #efdfc8;background:#fff8ec;border-radius:15px}.honey-tip>span{font-size:23px;color:#c58f53}.honey-tip strong{font-size:12px}.honey-tip p{font-size:11px;line-height:1.9;color:#9b7e67;margin:5px 0 0}.side-footer{text-align:center;font-size:10px;color:#b5a69a;margin-top:22px}.side-footer span{color:#b5846c}.main{flex:1;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px 44px 26px}.eyebrow{color:#ae8f78;font-weight:700;font-size:11px;display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;border-radius:50%;background:#b2c79c}h1{margin:8px 0 3px;font-size:27px;font-weight:800;letter-spacing:-.6px}.wave{color:#d5aa7b;font-size:23px}.subtitle{margin:0;color:#96887d;font-size:13px}.header-actions{display:flex;align-items:center;gap:13px}.status{background:#f0f1e8;border:1px solid #e3e8d9;padding:8px 12px;border-radius:22px;font-size:11px;color:#788566;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;background:#a4bc88;border-radius:50%;margin-left:5px}.status.connected{background:#eef5e9;color:#678251}.status.error{background:#fff3ee;color:#b07b64}.outline-button{border:1px solid #e8d9cb;background:white;border-radius:11px;padding:11px 16px;color:#79553f;font-size:12px;font-weight:700;white-space:nowrap}.outline-button:hover,.new-chat:hover{background:#fff8f1}.content{padding:0 44px 35px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.stat{background:#fffcfa;border:1px solid #f0e8df;border-radius:15px;padding:18px 22px;min-height:114px}.stat-label{font-size:12px;font-weight:700;color:#95887c;display:flex;align-items:center;justify-content:space-between}.stat-icon{color:#bb9a7c;font-size:20px}.stat-number{font-size:32px;color:#5a4031;font-weight:800;line-height:1.2;margin:7px 0 4px;direction:ltr;text-align:right}.stat-note{font-size:10px;color:#aa9d91}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.8fr);gap:18px}.chat-panel{border:1px solid #eee4db;border-radius:18px;background:#fff;display:flex;flex-direction:column;min-height:560px;height:calc(100vh - 285px);max-height:800px;overflow:hidden;box-shadow:0 12px 35px #7d5d4510}.chat-heading{padding:18px 20px;border-bottom:1px solid #f1e9e3;display:flex;gap:11px;align-items:center}.chat-avatar{background:#f3e5d6;color:#a67b58;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;font-size:24px}.chat-heading strong{display:block;font-size:14px}.chat-heading small{display:block;color:#ada095;font-size:10px;margin-top:3px}.new-chat{margin-right:auto;border:1px solid #efe4da;background:white;border-radius:10px;padding:8px 12px;color:#876c59;font-size:11px;font-weight:700}.messages{flex:1;overflow-y:auto;padding:22px 24px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth}.welcome{margin:auto;max-width:350px;text-align:center;padding:10px}.welcome-bear{height:114px;width:114px;margin:0 auto 12px;border-radius:50%;background:#fcf3e7;display:grid;place-items:center;padding:13px}.welcome-bear svg{width:89px;height:89px}.welcome h2{font-size:19px;margin:8px 0}.welcome p{font-size:12px;color:#938478;line-height:2;margin:0 0 17px}.welcome-upload{border:0;background:#75553f;color:white;padding:11px 18px;border-radius:11px;font-weight:700;font-size:12px}.msg{max-width:86%;display:flex;flex-direction:column;gap:5px;align-self:flex-start}.msg.user{align-self:flex-end}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;border-radius:15px 15px 5px 15px;padding:12px 15px;background:#f8f2eb;border:1px solid #f1e8df}.msg.user .bubble{background:#846149;color:white;border-color:#846149;border-radius:15px 15px 15px 5px}.meta{font-size:10px;color:#b1a297;padding:0 4px}.msg.user .meta{text-align:left}.composer{padding:14px 18px 12px;border-top:1px solid #f0e9e2}.suggestions{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin-bottom:12px}.suggestions button{flex-shrink:0;border:1px solid #ebe0d6;background:#fdfaf7;border-radius:20px;padding:7px 12px;color:#8b6d56;font-size:10px;font-weight:600}.suggestions button:hover{background:#f5e8da}.input-wrap{display:flex;gap:10px;align-items:end;background:#fbf8f5;border:1px solid #e9ded4;border-radius:13px;padding:8px}.input-wrap:focus-within{border-color:#bd9b81}.input-wrap textarea{resize:none;border:0;outline:0;background:none;flex:1;min-width:0;max-height:112px;line-height:1.65;padding:8px;color:#4b382c;font-size:13px}.send{width:35px;height:35px;border:none;background:#7e5e48;border-radius:10px;color:white;transform:scaleX(-1)}.composer-foot{display:flex;justify-content:space-between;font-size:9px;color:#b2a69b;padding:9px 2px 0}.right-panel{display:flex;flex-direction:column;gap:16px}.card{border:1px solid #eee4da;border-radius:17px;background:#fffdfb;padding:19px}.card-title{display:flex;justify-content:space-between;font-weight:800;font-size:13px;margin-bottom:17px}.tiny-icon{color:#b39072;font-size:19px}.dropzone{border:1.5px dashed #d8c4b0;background:#faf5ef;border-radius:13px;padding:28px 11px;min-height:185px;text-align:center;display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.dragover{border-color:#a87d5e;background:#f7ebdc}.upload-illustration{font-size:30px;color:#967051;position:relative;line-height:1.4;margin-bottom:8px}.upload-illustration span{position:absolute;top:-7px;right:-16px;color:#cfae79;font-size:21px}.dropzone strong{font-size:12px}.dropzone p{font-size:10px;color:#a38f7f;line-height:1.7;margin:5px 0 12px}.file-pill{border:1px solid #e8d9cb;border-radius:20px;padding:4px 11px;font-size:9px;color:#9b806b}.uploaded-summary{color:#7d9762;font-size:11px;margin-top:12px;display:flex;align-items:center;gap:7px}.tick{border-radius:50%;width:19px;height:19px;background:#eff5e5;display:grid;place-items:center}.hints-card{padding-bottom:10px}.hint{display:flex;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #f2ede7}.hint:last-child{border:0}.hint>span{height:37px;width:37px;border-radius:10px;background:#f7ede2;color:#ad8261;display:grid;place-items:center;font-size:19px}.hint strong{font-size:11px;display:block}.hint small{display:block;font-size:10px;color:#ab9b90;margin-top:3px}.bear-note{font-size:11px;text-align:center;color:#a88d75;padding:9px 0}.bear-note span{font-size:18px;margin-left:4px}.data-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.data-top h2{margin:0;font-size:20px}.data-top p{color:#96877b;font-size:12px}.sheet-select-label{font-size:12px;color:#8b7260}.sheet-select-label select{background:white;border:1px solid #e6d8ca;padding:9px 12px;border-radius:10px;color:#5d4332;margin-right:10px;max-width:220px}.data-table-card{background:white;border:1px solid #eadfd5;border-radius:15px;overflow:hidden}.table-meta{padding:15px 19px;font-size:11px;color:#9a8878;display:flex;justify-content:space-between;border-bottom:1px solid #eee}.table-scroll{overflow:auto;max-height:65vh}table{border-collapse:collapse;min-width:100%;white-space:nowrap;text-align:right;font-size:12px}th{background:#f3e8dc;color:#6a4a36;position:sticky;top:0}td,th{padding:12px 15px;border-bottom:1px solid #f2eae3}tr:nth-child(even) td{background:#fffcf9}.toast{position:fixed;bottom:25px;left:25px;z-index:100;background:#663d33;color:#fff;padding:13px 19px;border-radius:12px;font-size:12px;box-shadow:0 8px 30px #0002;max-width:400px}.toast.good{background:#59754a}@media(max-width:1150px){.topbar{padding:28px 26px}.content{padding:0 26px 25px}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(235px,.8fr)}}@media(max-width:850px){.sidebar{width:75px;padding:22px 11px}.brand{margin:0 0 34px}.brand>div:last-child,.nav-heading,.nav-btn:not(.active),.nav-btn.active{font-size:0}.brand .logo-bear{flex-shrink:0}.nav-btn.active{justify-content:center;padding:0}.nav-btn.active span{font-size:24px}.side-separator,.side-file,.side-bottom{display:none}.workspace{grid-template-columns:1fr}.right-panel{display:grid;grid-template-columns:1fr 1fr}.chat-panel{height:590px}}@media(max-width:600px){.sidebar{display:none}.topbar{padding:23px 17px;align-items:flex-start}.topbar h1{font-size:20px}.subtitle{font-size:11px}.header-actions{flex-direction:column;gap:8px;align-items:flex-end}.status{font-size:10px}.outline-button{padding:9px 10px}.content{padding:0 14px 25px}.stats{gap:8px}.stat{padding:13px;min-height:94px}.stat-label{font-size:10px}.stat-number{font-size:23px}.stat-note{font-size:9px}.right-panel{grid-template-columns:1fr}.chat-panel{height:590px;min-height:0}.messages{padding:15px}.composer{padding:11px}.data-top{flex-direction:column;align-items:start;gap:5px}}

/* Teddy ExE.el custom brand */
.logo-bear{width:62px;height:62px;padding:0;background:#fff9f3;border:1px solid #eadbd0;overflow:hidden;border-radius:20px;flex-shrink:0}
.logo-bear img{width:100%;height:100%;object-fit:cover;object-position:center 42%;mix-blend-mode:multiply}
.brand .teddy-brand{font-size:18px;letter-spacing:-.6px;white-space:nowrap;color:#4b3328;font-family:Georgia,'Times New Roman',serif;direction:ltr;text-align:right}
.brand small{font-size:10px;white-space:normal}
.welcome-bear{width:148px;height:148px;border-radius:50%;background:#fffaf4;overflow:hidden;border:1px solid #f2e5d8;margin:auto auto 14px}
.welcome-bear img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
@media(max-width:750px){.brand .teddy-brand{font-size:17px}}
