/* Main tab bar: left = work (Images … CSV Optimizer), right = you + help (Insights · FAQ ·
   Blog · Free tools). Its own file because app.css is at its size cap. The dot and the Recap
   pill are drawn by static/js/insights_tab.js; without it they never appear. */

/* Insights: the one account item. Its icon stays gold even when the tab is idle, so it reads
   as different from the work tabs without a louder label. */
.tab-ins{display:inline-flex;align-items:center;gap:6px}
.tab-ins .tab-ico{width:14px;height:14px;flex-shrink:0;color:var(--gold);opacity:.85}
.tab-ins:hover .tab-ico,.tab-ins.active .tab-ico{opacity:1}

/* Between "you" and "help". A real element, not ::after: guest mode already uses
   .tab-btn::after for its lock. */
.tab-sep{width:1px;height:16px;background:var(--border);margin:0 6px;flex-shrink:0;align-self:center}

/* Blog and Free tools open a new page. Same weight and no underline, like FAQ. */
.tab-bar a.tab-btn{text-decoration:none;cursor:pointer}
.tab-ext-ico{font-size:.72em;margin-left:3px;opacity:.6}

/* "Your numbers moved since you last looked." Static: no pulse, no count. */
.tab-dot{position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 0 2px var(--s1);pointer-events:none}
.tab-pill{display:inline-block;margin-left:2px;padding:1px 7px;border-radius:999px;
  font-size:.64rem;font-weight:600;line-height:1.5;color:var(--gold);background:var(--gold-bg);
  border:1px solid rgba(var(--gold-rgb),.35);pointer-events:none}
@media (prefers-reduced-motion: no-preference){
  .tab-dot,.tab-pill{animation:tab-mark-in .4s ease-out both}
  @keyframes tab-mark-in{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
}

/* Narrow screens: scroll the bar sideways instead of letting it run off the edge. */
@media (max-width: 900px){
  .tab-bar{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .tab-bar::-webkit-scrollbar{display:none}
  .tab-bar .tab-btn{flex-shrink:0;white-space:nowrap}
  .tab-bar .tab-spacer{min-width:12px}
  .tab-dot{top:6px;right:4px}
}
