/* Equipe IA: WhatsApp-like chat, on-brand (accent rebrandable). Prefix t-. */
.t-page,.t-sheet{--t-wall:#f3f0eb;--t-in:#fff;--t-out:color-mix(in srgb,var(--accent) 13%,#fff);--t-meta:#868d97;--t-read:#2b9be3;--t-line:#e9e5df;--t-soft:#6b717b;--t-online:#22b26a}
.t-page{position:relative}.t-page [hidden],.t-sheet [hidden]{display:none!important}
.t-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.t-heading h1{font-size:clamp(26px,2.5vw,40px);line-height:1.15;letter-spacing:-1.2px;margin:7px 0 8px}.t-heading>div>p:last-child{color:var(--t-soft);font-size:14px;margin:0}.t-heading .eyebrow{color:var(--accent);letter-spacing:1.7px}
.t-mode,.t-label{display:inline-flex;align-items:center;gap:7px;background:color-mix(in srgb,var(--accent) 9%,white);color:var(--accent-dark,var(--accent));padding:7px 12px;border-radius:40px;font-size:12px;font-weight:600;white-space:nowrap}.t-mode{background:#eaf7f0;color:#17794a}
.t-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--t-online);box-shadow:0 0 0 3px color-mix(in srgb,var(--t-online) 18%,transparent);flex:none}
/* Specialists deck */
.t-team-deck{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:20px;padding-top:5px}
.t-specialist{position:relative;padding:0;border:1px solid #e3e5ea;border-radius:16px;background:white;text-align:left;min-width:0;overflow:hidden;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .2s;box-shadow:0 5px 12px #20202b06;cursor:pointer;font:inherit}
.t-specialist:hover{transform:translateY(-4px);box-shadow:0 14px 26px #28201816}.t-specialist.selected{border-color:var(--tone,var(--accent));box-shadow:0 0 0 1px var(--tone,var(--accent)),0 8px 18px color-mix(in srgb,var(--tone,var(--accent)) 12%,transparent)}
.t-specialist-art{position:relative;height:clamp(110px,12vw,185px);overflow:hidden;background:#f1efeb}.t-portrait{display:block;width:100%;aspect-ratio:3/4;background-image:url('/assets/team-portraits.png');background-size:300% 200%;background-position:var(--tx) var(--ty)}.t-specialist-art .t-portrait{position:absolute;top:0;left:0;transition:transform .5s cubic-bezier(.2,.8,.2,1)}.t-specialist:hover .t-specialist-art .t-portrait{transform:scale(1.04)}
.t-specialist-copy{padding:12px 12px 14px;position:relative}.t-specialist-copy strong{display:block;font-size:17px;letter-spacing:-.3px}.t-specialist-copy>span{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:12px;color:#535e70}.t-specialist-copy>span .t-dot{width:6px;height:6px;box-shadow:none}.t-specialist-copy small{display:block;margin-top:8px;font-size:11.5px;line-height:1.45;color:#838a99;padding-right:10px}.t-specialist-copy i{position:absolute;right:11px;top:11px;font-style:normal;font-size:16px;color:#667080}
.t-present{position:absolute;bottom:9px;right:8px;font-size:11px;background:var(--tone,var(--accent));color:#fff;padding:4px 8px;border-radius:20px;font-weight:600}
/* Room */
.t-room{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e1e3e8;border-radius:18px;box-shadow:0 10px 34px #1b263608;overflow:hidden}
.t-page .t-room{height:clamp(540px,calc(100dvh - 150px),860px)}
.t-room-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px 10px 16px;background:#fff;border-bottom:1px solid var(--t-line);z-index:3}
.t-room-identity{display:flex;align-items:center;gap:12px;min-width:0}.t-room-title{min-width:0}.t-room-title h2{font-size:15.5px;line-height:1.25;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(420px,46vw)}
.t-status{margin:2px 0 0;font-size:12.5px;color:var(--t-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-status.is-typing{color:#17794a;font-weight:500}
.t-avatar{width:36px;height:36px;display:inline-block;flex:none;border-radius:50%;overflow:hidden;background:#eee;position:relative;border:2px solid #fff}.t-avatar .t-portrait{position:absolute;top:-1px;width:100%;transform:scale(1.3);transform-origin:50% 30%}
.t-facepile{position:relative;display:flex;flex:none;align-items:center}.t-facepile .t-avatar+.t-avatar{margin-left:-12px}.t-more{margin-left:-10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef0f3;font-size:11px;font-weight:700;color:#5f6670;border:2px solid #fff}
.t-online{position:absolute;right:-1px;bottom:1px;width:11px;height:11px;border-radius:50%;background:var(--t-online);border:2px solid #fff}
.t-room-controls{display:flex;gap:6px;align-items:center;flex:none}.t-room-controls button{font-size:12.5px;padding:7px 11px;min-height:34px;gap:5px;border-radius:10px}.t-room-controls .icon{width:15px;height:15px}
/* Thread with a subtle wallpaper */
.t-thread{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfc9c0 transparent;background-color:color-mix(in srgb,var(--accent) 3%,var(--t-wall));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23000' stroke-opacity='.05' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 40h28l-5-9H27zM18 40v7h36v-7M27 50a3 3 0 1 0 0 .1M45 50a3 3 0 1 0 0 .1'/%3E%3Ccircle cx='130' cy='30' r='7'/%3E%3Cpath d='M137 30h16M148 30v5M152 30v4M98 92l3 6 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1zM32 118h24a5 5 0 0 1 5 5v11a5 5 0 0 1-5 5H43l-7 6v-6h-4a5 5 0 0 1-5-5v-11a5 5 0 0 1 5-5zM142 128v14M135 135h14'/%3E%3Ccircle cx='92' cy='160' r='3'/%3E%3Ccircle cx='166' cy='88' r='2'/%3E%3C/svg%3E")}
.t-log{display:flex;flex-direction:column;padding:10px clamp(12px,3vw,40px) 18px;min-height:100%}
.t-day{display:flex;justify-content:center;margin:12px 0 4px}.t-day span{background:#fff;color:#5d6570;font-size:12px;font-weight:600;padding:5px 12px;border-radius:9px;box-shadow:0 1px .5px #0b141a1c}
.t-event{display:flex;justify-content:center;align-items:center;gap:5px;margin:10px auto;max-width:92%;text-align:center}.t-event>span:last-child{background:#fff8ec;color:#6f5a3f;font-size:12.5px;padding:5px 11px;border-radius:9px;box-shadow:0 1px .5px #0b141a14}.t-mini-avatar{width:22px;height:22px;border-width:1px}.t-mini-avatar+.t-mini-avatar{margin-left:-9px}
/* Messages */
.t-msg{display:flex;gap:8px;align-items:flex-start;margin-top:10px;position:relative}.t-cont{margin-top:3px}.t-out{justify-content:flex-end}.t-gap{width:36px;flex:none}
.t-stack{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:min(600px,80%)}.t-out .t-stack{align-items:flex-end}
.t-bubble{position:relative;display:flow-root;background:var(--t-in);border-radius:16px;padding:6px 10px 7px 11px;box-shadow:0 1px .5px #0b141a1f;font-size:14px;line-height:1.45;color:var(--ink,#131519);overflow-wrap:anywhere;max-width:100%}
.t-text{white-space:pre-wrap}
.t-inc:not(.t-cont) .t-bubble{border-top-left-radius:4px}.t-out:not(.t-cont) .t-bubble{border-top-right-radius:4px}.t-out .t-bubble{background:var(--t-out)}
.t-inc:not(.t-cont):not(.t-typing-row) .t-bubble:before,.t-out:not(.t-cont) .t-bubble:before{content:'';position:absolute;top:0;width:8px;height:12px;background:inherit}
.t-inc:not(.t-cont):not(.t-typing-row) .t-bubble:before{left:-7px;clip-path:polygon(0 0,100% 0,100% 100%)}.t-out:not(.t-cont) .t-bubble:before{right:-7px;clip-path:polygon(0 0,100% 0,0 100%)}
.t-who{display:block;font-size:12.5px;font-weight:700;color:var(--tone,var(--accent));margin:1px 0 1px}.t-who small{font-weight:500;color:var(--t-meta);font-size:11.5px;margin-left:6px}
.t-bubble mark{background:none;color:var(--accent-dark,var(--accent));font-weight:600;padding:0}
.t-meta{float:right;display:inline-flex;align-items:center;gap:3px;margin:8px -2px -3px 12px;font-size:11px;line-height:1;color:var(--t-meta);white-space:nowrap}
.t-ticks{display:inline-flex;color:#9aa1aa;transition:color .35s}.t-ticks svg{width:17px;height:11px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.t-ticks[data-ticks=sending] svg{width:12px;height:12px}.t-ticks[data-ticks=sent] .t-tick2{display:none}.t-ticks[data-ticks=read]{color:var(--t-read)}
.t-quote{display:block;width:100%;min-width:180px;text-align:left;border:0;border-left:3px solid var(--tone,var(--accent));background:color-mix(in srgb,var(--tone,var(--accent)) 7%,#f5f5f4);border-radius:8px;padding:5px 9px;margin:3px 0 5px;cursor:pointer;font:inherit}.t-out .t-quote{background:#ffffff8c}.t-quote b{display:block;color:var(--tone,var(--accent));font-size:12px}.t-quote span{display:block;font-size:12.5px;color:#5f6670;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.t-file{padding:3px 0 2px}.t-file img{display:block;max-width:min(260px,100%);max-height:240px;border-radius:10px;object-fit:cover}.t-file audio{width:min(280px,62vw);height:38px}.t-file a{font-size:13.5px;display:inline-flex;gap:6px;align-items:center}.t-file .icon{width:18px}
/* Typing and thinking */
.t-typing-row{animation:t-fade .2s ease-out}.t-typing{display:inline-flex;align-items:center;gap:4px;padding:12px 14px;min-height:38px}.t-typing i{width:7px;height:7px;border-radius:50%;background:#9aa1ab;animation:t-bounce 1.25s infinite ease-in-out}.t-typing i:nth-child(2){animation-delay:.16s}.t-typing i:nth-child(3){animation-delay:.32s}
.t-thinking{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#5d6570;font-style:italic;padding:9px 13px}.t-think-dot{width:14px;height:14px;border-radius:50%;border:2px solid color-mix(in srgb,var(--tone,var(--accent)) 25%,#fff);border-top-color:var(--tone,var(--accent));animation:t-spin .9s linear infinite;flex:none}
/* Reactions */
.t-reactions{display:flex;gap:3px;margin:-7px 8px 0;position:relative;z-index:1}.t-reactions:empty{display:none}.t-out .t-reactions{justify-content:flex-end}
.t-reaction{display:inline-flex;align-items:center;gap:3px;background:#fff;border:1px solid #ebe7e1;border-radius:999px;padding:1px 7px;font-size:14px;line-height:21px;box-shadow:0 1px 2px #0000000f;cursor:default}.t-reaction small{font-size:11.5px;color:var(--t-meta)}.t-reaction.mine{background:color-mix(in srgb,var(--accent) 9%,#fff);border-color:color-mix(in srgb,var(--accent) 28%,#fff)}.t-pop{animation:t-react-pop .45s cubic-bezier(.2,1.6,.4,1)}
.t-react-btn{position:absolute;top:2px;right:-36px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:0;background:#fff;box-shadow:0 1px 3px #0b141a26;opacity:0;transition:opacity .15s;cursor:pointer;font-size:16px;color:#6b717b}.t-inc:hover .t-react-btn,.t-react-btn:focus-visible,.t-reacting .t-react-btn{opacity:1}
.t-react-bar{position:absolute;bottom:calc(100% - 3px);left:0;display:flex;gap:1px;padding:4px 6px;background:#fff;border-radius:999px;box-shadow:0 8px 28px #0f172a2e,0 1px 2px #0f172a14;opacity:0;transform:translateY(6px) scale(.9);transform-origin:bottom left;pointer-events:none;transition:opacity .16s,transform .22s cubic-bezier(.2,1.4,.4,1);z-index:6}
.t-react-bar button{border:0;background:none;font-size:20px;width:36px;height:36px;border-radius:50%;cursor:pointer;transition:transform .15s,background .15s;line-height:1}.t-react-bar button:hover,.t-react-bar button:focus-visible{transform:scale(1.22) translateY(-2px);background:#f4f3f1;outline:none}
@media(hover:hover){.t-inc:not(.t-typing-row):hover .t-react-bar{opacity:1;transform:none;pointer-events:auto;transition-delay:.3s}}
.t-reacting .t-react-bar,.t-react-bar:focus-within{opacity:1;transform:none;pointer-events:auto;transition-delay:0s}
/* Cards */
.t-cards{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;width:min(440px,100%)}.t-out .t-cards{justify-content:flex-end}.t-cards>article{flex:1 1 100%}
.t-artifact{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #ebe7e1;border-radius:14px;background:#fff;box-shadow:0 1px .5px #0b141a14;flex-wrap:wrap;min-width:0}
.t-artifact>div{min-width:0}.t-artifact strong{display:block;font-size:13.5px}.t-artifact small{display:block;color:#7d8491;font-size:12px;line-height:1.45;margin-top:3px}.t-artifact b{font-size:13.5px;display:block;margin-top:3px}.t-artifact>.text-btn{margin-left:auto;font-size:12.5px}.t-artifact .icon{width:22px;color:var(--accent);flex:none}
.t-card-actions{margin-left:auto;display:flex;flex-direction:column;gap:5px}.t-card-actions .text-btn{font-size:12.5px}.t-car-photo{width:96px;height:62px;object-fit:cover;border-radius:9px;flex:none}
.t-artifact-symbol{display:grid;place-items:center;width:36px;height:36px;background:color-mix(in srgb,var(--accent) 8%,white);border-radius:10px;flex:none}.t-finance>div+div{padding-left:12px;border-left:1px solid #eceae6}.t-accent{color:var(--accent-dark,var(--accent))}
.t-pnl{flex-direction:column;align-items:stretch;gap:8px}.t-pnl header{display:flex;align-items:center;gap:8px}.t-pnl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.t-pnl-grid div{background:#f8f7f5;border-radius:9px;padding:7px 9px}.t-pnl-grid small{margin:0}.t-pnl-grid .good b{color:#147a4b}.t-pnl-grid .bad b{color:#b5432f}.t-pnl>.text-btn{align-self:flex-start;margin:0}
.t-route-link{display:inline-flex;align-items:center;border:1px solid color-mix(in srgb,var(--accent) 26%,#fff);background:#fff;color:var(--accent-dark,var(--accent));border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 1px .5px #0b141a14;transition:background .15s,transform .15s}.t-route-link:hover{background:color-mix(in srgb,var(--accent) 7%,#fff);transform:translateY(-1px)}
/* Proposal (approval) card */
.t-proposal{position:relative;background:#fff;border:1px solid #ebe7e1;border-radius:14px;box-shadow:0 1px 2px #0b141a14,0 8px 24px #0f172a0b;padding:12px 14px;overflow:hidden}.t-proposal:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--tone,var(--accent))}
.t-proposal header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.t-p-kind{display:flex;align-items:center;gap:6px;font-size:12px;color:#5f6670;font-weight:600}.t-p-avatar{width:22px;height:22px;border-width:1px}
.t-p-state{font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:#f1f2f4;color:#5f6670;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.t-p-state .icon{width:13px;height:13px;color:currentColor}.t-p-state.ok{background:#e6f6ee;color:#147a4b}.t-p-state.warn{background:#fff3e0;color:#93570a}.t-p-state.lock{background:#f2effa;color:#55468a}.t-p-state.wait{background:color-mix(in srgb,var(--accent) 10%,#fff);color:var(--accent-dark,var(--accent))}
.t-proposal>strong{display:block;font-size:14.5px;line-height:1.35;margin-bottom:8px}
.t-proposal dl{margin:0;display:grid;gap:6px;background:#f8f7f5;border-radius:10px;padding:8px 10px}.t-proposal dl div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px}.t-proposal dt{color:#6b717b}.t-proposal dd{margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;text-align:right}.t-proposal s{color:#9aa0a8}.t-proposal dd i{font-style:normal;color:#9aa0a8}.t-proposal dd b{color:var(--ink,#131519)}
.t-p-module{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:11.5px;color:#7a818b}.t-p-module .icon{width:13px;height:13px;color:#7a818b}
.t-p-actions{display:flex;gap:8px;margin-top:11px}.t-p-btn{position:relative;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;border-radius:10px;border:1px solid #dfe2e7;background:#fff;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;color:#384050;transition:transform .15s,background .15s,box-shadow .15s}.t-p-btn .icon{width:16px;height:16px;color:currentColor}
.t-p-btn:hover:not(:disabled){transform:translateY(-1px)}.t-p-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent,#fff);box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 25%,transparent)}.t-p-btn:disabled{opacity:.55;cursor:not-allowed}.t-p-btn.primary:disabled{background:#eceef1;border-color:#e2e5e9;color:#5f6670;box-shadow:none;opacity:1}
.t-p-btn.is-busy{color:transparent}.t-p-btn.is-busy:after{content:'';position:absolute;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-color:#fff #fff #fff transparent;animation:t-spin .7s linear infinite}.t-p-btn.is-busy:not(.primary):after{border-color:#556 #556 #556 transparent}
.t-p-reason{font-size:12px;color:#8a5a12;margin:8px 0 0;line-height:1.45}.t-p-foot{font-size:12px;color:#147a4b;margin:8px 0 0}.t-proposal.is-applied{border-color:#cfe9db}.t-proposal.is-rejected,.t-proposal.is-expired{opacity:.82}.t-proposal.is-rejected dl,.t-proposal.is-expired dl{text-decoration:line-through;text-decoration-color:#0003}
.t-flash{animation:t-flash 1.2s ease-out}.t-msg.t-flash .t-bubble{animation:t-flash 1.2s ease-out}
/* New-message pill */
.t-new-pill{align-self:center;position:relative;z-index:4;margin:-48px 0 12px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;background:#fff;color:var(--accent-dark,var(--accent));font:inherit;font-size:13px;font-weight:600;padding:8px 14px;box-shadow:0 6px 20px #0f172a26;cursor:pointer;animation:t-rise .25s ease-out}
/* Composer */
.t-composer{position:relative;padding:8px 12px 8px;background:#f7f5f2;border-top:1px solid var(--t-line)}
.t-quick{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none}.t-quick::-webkit-scrollbar{display:none}.t-chip{flex:none;border:1px solid color-mix(in srgb,var(--accent) 25%,#fff);background:#fff;color:var(--accent-dark,var(--accent));border-radius:999px;padding:7px 12px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap;transition:background .15s}.t-chip:hover{background:color-mix(in srgb,var(--accent) 7%,#fff)}
.t-context-row{display:flex;gap:6px;flex-wrap:wrap}.t-context-row>span{display:flex;gap:6px;align-items:center;font-size:12.5px;background:#fff;border:1px solid #e6e2dc;padding:5px 9px;border-radius:9px;margin-bottom:8px}.t-context-row .icon{width:14px;height:14px}.t-uploading{color:var(--t-soft)}.t-uploading .t-spinner{width:12px;height:12px}
.t-input-row{display:flex;align-items:flex-end;gap:8px;position:relative}
.t-field{flex:1;min-width:0;display:flex;background:#fff;border:1px solid #e3dfd8;border-radius:22px;transition:border-color .15s,box-shadow .15s}.t-field:focus-within{border-color:color-mix(in srgb,var(--accent) 60%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
.t-field textarea{flex:1;min-width:0;resize:none;border:0;background:none;border-radius:22px;padding:11px 15px;min-height:44px;max-height:120px;outline:none;font:inherit;font-size:14.5px;line-height:21px;color:var(--ink,#252c36)}
.t-add,.t-mic,.t-send{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;flex:none;cursor:pointer;border:0;background:none;color:#5d6570;transition:transform .15s,background .15s}.t-add:hover,.t-mic:hover{background:#ebe7e1}.t-add .icon,.t-mic .icon{width:22px;height:22px}
.t-send,.t-mic{background:var(--accent);color:var(--on-accent,#fff);box-shadow:0 3px 10px color-mix(in srgb,var(--accent) 28%,transparent)}.t-mic:hover{background:var(--accent-hover,var(--accent))}.t-send:hover:not(:disabled){transform:scale(1.05)}.t-send:disabled{opacity:.55;cursor:wait}.t-send .icon{width:20px;height:20px}
.t-input-row:not(.has-text) .t-send{display:none}.t-input-row.has-text [data-t-mic]{display:none}.t-mic.recording{background:#fff;color:#d34d4d;box-shadow:0 0 0 2px #d34d4d inset}.t-record-stop{width:14px;height:14px;background:#d34d4d;border-radius:3px}
.t-composer-note{font-size:11.5px;color:#8e959f;text-align:center;margin:7px 0 0}
.t-add-wrap{position:relative}.t-add-menu{position:absolute;z-index:8;bottom:54px;left:0;width:220px;border:1px solid #e6e2dc;border-radius:14px;background:white;box-shadow:0 14px 40px #18203124;padding:6px;animation:t-rise .18s ease-out}.t-add-menu button{width:100%;border:0;justify-content:flex-start;font-size:13px;padding:10px 9px;border-radius:9px}.t-add-menu button:hover{background:#f5f4f2}
.t-mentions{position:absolute;bottom:56px;left:50px;width:270px;z-index:9;background:white;box-shadow:0 14px 40px #18203124;border:1px solid #e6e2dc;border-radius:14px;padding:5px;max-height:290px;overflow:auto;animation:t-rise .18s ease-out}.t-mention-option{display:flex;align-items:center;gap:10px;padding:8px;border:0;background:white;width:100%;text-align:left;border-radius:9px;cursor:pointer;font:inherit}.t-mention-option:hover,.t-mention-option:focus{background:color-mix(in srgb,var(--accent) 8%,white);outline:none}.t-mention-option strong{font-size:13px;color:var(--accent-dark,var(--accent))}.t-mention-option small{display:block;font-size:12px;color:#8d94a1}
.t-mini{border:0;background:none;cursor:pointer;font-size:15px;line-height:1;color:#6b717b}
.t-record-state{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#bc3939;padding:8px 4px 0}.t-record-state i{width:8px;height:8px;background:#cf4545;border-radius:50%;animation:t-pulse .7s infinite alternate}
.t-spinner{display:inline-block;width:17px;height:17px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:t-spin .7s linear infinite}
/* Welcome */
.t-welcome{max-width:560px;margin:auto;padding:28px 18px;text-align:center}.t-welcome-avatar{width:78px;height:78px;display:block;margin:0 auto 14px;box-shadow:0 6px 18px #0f172a1f}.t-welcome h2{font-size:23px;letter-spacing:-.5px;margin:12px 0 8px}.t-welcome>p{font-size:14px;color:#6f7684;line-height:1.7}
.t-starters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}.t-starter{border:1px solid #e3dfd8;border-radius:999px;background:white;padding:9px 14px;font:inherit;font-size:13px;cursor:pointer;color:#4b5363;transition:transform .2s,border-color .2s,color .2s}.t-starter:hover{transform:translateY(-2px);border-color:var(--accent);color:var(--accent-dark,var(--accent))}.t-featured{color:var(--accent-dark,var(--accent));background:color-mix(in srgb,var(--accent) 6%,white);border-color:color-mix(in srgb,var(--accent) 30%,white)}
/* Entrance animations (only on new nodes) */
.t-in .t-bubble{animation:t-bubble-in .34s cubic-bezier(.2,.85,.25,1.12) both}.t-inc.t-in .t-bubble{transform-origin:0 0}.t-out.t-in .t-bubble{transform-origin:100% 0}.t-in>.t-avatar{animation:t-fade .25s both}.t-in .t-cards{animation:t-rise .4s .12s ease-out both}.t-event.t-in{animation:t-rise .3s ease-out both}
/* Launcher and sheet */
.t-launcher{position:fixed;right:24px;bottom:22px;z-index:29;display:flex;align-items:center;gap:10px;border:1px solid #e3e5eb;padding:7px 18px 7px 7px;background:white;border-radius:40px;box-shadow:0 8px 30px #1b26362e;cursor:pointer;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s;font:inherit;animation:t-rise .4s .2s ease-out both}.t-launcher:hover{transform:translateY(-3px);box-shadow:0 14px 36px #1b263636}
.t-launcher-face{position:relative;display:flex}.t-launcher .t-avatar{width:44px;height:44px}.t-launcher strong{display:block;font-size:13px;text-align:left}.t-launcher small{display:block;color:#17794a;font-size:12px;margin-top:2px;text-align:left}
.t-sheet{position:fixed;inset:12px 12px 12px auto;margin:0;padding:0;width:560px;max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:none;border:1px solid #dfe2e7;border-radius:20px;box-shadow:0 18px 70px #14203347;overflow:hidden;background:#fff}
.t-sheet[open]{animation:t-sheet-in .34s cubic-bezier(.2,.85,.25,1)}.t-sheet::backdrop{background:#17202d40;backdrop-filter:blur(2px);animation:t-fade .25s ease-out}
.t-sheet-top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 10px 18px;border-bottom:1px solid var(--t-line);font-size:13.5px}
.t-sheet [data-t-room]{height:calc(100% - 55px)}.t-sheet .t-room{height:100%;border:0;border-radius:0;box-shadow:none}.t-sheet .t-room-header{padding:9px 12px}.t-sheet .t-room-controls button span{display:none}.t-sheet .t-room-title h2{max-width:240px}.t-sheet .t-stack{max-width:86%}.t-sheet .t-log{padding:8px 12px 16px}
/* Overlays */
.t-history,.t-picker{position:absolute;inset:0;z-index:15;background:#fff;border:1px solid #e6e2dc;border-radius:16px;padding:22px;box-shadow:0 8px 35px #1523331a;display:flex;flex-direction:column;overflow:hidden;animation:t-rise .22s ease-out}
.t-history header,.t-picker header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.t-history h2,.t-picker h2{font-size:22px;margin:0}.t-history header p{font-size:13px;color:#8c94a4;margin:5px 0 0}
.t-history-list,.t-picker-list{overflow:auto;flex:1;margin-top:14px}.t-history-item{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #ebe7e1;background:white;border-radius:14px;padding:14px;margin-bottom:9px;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.t-history-item.current{border-color:color-mix(in srgb,var(--accent) 40%,#fff);background:color-mix(in srgb,var(--accent) 4%,#fff)}
.t-history-item>span:nth-child(2){min-width:0;flex:1}.t-history-item strong{display:block;font-size:14px}.t-history-item small{display:block;font-size:12px;color:#8d96a6;margin:5px 0}.t-history-item p{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#788395;margin:0}.t-history-item:hover{border-color:var(--accent)}.t-history-item .icon{width:18px;flex:none}.t-history-empty{padding:45px;text-align:center;color:#8d96a6}
.t-picker-search{border:1px solid #dfe2e7;border-radius:10px;padding:12px;font:inherit;font-size:14px}.t-picker-list button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-bottom:1px solid #f0eee9;background:white;padding:14px;text-align:left;cursor:pointer;font:inherit}.t-picker-list button:hover{background:#f8f7f5}.t-picker-list button span{flex:1}.t-picker-list strong{font-size:14px}.t-picker-list small{display:block;font-size:12.5px;color:#8d96a6;margin-top:4px}
.t-confirm{position:absolute;inset:0;display:grid;place-items:center;background:#15233355;z-index:20;border-radius:16px;padding:20px;animation:t-fade .2s}.t-confirm>div{background:white;border-radius:16px;padding:24px;max-width:430px;box-shadow:0 10px 50px #101d3b22;animation:t-rise .25s ease-out}.t-confirm h3{margin-top:0}.t-confirm p{font-size:14px;color:#6f7684;line-height:1.7}.t-confirm button{margin:5px 5px 0 0}
.t-sim-label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:20px 0}.t-sim-label input{padding:12px;border:1px solid #d7dce5;border-radius:9px;font:inherit}.t-sim-result{display:flex;flex-direction:column;gap:12px;padding:18px;background:#f7f8fa;border-radius:12px;margin-bottom:15px}.t-sim-result span{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.t-room button:focus-visible,.t-specialist:focus-visible,.t-launcher:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 50%,white);outline-offset:2px}
@keyframes t-spin{to{transform:rotate(360deg)}}@keyframes t-pulse{to{opacity:.25}}@keyframes t-fade{from{opacity:0}}@keyframes t-rise{from{opacity:0;transform:translateY(8px)}}
@keyframes t-bounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
@keyframes t-bubble-in{from{opacity:0;transform:scale(.7) translateY(4px)}to{opacity:1;transform:none}}
@keyframes t-react-pop{0%{transform:scale(0)}60%{transform:scale(1.3)}100%{transform:scale(1)}}
@keyframes t-flash{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 45%,transparent)}100%{box-shadow:0 0 0 14px transparent}}
@keyframes t-sheet-in{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.t-team-deck{gap:16px}.t-bubble{font-size:14.5px}}
@media(max-width:1200px){.t-mode{display:none}.t-specialist-copy strong{font-size:15.5px}.t-team-deck{gap:8px}.t-heading h1{font-size:29px}.t-room-controls button span{display:none}}
@media(max-width:700px){.t-heading{margin-bottom:14px}.t-heading h1{font-size:26px;letter-spacing:-.7px}.t-heading>div>p:last-child{font-size:13px}
 .t-team-deck{display:flex;overflow-x:auto;gap:10px;margin:0 -2px 14px;padding:6px 3px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.t-specialist{flex:0 0 132px;scroll-snap-align:start}.t-specialist-art{height:118px}.t-specialist-copy small{display:none}
 .t-page .t-room{height:calc(100dvh - 120px);min-height:480px;border-radius:16px}.t-room-header{padding:8px 10px;gap:8px}.t-room-identity{flex:1;gap:9px}.t-room-title{flex:1}.t-room-title h2{font-size:15px;max-width:none}.t-room-header .t-facepile .t-avatar:nth-child(n+3),.t-room-header .t-more{display:none}.t-room-header .t-avatar{width:34px;height:34px}.t-room-controls{gap:2px}.t-room-controls button{padding:7px 8px}
 .t-log{padding:8px 8px 14px}.t-stack{max-width:86%}.t-msg>.t-avatar{width:30px;height:30px}.t-gap{width:30px}.t-react-btn{display:none}.t-react-bar{left:-30px}
 .t-artifact{padding:10px;gap:9px}.t-car-photo{width:72px;height:52px}.t-card-actions{flex-direction:row;width:100%;justify-content:flex-end;border-top:1px solid #f0eee9;padding-top:7px}.t-finance>div+div{border:0;padding:0}.t-pnl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .t-composer{padding:7px 8px}.t-input-row{gap:5px}.t-add,.t-mic,.t-send{width:42px;height:42px}.t-mentions{left:0;width:min(270px,100%)}.t-composer-note{display:none}
 .t-launcher{bottom:14px;right:14px;padding:5px 14px 5px 5px}.t-launcher .t-avatar{width:38px;height:38px}.t-launcher strong{font-size:12.5px}.t-launcher small{font-size:11.5px}
 .t-sheet{inset:0;width:100vw;max-width:none;height:100dvh;border-radius:0;border:0}.t-sheet[open]{animation-name:t-rise}.t-history,.t-picker{padding:16px}.t-history-item{padding:12px;gap:8px}.t-history-item .t-facepile .t-avatar{width:28px;height:28px}.t-history h2{font-size:20px}}
/* Equipe recolhida: depois da escolha, os seis cartões viram uma faixa de avatares e a conversa ocupa a altura da tela. */
.t-heading-side{display:flex;align-items:center;gap:10px;flex:none}
.t-team-toggle{display:inline-flex;align-items:center;gap:7px;padding:8px 11px 8px 12px;border:1px solid #e1e3e8;border-radius:12px;background:#fff;color:#39414d;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}
.t-team-toggle:hover{background:#f7f7f9;border-color:#d3d6dd}.t-team-toggle .icon{width:15px;height:15px}
.t-team-toggle .icon:last-child{transform:rotate(90deg);transition:transform .25s cubic-bezier(.2,.8,.2,1)}.t-team-toggle.is-open .icon:last-child{transform:rotate(-90deg)}
.t-team-strip{display:flex;gap:6px;margin-bottom:14px;padding:6px;border:1px solid #e3e5ea;border-radius:16px;background:#fff;box-shadow:0 5px 12px #20202b06;overflow-x:auto;scrollbar-width:none}.t-team-strip::-webkit-scrollbar{display:none}
.t-strip-person{flex:1 1 0;min-width:max-content;display:flex;align-items:center;gap:9px;padding:5px 10px 5px 5px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .2s,border-color .2s}
.t-strip-person:hover{background:#f6f6f8}.t-strip-person.selected{border-color:color-mix(in srgb,var(--tone) 40%,transparent);background:color-mix(in srgb,var(--tone) 7%,#fff)}
.t-strip-person .t-avatar{width:34px;height:34px}.t-strip-person.selected .t-avatar{box-shadow:0 0 0 2px var(--tone)}
.t-strip-person>span{display:flex;flex-direction:column;min-width:0}.t-strip-person strong{font-size:13.5px;letter-spacing:-.2px}.t-strip-person small{font-size:11.5px;color:#7b828e;white-space:nowrap}
.t-strip-person i{margin-left:auto;padding-left:6px;font-style:normal;font-size:14px;color:#8a919c}.t-strip-person.selected i{color:var(--tone)}
.t-strip-person:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 50%,white);outline-offset:1px}
.t-page.t-folded .t-heading{margin-bottom:12px}.t-page.t-folded .t-heading h1{font-size:clamp(22px,1.8vw,28px);margin:4px 0 0}.t-page.t-folded .t-heading>div>p:last-child{display:none}
.t-page.t-folded .t-room{height:clamp(360px,calc(100dvh - 286px),980px)}
@media(min-width:961px){[data-navigation=top] .t-page.t-folded .t-room{height:clamp(360px,calc(100dvh - 350px),980px)}}
.t-team-enter{animation:t-team-in .34s cubic-bezier(.2,.8,.2,1)}
@keyframes t-team-in{from{opacity:0;transform:translateY(-8px) scale(.985)}}
@media(max-width:1200px){.t-strip-person small{display:none}.t-strip-person{gap:7px}}
@media(max-width:700px){.t-team-strip{margin:0 -2px 10px}.t-strip-person{flex:0 0 auto}.t-heading-side .t-team-toggle span{display:none}.t-page.t-folded .t-heading h1{font-size:19px;letter-spacing:-.4px}.t-page.t-folded .t-room{height:calc(100dvh - 270px);min-height:300px}}
@media(pointer:coarse){.t-bubble{-webkit-user-select:none;user-select:none}.t-react-btn{display:none}}
@media(prefers-reduced-motion:reduce){.t-page *,.t-sheet,.t-sheet *,.t-sheet::backdrop,.t-launcher{animation:none!important;transition:none!important}.t-typing i{opacity:.7}.t-think-dot{border-color:var(--tone,var(--accent))}}
