/* "Respostas que se atualizam em tempo real." (trusted-answers.js).
   Built on the same grid, editorial column and type scale as the
   perspectives section: 31% copy, the stage in the remaining column, every
   window inside the page rails. */
.ta-section, .ta-question-section {
  --ta-ink: #29242f; --ta-muted: #7d6f88; --ta-line: #ddd5e5; --ta-paper: #fdfdfb;
  --ta-violet: #6728d4; --ta-lilac: #ebe6fb; --ta-source-edge: #7950a5;
}
.ta-section img { display: block; }
.ta-section .ta-info, .ta-section .ta-stage { position: relative; z-index: 1; }
/* The note belongs to this column (perspectives hides its own). */
html[data-querio-preview][data-fusion] .ta-section .hx-editorial-note { display: block; }

/* Client icons in place of the section mark; they roll in once. */
.ta-logos { display: flex; margin-bottom: 26px; }
.ta-logos span {
  display: grid; place-items: center; width: 36px; height: 36px; margin-left: -9px;
  border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .8);
  box-shadow: 0 0 0 1px #e4dcef, 0 5px 12px #301a4912; color: var(--ta-ink);
}
.ta-logos span:first-child { margin-left: 0; }
.ta-logos span svg, .ta-logos span img { width: 17px; height: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .ta-logos span { opacity: 0; }
  :is(.ta-section, .ta-question-section).is-revealed .ta-logos span { animation: ta-roll-in .2s cubic-bezier(.34, 1.56, .64, 1) calc(.5s + var(--i) * .125s) both; }
}
@keyframes ta-roll-in { from { opacity: 0; transform: translateX(-24px) rotate(-90deg); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }

/* Stage: the same answer in other clients and, to their right, the Copilot. */
.ta-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 18px; align-items: start; padding-top: 30px; }
.ta-agent { position: relative; display: flex; flex-direction: column; align-self: stretch; min-width: 0; }
.ta-window-title {
  position: absolute; bottom: 100%; left: 12px; padding: 6px 10px 4px;
  border: 1px dashed #b7a6c9; border-bottom: 0;
  background: repeating-linear-gradient(45deg, #fdfdfb 0 6px, #f3eef9 6px 7px);
  color: #4b4256; font: 500 11px/1.2 "DM Mono", monospace;
}
.ta-window {
  display: flex; flex-direction: column; height: 580px;
  border: 1px solid var(--ta-line); border-radius: 6px; background: var(--ta-paper);
  box-shadow: 0 20px 50px #301a4914; overflow: hidden;
}
.ta-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid #ece6f3; font: 500 12px/1.2 Inter, sans-serif; color: var(--ta-ink); }
.ta-brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ta-brand img { width: 18px; height: 18px; }
.ta-brand b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ta-nav nav { display: flex; justify-content: center; gap: 2px; color: var(--ta-muted); }
.ta-nav nav span { padding: 4px 9px; border-radius: 12px; }
.ta-nav nav .is-active { background: var(--ta-lilac); color: var(--ta-violet); }
.ta-nav small { color: var(--ta-muted); font: 400 11px/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.ta-thread { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; overflow: hidden auto; scrollbar-width: thin; color: #3a3343; font: 400 13px/1.6 Inter, sans-serif; }
.ta-thread:focus-visible { outline: 2px solid var(--ta-violet); outline-offset: -2px; }
.ta-thread > p { margin: 0; }
.ta-user { align-self: flex-end; max-width: 82%; padding: 8px 12px; border-radius: 12px 12px 3px 12px; background: linear-gradient(135deg, #f1ebfd, #e7ddfb); color: #2b1a4f; }
.ta-thinking { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; background: #f4f2f6; color: var(--ta-muted); }
.ta-thinking svg { width: 13px; height: 13px; }
.ta-chart { margin: 0; padding: 9px 12px; border: 1px solid #ece6f3; border-radius: 6px; background: #fff; }
.ta-chart figcaption { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--ta-muted); font: 500 12px/1.2 Inter, sans-serif; }
.ta-chart figcaption small { font-size: 11px; }
.ta-bar-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 9px; margin-bottom: 5px; font: 400 11px/1 Inter, sans-serif; color: #4c4458; }
.ta-bar-row > span { text-align: right; }
.ta-bar { display: flex; height: 15px; }
.ta-bar i { display: block; height: 100%; }
.ta-bar i:nth-child(1) { background: #8d79b8; }
.ta-bar i:nth-child(2) { background: #a9b9e4; }
.ta-bar i:nth-child(3) { background: #d6cbee; }
.ta-axis, .ta-legend { display: flex; margin-left: 93px; color: var(--ta-muted); font: 400 11px/1 Inter, sans-serif; }
.ta-axis { justify-content: space-between; margin-top: 7px; }
.ta-legend { gap: 12px; margin-top: 9px; }
.ta-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: #8d79b8; }
.ta-legend span:nth-child(2) i { background: #a9b9e4; }
.ta-legend span:nth-child(3) i { background: #d6cbee; }
.ta-sources { color: var(--ta-muted); font: 400 11px/1.6 "DM Mono", monospace !important; }
.ta-site-note { padding: 9px 11px; border: 1px solid #e6dff0; background: repeating-linear-gradient(-45deg, #fdfdfb 0 7px, #f5f1fa 7px 8px); }
.ta-site-note a { color: var(--ta-violet); }
.ta-prompt { margin: 7px; padding: 7px 11px; border: 1px solid #cdbde6; border-radius: 8px; background: #fff; box-shadow: 0 0 0 3px #f1ebfd; }
.ta-prompt textarea { width: 100%; min-height: 22px; border: 0; resize: none; background: transparent; color: var(--ta-ink); font: 400 13px/1.5 Inter, sans-serif; outline: none; }
.ta-prompt > div { display: flex; align-items: center; gap: 8px; color: var(--ta-muted); font: 400 11px/1 Inter, sans-serif; }
.ta-prompt > div > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #e3dbef; border-radius: 4px; }
.ta-prompt > div small { margin-left: auto; font-size: 11px; }
.ta-prompt button { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #e3dbef; border-radius: 4px; background: #fff; color: var(--ta-ink); cursor: pointer; }
.ta-prompt button svg { width: 13px; height: 13px; }
.ta-prompt textarea:focus-visible { outline: 2px solid var(--ta-violet); outline-offset: 2px; }
.ta-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Other clients */
.ta-tools { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ta-mini { border: 1px solid var(--ta-line); border-radius: 8px; background: var(--ta-paper); box-shadow: 0 12px 30px #301a4910; overflow: hidden; }
.ta-mini header { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid #ece6f3; color: #3d3448; font: 500 11px/1 Inter, sans-serif; }
.ta-mini header > i { width: 7px; height: 7px; border-radius: 50%; background: #e4dcef; }
.ta-mini header b { display: flex; align-items: center; gap: 6px; margin-left: 6px; font-weight: 600; }
.ta-mini header img, .ta-mini header svg { width: 13px; height: 13px; }
.ta-clients { overflow: visible; border: 0; background: none; box-shadow: none; }
.ta-tabs { display: flex; gap: 3px; width: max-content; margin: 0 auto -1px; padding: 1px 3px; border: 1px solid var(--ta-line); border-bottom: 0; border-radius: 7px 7px 0 0; background: #f6f2fa; }
.ta-tabs button { display: flex; align-items: center; gap: 5px; min-height: 24px; padding: 3px 9px; border: 0; border-radius: 5px; background: none; color: var(--ta-muted); font: 500 11px/1 "DM Mono", monospace; cursor: pointer; }
.ta-tabs button img { width: 13px; height: 13px; }
.ta-src.is-current .ta-tabs button[aria-selected="true"] { background: #fff; color: var(--ta-ink); box-shadow: inset 0 0 0 2px var(--ta-source-edge); }
.ta-mini-window { border: 1px solid var(--ta-line); border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px #301a4910; }
.ta-mini-body { padding: 10px 12px 12px; }
.ta-mini-body ul, .ta-mini-body ol { margin: 0 0 9px; padding-left: 17px; }
.ta-mini-body p { margin: 0 0 8px; }

/* Source families: a label, the tool selector, and the window in that tool's look. */
.ta-src { overflow: visible; border: 0; background: none; box-shadow: none; }
.ta-src-head { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.ta-src-head > span { padding: 0 0 7px 2px; color: var(--ta-muted); font: 500 11px/1 "DM Mono", monospace; letter-spacing: .04em; text-transform: uppercase; min-width: 0; line-height: 1.25; }
.ta-src .ta-tabs { margin: 0 8px -1px auto; }
.ta-src .ta-tabs button { padding: 3px 7px; }
.ta-src .ta-tabs { flex: none; }
.ta-src .ta-tabs button { flex: none; }
.ta-src .ta-tabs button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ta-src .ta-tabs img { flex: none; }
.ta-tabs button:focus-visible { outline: 2px solid var(--ta-violet); outline-offset: 1px; }
.ta-skin { font: 400 11px/1.4 Inter, sans-serif; color: #2b2730; background: #fff; }
.ta-skin > header { display: flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 10px; border-bottom: 1px solid #ececec; font: 500 11px/1.2 Inter, sans-serif; }
.ta-skin > header b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ta-skin > header small { margin-left: auto; white-space: nowrap; opacity: .75; font-size: 11px; }
.ta-skin > header img { width: 14px; height: 14px; flex: none; }
.ta-skin table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ta-skin th, .ta-skin td { padding: 1px 6px; text-align: left; white-space: nowrap; }

/* Spreadsheets */
.ta-fx { display: flex; align-items: center; gap: 8px; padding: 2px 8px; border-bottom: 1px solid #e1e1e1; color: #555; }
.ta-fx span { min-width: 22px; color: #333; }
.ta-fx i { font-style: italic; color: #888; }
.ta-fx code { font: 400 11px/1 "DM Mono", monospace; color: #222; }
.ta-grid th, .ta-grid td { border: 1px solid #e3e3e3; }
.ta-grid th { width: 16px; background: #f3f3f3; color: #666; font-weight: 400; text-align: center; }
.ta-grid .ta-grid-cols th { padding: 1px; }
.ta-grid td:nth-child(n+3) { text-align: right; }
.ta-grid td.is-sel { outline: 2px solid currentColor; outline-offset: -2px; }
.ta-sheet-tabs { display: flex; gap: 2px; padding: 3px 8px 4px; background: #f3f3f3; border-top: 1px solid #e1e1e1; }
.ta-sheet-tabs span { padding: 2px 8px; color: #555; }
.ta-sheet-tabs .is-on { background: #fff; font-weight: 600; }
.ta-skin--excel > header { background: #107c41; color: #fff; border-color: #0b5f31; }
.ta-skin--excel { font-family: Calibri, "Segoe UI", Inter, sans-serif; }
.ta-skin--excel .ta-grid td.is-sel { color: #107c41; }
.ta-skin--excel .ta-sheet-tabs .is-on { color: #107c41; box-shadow: inset 0 -2px #107c41; }
.ta-skin--sheets { font-family: Arial, Inter, sans-serif; }
.ta-skin--sheets > header { background: #f9fbfd; }
.ta-skin--sheets > header small { opacity: .6; white-space: pre; }
.ta-skin--sheets .ta-grid th { background: #f8f9fa; }
.ta-skin--sheets .ta-grid td.is-sel { color: #1a73e8; }
.ta-skin--sheets .ta-sheet-tabs { background: #f1f3f4; }
.ta-skin--sheets .ta-sheet-tabs .is-on { color: #188038; box-shadow: inset 0 -2px #188038; }
/* File types have their own marks; the app reads a newly imported snapshot. */
.ta-file-mark { display:inline-grid; place-content:center; width:22px; height:16px; border:1px solid #86a19a; border-radius:2px; color:#235444; background:#f0f6f3; font:600 8px/1 monospace; text-decoration:none; }
.ta-skin--xlsx > header,.ta-skin--csv > header { color:#284b3a; background:#f4f7f3; }

/* Databases: editor with the dialect of each engine, then the result grid. */
.ta-sql { margin: 0; padding: 3px 10px; border-bottom: 1px solid #ececec; font: 400 11px/1.35 "DM Mono", monospace; white-space: pre; overflow: hidden; }
.ta-result th { background: #f5f5f5; color: #555; font: 500 11px/1.2 "DM Mono", monospace; }
.ta-result td { border-top: 1px solid #eee; font: 400 11px/1.2 "DM Mono", monospace; }
.ta-run { padding: 3px 8px; border-radius: 4px; opacity: 1 !important; }
.ta-skin--postgres > header { background: #336791; color: #fff; }
.ta-skin--postgres .ta-run { background: #fff; color: #336791; }
.ta-skin--postgres .ta-sql { color: #1f3b57; }
.ta-skin--mysql > header { background: #00546b; color: #fff; }
.ta-skin--mysql .ta-run { background: #f29111; color: #fff; }
.ta-skin--mysql .ta-sql { background: #fbfbfb; color: #00546b; }
.ta-skin--oracle > header { background: #fcf7f5; color: #764135; border-color: #e2d3ce; }
.ta-skin--oracle .ta-sql { color: #49352f; }
.ta-skin--sqlserver > header { background: #e9eef6; }
.ta-skin--sqlserver .ta-run { background: #fff; color: #107c10; border: 1px solid #c8c8c8; }
.ta-skin--sqlserver .ta-sql { color: #0000c8; }

/* Metrics from the selected account, as presented in each ad platform. */
.ta-ad-report { padding:6px 10px; color:#253345; font:400 11px/1.3 Inter,Arial,sans-serif; font-variant-numeric:tabular-nums; }
.ta-skin .ta-ad-report h3 { margin:0 0 4px; font:600 13px/1.25 Inter,Arial,sans-serif; color:inherit; letter-spacing:0; }
.ta-ad-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.ta-ad-kpis > div { min-width:0; }
.ta-ad-kpis > div > span { display:block; font-size:11px; }
.ta-ad-kpis strong { display:block; font-size:clamp(15px,1.15vw,19px); line-height:1.25; font-weight:600; }
.ta-ad-report .ta-datum { font-weight:inherit; }
.ta-skin--google > header { background:#f3f6fc; color:#263750; }
.ta-search-report .ta-ad-kpis { gap:1px; }
.ta-search-report .ta-ad-kpis > div { padding:4px 8px; background:#eaf1fd; color:#21416f; }
.ta-search-report .ta-ad-kpis > div:first-child { background:#1659b7; color:white; border-radius:4px 0 0 4px; }
.ta-src.is-current .ta-search-report .ta-datum { color:white; background:transparent; outline:none; }
.ta-search-report figure { margin:4px 0 0; }
.ta-search-report svg { display:block; width:100%; height:34px; }
.ta-search-report polyline { fill:none; stroke:#1967d2; stroke-width:2; vector-effect:non-scaling-stroke; }
.ta-search-report circle { fill:#fff; stroke:#1967d2; stroke-width:1.5; }
.ta-search-report .ta-gridline { stroke:#dfe4eb; stroke-width:1; }
.ta-search-report figcaption { display:flex; justify-content:space-between; color:#566270; font-size:10px; }
.ta-skin--meta > header { background:#e9eef6; color:#1c2b38; }
.ta-meta-report { background:#f6f8fa; }
.ta-meta-levels { display:flex; gap:9px; margin-bottom:4px; border-bottom:1px solid #d4dde7; }
.ta-meta-levels > * { padding:0 2px 4px; }
.ta-meta-levels b { color:#155da0; border-bottom:2px solid #1877f2; }
.ta-meta-report table { background:#fff; font-size:11px; }
.ta-meta-report :is(th,td) { border-bottom:1px solid #e0e6ec; padding:2px 3px; }
.ta-meta-report :is(th,td):not(:first-child) { text-align:right; }
.ta-meta-report tbody th { font-weight:500; color:#24476a; }
.ta-meta-report tbody i { display:inline-block; width:5px; height:5px; margin-right:4px; border-radius:50%; background:#178553; vertical-align:middle; }
.ta-meta-report tfoot { background:#f3f6f9; font-weight:600; }
.ta-skin--tiktok > header { background:#17171b; color:#fff; border-color:#17171b; }
.ta-skin--tiktok > header img { border-radius:3px; padding:1px; background:#fff; }
.ta-video-report .ta-ad-kpis { padding-left:7px; border-left:3px solid #19b8ad; }
.ta-video-report dl,.ta-linkedin-report dl { margin:8px 0 0; }
.ta-video-report dl > div { display:grid; grid-template-columns:52px 1fr 52px; gap:5px; align-items:center; margin-top:2px; }
.ta-video-report dd,.ta-linkedin-report dd { margin:0; }
.ta-video-report dd:nth-child(2) { height:7px; border-radius:2px; background:#edf1f2; }
.ta-video-report dd:last-child { text-align:right; }
.ta-video-report dd i { display:block; height:100%; border-radius:2px; background:#008e87; }
.ta-video-report dl > div:nth-child(2) i { background:#257a89; }
.ta-video-report dl > div:last-child i { background:#a33564; }
.ta-skin--linkedin > header { background:#edf3f8; color:#24455f; }
.ta-linkedin-report h3 { border-left:3px solid #0a66c2; padding-left:6px; }
.ta-linkedin-report p { margin:-4px 0 8px; color:#495967; font-size:11px; }
.ta-linkedin-report .ta-ad-kpis > div + div { padding-left:8px; border-left:1px solid #d6e2ed; }
.ta-linkedin-report dl { display:flex; gap:16px; border-top:1px solid #dbe4ec; padding-top:6px; }
.ta-linkedin-report dl > div { display:flex; gap:5px; }
.ta-linkedin-report dd { font-weight:600; }

/* Payment platforms */
.ta-pay-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px 10px; }
.ta-pay-sum p { margin: 0; }
.ta-pay-sum small { display: block; color: #6b6b6b; font-size: 11px; }
.ta-pay-sum b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ta-pay-feed { margin: 0; padding: 0 10px 8px; list-style: none; }
.ta-pay-feed li { display: grid; grid-template-columns: 1fr auto 40px; gap: 8px; padding: 4px 0; border-top: 1px solid #eee; }
.ta-pay-feed b { font-weight: 600; color: #127a3f; font-variant-numeric: tabular-nums; }
.ta-pay-feed small { color: #888; text-align: right; font-size: 11px; }
.ta-skin--hotmart > header { background:#fff2ed; color:#992e13; }
.ta-skin--hotmart .ta-pay-sum p:last-child b { color:#a63716; }
.ta-skin--stripe { font-family: "Söhne", -apple-system, Inter, sans-serif; }
.ta-skin--stripe > header { color: #635bff; }
.ta-skin--stripe .ta-pay-feed b { color: #635bff; }
.ta-skin--kiwify > header { background:#ecf8ef; color:#1b5e39; }
.ta-skin--eduzz > header { background:#fffae5; color:#51401b; }

/* The answer marks the source it was refreshed from. */
.ta-sources span { color: var(--ta-ink); }
.ta-live { display: flex; align-items: center; gap: 7px; color: #2f7a55; font: 500 11px/1.4 "DM Mono", monospace; }
.ta-live i { width: 7px; height: 7px; border-radius: 50%; background: #2fb36f; box-shadow: 0 0 0 3px #2fb36f26; }
/* Follow one update from the source value to the recalculated margin. */
@media (prefers-reduced-motion: no-preference) {
  .ta-src.is-current .ta-datum[data-direction] {
    --amount-travel:100%;
    display:inline-grid; vertical-align:bottom; overflow:hidden;
    background:#62438b; color:white; outline:2px solid #62438b;
    box-shadow:0 0 0 4px #d9cbea;
  }
  .ta-src.is-current .ta-datum[data-direction="down"] { --amount-travel:-100%; }
  .ta-datum[data-direction] > span { grid-area:1 / 1; white-space:nowrap; }
  .ta-datum[data-direction] > [aria-hidden] { animation:ta-amount-out .42s ease-in both; }
  .ta-datum[data-direction] > :last-child { animation:ta-amount-in .54s cubic-bezier(.22,.68,.2,1) both; }
  .ta-chart[aria-busy="false"] .ta-bar-row.is-current {
    animation: ta-result-change 1.4s ease-out;
  }
}
@keyframes ta-amount-out { to { transform:translateY(calc(0% - var(--amount-travel))); opacity:0; } }
@keyframes ta-amount-in { from { transform:translateY(var(--amount-travel)); opacity:0; } }
@keyframes ta-result-change {
  0%, 45% { background-color: var(--ta-lilac); box-shadow: inset 2px 0 #8056b0; }
  100% { background-color: transparent; box-shadow: inset 2px 0 transparent; }
}

.ta-info h2 > span { display:block; }
.ta-stage {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.22fr);
  column-gap:clamp(44px,5.4vw,100px);
}
.ta-tools,.ta-agent { position:relative; }
.ta-stage > .ta-wires { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; z-index:1; }
.ta-wires use { fill:none; stroke-linejoin:round; stroke-linecap:round; }
.ta-wire { stroke:#b6a5c3; stroke-width:1; marker-start:url(#ta-wire-port); marker-end:url(#ta-wire-port); }
.ta-wires marker rect { fill:var(--ta-paper); stroke:#9d83b1; }
.ta-wires #ta-wire-origin rect { fill:var(--ta-source-edge); stroke:var(--ta-paper); }
.ta-wire-current { stroke:var(--ta-source-edge); stroke-width:2; marker-start:url(#ta-wire-origin); }
.ta-wire-signal { stroke:var(--ta-violet); stroke-width:2; stroke-dasharray:14 100; stroke-dashoffset:14; }
@media (prefers-reduced-motion:reduce) { .ta-wire-signal { display:none; } }
.ta-src .ta-mini-window { border-width:2px; }
.ta-src .ta-tabs {
  position:relative; z-index:1; border-width:2px 2px 0; margin-bottom:-2px;
}
.ta-src.is-current :is(.ta-mini-window, .ta-tabs) { border-color:var(--ta-source-edge); }
.ta-datum { font-variant-numeric:tabular-nums; }
.ta-src.is-current .ta-datum { color:#50326f; background:var(--ta-lilac); outline:2px solid var(--ta-lilac); border-radius:1px; }
.ta-chart { position:relative; overflow:hidden; flex-shrink:0; }
.ta-progress { position:absolute; inset:0 0 auto; height:2px; overflow:hidden; pointer-events:none; }
.ta-progress[hidden] { display:none; }
.ta-progress span { display:block; width:40%; height:100%; background:#3b82f6; }
@media (prefers-reduced-motion:no-preference) {
  .ta-progress span { animation:ta-query-shimmer 1s ease-in-out infinite; }
  .ta-bar i { transition:width .26s ease-out; }
}
@keyframes ta-query-shimmer { from {transform:translateX(-100%)} to {transform:translateX(350%)} }
.ta-chart figcaption { color:#443a50; align-items:baseline; }
.ta-chart figcaption small { color:#766a80; }
.ta-chart .ta-bar-row { grid-template-columns:minmax(66px,81px) minmax(0,1fr) 42px; gap:7px; }
.ta-bar-row > b { text-align:right; font-variant-numeric:tabular-nums; font-size:11px; color:#594b68; }
.ta-bar-row.is-current > span,.ta-bar-row.is-current > b { color:#654080; font-weight:700; }
.ta-axis { margin-left:88px; margin-right:49px; }
.ta-legend { margin-left:0; justify-content:center; }
.ta-explanation { font-variant-numeric:tabular-nums; padding:9px 11px; background:#f1eef5; border-left:2px solid #9279ac; }
.ta-live { min-height:1.5em; }
.ta-family-picker { gap:6px; flex-wrap:wrap; }
.ta-family-picker button { color:#4d425a; background:#fcfbfd; border:1px solid #d9d0e1; border-radius:4px; min-height:34px; padding:5px 9px; font:500 12px/1.25 Inter,sans-serif; cursor:pointer; }
.ta-family-picker button:focus-visible { outline:2px solid #385e99; outline-offset:2px; }
.ta-family-picker { display:none; }
.ta-family-picker button[aria-pressed=true] { background:#273453; color:white; border-color:#273453; }
.ta-tools .ta-src-head { flex-wrap:wrap; align-content:flex-end; gap:0 4px; }
.ta-src-head > span { color:#5e516b; }
.ta-skin th,.ta-skin td { padding-inline:5px; }
.ta-pay-sum { gap:4px; }
.ta-mini-window { background:#fff; }
/* Only the icon the animation is reading keeps the white highlight (rule on
   .ta-tabs button above); every window keeps its own background. */
.ta-src:not(.is-current) .ta-datum { font-weight:inherit; }
.ta-skin { min-height:100%; }
.ta-src[data-ta-family=sheet] .ta-mini-window { display:grid; min-height:138px; }
.ta-skin--xlsx, .ta-skin--csv { display:grid; grid-template-rows:auto 1fr; }
.ta-file-table { table-layout:fixed; }
.ta-file-table :is(td, th) { width:auto; text-align:right; }
.ta-file-table :is(td, th):first-child { text-align:left; }
.ta-src[data-ta-family=db] .ta-mini-window { min-height:124px; }
.ta-src[data-ta-family=ads] .ta-mini-window { min-height:164px; }
.ta-src[data-ta-family=pay] .ta-mini-window { min-height:68px; }
/* The live-answer section uses the standard editorial grid (hx-perspectives). */
@media (min-width:800px) and (max-width:1179px) {
  html[data-querio-preview][data-fusion] .hx-perspectives.ta-section { grid-template-columns:1fr; }
  .ta-info { padding-top:0; }
}
@media (min-width:800px) {
  /* Stretch only vertically. The source stack sets the shared row height. */
  .ta-agent { align-self:stretch; min-height:0; contain:size; }
  .ta-window { flex:1; height:auto; min-height:0; }
  .ta-nav, .ta-prompt { flex:none; }
  .ta-thread { min-height:0; }
}
@media (max-width:799px) {
  html[data-querio-preview][data-fusion] .hx-perspectives.ta-section { grid-template-columns:minmax(0,1fr); }
  .ta-stage { grid-template-columns:minmax(0,1fr); gap:46px; padding-top:0; }
  .ta-family-picker { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; }
  .ta-family-picker button { white-space:normal; padding-inline:2px; min-height:36px; }
  .ta-tools { display:grid; gap:9px; }
  .ta-src:not(.is-current) { display:none; }
  .ta-src .ta-tabs button { min-height:28px; }
  .ta-src .ta-mini-window { height:164px; }
  .ta-window { height:auto; min-height:0; }
  .ta-thread { flex:none; max-height:420px; min-height:0; }
  .ta-nav { grid-template-columns:1fr auto; }
  .ta-nav small { grid-column:1/-1; grid-row:2; font-size:10px; }
  .ta-nav nav span { padding-inline:4px; }
  .ta-chart .ta-bar-row { grid-template-columns:70px minmax(0,1fr) 38px; gap:4px; }
  .ta-axis { margin-left:74px; margin-right:42px; }
  .ta-window-title { left:5px; }
}
/* Size the requested two-line heading to its actual column. */
.ta-section .ta-info { container-type:inline-size; }
.ta-info #ta-title span { display:block; }
@media (max-width:370px) {
  .ta-family-picker { grid-template-columns:1fr 1fr .9fr 1.24fr; }
  .ta-family-picker button { min-width:0; padding-inline:0; font-size:11px; }
}

/* Two independent chapters: question to sources, then sources to the Studio. */
/* Same editorial grid as the perspectives and live-answer sections: the copy
   column on the left (hx-perspectives), the illustration in the stage column. */
.ta-question-section .ta-info { position:relative; z-index:1; }
:is(#ta-question-title, #ta-studio-title, #ta-evals-title) span { display:block; }
.ta-question-section .ta-question-demo { align-self:center; }
.ta-question-demo { position:relative; z-index:1; min-width:0; container:question-flow / inline-size; }
.ta-question-scroll {
  overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#bcadca transparent;
}
.ta-question-diagram {
  position:relative; isolation:isolate; display:grid; align-items:center; width:min(100%,950px); min-width:514px; margin:auto;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  column-gap:clamp(50px,8cqi,126px); padding:18px 5px 21px; color:var(--ta-ink);
}
.ta-question-form, .ta-question-sources li {
  position:relative; margin:0; background:var(--ta-paper); border:1px solid #c7b8d4;
}
.ta-question-form {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px;
  padding:clamp(14px,1.8cqi,24px); border-radius:9px 9px 3px 9px;
  box-shadow:0 0 0 3px #eee8f3, 0 8px 20px #3524420c;
}
.ta-question-form label {
  color:#695977; font:400 11px/1.5 'DM Mono',monospace;
}
.ta-question-form label { grid-column:1/-1; }
.ta-question-field { position:relative; }
.ta-question-field textarea, .ta-question-typing {
  display:block; box-sizing:border-box; width:100%; margin:0; padding:0; color:var(--ta-ink);
  font:550 clamp(17px,1.65cqi,25px)/1.24 'Bricolage Grotesque',Inter,sans-serif; letter-spacing:-.025em;
}
.ta-question-field textarea { border:0; resize:none; background:transparent; }
.ta-question-typing { position:absolute; inset:0; display:none; pointer-events:none; white-space:pre-wrap; }
[data-phase=typing] .ta-question-field textarea { opacity:0; }
[data-phase=typing] .ta-question-typing { display:block; }
.ta-question-typing::after { content:''; display:inline-block; width:2px; height:.85em; margin-left:2px; background:var(--ta-source-edge); }
.ta-question-form button {
  display:grid; place-items:center; width:40px; height:40px; padding:0; align-self:end;
  border:1px solid #aa92bf; border-radius:6px; background:var(--ta-lilac); color:#573775; cursor:pointer;
}
.ta-question-form button:disabled { opacity:.5; cursor:default; }
.ta-question-form button svg { width:19px; height:19px; }
.ta-question-scroll:focus-visible, .ta-question-demo :is(button,textarea):focus-visible { outline:2px solid var(--ta-source-edge); outline-offset:-2px; }
.ta-question-sources { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.ta-question-sources li {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 10px;
  padding:10px clamp(10px,1.1cqi,17px); border-radius:5px;
}
.ta-question-sources li strong, .ta-question-sources li small { display:block; }
.ta-question-sources li strong { font:600 14px/1.25 Inter,sans-serif; }
.ta-question-sources li small { margin-top:3px; font:400 11px/1.3 Inter,sans-serif; color:#6b5e74; }
.ta-question-wires { position:absolute; inset:0; z-index:1; width:100%; height:100%; pointer-events:none; fill:none; stroke-linecap:round; }
.ta-question-pulse { opacity:0; stroke:var(--ta-violet); stroke-width:2; stroke-dasharray:22 100; }
.ta-question-nav button { color:#63467c; font:500 12px/1.3 Inter,sans-serif; background:transparent; border:0; cursor:pointer; }
.ta-question-nav { display:none; gap:8px; align-items:center; justify-content:center; margin-top:6px; }
@keyframes ta-question-send {
  0% { opacity:0; stroke-dashoffset:22; } 12%,90% { opacity:1; } 100% { opacity:0; stroke-dashoffset:-100; }
}
@keyframes ta-question-arrives {
  from { border-color:#c7b8d4; } to { border-color:var(--ta-source-edge); background:#f2edf7; }
}
@container question-flow (max-width:513px) {
  .ta-question-nav { display:flex; }
}
.ta-question-nav button[aria-current=step] { color:#462264; border-color:var(--ta-source-edge); font-weight:650; }
.ta-question-nav button { min-height:36px; padding-inline:10px; border-bottom:1px solid var(--ta-line); }
@container question-flow (max-width:480px) {
  .ta-question-diagram { width:max(514px, 160cqi); }
  .ta-question-form button { width:44px; height:44px; }
}

/* The Studio stage keeps the Knowledge navigation and the light-on-dark graph together. */
.ta-studio-diagram {
  position:relative; isolation:isolate; display:grid; align-items:center; min-width:700px;
  grid-template-columns:minmax(156px,.31fr) minmax(0,1fr);
  gap:clamp(38px,5cqi,90px); padding:12px 4px 18px;
}
.ta-studio-records { gap:10px; }
.ta-studio-records li { flex-wrap:nowrap; justify-content:flex-start; gap:10px; min-height:54px; }
.ta-studio-records img { flex:none; width:22px; height:22px; object-fit:contain; }
.ta-studio-window {
  position:relative; min-width:0; overflow:hidden; border:1px solid #393746; border-radius:9px;
  background:#191a22; color:#ecebf3; box-shadow:0 10px 22px #35244215; font:400 13px/1.45 Inter,sans-serif;
  container:studio-window / inline-size;
}
.ta-studio-window > header, .ta-studio-window > footer { display:flex; align-items:center; gap:8px; padding:10px 14px; background:#1e1e28; }
.ta-studio-window > header { border-bottom:1px solid #343440; }
.ta-studio-window > header img { width:20px; height:20px; }
.ta-studio-window > header strong { font:600 14px/1.3 Inter,sans-serif; }
.ta-studio-window > header small, .ta-studio-window > footer small, .ta-map-title small {
  color:#b3afc0; font:400 10px/1.4 'DM Mono',monospace;
}
.ta-studio-window > header small { margin-left:auto; }
.ta-studio-workspace { display:grid; grid-template-columns:clamp(158px,25cqi,210px) minmax(0,1fr); }
.ta-knowledge { position:relative; z-index:2; background:#191a22; padding:12px 7px; border-right:1px solid #363441; }
.ta-knowledge > span, .ta-knowledge > button {
  display:block; margin:0 0 7px; padding:3px 6px; font:650 10px/1.3 Inter,sans-serif; text-transform:uppercase; letter-spacing:.065em; color:#b5b4c5;
}
.ta-knowledge > button { display:none; border:0; background:none; }
.ta-knowledge ul { list-style:none; padding:0; margin:0; color:#e8e7ef; }
.ta-knowledge li { display:flex; align-items:center; gap:8px; padding:6px; font:500 12px/1.2 Inter,sans-serif; border-radius:4px; }
.ta-knowledge li.is-active { color:#ece6ff; background:#333043; }
.ta-knowledge li svg { width:14px; height:14px; flex:none; stroke:currentColor; fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.45; }
.ta-map { min-width:0; display:flex; flex-direction:column; background:#20212b radial-gradient(#454451 .8px,transparent .95px) 0 0/15px 15px; }
.ta-map-title { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:2px 12px; padding:13px 16px 0; }
.ta-map-title strong { font:550 14px/1.3 Inter,sans-serif; }
.ta-map-canvas { position:relative; flex:1; min-height:244px; margin:4px 7px 10px; }
.ta-map-canvas > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; fill:none; stroke:#a491c9; stroke-width:1.5; }
.ta-map-canvas path { vector-effect:non-scaling-stroke; }
.ta-map-node, .ta-map-hub { position:absolute; transform:translate(-50%,-50%); }
.ta-map-node {
  display:grid; grid-template-columns:auto auto; align-items:center; gap:3px 7px; padding:7px 10px;
  border:1px solid #5d596c; border-radius:6px; background:#2b2b36; color:#f0edf6;
}
.ta-map-node img { width:15px; height:15px; object-fit:contain; }
.ta-map-node b { font:550 13px/1.2 Inter,sans-serif; }
.ta-map-node small { grid-column:1/-1; color:#cecad9; font:400 11px/1.3 'DM Mono',monospace; white-space:nowrap; }
.ta-map-node.node-sheet { left:21%; top:22%; } .ta-map-node.node-db { left:79%; top:22%; }
.ta-map-node.node-ads { left:21%; top:78%; } .ta-map-node.node-pay { left:79%; top:78%; }
.ta-map-hub {
  left:50%; top:50%; display:grid; place-content:center; text-align:center; width:86px; height:86px; border-radius:50%;
  border:1px solid #c4a8f3; box-shadow:0 0 0 5px #ac85dc1c; background:#41374f; color:#f5efff;
}
.ta-map-hub small { font:500 11px/1.5 Inter,sans-serif; }
.ta-map-hub b { font:600 22px/1.15 'Bricolage Grotesque',Inter,sans-serif; }
.ta-studio-window > footer { justify-content:space-between; padding-block:3px; border-top:1px solid #343440; }
.ta-studio-play { border:0; background:transparent; color:#dfceff; cursor:pointer; padding:7px 0; font:500 12px/1.3 Inter,sans-serif; }
.ta-studio-window :is(.ta-studio-play,.ta-knowledge button):focus-visible { outline:2px solid #d6c1ff; outline-offset:-1px; }
@media (prefers-reduced-motion:no-preference) {
  .ta-studio-diagram[data-phase=waiting] :is(.ta-map-node,.ta-map-hub,.ta-map-canvas path) { opacity:0; }
  [data-phase=drawing] .ta-question-pulse { animation:ta-question-send .85s ease-in-out calc(var(--order) * .9s) both; }
  [data-phase=drawing] .ta-studio-records li { animation:ta-question-arrives .7s ease calc(var(--order) * .9s) both; }
  [data-phase=drawing] .ta-map-node { animation:ta-node-arrives .4s ease-out calc(.85s + var(--order) * .9s) both; }
  [data-phase=drawing] .ta-map-canvas path { vector-effect:none; stroke-width:.36; stroke-dasharray:100 101; animation:ta-relation-draw .7s ease calc(1s + var(--order) * .9s) both; }
  [data-phase=drawing] .ta-map-hub { animation:ta-hub-arrives .55s ease-out 4.8s both; }
}
@keyframes ta-node-arrives { from { opacity:0; translate:0 4px; } to { opacity:1; translate:0; } }
@keyframes ta-relation-draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes ta-hub-arrives { from { opacity:0; } to { opacity:1; } }
@container question-flow (min-width:515px) and (max-width:739px) {
  .ta-studio-demo .ta-question-nav { display:flex; }
}
@container question-flow (max-width:514px) {
  .ta-studio-diagram { min-width:0; width:calc(166cqi + 44px); grid-template-columns:66cqi minmax(0,1fr); gap:36px; }
}
@container studio-window (max-width:400px) {
  .ta-studio-workspace { position:relative; display:flex; flex-direction:column; }
  .ta-knowledge { border-right:0; border-bottom:1px solid #343440; padding:0; }
  .ta-knowledge > span { display:none; }
  .ta-knowledge > button { width:100%; display:flex; justify-content:space-between; align-items:center; padding:7px 12px; min-height:34px; margin:0; cursor:pointer; }
  .ta-knowledge > button i { font:400 16px/1 Inter,sans-serif; }
  .ta-knowledge > button[aria-expanded=true] i { transform:rotate(180deg); }
  .ta-knowledge ul { display:none; position:absolute; top:100%; left:0; width:min(230px,100%); padding:6px; max-height:252px; overflow:auto; background:#191a22; box-shadow:4px 6px 18px #0004; }
  .ta-knowledge button[aria-expanded=true] + ul { display:block; }
  .ta-map-title { padding:12px 10px 0; }
  .ta-map-canvas { min-height:235px; margin-inline:4px; }
  .ta-map-hub { width:65px; height:65px; }
  .ta-map-hub b { font-size:19px; }
  .ta-map-node { gap:2px 4px; padding:5px 6px; }
  .ta-map-node b { font-size:12px; }
  .ta-map-node small { font-size:10px; }
}

/* Four source records, each in the format used to verify the October close. */
.ta-question-form label { display:flex; align-items:center; gap:7px; }
.ta-question-form label img { width:20px; height:20px; }
.ta-question-form label small { margin-left:auto; font:inherit; }
.ta-question-ledger { grid-column:1/-1; border-top:1px dashed #d5c9df; margin-top:4px; padding-top:12px; }
.ta-question-ledger > div { display:flex; align-items:baseline; justify-content:space-between; color:#554462; font:550 12px/1.4 Inter,sans-serif; }
.ta-question-ledger .ta-read-count { font:500 12px/1.4 'DM Mono',monospace; font-variant-numeric:tabular-nums; }
.ta-question-receipts { display:grid; gap:6px; margin:9px 0 0; padding:0; list-style:none; }
.ta-question-receipts li { display:flex; align-items:center; gap:7px; color:#65596c; font:400 11px/1.35 'DM Mono',monospace; }
.ta-question-receipts i { width:11px; height:11px; border:1px solid #b4a8bd; border-radius:3px; }
.ta-question-receipts .is-read i { background:#75508b; border-color:#75508b; color:white; display:grid; place-content:center; }
.ta-question-receipts .is-read i::after { content:'✓'; font:600 9px/1 Inter,sans-serif; }
.ta-question-diagram { width:min(100%,1110px); grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); }
.ta-question-sources .ta-evidence { display:block; min-width:0; padding:0; overflow:hidden; }
.ta-evidence-select {
  display:flex; align-items:center; gap:7px; width:100%; padding:5px 10px; min-height:32px;
  border:0; border-bottom:1px solid #ded9e3; color:#302936; background:#f4f1f6; cursor:pointer; text-align:left;
}
.ta-evidence-select img { width:16px; height:16px; object-fit:contain; }
.ta-evidence-select small { margin-left:auto; text-align:right; }
.ta-question-sources .ta-evidence.is-current { border-color:var(--ta-source-edge); box-shadow:0 0 0 1px var(--ta-source-edge); }
.ta-evidence-sheet .ta-evidence-select { background:#eaf1ea; }
.ta-evidence-db .ta-evidence-select { background:#e7edf5; }
.ta-evidence-ads .ta-evidence-select { background:#ecf1fa; }
.ta-evidence-pay .ta-evidence-select { background:#faf0e9; }
.ta-evidence-record { background:#fff; font:400 12px/1.4 Inter,sans-serif; color:#39323e; }
table.ta-evidence-sheet { width:100%; border-collapse:collapse; font:inherit; }
table.ta-evidence-sheet :is(th,td) { padding:2px 9px; text-align:left; border-right:1px solid #e6e5e8; border-bottom:1px solid #edecef; }
table.ta-evidence-sheet thead, table.ta-evidence-sheet tbody th { background:#f3f5f3; color:#5c675f; font-weight:500; }
table.ta-evidence-sheet :is(th,td):last-child { text-align:right; }
table.ta-evidence-sheet mark { background:#e1eee4; color:#275a3b; padding:0 3px; font-weight:600; }
.ta-evidence-query code { display:block; padding:5px 10px; background:#f8fafd; font:400 11px/1.4 'DM Mono',monospace; }
.ta-evidence-query code b { color:#3b6387; }
.ta-evidence-query > div { display:flex; justify-content:space-between; padding:3px 10px; border-top:1px solid #e3e6ed; }
.ta-evidence-spend { display:grid; gap:6px; padding:8px 10px; }
.ta-evidence-spend > div { display:grid; grid-template-columns:48px minmax(0,1fr) 76px; gap:8px; align-items:center; }
.ta-evidence-spend i { height:7px; border-radius:1px; background:linear-gradient(90deg,#92a7cb var(--share),#eef1f7 var(--share)); }
.ta-evidence-spend > div:last-child i { background:#556fa7; }
.ta-evidence-spend strong { text-align:right; }
.ta-evidence-payout { margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.ta-evidence-payout div { min-width:0; padding:6px 8px 8px; border-right:1px solid #ece4dd; }
.ta-evidence-payout dt { color:#715e52; }
.ta-evidence-payout dd { margin:2px 0 0; font-weight:600; }
.ta-question-receipts li.is-current { color:#57336f; font-weight:600; }
.ta-question-wires .ta-wire.is-current { stroke:var(--ta-source-edge); stroke-width:2; }
.ta-evidence.is-current.is-read table mark { box-shadow:0 0 0 1px #467e55; }
.ta-evidence-db.is-current.is-read .ta-evidence-query > div { background:#edf2fa; }
.ta-evidence-ads.is-current.is-read .ta-evidence-spend > div:last-child strong { color:#3d5589; }
.ta-evidence-pay.is-current.is-read .ta-evidence-payout div:nth-child(2) { background:#f7e8df; }
.ta-map-ratio { font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion:no-preference) {
  .ta-question-diagram[data-phase=sources] .ta-question-pulse.is-current { animation:ta-question-send .7s ease-out both; }
}
@container question-flow (max-width:513px) {
  .ta-question-diagram { width:calc(185cqi + 48px); min-width:0; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); column-gap:38px; }
  .ta-evidence-spend > div { grid-template-columns:43px minmax(0,1fr) 69px; gap:5px; }
  .ta-evidence-payout div { padding-inline:5px; }
}

/* Inspect the same evidence from the graph, its table, or the close history. */
.ta-studio-records li { padding:0; }
.ta-studio-records button { display:flex; width:100%; align-items:center; gap:10px; padding:10px; min-height:54px; text-align:left; color:var(--ta-ink); background:transparent; border:0; border-radius:4px; cursor:pointer; }
.ta-studio-records button[aria-pressed=true] { background:#f1eaf8; box-shadow:inset 0 0 0 2px var(--ta-source-edge); }
.ta-knowledge li:has([data-view]) { padding:0; }
.ta-knowledge li button {
  display:flex; align-items:center; gap:8px; width:100%; min-height:28px; padding:6px; text-align:left;
  border:0; border-radius:4px; color:#f2eef7; background:transparent; cursor:pointer; font:inherit;
}
.ta-knowledge li button:hover { background:#353240; }
.ta-knowledge li:not(:has(button)) { color:#b5b3c0; }
.ta-map { min-height:386px; }
.ta-map-title { margin-bottom:3px; }
.ta-map [data-pane] { flex:1; min-width:0; display:flex; flex-direction:column; }
.ta-map [data-pane][hidden] { display:none; }
.ta-map-node, .ta-map-hub { font-family:inherit; cursor:pointer; text-align:left; }
.ta-map-node[aria-pressed=true] { background:#41364e; border-color:#c8a3ee; box-shadow:0 0 0 2px #b38acf2c; }
.ta-map-canvas path.is-selected { stroke:#e2c4ff; stroke-width:2.5; }
.ta-map-hub { text-align:center; }
.ta-map-hub[aria-pressed=false] { box-shadow:none; border-color:#a991bd; }
.ta-map-inspector, .ta-history-delta {
  background:#282833; border-top:1px solid #44404e; padding:10px 14px; color:#d9d4e1;
}
.ta-map-inspector { min-height:102px; }
.ta-map-inspector small,.ta-map-inspector strong { display:block; }
.ta-map-inspector small,.ta-studio-history small { color:#c2b2d2; font:400 11px/1.4 'DM Mono',monospace; }
.ta-map-inspector strong { margin:3px 0; font:550 15px/1.3 Inter,sans-serif; color:#faf7ff; }
.ta-map-inspector p,.ta-history-delta,.ta-studio-history p { margin:3px 0; font:400 12px/1.45 Inter,sans-serif; }
.ta-map [data-pane=table], .ta-map [data-pane=history] { padding:10px; }
.ta-studio-table { width:100%; border-collapse:collapse; background:#252531; font:400 12px/1.4 Inter,sans-serif; }
.ta-studio-table :is(th,td) { padding:9px 6px; text-align:left; border-bottom:1px solid #484454; }
.ta-studio-table th { font-weight:500; color:#c2b8cd; }
.ta-studio-table td:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.ta-studio-table button { padding:3px 0; border:0; background:transparent; color:#e0c4fc; font:inherit; cursor:pointer; text-align:left; }
.ta-studio-history { list-style:none; padding:0; margin:0; }
.ta-studio-history li { padding:12px; border-left:2px solid #82718e; background:#252531; }
.ta-studio-history li+li { margin-top:6px; border-color:#c5a2e2; }
.ta-studio-history li > div { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.ta-studio-history b { color:#ddc1f3; font-size:18px; }
.ta-history-delta { margin-top:10px; }
.ta-studio-window :is(.ta-map-node,.ta-map-hub,.ta-knowledge li button,.ta-studio-table button):focus-visible { outline:2px solid #eedbff; outline-offset:-2px; }
@container studio-window (max-width:485px) {
  .ta-map-inspector { min-height:120px; padding:8px 10px; }
  .ta-map-inspector strong { font-size:13px; }
  .ta-map [data-pane=table] { padding:5px; }
  .ta-studio-table :is(td,th) { padding:7px 4px; overflow-wrap:anywhere; }
}

/* Phones: the question and the Studio stack top to bottom instead of
   scrolling sideways inside the illustration; the wires step aside. */
@media (max-width:700px) {
  .ta-question-section .ta-question-scroll { overflow:visible; }
  .ta-question-section :is(.ta-question-diagram, .ta-studio-diagram) {
    grid-template-columns:minmax(0,1fr); width:100%; min-width:0; row-gap:14px; padding-inline:0;
  }
  .ta-question-section .ta-question-wires, .ta-question-section .ta-question-nav { display:none !important; }
  .ta-studio-records { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ta-studio-records li { min-height:0; }
}

/* Question section: the Copilot window asks, the same source windows as the
   live-answer section are read one by one (trusted-answers.js). */
.ta-question-section .ta-question-diagram { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); column-gap:clamp(40px,6cqi,84px); }
.ta-qagent { position:relative; min-width:0; padding-top:26px; }
.ta-qagent .ta-window-title { bottom:auto; top:0; }
.ta-question-section .ta-qagent .ta-window { height:440px; min-height:0; flex:none; }
.ta-qthread { justify-content:flex-start; }
.ta-qempty { margin:auto 0 !important; align-self:center; color:var(--ta-muted); font:500 15px/1.4 'Bricolage Grotesque',Inter,sans-serif; }
.ta-consult { position:relative; overflow:hidden; padding:10px 12px 11px; border:1px solid #ece6f3; border-radius:6px; background:#fff; }
.ta-consult .ta-progress { position:absolute; inset:0 0 auto; }
.ta-consult-title { display:flex; justify-content:space-between; margin:0 0 7px; color:#443a50; font:500 12px/1.3 Inter,sans-serif; }
.ta-consult-title b { color:var(--ta-muted); font:400 11px/1.3 'DM Mono',monospace; }
.ta-consult-steps { display:grid; gap:5px; margin:0; padding:0; list-style:none; color:#6b5e74; font:400 11px/1.4 'DM Mono',monospace; }
.ta-consult-steps li { display:grid; grid-template-columns:14px minmax(0,1fr); gap:7px; align-items:center; }
.ta-consult-steps li b { color:#3d3448; font-weight:600; }
.ta-consult-steps i { width:12px; height:12px; border:1px solid #c7b8d4; border-radius:50%; }
.ta-consult-steps li.is-current { color:#4a2f63; }
.ta-consult-steps li.is-current i { border-color:var(--ta-source-edge); border-top-color:transparent; }
.ta-consult-steps li.is-read i { border-color:#2f7a55; background:#2f7a55 radial-gradient(circle,#fff 0 1.6px,transparent 2px); }
@media (prefers-reduced-motion:no-preference) {
  .ta-consult-steps li.is-current:not(.is-read) i { animation:ta-spin .8s linear infinite; }
  .ta-qthread [data-final]:not([hidden]), .ta-consult:not([hidden]), .ta-qthread .ta-user:not([hidden]) { animation:ta-rise .35s ease-out both; }
}
@keyframes ta-spin { to { transform:rotate(360deg); } }
@keyframes ta-rise { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.ta-question-tools { display:flex; flex-direction:column; gap:10px; min-width:0; }
.ta-tab-mark { display:grid; place-items:center; min-width:26px; min-height:24px; padding:3px 6px; border-radius:5px; }
.ta-tab-mark img { width:13px; height:13px; }
.ta-question-tools .ta-src.is-current .ta-tab-mark.is-picked { background:#fff; box-shadow:inset 0 0 0 2px var(--ta-source-edge); }
.ta-question-tools .ta-skin { font-size:11px; }
@media (max-width:700px) {
  .ta-question-section .ta-qagent .ta-window { height:400px; }
  .ta-question-tools .ta-src { display:block !important; }
}
@media (max-width:700px) {
  .ta-question-section .ta-question-diagram.ta-question-diagram { grid-template-columns:minmax(0,1fr); row-gap:22px; }
}
.ta-qthread { min-height:0; }
@media (max-width:700px) { .ta-question-section .ta-qagent .ta-window { height:470px; } }

/* Sources arrive one by one; the diagram fills the stage column at any width. */
.ta-question-section .ta-question-diagram { width:100%; max-width:none; }
/* Only the contents slide in: the window box keeps its place, so the wires
   measured against it always end on its edge. */
.ta-question-tools .ta-src { transition:opacity .45s ease, visibility 0s; }
.ta-question-tools .ta-src > * { transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.ta-question-tools .ta-src.is-waiting { opacity:0; visibility:hidden; transition:opacity .2s ease, visibility 0s .2s; }
.ta-question-tools .ta-src.is-waiting > * { transform:translateX(14px); }
.ta-question-wires .ta-wire { transition:opacity .4s ease; }
.ta-question-wires .ta-wire.is-waiting { opacity:0; }
@media (prefers-reduced-motion:reduce) { .ta-question-tools .ta-src, .ta-question-tools .ta-src > *, .ta-question-wires .ta-wire { transition:none; } }

/* The question chat is the same window as the live-answer chat and takes the
   height of the four source windows beside it. */
.ta-question-section .ta-question-diagram { align-items:stretch; }
.ta-qagent { display:flex; flex-direction:column; }
@media (min-width:701px) {
  .ta-qagent { contain:size; min-height:440px; }
  .ta-question-section .ta-qagent .ta-window { flex:1; height:auto; min-height:0; }
}
.ta-qthread .ta-chart[hidden], .ta-qthread [data-final][hidden] { display:none; }
.ta-qthread > * { flex-shrink:0; }
.ta-nav small { white-space:nowrap; }

/* Studio section: the same source windows on the left; each transmission
   opens the Studio view where its data lands (trusted-answers.js). */
.ta-studio-section .ta-studio-diagram { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:stretch; min-width:0; width:100%; gap:clamp(40px,6cqi,84px); }
.ta-studio-tools { padding-top:0; }
.ta-studio-tools .ta-src { cursor:pointer; }
@media (min-width:701px) {
  .ta-studio-section .ta-studio-window { contain:size; min-height:460px; display:flex; flex-direction:column; margin-top:26px; }
  .ta-studio-section .ta-studio-workspace { flex:1; min-height:0; }
  .ta-studio-section .ta-map { min-height:0; overflow:hidden; }
}
.ta-studio-diagram .ta-question-pulse.is-current { animation:ta-question-send .8s ease-out both; }
@media (prefers-reduced-motion:reduce) { .ta-studio-diagram .ta-question-pulse { display:none; } }
.ta-receiving { position:relative; height:2px; margin:8px 16px 0; overflow:hidden; }
.ta-receiving span { display:block; width:40%; height:100%; background:#3b82f6; transform:translateX(-100%); }
@media (prefers-reduced-motion:no-preference) {
  .ta-receiving.is-on span { animation:ta-query-shimmer 1s ease-in-out 1; }
  .ta-studio-section [data-pane]:not([hidden]) { animation:ta-rise .3s ease-out both; }
}
.ta-studio-section [data-pane] { min-height:0; }
/* Ontology */
.ta-onto { display:grid; gap:8px; margin:0; padding:14px 16px; list-style:none; }
.ta-onto li { display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:4px 10px; padding:9px 11px; border:1px solid #3c3a49; border-radius:6px; background:#262733; color:#e8e7ef; font:500 12px/1.3 Inter,sans-serif; }
.ta-onto li > span { color:#a99bc4; font:400 11px/1 'DM Mono',monospace; }
.ta-onto li small { grid-column:1/-1; color:#a7a4b5; font:400 11px/1.3 'DM Mono',monospace; }
.ta-onto li.is-current { border-color:#b89ce6; background:#332d45; box-shadow:0 0 0 1px #b89ce6; }
.ta-onto .ta-onto-result { border-style:dashed; background:transparent; }
/* Decisions */
.ta-decisions { display:grid; gap:8px; margin:0; padding:14px 16px; list-style:none; }
.ta-decisions li { padding:9px 11px; border:1px solid #3c3a49; border-radius:6px; background:#262733; }
.ta-decisions li div { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.ta-decisions strong { color:#ecebf3; font:600 12px/1.3 Inter,sans-serif; }
.ta-decisions em { padding:2px 7px; border-radius:10px; background:#2f3a33; color:#9fd8b6; font:500 10px/1.4 'DM Mono',monospace; font-style:normal; }
.ta-decisions li[data-record=ads] em { background:#43352a; color:#f2c28f; }
.ta-decisions p { margin:5px 0 0; color:#c9c6d6; font:400 11px/1.5 Inter,sans-serif; }
.ta-decisions li.is-current { border-color:#b89ce6; background:#332d45; box-shadow:0 0 0 1px #b89ce6; }
.ta-studio-table tr.is-current :is(th,td) { background:#332d45; }
@media (max-width:700px) {
  .ta-studio-section .ta-studio-diagram { grid-template-columns:minmax(0,1fr); }
  .ta-studio-tools { display:flex !important; }
}

/* Question cycle (three hero questions). */
.ta-qpager { display:flex; gap:6px; margin-top:10px; }
.ta-qpager button { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:4px 10px; border:1px solid #ddd5e5; border-radius:999px; background:#fdfdfb; color:#6b5e74; font:500 11px/1.2 Inter,sans-serif; cursor:pointer; }
.ta-qpager button i { width:6px; height:6px; border-radius:50%; background:#cdbfdc; }
.ta-qpager button[aria-current=true] { border-color:var(--ta-source-edge); color:#3d2b52; background:#f3eefa; }
.ta-qpager button[aria-current=true] i { background:var(--ta-violet); }
.ta-qpager button:focus-visible { outline:2px solid var(--ta-violet); outline-offset:2px; }
.ta-qchart .ta-bar { display:block; background:#f1edf6; }
.ta-qbar i { width:0; background:#a796c7 !important; transition:width .75s cubic-bezier(.2,.8,.2,1); }
.ta-qchart .ta-bar-row.is-current .ta-qbar i { background:#6d4ca6 !important; }
.ta-qthread.is-answered .ta-qbar i { width:var(--w); }
.ta-qchart .ta-bar-row:nth-of-type(2) .ta-qbar i { transition-delay:.12s; }
.ta-qchart .ta-bar-row:nth-of-type(3) .ta-qbar i { transition-delay:.24s; }
.ta-qchart .ta-bar-row:nth-of-type(4) .ta-qbar i { transition-delay:.36s; }
@media (prefers-reduced-motion:reduce) { .ta-qbar i { transition:none; } }
@media (prefers-reduced-motion:no-preference) {
  .ta-question-tools .ta-src.is-current .ta-datum { animation:ta-datum-flash .9s ease-out both; }
}
@keyframes ta-datum-flash { 0% { background:#d9c8f5; box-shadow:0 0 0 4px #d9c8f5; } 100% { box-shadow:0 0 0 0 transparent; } }
.ta-question-tools .ta-src.is-read:not(.is-current) .ta-mini-window { border-color:#cbb8de; }
.ta-skin--mercadopago > header { background:#009ee3; color:#fff; }

/* Narrow chat windows keep the topic readable; the thread already says the data is illustrative. */
.ta-window { container:ta-window / inline-size; }
@container ta-window (max-width:560px) {
  .ta-nav { grid-template-columns:minmax(0,1fr) auto; }
  .ta-nav small { display:none; }
}
.ta-qchart .ta-bar-row { grid-template-columns:minmax(64px,96px) minmax(0,1fr) auto; }
.ta-qchart .ta-bar-row > b { white-space:nowrap; min-width:42px; }
.ta-qchart .ta-axis { margin-left:103px; margin-right:56px; }
.ta-qpager { flex-wrap:wrap; }
.ta-qpager button { white-space:nowrap; }

/* Question suggestions sit inside the chat, above the prompt. */
.ta-window .ta-qpager { margin:8px 9px 0; gap:5px; }
.ta-window .ta-qpager button { min-height:26px; padding:3px 9px; }

/* The question chat thread always gives way to the suggestions and prompt;
   source windows here size to their content at every width. */
.ta-question-section .ta-qthread { flex:1 1 0 !important; min-height:0 !important; }
.ta-question-tools .ta-src .ta-mini-window { height:auto !important; min-height:0 !important; }
.ta-qchart .ta-axis span { white-space:nowrap; }
@media (max-width:700px) { .ta-qchart .ta-axis { display:none; } }

/* No sideways scrollbar while windows slide in: neither illustration scrolls
   horizontally any more (phones stack), so the overflow is clipped on x only. */
.ta-question-section .ta-question-scroll { overflow-x:clip !important; overflow-y:visible !important; overflow-clip-margin:0; }
.ta-skin--asaas > header { background:#0030b9; color:#fff; }

/* ===== Estúdio do Contexto, as the real app looks (soceov3 context-studio). ===== */
.ta-studio-section .ta-studio-diagram { grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr); gap:clamp(28px,4cqi,64px); }
.cs-app { --cs-bg:#141418; --cs-panel:#1b1b20; --cs-side:#1e1e23; --cs-line:#2c2c33; --cs-ink:#e7e6ec; --cs-muted:#8d8b97; --cs-accent:#8b5cf6;
  display:flex; flex-direction:column; background:var(--cs-bg) !important; border-color:#2f2e36 !important; color:var(--cs-ink); font:400 11px/1.4 Inter,sans-serif; }
.cs-app > header.cs-crumbs { display:flex; align-items:center; gap:7px; padding:9px 12px; background:var(--cs-side); border-bottom:1px solid var(--cs-line); color:var(--cs-muted); font:500 11px/1.2 Inter,sans-serif; }
.cs-crumbs img { width:16px; height:16px; }
.cs-crumbs i { font-style:normal; opacity:.6; }
.cs-crumbs b { color:var(--cs-ink); font-weight:600; }
.cs-crumbs small { margin-left:auto; color:var(--cs-muted); font:400 10px/1 'DM Mono',monospace; letter-spacing:.04em; text-transform:uppercase; }
.cs-body { flex:1; min-height:0; display:grid; grid-template-columns:clamp(118px,28cqi,190px) minmax(0,1fr); }
.cs-side { background:var(--cs-side) !important; border-right:1px solid var(--cs-line) !important; padding:10px 6px !important; overflow:hidden; }
.cs-side > span { display:block; margin:0 6px 6px; color:var(--cs-muted); font:600 10px/1 Inter,sans-serif; letter-spacing:.08em; }
.cs-side ul { margin:0; padding:0; list-style:none; }
.cs-side li { padding:0 !important; border-radius:5px; }
.cs-side li :is(button, .cs-item) { display:flex; align-items:flex-start; gap:7px; width:100%; padding:5px 6px; border:0; border-radius:5px; background:none; color:#cfcdd8; font:500 11px/1.3 Inter,sans-serif; text-align:left; cursor:pointer; }
.cs-side li .cs-item { color:#8f8d99; cursor:default; }
.cs-side li svg { width:13px; height:13px; flex:none; margin-top:1px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.cs-side li.is-active button { background:#2e2c36; color:#fff; }
.cs-main { min-width:0; min-height:0; display:flex; flex-direction:column; background:var(--cs-bg); }
.cs-workspace { display:flex; align-items:center; gap:6px; padding:7px 10px; border-bottom:1px solid var(--cs-line); color:#cfcdd8; font:500 11px/1 Inter,sans-serif; white-space:nowrap; overflow:hidden; }
.cs-workspace svg { width:12px; height:12px; flex:none; fill:none; stroke:var(--cs-muted); stroke-width:1.5; }
.cs-workspace svg:nth-of-type(2) { margin-left:6px; }
.cs-tabs { display:flex; min-height:29px; border-bottom:1px solid var(--cs-line); overflow:hidden; }
.cs-tab { display:inline-flex; align-items:center; gap:8px; flex:none; padding:7px 10px; border-right:1px solid var(--cs-line); color:var(--cs-muted); font:500 11px/1.1 Inter,sans-serif; white-space:nowrap; }
.cs-tab i { font-style:normal; opacity:.5; }
.cs-tab.is-on { color:#fff; box-shadow:inset 0 -2px var(--cs-accent); background:#19191e; }
@media (prefers-reduced-motion:no-preference) { .cs-tab:last-child { animation:cs-tab-in .3s ease-out; } }
@keyframes cs-tab-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.cs-app .ta-receiving { margin:0; }
.cs-pane { flex:1; min-height:0; overflow:hidden; display:flex; flex-direction:column; }
.cs-pane[hidden] { display:none; }
/* Knowledge map canvas */
.cs-canvas { position:relative; flex:1; min-height:250px; background:#0e0e11 radial-gradient(#2a2a31 .9px,transparent 1px) 0 0/14px 14px; overflow:hidden; }
.cs-edges { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:#5d5b66; stroke-width:1.2; }
.cs-edges path { vector-effect:non-scaling-stroke; opacity:0; transition:opacity .4s ease, stroke .3s ease; }
.cs-edges path.is-in { opacity:1; }
.cs-edges path.is-current { stroke:var(--cs-accent); stroke-width:1.8; }
.cs-edges .cs-edge-metric { opacity:0; }
.cs-canvas:has(.cs-node--metric.is-in) .cs-edge-metric { opacity:1; stroke-dasharray:3 3; }
.cs-node { position:absolute; min-height:15%; padding:6px 8px; border:1px solid #34333b; border-radius:5px; background:#1d1d22; box-shadow:0 2px 8px #0006; opacity:0; transform:translateY(4px); transition:opacity .35s ease, transform .35s ease, border-color .3s ease; cursor:pointer; }
.cs-node.cs-node--root, .cs-node.is-in { opacity:1; transform:none; }
.cs-node.is-current { border-color:var(--cs-accent); box-shadow:0 0 0 1px var(--cs-accent), 0 4px 14px #8b5cf640; }
.cs-node small { display:flex; align-items:center; gap:4px; color:var(--cs-muted); font:400 9.5px/1.2 Inter,sans-serif; }
.cs-node small svg { width:10px; height:10px; fill:none; stroke:currentColor; stroke-width:1.5; }
.cs-node small i { margin-left:auto; }
.cs-node b { display:block; margin-top:3px; color:var(--cs-ink); font:600 11px/1.25 Inter,sans-serif; }
.cs-node--metric b { color:#d8c4ff; }
.cs-handle { position:absolute; top:50%; width:4px; height:4px; margin-top:-2px; border-radius:50%; background:#77757f; }
.cs-handle--l { left:-2px; } .cs-handle--r { right:-2px; }
.cs-edge-label { position:absolute; transform:translate(-50%,-50%); padding:1px 4px; background:#0e0e11; color:#8d8b97; font:400 9px/1.2 Inter,sans-serif; opacity:0; transition:opacity .4s ease; pointer-events:none; }
.cs-edge-label.is-in { opacity:1; }
.cs-controls { position:absolute; left:8px; bottom:34px; display:grid; border:1px solid #34333b; border-radius:4px; background:#1b1b20; }
.cs-controls span { display:grid; place-items:center; width:20px; height:18px; color:#cfcdd8; font:400 12px/1 Inter,sans-serif; border-bottom:1px solid #2c2c33; }
.cs-controls span:last-child { border:0; }
.cs-chip { position:absolute; left:8px; bottom:8px; margin:0; padding:3px 8px; border:1px solid #34333b; border-radius:4px; background:#1b1b20; color:#a3a1ad; font:400 10px/1.3 Inter,sans-serif; white-space:nowrap; }
.cs-minimap { position:absolute; right:8px; bottom:8px; width:62px; height:40px; border:1px solid #2c2c33; background:#16161a; }
.cs-minimap i { position:absolute; width:16px; height:5px; background:#3a3942; }
.cs-minimap i:nth-child(1) { left:5px; top:17px; } .cs-minimap i:nth-child(2) { left:38px; top:4px; } .cs-minimap i:nth-child(3) { left:38px; top:13px; } .cs-minimap i:nth-child(4) { left:38px; top:22px; } .cs-minimap i:nth-child(5) { left:38px; top:31px; }
/* Shared view header, segmented control, toolbars */
.cs-view-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; padding:11px 12px 9px; border-bottom:1px solid var(--cs-line); }
.cs-view-head strong { display:block; color:#fff; font:600 14px/1.2 Inter,sans-serif; }
.cs-view-head small { display:block; margin-top:3px; color:var(--cs-muted); font:400 10px/1.3 'DM Mono',monospace; }
.cs-create { flex:none; padding:5px 9px; border-radius:5px; background:#7c4dff; color:#fff; font:600 11px/1 Inter,sans-serif; }
.cs-seg { display:flex; gap:4px; padding:8px 12px; }
.cs-seg span { padding:4px 8px; border:1px solid #3a3942; border-radius:4px; background:#26252c; color:#9d9ba7; font:500 10.5px/1 Inter,sans-serif; }
.cs-seg span.is-on { border-color:#a78bfa; color:#fff; background:#2b2440; }
.cs-onto { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); border-top:1px solid var(--cs-line); }
.cs-types { padding:8px; border-right:1px solid var(--cs-line); overflow:hidden; }
.cs-types > p { margin:0 0 6px; color:var(--cs-muted); font:600 9.5px/1 Inter,sans-serif; letter-spacing:.08em; }
.cs-type { margin-bottom:5px; padding:5px 7px; border:1px solid #3a3942; border-radius:4px; background:#2a2a30; cursor:pointer; transition:border-color .3s, background .3s; }
.cs-type b { display:block; color:#eceaf2; font:500 11px/1.2 Inter,sans-serif; }
.cs-type code { color:#8d8b97; font:400 9.5px/1.2 'DM Mono',monospace; }
.cs-type.is-current { border-color:#a78bfa; background:#2f2546; }
.cs-inspector { padding:10px 12px; overflow:hidden; }
.cs-insp-title { margin:0; color:#fff; font:600 12px/1.2 Inter,sans-serif; }
.cs-inspector code { color:#a7a5b2; font:400 10px/1.4 'DM Mono',monospace; }
.cs-inspector small { display:block; color:var(--cs-muted); font-size:10px; }
.cs-inspector p { margin:6px 0; color:#d3d1dc; font:400 10.5px/1.45 Inter,sans-serif; }
.cs-inspector .cs-props { margin:9px 0 4px; color:#fff; font-weight:600; }
.cs-prop { display:grid; grid-template-columns:1fr auto; gap:6px; padding:4px 0; border-top:1px solid var(--cs-line); font:400 10.5px/1.3 'DM Mono',monospace; }
.cs-prop span { color:#cfcdd8; } .cs-prop b { color:#9d9ba7; font-weight:400; }
.cs-toolbar { display:flex; gap:5px; flex-wrap:wrap; padding:7px 12px; border-bottom:1px solid var(--cs-line); }
.cs-toolbar span { padding:4px 7px; border:1px solid #3a3942; border-radius:4px; color:#cfcdd8; font:500 10.5px/1 Inter,sans-serif; }
.cs-table { width:100%; border-collapse:collapse; table-layout:fixed; font:400 10.5px/1.35 Inter,sans-serif; }
.cs-table th { padding:6px 8px; border-bottom:1px solid var(--cs-line); background:#1b1b20; color:#bdbbc7; font-weight:500; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cs-table th:first-child, .cs-table td:first-child { width:24px; padding-right:0; }
.cs-table th i, .cs-table td i { display:inline-block; width:10px; height:10px; border:1px solid #55535e; border-radius:2px; vertical-align:-1px; }
.cs-table td { padding:6px 8px; border-bottom:1px solid #23232a; color:#e1e0e7; vertical-align:top; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-table tr { display:none; }
.cs-table thead tr, .cs-table tr.is-in { display:table-row; }
@media (prefers-reduced-motion:no-preference) { .cs-table tr.is-in.is-current { animation:cs-row-in .45s ease-out; } }
@keyframes cs-row-in { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:none; } }
.cs-table tr.is-current td { background:#2a2440; }
.cs-status { display:inline-block; padding:1px 6px; border-radius:9px; background:#233a2c; color:#93d9ae; font:500 10px/1.4 'DM Mono',monospace; font-style:normal; }
.cs-status.is-review { background:#40321f; color:#f2c28f; }
.cs-foot { margin:auto 0 0; padding:7px 12px; border-top:1px solid var(--cs-line); color:var(--cs-muted); font:400 10px/1.3 Inter,sans-serif; }
.cs-commits { margin:0; padding:10px 12px 10px 28px; list-style:none; position:relative; }
.cs-commits::before { content:""; position:absolute; left:15px; top:16px; bottom:30px; width:2px; background:#7c4dff; }
.cs-commits li { position:relative; padding:0 0 12px; }
.cs-commits li::before { content:""; position:absolute; left:-17px; top:3px; width:8px; height:8px; border-radius:50%; background:#8b5cf6; }
.cs-commits b { display:block; color:#fff; font:600 11.5px/1.3 Inter,sans-serif; }
.cs-commits small { display:block; color:var(--cs-muted); font:400 10px/1.4 'DM Mono',monospace; }
.cs-commits em { display:inline-block; margin-top:3px; padding:1px 6px; background:#3b2d63; color:#d9c8ff; font:500 10px/1.3 Inter,sans-serif; font-style:normal; }
.cs-app > footer.cs-status { display:flex; align-items:center; gap:6px; padding:5px 10px; background:var(--cs-side); border-top:1px solid var(--cs-line); color:var(--cs-muted); font:400 10.5px/1.3 Inter,sans-serif; }
.cs-app > footer.cs-status svg { width:11px; height:11px; fill:none; stroke:currentColor; stroke-width:1.5; }
.cs-app > footer.cs-status .ta-studio-status { margin-left:8px; color:#a7a5b2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cs-app > footer.cs-status .ta-studio-play { margin-left:auto; padding:2px 0; color:#d4c3ff; font:500 10.5px/1.3 Inter,sans-serif; white-space:nowrap; }
/* Narrow windows (phones): the knowledge menu folds into its button */
@container studio-window (max-width:420px) {
  .cs-body { grid-template-columns:minmax(0,1fr); }
  .cs-side { border-right:0 !important; border-bottom:1px solid var(--cs-line) !important; padding:0 !important; }
  .cs-side > span { display:none; }
  .cs-onto { grid-template-columns:minmax(0,1fr); }
  .cs-types { display:none; }
}
@media (max-width:700px) {
  .ta-studio-section .ta-studio-diagram.ta-studio-diagram { grid-template-columns:minmax(0,1fr); row-gap:22px; }
  .ta-studio-section .cs-app { min-height:520px; }
}

/* Interactive tool strips in the question and Studio sections. */
.ta-question-tools .ta-tabs button.ta-tab-mark { display:grid; place-items:center; min-width:26px; min-height:24px; padding:3px 6px; border:0; border-radius:5px; background:none; cursor:pointer; transition:background .15s, box-shadow .15s; }
.ta-question-tools .ta-tabs button.ta-tab-mark:hover { background:#fff8; }
.ta-question-tools .ta-tabs button.ta-tab-mark:focus-visible { outline:2px solid var(--ta-violet); outline-offset:1px; }
.ta-question-tools .ta-tab-mark.is-picked { background:#fff; box-shadow:inset 0 0 0 1px #d6cbe4; }
.ta-question-tools .ta-src.is-current .ta-tab-mark.is-picked { box-shadow:inset 0 0 0 2px var(--ta-source-edge); }
.ta-question-tools .ta-tab-mark.is-scanning { background:#efe7fb; box-shadow:inset 0 0 0 2px #b9a2dc; }
@media (prefers-reduced-motion:no-preference) {
  .ta-question-tools .ta-skin.is-refresh { animation:ta-skin-refresh .45s ease-out; }
}
@keyframes ta-skin-refresh { from { opacity:.35; filter:blur(3px); } to { opacity:1; filter:none; } }

/* Proof under the hero: the founder's recorded AI usage, same feed as the
   activity dashboard further down. Editorial rails, mono label, big figures. */
html[data-querio-preview][data-fusion] .hx-section.ta-proof { display: grid; grid-template-columns: 31% minmax(0, 1fr) 176px; gap: 20px 36px; align-items: center; padding: 34px var(--ed-inset, 60px) 36px !important; background: #faf8fb; }
html[data-querio-preview][data-fusion] .hx-section.ta-proof[hidden] { display: none !important; }
.ta-proof-body { display: contents; }
.ta-proof > *, .ta-proof-body > * { position: relative; z-index: 1; }
.ta-proof-head { padding-left: 10px; }
.ta-proof-label { margin: 0 0 8px; color: #6728d4; font: 500 11px/1.2 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.ta-proof-lead { margin: 0 0 6px; color: #29242f; font: 600 15px/1.35 Inter, Arial, sans-serif; }
.ta-proof-head small { color: #7d6f88; font: 400 10px/1.4 "DM Mono", monospace; }
/* Labels share one row and sit on the figure; every figure on one baseline,
   even when a label wraps to two lines. */
.ta-proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; margin: 0; }
.ta-proof-stats > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 6px; padding: 2px 18px; border-left: 1px dashed #d2c6dd; }
.ta-proof-stats dt { align-self: end; margin: 0; color: #5d5265; font: 400 11px/1.3 Inter, Arial, sans-serif; }
.ta-proof-stats dd { margin: 0; color: #29242f; font: 600 27px/1 "Bricolage Grotesque", Inter, Arial, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ta-proof-stats > div:first-child dd { color: #6b4f8c; }
.ta-proof-link { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #776075; background: #fbf2f5; color: #50374d; font: 400 11px/1.4 Inter, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.ta-proof-link:hover { background: #f5e4ed; }
.ta-proof-link svg { width: 15px; height: 15px; }
@media (min-width: 1700px) { .ta-proof-stats dd { font-size: 34px; } .ta-proof-lead { font-size: 17px; } }
@media (max-width: 1179px) {
  html[data-querio-preview][data-fusion] .hx-section.ta-proof { grid-template-columns: minmax(0, 1fr) auto; }
  .ta-proof-stats { grid-column: 1 / -1; grid-row: 2; }
  .ta-proof-stats > div:first-child { padding-left: 10px; border-left: 0; }
}
@media (max-width: 700px) {
  html[data-querio-preview][data-fusion] .hx-section.ta-proof { grid-template-columns: minmax(0, 1fr); padding: 28px 16px 30px !important; }
  .ta-proof-head { padding-left: 0; }
  .ta-proof-stats { grid-row: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; gap: 0; }
  .ta-proof-stats > div:nth-child(n+3) { margin-top: 16px; }
  .ta-proof-stats > div { padding: 0 12px; }
  .ta-proof-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ta-proof-stats dd { font-size: 24px; }
  .ta-proof-link { justify-self: start; }
}

/* "Teste o agente. Confira cada resposta." The Evals view of Context Studio
   in the window skin: questions on the left, the result receipt on the right. */
.ev-stage { position: relative; align-self: start; margin-top: 56px; }
.ev-window { overflow: hidden; border: 1px solid var(--ta-line); border-radius: 6px; background: var(--ta-paper); box-shadow: 0 20px 50px #301a4914; color: var(--ta-ink); font: 400 12px/1.5 Inter, Arial, sans-serif; }
.ev-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #ece6f3; }
.ev-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.ev-brand img { width: 18px; height: 18px; }
.ev-crumb { color: var(--ta-muted); font-size: 11px; }
.ev-crumb i { margin: 0 4px; font-style: normal; color: #c3b6d0; }
.ev-bar small { margin-left: auto; color: var(--ta-muted); font: 400 11px/1 "DM Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.ev-intro { padding: 18px 20px 14px; border-bottom: 1px solid #f0ebf5; }
.ev-intro strong { display: block; margin-bottom: 3px; font: 600 18px/1.2 "Bricolage Grotesque", Inter, Arial, sans-serif; }
.ev-intro p { margin: 0; color: var(--ta-muted); font-size: 12px; }
.ev-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; padding: 16px 20px 20px; min-height: 372px; }
.ev-list { display: grid; gap: 8px; align-content: start; }
.ev-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.ev-list-head strong { font-size: 12px; }
.ev-list-head span { color: var(--ta-muted); font: 400 10px/1.2 "DM Mono", monospace; }
.ev-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 10px; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid #e6dfee; border-radius: 6px; background: #fff; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.ev-row:hover { border-color: #cdbfe0; }
.ev-row.is-current { border-color: #9a7cc4; box-shadow: 0 0 0 3px #ebe6fb; }
.ev-row code { grid-column: 2; color: var(--ta-muted); font: 400 10px/1.3 "DM Mono", monospace; }
.ev-q { font-size: 12px; font-weight: 500; }
.ev-status { grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: #f3f0f6; color: #6f6479; font-size: 10px; font-weight: 600; white-space: nowrap; justify-self: start; }
.ev-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ev-row[data-state=run] .ev-status { background: #ebe6fb; color: #6728d4; }
.ev-row[data-state=pass] .ev-status { background: #e3f3ec; color: #19734f; }
.ev-row[data-state=fail] .ev-status { background: #fbeae6; color: #b2432a; }
.ev-guide { padding: 10px 12px; border: 1px dashed #b7a6c9; border-radius: 6px; background: repeating-linear-gradient(45deg, #fdfdfb 0 6px, #f6f2fa 6px 7px); }
.ev-guide span { display: block; color: var(--ta-muted); font: 500 10px/1.3 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
.ev-guide p { margin: 4px 0 0; font-size: 12px; font-weight: 500; }
.ev-result { padding: 14px 16px; border: 1px solid #e6dfee; border-radius: 6px; background: #fbfafc; align-self: start; }
.ev-result > strong { display: block; margin-bottom: 10px; font-size: 13px; }
.ev-empty { margin: 0; color: var(--ta-muted); }
.ev-verdict { display: inline-block; margin: 0 0 12px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ev-verdict[data-state=pass] { background: #e3f3ec; color: #19734f; }
.ev-verdict[data-state=fail] { background: #fbeae6; color: #b2432a; }
.ev-result dl { display: grid; gap: 9px; margin: 0; }
.ev-result dl:first-of-type { grid-template-columns: 1fr 1fr; padding-bottom: 12px; border-bottom: 1px solid #ece6f3; }
.ev-result dl:first-of-type dd { font: 600 24px/1.1 "Bricolage Grotesque", Inter, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.ev-result dt { color: var(--ta-muted); font-size: 10px; }
.ev-result dd { margin: 2px 0 0; font-size: 12px; }
.ev-result .ev-meta { margin-top: 12px; }
.ev-result code { font: 400 11px/1.3 "DM Mono", monospace; }
.ev-why { margin: 10px 0 0; color: #b2432a; font-size: 11px; }
@media (prefers-reduced-motion: no-preference) {
  .ev-row, .ev-status { transition: border-color .2s, box-shadow .2s, background-color .25s, color .25s; }
  .ev-row[data-state=run] .ev-status i { animation: ev-pulse .8s ease-in-out infinite; }
  .ev-guide:not([hidden]) { animation: ev-in .35s ease-out both; }
  .ev-result [data-state], .ev-result dl { animation: ev-in .3s ease-out both; }
}
@keyframes ev-pulse { 50% { opacity: .3; } }
@keyframes ev-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (min-width: 800px) and (max-width: 1179px) { html[data-querio-preview][data-fusion] .hx-perspectives.ta-evals { grid-template-columns: 1fr; } .ta-evals .ev-stage { margin-top: 26px; } }
@media (max-width: 760px) {
  .ev-body { grid-template-columns: minmax(0, 1fr); padding: 14px; min-height: 0; }
  .ev-row { grid-template-columns: minmax(0, 1fr); }
  .ev-status { grid-row: auto; }
  .ev-row code { grid-column: 1; }
  .ev-crumb { display: none; }
  .ev-result { min-height: 330px; }
  .ta-evals .ev-stage { margin-top: 26px; }
}
/* The context link sits under the lead of "Transforme conhecimento em ação". */
.mix-cost-lead .ta-cost-explore { display: flex; width: max-content; max-width: 100%; margin-top: 18px; font-size: 11px; line-height: 1.5; }

/* "Como funciona?": the same thin band as the proof, steps in place of the
   figures; each step leads to the section that shows it. */
html[data-querio-preview][data-fusion] .hx-section.ta-how { padding: 26px var(--ed-inset, 60px) 26px !important; border-bottom: 1px dashed #ddd2e6; }
html[data-querio-preview][data-fusion] .hx-section.ta-how + .ta-proof { padding-top: 28px !important; }
.ta-how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ta-how-steps li { border-left: 1px dashed #d2c6dd; }
.ta-how-steps a { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; align-items: baseline; height: 100%; padding: 2px 18px; color: inherit; text-decoration: none; }
.ta-how-num { color: #6728d4; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .06em; }
.ta-how-steps strong { color: #29242f; font: 600 19px/1.1 "Bricolage Grotesque", Inter, Arial, sans-serif; letter-spacing: -.02em; }
.ta-how-text { grid-column: 1 / -1; color: #5d5265; font: 400 11px/1.4 Inter, Arial, sans-serif; }
.ta-how-steps a:hover strong { color: #6728d4; }
.ta-how-steps a:focus-visible { outline: 2px solid #8051a3; outline-offset: 2px; }
@media (min-width: 1700px) { .ta-how-steps strong { font-size: 23px; } .ta-how-text { font-size: 12px; } }
@media (max-width: 1179px) {
  .ta-how-steps { grid-column: 1 / -1; grid-row: 2; }
  .ta-how-steps li:first-child { border-left: 0; }
  .ta-how-steps li:first-child a { padding-left: 10px; }
}
@media (max-width: 700px) {
  html[data-querio-preview][data-fusion] .hx-section.ta-how { padding: 24px 16px 24px !important; }
  .ta-how-steps { grid-row: auto; grid-template-columns: 1fr 1fr; }
  .ta-how-steps li:nth-child(odd) { border-left: 0; }
  .ta-how-steps li:nth-child(n+3) { margin-top: 14px; }
  .ta-how-steps li:nth-child(odd) a { padding-left: 0; }
  .ta-how-steps a { padding: 0 12px; }
}

/* Phones: the Studio shows only the source being sent, in one slot right
   above the Studio window, so source and Studio stay in view together
   (stacked, four sources pushed the window a screen away). */
@media (max-width: 700px) {
  #dados-no-estudio .ta-studio-tools { display: grid !important; }
  #dados-no-estudio .ta-studio-tools > .ta-src { grid-area: 1 / 1; align-self: start; }
  #dados-no-estudio .ta-studio-tools > .ta-src:not(.is-current) { visibility: hidden !important; pointer-events: none; }
  #dados-no-estudio .ta-studio-tools:not(:has(.ta-src.is-current)) > .ta-src:first-child { visibility: visible !important; opacity: 1 !important; transform: none !important; pointer-events: auto; }
  /* The collapsed view menu keeps its own height; the map takes the rest. */
  #dados-no-estudio .cs-body { grid-template-rows: auto minmax(0, 1fr) !important; }
  #dados-no-estudio .cs-side { padding: 6px !important; }
  /* No room for the minimap next to the cards on a phone. */
  #dados-no-estudio .cs-minimap { display: none !important; }
}
