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

/* Colours of the design that the theme has no token for (e2m-live-v2 src/styles.css): the logo tile (--tile, --tile-foreground),
   the dark text of a light card when used on the page (--card-foreground) and the floor map surface (--map-surface).
   The icons are the design's Lucide icons the app's sprite does not have, used as masks so they take the text colour. */
:root[data-lovable] { --dx-tile: #F2F2F2; --dx-tile-ink: #424242; --dx-card-ink: #0B0B0B; --dx-map: #2E2E2E;
  /* the placeholder mark of a company with no logo: the design's own mark colours (lib/sponsors.ts) and its white letters */
  --dx-m0: #E8603C; --dx-m1: #2A7DE1; --dx-m2: #2F9E63; --dx-m3: #E0A020; --dx-m4: #14A3B8; --dx-mark-ink: #FFFFFF;
  /* the page's own accent, for the round button that rides the light sheet's edge */
  --dx-pg-accent: var(--accent); --dx-pg-accent-ink: var(--accent-ink);
  --dx-i-bookmark-16: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z'/%3E%3C/svg%3E");
  --dx-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
  --dx-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  --dx-i-reset: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
  --dx-i-contact: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2v2M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2M8 2v2'/%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3C/svg%3E");
  --dx-i-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M10 14 21 3M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");
  --dx-i-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4M10 9H8M16 13H8M16 17H8'/%3E%3C/svg%3E");
  --dx-i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E");
  --dx-i-bookmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z'/%3E%3C/svg%3E");
  --dx-i-bookmark-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z'/%3E%3C/svg%3E"); }

/* ---------- Exhibitors list (routes/event.$eventId_.exhibitors.tsx, components/exhibitor-logo.tsx) ----------
   Only the cards: the title bar carries the title and the search. Each card is the logo tile, the name, a "Booth" label
   (static/lv-expo.js shortens "Category · Booth A1" to it) and the bookmark in the top right corner. */
:root[data-lovable] [data-panel="expo"] :is(.ops-h, .azchips, [data-expo-count], .ops-xtext .pill, .ops-xtext > [hidden]) { display: none; }
/* the design's short list needs no search or category chips; a long one (13 or more exhibitors, an expo) does (EXPO-01) */
:root[data-lovable] [data-panel="expo"]:not(:has([data-expo-list] li:nth-child(13))) :is(label.search, .xp-chips) { display: none; }
:root[data-lovable] [data-panel="expo"] .ops-expo > section:not([data-expo-list]) { display: none; }
/* The design's lists start 8px under the title bar and its floor map right at the bar. --dx-gap is where the screen
   starts, counted from the end of a 56px title bar (static/lovable-expo.js measures it, so these screens hold when the
   shared bar or the space under it changes). */
:root[data-lovable] [data-panel="expo"] .ops-expo { margin-top: calc(8px - var(--dx-gap, 12px)); }
:root[data-lovable] [data-panel="expo"] .ops-xlist { gap: 12px; }
:root[data-lovable] [data-panel="expo"] .ops-xlist li .ops-xcard { gap: 12px; min-height: 108px; padding: 16px 64px 16px 16px; border: 1px solid var(--surface); border-radius: 12px; background: var(--surface); }
:root[data-lovable] :is([data-panel="expo"] .ops-xcard .ops-logo, [data-panel="sponsors"] .chips li .slogo) { width: 72px; height: 72px; padding: 0; border: 1px solid color-mix(in srgb, var(--dx-card-ink) 15%, transparent); border-radius: 12px;
  background: var(--dx-tile); box-shadow: none; color: var(--dx-tile-ink); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }
:root[data-lovable] :is([data-panel="expo"] .ops-xcard img.ops-logo, [data-panel="sponsors"] .chips li img.slogo) { padding: 12px; object-fit: contain; }
:root[data-lovable] [data-panel="expo"] .ops-xtext { min-width: 0; gap: 8px; justify-items: start; }
:root[data-lovable] [data-panel="expo"] .ops-xtext b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; font-weight: 600; line-height: 1.4286; }
:root[data-lovable] [data-panel="expo"] .ops-xtext .small.muted { padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--dx-card-ink) 20%, transparent); border-radius: 999px; font-size: 0.8125rem; font-weight: 400; line-height: 1.4286; color: var(--dx-tile-ink); }
/* the bookmark keeps its 44px touch area; the 20px icon sits where the design's 36px button puts it */
:root[data-lovable] [data-panel="expo"] .ops-xlist li > :is(.bmtog, .bmtog-f) { top: 13px; right: 13px; }
:root[data-lovable] [data-panel="expo"] .ops-xlist .bmtog .ic { width: 20px; height: 20px; stroke-width: 1.6; }
:root[data-lovable] [data-panel="expo"] .nomatch { margin: 0; padding: 40px 0; text-align: center; font-size: 1rem; line-height: 1.5; color: var(--muted); }

