/* Switch pavilion (pav-switch.js): the sidebar's pavilion square is a button; its menu is a menu surface (--pop-bg,
   --elev-2), flat inside, hairlines between its parts. On a phone the same rows sit in More. */
button.s-brand { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
button.s-brand:hover { background: var(--chrome-hover, rgba(127, 127, 127, .08)); }
button.s-brand:focus-visible { outline: var(--focus-w, 2px) solid var(--focus, currentColor); outline-offset: -2px; }
button.s-brand[aria-expanded="true"] { background: var(--chrome-active, rgba(127, 127, 127, .12)); }

.psw-pop { position: fixed; z-index: var(--z-menu); min-width: 248px; max-width: min(320px, calc(100vw - 16px)); padding: 6px; border-radius: 10px;
  background: var(--pop-bg); color: var(--text); box-shadow: var(--elev-2); font-size: 13px; outline: 0; }
.psw-h { padding: 6px 8px 4px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.psw-list { max-height: 50vh; overflow-y: auto; }
.psw-row, .psw-act { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 6px;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.psw-row:hover, .psw-act:hover, .psw-row:focus-visible, .psw-act:focus-visible { background: var(--hover, rgba(127, 127, 127, .1)); outline: 0; }
.psw-row .pv { width: 24px; height: 24px; }
.psw-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.psw-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psw-t span { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psw-here { color: var(--canopy-2, var(--canopy)); display: grid; place-items: center; }
.psw-here svg, .psw-act svg { width: 16px; height: 16px; }
.psw-act { color: var(--text-2); }
.psw-act span { display: flex; flex-direction: column; }
.psw-act small { font-size: 12px; color: var(--text-3); }
.psw-sep { height: 1px; background: var(--line); margin: 6px 2px; }
.psw-more .psw-row, .psw-more .psw-act { min-height: 48px; padding: 8px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
/* In More, its rows keep their own layout (More's own rows push a mono figure to the right). */
.morelist .psw-more button { font-size: 15px; padding: 10px 4px; gap: 12px; }
.morelist .psw-more button span { margin-left: 0; font-family: inherit; font-size: inherit; color: inherit; }
.morelist .psw-more .psw-t span, .morelist .psw-more .psw-act small { font-size: 12.5px; color: var(--text-3); }
.morelist .psw-more .psw-here { margin-left: auto; }
.morelist .psw-more .pv { color: var(--canopy-ink); }
.morelist .psw-more .psw-act { color: var(--text); }
.morelist .psw-more .psw-sep { display: none; }
/* What waits for you in each pavilion (as the phones show it), and the invite link's field. */
.psw-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; font-size: 11.5px; font-weight: 600;
  background: var(--canopy); color: var(--canopy-ink); font-variant-numeric: tabular-nums; }
.psw-inv { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px 34px; }
.psw-inv input { flex: 1 1 160px; min-width: 0; padding: 7px 9px; border-radius: 6px; border: 1px solid var(--control, var(--line)); background: var(--ink-2, transparent); color: var(--text); font: inherit; font-size: 13px; }
.psw-err { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--bad); }
.morelist .psw-more .psw-n { margin-left: auto; font-size: 12px; color: var(--canopy-ink); }
.morelist .psw-more .psw-inv { padding-left: 34px; border-bottom: 1px solid var(--line); }
.morelist .psw-more .psw-inv button { font-size: 13px; padding: 6px 12px; border-bottom: 0; min-height: 0; }
