/* The one share sheet (share-sheet.js), from the person page. Tokens: tokens.css (--sp-*), so it reads the same on the
   person page, the plan and the group page. */
.sheet-bg{position:fixed;inset:0;z-index:100;background:rgba(10,12,16,.5);display:flex;align-items:flex-end;justify-content:center}
.sheet-bg[hidden]{display:none}
@media (min-width:760px){.sheet-bg{align-items:center}}
.sheet{position:relative;background:var(--sp-paper);color:var(--sp-ink);width:min(440px,100%);max-height:100dvh;overflow-y:auto;
  padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));border:1px solid var(--sp-ink);display:flex;flex-direction:column;gap:12px;
  font:400 15px/1.5 var(--sp-sans)}
.sheet-close{all:unset;position:absolute;top:6px;right:8px;width:22px;height:22px;display:grid;place-items:center;font:400 18px/1 sans-serif;cursor:pointer}
.sheet-close:focus-visible{outline:2px solid var(--sp-signal);outline-offset:2px}
.sheet h3{margin:0;font:700 19px/1.2 var(--sp-sans)}.sheet p{margin:0;font-size:14px;color:var(--sp-mute)}
.sheet input{font:inherit;font-size:15px;padding:11px;border:1px solid var(--sp-ink);background:var(--sp-card);color:var(--sp-ink)}
.sheet .seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:1px solid var(--sp-ink)}
.sheet .seg button{all:unset;cursor:pointer;text-align:center;padding:11px 8px;font:600 13px/1.2 var(--sp-sans)}
.sheet .seg button+button{border-left:1px solid var(--sp-ink)}
.sheet .seg button[aria-checked=true]{background:var(--sp-ink);color:var(--sp-paper)}
.sheet .qr{display:flex;gap:14px;align-items:center;border:1px solid var(--sp-rule);padding:12px;background:var(--sp-card)}
.sheet .qr img{width:116px;height:116px;background:#fff;padding:6px;flex:none}
.sheet .qr .btn{min-width:44px;min-height:44px;font-size:20px;border:0;background:transparent;padding:8px}
.sheet .share-link-row{display:flex;gap:8px;min-width:0}.sheet .share-link-row input{flex:1;min-width:0;text-overflow:ellipsis}.sheet .share-link-row button{flex:none}
.sheet .act{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.sheet [hidden]{display:none!important}
.sheet .btn.sig{background:var(--sp-signal);border-color:var(--sp-signal);color:var(--sp-on-accent,#fff)}  /* the signal colour marks the one action, as on the person page */
/* what goes in the link: quiet outlined chips, all ticked; a ticked one is lit in the signal colour, never a black fill */
.sheet .sh-places{display:flex;flex-wrap:wrap;gap:6px}
.sheet .sh-places button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--sp-rule);border-radius:999px;font:500 12px/1.2 var(--sp-mono);color:var(--sp-mute)}
.sheet .sh-places button[aria-pressed=true]{border-color:var(--sp-signal);color:var(--sp-ink)}
.sheet .sh-places button[aria-pressed=true]::before{content:"";width:8px;height:4px;border-left:1.6px solid var(--sp-signal);border-bottom:1.6px solid var(--sp-signal);transform:translateY(-2px) rotate(-45deg)}
.sheet .sh-places button:focus-visible{outline:2px solid var(--sp-signal);outline-offset:2px}