/* ---------- Sponsors list (routes/event.$eventId_.sponsors.tsx) ----------
   A 20px heading per tier, then one card per sponsor: the same logo tile and the name on one line. */
:root[data-lovable] [data-panel="sponsors"] h3.day { margin: 20px 0 12px; font-size: 1.25rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--ink); }
:root[data-lovable] [data-panel="sponsors"] h3.day:first-child { margin-top: calc(8px - var(--dx-gap, 12px)); }
:root[data-lovable] [data-panel="sponsors"] .chips { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root[data-lovable] [data-panel="sponsors"] .chips li { min-height: 100px; padding: 16px; border: 1px solid var(--surface); border-radius: 12px; background: var(--surface); }
:root[data-lovable] [data-panel="sponsors"] .chips li > a { gap: 12px; min-height: 100px; margin: -16px; padding: 16px 64px 16px 16px; }
:root[data-lovable] [data-panel="sponsors"] .chips .sname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; font-weight: 600; line-height: 1.4286; }

/* ---------- Floor map (routes/event.$eventId_.floormap.tsx) ----------
   The floor switcher card, the map filling the screen down to the tab bar, three square zoom buttons, one line below.
   --dx-fm-top is where the screen's content starts (static/lv-expo.js measures it; 108px is the title bar's end). */
