/* Guests: the Guest badge, the "friends can see this" marker, the channel menu switch and the owner's invite sheet.
   Same tokens as the rest of Denski (app.css :root); nothing new in colour or type. */
.gbadge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  line-height: 1.5; vertical-align: 1px; color: var(--dim); background: var(--raise); box-shadow: inset 0 0 0 1px var(--hair, var(--line)); }
.tile .lbl .gbadge { margin-left: 4px; }
.vm .gbadge { font-size: 10px; padding: 0 5px; }
.gmark { display: inline-grid; place-items: center; flex: none; color: var(--accent); margin-left: auto; margin-right: 2px; }
.gmark + .more, .gmark + .badge { margin-left: 0; }
.chan .nm { min-width: 0; }

/* channel menu: the owner's "Friends can see this channel" switch */
.popover .cmrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 4px 12px; min-height: 44px; font-weight: 600; border-top: 1px solid var(--line); margin-top: var(--s1); }
.popover .cmrow[hidden] { display: none; }
.popover .cmrow .switch { width: 52px; height: 44px; }
.popover .cmrow .switch i { inset: 8px 3px; }

/* the button above the people list */
.invitebtn { display: flex; align-items: center; justify-content: center; gap: var(--s2); width: calc(100% - var(--s2) * 2); margin: 0 var(--s2) var(--s2); min-height: 44px; }
.invitebtn[hidden] { display: none; }
.invitebtn svg.i { width: 16px; height: 16px; }

/* the sheet */
.guestsheet .setgroup h3 { margin-top: var(--s4); }
.guestsheet .gsstay .nsseg { display: flex; width: 100%; }
.guestsheet .gsstay .nsseg button { flex: 1; padding: 0 var(--s2); min-height: 44px; }
.guestsheet .gsmake { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s4); }
.guestsheet .gsmakebtn { width: 100%; min-height: 48px; }
.guestsheet .gslink, .guestsheet .gsemail { width: 100%; min-width: 0; box-sizing: border-box; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 14px; height: 48px; font-size: 16px; }
.guestsheet .gslink { font-family: var(--font-mono); font-size: 13px; text-overflow: ellipsis; }
.guestsheet .gsbtns { display: flex; gap: var(--s2); }
.guestsheet .gsbtns .pillbtn { flex: 1; }
.guestsheet .gsbtns .pillbtn:disabled { opacity: .45; }
.guestsheet .gsnote { margin: 0; min-height: 1.4em; }
.guestsheet .gsmailrow { display: flex; gap: var(--s2); align-items: stretch; }
.guestsheet .gsemail { flex: 1; }
.guestsheet .gssend { flex: none; min-width: 84px; }
.guestsheet .gsstatus { margin: var(--s2) 0 0; min-height: 2.8em; line-height: 1.4; color: var(--dim); }
.guestsheet .gsstatus.ok { color: var(--go); }
.guestsheet .gsstatus.err { color: #ffb4b4; }
.guestsheet .gsrow { border-top: 1px solid var(--line); }
.guestsheet .gsrow:first-child { border-top: 0; }
.guestsheet .gsrow .dinfo { min-width: 140px; }
.guestsheet .gsempty { margin: 0; padding: var(--s2) 0; }
.guestsheet .gsdot { position: static; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border: 0; vertical-align: 1px; }
.guestsheet .pillbtn.danger { color: var(--stop); }
