/* Tubi tenant theme — additive override of ShrimpSandwich defaults.
   Loaded ONLY when TENANT=tubi (or host matches). The default ShrimpSandwich
   look is untouched. Palette from brand.tubi.tv (verified 2026-07-10):

   Product palette: Dark Purple #0B0019 backgrounds, Screen Violet #53008B,
   Vibrant Violet #8C00E5 + Hello Yellow #FFFF13 accents, white foregrounds.
   Typography: Tubi Stans is proprietary (not bundled); the brand's stated
   fallback order is Inter then Helvetica — Inter is already the SS default.
   Hello Yellow is the official wordmark/logo color; as a UI accent across
   ~50 --accent2 call sites it overwhelms, so the accent pair stays in the
   violet family and yellow lives in the logo, favicon and OG image. */

:root {
  /* Backgrounds — Tubi product Dark Purple */
  --bg:        #0B0019;
  --surface:   #160729;
  --surface1:  #160729;
  --surface2:  #200B3D;
  --border:    rgba(140, 0, 229, 0.26);

  /* Accent: Vibrant Violet, with a lightened step for secondary accents
     so small text stays readable on the dark ground */
  --accent:      #8C00E5;
  --accent2:     #BE66FF;
  --accent-deep: #53008B;   /* Screen Violet */

  /* Status colours — keep SS defaults (green/yellow/red) */
  --green:  #34d399;
  --yellow: #fbbf24;
  --red:    #f87171;

  /* Text — white foregrounds per product palette; muted from brand Grey */
  --text:   #F6F6F6;
  --fg:     #F6F6F6;
  --muted:  rgba(228, 227, 236, 0.62);

  --font:      'Inter', -apple-system, sans-serif;
  --font-head: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
}

body { font-family: var(--font); }

/* Accent-tinted row hover / active states — fixes for hardcoded dark-theme
   color literals that variables can't reach */
tr:hover td                       { background: rgba(140, 0, 229, 0.10) !important; }
.msg.result-active .msg-bubble    { background: rgba(140, 0, 229, 0.14) !important; }
tr.enriching-row td               { background: rgba(140, 0, 229, 0.07) !important; }
.preview-notice                   { background: rgba(140, 0, 229, 0.12) !important; }
.enriched-pill                    { background: rgba(140, 0, 229, 0.20) !important; }
.source-1st                       { background: rgba(140, 0, 229, 0.22) !important; }
.msg.assistant .msg-bubble        { background: var(--surface2); }

/* Client-facing single-client deploy: hide the Developer (super-admin dev
   tools) button only. The Admin button stays — it's already JS-gated to
   admins, so partners never see it, but the tenant admin needs it to reach
   /admin (approve/invite users). */
#developer-btn, #hm-developer { display: none !important; }

/* "New in vX.X" release banner — not relevant to a client-facing partner
   deploy. Toggled via a .show class in JS; !important beats that override. */
.release-banner { display: none !important; }

/* Admin panel tabs not relevant to a single-client Tubi partner portal.
   Cosmetic-only tenant override — the underlying tabs/features stay in the
   shared codebase for the default ShrimpSandwich deploy:
     • Coverage  — team × ICP fit matrix (multi-ICP/multi-member ops tool)
     • Partners  — per-partner ICP grant grid (Tubi auto-grants its one ICP)
     • Privacy   — workspace privacy-mode switch (partners are always isolated) */
#atab-coverage, #atab-partners, #atab-privacy { display: none !important; }