:root[data-lovable] [data-panel="floormap"] :is(.ops-h, .fm-hall-h, .fm-floor-h) { display: none; }
:root[data-lovable] [data-panel="floormap"] .ops-floorpage { margin: calc(0px - var(--dx-gap, 12px)) 0 -32px; } /* starts at the title bar; the screen itself does not scroll */
:root[data-lovable] [data-panel="floormap"] .fm { display: flex; flex-direction: column; height: calc(100vh - var(--dx-fm-top, 108px) - 96px); height: calc(100dvh - var(--dx-fm-top, 108px) - 96px); min-height: 320px; }
:root[data-lovable] [data-panel="floormap"] .fm-switch { display: flex; align-items: center; gap: 8px; flex: none; margin: 0; padding: 8px; border: 1px solid var(--surface); border-radius: 12px; background: var(--surface); color: var(--ink); }
:root[data-lovable] [data-panel="floormap"] .fm-switch[hidden] { display: none; }
:root[data-lovable] [data-panel="floormap"] .fm-arrow { flex: none; width: 40px; height: 40px; border-radius: 10px; }
:root[data-lovable] [data-panel="floormap"] .fm-arrow .ic { width: 28px; height: 28px; stroke-width: 2.5; }
:root[data-lovable] [data-panel="floormap"] .fm-arrow[disabled] { opacity: .3; }
:root[data-lovable] [data-panel="floormap"] .fm-now { flex: 1; min-width: 0; gap: 0; }
:root[data-lovable] [data-panel="floormap"] .fm-now b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
:root[data-lovable] [data-panel="floormap"] .fm-now span { font-size: 0.75rem; line-height: 1.5; color: var(--ink); opacity: .6; }
:root[data-lovable] [data-panel="floormap"] .fm.js .fm-floor.on, :root[data-lovable] [data-panel="floormap"] .fm .fm-floor:only-of-type { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 12px; }
:root[data-lovable] [data-panel="floormap"] .fm-zoom { flex: 1; min-height: 0; border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); border-radius: 16px; background: var(--dx-map); }
:root[data-lovable] [data-panel="floormap"] .fm-zoom + .fm-zoom { margin-top: 12px; }
:root[data-lovable] [data-panel="floormap"] :is(.fm-view, .fm-canvas) { height: 100%; }
:root[data-lovable] [data-panel="floormap"] .fm-canvas > svg { width: 100%; height: 100%; }
:root[data-lovable] [data-panel="floormap"] .fm-canvas .mp-floor { fill: transparent; }
:root[data-lovable] [data-panel="floormap"] .fm-tools { right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
:root[data-lovable] [data-panel="floormap"] .fm-tools[hidden] { display: none; }
:root[data-lovable] [data-panel="floormap"] .fm-tool { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); opacity: 1; box-shadow: 0 4px 14px color-mix(in srgb, var(--dx-card-ink) 45%, transparent); }
:root[data-lovable] [data-panel="floormap"] .fm-tool .ic { display: none; }
:root[data-lovable] [data-panel="floormap"] .fm-tool::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--dx-i-plus) center / contain no-repeat; mask: var(--dx-i-plus) center / contain no-repeat; }
:root[data-lovable] [data-panel="floormap"] .fm-tool[data-fm-z="out"]::before { -webkit-mask-image: var(--dx-i-minus); mask-image: var(--dx-i-minus); }
:root[data-lovable] [data-panel="floormap"] .fm-tool[data-fm-z="reset"]::before { -webkit-mask-image: var(--dx-i-reset); mask-image: var(--dx-i-reset); }
/* a floor with several halls (an expo): the design's one-screen map would squeeze each hall to a sliver, so each hall gets its
   own height and the screen scrolls; the zoom buttons sit in a row so they cover less of the plan */
:root[data-lovable] [data-panel="floormap"] .fm:has(.fm-zoom ~ .fm-zoom) { height: auto; }
:root[data-lovable] [data-panel="floormap"] .fm-floor:has(.fm-zoom ~ .fm-zoom) .fm-zoom { flex: none; height: max(300px, 72vw); }
:root[data-lovable] [data-panel="floormap"] .fm-floor:has(.fm-zoom ~ .fm-zoom) .fm-tools { flex-direction: row; }
:root[data-lovable] [data-panel="floormap"] .fm > p { flex: none; margin: 12px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink); opacity: .8; }

