/* Lovable design: people screens, matched to the Lovable design. Every rule sits under :root[data-lovable]. */

/* --lv-ph is the placeholder portrait for a person with no photo (drawn here: the server serves no sub-folder of /static),
   in black and white over --lv-ph-bg so it follows the theme.
   Page-level tokens kept under their own names: inside a light card the theme re-defines --ink, --muted… for the card,
   and a few pieces (chat bubbles, empty messages) sit inside such a card but are drawn on the dark page.
   --lv-msg-out* are the design's outgoing-bubble colours (styles.css --message-outgoing). */
:root[data-lovable] { --lv-pg-ink: var(--ink); --lv-pg-muted: var(--muted); --lv-pg-line: var(--line); --lv-pg-bg: var(--bg);
  --lv-pg-accent: var(--accent); --lv-pg-accent-ink: var(--accent-ink); --lv-pg-2: var(--soft); --lv-msg-out: oklch(0.82 0 0); --lv-msg-out-ink: oklch(0.22 0 0);
  --lv-brand: #0F50FB; --lv-brand-ink: #FFFFFF; --lv-secondary: oklch(0.24 0 0);
  --lv-ph-bg: color-mix(in srgb, var(--ink) 60%, var(--lv-secondary));
  --lv-ph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='white' stop-opacity='.38'/%3E%3Cstop offset='1' stop-color='black' stop-opacity='.22'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='128' height='128' fill='url(%23g)'/%3E%3Cpath d='M14 128c2-24 20-37 50-37s48 13 50 37z' fill='black' fill-opacity='.74'/%3E%3Cpath d='M52 78h24v16c0 7-5 12-12 12s-12-5-12-12z' fill='white' fill-opacity='.6'/%3E%3Cpath d='M46 92l18 16 18-16 6 3-24 26-24-26z' fill='black' fill-opacity='.45'/%3E%3Cellipse cx='64' cy='54' rx='23' ry='27' fill='white' fill-opacity='.86'/%3E%3Cpath d='M39 52c-2-22 10-33 26-33s27 10 24 33c-3-11-9-17-13-19-8 5-24 5-31 3-3 4-5 9-6 16z' fill='black' fill-opacity='.74'/%3E%3C/svg%3E"); --lv-snug: 1.4286; }
/* The design's brand colour (styles.css --brand) and its secondary surface, on the black page. With "Blue theme" on
   (html.themed) this rule steps aside and the theme's own accent is used: white on the coloured page, as in the design. */
:root[data-lovable]:not(.themed) { --lv-pg-2: var(--lv-secondary); }

/* ---------- Speakers list (routes/event.$eventId_.speakers.tsx) ----------
   A 64px photo, name 17px, role 14px, company 13px in capitals, the bookmark at the top right. No role labels, no
   search row and no A–Z row (the search is the title bar's). */
:root[data-lovable] [data-panel="speakers"] :is(.role-badge, label.search, .azchips) { display: none; }
:root[data-lovable] [data-panel="speakers"] .people { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root[data-lovable] [data-panel="speakers"] .people li { gap: 12px; padding: 16px 64px 16px 16px; border-color: var(--surface); }
:root[data-lovable] [data-panel="speakers"] .people li > div { display: block; }
:root[data-lovable] [data-panel="speakers"] .people :is(img, .avatar) { width: 64px; height: 64px; border-radius: var(--r); }
:root[data-lovable] [data-panel="speakers"] :is(.pname, .ptitle, .pco) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: var(--lv-snug); }
:root[data-lovable] [data-panel="speakers"] .people li > .bmtog, :root[data-lovable] [data-panel="speakers"] .people li > .bmtog-f { top: 12px; right: 12px; }
:root[data-lovable] [data-panel="speakers"] .bmtog .ic { width: 20px; height: 20px; stroke-width: 1.6; }
/* the saved bookmark takes the accent (app.css, the shared Lovable rules) */
:root[data-lovable] .lv-none { margin: 0; padding: 40px 0; text-align: center; font-size: 1rem; color: var(--lv-pg-muted); }
:root[data-lovable] .lv-none[hidden] { display: none; }

/* ---------- Speaker and attendee detail (speakers_.$speakerId.tsx, components/attendee-profile.tsx) ----------
   The title bar carries only the back arrow until the sheet is raised; then a small photo, the name and the bookmark.
   The hero is photo, name, role and company; the save button rides the sheet's edge. */
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) :is(.dt-crumb, .dt-search, .dt-share, .dt-chips, .dt-links, .dt-actions) { display: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-back .ic { width: 28px; height: 28px; stroke-width: 1.8; }
:root[data-lovable] .dt .lv-cav { display: none; place-items: center; width: 36px; height: 36px; flex: none; overflow: hidden; border-radius: var(--r); background: var(--tile); color: var(--tile-ink); }
:root[data-lovable] .dt .lv-cav img { display: block; width: 100%; height: 100%; object-fit: cover; }
:root[data-lovable] .dt.dt-expanded .lv-cav { display: grid; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-ctitle { margin-left: 4px; font-size: 1.125rem; }
:root[data-lovable] .dt .lv-barsave { display: none; cursor: pointer; }
:root[data-lovable] .dt.dt-expanded .lv-barsave { display: grid; }
:root[data-lovable] .dt .lv-barsave .ic { width: 24px; height: 24px; stroke-width: 1.8; }
:root[data-lovable] .dt .lv-barsave.on { color: var(--lv-pg-accent); }
:root[data-lovable] .dt .lv-barsave.on .ic { fill: currentColor; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-top { gap: 8px; height: 56px; padding: 0 20px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-back { margin-left: -4px; }
/* the title bar sits on the page itself (the same satin surface as the event screens' title bar), not on a darker band */
:root[data-lovable][data-theme="noir"][data-scheme="dark"] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-top { background-color: var(--bg); background-image: var(--sheen); background-size: 100% 100vh; background-size: 100% 100dvh;
  background-position: center top; background-repeat: no-repeat; background-attachment: fixed; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* hero */
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero { box-sizing: border-box; min-height: 236px; padding: 8px 20px 28px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-hero { min-height: 304px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero-in { display: block; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-media { width: 88px; height: 88px; margin: 0 auto; border: 0; border-radius: 20px; box-shadow: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-title { margin: 12px 0 0; font-size: 1.625rem; font-weight: 600; line-height: 1.25; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) :is(.dt-sub, .dt-co) { margin: 0; padding: 0 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-sub { margin-top: 4px; font-size: 0.9375rem; color: var(--ink); }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-co { font-size: 0.875rem; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 75%, transparent); }
/* an attendee's role and company share one line: "Role, Company" */
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) :is(.dt-sub, .dt-co) { display: inline; margin: 0; padding: 0; font-size: 0.9375rem; line-height: 1.5; text-transform: none; white-space: normal; color: var(--ink); }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-title { margin-bottom: 4px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-sub + .dt-co::before { content: ", "; }
/* the photo behind the hero: a light blur under a shade that fades into the page, reaching up behind the title bar */
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero { margin-top: -56px; padding-top: 64px; min-height: 292px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-hero { min-height: 360px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero:not(.has-img)::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--lv-ph-bg) var(--lv-ph) center / cover no-repeat; filter: blur(8px); transform: scale(1.1); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-heroimg { inset: 0; width: 100%; height: 100%; filter: blur(8px); opacity: 1; transform: scale(1.1); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; width: auto; height: auto; border-radius: 0;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--bg) 40%, transparent), var(--bg)); }
:root[data-lovable]:root .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])):not(.dt-expanded) .dt-top { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the sheet: handle, tabs as pills, 24px side padding */
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-sheet { margin-top: 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-handle { margin-bottom: 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-handle span { background: color-mix(in srgb, var(--ink) 15%, transparent); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-seg { top: calc(var(--top-h) + 56px + env(safe-area-inset-top)); gap: 8px; margin-bottom: 0; padding: 12px 24px; background: var(--surface); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-seg a { min-height: 40px; padding: 0 16px; border: 0; background: none; color: var(--ink); font-size: 0.9375rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 22%, transparent); }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-seg a { padding: 0 24px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-seg a.on { background: var(--ink); color: var(--surface); box-shadow: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) :is(.dt-seg a[href="#d-contact"], .dt-seg a[href="#d-rating"], #d-contact, #d-rating) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) :is(.dt-seg a[href="#d-meet"], .dt-seg a[href="#d-posts"], .dt-seg a[href="#d-safety"], #d-meet, #d-posts, #d-safety, .dt-sheet > .notice) { display: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-sec { padding: 8px 4px 12px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-sec > h2 { margin: 0 0 12px; font-size: 1.3125rem; font-weight: 600; line-height: 1.5; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-sec > :is(.dt-prose, p.muted) { margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.625; color: var(--muted); }
/* Sessions and Resources: plain tinted cards, no heading, no time-zone switch, no chevron */
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) :is(#d-sessions, #d-resources) > :is(h2, .tzrow, p.tiny), :root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-sec :is(.dt-chev, .role-badge, .dt-when .ic, .sres-act) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-list { gap: 12px; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-card { min-height: 0; padding: 16px; border: 0; border-radius: var(--r); background: color-mix(in srgb, var(--ink) 5%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-when { font-size: 0.8125rem; font-weight: 400; line-height: 1.5; color: var(--muted); }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-cardtitle { font-size: 1rem; font-weight: 600; line-height: 1.5; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-cardmeta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .dt-cardmeta .roomlink { padding: 0; text-decoration: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .sres .dt-cardtitle { font-size: 0.9375rem; font-weight: 400; }
:root[data-lovable] .dt:has(.dt-back[href$="#speakers"]) .sres .dt-cardmeta { display: none; }
/* tags on an attendee's page */
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-h3 { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-tags + .dt-tags, :root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-h3 + .dt-tags { margin-top: 8px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-tags li { padding: 8px 12px; border: 0; border-radius: 4px; background: color-mix(in srgb, var(--ink) 5%, transparent); font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
/* the round save button on the sheet's edge */
:root[data-lovable] .dt .dt-fabsave { right: 24px; text-decoration: none; }
:root[data-lovable] .dt .dt-fabsave.lv-fab { background: var(--lv-pg-accent); color: var(--lv-pg-accent-ink); }
:root[data-lovable] .dt .dt-fabsave .ic { stroke-width: 1.6; }

/* ---------- Attendees list (components/attendee-list-screen.tsx): the People screen, signed in ----------
   All / Group / Matching pills, then one card per person: 64px photo, name, role, company. */
:root[data-lovable] .lv-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0 0 12px; }
:root[data-lovable] .lv-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 22%, transparent); cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root[data-lovable] .lv-tabs button[aria-selected="true"] { background: var(--lv-pg-accent); color: var(--lv-pg-accent-ink); box-shadow: none; }
:root[data-lovable] .lv-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-lovable] .lv-tabs select { flex: 1 1 100%; width: 100%; height: 36px; min-height: 36px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--lv-pg-2); color: var(--ink); font: inherit; font-size: 0.875rem; -webkit-appearance: menulist; appearance: auto; }
:root[data-lovable] .lv-tabs select[hidden] { display: none; }
:root[data-lovable] [data-panel="people"] :is(.net-profile, .net-sec > h2, .net-sec > p.tiny, .net-search, [data-net-more], .net-sec:has(> h3)) { display: none; }
:root[data-lovable] [data-panel="people"]:is([data-lovable-view="all"], [data-lovable-view="group"]) [data-why-matched] { display: none; }
:root[data-lovable] [data-panel="people"][data-lovable-view="matching"]:has([data-why-matched]) .net-sec:not([data-why-matched]) { display: none; }
:root[data-lovable] [data-panel="people"] .net-sec { margin: 0; }
:root[data-lovable] [data-panel="people"] .net-sec > p.small { margin: 0; padding: 40px 0; text-align: center; font-size: 1rem; }
:root[data-lovable] [data-panel="people"] .net-people { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root[data-lovable] [data-panel="people"] .net-person { position: relative; align-items: center; gap: 12px; min-height: 100px; padding: 16px 60px 16px 16px; border-color: var(--surface); border-radius: var(--r); }
:root[data-lovable] [data-panel="people"] .net-person.lv-off { display: none; }
:root[data-lovable] [data-panel="people"] .net-person .av { width: 64px; height: 64px; border-radius: var(--r); background: var(--tile); color: var(--tile-ink); }
:root[data-lovable] [data-panel="people"] .net-pbody { display: block; flex: 1; min-width: 0; }
:root[data-lovable] [data-panel="people"] .net-plink { display: block; min-height: 0; }
:root[data-lovable] [data-panel="people"] .net-plink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
:root[data-lovable] [data-panel="people"] .net-plink:focus-visible { outline: none; }
:root[data-lovable] [data-panel="people"] .net-person:has(.net-plink:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-lovable] [data-panel="people"] .net-plink:hover .pname { text-decoration: none; }
:root[data-lovable] [data-panel="people"] :is(.pname, .ptitle, .ptitle .lv-l) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: var(--lv-snug); }
:root[data-lovable] [data-panel="people"] .pname { font-size: 1.0625rem; font-weight: 600; }
:root[data-lovable] [data-panel="people"] .ptitle { font-size: 0.875rem; color: var(--muted); }
:root[data-lovable] [data-panel="people"] .net-pbody > :not(.net-plink, .ptitle) { display: none; }

/* ---------- Saved Cards (routes/…attendees_.saved.tsx): the Connections screen, signed in ----------
   Only the people you swapped cards with, as the same cards as the Attendees list; a back arrow in place of the menu. */
:root[data-lovable] .app[data-screen="connections"] .evbar :is(.evmenu-btn, .evbell) { display: none; }
:root[data-lovable] .app[data-screen="connections"] .evbar .evback { display: grid; }
:root[data-lovable] .app[data-screen="meet"] .evbar .evbell { display: none; } /* Messages: the search alone, as in the design */
@media (max-width: 767.98px) { :root[data-lovable] .app:is([data-screen="connections"], [data-screen="meet"]) .evbar .evsearch-btn { margin-right: -4px; } }
:root[data-lovable] [data-panel="connections"] .xp-conn > section:not([data-connections]) { display: none; }
:root[data-lovable] [data-panel="connections"] [data-connections] { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
:root[data-lovable] [data-panel="connections"] [data-connections] > :is(h2, h3, ul:not(.xp-people)) { display: none; }
:root[data-lovable] [data-panel="connections"] [data-connections] > p { margin: 0; padding: 40px 0; text-align: center; font-size: 1rem; color: var(--lv-pg-muted); }
:root[data-lovable] [data-panel="connections"] .xp-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root[data-lovable] [data-panel="connections"] .xp-people > li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 100px; padding: 16px 60px 16px 16px; border: 1px solid var(--surface); border-radius: var(--r); background: var(--surface); color: var(--ink); }
:root[data-lovable] [data-panel="connections"] .xp-people > li > :is(.row, form), :root[data-lovable] [data-panel="connections"] .xp-people > li > div br, :root[data-lovable] [data-panel="connections"] .xp-people > li > div > span.small:not(.muted) { display: none; }
:root[data-lovable] [data-panel="connections"] .xp-people > li > div { flex: 1; min-width: 0; }
:root[data-lovable] [data-panel="connections"] .xp-people > li > div > :is(b, span.small), :root[data-lovable] [data-panel="connections"] .xp-people .lv-l { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: var(--lv-snug); }
:root[data-lovable] [data-panel="connections"] .xp-people > li > div > b { font-size: 1.0625rem; font-weight: 600; }
:root[data-lovable] [data-panel="connections"] .xp-people > li > div > span.small { font-size: 0.875rem; color: var(--muted); }
:root[data-lovable] .lv-av { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: var(--r); background: var(--tile); color: var(--tile-ink); }
/* a person with no photo gets the placeholder portrait, so every card has the design's square photo */
:root[data-lovable] :is([data-panel="speakers"] .people .avatar.pav-tile, [data-panel="people"] .net-person .av.pav-tile, .lv-av, .dt .lv-cav:not(:has(img))),
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-media .dt-ini { background: var(--lv-ph-bg) var(--lv-ph) center / cover no-repeat; }
:root[data-lovable] :is([data-panel="speakers"] .people .avatar.pav-tile, [data-panel="people"] .net-person .av.pav-tile, .lv-av, .dt .lv-cav) > .pav, :root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-media .dt-ini > .pav { display: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-media .dt-ini { display: block; width: 100%; height: 100%; }
/* the bookmark at the top right of an attendee card (display only: the app keeps no saved list of people) */
:root[data-lovable] .lv-bm { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root[data-lovable] .lv-bm .ic { width: 20px; height: 20px; stroke-width: 1.6; }
:root[data-lovable] .lv-bm.on { color: var(--accent); }
:root[data-lovable] .lv-bm.on .ic { fill: currentColor; }
:root[data-lovable] .lv-bm:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-lovable] .lv-find { display: none; }

/* ---------- Messages inbox (routes/event.$eventId_.messages.tsx): the Meetings & messages screen, signed in ----------
   Only the conversations: All / Unread pills, then one card per conversation (the whole card opens the chat). */
:root[data-lovable] [data-panel="meet"] .net-meet > :not([data-chat-list], .lv-tabs, .lv-newmsg) { display: none; }
:root[data-lovable] [data-panel="meet"] .lv-tabs { flex-wrap: nowrap; padding: 0 0 19px; }
/* the design's "Opt out" switch and floating new-message button */
:root[data-lovable] .lv-opt { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-left: auto; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
:root[data-lovable] .lv-switch { position: relative; display: block; width: 36px; height: 20px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
:root[data-lovable] .lv-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
:root[data-lovable] .lv-newmsg { position: fixed; z-index: 20; right: max(20px, calc(50% - 280px)); bottom: calc(96px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r);
  background: var(--lv-pg-accent); color: var(--lv-pg-accent-ink); box-shadow: 0 8px 24px color-mix(in srgb, var(--bg) 45%, transparent); cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root[data-lovable] .lv-newmsg::before { content: ""; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .lv-newmsg:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-lovable] [data-panel="meet"] .lv-tabs button { height: 32px; font-size: 0.8125rem; }
:root[data-lovable] [data-panel="meet"] .lv-tabs .lv-n { font-size: 0.6875rem; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] { margin: 0; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] > :is(h2, p.small:not(.muted)) { display: none; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] > :is(p.muted, .lv-none) { margin: 0; padding: 64px 0; text-align: center; font-size: 0.9375rem; line-height: 1.5; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] > :is(p.muted, .lv-none)::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] [data-panel="meet"] [data-chat-list]:has(.lv-none:not([hidden])) > p.muted { display: none; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li { position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--surface); border-radius: var(--r);
  background: var(--surface); color: var(--ink); }
:root[data-lovable] [data-panel="meet"][data-lovable-view="unread"] [data-chat-list] .list > li:not(:has([data-peer-unread])) { display: none; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .lv-av { width: 48px; height: 48px; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li > span:not(.lv-av) { flex: 1; min-width: 0; display: grid; gap: 4px; padding-right: 32px; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 600; line-height: var(--lv-snug); }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li .tiny { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; line-height: var(--lv-snug); color: var(--muted); }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li:has([data-peer-unread]) .tiny { font-weight: 500; color: var(--ink); }
:root[data-lovable] [data-panel="meet"] [data-chat-list] [data-peer-unread] { position: absolute; top: 50%; right: 16px; width: 20px; min-width: 20px; height: 20px; min-height: 20px; margin-top: 2px; padding: 0; border-radius: 50%; background: var(--ink); color: var(--surface);
  font-size: 0.625rem; font-weight: 600; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li > a.btn { position: absolute; inset: 0; min-height: 0; padding: 0; border: 0; border-radius: inherit; background: none; color: transparent; font-size: 0; filter: none; transform: none; }
:root[data-lovable] [data-panel="meet"] [data-chat-list] .list > li > a.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Chat (routes/event.$eventId_.messages_.$attendeeId.tsx): /e/<event>/net/dm/<person> ----------
   A header row (back arrow, photo, name), bubbles (mine grey on the right, theirs dark with an outline on the left), and
   one message field with the attach and sticker buttons inside it and a round send button beside it. */
:root[data-lovable] body:has(> main > .net-dm.chat) > .foot { display: none; }
:root[data-lovable] main:has(> .net-dm.chat) { padding-bottom: 0; }
/* the page has no brand strip of its own: the site header is drawn as one (48px, "Powered by" and the logo on the right) */
:root[data-lovable] body:has(> main > .net-dm.chat) > .top { position: static; justify-content: flex-end; min-height: calc(48px + env(safe-area-inset-top)); border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 0 0 14px 14px; background: var(--lv-pg-2); box-shadow: none; }
:root[data-lovable] body:has(> main > .net-dm.chat) > .top nav { display: none; }
:root[data-lovable] body:has(> main > .net-dm.chat) > .top .brand { gap: 8px; }
:root[data-lovable] body:has(> main > .net-dm.chat) > .top .brand::before { content: "Powered by"; font-size: 0.5625rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
:root[data-lovable] body:has(> main > .net-dm.chat) > .top .logo { height: 16px; }
:root[data-lovable] .net-dm.chat { position: relative; display: flex; flex-direction: column; min-height: calc(100vh - 49px); min-height: calc(100dvh - 49px - env(safe-area-inset-top)); margin: 0 calc(-1 * var(--gutter, 20px)); padding: 0; }
:root[data-lovable] .net-dm.chat > p:first-child { position: absolute; z-index: 2; top: 10px; left: 20px; margin: 0; }
:root[data-lovable] .net-dm.chat > p:first-child a { display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; color: var(--ink); font-size: 0; text-decoration: none; }
:root[data-lovable] .net-dm.chat > p:first-child a::before { content: ""; width: 28px; height: 28px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .net-dm.chat .chat-head { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 12px; height: 56px; padding: 0 20px 0 64px; background: var(--lv-pg-2); border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
:root[data-lovable] .net-dm.chat .chat-head h1 { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
:root[data-lovable] .net-dm.chat .chat-head > :not(h1, .lv-av, .lv-more, .lv-menu) { display: none; }
:root[data-lovable] .net-dm.chat .chat-head .lv-av { width: 40px; height: 40px; }
:root[data-lovable] .net-dm.chat > :is(.chat-lock, .chat-safety, .chat-prefs, [data-spot-sheet]) { display: none; }
:root[data-lovable] .net-dm.chat > .notice { margin: 12px 20px 0; padding: 0; border: 0; background: none; text-align: center; font-size: 0.75rem; color: var(--muted); }
:root[data-lovable] .net-dm.chat > :is(#dm-empty, .chat-typing, .net-dmerr) { margin: 0; padding: 0 20px 8px; text-align: center; }
/* an empty chat opens on the person: photo and name, as in the design */
:root[data-lovable] .net-dm.chat > #dm-empty { padding: 48px 20px; font-size: 0.8125rem; }
:root[data-lovable] .net-dm.chat > #dm-empty[data-lv-name] { font-size: 0; color: var(--lv-pg-ink); }
:root[data-lovable] .net-dm.chat > #dm-empty[data-lv-name]::before { content: ""; display: block; width: 48px; height: 48px; margin: 0 auto 16px; border-radius: var(--r); background: var(--lv-ph-bg) var(--lv-ph) center / cover no-repeat; }
:root[data-lovable] .net-dm.chat > #dm-empty[data-lv-name]::after { content: attr(data-lv-name); display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
:root[data-lovable] .net-dm.chat .net-thread { flex: 1; align-content: start; gap: 0; margin: 0; padding: 20px 20px 0; }
:root[data-lovable] .net-dm.chat .net-thread:empty { display: none; }
:root[data-lovable] .net-dm.chat .net-thread li { max-width: 86%; margin: 0 0 24px; padding: 12px 16px; border-radius: 16px; }
:root[data-lovable] .net-dm.chat .net-thread li.mine:has(+ li.mine), :root[data-lovable] .net-dm.chat .net-thread li.theirs:has(+ li.theirs) { margin-bottom: 8px; }
:root[data-lovable] .net-dm.chat .net-thread li.mine { border-color: transparent; border-bottom-right-radius: 8px; background: var(--lv-msg-out); color: var(--lv-msg-out-ink); }
:root[data-lovable] .net-dm.chat .net-thread li.theirs { justify-self: start; border: 1px solid var(--lv-pg-line); border-bottom-left-radius: 8px; background: var(--lv-pg-2); color: var(--lv-pg-ink); }
:root[data-lovable] .net-dm.chat .net-thread li.k-sticker { border-color: transparent; background: none; }
:root[data-lovable] .net-dm.chat .net-thread li > p { margin: 0; font-size: 0.875rem; line-height: 1.65; overflow-wrap: anywhere; }
:root[data-lovable] .net-dm.chat .chat-meta { margin-top: 8px; gap: 6px; font-size: 0.625rem; line-height: 1.5; opacity: .6; }
:root[data-lovable] .net-dm.chat .chat-meta :is(.seen, .chat-trb, .chat-rep) { display: none; }
:root[data-lovable] .net-dm.chat .chat-meta .tick { color: inherit; }
/* the message bar */
:root[data-lovable] .net-dm.chat .chat-composer { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px 58px; align-items: end; gap: 0 4px; margin: auto 0 0; padding: 12px 16px max(16px, env(safe-area-inset-bottom)) 25px;
  border-top: 1px solid color-mix(in srgb, var(--lv-pg-line) 60%, transparent); border-radius: 0; background: var(--lv-pg-bg); color: var(--lv-pg-ink); }
:root[data-lovable] .net-dm.chat .chat-composer::before { content: ""; grid-column: 1 / 4; grid-row: 1; align-self: stretch; margin: 0 -9px; border: 1px solid var(--lv-pg-line); border-radius: 24px; background: var(--lv-pg-2); }
:root[data-lovable] .net-dm.chat .chat-tools { display: contents; }
:root[data-lovable] .net-dm.chat .chat-composer textarea { grid-column: 2; grid-row: 1; z-index: 1; flex: none; width: 100%; height: 36px; min-height: 36px; max-height: 96px; margin: 6px 0; padding: 8px 0; border: 0; border-radius: 0; background: none; color: var(--lv-pg-ink);
  font-size: 0.875rem; line-height: 1.43; box-shadow: none; outline: 0; }
:root[data-lovable] .net-dm.chat .chat-composer textarea:focus { height: 36px; }
:root[data-lovable] .net-dm.chat .chat-composer textarea::placeholder { color: var(--lv-pg-muted); }
:root[data-lovable] .net-dm.chat .chat-composer :is([data-chat-voice], [data-share-spot]) { display: none; }
:root[data-lovable] .net-dm.chat .chat-composer :is([data-chat-attach], [data-chat-sticker], .chat-send) { grid-row: 1; z-index: 1; display: grid; place-items: center; position: relative; width: 36px; height: 36px; min-height: 36px; margin: 0 0 6px; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--lv-pg-ink); font-size: 0; line-height: 0; opacity: 1; }
:root[data-lovable] .net-dm.chat .chat-composer :is([data-chat-attach], [data-chat-sticker]) > span { display: none; }
:root[data-lovable] .net-dm.chat .chat-composer [data-chat-attach] { grid-column: 1; }
:root[data-lovable] .net-dm.chat .chat-composer [data-chat-sticker] { grid-column: 3; }
:root[data-lovable] .net-dm.chat .chat-composer [data-chat-attach][disabled] { opacity: .5; }
:root[data-lovable] .net-dm.chat .chat-composer .chat-send { grid-column: 4; justify-self: end; width: 44px; height: 44px; margin: 0 0 2px; background: var(--lv-pg-accent); color: var(--lv-pg-accent-ink); }
:root[data-lovable] .net-dm.chat .chat-composer:has(textarea:placeholder-shown) .chat-send { opacity: .5; } /* nothing typed yet */
:root[data-lovable] .net-dm.chat .chat-composer :is([data-chat-attach], [data-chat-sticker], .chat-send)::before { content: ""; position: absolute; inset: 0; width: 20px; height: 20px; margin: auto; background: currentColor; }
:root[data-lovable] .net-dm.chat .chat-composer [data-chat-attach]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .net-dm.chat .chat-composer [data-chat-sticker]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 9h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 9h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .net-dm.chat .chat-composer .chat-send::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .net-dm.chat .chat-composer :is(button, textarea):focus-visible { outline: 2px solid var(--lv-pg-ink); outline-offset: 2px; }
:root[data-lovable] .net-dm.chat .chat-tray { margin: 0 16px 8px; border-color: var(--line); border-radius: var(--r); }

/* ---------- second pass: pieces the design has and the first pass did not ---------- */
/* Attendee page: the Post / Photos counts and the pill under the name (the page's own Message action, drawn as the design's pill) */
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .lv-stats { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 16px 0 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
:root[data-lovable] .lv-stats > span { display: inline-flex; align-items: center; gap: 8px; }
:root[data-lovable] .lv-stats > span::before { content: ""; width: 20px; height: 20px; background: currentColor; }
:root[data-lovable] .lv-stats > i { align-self: center; height: 20px; border-left: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
:root[data-lovable] .lv-stats > .lv-st-post::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .lv-stats > .lv-st-photo::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-actions { display: flex; justify-content: center; margin: 16px 0 0; padding: 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-actions > :not(a[href*="/net/dm/"]) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-actions > a[href*="/net/dm/"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 0.9375rem; font-weight: 500; line-height: 1.5; text-decoration: none; box-shadow: none; filter: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) .dt-actions > a[href*="/net/dm/"] .ic { width: 20px; height: 20px; stroke-width: 1.8; }

/* Chat: the event's name on the brand strip, the "more" button and its menu, day labels */
:root[data-lovable] body:has(> main > .net-dm.chat) > .top:has(.lv-evname) { justify-content: space-between; }
:root[data-lovable] .lv-evname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
:root[data-lovable] .net-dm.chat .chat-head { position: relative; }
:root[data-lovable] .net-dm.chat .chat-head .lv-more { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
:root[data-lovable] .net-dm.chat .chat-head .lv-more::before { content: ""; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-lovable] .net-dm.chat .chat-head .lv-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-lovable] .net-dm.chat .chat-head .lv-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 20px; display: grid; width: 224px; padding: 8px; border: 1px solid var(--lv-pg-line); border-radius: var(--r); background: var(--lv-pg-2);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--bg) 60%, transparent); }
:root[data-lovable] .net-dm.chat .chat-head .lv-menu[hidden] { display: none; }
:root[data-lovable] .net-dm.chat .chat-head .lv-menu > :is(a, button) { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
:root[data-lovable] .net-dm.chat .chat-head .lv-menu > :is(a, button):is(:hover, :focus-visible) { background: color-mix(in srgb, var(--ink) 8%, transparent); outline: 0; }
:root[data-lovable] .net-dm.chat.lv-safety > .chat-safety { display: block; margin: 0 20px 12px; }
:root[data-lovable] .net-dm.chat .net-thread li.lv-day { justify-self: center; max-width: none; margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 0.6875rem; font-weight: 500; line-height: 1.5; color: var(--lv-pg-muted); }
:root[data-lovable] .net-dm.chat .net-thread li.lv-day:first-child { margin-top: 8px; }
:root[data-lovable] :is([data-panel="meet"] [data-chat-list] .list > li, [data-panel="connections"] .xp-people > li).lv-off { display: none; }
/* once the sheet is raised the hero is out of use (the title bar carries the photo and name): nothing of it shows through the bar */
:root[data-lovable] .dt.dt-expanded:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero-in { visibility: hidden; }
/* an attendee's tags run on as one wrapped row under "Tag" */
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) #d-interests:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) #d-interests > h2 { flex: 0 0 100%; margin-bottom: 4px; }
:root[data-lovable] .dt:has(.dt-back[href$="#people"]) #d-interests > .dt-tags { display: contents; }
/* The 56px title bar keeps 12px below itself; the design's lists start 8px under it (Messages: 4px). */
:root[data-lovable] .panel:is([data-panel="speakers"], [data-panel="people"], [data-panel="connections"]) { margin-top: -4px; }
:root[data-lovable] .panel[data-panel="meet"] { margin-top: -8px; }
