/* Scoped to chat. Warm surfaces and plum accents from the Tino workspace. */
body[data-route="chat"] main{padding:24px 30px 18px;max-width:1600px}
.tchat{display:flex;flex-direction:column;height:calc(100dvh - 120px);min-height:530px;color:#493659}
body:has(#modeBanner:not([hidden])) .tchat{height:calc(100dvh - 170px)}
.tc-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px 22px;flex:none}.tc-eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:#80668f;line-height:1.5}.tc-header h1{font-size:27px;letter-spacing:-.9px;margin:5px 0 0;line-height:1.3;display:flex;gap:10px;align-items:center}.tc-title-dot{height:7px;width:7px;border-radius:50%;background:#a08bb1}.tc-header-tools{display:flex;align-items:center;gap:10px;min-width:0}.tc-space{display:flex;align-items:center;gap:8px;font-size:12px;padding:8px 12px;background:#eee9f1;border:1px solid #e0d7e6;border-radius:100px;max-width:220px}.tc-space span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tc-space svg{width:14px;height:14px;flex:none}.tc-context-toggle,.tc-context-close{display:none}
.tc-workbench{display:grid;grid-template-columns:minmax(0,1fr) 258px;border:1px solid #ded6e4;border-radius:22px;background:var(--card);overflow:hidden;min-height:0;flex:1;box-shadow:0 8px 28px #39274904}.tc-conversation{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative}.tc-feed{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d4c9db transparent;flex:1;min-height:0;padding:26px 34px;scroll-padding:24px}.tc-feed:focus-visible{outline:2px solid #b5a1c7;outline-offset:-4px}.tc-feed.is-empty{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 45% 15%,#f2ebf750,transparent 65%)}
.tc-welcome{width:100%;max-width:720px;padding:12px 0 18px;text-align:center}.tc-welcome-mark{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 24px;border-radius:23px;background:linear-gradient(135deg,#f2e9f8,#eee7e0);border:1px solid #dfd1e6;box-shadow:0 5px 0 #f7f1f9,0 12px 26px #6c4c8110;transform:rotate(-7deg)}.tc-welcome-mark img{transform:rotate(7deg)}.tc-welcome .tc-eyebrow{font-size:9px;letter-spacing:1.6px}.tc-welcome h2{font-size:clamp(29px,3.1vw,47px);letter-spacing:-1.8px;font-weight:500;line-height:1.12;margin:15px 0;color:#342c3c}.tc-welcome h2 span{color:#85619e}.tc-welcome>p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.tc-starters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:30px auto 0;text-align:left}.tc-starters button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#fffefd;border:1px solid #e3dbe7;border-radius:14px;padding:16px;color:var(--text);transition:background .16s,border-color .16s,transform .16s;text-align:left}.tc-starters button:hover{background:#f6f0fa;border-color:#b7a1c7;transform:translateY(-3px)}.tc-starter-icon{background:#f0e9f5;border-radius:9px;width:30px;height:30px;color:#78528f;display:grid;place-items:center}.tc-starter-icon svg{width:16px;height:16px}.tc-starters strong{font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;line-height:1.4}.tc-starters strong>span{color:#967da6}.tc-starters small{font-size:11px;color:#776c7f;line-height:1.6}
.tc-context{padding:24px 20px;background:linear-gradient(150deg,#f4eff7,#f9f6f1);border-left:1px solid #e5dce9;overflow-y:auto;scrollbar-width:thin;min-width:0}.tc-context-head{display:flex;justify-content:space-between;align-items:center}.tc-context-head>span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#574064}.tc-context-head svg{width:17px;height:17px}.tc-context-intro{font-size:11px;line-height:1.8;color:#7a6b83;margin:12px 0 20px}.tc-context-stats{display:flex;border:1px solid #e5dce9;border-radius:12px;background:#ffffff70;padding:13px 0}.tc-context-stats>div{width:50%;padding:0 16px;display:flex;gap:2px;flex-direction:column}.tc-context-stats>div+div{border-left:1px solid #e5dce9}.tc-context-stats strong{font-size:22px;line-height:1.4;font-weight:500;color:#624671}.tc-context-stats span{font-size:10px;color:#7c6e84}.tc-context h3{font-size:10px;text-transform:uppercase;letter-spacing:1.15px;color:#8b7699;font-weight:600;margin:27px 0 10px}.tc-context-row{background:transparent;border:0;border-bottom:1px solid #e8e0ec;display:flex;align-items:flex-start;gap:9px;width:100%;padding:12px 0;text-align:left;color:#695079}.tc-context-row:hover strong{color:#8a51ab}.tc-context-row>svg{width:14px;height:14px;flex:none;margin-top:3px}.tc-context-row>span:nth-child(2){min-width:0;flex:1}.tc-context-row strong{display:block;font-size:11px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.tc-context-row small{display:block;color:#8b7e94;font-size:10px;margin-top:4px}.tc-context-row>span:last-child{font-size:12px;opacity:.6}.tc-projects{display:flex;flex-wrap:wrap;gap:6px}.tc-projects button{background:#fffcfa;border:1px solid #ddd1e5;border-radius:7px;display:flex;align-items:center;gap:6px;padding:5px 8px;font-size:10px;color:#6a507a;max-width:100%;overflow-wrap:anywhere;text-align:left}.tc-projects button:hover{background:#ece1f4;border-color:#c1a6d1}.tc-projects svg{width:11px;height:11px;flex:none}.tc-all-projects{display:block;font-size:11px;margin-top:10px}.tc-context-note{display:flex;align-items:flex-start;gap:8px;margin-top:30px;padding-top:18px;border-top:1px solid #e3d9e8;color:#81718c;font-size:10px;line-height:1.75}.tc-context-note>svg{width:14px;height:14px;flex:none;margin-top:3px}.tc-context-note strong{display:block;color:#65516f;font-weight:500}.tc-muted{font-size:11px;color:#897b91;line-height:1.75}
.tc-dock{padding:12px 26px 16px;flex:none;background:var(--card);position:relative}.tc-composer{padding:14px 17px 12px;border:1px solid #cdbbd9;border-radius:17px;background:#fff;box-shadow:0 4px 18px #7956910a;transition:box-shadow .2s,border-color .2s}.tc-composer:focus-within{border-color:#8a64a3;box-shadow:0 0 0 3px #efe7f5}.tc-input-label{font-size:10px;color:#8c759b;font-weight:500;display:block;margin-bottom:3px}.tc-composer textarea{display:block;width:100%;padding:4px 0 8px;border:0;border-radius:0;resize:none;min-height:48px;max-height:150px;background:transparent;font-size:14px;line-height:1.6;color:var(--text);outline:none;box-shadow:none}.tc-composer textarea:focus{outline:none;border:0}.tc-composer textarea::placeholder{color:#9a8ea2}.tc-composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.tc-scope-note{display:flex;align-items:center;gap:6px;color:#81708d;font-size:10px}.tc-scope-note svg{width:12px;height:12px}.tc-send{border:0;border-radius:10px;display:flex;align-items:center;gap:16px;padding:8px 13px;background:#684681;color:white;font-size:12px;min-height:37px}.tc-send:hover{background:#513463}.tc-send>span:last-child{font-size:18px;line-height:1}.tc-send:disabled{opacity:.6}.tc-composer-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:9px 3px 0;font-size:9px;color:#81718c}.tc-key-hint{color:#8c7d96}
.tc-thread-intro{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#8a7697;margin-bottom:26px}.tc-thread-intro svg{width:12px;height:12px}.tc-turn{padding-bottom:28px}.tc-user-message{display:flex;align-items:flex-end;flex-direction:column;margin-bottom:25px;gap:5px}.tc-user-message>span{font-size:10px;color:#897795;padding-right:5px}.tc-user-bubble{max-width:88%;padding:13px 17px;border:1px solid #e6dcec;border-radius:16px 16px 3px 16px;background:#f1eaf6;font-size:13px;color:#564064}.tc-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.tc-answer{display:flex;gap:13px;align-items:flex-start}.tc-answer-avatar{height:34px;width:34px;display:grid;place-items:center;border:1px solid #e6d9ec;background:#f6f0f9;border-radius:12px;flex:none}.tc-answer-content{min-width:0;flex:1}.tc-answer-label{font-size:12px;font-weight:600;color:#604071;display:flex;gap:9px;align-items:center;margin:4px 0 10px}.tc-answer-label time{font-size:9px;font-weight:400;color:#8f8099}.tc-rich{font-size:13px;color:#514959;line-height:1.85;overflow-wrap:anywhere}.tc-rich p{margin:0}.tc-rich h3{font-size:14px;margin:14px 0 6px;font-weight:600}.tc-paragraph-gap{height:10px}.tc-list-item{display:flex;gap:10px;margin:5px 0}.tc-list-item>span:first-child{color:#9b7dae}.tc-rich strong{font-weight:600;color:#4e3c5b}
.tc-proposal{margin-top:20px;border:1px solid #d8c7e4;border-radius:14px;background:#fcf9ff;overflow:hidden}.tc-proposal-heading{padding:17px 18px 0;display:flex;align-items:center;gap:10px}.tc-proposal-symbol{width:32px;height:32px;border-radius:9px;background:#ece0f4;color:#84569e;display:grid;place-items:center}.tc-proposal-symbol svg{width:16px;height:16px}.tc-proposal h3{font-size:14px;line-height:1.5;margin:0;color:#503461}.tc-proposal-state{display:block;font-size:9px;color:#805b95;line-height:1.7}.tc-proposal-meta{font-size:10px;color:#7f6e8b;padding:10px 18px 0}.tc-proposal-meta span{padding:0 5px}.tc-proposal-content{padding:14px 18px 18px;font-size:13px;color:#5d496b}.tc-field-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#87699a;display:block;margin-bottom:7px}.tc-before{margin:12px 18px 0;font-size:11px;color:#877098}.tc-before summary{cursor:pointer}.tc-before .tc-prose{padding-top:10px;color:#87758f}.tc-proposal-footer{border-top:1px solid #e8dcef;padding:13px 18px;background:#f4edf8}.tc-proposal-footer>span{font-size:10px;color:#806590;display:block;margin-bottom:10px}.tc-proposal-footer>div{display:flex;justify-content:flex-end;gap:12px;align-items:center}.tc-proposal-footer .button{font-size:11px;min-height:34px;padding:8px 12px;border-radius:8px}.tc-cancel{border:0;background:none;color:#80618f;font-size:11px;padding:8px}.tc-cancel:hover{color:#51315f}.tc-proposal.is-applied{background:#f6faf6;border-color:#d5e1d8}.is-applied .tc-proposal-symbol{background:#e2eee5;color:#53805f}.is-applied .tc-proposal-state{color:#51785c}.tc-proposal-footnote{font-size:11px;padding:0 18px 14px;margin:0;color:#816287}.tc-proposal.is-expired{opacity:.75}
.tc-sources{margin-top:15px;font-size:10px;color:#826b91}.tc-sources>summary{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #ece4f0;border-radius:7px;cursor:pointer;list-style:none;background:#fcfaff}.tc-sources svg{width:12px;height:12px}.tc-sources>div{margin-top:10px}.tc-source{border-left:2px solid #e3d5ec;padding:8px 12px;margin:8px 0}.tc-source summary{cursor:pointer;font-size:11px;overflow-wrap:anywhere}.tc-source .tc-prose{font-size:12px;color:#74627f;margin-top:10px;max-height:260px;overflow:auto}.tc-error{border:1px solid #e8c5cc;border-radius:10px;background:#fff3f4;color:#974659;font-size:12px;padding:12px;margin-bottom:12px;max-height:110px;overflow:auto;overflow-wrap:anywhere}.tc-thinking{display:flex;align-items:center;gap:13px;color:#9276a4;font-size:12px;padding-bottom:20px}.tc-thinking-dots{display:inline-block;letter-spacing:4px;margin-left:6px;animation:tc-breathe 1.5s infinite}.tc-loading{max-width:450px;margin:60px auto}.tc-loading p{font-size:12px;color:#9782a5}.tc-skeleton{display:block;height:14px;background:#eee6f3;border-radius:5px;margin:14px 0;animation:tc-breathe 1.6s infinite}.tc-skeleton:nth-child(2){width:80%}.tc-skeleton:nth-child(3){width:60%}.tc-load-error{margin:40px auto;max-width:500px;font-size:13px}.tc-load-error h2{font-size:22px}.tc-load-error p{color:var(--muted)}.tc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes tc-breathe{50%{opacity:.35}}
@media(min-width:1500px){.tc-workbench{grid-template-columns:minmax(0,1fr) 290px}.tc-feed{padding:30px 60px}.tc-dock{padding:15px 60px 20px}.tc-context{padding:28px}.tc-welcome h2{font-size:49px}}
@media(max-height:800px) and (min-width:901px){.tc-welcome-mark{width:48px;height:48px;margin-bottom:15px}.tc-welcome-mark img{width:30px;height:30px}.tc-welcome h2{font-size:34px;margin:10px 0}.tc-welcome>p{font-size:12px}.tc-starters{margin-top:22px}.tc-starters button{padding:12px;gap:7px}.tc-welcome{padding:0}.tc-feed{padding:20px 25px}}
@media(max-width:1100px){body[data-route="chat"] main{padding:22px 22px 14px}.tc-workbench{grid-template-columns:minmax(0,1fr) 215px}.tc-context{padding:20px 15px}.tc-feed{padding:22px}.tc-dock{padding:10px 18px 14px}.tc-starters{gap:7px}.tc-starters button{padding:12px 10px}.tc-starters small{font-size:10px}.tc-key-hint{display:none}}
@media(max-width:900px){.tc-workbench{grid-template-columns:1fr;position:relative}.tc-context{display:none;position:absolute;right:0;top:0;bottom:0;z-index:4;width:min(310px,100%);background:#f6f0f9;box-shadow:-10px 0 40px #33204020}.context-open .tc-context{display:block}.tc-context-toggle{display:flex;align-items:center;gap:7px;border:1px solid #d7c8e0;background:#f6f0f9;color:#735386;border-radius:9px;padding:8px 11px;font-size:11px}.tc-context-toggle svg{width:14px;height:14px}.tc-context-close{display:block;border:0;background:transparent;font-size:24px;color:#89679e}.tc-space{max-width:150px}.tc-welcome h2{font-size:38px}}
@media(max-width:650px){body[data-route="chat"] main{padding:14px 12px 85px}.tchat{height:calc(100dvh - 155px);min-height:450px}body:has(#modeBanner:not([hidden])) .tchat{height:calc(100dvh - 205px)}.tc-header{padding:0 4px 14px;gap:8px}.tc-header h1{font-size:21px;letter-spacing:-.7px}.tc-header .tc-eyebrow{font-size:7px;letter-spacing:1.2px}.tc-header-tools{gap:5px}.tc-space{display:none}.tc-workbench{border-radius:16px}.tc-feed{padding:20px 16px}.tc-welcome{padding:3px 0 14px}.tc-welcome-mark{width:48px;height:48px;margin-bottom:20px;border-radius:17px}.tc-welcome-mark img{width:31px;height:31px}.tc-welcome h2{font-size:34px;margin:12px 0}.tc-welcome .tc-eyebrow{font-size:7px;letter-spacing:1px}.tc-welcome>p{font-size:12px}.tc-desktop-break{display:none}.tc-starters{grid-template-columns:1fr;margin-top:22px;gap:7px}.tc-starters button{display:grid;grid-template-columns:30px 1fr;column-gap:11px;row-gap:2px;padding:12px;text-align:left}.tc-starter-icon{grid-row:span 2;align-self:center}.tc-starters strong{font-size:12px}.tc-starters small{font-size:11px}.tc-dock{padding:9px 10px 10px}.tc-composer{padding:10px 12px;border-radius:13px}.tc-composer textarea{font-size:16px;min-height:42px}.tc-input-label{font-size:9px}.tc-scope-note{font-size:8px}.tc-send{padding:7px 11px;font-size:11px;min-height:35px;gap:10px}.tc-composer-foot{font-size:8px;justify-content:center;gap:0}.tc-answer{gap:9px}.tc-answer-avatar{width:26px;height:26px;border-radius:9px}.tc-answer-avatar img{width:17px;height:17px}.tc-user-bubble{font-size:12px;padding:11px 13px;max-width:93%}.tc-rich{font-size:13px}.tc-proposal-heading{padding:13px 12px 0}.tc-proposal-meta{padding:9px 12px 0}.tc-proposal-content{padding:12px}.tc-proposal-footer{padding:11px 12px}.tc-proposal-footer>div{flex-wrap:wrap;gap:5px}.tc-proposal h3{font-size:13px}.tc-proposal-footer .button{font-size:10px}.tc-context{width:100%}body[data-route="chat"] .sidebar nav{justify-content:flex-start;overflow-x:auto}body[data-route="chat"] .sidebar nav a{flex:0 0 65px}}
@media(prefers-reduced-motion:reduce){.tchat *{animation:none!important;transition:none!important}}
.tc-feed.is-empty{align-items:safe center}.tc-welcome{flex-shrink:0}
.tc-correction-item{border-top:1px solid #e4d7ec;padding:12px 0}.tc-correction-item>summary{cursor:pointer;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.tc-correction-item .tc-field-label{margin-top:14px}.tc-correction-item .tc-prose{font-size:12px}.tc-correction-item .tc-muted{margin:8px 0 0}
@media(max-width:650px){body:has(#modeBanner:not([hidden])) .tchat{height:calc(100dvh - 220px)}body[data-route="chat"] #helpTour{display:none}body[data-route="chat"] .sidebar nav{scrollbar-width:none}body[data-route="chat"] .sidebar nav::-webkit-scrollbar{display:none}}
@media(max-height:800px) and (min-width:901px){.tc-welcome-mark,.tc-welcome>.tc-eyebrow{display:none}.tc-welcome h2{font-size:30px;letter-spacing:-1px;margin:0 0 10px}.tc-welcome h2 br{display:none}.tc-welcome h2 span:before{content:' '}.tc-starters{margin-top:18px}.tc-starter-icon{display:none}.tc-starters button{min-height:86px}.tc-welcome{padding:8px 0}}
