/* One login, more than one business (switcher.js; mock docs/invited-v2-fresha.html): the business at the top opens a
   list to switch (and, for a team member with none of their own, to start one). */
.biz.has-switch { align-items: flex-start; flex-direction: column; gap: 4px; }
.biz-switch { position: relative; }
.biz-btn { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 6px 12px 6px 6px; border: 0; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s, background .2s; }
.biz-btn:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, var(--line)); }
.biz-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.biz-btn-text { min-width: 0; }
.biz-btn-text b { display: block; font-size: 18px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-btn-text span { display: block; color: var(--muted); font-size: 12.5px; }
.biz-chev { width: 18px; height: 18px; margin-left: 4px; color: var(--muted); transition: transform .25s; }
.biz-btn[aria-expanded="true"] .biz-chev { transform: rotate(180deg); }
.has-switch .demo-note { padding-left: 4px; }

.biz-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: min(320px, calc(100vw - 32px)); padding: 8px; border-radius: 20px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(0, 0, 0, .3); }
.biz-menu-h { margin: 0; padding: 8px 10px 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.biz-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.biz-row:hover { background: var(--soft); }
.biz-row-text { min-width: 0; }
.biz-row-text b { display: block; font-size: 14.5px; }
.biz-row-text span { display: block; color: var(--muted); font-size: 12.5px; }
.biz-av, .biz-plus { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.biz-av { background: var(--ink); color: var(--surface); }
.biz-plus { background: var(--pick-soft); color: var(--pick); }
.biz-tick { margin-left: auto; color: var(--pick); }
.biz-menu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .page-top:has(.has-switch) > .btn { flex: none; white-space: nowrap; }
  .biz-btn-text b { font-size: 16px; }
}
