/* VIEW AS — Sara looks at the CRM the way somebody else would see it.
   Added 2026-09-19 (claim view-as-2026-09-19). Self-contained: nothing else
   in crm-parts was edited. Remove the two tags in the shell and it is gone. */

#va-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:9998;
  display:none; align-items:center; gap:14px;
  padding:10px 18px; font-family:inherit; font-size:13px; line-height:1.35;
  background:#7a3d12; color:var(--white); box-shadow:0 -2px 10px rgba(0,0,0,.25);
}
body.va-on #va-bar{ display:flex; }
body.va-on{ padding-bottom:52px; }
#va-bar .va-who{ font-weight:700; }
#va-bar .va-note{ opacity:.85; }
#va-bar .va-sp{ flex:1 1 auto; }
#va-bar button{
  font-family:inherit; font-size:13px; font-weight:600; cursor:pointer;
  padding:6px 14px; border-radius:6px; border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.12); color:var(--white);
}
#va-bar button:hover{ background:rgba(255,255,255,.22); }

/* the picker */
#va-panel{
  position:fixed; right:22px; bottom:64px; z-index:9999; display:none;
  width:330px; max-height:70vh; overflow:auto;
  background:var(--card,var(--white)); color:var(--text,#12241c);
  border:1px solid var(--border,var(--sage-125)); border-radius:12px;
  box-shadow:0 10px 34px rgba(0,0,0,.22); padding:14px;
  font-family:inherit; font-size:13px;
}
#va-panel.va-open{ display:block; }
#va-panel h4{ margin:0 0 4px; font-size:14px; }
#va-panel .va-sub{ color:var(--muted,var(--emerald-475)); margin:0 0 12px; font-size:12px; line-height:1.45; }
#va-panel .va-grp{ font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted,var(--emerald-475)); margin:12px 0 5px; }
#va-panel .va-opt{
  display:block; width:100%; text-align:left; cursor:pointer; margin-bottom:5px;
  padding:8px 11px; border-radius:7px; border:1px solid var(--border,var(--sage-125));
  background:var(--content-bg,var(--grey-50)); color:inherit; font-family:inherit; font-size:13px;
}
#va-panel .va-opt:hover{ border-color:var(--teal,var(--emerald-525)); }
#va-panel .va-opt small{ display:block; color:var(--muted,var(--emerald-475)); font-size:11px; margin-top:2px; }

/* The way in, stacked above the sign-out button. That button is position:fixed
   at the bottom-left with the build stamp under it, so a plain sibling in the
   document flow lands at the foot of the page instead of beside it — seen
   happening on 2026-09-19. This sits in the same fixed corner, just above it. */
#va-launch{
  position:fixed; left:13px; bottom:64px; z-index:2147483500;
  display:block; cursor:pointer; font-family:inherit; font-size:11px;
  background:var(--white); border:1px solid var(--sage-125); border-radius:7px; padding:3px 9px;
  color:#5b6f66; text-decoration:none; box-shadow:0 1px 3px rgba(0,0,0,.10);
}
#va-launch:hover{ border-color:var(--teal,var(--emerald-525)); }
body.phi-dark #va-launch{ background:var(--color-surface-raised); border-color:var(--emerald-590); color:var(--emerald-110); }
#va-launch:hover{ color:var(--teal,var(--emerald-525)); }

:root:not([data-theme="light"]) #va-panel{ background:var(--emerald-675); color:var(--sage-50); border-color:var(--emerald-450); }
:root:not([data-theme="light"]) #va-panel .va-opt{ background:var(--emerald-575); border-color:var(--emerald-450); }
:root:not([data-theme="light"]) #va-panel .va-sub,
:root:not([data-theme="light"]) #va-panel .va-grp,
:root:not([data-theme="light"]) #va-panel .va-opt small{ color:#b9d6c8; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) #va-panel{ background:var(--emerald-675); color:var(--sage-50); border-color:var(--emerald-450); }
}