/* ---------- Exhibitor and sponsor pages (routes/…exhibitors_.$exhibitorId.tsx, …sponsors_.$sponsorId.tsx) ----------
   The two pages are told apart by their back link (#expo, #sponsors). Title bar: the back arrow only. Summary: logo tile,
   name, one label, one action. Then the light sheet with its handle. */
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .evbrand { position: sticky; top: env(safe-area-inset-top); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top { top: 0; gap: 8px; height: 104px; margin-top: -48px; padding: 48px 20px 0; background: var(--bg) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (prefers-color-scheme: dark) { :root[data-lovable][data-theme="noir"]:not([data-scheme="light"]) .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top { background-color: var(--bg) !important; background-image: var(--sheen) !important; background-size: 100% 100vh !important; background-size: 100% 100dvh !important; background-position: center top !important; background-repeat: no-repeat !important; background-attachment: fixed !important; } }
:root[data-lovable][data-theme="noir"][data-scheme="dark"] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top { background-color: var(--bg) !important; background-image: var(--sheen) !important; background-size: 100% 100vh !important; background-size: 100% 100dvh !important; background-position: center top !important; background-repeat: no-repeat !important; background-attachment: fixed !important; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top :is(.dt-crumb, .dt-share, .dt-search) { display: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top .dt-back { margin: 0 0 0 -4px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-top .dt-back .ic { width: 28px; height: 28px; stroke-width: 1.8; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-ctitle { margin-left: -4px; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }

:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-hero { box-sizing: border-box; height: 304px; padding: 8px 20px 28px; overflow: hidden; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-hero-in { gap: 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-media.dt-logo { width: 96px; height: 96px; margin: 0; border: 1px solid color-mix(in srgb, var(--dx-card-ink) 15%, transparent); border-radius: 12px; background: var(--dx-tile); box-shadow: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-media.dt-logo img { padding: 12px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-media.dt-logo .dt-ini { color: var(--dx-tile-ink); font-size: 1.5rem; font-weight: 600; letter-spacing: 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-title { max-width: 100%; margin: 12px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.625rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-chips { margin: 12px 0 0; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-chips > :not(.dt-tier) { display: none; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-hero .dt-chip.dt-tier { min-height: 0; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: none; color: var(--ink); font-size: 0.8125rem; font-weight: 400; line-height: 1.5; }

/* exhibitor: "Exchange Business Card" is the one action (the app's "Share my contact", renamed by static/lv-expo.js) */
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-actions { margin: 16px 0 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-actions > :not([href="#d-contact"]) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-actions > [href="#d-contact"] { gap: 8px; height: 44px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 0.9375rem; font-weight: 500; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-actions > [href="#d-contact"]::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--dx-i-contact) center / contain no-repeat; mask: var(--dx-i-contact) center / contain no-repeat; }
/* sponsor: the website is an underlined text link with the "opens outside" icon after it */
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-actions { margin: 12px 0 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-actions > :not([target="_blank"]) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-actions > [target="_blank"] { gap: 8px; height: auto; min-height: 0; margin: -11px 0; padding: 11px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
  text-decoration: underline; text-underline-offset: 4px; }
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-actions > [target="_blank"] :is(svg, .ic) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-actions > [target="_blank"]::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--dx-i-external) center / contain no-repeat; mask: var(--dx-i-external) center / contain no-repeat; }

/* the sheet */
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-sheet { margin-top: 0; min-height: calc(100vh - 104px); min-height: calc(100dvh - 104px - env(safe-area-inset-top)); padding: 0 20px calc(112px + env(safe-area-inset-bottom)); border-top: 0; border-radius: 24px 24px 0 0; background: var(--surface); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-handle { width: calc(100% + 40px); height: 28px; margin: 0 -20px; border-radius: 24px 24px 0 0; }
:root[data-lovable] .dt.dt-expanded:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-handle { height: 56px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-handle span { width: 36px; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 15%, transparent); }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) .dt-fabsave { top: -28px; right: 24px; }
:root[data-lovable] .dt:has(.dt-back:is([href$="#expo"], [href$="#sponsors"])) #d-about > :is(p, .dt-prose) { margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.625; color: var(--muted); }

/* sponsor sheet: the description only */
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) :is(.dt-seg, .dt-sec:not(#d-about), .dt-sec > h2) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#sponsors"]) .dt-sec { padding: 16px 0 0; }

/* exhibitor sheet: three equal tabs, "Profile, Contact, Collaterals" (the app's About, Talk to the team, Brochures and files) */
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg { top: calc(104px + env(safe-area-inset-top)); gap: 8px; margin: 0 -20px; padding: 12px 20px; overflow: visible; background: var(--surface); }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a { flex: 1 1 0; min-width: 0; justify-content: center; height: 40px; min-height: 40px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); color: var(--ink); font-size: 0.875rem; font-weight: 500; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a.on { background: var(--ink); box-shadow: none; color: var(--surface); }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a:not([href="#d-about"], [href="#d-team"], [href="#d-resources"]) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a[href="#d-about"] { order: 1; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a[href="#d-team"] { order: 2; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-seg a[href="#d-resources"] { order: 3; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .dt-sec { padding: 8px 0 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) :is(#d-about, #d-team, #d-resources) > h2 { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) #d-team { font-size: 0.9375rem; line-height: 1.5; }

/* Collaterals: one row per file that downloads on a tap (file icon, title, download icon), the bookmark beside it.
   Only files that download directly; a file that asks for details first keeps the app's own buttons. */
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-files { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) { position: relative; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) > div:first-child { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 44px 16px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) > div:first-child::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--dx-i-file) center / contain no-repeat; mask: var(--dx-i-file) center / contain no-repeat; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) > div:first-child > :not(b) { display: none; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) b { flex: 1; min-width: 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.4286; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) .row { display: contents; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) a[download] { position: absolute; inset: 0 40px 0 0; min-height: 0; padding: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; color: var(--ink); font-size: 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) a[download]::after { content: ""; position: absolute; top: 50%; right: 17px; width: 16px; height: 16px; margin-top: -8px; background: currentColor; -webkit-mask: var(--dx-i-download) center / contain no-repeat; mask: var(--dx-i-download) center / contain no-repeat; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) .row > form { flex: none; margin: 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) .row :is(a, button).ghost { flex: none; display: flex; align-items: center; justify-content: center; gap: 0; width: 36px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; box-shadow: none; color: var(--ink); font-size: 0; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) .row :is(a, button).ghost::before { content: ""; flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--dx-i-bookmark) center / contain no-repeat; mask: var(--dx-i-bookmark) center / contain no-repeat; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) .xp-file:has(a[download]) .row button.ghost[aria-pressed="true"]::before { -webkit-mask-image: var(--dx-i-bookmark-on); mask-image: var(--dx-i-bookmark-on); }

/* ---------- Second pass ---------- */
/* A company with no logo: a coloured mark with its initials in the tile, as the design's sponsors have (lib/sponsors.ts
   draws them on a 60-unit square that fills the tile's inside: --dx-u is one of those units). static/lovable-expo.js
   picks the letters, the shape and the colour from the name. */
:root[data-lovable] :is(.panel, .dt) [data-dx-mark][data-dx-shape][data-dx-hue] { --dx-u: 0.8px; position: relative; display: grid; place-content: center; place-items: center; font-size: 0; line-height: 0; }
:root[data-lovable] .dt .dt-media[data-dx-mark][data-dx-shape][data-dx-hue] { --dx-u: 1.2px; }
:root[data-lovable] .dt-media[data-dx-mark] .dt-ini { display: none; }
:root[data-lovable] [data-dx-mark]::before { content: ""; grid-area: 1 / 1; width: calc(44 * var(--dx-u)); height: calc(44 * var(--dx-u)); border-radius: 50%; background: var(--dx-mc, var(--dx-m0)); }
:root[data-lovable] [data-dx-mark][data-dx-shape="square"]::before { width: calc(42 * var(--dx-u)); height: calc(42 * var(--dx-u)); border-radius: calc(10 * var(--dx-u)); }
:root[data-lovable] [data-dx-mark][data-dx-shape="diamond"]::before { width: calc(32 * var(--dx-u)); height: calc(32 * var(--dx-u)); border-radius: calc(4 * var(--dx-u)); transform: rotate(45deg); }
:root[data-lovable] [data-dx-mark]::after { content: attr(data-dx-mark); grid-area: 1 / 1; position: relative; font-family: Arial, sans-serif; font-size: 0.9rem; font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--dx-mark-ink); }
:root[data-lovable] .dt-media[data-dx-mark]::after { font-size: 1.35rem; }
:root[data-lovable] [data-dx-hue="1"] { --dx-mc: var(--dx-m1); }
:root[data-lovable] [data-dx-hue="2"] { --dx-mc: var(--dx-m2); }
:root[data-lovable] [data-dx-hue="3"] { --dx-mc: var(--dx-m3); }
:root[data-lovable] [data-dx-hue="4"] { --dx-mc: var(--dx-m4); }

/* Sponsors list: the design's bookmark in each card's top right corner. The app keeps no saved sponsors, so this one is
   a picture only (nothing to press; a tap goes to the card). Search (the title bar's field) filters the cards by name. */
:root[data-lovable] [data-panel="sponsors"] .chips li { position: relative; }
:root[data-lovable] [data-panel="sponsors"] .chips li::after { content: ""; position: absolute; top: 25px; right: 25px; width: 20px; height: 20px; background: var(--ink); pointer-events: none;
  -webkit-mask: var(--dx-i-bookmark-16) center / contain no-repeat; mask: var(--dx-i-bookmark-16) center / contain no-repeat; }
:root[data-lovable] [data-panel="sponsors"] .chips li > a > .tiny { display: none; }
:root[data-lovable] [data-panel="sponsors"] :is(.dx-sp-search, .chips li[hidden], h3.day[hidden], .chips[hidden]) { display: none; }
:root[data-lovable] [data-panel="sponsors"] .dx-none { margin: 0; padding: 40px 0; text-align: center; font-size: 1rem; line-height: 1.5; color: var(--muted); }
:root[data-lovable] [data-panel="sponsors"] .dx-none[hidden] { display: none; }

/* Floor map: the design shows a picture of each floor. Until the event has floor pictures, the design's own three
   (static/lovable-img/floor-*.jpg) stand in: the picture lies on the app's plan and zooms with it (the app's own zoom).
   static/lovable-expo.js sets data-dx-floors only once the first picture has loaded; until then the app's plan shows. */
:root[data-lovable] [data-panel="floormap"] .fm[data-dx-floors] .fm-canvas { position: relative; }
:root[data-lovable] [data-panel="floormap"] .fm[data-dx-floors] .fm-canvas > svg { visibility: hidden; }
:root[data-lovable] [data-panel="floormap"] .fm[data-dx-floors] .fm-canvas > .dx-fm-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
:root[data-lovable] [data-panel="floormap"] .fm[data-dx-floors] .fm-floor .fm-zoom ~ .fm-zoom { display: none; }
:root[data-lovable] [data-panel="floormap"] .fm[data-dx-floors="3"] > p:not(.dx-fm-desc) { display: none; }
:root[data-lovable] [data-panel="floormap"] .fm-switch[data-dx-switch] { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
:root[data-lovable] [data-panel="floormap"] .fm-arrow { background: none; color: var(--ink); }

/* Exhibitor and sponsor pages: the round bookmark on the sheet's edge and, once the sheet is raised, the bookmark (and the
   exhibitor's business card) in the title bar. The app has no save for an exhibitor or a sponsor on these pages, so the
   bookmarks are pictures only; the business card button presses the page's own "Share my contact". */
:root[data-lovable] .dt .dt-fabsave.dx-fab { right: 24px; background: var(--dx-pg-accent); color: var(--dx-pg-accent-ink); cursor: default; pointer-events: none; }
:root[data-lovable] .dt .dt-top :is(.dx-barcard, .dx-barsave) { display: none; flex: none; place-items: center; width: 40px; height: 40px; margin: 0 -2px; color: var(--ink); }
/* the app's own forms in the sheet (message to the team, share my contact): the tick box sits beside its words */
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) :is(#d-team, #d-contact) label.row { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 12px; }
:root[data-lovable] .dt:has(.dt-back[href$="#expo"]) :is(#d-team, #d-contact) label.row > input { flex: none; margin: 0; }
:root[data-lovable] .dt.dt-expanded .dt-top :is(.dx-barcard, .dx-barsave) { display: grid; }
:root[data-lovable] .dt .dt-top :is(.dx-barcard, .dx-barsave)::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--dx-i-bookmark) center / contain no-repeat; mask: var(--dx-i-bookmark) center / contain no-repeat; }
:root[data-lovable] .dt .dt-top .dx-barcard::before { -webkit-mask-image: var(--dx-i-contact); mask-image: var(--dx-i-contact); }
