/* TISearch dropdown. Uses the app's existing theme variables, with fallbacks so it also
   renders correctly on the landing page where the app palette may not be loaded. */
.tis-panel{position:absolute;z-index:9999;left:0;right:0;top:calc(100% + 7px);
  background:var(--bg2,#fff);border:1px solid var(--brd,var(--bd,#e9e4f5));border-radius:16px;
  box-shadow:0 20px 54px rgba(76,29,149,.18);overflow:hidden;text-align:left;
  font-size:14px;line-height:1.45}
.tis-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px}
@media(max-width:820px){.tis-cols{grid-template-columns:1fr}}
.tis-colL{padding:6px 0 10px}
.tis-colR{background:var(--bg4,#faf9fd);border-left:1px solid var(--bd2,#f0ecf8);padding:6px 0 10px}
.tis-gh{padding:9px 18px 5px;font:800 10px/1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.9px;text-transform:uppercase;
  color:var(--t3,#9d90b8)}
.tis-fnote{padding:9px 18px 3px;font-weight:700;font-size:10px;line-height:1;letter-spacing:.7px;text-transform:uppercase;
  color:var(--ac,#7c3aed)}
.tis-clear{cursor:pointer;text-decoration:underline}
.tis-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;
  padding:11px 18px;cursor:pointer;position:relative}
.tis-row+.tis-row:before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;
  background:var(--bd2,#f0ecf8)}
.tis-row:hover,.tis-row.sel{background:var(--acbg,#f5f3ff)}
.tis-row.sel:after{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;
  background:var(--ac,#7c3aed);border-radius:0 3px 3px 0}
.tis-tile{width:44px;height:44px;border-radius:9px;background:var(--logo-bg,#f5f3ff);display:flex;
  align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.tis-tile img{width:100%;height:100%;object-fit:contain;padding:4px}
.tis-row>div{min-width:0}
.tis-l1{display:flex;align-items:center;gap:6px;min-width:0}
.tis-tk{font-weight:800;letter-spacing:.2px;font-size:14px}
.tis-dash{color:var(--t3,#9d90b8)}
.tis-name{color:var(--t2,#7a6b9a);font-size:12.5px;font-weight:600;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.tis-l2{display:flex;align-items:center;gap:8px;margin-top:3px;flex-wrap:wrap}
.tis-px{color:var(--t2,#7a6b9a);font-size:12.5px;font-variant-numeric:tabular-nums}
.tis-chg{font-weight:800;font-size:12px;line-height:1;font-variant-numeric:tabular-nums;padding:3px 6px;border-radius:5px}
.tis-chg.up{color:#16a34a;background:#f0fdf4}
.tis-chg.dn{color:#DB2777;background:#fdf2f8}
.tis-mk{display:inline-flex;align-items:center;color:var(--ac,#7c3aed)}
/* type chip: 11px label, sentence case, weight 600 — the company-name treatment, one step down */
.tis-chip{display:inline-flex;align-items:center;gap:6px;color:var(--t2,#7a6b9a);
  font-weight:600;font-size:11px;line-height:1;letter-spacing:0;white-space:nowrap;flex:0 0 auto}
.tis-sq{width:23px;height:23px;border-radius:6px;display:flex;align-items:center;
  justify-content:center;flex:0 0 auto}
.tis-sq svg{width:14px;height:14px}
.tis-sbadge{display:inline-flex;align-items:center;gap:4px;color:var(--act,#4c1d95);
  background:var(--acbg,#f5f3ff);border:1px solid var(--acb,#ddd6fe);border-radius:5px;
  padding:2px 5px;font-weight:700;font-size:10px;line-height:1}
.tis-warn{color:#DB2777;background:#fdf2f8;border-radius:5px;padding:2px 5px;font-weight:700;font-size:10px;line-height:1}
.tis-empty,.tis-nempty{padding:15px 18px;color:var(--t3,#9d90b8);font-size:12.5px}
.tis-rh{display:flex;align-items:center;gap:7px;padding:9px 18px 4px;font:800 12.5px/1 -apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--t1,#1a1330)}
.tis-rsub{padding:3px 18px 6px;font-weight:600;font-size:10px;line-height:1.4;letter-spacing:.6px;text-transform:uppercase;
  color:var(--t3,#9d90b8)}
.tis-news{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:11px 18px;cursor:pointer;
  position:relative}
.tis-news+.tis-news:before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;
  background:var(--bd2,#f0ecf8)}
.tis-news:hover{background:var(--acbg,#f5f3ff)}
/* the ONLY place a picture appears; falls back to the category tile when image is null */
.tis-nthumb{width:112px;height:74px;border-radius:9px;display:flex;align-items:center;
  justify-content:center;font-size:26px;flex:0 0 auto;overflow:hidden}
.tis-nthumb img{width:100%;height:100%;object-fit:cover}
.tis-ncat{font-weight:800;font-size:9.5px;line-height:1;letter-spacing:.8px;text-transform:uppercase;display:block;
  margin-bottom:4px}
.tis-nh{font-size:13px;line-height:1.36;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tis-blur{display:inline-block;background:currentColor;opacity:.16;border-radius:3px}
.tis-nfoot{display:flex;gap:8px;align-items:center;margin-top:4px;flex-wrap:wrap}
.tis-nago{font-size:10.5px;color:var(--t3,#9d90b8);font-variant-numeric:tabular-nums}
.tis-nlock{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:10px;line-height:1;color:var(--ac,#7c3aed)}
.tis-rmore{padding:9px 18px 2px;font-weight:700;font-size:11.5px;line-height:1;color:var(--ac,#7c3aed);cursor:pointer}

/* ── compact / solo variant ────────────────────────────────────────────────
   Inteligência renders the box in a ~270px column. The two-column grid there
   truncated every company name ("SPACE EXPLORATI…") and left the signals panel
   with no width at all, so that surface drops the right column entirely and
   widens past its input instead of squeezing inside it. */
.tis-panel.tis-solo .tis-cols{grid-template-columns:1fr}
.tis-panel.tis-solo .tis-colR{display:none}
.tis-panel.tis-compact{min-width:360px;max-width:460px;right:auto}
.tis-panel.tis-compact .tis-row{grid-template-columns:28px minmax(0,1fr) auto;gap:9px;padding:8px 14px}
.tis-panel.tis-compact .tis-row+.tis-row:before{left:14px;right:14px}
.tis-panel.tis-compact .tis-tile{width:28px;height:28px;border-radius:6px}
.tis-panel.tis-compact .tis-tile img{padding:2px}
.tis-panel.tis-compact .tis-tile svg{width:16px;height:16px}
.tis-panel.tis-compact .tis-gh{padding:8px 14px 4px}
.tis-panel.tis-compact .tis-tk{font-size:13px}
.tis-panel.tis-compact .tis-name{font-size:12px}
.tis-panel.tis-compact .tis-chip .tis-sq{width:20px;height:20px;border-radius:5px}
.tis-panel.tis-compact .tis-chip .tis-sq svg{width:12px;height:12px}
.tis-panel.tis-compact .tis-chip{font-size:10.5px;gap:5px}
.tis-panel.tis-compact .tis-empty{padding:12px 14px}

/* favourites / wallet pills inside the search field */
.tis-fpills{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;margin:0 6px}
.tis-pill{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--brd,var(--bd,#e9e4f5));
  background:var(--bg3,#ede9f7);color:var(--t2,#7a6b9a);border-radius:16px;padding:4px 8px;
  cursor:pointer;font-weight:700;font-size:10.5px;line-height:1;user-select:none;transition:.13s}
.tis-pill:hover{border-color:var(--acb,#ddd6fe);color:var(--act,#4c1d95)}
.tis-pill.on{background:var(--ac,#7c3aed);border-color:var(--ac,#7c3aed);color:#fff}
.tis-cnt{font-weight:600;opacity:.75}
