/* companion.css - v4.0.0 phone companion, web side (presence chip + popover). */

.cmp-chip { display: inline-flex; align-items: center; white-space: nowrap; }
.cmp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--slider-track, #d4d8de);
  display: inline-block; margin-left: 6px; flex: 0 0 auto;
  transition: background .2s ease, box-shadow .2s ease;
}
.cmp-dot.on { background: #FCD23B; box-shadow: 0 0 0 3px rgba(252, 210, 59, .22); }
body.theme-dark .cmp-dot { background: #3d3d45; }
body.theme-dark .cmp-dot.on { background: #FCD23B; }

.cmp-chip { position: relative; }
.cmp-new {
  position: absolute; top: -7px; right: -8px;
  background: #FCD23B; color: #1c2433;
  font-size: 8.5px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 5px; border-radius: 7px; line-height: 1;
}

.cmp-pop {
  position: absolute; top: 46px; right: 148px; z-index: 1200;
  width: 264px; padding: 14px 16px;
  background: var(--panel-bg, #fff); color: var(--gold-text, #1c2433);
  border: 1px solid var(--panel-border, #e2e5ea); border-radius: 12px;
  box-shadow: 0 12px 34px rgba(16, 22, 34, .16);
  font-size: 12.5px; line-height: 1.55;
}
body.theme-dark .cmp-pop { background: #1d1d22; color: #ECECEC; border-color: #34343c; box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }
.cmp-pop .cmp-t { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cmp-pop .cmp-t .cmp-dot { margin-left: 0; }
.cmp-pop .cmp-x { opacity: .85; }
.cmp-pop .topbtn { margin-top: 10px; }

/* the shellbar sheds to essentials on phone widths (v3.3.0 C4) - the web-side
   companion chip is a laptop affordance, hide it there */
@media (max-width: 640px) {
  .cmp-chip, .cmp-pop { display: none; }
}
