/* Tamarindo investor questions. Extends the presentation's existing visual system. */
:root{--tc-chat-width:438px;--tc-chat-paper:#fdfcf8;--tc-chat-ink:#252525;--tc-chat-teal:#1f525c;--tc-chat-copper:#a45f3d;--tc-chat-rule:#d8d7d2;--tc-chat-muted:#60615c}
.tc-chat-launcher{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.deck-nav .tc-chat-launcher{min-height:34px;padding:0 13px;margin-left:4px;background:#1f525c;color:#fdfcf8;font-weight:500}
.deck-nav .tc-chat-launcher:hover,.deck-nav .tc-chat-launcher[aria-expanded=true]{background:#173f47;color:#fff}
.tc-chat-icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tc-chat-pull-tab{position:fixed;z-index:26;top:calc((100% - var(--navigation-height,72px)) / 2);right:0;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:44px;height:76px;padding:0;border:0;border-radius:12px 0 0 12px;background:var(--tc-chat-teal);color:var(--tc-chat-paper);box-shadow:-4px 6px 16px #061d2324;cursor:pointer;touch-action:manipulation}
.tc-chat-pull-tab:hover{background:#173f47}
.tc-chat-pull-tab:focus-visible{outline:2px solid #e9b69a;outline-offset:-5px}
.tc-chat-pull-tab[aria-expanded=true]{right:calc(var(--tc-chat-width) + 16px)}
.tc-chat-pull-tab[aria-expanded=true] .tc-chat-pull-chevron{transform:rotate(180deg)}
.tc-chat-pull-chevron{width:17px;height:17px}
.tc-chat{position:fixed;z-index:25;top:16px;right:16px;bottom:calc(var(--navigation-height,72px) + 12px);width:var(--tc-chat-width);display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--tc-chat-paper);color:var(--tc-chat-ink);border-radius:14px;box-shadow:0 12px 44px #061d2330;font:400 15px/1.6 Manrope,sans-serif;isolation:isolate}
.tc-chat[hidden]{display:none}
.tc-chat *{box-sizing:border-box}
.tc-chat::selection,.tc-chat ::selection{background:#dce9e4;color:#173f47}
.tc-chat button,.tc-chat textarea{font-family:Manrope,sans-serif}
.tc-chat button{cursor:pointer}
.tc-chat button:disabled{cursor:default;opacity:.4}
.tc-chat button:focus-visible,.tc-chat a:focus-visible,.tc-chat textarea:focus-visible{outline:2px solid var(--tc-chat-copper);outline-offset:3px}
.tc-chat-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 22px 15px}
.tc-chat-heading{margin:0;font:500 17px/1.3 Manrope,sans-serif;color:var(--tc-chat-teal)}
.tc-chat-header-actions{display:flex;align-items:center;gap:3px}
.tc-chat-quiet-button,.tc-chat-close{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--tc-chat-muted);font-size:12px;line-height:1.3}
.tc-chat-close{width:38px;padding:0;color:var(--tc-chat-teal)}
.tc-chat-quiet-button:hover,.tc-chat-close:hover{background:#1f525c0c;color:var(--tc-chat-teal)}
.tc-chat-context{display:flex;align-items:baseline;gap:10px;min-width:0;margin:0 22px;padding:0 0 17px;border-bottom:1px solid var(--tc-chat-rule);font-size:12px;line-height:1.5;color:var(--tc-chat-muted)}
.tc-chat-context-number{flex:none;color:var(--tc-chat-copper);font-variant-numeric:tabular-nums}
.tc-chat-context-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-chat-reading{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aabdb8 transparent;padding:0 22px 24px;scroll-behavior:smooth}
.tc-chat-reading::-webkit-scrollbar{width:7px}
.tc-chat-reading::-webkit-scrollbar-thumb{background:#aabdb8;border-radius:9px;border:2px solid var(--tc-chat-paper)}
.tc-chat-empty{padding:28px 0 4px}
.tc-chat-empty[hidden]{display:none}
.tc-chat-empty h3{font:200 32px/1.25 Poppins,sans-serif;letter-spacing:-.03em;margin:0 0 12px;max-width:330px;text-wrap:balance;color:var(--tc-chat-ink)}
.tc-chat-empty p{font-size:14px;color:var(--tc-chat-muted);margin:0 0 25px;max-width:320px}
.tc-chat-prompts{display:flex;flex-direction:column;gap:0}
.tc-chat-prompt{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;width:100%;padding:15px 0;border:0;border-top:1px solid var(--tc-chat-rule);border-radius:0;background:transparent;color:var(--tc-chat-teal);font:400 14px/1.55 Manrope,sans-serif}
.tc-chat-prompt:hover{color:var(--tc-chat-copper)}
.tc-chat-prompt .tc-chat-icon{width:16px;height:16px}
.tc-chat-log{display:flex;flex-direction:column;gap:27px;padding-top:23px}
.tc-chat-log:empty{display:none}
.tc-chat-turn{min-width:0}
.tc-chat-user{align-self:flex-end;max-width:92%;background:#e9efeb;padding:12px 15px;border-radius:12px 12px 3px 12px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#23433c}
.tc-chat-answer{padding:0;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.tc-chat-answer p{margin:0 0 12px}
.tc-chat-answer p:last-child{margin-bottom:0}
.tc-chat-answer strong{font-weight:600;color:var(--tc-chat-teal)}
.tc-chat-answer ul,.tc-chat-answer ol{margin:9px 0 15px;padding-left:22px}
.tc-chat-answer li{padding-left:2px;margin:6px 0}
.tc-chat-answer h4{font:500 15px/1.5 Manrope,sans-serif;color:var(--tc-chat-teal);margin:20px 0 7px}
.tc-chat-answer h4:first-child{margin-top:0}
.tc-chart{margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--tc-chat-rule);min-width:0}
.tc-chart-title{font-size:16px;line-height:1.4;font-weight:600;color:var(--tc-chat-teal);text-wrap:balance}
.tc-chart .tc-chart-subtitle{margin:5px 0 18px;font-size:12px;line-height:1.5;color:var(--tc-chat-muted)}
.tc-chart-bars{display:flex;flex-direction:column;gap:17px;margin-bottom:18px}
.tc-chart-bar-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:13px;line-height:1.4}
.tc-chart-bar-label span{min-width:0}.tc-chart-bar-label strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.tc-chart-track{height:12px;background:#edf0ea;border-radius:2px;overflow:hidden}
.tc-chart-fill{display:block;height:100%;background:var(--tc-chat-teal)}
.tc-chart-bar:last-child .tc-chart-fill{background:var(--tc-chat-copper)}
.tc-chart-plot{display:block;width:100%;height:auto;overflow:visible;margin:0 0 14px}
.tc-chart-grid{stroke:var(--tc-chat-rule);stroke-width:1}
.tc-chart-axis{font:400 12px Manrope,sans-serif;fill:var(--tc-chat-muted)}
.tc-chart-point-value{font:600 12px Manrope,sans-serif;fill:var(--tc-chat-teal);font-variant-numeric:tabular-nums}
.tc-chart-line{fill:none;stroke:var(--tc-chat-teal);stroke-width:2}
.tc-chart-dot{fill:var(--tc-chat-teal);stroke:var(--tc-chat-paper);stroke-width:2}
.tc-chart-emphasis{fill:var(--tc-chat-copper)}
.tc-chart .tc-chart-note{margin:0 0 10px;font-size:12px;line-height:1.6;color:var(--tc-chat-muted)}
.tc-chart-details{font-size:12px;color:var(--tc-chat-teal)}
.tc-chart-details summary{cursor:pointer;padding:8px 0;min-height:36px;width:fit-content}
.tc-chart-details summary:hover{color:var(--tc-chat-copper)}
.tc-chart-details summary:focus-visible{outline:2px solid var(--tc-chat-copper);outline-offset:2px}
.tc-chart-table{border-collapse:collapse;width:100%;margin:4px 0 12px;font-size:12px;line-height:1.5;color:var(--tc-chat-ink)}
.tc-chart-table th,.tc-chart-table td{padding:8px 0;border-bottom:1px solid var(--tc-chat-rule);text-align:left;font-weight:400}
.tc-chart-table thead th{color:var(--tc-chat-muted);font-size:11px}
.tc-chart-table th:first-child{padding-right:10px}
.tc-chart-table td,.tc-chart-table th:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tc-chart-source{display:inline-block;padding:5px 0;color:var(--tc-chat-copper);font-size:12px;text-decoration:none}
.tc-chart-source:hover{text-decoration:underline;text-underline-offset:3px}
.tc-chat-sources{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:16px;padding-top:12px;border-top:1px solid var(--tc-chat-rule)}
.tc-chat-source{display:inline-flex;align-items:baseline;gap:6px;min-height:28px;max-width:100%;text-decoration:none;color:var(--tc-chat-copper);font-size:12px;line-height:1.5}
.tc-chat-source:hover{color:#7f462a;text-decoration:underline;text-underline-offset:3px}
.tc-chat-source-number{white-space:nowrap;font-variant-numeric:tabular-nums}
.tc-chat-source-title{min-width:0}
.tc-chat-citation{color:var(--tc-chat-copper);font-size:12px;text-decoration:none;white-space:nowrap;margin-left:2px}
.tc-chat-citation:hover{text-decoration:underline;text-underline-offset:3px}
.tc-chat-web-sources{display:flex;flex-direction:column;gap:11px;margin-top:16px;padding-top:13px;border-top:1px solid var(--tc-chat-rule)}
.tc-chat-web-label{font-size:11px;font-weight:600;color:var(--tc-chat-muted)}
.tc-chat-web-source{display:flex;flex-direction:column;gap:3px;text-decoration:none;font-size:12px;line-height:1.5}
.tc-chat-web-title{color:var(--tc-chat-copper)}
.tc-chat-web-source:hover .tc-chat-web-title{text-decoration:underline;text-underline-offset:3px}
.tc-chat-web-meta{color:var(--tc-chat-muted);font-size:10px}
.tc-chat-pending{display:flex;align-items:center;gap:13px;color:var(--tc-chat-teal);font-size:13px;min-height:38px}
.tc-chat-thinking-mark{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:34px;height:28px;flex:none}
.tc-chat-thinking-bar{width:6px;height:24px;border-radius:2px;background:var(--tc-chat-teal);transform-origin:center;animation:tc-chat-thinking 1.2s ease-in-out infinite;animation-play-state:paused}
.tc-chat-thinking-bar:nth-child(2){background:#40766c;animation-delay:-.8s}
.tc-chat-thinking-bar:nth-child(3){background:var(--tc-chat-copper);animation-delay:-.4s}
body.tc-chat-open:not(.tc-chat-page-hidden) .tc-chat-in-view .tc-chat-thinking-bar{animation-play-state:running}
body:not(.tc-chat-open):not(.tc-chat-page-hidden) .tc-chat-working .tc-chat-icon:first-child{animation:tc-chat-working 1.6s ease-in-out infinite}
.tc-chat-arriving{animation:tc-chat-answer-reveal 380ms cubic-bezier(.16,1,.3,1) both}
.tc-chat-composer{flex:none;padding:14px 22px 18px;border-top:1px solid var(--tc-chat-rule);background:var(--tc-chat-paper)}
.tc-chat-input-wrap{display:flex;align-items:flex-end;gap:10px;padding:10px 10px 10px 14px;border:1px solid #acbab5;border-radius:12px;background:#fffefa}
.tc-chat-input-wrap:focus-within{border-color:var(--tc-chat-teal);box-shadow:0 0 0 1px var(--tc-chat-teal)}
.tc-chat-input{width:100%;min-height:42px;max-height:132px;resize:none;border:0;padding:8px 0;background:transparent;color:var(--tc-chat-ink);font:400 14px/1.6 Manrope,sans-serif;caret-color:var(--tc-chat-copper);scrollbar-width:thin;outline:none!important}
.tc-chat-input::placeholder{color:#696d65;opacity:1}
.tc-chat-send{width:42px;height:42px;flex:none;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--tc-chat-teal);color:white}
.tc-chat-send:hover{background:#173f47}
.tc-chat-send:disabled{background:#d7dfd9;color:#546d64;opacity:1}
.tc-chat-send .tc-chat-icon{width:20px;height:20px}
.tc-chat-composer-note{display:flex;justify-content:space-between;gap:12px;margin:9px 1px 0;color:var(--tc-chat-muted);font-size:11px;line-height:1.4}
.tc-chat-error{margin:0 0 11px;color:#8e432b;font-size:13px;line-height:1.5}
.tc-chat-error[hidden]{display:none}
.tc-chat-sr{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-chat-thinking{0%,100%{transform:scaleY(.35);opacity:.5}50%{transform:scaleY(1);opacity:1}}
@keyframes tc-chat-working{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes tc-chat-answer-reveal{from{clip-path:inset(0 0 100% 0);opacity:.35}to{clip-path:inset(0);opacity:1}}
@media screen and (min-width:1100px){body.tc-chat-open .viewport{right:calc(var(--tc-chat-width) + 32px)}}
@media screen and (max-width:1200px){.tc-chat-launcher-label{display:none}.deck-nav .tc-chat-launcher{width:38px;min-width:38px;padding:0;margin-left:1px}}
@media screen and (max-width:600px){.tc-chat{inset:10px 10px calc(var(--navigation-height,64px) + 9px) 44px;width:auto;border-radius:12px}.tc-chat-pull-tab[aria-expanded=true]{right:calc(100% - 44px)}.tc-chat-header{padding:13px 17px 9px;gap:6px;flex-wrap:wrap}.tc-chat-heading{min-width:0}.tc-chat-header-actions{margin-left:auto}.tc-chat-context{margin:0 17px;padding-bottom:12px}.tc-chat-reading{padding-right:17px;padding-left:17px}.tc-chat-empty{padding-top:23px}.tc-chat-empty h3{font-size:29px}.tc-chat-composer{padding:12px 17px 14px}.tc-chat-composer-note{font-size:10px}.tc-chat-key-hint{display:none}.deck-nav .tc-chat-launcher{min-width:44px;width:44px}}
@media screen and (max-height:600px){.tc-chat{top:8px}.tc-chat-empty{padding-top:16px}.tc-chat-empty h3{font-size:26px}.tc-chat-empty p{margin-bottom:16px}.tc-chat-prompt{padding:10px 0}.tc-chat-header{padding-top:10px;padding-bottom:7px}.tc-chat-context{padding-bottom:10px}}
@media screen and (max-width:380px){.tc-chart-axis,.tc-chart-point-value{font-size:18px}}
@media(prefers-reduced-motion:reduce){.tc-chat-reading{scroll-behavior:auto}.tc-chat-thinking-bar,.tc-chat-arriving,body:not(.tc-chat-open):not(.tc-chat-page-hidden) .tc-chat-working .tc-chat-icon:first-child{animation:none;opacity:1;transform:none;clip-path:none}.tc-chat-thinking-bar:nth-child(1){height:10px}.tc-chat-thinking-bar:nth-child(2){height:17px}}
@media print{.tc-chat,.tc-chat-launcher,.tc-chat-pull-tab{display:none!important}}

/* Studio18: compact nav launcher and website companion. */
.deck-nav .tc-chat-launcher{min-width:44px;min-height:44px;padding:0 10px;border-radius:6px;background:var(--tc-chat-teal);color:var(--tc-chat-paper)}
.tc-chat-floating-launcher{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:24;min-width:44px;min-height:44px;border:0;border-radius:8px;padding:0 16px;background:var(--tc-chat-teal);color:var(--tc-chat-paper);font:500 14px Manrope,sans-serif;box-shadow:0 5px 18px #061d2324}
@media(max-width:760px){.deck-nav .tc-chat-launcher{padding:0;min-width:44px;width:44px;flex-shrink:0}.tc-chat-launcher-label{display:none}.deck-nav{gap:0}.deck-nav #downloads{min-width:38px}.tc-chat-floating-launcher{width:44px;padding:0}}
@media(max-width:600px){.tc-chat-input{font-size:16px}}
@media(max-width:370px){.deck-nav #position{font-size:10px}.deck-nav button{padding:3px}.deck-nav #overview{min-width:49px}.deck-nav #appendix{min-width:49px}}

@media(max-width:370px){.deck-nav #downloads{font-size:0;min-width:36px}.deck-nav #downloads span{font-size:16px}.deck-nav #appendix{max-width:52px;white-space:normal;line-height:1.1}.deck-nav{gap:1px}}
