/* v237: an accessible invite hub, scoped to invitations and contact requests. */
#social-new-invite{position:relative}
.halo-invite-badge{position:absolute;top:-6px;right:-7px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:20px;background:#4c7dff;color:#fff;font:700 11px/1 system-ui;border:2px solid var(--hf-bg,#10121d)}
.halo-invite-badge[hidden]{display:none}
#halo-search-dialog.halo-invite-dialog{width:min(620px,calc(100vw - 32px));max-width:620px;max-height:min(86dvh,850px);padding:0;animation:none!important;transform:none!important;border:1px solid rgba(143,161,219,.25);border-radius:26px;color:var(--hf-text,#edf1ff);background:var(--hf-panel,#141827);box-shadow:0 24px 90px #0008;overflow:auto;overscroll-behavior:contain}
#halo-search-dialog::backdrop{background:#060813a8;backdrop-filter:blur(8px)}
.halo-invite-dialog .halo-search-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #889ac822;background:var(--hf-panel,#141827)}
.halo-invite-dialog .halo-search-dialog-head strong{font-size:14px}
.halo-invite-dialog .halo-search-dialog-close{width:36px;height:36px;border:1px solid #92a1c929;border-radius:12px;color:inherit;background:#92a1c910;cursor:pointer;font-size:22px}
#halo-search-dialog .halo-invite-hub{border:0;box-shadow:none;background:transparent;padding:24px;display:block}
.halo-invite-intro{display:flex;gap:16px;align-items:center;margin-bottom:24px}
.halo-invite-intro .overline{color:var(--hf-blue,#4c7dff);font-size:10px;letter-spacing:1.6px;margin:0 0 6px}
.halo-invite-intro h2{font-size:26px;letter-spacing:-.6px;margin:0 0 8px}
.halo-invite-intro p:last-child{margin:0;opacity:.7;line-height:1.5;font-size:13px}
.halo-invite-symbol{flex:none;width:54px;height:54px;display:grid;place-items:center;border-radius:18px;border:1px solid #4c7dff40;background:linear-gradient(140deg,#4c7dff25,#40d9ff13);color:#779dff;font-size:32px;font-weight:300}
.halo-invite-share{display:flex;gap:16px;align-items:center;padding:17px;margin-bottom:24px;border:1px solid #829ce12e;border-radius:18px;background:linear-gradient(110deg,#4c7dff14,#40d9ff06)}
.halo-invite-share div{flex:1;min-width:0}.halo-invite-share strong,.halo-invite-share small{display:block}.halo-invite-share strong{font-size:13px}.halo-invite-share small{font-size:11px;opacity:.65;line-height:1.5;margin-top:5px}
.halo-invite-hub button{font-family:inherit;font-weight:600;font-size:12px;line-height:1.35;cursor:pointer;min-height:40px;color:inherit}
.halo-invite-share button{flex:none;padding:10px 16px;border:1px solid #4c7dff55;border-radius:12px;background:#4c7dff26;color:#91aeff}
.halo-invite-search-label{display:block;font-weight:600;font-size:12px;margin:0 0 10px}
.halo-invite-hub .halo-search-control{border:1px solid #92a1c935;border-radius:14px;min-height:48px;background:#829ce10a;display:flex;align-items:center;gap:10px;padding:0 14px}
.halo-invite-hub .halo-search-control:focus-within{border-color:var(--hf-blue,#4c7dff);box-shadow:0 0 0 3px #4c7dff12}
.halo-invite-hub .halo-search-control input{border:0;background:transparent;box-shadow:none;outline:none;min-width:0;width:100%;font-size:16px;color:inherit;padding:12px 0}
.halo-invite-hub .halo-search-control button{background:none;border:0;font-size:20px}
.halo-invite-hub .halo-help{font-size:11px;opacity:.6;line-height:1.6;margin:10px 0}
.halo-invite-hub .halo-request-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #92a1c922}
.halo-request-tabs{display:flex;gap:4px;min-width:0;background:#829ce10a;border:1px solid #92a1c921;border-radius:12px;padding:4px}
.halo-request-tabs button{display:flex;align-items:center;gap:8px;border:0;background:transparent;border-radius:8px;padding:9px 12px;opacity:.6;white-space:normal}
.halo-request-tabs button[aria-selected=true]{opacity:1;background:#4c7dff26;color:#a5bcff}
.halo-request-tabs b{min-width:20px;border-radius:6px;background:#8ea5df16;padding:2px 5px;font-size:10px;font-variant-numeric:tabular-nums}
#halo-refresh-requests{width:40px;border:1px solid #92a1c927;border-radius:12px;background:#92a1c90b;font-size:22px}
.halo-invite-hub .halo-person-row{padding:16px 0;margin:0;border:0;border-bottom:1px solid #92a1c919;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center}
.halo-invite-hub .halo-person-avatar{width:44px;height:44px;border-radius:15px;background:linear-gradient(140deg,#4c7dff26,#40d9ff15);display:grid;place-items:center;color:#a4bdff;font-size:14px}
.halo-invite-hub .halo-person-details{min-width:0}.halo-invite-hub .halo-person-details strong{font-size:13px}.halo-invite-hub .halo-person-details span,.halo-invite-hub .halo-person-details small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;opacity:.55;margin-top:4px}
.halo-invite-hub .halo-person-actions{display:flex;gap:6px}.halo-invite-hub .halo-person-actions button{padding:9px 12px;border:1px solid #92a1c92c;background:transparent;border-radius:11px}.halo-invite-hub .halo-person-actions .is-primary{background:var(--hf-blue,#4c7dff);color:white;border-color:transparent}
.halo-request-pending{padding:8px 10px;border-radius:9px;background:#f5b84b13;color:#ddbd83;font-size:11px}.halo-request-empty{padding:34px 10px;text-align:center}.halo-request-empty strong{font-size:13px}.halo-request-empty p{font-size:12px;opacity:.55;line-height:1.5}.halo-request-highlight{background:#4c7dff16!important;border-radius:12px}
.halo-invite-hub button:disabled{opacity:.45;cursor:default}.halo-invite-hub button:focus-visible,.halo-invite-dialog button:focus-visible{outline:2px solid #85a5ff;outline-offset:3px}
#social-invite-dialog .social-dialog-card{border-radius:26px;padding:30px;background:var(--hf-panel,#141827);border:1px solid #92a1c92c;max-width:480px;box-shadow:0 24px 80px #0007}
#social-invite-dialog .social-dialog-mark{border-radius:18px;background:linear-gradient(140deg,#4c7dff26,#40d9ff15);border:1px solid #4c7dff33;color:#8aadff}#social-invite-dialog .social-invite-field{border-radius:14px;overflow:hidden}#social-share-invite{width:100%;margin-top:18px;min-height:44px;border-radius:13px}#social-create-another{margin-top:12px;width:100%;border-radius:13px}
@media(max-width:600px){#halo-search-dialog.halo-invite-dialog{width:calc(100vw - 20px);max-height:88dvh;border-radius:22px}.halo-invite-dialog .halo-search-dialog-head{padding:14px 18px}#halo-search-dialog .halo-invite-hub{padding:20px 18px}.halo-invite-intro h2{font-size:23px}.halo-invite-share{align-items:flex-start;flex-wrap:wrap}.halo-invite-share button{width:100%}.halo-invite-hub .halo-person-row{grid-template-columns:40px minmax(0,1fr)}.halo-invite-hub .halo-person-avatar{width:40px;height:40px}.halo-invite-hub .halo-person-actions{grid-column:2;flex-wrap:wrap}.halo-invite-hub .halo-person-actions button{min-height:40px;flex:1}.halo-request-tabs button{padding:8px 9px}#social-invite-dialog .social-dialog-card{padding:24px 18px;width:calc(100vw - 28px)}}
@media(prefers-reduced-motion:reduce){.halo-invite-dialog *{scroll-behavior:auto!important}}

.halo-invite-symbol svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
